Ver Fonte

切换项目更新

ZaiZai há 10 meses atrás
pai
commit
ddfd69edcf
2 ficheiros alterados com 6 adições e 7 exclusões
  1. 3 3
      src/config/index.json
  2. 3 4
      src/views/data-fill/query.vue

+ 3 - 3
src/config/index.json

@@ -3,9 +3,9 @@
     "target1": "http://127.0.0.1:8090",
     "target2": "http://39.108.216.210:8090",
     "target3": "http://192.168.0.125:8090",
-    "target4": "http://183.247.216.148:28090",
-    "target": "http://192.168.0.196:8090",
-    "socket": "wss://measure.hczcxx.cn/websocket",
+    "target": "http://183.247.216.148:28090",
+    "target5": "http://192.168.0.196:8090",
+    "socket1": "wss://measure.hczcxx.cn/websocket",
     "socket2": "ws://192.168.0.125:9527/websocket",
     "localModel": false,
     "smsPhone": "",

+ 3 - 4
src/views/data-fill/query.vue

@@ -9,7 +9,7 @@
                     <HcIcon name="stack" />
                 </div>
                 <div class="project-name-box ml-2">
-                    <div class="project-alias">{{ projectInfo.projectName }}</div>
+                    <div class="project-alias">{{ projectInfo?.projectName }}</div>
                 </div>
             </div>
             <div class="hc-tree-box">
@@ -472,10 +472,9 @@ const searchForm = ref({
 
 //结构类型tab数据和相关处理
 // const contractTypeTabKey = ref('1')
-const { contractType } = contractInfo.value
-const contractTypeTabKey = ref(contractType === 2 ? '2' : '1')
+const contractTypeTabKey = ref(contractInfo.value?.contractType === 2 ? '2' : '1')
 //加载树需要的classType由合同段获取
-const classType = ref(contractType === 2 ? '2' : '1')
+const classType = ref(contractInfo.value?.contractType === 2 ? '2' : '1')
 const contractTypeTab = ref([
     { key: '1', name: '施工数据' },
     { key: '2', name: '监理数据' },