[update] 内部工作组左侧树三级编辑传userId
This commit is contained in:
@@ -90,12 +90,13 @@ export default {
|
||||
this.confirmLoading = true
|
||||
const param = Object.assign({}, this.model)
|
||||
param.name = values.name
|
||||
param.userId = this.parentUserId
|
||||
let url = ''
|
||||
if (this.model.id) {
|
||||
url = this.url.edit
|
||||
param.userId = this.model.userId
|
||||
} else {
|
||||
url = this.url.add
|
||||
param.userId = this.parentUserId
|
||||
}
|
||||
postAction(url, param).then(res => {
|
||||
if (res.success) {
|
||||
|
||||
Reference in New Issue
Block a user