From e564beb607ed42a01513ff8482cce3b4b04378db Mon Sep 17 00:00:00 2001 From: Fixiaobai <fixiaobai@163.com> Date: 星期四, 07 九月 2023 17:54:38 +0800 Subject: [PATCH] modified: src/views/basicData/index.vue modified: src/views/experiment/reportAuditing/index.vue modified: src/views/laboratory/role/index.vue --- src/views/laboratory/role/index.vue | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/views/laboratory/role/index.vue b/src/views/laboratory/role/index.vue index 26da055..8c13e3a 100644 --- a/src/views/laboratory/role/index.vue +++ b/src/views/laboratory/role/index.vue @@ -2,28 +2,28 @@ <div> <div class="content-main"> <div class="top-bar"> - <el-form style="display: flex;align-items: center;" ref="form" :inline="true" :model="searchData"> + <el-form style="display: flex;align-items: center;margin-top: 10px;" ref="form" :inline="true" :model="searchData"> <el-form-item label="瑙掕壊鍚嶇О锛�" class="sermargin"> - <el-input v-model="searchData.roleName" class="input-form" placeholder="璇疯緭鍏ヨ鑹插悕绉�" style="width:250px"> + <el-input size="small" v-model="searchData.roleName" class="input-form" placeholder="璇疯緭鍏ヨ鑹插悕绉�" style="width:250px"> </el-input> </el-form-item> <el-form-item class="rightBtn"> <el-col> - <el-button type="primary" @click="searchRole">鏌ヨ</el-button> - <el-button type="primary" plain>閲嶇疆</el-button> + <el-button size="small" type="primary" @click="searchRole">鏌ヨ</el-button> + <el-button size="small" type="primary" @click="clear()" plain>閲嶇疆</el-button> </el-col> </el-form-item> </el-form> - <el-form> + <el-form style="margin-top: 10px;"> <el-form-item class="rightBtn"> - <el-button type="primary" @click="addClickRole" icon="el-icon-plus">鏂板瑙掕壊</el-button> + <el-button size="small" type="primary" @click="addClickRole" icon="el-icon-plus">鏂板瑙掕壊</el-button> </el-form-item> </el-form> </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