From 299e69968ee590150fa6302e224e8b5a7a3d7384 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期六, 09 四月 2022 13:02:50 +0800
Subject: [PATCH] 升级依赖到最新版本

---
 src/views/system/user/index.vue |   18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 3f988fa..e5616f0 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -8,7 +8,7 @@
                   v-model="deptName"
                   placeholder="璇疯緭鍏ラ儴闂ㄥ悕绉�"
                   clearable
-                  prefix-icon="el-icon-search"
+                  prefix-icon="Search"
                   style="margin-bottom: 20px"
                />
             </div>
@@ -151,36 +151,32 @@
                </el-table-column>
                <el-table-column label="鎿嶄綔" align="center" width="150" class-name="small-padding fixed-width">
                   <template #default="scope">
-                     <el-tooltip content="淇敼" placement="top">
+                     <el-tooltip content="淇敼" placement="top" v-if="scope.row.userId !== 1">
                         <el-button
-                           v-if="scope.row.userId !== 1"
                            type="text"
                            icon="Edit"
                            @click="handleUpdate(scope.row)"
                            v-hasPermi="['system:user:edit']"
                         ></el-button>
                      </el-tooltip>
-                     <el-tooltip content="鍒犻櫎" placement="top">
+                     <el-tooltip content="鍒犻櫎" placement="top" v-if="scope.row.userId !== 1">
                         <el-button
-                           v-if="scope.row.userId !== 1"
                            type="text"
                            icon="Delete"
                            @click="handleDelete(scope.row)"
                            v-hasPermi="['system:user:remove']"
                         ></el-button>
                      </el-tooltip>
-                     <el-tooltip content="閲嶇疆瀵嗙爜" placement="top">
+                     <el-tooltip content="閲嶇疆瀵嗙爜" placement="top" v-if="scope.row.userId !== 1">
                         <el-button
-                           v-if="scope.row.userId !== 1"
                            type="text"
                            icon="Key"
                            @click="handleResetPwd(scope.row)"
                            v-hasPermi="['system:user:resetPwd']"
                         ></el-button>
                      </el-tooltip>
-                     <el-tooltip content="鍒嗛厤瑙掕壊" placement="top">
+                     <el-tooltip content="鍒嗛厤瑙掕壊" placement="top" v-if="scope.row.userId !== 1">
                         <el-button
-                           v-if="scope.row.userId !== 1"
                            type="text"
                            icon="CircleCheck"
                            @click="handleAuthRole(scope.row)"
@@ -386,7 +382,7 @@
   // 璁剧疆涓婁紶鐨勮姹傚ご閮�
   headers: { Authorization: "Bearer " + getToken() },
   // 涓婁紶鐨勫湴鍧�
-  url: import.meta.env.VITE_APP_BASE_API + "system/user/importData"
+  url: import.meta.env.VITE_APP_BASE_API + "/system/user/importData"
 });
 // 鍒楁樉闅愪俊鎭�
 const columns = ref([
@@ -592,7 +588,7 @@
     roleOptions.value = response.roles;
     open.value = true;
     title.value = "娣诲姞鐢ㄦ埛";
-    form.password.value = initPassword.value;
+    form.value.password = initPassword.value;
   });
 };
 /** 淇敼鎸夐挳鎿嶄綔 */

--
Gitblit v1.9.3