Browse Source

角色修改使用v2接口

origin/feature/monitoring
yujt 5 years ago
parent
commit
42ff5e7f44
  1. 2
      src/views/modules/sys/role-add-or-update.vue

2
src/views/modules/sys/role-add-or-update.vue

@ -274,7 +274,7 @@ export default {
...this.$refs.analysisMenuListTree.getHalfCheckedKeys()
]
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) {
return this.$message.error(res.msg)
}

Loading…
Cancel
Save