@@ -72,7 +72,10 @@ watch(() => props.dataId, (id) => {
//监听
watch(isShow, (val) => {
if (val) {
- getTableData()
+ setTimeout(() => {
+ getTableData()
+ }, 500)
+
}
})
@@ -151,7 +151,7 @@ const getTableData = async () => {
...searchForm.value,
contractId:cid.value,
projectId:projectId.value,
- nodeId:curTree.value.id,
+ nodeId:curTree.value.pKeyId,
contractIdRelation:curTree.value?.contractIdRelation || '',