feat(src/views/user/role): 编辑角色权限后刷新数据

duizhaopin_ui
duan 3 years ago
parent 51c9af63b7
commit 054012dcaf

@ -4,5 +4,5 @@ NODE_ENV = production
ENV = 'staging' ENV = 'staging'
# base api # base api
VUE_APP_BASE_API = '/stage-api' VUE_APP_BASE_API = 'http://111.231.67.55:9001'

1
.gitignore vendored

@ -14,3 +14,4 @@ tests/**/coverage/
*.ntvs* *.ntvs*
*.njsproj *.njsproj
*.sln *.sln
dist.zip

@ -324,6 +324,7 @@ export default {
data.instrument_module_id = JSON.stringify(data.instrument_module_id) data.instrument_module_id = JSON.stringify(data.instrument_module_id)
add_update_role(stringify(data)).then(res => { add_update_role(stringify(data)).then(res => {
this.$message.success(res.msg) this.$message.success(res.msg)
this.getList()
this.onClose() this.onClose()
}) })
this.close() this.close()

Loading…
Cancel
Save