From f6b61a485501f326debe52d77ea65d87fb34b37f Mon Sep 17 00:00:00 2001
From: 田源 <tianyuan@vci-tech.com>
Date: 星期三, 05 三月 2025 17:57:09 +0800
Subject: [PATCH] 完善集成日志查询

---
 Source/UBCS-WEB/src/views/code/code.vue |   28 ++++++++++++----------------
 1 files changed, 12 insertions(+), 16 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/code/code.vue b/Source/UBCS-WEB/src/views/code/code.vue
index 28e19f9..60297f3 100644
--- a/Source/UBCS-WEB/src/views/code/code.vue
+++ b/Source/UBCS-WEB/src/views/code/code.vue
@@ -2,7 +2,7 @@
   <basic-container class="code-total" style=" height: 100%">
     <!-- 缂栫爜瑙勫垯淇℃伅灞曠ず鍖哄煙 -->
     <basic-container class="code-rule-container">
-      <div style="height: 50vh;overflow: auto;">
+      <div style="height: 49vh;overflow: auto;">
         <p
           style="
           margin-top: -5px;
@@ -219,7 +219,7 @@
 
     <!-- 鍩虹鐮佹灞曠ず鍖哄煙 -->
     <basic-container class="code-basicsec-container">
-      <div style="height: 35vh;overflow: auto">
+      <div style="height: 29.3vh;overflow: auto">
         <p
           style="margin-top: -5px;
           margin-bottom: 4px;
@@ -383,18 +383,12 @@
         <el-col :span="13">
           <basic-container>
             <div class="box" style="height: 60vh; margin-bottom: -40px">
-              <el-form>
-                <el-form-item :label-width="50" label="鐮佸��:" required>
-                  <el-input
-                    v-model="codeClassifyForm.id"
-                    style="width: 18vw"
-                  ></el-input>
+              <el-form label-width="55px">
+                <el-form-item label="鍚嶇О:" required>
+                  <el-input v-model="codeClassifyForm.name"></el-input>
                 </el-form-item>
-                <el-form-item :label-width="50" label="鍚嶇О:" required>
-                  <el-input
-                    v-model="codeClassifyForm.name"
-                    style="width: 18vw"
-                  ></el-input>
+                <el-form-item  label="鐮佸��:">
+                  <el-input v-model="codeClassifyForm.id"></el-input>
                 </el-form-item>
               </el-form>
             </div>
@@ -2045,7 +2039,11 @@
           }
         );
       } else {
-        if (!this.tipsCodeSecValueMessage(this.codeClassifyForm.id)) {
+        // if (!this.tipsCodeSecValueMessage(this.codeClassifyForm.id)) {
+        //   return;
+        // }
+        if(!this.codeClassifyForm.name){
+          this.$message.error('璇疯緭鍏ュ悕绉�');
           return;
         }
         if(!await this.regexCharacter(this.codeClassifyForm.id)){
@@ -2518,8 +2516,6 @@
           },
           {
             data: [],
-
-
             title: "鎻忚堪",
             fieldType: "text",
             queryField: "description",

--
Gitblit v1.9.3