From 9b26870265cbbc75bcd32529e46b229a49ec30a0 Mon Sep 17 00:00:00 2001 From: value <z1292839451@163.com> Date: 星期二, 05 九月 2023 11:29:23 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/views/laboratory/role/index.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/laboratory/role/index.vue b/src/views/laboratory/role/index.vue index 26da055..c91733a 100644 --- a/src/views/laboratory/role/index.vue +++ b/src/views/laboratory/role/index.vue @@ -10,7 +10,7 @@ <el-form-item class="rightBtn"> <el-col> <el-button type="primary" @click="searchRole">鏌ヨ</el-button> - <el-button type="primary" plain>閲嶇疆</el-button> + <el-button type="primary" @click="clear()" plain>閲嶇疆</el-button> </el-col> </el-form-item> </el-form> @@ -22,8 +22,8 @@ </div> <div class="library-table"> <div class="table-box"> - <el-table :max-height="800" :cell-style="{ textAlign: 'center' }" - :header-cell-style="{ border: '0px', background: '#f5f7fa', color: '#606266', boxShadow: 'inset 0 1px 0 #ebeef5', textAlign: 'center' }" + <el-table :max-height="800" :cell-style="{ textAlign: 'left' }" + :header-cell-style="{ border: '0px', background: '#f5f7fa', color: '#606266', boxShadow: 'inset 0 1px 0 #ebeef5', textAlign: 'left' }" :data="roleTable" style="width: 100%"> <el-table-column type="index" min-width="8%" /> <el-table-column prop="roleName" label="瑙掕壊鍚嶇О" min-width="20%" /> @@ -287,6 +287,10 @@ searchRole() { this.start() }, + clear(){ + this.searchData.roleName='' + this.start() + }, clearUPAll() { this.updateRole = { roleId: null, -- Gitblit v1.9.3