From 46add839980507f30a87d62599671b88fdc86145 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期一, 31 三月 2025 15:28:21 +0800 Subject: [PATCH] 修数据预警字段 --- src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/temperature-humidity-record.vue | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/temperature-humidity-record.vue b/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/temperature-humidity-record.vue index 84aab15..c5019a7 100644 --- a/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/temperature-humidity-record.vue +++ b/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/temperature-humidity-record.vue @@ -4,11 +4,16 @@ <el-col :span="12"> <div class="header"> <div>璇曢獙鍖哄煙</div> - <div> - 鍚嶇О锛� - <el-input v-model="search.testAreaName" clearable size="small" style="width: 120px"></el-input> - <el-button size="small" type="primary" @click="initData">鏌ヨ</el-button> - <el-button size="small" type="primary" @click="clickAdd">鏂� 澧�</el-button> + <div style="display: flex;"> + <div style="margin-bottom: 18px;margin-right: 10px;display: flex;align-items: center;line-height: 32px;"> + <span style="width: 48px;font-size: 14px;font-weight: 700;color: #606266;">鍚嶇О</span> + <el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="search.testAreaName" + @keyup.enter.native="initData"></el-input> + </div> + <div style="line-height: 30px;"> + <el-button size="mini" type="primary" @click="initData">鏌ヨ</el-button> + <el-button size="mini" type="primary" @click="clickAdd">鏂� 澧�</el-button> + </div> </div> </div> <el-table :data="tableData" height="calc(100vh - 18em)" highlight-current-row style="width: 100%" @@ -27,14 +32,14 @@ <el-table-column fixed="right" label="鎿嶄綔" min-width="180" align="center"> <template v-slot="scope"> <el-button size="small" type="text" @click="downLoadPost(scope.row)">瀵煎嚭</el-button> - <el-button size="small" type="text" @click="edit(scope.row)">缂栬緫</el-button> +<!-- <el-button size="small" type="text" @click="edit(scope.row)">缂栬緫</el-button>--> <el-button :disabled="scope.row.isAffirm === '1'" size="small" type="text" @click="openApprovalDialog(scope.row)">纭</el-button> <el-button size="small" type="text" @click="deleteRowFun(scope.row)">鍒犻櫎</el-button> </template> </el-table-column> </el-table> - <el-pagination :current-page="1" :page-size="search.size" :page-sizes="[10, 20, 30, 50, 100]" + <el-pagination :current-page="1" :page-size="search.size" :page-sizes="[10, 20, 30, 50, 100]" background :total="search.total" layout="->,total, sizes, prev, pager, next, jumper" @size-change="handleSizeChange" @current-change="handleCurrentChange"> </el-pagination> @@ -76,7 +81,7 @@ </template> </el-table-column> </el-table> - <el-pagination :current-page="1" :page-size="search1.size" :page-sizes="[10, 20, 30, 50, 100]" + <el-pagination :current-page="1" :page-size="search1.size" :page-sizes="[10, 20, 30, 50, 100]" background :total="search1.total" layout="->,total, sizes, prev, pager, next, jumper" @size-change="handleSizeChange1" @current-change="handleCurrentChange1"> </el-pagination> @@ -327,6 +332,7 @@ }, clickRow(row) { this.saveRow = row + this.search1.current = 1 this.initData1(row.dateId) }, edit(row) { @@ -407,11 +413,11 @@ }, handleSizeChange1(val) { this.search1.size = val; - this.initData1(); + this.initData1(this.saveRow.dateId); }, handleCurrentChange1(val) { this.search1.current = val; - this.initData1(); + this.initData1(this.saveRow.dateId); }, clickAdd() { this.dialogVisible = true -- Gitblit v1.9.3