提交 437495b8 编写于 作者: zhentian.jia's avatar zhentian.jia

角色管理替换v2

上级 c31f2c68
......@@ -10,7 +10,7 @@ export const uploadExcel = (data,projectId) => {
sysCode: 12,
token: localStorage.getItem('storageToken'),
},
url: getBaseUrl('portal/portalProjectOrRole/importRoleFile?projectId='+projectId),
url: getBaseUrl('portal/v2/role/importRoleFile?projectId='+projectId),
method: 'post',
data: data,
description: '上传excel文件',
......
......@@ -385,7 +385,7 @@ export default {
attachRegionId: "",
creator: false,
hospitalMasterAdmin: false,
hospitalMasterAdmin: false
};
},
created() {
......@@ -529,7 +529,7 @@ export default {
type: "success"
});
} else {
this.$message.error(res.message);
this.$message.error(res.code);
}
});
},
......@@ -688,7 +688,8 @@ export default {
doctorId: row.userId
};
openLoading(vm);
vm.GET("portal/portalProjectOrRole/getAttachRegion", req).then(res => {
// vm.GET("portal/portalProjectOrRole/getAttachRegion", req).then(res => {
vm.GET("portal/v2/role/getAttachRegion", req).then(res => {
closeLoading(vm);
if (res.code == "000000") {
let administrativeAll = res.data.administrativeAll;
......@@ -927,10 +928,7 @@ export default {
scopeOfAdministrative: vm.getScope()
};
console.log("req", req);
vm.POST(
"portal/portalProjectOrRole/insertOrUpdateAttachRegion",
req
).then(res => {
vm.POST("portal/v2/role/insertOrUpdateAttachRegion", req).then(res => {
if (res.code == "000000") {
vm.$message({
message: "设置成功",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册