From 50756d8ae4d36a4517ab1d4072d64b20fc52f6b4 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期一, 24 三月 2025 10:57:10 +0800 Subject: [PATCH] 设备页面-样式优化 --- src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue | 51 +++++++++++++++++++++++++-------------------------- 1 files changed, 25 insertions(+), 26 deletions(-) diff --git a/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue b/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue index 16690fe..d503422 100644 --- a/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue +++ b/src/views/CNAS/process/ensureResults/ensureResultsValidity/index.vue @@ -9,8 +9,8 @@ @keyup.enter.native="getYearPlanList"></el-input> </el-form-item> <el-form-item> - <el-button icon="el-icon-refresh" size="mini" @click="clearYear">閲� 缃�</el-button> - <el-button type="primary" icon="el-icon-search" size="mini" @click="getYearPlanList">鏌� 璇�</el-button> + <el-button type="primary" size="mini" @click="getYearPlanList">鏌ヨ</el-button> + <el-button size="mini" @click="clearYear">閲嶇疆</el-button> </el-form-item> </el-form> <div> @@ -18,7 +18,7 @@ </div> </div> <lims-table :tableData="yearTableData" :column="yearColumnData" :page="yearPage" :tableLoading="yearLoading" - height="40vh" @pagination="pagination" :rowClick="rowClick" key="yearTableData"></lims-table> + :height="'calc(100vh - 34em)'" @pagination="pagination" :rowClick="rowClick" key="yearTableData"></lims-table> </div> <div style="margin-top: 20px"> <div style="display: flex;justify-content: space-between;"> @@ -30,8 +30,8 @@ <el-input v-model="yearDetailForm.monitorProject" placeholder="璇疯緭鍏�" size="small"></el-input> </el-form-item> <el-form-item> - <el-button icon="el-icon-refresh" size="mini" @click="clearDetail">閲� 缃�</el-button> - <el-button type="primary" icon="el-icon-search" size="mini" @click="getYearDetailPlanList">鏌� 璇�</el-button> + <el-button type="primary" size="mini" @click="getYearDetailPlanList">鏌ヨ</el-button> + <el-button size="mini" @click="clearDetail">閲嶇疆</el-button> </el-form-item> </el-form> <div> @@ -39,7 +39,7 @@ </div> </div> <lims-table :tableData="yearDetailTableData" :column="yearDetailColumnData" :page="yearDetailPage" - :tableLoading="yearDetailLoading" height="40vh" @pagination="pagination1" + :tableLoading="yearDetailLoading" :height="'calc(100vh - 34em)'" @pagination="pagination1" ref="yearDetailTableData" key="yearDetailTableData"></lims-table> </div> <!--鏂板淇敼寮规--> @@ -176,7 +176,7 @@ import { mapGetters } from "vuex"; export default { - name: 'a7-Ensure-results-validity', + name: 'EnsureResultsValidity', // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� components: { limsTable, filePreview, EvaluateDialog, CarryOutDialog, DetailFormDialog }, data() { @@ -196,20 +196,20 @@ { label: '璁″垝鍚嶇О', prop: 'monitorName', - minWidth: '150px' + width: '150px' }, { label: '缂栧埗浜�', prop: 'writeName', - minWidth: '100' + width: '100' }, { label: '缂栧埗鏃ユ湡', prop: 'writeTime', - minWidth: '160' + width: '160' }, { dataType: 'tag', label: '瀹℃牳鐘舵��', prop: 'examineStatus', - minWidth: '100', + width: '100', formatData: (params) => { if (params === 0) { return '涓嶉�氳繃'; @@ -231,20 +231,20 @@ }, { label: '瀹℃牳鍐呭', prop: 'examineRemark', - minWidth: '100' + width: '100' }, { label: '瀹℃牳浜�', prop: 'examineName', - minWidth: '100' + width: '100' }, { label: '瀹℃牳鏃ユ湡', prop: 'examineTime', - minWidth: '160' + width: '160' }, { dataType: 'tag', label: '鎵瑰噯鐘舵��', prop: 'ratifyStatus', - minWidth: '100', + width: '100', formatData: (params) => { if (params === 0) { return '涓嶆壒鍑�'; @@ -266,18 +266,17 @@ }, { label: '鎵瑰噯鍐呭', prop: 'ratifyRemark', - minWidth: '100' + width: '100' }, { label: '鎵瑰噯浜�', prop: 'ratifyName', - minWidth: '100' + width: '100' }, { label: '鎵瑰噯鏃ユ湡', prop: 'ratifyTime', - minWidth: '160' + width: '160' }, { dataType: 'action', - minWidth: '190', label: '鎿嶄綔', fixed: 'right', operation: [ @@ -355,30 +354,29 @@ }, { label: '璁″垝寮�灞曟椂闂�', prop: 'plannedTime', - minWidth: '150px' + width: '150px' }, { label: '鐩戞帶椤圭洰', prop: 'monitorProject', - minWidth: '150px' + width: '150px' }, { label: '鍙傚姞鍗曚綅锛堜汉鍛橈級', prop: 'participant', - minWidth: '150px' + width: '190px' }, { label: '棰勭畻锛堝厓锛�', prop: 'budget', - minWidth: '150px' + width: '150px' }, { label: '缁勭粐浜哄憳', prop: 'organization', - minWidth: '150px' + width: '150px' }, { label: '鐩戞帶鏂瑰紡', prop: 'monitorWay', - minWidth: '150px' + width: '150px' }, { dataType: 'action', - width: '280', label: '鎿嶄綔', fixed: 'right', operation: [ @@ -661,6 +659,7 @@ this.yearDetailLoading = false this.yearDetailTableData = res.data.records this.yearDetailPage.total = res.data.total + this.$refs.yearDetailTableData.$refs.multipleTable.doLayout() }).catch(err => { console.log('err---', err); this.yearDetailLoading = false -- Gitblit v1.9.3