Эх сурвалжийг харах

资料查询加载树加参数

duy 2 жил өмнө
parent
commit
82e5f036dc

+ 2 - 1
src/views/data-fill/query.vue

@@ -233,7 +233,8 @@ const getSearchTreeData=async()=>{
         const {error, code, data} = await queryApi.getTreeall({
         const {error, code, data} = await queryApi.getTreeall({
             contractId: contractId.value,
             contractId: contractId.value,
             projectId: projectId.value,
             projectId: projectId.value,
-            wbsId:projectInfo?.value.referenceWbsTemplateId
+            wbsId:projectInfo?.value.referenceWbsTemplateId,
+            type:1
         })
         })
         //判断状态
         //判断状态
         if (!error && code === 200) {
         if (!error && code === 200) {