duy %!s(int64=2) %!d(string=hai) anos
pai
achega
5b7680a698
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  1. 2 1
      src/views/data-fill/query.vue
  2. 1 1
      src/views/data-fill/wbs.vue

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

@@ -237,7 +237,8 @@ onMounted(() => {
     getReportNumber()
     getFirstTaskStatus()
     getDictBizClassify()
-    if (contractTypeTabKey.value == 2) {
+  
+    if (contractTypeTabKey.value == 2||contractInfo.value?.contractType == 3) {
         getSearchTreeDataJl()
     } else {
         getSearchTreeData()

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

@@ -695,7 +695,7 @@ const wbstreeKey = ref(Math.random())
 const searchElTreeLoadNode = ref(true)
 const getSearchTreeData = async () => {
     searchElTreeLoadNode.value = true
-    if (contractInfo.value?.contractType == 2) {
+    if (contractInfo.value?.contractType == 2||contractInfo.value?.contractType == 3) {
         const {error, code, data} = await queryApi.getTreeallJl({
             contractId: contractId.value,
         })