发票接口更改
This commit is contained in:
parent
0dcc3ce983
commit
bfa2ba5202
@ -76,7 +76,7 @@ export function getByProcessInstanceId(data) {
|
||||
}
|
||||
//获得同部门的合同审批
|
||||
export function getListByDeptId(data) {
|
||||
return api.get('/bpm/oa/contract/getListByDeptId', data, {
|
||||
return api.get('/bpm/oa/contract/getList', data, {
|
||||
login: false
|
||||
})
|
||||
}
|
||||
|
@ -99,6 +99,8 @@
|
||||
</view>
|
||||
</view>
|
||||
<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>
|
||||
|
||||
<script setup scoped>
|
||||
@ -114,7 +116,8 @@
|
||||
} from '@dcloudio/uni-app'
|
||||
import {
|
||||
getDictData,
|
||||
getRecordPage
|
||||
getRecordPage,
|
||||
getUserTreeList
|
||||
} from '@/api/customer'
|
||||
import {
|
||||
getClues,
|
||||
@ -190,10 +193,9 @@
|
||||
})
|
||||
|
||||
onLoad((e) => {
|
||||
console.log('e:', e)
|
||||
customerId.value = e.id
|
||||
console.log('customerId.value:', customerId.value)
|
||||
getData()
|
||||
getUserList()
|
||||
})
|
||||
|
||||
onShow(() => {
|
||||
@ -247,13 +249,19 @@
|
||||
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({
|
||||
cluesIds: [customerId.value],
|
||||
ownerAdminIds: [userId]
|
||||
ownerAdminIds: userIds
|
||||
})
|
||||
transRef.value.selectShowClose3()
|
||||
moreShowClose()
|
||||
uni.showToast({
|
||||
title: '操作成功',
|
||||
@ -300,7 +308,8 @@
|
||||
})
|
||||
break;
|
||||
case "转移线索":
|
||||
transRef.value.doopen()
|
||||
moreShowClose()
|
||||
treePickerRef.value._show()
|
||||
break;
|
||||
case "转化成客户":
|
||||
uni.navigateTo({
|
||||
|
Loading…
Reference in New Issue
Block a user