From dfaf2ae84b72d62d896c029f91c87816b696ec06 Mon Sep 17 00:00:00 2001
From: cy <1664593601@qq.com>
Date: 星期六, 09 十二月 2023 11:48:59 +0800
Subject: [PATCH] feat: 部门A类物品报废时 更新L_WH_PROCURE_MODEL_USER中可用数量

---
 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