From 34f99d106551b51bf2af3bbd40c64624a3af25eb Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期六, 09 九月 2023 09:43:57 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/user/user.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/static/js/user/user.js b/src/main/webapp/static/js/user/user.js
index dd8e33c..7a87454 100644
--- a/src/main/webapp/static/js/user/user.js
+++ b/src/main/webapp/static/js/user/user.js
@@ -108,7 +108,7 @@
         var index  = obj.othis.parents('tr').attr("data-index");
         var data = tableData[index];
         data[this.name] = obj.elem.checked?1:0;
-        http.post(baseUrl+"/user/edit/auth", {id: data.id, status: data[this.name]}, function (res) {
+        http.post(baseUrl+"/user/update/auth", {id: data.id, status: data[this.name]}, function (res) {
             layer.msg(res.msg, {icon: 1});
         })
     })
@@ -192,7 +192,7 @@
                     el: '#deptSel',
                     height: '250px',
                     data: insTb.options.data,
-                    initValue: mData ? [mData.detpId] : [],
+                    initValue: mData ? [mData.deptId] : [],
                     model: {label: {type: 'text'}},
                     prop: {
                         name: 'name',

--
Gitblit v1.9.1