From e487f1bfa92d9e90dd8f876479bbfced09b4d58c Mon Sep 17 00:00:00 2001
From: futian.liu <liufutianyoo@163.com>
Date: 星期五, 29 十二月 2023 14:04:18 +0800
Subject: [PATCH] 添加角色查询接口

---
 admin-web/src/views/systemManger/server/user/index.vue |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/admin-web/src/views/systemManger/server/user/index.vue b/admin-web/src/views/systemManger/server/user/index.vue
index 2271281..2d13d56 100644
--- a/admin-web/src/views/systemManger/server/user/index.vue
+++ b/admin-web/src/views/systemManger/server/user/index.vue
@@ -58,9 +58,8 @@
       // 鎼滅储鏉′欢
       filterFrom: {
         tenantCode: 0,
-        trnantId: 0,
         userName: null,
-        userPhone: null,
+        userCode: null,
       },
       curOrgId: null,
       // 娣诲姞&缂栬緫璁剧疆
@@ -109,7 +108,7 @@
           { title: '缂栧彿', field: 'userCode', align: 'left' },
           { title: '鐢ㄦ埛濮撳悕', field: 'userName', align: 'left' },
           { title: '鐧诲綍鍚�', field: 'userPhone', align: 'center' },
-          { title: '鎵�灞炴満鏋�', field: 'userPhone', align: 'center', width: 150 },
+          { title: '鎵�灞炴満鏋�', field: 'tenantName', align: 'center', width: 150 },
           { title: '閮ㄩ棬', field: 'sysDeptName', align: 'center' },
           {
             field: 'status',
@@ -236,13 +235,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) {
@@ -284,7 +291,7 @@
     reset() {
       this.filterFrom.tenantCode = null;
       this.filterFrom.userName = null;
-      this.filterFrom.userPhone = null;
+      this.filterFrom.userCode = null;
       this.filterFrom.status = 1;
       this.search(1);
     },

--
Gitblit v1.9.1