duy 5 tháng trước cách đây
mục cha
commit
77bb7c37c0
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      src/views/data-fill/query.vue

+ 6 - 0
src/views/data-fill/query.vue

@@ -416,7 +416,9 @@ const wbsElTreeClick = ({ node, data, keys }) => {
         searchForm.value.contractIdRelation = ''
     }
     searchForm.value.current = 1
+    getFileUser()
     getTableData()
+  
 }
 
 //搜索条件
@@ -428,6 +430,10 @@ const reportBatchData = ref([]) //上报批次
 //获取所有填报人
 const getFileUser = async () => {
     const info = nodeDataInfo.value
+    if (!info) {
+        window.$message?.warning('请先点击左侧节点')
+        return
+    }
     const { error, code, data } = await queryApi.getFileUser({
         // contractId: contractId.value,
         contractId: contractInfo.value?.contractType === 2 ? info?.contractIdRelation : contractId.value,