Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
提交
议题看板
打开侧边栏
jingqi.liu
pica.cloud.web-education-admin
提交
437495b8
提交
437495b8
编写于
9月 20, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
角色管理替换v2
上级
c31f2c68
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
6 行增加
和
8 行删除
+6
-8
educationApi.js
src/utils/education/educationApi.js
+1
-1
item-role.vue
src/views/system/item-role.vue
+5
-7
未找到文件。
src/utils/education/educationApi.js
浏览文件 @
437495b8
...
@@ -10,7 +10,7 @@ export const uploadExcel = (data,projectId) => {
...
@@ -10,7 +10,7 @@ export const uploadExcel = (data,projectId) => {
sysCode
:
12
,
sysCode
:
12
,
token
:
localStorage
.
getItem
(
'storageToken'
),
token
:
localStorage
.
getItem
(
'storageToken'
),
},
},
url
:
getBaseUrl
(
'portal/
portalProjectOrR
ole/importRoleFile?projectId='
+
projectId
),
url
:
getBaseUrl
(
'portal/
v2/r
ole/importRoleFile?projectId='
+
projectId
),
method
:
'post'
,
method
:
'post'
,
data
:
data
,
data
:
data
,
description
:
'上传excel文件'
,
description
:
'上传excel文件'
,
...
...
src/views/system/item-role.vue
浏览文件 @
437495b8
...
@@ -385,7 +385,7 @@ export default {
...
@@ -385,7 +385,7 @@ export default {
attachRegionId
:
""
,
attachRegionId
:
""
,
creator
:
false
,
creator
:
false
,
hospitalMasterAdmin
:
false
,
hospitalMasterAdmin
:
false
};
};
},
},
created
()
{
created
()
{
...
@@ -529,7 +529,7 @@ export default {
...
@@ -529,7 +529,7 @@ export default {
type
:
"success"
type
:
"success"
});
});
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
messag
e
);
this
.
$message
.
error
(
res
.
cod
e
);
}
}
});
});
},
},
...
@@ -688,7 +688,8 @@ export default {
...
@@ -688,7 +688,8 @@ export default {
doctorId
:
row
.
userId
doctorId
:
row
.
userId
};
};
openLoading
(
vm
);
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
);
closeLoading
(
vm
);
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
let
administrativeAll
=
res
.
data
.
administrativeAll
;
let
administrativeAll
=
res
.
data
.
administrativeAll
;
...
@@ -927,10 +928,7 @@ export default {
...
@@ -927,10 +928,7 @@ export default {
scopeOfAdministrative
:
vm
.
getScope
()
scopeOfAdministrative
:
vm
.
getScope
()
};
};
console
.
log
(
"req"
,
req
);
console
.
log
(
"req"
,
req
);
vm
.
POST
(
vm
.
POST
(
"portal/v2/role/insertOrUpdateAttachRegion"
,
req
).
then
(
res
=>
{
"portal/portalProjectOrRole/insertOrUpdateAttachRegion"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
if
(
res
.
code
==
"000000"
)
{
vm
.
$message
({
vm
.
$message
({
message
:
"设置成功"
,
message
:
"设置成功"
,
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录