Sfoglia il codice sorgente

首件查询节点状态增加id参数

duy 2 anni fa
parent
commit
28bd03b3ae
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      src/views/other/first-item.vue

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

@@ -262,6 +262,7 @@ const firstTaskStatus = async () => {
 }
 //查询状态
 const NodeStatus = ref('1')
+const queryNodeStatusId=ref('')
  const { contractType } = contractInfo.value;
 const authBtnTabKey = ref(contractType===2?'2':'1')
 const queryNodeStatus = async () => {
@@ -272,7 +273,8 @@ const queryNodeStatus = async () => {
         // classify: 1
     //    primaryKeyId: authBtnTabKey.value==1 ? info['id'] : info['primaryKeyId'],
         primaryKeyId:info.primaryKeyId,
-        classify: authBtnTabKey.value
+        classify: authBtnTabKey.value,
+        id:queryNodeStatusId.value
         
     })
     //1 未填报,2待上报,3已上报
@@ -563,6 +565,7 @@ const saveBussData = async () => {
     //  window?.location?.reload()  //刷新页面
     if (res) {
         pdfId.value=res
+        queryNodeStatusId.value=res
          queryNodeStatus()
         await getBussPdfInfo(res)