Hua пре 1 недеља
родитељ
комит
11234c445f

+ 35 - 29
src/views/InspectDC/Object/index.vue

@@ -52,36 +52,40 @@
       
     </van-tab>
       <van-tab :title="titleDC.name2 + '(' + titleDC.num2 + ')'">
-        <div class="search-bar" style="padding: 8px;">
-            <van-search
-              v-model="rsvrName"
-              placeholder="请输入对象名称搜索"
-              show-action
-              style="border-radius: 8px; height: 50px;"
-              @clear="handleClear"
-            >
-              <template #action>
-                <van-button size="small" type="primary" @click="handleSearch('1')">搜索</van-button>
-              </template>
-            </van-search>
-          </div>
-        <card02
-          v-for="item in list2"
-          :key="item"
-          :title="item.nm + ''"
-          :id="item.id"
-          :adFullName="item.adFullName"
-          icon="notes"
-          :state="item.state"
-          @click="
-            jumpPage(`/InspectDC/${item.groupId}/object/${item.id}/problems`, {
-              inspectType,
-              object: JSON.stringify(item),
-            })
-          "
-      /></van-tab>
+        <div class="inspect-object-wrapper">
+          <div class="search-bar" style="padding: 8px;">
+              <van-search
+                v-model="rsvrName"
+                placeholder="请输入对象名称搜索"
+                show-action
+                style="border-radius: 8px; height: 50px;"
+                @clear="handleClear"
+              >
+                <template #action>
+                  <van-button size="small" type="primary" @click="handleSearch('1')">搜索</van-button>
+                </template>
+              </van-search>
+            </div>
+          <card02
+            v-for="item in list2"
+            :key="item"
+            :title="item.nm + ''"
+            :id="item.id"
+            :adFullName="item.adFullName"
+            icon="notes"
+            :state="item.state"
+            @click="
+              jumpPage(`/InspectDC/${item.groupId}/object/${item.id}/problems`, {
+                inspectType,
+                object: JSON.stringify(item),
+              })
+            "
+        />
+      </div>
+    </van-tab>
       <van-tab :title="titleDC.name3 + '(' + titleDC.num3 + ')'"
         >
+        <div class="inspect-object-wrapper">
         <div class="search-bar" style="padding: 8px;">
             <van-search
               v-model="rsvrName"
@@ -108,7 +112,9 @@
               object: JSON.stringify(item),
             })
           "
-      /></van-tab>
+      />
+      </div>
+    </van-tab>
     </van-tabs>
   </div>
 </template>

+ 1 - 1
src/views/InspectDC/current.vue

@@ -72,7 +72,7 @@ watch(
   overflow: auto;
 
   .inspect-group-wrapper {
-    height: calc(100% - 35px);
+    height: calc(100% - 105px);
     overflow: auto;
   }
 }

+ 1 - 1
src/views/InspectDC/history.vue

@@ -119,7 +119,7 @@ watch(
   overflow: auto;
 
   .inspect-group-wrapper {
-    height: calc(100% - 35px);
+    height: calc(100% - 105px);
     overflow: auto;
   }
 }

+ 1 - 1
src/views/Login/index.vue

@@ -168,7 +168,7 @@ function handleLogin() {
 
 onMounted(() => {
   refreshCaptcha();
-  loginFn();
+  // loginFn();
 });
 
 // 组件卸载时清除定时器

+ 1 - 2
src/views/Problem/detail/indexDc.vue

@@ -456,9 +456,8 @@ watch(() => fileList.value, (newVal, oldVal) => {
         isAdding.value = true;
         newFile.value = getObjectArrayDiff(newVal, oldVal, 'id').onlyInArr1[0]
         console.log(newFile.value);
-
     }
-    else if(newVal.length<oldVal.length&&newVal.length>0 && objData.value.state !== '2'){
+    else if(newVal.length<oldVal.length && objData.value.state !== '2'){
         isAdding.value = false;
         newFile.value = getObjectArrayDiff(newVal, oldVal, 'id').onlyInArr2[0];
         showConfirmDialog({