From 6eb11f16eefff6e86d3286783197274d3d389084 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期六, 15 三月 2025 15:31:02 +0800 Subject: [PATCH] cnas样式统一 --- src/views/CNAS/systemManagement/documentControl/components/FileChangeRequest.vue | 53 +++++++++++++++++++---------------------------------- 1 files changed, 19 insertions(+), 34 deletions(-) diff --git a/src/views/CNAS/systemManagement/documentControl/components/FileChangeRequest.vue b/src/views/CNAS/systemManagement/documentControl/components/FileChangeRequest.vue index 3817ac1..b03f44c 100644 --- a/src/views/CNAS/systemManagement/documentControl/components/FileChangeRequest.vue +++ b/src/views/CNAS/systemManagement/documentControl/components/FileChangeRequest.vue @@ -1,19 +1,22 @@ <template> <!-- 鏂囦欢鍙樻洿鐢宠 --> - <div class="file-change-request"> + <div> <div class="search"> - <div class="search_thing"> - <div class="search_label">鐢宠鏂囦欢缂栧彿锛�</div> - <div class="search_input"><el-input v-model="queryParams.code" clearable placeholder="璇疯緭鍏�" size="small" - @keyup.enter.native="refreshTable()"></el-input></div> + <div> + <el-form :model="queryParams" ref="queryForm" size="small" :inline="true"> + <el-form-item label="鐢宠鏂囦欢缂栧彿" prop="code"> + <el-input v-model="queryParams.code" clearable placeholder="璇疯緭鍏�" size="small" + @keyup.enter.native="refreshTable()"></el-input> + </el-form-item> + <el-form-item> + <el-button type="primary" icon="el-icon-search" size="mini" @click="refreshTable">鏌� 璇�</el-button> + <el-button icon="el-icon-refresh" size="mini" @click="refresh">閲� 缃�</el-button> + </el-form-item> + </el-form> </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"> - <el-button size="small" type="primary" - @click="addDialogVisible = true, addInfo = {}, currentFile = {}, title = '鏂囦欢鍙樻洿鐢宠', file = null">鏂囦欢鍙樻洿鐢宠</el-button> + <div> + <el-button size="small" type="primary" icon="el-icon-plus" + @click="addDialogVisible = true, addInfo = {}, currentFile = {}, title = '鏂囦欢鍙樻洿鐢宠', file = null">鏂囦欢鍙樻洿鐢宠</el-button> <el-button :loading="outLoading" size="small" type="primary" @click="handleOut">瀵煎嚭</el-button> </div> </div> @@ -592,21 +595,9 @@ </script> <style scoped> ->>> .el-dialog__body { - max-height: 75vh; - overflow-y: auto; -} .title { height: 60px; line-height: 60px; -} - -.search { - background-color: #fff; - height: 40px; - display: flex; - align-items: center; - position: relative; } .search_thing { @@ -625,16 +616,10 @@ width: calc(100% - 110px); } -.table { - background-color: #fff; - height: calc(100% - 60px - 80px); - padding: 20px; -} - -.btns { - position: absolute; - right: 20px; - top: 5px; +.search { + height: 46px; + display: flex; + justify-content: space-between; } h4.title { -- Gitblit v1.9.3