From 0a26d58a3906b9e13946c7cb46fae51a0de98920 Mon Sep 17 00:00:00 2001 From: Crunchy <3114200645@qq.com> Date: 星期一, 17 三月 2025 15:49:08 +0800 Subject: [PATCH] Merge branch 'dev' into dev_tides --- src/views/CNAS/process/uncertainty/index.vue | 56 +++++++++++++++++++------------------------------------- 1 files changed, 19 insertions(+), 37 deletions(-) diff --git a/src/views/CNAS/process/uncertainty/index.vue b/src/views/CNAS/process/uncertainty/index.vue index f5dc83f..1583364 100644 --- a/src/views/CNAS/process/uncertainty/index.vue +++ b/src/views/CNAS/process/uncertainty/index.vue @@ -1,21 +1,23 @@ <template> - <div class="uncertainty-evaluation"> + <div class="capacity-scope"> <div class="search"> - <div class="search_thing"> - <div class="search_label">鎶ュ憡鍚嶇О锛�</div> - <div class="search_input"><el-input v-model="queryParams.reportName" 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="reportName"> + <el-input v-model="queryParams.reportName" 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="btn"> - <el-button :loading="outLoading" size="small" style="margin-right: 16px;margin-top: 3px;" type="primary" - @click="handleDown0">瀵煎嚭</el-button> + <div style="display: flex;align-items: center;"> + <el-button :loading="outLoading" size="small" type="primary" style="margin-right: 10px" @click="handleDown0">瀵煎嚭</el-button> <el-upload ref='upload' :action="action" :headers="uploadHeader" :on-change="beforeUpload" :on-error="onError" - :on-success="handleSuccessUp" :show-file-list="false" - accept='.jpg,.jpeg,.png,.gif,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.zip,.rar'> + :on-success="handleSuccessUp" :show-file-list="false" + accept='.jpg,.jpeg,.png,.gif,.doc,.docx,.xls,.xlsx,.ppt,.pptx,.pdf,.zip,.rar'> <el-button :loading="upLoading" size="small" type="primary">瀵煎叆</el-button></el-upload> </div> </div> @@ -66,6 +68,7 @@ } from '@/api/cnas/process/uncertainty.js' import { mapGetters } from "vuex"; export default { + name: 'Uncertainty', components: { limsTable, filePreview @@ -251,17 +254,10 @@ </script> <style scoped> -.title { - height: 60px; - line-height: 60px; -} - .search { - background-color: #fff; - height: 80px; + height: 46px; display: flex; - align-items: center; - position: relative; + justify-content: space-between; } .search_thing { @@ -278,19 +274,5 @@ .search_input { width: calc(100% - 80px); -} - -.table { - background-color: #fff; - height: calc(100% - 60px - 80px - 10px - 40px); - padding: 20px; -} - -.btn { - position: absolute; - top: 16px; - right: 20px; - display: flex; - align-items: center; } </style> -- Gitblit v1.9.3