用户管理

This commit is contained in:
cwchen 2025-09-30 15:30:06 +08:00
parent 9f0ebf2f3d
commit 7f0c1146ee
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ export function updateUser(data) {
// 删除用户 // 删除用户
export function delUser(data) { export function delUser(data) {
return request({ return request({
url: '/smartArchives/system/user/delUser', url: '/smartArchives/system/user/del',
method: 'post', method: 'post',
data data
}) })

View File

@ -126,7 +126,7 @@ export default {
if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) { if ((this.isAdd === 'edit' || this.isAdd === 'detail') && this.rowData) {
// //
this.form = { this.form = {
id: this.rowData.id || null, userId: this.rowData.userId || null,
userName: this.rowData.userName || undefined, userName: this.rowData.userName || undefined,
nickName: this.rowData.nickName || undefined, nickName: this.rowData.nickName || undefined,
phonenumber: this.rowData.phonenumberDes || null, phonenumber: this.rowData.phonenumberDes || null,