From 122f6d1db1e0af5ede6f96cd390f393e5f222e99 Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期二, 12 十二月 2023 11:33:42 +0800 Subject: [PATCH] feat: bug修复 --- admin-web/src/views/systemManger/server/user/index.vue | 44 ++++++++++++++++++++++---------------------- 1 files changed, 22 insertions(+), 22 deletions(-) diff --git a/admin-web/src/views/systemManger/server/user/index.vue b/admin-web/src/views/systemManger/server/user/index.vue index e777bbb..04e3997 100644 --- a/admin-web/src/views/systemManger/server/user/index.vue +++ b/admin-web/src/views/systemManger/server/user/index.vue @@ -44,7 +44,6 @@ import edit from './edit'; import editRole from './editRole'; import * as finsystenant from '@/api/baseSetting/finsystenant'; -import * as DateFormatter from '@/utils/DateFormatter'; import * as user from '@/api/user'; export default { @@ -107,18 +106,11 @@ }, // 鍒椾俊鎭� columns: [ - { title: '浜哄憳濮撳悕', field: 'userName', align: 'left' }, - { title: '鍛樺伐缂栧彿', field: 'userCode', align: 'left' }, - { title: '鎵嬫満鍙�', field: 'userPhone', align: 'center', width: 150 }, - { - title: '鍒涘缓鏃堕棿', - field: 'createTime', - align: 'center', - width: 200, - formatter: (row) => { - return { value: DateFormatter.LongToDateTime(row.createTime) }; - }, - }, + { title: '缂栧彿', field: 'userCode', align: 'left' }, + { title: '鐢ㄦ埛濮撳悕', field: 'userName', align: 'left' }, + { title: '鐧诲綍鍚�', field: 'userPhone', align: 'center' }, + { title: '鎵�灞炴満鏋�', field: 'userPhone', align: 'center', width: 150 }, + { title: '閮ㄩ棬', field: 'sysDeptName', align: 'center' }, { field: 'status', title: '鐘舵��', @@ -154,15 +146,15 @@ width: '250', // 鍒楀 attr: [ { - title: '瑙掕壊', - events: (row) => { - this.showEditRole(row.id); - }, - }, - { title: '缂栬緫', events: (row) => { this.showAdd(row.id); + }, + }, + { + title: '瑙掕壊', + events: (row) => { + this.showEditRole(row.id); }, }, { @@ -244,13 +236,21 @@ this.$modal .confirm('鏄惁纭鍒濆鍖栧悕绉颁负"' + row.userName + '"鐨勫瘑鐮侊紵') .then(function () { - user.updPassWord(row).then((res) => {}); + user.updPassWord(row).then((res) => { + }); }) .then((res) => { - this.$message.success('鍒濆鍖栧瘑鐮佹垚鍔燂紒'); + this.$modal + .confirm('鍒濆鍖栧瘑鐮佹垚鍔燂紝鏂板瘑鐮佷负锛�123456') + .then((res) => { + + }) + .catch(() => { + }); this.search(); }) - .catch(() => {}); + .catch(() => { + }); }, // 鏌ヨtable鍒楄〃 search(pageNum) { -- Gitblit v1.9.1