|
@@ -515,7 +515,7 @@ const linksRelateModalClick = ()=>{
|
|
|
linksRelateModal.value = true
|
|
|
isSearchTree.value = false
|
|
|
|
|
|
- // defaultChecked.value = arrToKey(processDataList.value, 'primaryKeyId', ',').split(',')
|
|
|
+ defaultChecked.value = arrToKey(processDataList.value, 'primaryKeyId', ',').split(',')
|
|
|
}
|
|
|
const linksRelateModalClose = ()=>{
|
|
|
linksRelateModal.value = false
|
|
@@ -551,6 +551,7 @@ const linksRelateModalSave = ()=>{
|
|
|
primaryKeyId: keys[index],
|
|
|
autoExpandKeys:TreeAutoExpandKeys.value,
|
|
|
isShowImage:0,
|
|
|
+ contractId:contractId.value,
|
|
|
|
|
|
})
|
|
|
}
|
|
@@ -568,6 +569,7 @@ const linksRelateModalSave = ()=>{
|
|
|
ele.inspectUserName = ele1.inspectUserName
|
|
|
ele.inspectPdfUrl = ele1.inspectPdfUrl
|
|
|
ele.autoExpandKeys = ele1.autoExpandKeys
|
|
|
+ ele.contractId = ele1.contractId
|
|
|
|
|
|
}
|
|
|
})
|
|
@@ -706,6 +708,7 @@ const saveInfo = async ()=>{
|
|
|
if (validate) {
|
|
|
console.log(addForm.value, '数据')
|
|
|
addForm.value.projectId = projectId.value
|
|
|
+ addForm.value.contractId = contractId.value
|
|
|
addForm.value.list = processDataList.value
|
|
|
saveLoading.value = true
|
|
|
const { error, code } = await patrolApi.add(
|