Sfoglia il codice sorgente

监理合同段进入影响资料报错

duy 2 anni fa
parent
commit
ef9deda111

+ 1 - 1
src/api/modules/ledger/index.js

@@ -1,7 +1,7 @@
 import {httpApi} from "../../request/httpApi";
 
 export const queryTreeList = (form, msg = true) => httpApi({
-    url: '/api/blade-business/informationWriteQuery/queryStandingBookContractWbsTree',
+    url: '/api/blade-business/informationWriteQuery/queryContractWbsTreeByContractIdAndType',
     method: 'get',
     params: form
 }, msg);

+ 1 - 1
src/views/other-file/components/WbsTree.vue

@@ -83,7 +83,7 @@ const getContractTypeKey = () => {
     if (contractType === 2 || contractType === 3) {
         return '2' ?? '1'
     } else {
-        return null
+        return '1'
     }
 }
 //树形结构异步加载数据