duy 2 years ago
parent
commit
9d2283a313
1 changed files with 3 additions and 1 deletions
  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数据和相关处理
 //结构类型tab数据和相关处理
-const contractTypeTabKey = ref(1)
+const contractTypeTabKey = ref(2)
 const contractTypeTab = ref([
 const contractTypeTab = ref([
     {key:'1',  name: '施工数据'},
     {key:'1',  name: '施工数据'},
     {key:'2', name: '监理数据'}
     {key:'2', name: '监理数据'}
@@ -347,9 +347,11 @@ const getContractTypeKey = () => {
     const { contractType } = contractInfo.value;
     const { contractType } = contractInfo.value;
     if (contractType === 2 || contractType === 3) {
     if (contractType === 2 || contractType === 3) {
         return contractTypeTabKey.value
         return contractTypeTabKey.value
+      
         // return contractTypeTabKey.value ?? '1'
         // return contractTypeTabKey.value ?? '1'
 
 
     } else {
     } else {
+         
         return null
         return null
        
        
     }
     }