Browse Source

首件查询节点状态接口更改

duy 2 năm trước cách đây
mục cha
commit
6f4a54c34e
2 tập tin đã thay đổi với 9 bổ sung1 xóa
  1. 8 0
      src/api/modules/data-fill/wbs.js
  2. 1 1
      src/views/other/first-item.vue

+ 8 - 0
src/api/modules/data-fill/wbs.js

@@ -113,6 +113,14 @@ export default {
             params: form
         },msg);
     },
+    //查询首件节点状态
+    async queryNodeStatusSj(form, msg = true) {
+        return httpApi({
+            url: '/api/blade-business/informationWriteQuery/queryNodeStatus-sj',
+            method: 'post',
+            params: form
+        },msg);
+    },
     //查询试验上报按钮状态
     async queryNodeStatusTrial(form, msg = true) {
         return httpApi({

+ 1 - 1
src/views/other/first-item.vue

@@ -267,7 +267,7 @@ const authBtnTabKey = ref(contractType===2?'2':'1')
 const queryNodeStatus = async () => {
     const info = treeItem.value;
     console.log(info,'info')
-    const {error, code, data} = await wbsApi.queryNodeStatus({
+    const {error, code, data} = await wbsApi.queryNodeStatusSj({
         // primaryKeyId: info['contractIdRelation'] ? info['id'] : info['primaryKeyId'],
         // classify: 1
     //    primaryKeyId: authBtnTabKey.value==1 ? info['id'] : info['primaryKeyId'],