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
提交
c5a01b35
提交
c5a01b35
编写于
3月 28, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix bug
上级
1cb6756b
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
26 行增加
和
15 行删除
+26
-15
add-manager.vue
src/views/education/add-manager.vue
+26
-15
未找到文件。
src/views/education/add-manager.vue
浏览文件 @
c5a01b35
...
...
@@ -1457,8 +1457,7 @@ export default {
this
.
organizationRegion
=
operationData
.
getOrganizationList
(
this
.
tagsRegion
);
console
.
log
(
this
.
organizationRegion
);
//debugger;
//console.log(this.organizationRegion);
},
//初始化范围树
setTreeData
(
administrative
)
{
...
...
@@ -1770,7 +1769,7 @@ export default {
let
kind
=
0
;
if
(
type
==
"administrative"
)
{
//console.log("this.updatedTree", this.updatedTree);
if
(
this
.
tagsRegion
.
length
>
0
&&
this
.
updatedTree
==
true
)
{
if
(
this
.
updatedTree
==
true
)
{
kind
=
3
;
}
}
else
if
(
type
==
"administrativeScope"
)
{
...
...
@@ -2077,24 +2076,36 @@ export default {
// console.log('formOrganization',this.formOrganization);
let
req
=
{
projectId
:
this
.
projectId
,
setKind
:
this
.
getKind
(
"administrative"
),
// scope: "000_110",
administrativeId
:
this
.
formOrganization
.
administrativeId
,
departmentLevel
:
this
.
formOrganization
.
level
,
organizationName
:
this
.
formOrganization
.
name
,
pageNum
:
this
.
formOrganization
.
pageNum
,
pageSize
:
this
.
formOrganization
.
pageSize
setKindOfAdministrative
:
this
.
getKind
(
"administrative"
),
//scopeOfAdministrative: "000_110",
setKindOfOrganization
:
this
.
getKind
(
"organization"
),
//scopeOfOrganization: "2|3|4|5|6|7",
setKindOfDepartment
:
this
.
getKind
(
"department"
),
//scopeOfDepartment: 54,
pageNum
:
this
.
formPerson
.
pageNum
,
pageSize
:
this
.
formPerson
.
pageSize
,
hospitalId
:
this
.
formPerson
.
hospitalId
,
departmentId
:
this
.
formPerson
.
departmentId
,
name
:
this
.
formPerson
.
name
,
};
if
(
req
.
setKind
==
3
)
{
req
.
scope
=
this
.
getScope
(
"administrative"
);
if
(
req
.
setKindOfAdministrative
==
3
)
{
req
.
scopeOfAdministrative
=
this
.
getScope
(
"administrative"
);
}
if
(
req
.
setKindOfOrganization
==
2
||
req
.
setKindOfOrganization
==
3
)
{
req
.
scopeOfOrganization
=
this
.
getScopeOrganization
(
req
.
setKindOfOrganization
);
}
if
(
req
.
setKindOfDepartment
==
3
)
{
req
.
scopeOfDepartment
=
this
.
getScopeDepartment
();
}
openLoading
(
vm
);
vm
.
POST
(
"portal/scope/v1/
organization
/choose"
,
req
).
then
(
res
=>
{
vm
.
POST
(
"portal/scope/v1/
people
/choose"
,
req
).
then
(
res
=>
{
closeLoading
(
vm
);
console
.
log
(
res
);
if
(
res
.
code
==
"000000"
)
{
this
.
table
Organizati
on
=
res
.
data
.
organizationList
;
this
.
total
Organizati
on
=
res
.
data
.
total
;
this
.
table
Pers
on
=
res
.
data
.
organizationList
;
this
.
total
Pers
on
=
res
.
data
.
total
;
}
});
},
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录