From 5746f73d9eeb78db465cc9da55373e4d5c424d99 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 16 四月 2025 15:22:32 +0800
Subject: [PATCH] 管理体系文件控制-查询回车搜索

---
 src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue |   60 +++++++++++++++---------------------------------------------
 1 files changed, 15 insertions(+), 45 deletions(-)

diff --git a/src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue b/src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue
index f642c37..5c6b8da 100644
--- a/src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue
+++ b/src/views/CNAS/systemManagement/documentControl/components/ControlledFileApplication.vue
@@ -1,24 +1,21 @@
 <template>
   <!-- 鏂囦欢鍙楁帶鐢宠 -->
-  <div class="controlled-file-application" style="height: 100%;">
-    <div class="search">
-      <div class="search_thing">
-        <div class="search_label">鐢宠鏂囦欢缂栧彿锛�</div>
-        <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="queryParams.documentCode"
-            @keyup.enter.native="refreshTable()"></el-input></div>
+  <div>
+    <div style="display: flex;justify-content: space-between">
+      <div style="display: flex;">
+        <div style="margin-bottom: 18px;margin-right: 10px;display: flex;align-items: center;line-height: 32px;">
+          <span style="width: 128px;font-size: 14px;font-weight: 700;color: #606266;">鐢宠鏂囦欢缂栧彿</span>
+          <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="queryParams.documentCode"
+                    @keyup.enter.native="refreshTable()"></el-input>
+        </div>
+        <div style="line-height: 30px;">
+          <el-button type="primary" size="mini" @click="refreshTable">鏌ヨ</el-button>
+          <el-button size="mini" @click="refresh">閲嶇疆</el-button>
+        </div>
       </div>
-      <!-- <div class="search_thing">
-        <div class="search_label">鐢宠浜猴細</div>
-        <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable
-            v-model="queryParams.createUserName" @keyup.enter.native="refreshTable()"></el-input></div>
-      </div> -->
-      <div class="search_thing" style="padding-left: 30px;">
-        <el-button size="small" @click="refresh()">閲� 缃�</el-button>
-        <el-button size="small" type="primary" @click="refreshTable()">鏌� 璇�</el-button>
-      </div>
-      <div class="btns" style="padding-left: 30px;">
-        <el-button size="small" type="primary"
-          @click="addDialogVisible = true, addInfo = {}, file = null">鏂囦欢鍙楁帶鐢宠</el-button>
+      <div style="line-height: 30px;">
+        <el-button size="small" type="primary" icon="el-icon-plus"
+                   @click="addDialogVisible = true, addInfo = {}, file = null">鏂囦欢鍙楁帶鐢宠</el-button>
       </div>
     </div>
     <div class="table">
@@ -303,7 +300,6 @@
       delete param.total;
       pageManageDocumentControlled({ ...param })
         .then((res) => {
-          console.log('res',res)
           this.tableLoading = false;
           if (res.code === 200) {
             this.tableData = res.data.records;
@@ -502,19 +498,6 @@
 </script>
 
 <style scoped>
-.title {
-  height: 60px;
-  line-height: 60px;
-}
-
-.search {
-  background-color: #fff;
-  height: 40px;
-  display: flex;
-  align-items: center;
-  position: relative;
-}
-
 .search_thing {
   width: 350px;
   display: flex;
@@ -530,19 +513,6 @@
 .search_input {
   width: calc(100% - 110px);
 }
-
-.table {
-  background-color: #fff;
-  height: calc(100% - 60px - 80px);
-  padding: 20px;
-}
-
-.btns {
-  position: absolute;
-  right: 20px;
-  top: 5px;
-}
-
 .stamp {
   cursor: pointer;
   border: #fff 1px solid;

--
Gitblit v1.9.3