From f9d1ac78b245cb672342e96cf0e905b812352651 Mon Sep 17 00:00:00 2001 From: gaoluyang <2820782392@qq.com> Date: 星期五, 21 三月 2025 11:23:24 +0800 Subject: [PATCH] 原材料下单-检验标准未回显 --- src/views/system/user/index.vue | 16 +++++----------- 1 files changed, 5 insertions(+), 11 deletions(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 0d8450a..b151160 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -34,8 +34,8 @@ </el-select> </el-form-item> <el-form-item> - <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">鏌� 璇�</el-button> - <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">閲� 缃�</el-button> + <el-button type="primary" size="mini" @click="handleQuery">鏌ヨ</el-button> + <el-button size="mini" @click="resetQuery">閲嶇疆</el-button> </el-form-item> </el-form> </div> @@ -47,10 +47,11 @@ </div> </div> <el-col> - <el-table v-loading="loading" :data="userList"> + <el-table v-loading="loading" :data="userList" :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border> <el-table-column label="搴忓彿" align="center" type="index" /> <el-table-column label="濮撳悕" align="center" key="nickName" prop="nickName" :show-overflow-tooltip="true" /> <el-table-column label="璐﹀彿" align="center" key="userName" prop="userName" :show-overflow-tooltip="true" /> + <el-table-column label="瑙掕壊" align="center" key="roleName" prop="roleName" :show-overflow-tooltip="true" /> <el-table-column label="鐘舵��" align="center" key="status"> <template slot-scope="scope"> <el-switch v-model="scope.row.status" active-value="0" inactive-value="1" @@ -224,6 +225,7 @@ style="width: 50%" @keyup.enter.native="searchPerson()"></el-input> </div> <el-table height="67vh" stripe :data="personList" v-loading="personLoad" ref="personTable" + :header-cell-style="{ background: '#f8f8f9', color: '#515a6e' }" border @selection-change="handleSelectionChange"> <el-table-column type="selection" width="50"> </el-table-column> @@ -448,10 +450,6 @@ } this.addLoad = true addDepartment(this.addOb).then(res => { - if (res.code === 201) { - this.addLoad = false - return - } this.$message.success('娣诲姞鎴愬姛') this.addDia = false this.getList() @@ -656,10 +654,6 @@ person: this.multipleSelection, roleId: this.componentData.entity.roleId }).then(res => { - if (res.code === 201) { - this.addLoad = false - return - } this.$message.success('鎿嶄綔鎴愬姛') this.multipleSelection = [] this.$refs.personTable.clearSelection() -- Gitblit v1.9.3