From 5535157ce811a29c4e3c68148fd110c9c5a4137b Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期二, 05 九月 2023 16:39:58 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.65.113:9001/r/lims-before
---
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