duy 2 tahun lalu
induk
melakukan
9d2283a313
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      src/views/data-fill/query.vue

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

@@ -332,7 +332,7 @@ const searchForm = ref({
 
 
 //结构类型tab数据和相关处理
-const contractTypeTabKey = ref(1)
+const contractTypeTabKey = ref(2)
 const contractTypeTab = ref([
     {key:'1',  name: '施工数据'},
     {key:'2', name: '监理数据'}
@@ -347,9 +347,11 @@ const getContractTypeKey = () => {
     const { contractType } = contractInfo.value;
     if (contractType === 2 || contractType === 3) {
         return contractTypeTabKey.value
+      
         // return contractTypeTabKey.value ?? '1'
 
     } else {
+         
         return null
        
     }