|
@@ -996,7 +996,9 @@ const addingFormTreeLoadNode = async (node, resolve) => {
|
|
const resData = await tabTypeLazyTree()
|
|
const resData = await tabTypeLazyTree()
|
|
resolve(resData?.data)
|
|
resolve(resData?.data)
|
|
} else {
|
|
} else {
|
|
- const resData = await tabTypeLazyTree(node?.data?.primaryKeyId)
|
|
|
|
|
|
+ const resData = await tabTypeLazyTree(node?.data?.primaryKeyId, '' , false, {
|
|
|
|
+ current: 1, size: 2000,
|
|
|
|
+ })
|
|
resolve(resData?.data)
|
|
resolve(resData?.data)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1082,7 +1084,7 @@ const dialogTableSelection = (rows) => {
|
|
}
|
|
}
|
|
|
|
|
|
//获取数据
|
|
//获取数据
|
|
-const tabTypeLazyTree = async (parentId = '12345678910', titleName = '', search = false) => {
|
|
|
|
|
|
+const tabTypeLazyTree = async (parentId = '12345678910', titleName = '', search = false, form = {}) => {
|
|
let obj = {}, searchObj = {}
|
|
let obj = {}, searchObj = {}
|
|
if(parentId) obj.parentId = parentId
|
|
if(parentId) obj.parentId = parentId
|
|
if(titleName) obj.titleName = titleName
|
|
if(titleName) obj.titleName = titleName
|
|
@@ -1092,7 +1094,8 @@ const tabTypeLazyTree = async (parentId = '12345678910', titleName = '', search
|
|
projectId: projectId.value,
|
|
projectId: projectId.value,
|
|
contractId: contractId.value,
|
|
contractId: contractId.value,
|
|
...obj,
|
|
...obj,
|
|
- ...searchObj
|
|
|
|
|
|
+ ...searchObj,
|
|
|
|
+ ...form
|
|
})
|
|
})
|
|
const records = getArrValue(data?.records)
|
|
const records = getArrValue(data?.records)
|
|
records.forEach(item => {
|
|
records.forEach(item => {
|