Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
4d596e95
提交
4d596e95
编写于
3月 25, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix bug 17:19
上级
243369d6
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
29 行增加
和
9 行删除
+29
-9
filter.js
src/utils/filter.js
+1
-1
add-manager.vue
src/views/education/add-manager.vue
+28
-8
未找到文件。
src/utils/filter.js
浏览文件 @
4d596e95
...
...
@@ -134,7 +134,7 @@ const vueFilter = {
return
'未上架'
}
else
if
(
value
[
0
]
==
3
)
{
if
(
value
[
1
]
==
1
)
{
return
'待审
批
'
return
'待审
核
'
}
else
{
return
'审批中'
}
...
...
src/views/education/add-manager.vue
浏览文件 @
4d596e95
...
...
@@ -790,7 +790,8 @@ export default {
this
.
changeValue
(
componentEdit
);
if
(
editData
.
certificateData
.
length
>
0
)
{
this
.
formComponent
.
configure
=
1
;
this
.
formComponent
.
certificate
=
editData
.
certificateData
[
0
].
relevanceId
;
this
.
formComponent
.
certificate
=
editData
.
certificateData
[
0
].
relevanceId
;
}
},
//编辑管理
...
...
@@ -939,7 +940,7 @@ export default {
});
if
(
res
.
code
==
"000000"
)
{
//notify
if
(
type
==
2
)
{
if
(
type
==
2
)
{
this
.
$router
.
push
(
"item-manager"
);
}
}
...
...
@@ -1043,9 +1044,9 @@ export default {
//点击完成
complete
()
{
//type 1:暂存 2:完成
if
(
this
.
projectStatus
==
4
)
{
if
(
this
.
projectStatus
==
4
)
{
vm
.
$message
.
info
(
"已上架状态只能编辑基础信息"
);
vm
.
$router
.
push
({
path
:
'item-manager'
});
vm
.
$router
.
push
({
path
:
"item-manager"
});
return
;
}
let
formName
=
"formComponent"
;
...
...
@@ -1468,7 +1469,7 @@ export default {
let
req
=
{
id
:
data
.
id
,
status
:
data
.
status
,
disabled
:
data
.
disabled
,
disabled
:
data
.
disabled
};
vm
.
GET
(
"portal/scope/v1/administrative/children"
,
req
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
...
...
@@ -1788,6 +1789,17 @@ export default {
//console.log(scope);
return
scope
;
},
initOrganizationStatus
()
{
let
tableStatus
=
this
.
tableOrganization
;
tableStatus
.
forEach
(
row
=>
{
//console.log("row", row);
if
(
row
.
status
==
0
)
{
this
.
$nextTick
(
function
()
{
this
.
$refs
.
multipleOrganization
.
toggleRowSelection
(
row
);
});
}
});
},
//查询机构列表
getOrganization
()
{
let
req
=
{
...
...
@@ -1816,6 +1828,8 @@ export default {
this
.
changedOrganization
[
this
.
formOrganization
.
pageNum
]
!=
undefined
)
{
//table的status
//机构table 勾选被更新过
let
rowCheck
=
this
.
changedOrganization
[
this
.
formOrganization
.
pageNum
...
...
@@ -1835,6 +1849,8 @@ export default {
});
}
else
{
this
.
$refs
.
multipleOrganization
.
toggleAllSelection
();
//table的status
this
.
initOrganizationStatus
();
}
}
else
{
//全不选
...
...
@@ -1843,6 +1859,7 @@ export default {
this
.
changedOrganization
[
this
.
formOrganization
.
pageNum
]
!=
undefined
)
{
let
rowCheck
=
this
.
changedOrganization
[
this
.
formOrganization
.
pageNum
][
0
];
...
...
@@ -1859,6 +1876,8 @@ export default {
this
.
$refs
.
multipleOrganization
.
toggleRowSelection
(
rowItem
);
});
});
}
else
{
this
.
initOrganizationStatus
();
}
}
}
...
...
@@ -2020,13 +2039,14 @@ export default {
}
});
},
//设定人员中科室列表
getDepartmentList
()
{
let
list
=
[];
for
(
let
i
=
0
;
i
<
this
.
tableDepartment
.
length
;
i
++
)
{
if
(
this
.
tableDepartment
[
i
].
status
==
1
)
{
for
(
let
i
=
0
;
i
<
this
.
tableDepartment
.
length
;
i
++
)
{
if
(
this
.
tableDepartment
[
i
].
status
==
1
)
{
let
obj
=
{
id
:
this
.
tableDepartment
[
i
].
id
,
label
:
this
.
tableDepartment
[
i
].
name
,
label
:
this
.
tableDepartment
[
i
].
name
};
list
.
push
(
obj
);
}
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录