用户管理
This commit is contained in:
parent
9f0ebf2f3d
commit
7f0c1146ee
|
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue