发票接口更改
This commit is contained in:
parent
0dcc3ce983
commit
bfa2ba5202
@ -76,7 +76,7 @@ export function getByProcessInstanceId(data) {
|
|||||||
}
|
}
|
||||||
//获得同部门的合同审批
|
//获得同部门的合同审批
|
||||||
export function getListByDeptId(data) {
|
export function getListByDeptId(data) {
|
||||||
return api.get('/bpm/oa/contract/getListByDeptId', data, {
|
return api.get('/bpm/oa/contract/getList', data, {
|
||||||
login: false
|
login: false
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -99,6 +99,8 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<transfer ref="transRef" @doTrans="onTrans"></transfer>
|
<transfer ref="transRef" @doTrans="onTrans"></transfer>
|
||||||
|
<ba-tree-picker ref="treePickerRef" :multiple='true' @select-change="userSelectChange" title="选择员工"
|
||||||
|
:localdata="userTreeList" valueKey="userId" textKey="nickname" childrenKey="items" confirmColor="#09b4f1" />
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup scoped>
|
<script setup scoped>
|
||||||
@ -114,7 +116,8 @@
|
|||||||
} from '@dcloudio/uni-app'
|
} from '@dcloudio/uni-app'
|
||||||
import {
|
import {
|
||||||
getDictData,
|
getDictData,
|
||||||
getRecordPage
|
getRecordPage,
|
||||||
|
getUserTreeList
|
||||||
} from '@/api/customer'
|
} from '@/api/customer'
|
||||||
import {
|
import {
|
||||||
getClues,
|
getClues,
|
||||||
@ -190,10 +193,9 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
onLoad((e) => {
|
onLoad((e) => {
|
||||||
console.log('e:', e)
|
|
||||||
customerId.value = e.id
|
customerId.value = e.id
|
||||||
console.log('customerId.value:', customerId.value)
|
|
||||||
getData()
|
getData()
|
||||||
|
getUserList()
|
||||||
})
|
})
|
||||||
|
|
||||||
onShow(() => {
|
onShow(() => {
|
||||||
@ -247,13 +249,19 @@
|
|||||||
unref(moreShowRef).close()
|
unref(moreShowRef).close()
|
||||||
}
|
}
|
||||||
|
|
||||||
const transRef = ref()
|
// 树形选人员
|
||||||
const onTrans = async (userId) => {
|
const userTreeList = ref([])
|
||||||
|
const getUserList = () => {
|
||||||
|
getUserTreeList().then(res => {
|
||||||
|
userTreeList.value = res
|
||||||
|
})
|
||||||
|
}
|
||||||
|
const treePickerRef = ref()
|
||||||
|
const userSelectChange = async (userIds) => {
|
||||||
let data = await transferClues({
|
let data = await transferClues({
|
||||||
cluesIds: [customerId.value],
|
cluesIds: [customerId.value],
|
||||||
ownerAdminIds: [userId]
|
ownerAdminIds: userIds
|
||||||
})
|
})
|
||||||
transRef.value.selectShowClose3()
|
|
||||||
moreShowClose()
|
moreShowClose()
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: '操作成功',
|
title: '操作成功',
|
||||||
@ -300,7 +308,8 @@
|
|||||||
})
|
})
|
||||||
break;
|
break;
|
||||||
case "转移线索":
|
case "转移线索":
|
||||||
transRef.value.doopen()
|
moreShowClose()
|
||||||
|
treePickerRef.value._show()
|
||||||
break;
|
break;
|
||||||
case "转化成客户":
|
case "转化成客户":
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
Loading…
Reference in New Issue
Block a user