|
|
@ -206,7 +206,12 @@ export default { |
|
|
|
const url = "/gov/org/staff/addstaffv2"; |
|
|
|
// console.log('this.peoForm', this.peoForm) |
|
|
|
// return false |
|
|
|
const { data, code, msg } = await requestPost(url, this.peoForm); |
|
|
|
let params = { |
|
|
|
customerId: this.customerId, |
|
|
|
...this.peoForm |
|
|
|
}; |
|
|
|
|
|
|
|
const { data, code, msg } = await requestPost(url, params); |
|
|
|
|
|
|
|
if (code === 0) { |
|
|
|
this.$message.success("操作成功"); |
|
|
|