|
@ -274,7 +274,7 @@ export default { |
|
|
...this.$refs.analysisMenuListTree.getHalfCheckedKeys() |
|
|
...this.$refs.analysisMenuListTree.getHalfCheckedKeys() |
|
|
] |
|
|
] |
|
|
this.dataForm.whistleDeptIdList = this.$refs.whistleDeptListTree.getCheckedKeys() |
|
|
this.dataForm.whistleDeptIdList = this.$refs.whistleDeptListTree.getCheckedKeys() |
|
|
this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/role', this.dataForm).then(({ data: res }) => { |
|
|
this.$http[!this.dataForm.id ? 'post' : 'put']('/sys/role/v2', this.dataForm).then(({ data: res }) => { |
|
|
if (res.code !== 0) { |
|
|
if (res.code !== 0) { |
|
|
return this.$message.error(res.msg) |
|
|
return this.$message.error(res.msg) |
|
|
} |
|
|
} |
|
|