Browse Source

施工监理修改

duy 2 years ago
parent
commit
01ea6d6e8b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/views/data-fill/wbs.vue

+ 3 - 3
src/views/data-fill/wbs.vue

@@ -1295,10 +1295,10 @@ const NodeStatus = ref('1')
 const queryNodeStatus = async () => {
     const info = nodeDataInfo.value;
     console.log(info,'info')
-    if (authBtnTabKey.value==1) {
+    if (contractInfo.value?.contractType==1) {
             const {error, code, data} = await wbsApi.queryNodeStatus({
                 primaryKeyId:info['id'],
-                classify: authBtnTabKey.value
+                classify:contractInfo.value?.contractType
             }) 
             //1 未填报,2待上报,3已上报
             if (!error && code === 200) {
@@ -1310,7 +1310,7 @@ const queryNodeStatus = async () => {
         const {error, code, data} = await wbsApi.queryNodeStatusJl({
             // primaryKeyId: info['contractIdRelation'] ? info['id'] : info['primaryKeyId'],
             primaryKeyId: info['primaryKeyId'],
-            classify: authBtnTabKey.value
+            classify: contractInfo.value?.contractType
         })
          //1 未填报,2待上报,3已上报
             if (!error && code === 200) {