Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
9f400f81
提交
9f400f81
编写于
3月 29, 2019
作者:
zhentian.jia
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
外部问题
上级
5daf36ad
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
10 行增加
和
5 行删除
+10
-5
operation.js
src/utils/operation.js
+2
-1
add-manager.vue
src/views/education/add-manager.vue
+8
-4
未找到文件。
src/utils/operation.js
浏览文件 @
9f400f81
...
@@ -36,7 +36,8 @@ export function getIdList(data) {
...
@@ -36,7 +36,8 @@ export function getIdList(data) {
//区域
//区域
export
function
getDivision
(
data
)
{
export
function
getDivision
(
data
)
{
if
(
data
===
null
)
{
if
(
data
===
null
)
{
return
let
empty
=
[];
return
empty
;
}
}
let
list
=
data
.
split
(
'|'
);
let
list
=
data
.
split
(
'|'
);
let
num
=
[];
let
num
=
[];
...
...
src/views/education/add-manager.vue
浏览文件 @
9f400f81
...
@@ -656,6 +656,8 @@ export default {
...
@@ -656,6 +656,8 @@ export default {
lookedPerson
:
[],
lookedPerson
:
[],
changedPerson
:
[],
changedPerson
:
[],
changedPerson2
:
[],
changedPerson2
:
[],
//dialog
dialogShow
:
false
,
//记录上次
//记录上次
scopeOfOrganizationLast
:
[],
scopeOfOrganizationLast
:
[],
scopeOfPeopleLast
:
[],
scopeOfPeopleLast
:
[],
...
@@ -2044,6 +2046,7 @@ export default {
...
@@ -2044,6 +2046,7 @@ export default {
scope
+=
unionScope
[
i
]
+
"|"
;
scope
+=
unionScope
[
i
]
+
"|"
;
}
}
}
else
if
(
type
==
3
)
{
}
else
if
(
type
==
3
)
{
console
.
log
(
this
.
scopeOfOrganizationLast
,
this
.
changedOrganization2
);
let
differenceScope
=
operationData
.
getDifference
(
this
.
scopeOfOrganizationLast
,
this
.
changedOrganization2
);
let
differenceScope
=
operationData
.
getDifference
(
this
.
scopeOfOrganizationLast
,
this
.
changedOrganization2
);
let
unionScope
=
operationData
.
getUnion
(
this
.
changedOrganization
,
differenceScope
);
let
unionScope
=
operationData
.
getUnion
(
this
.
changedOrganization
,
differenceScope
);
for
(
let
i
=
0
;
i
<
unionScope
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
unionScope
.
length
;
i
++
)
{
...
@@ -2290,16 +2293,17 @@ export default {
...
@@ -2290,16 +2293,17 @@ export default {
this
.
hasOrganizationInit
=
true
;
this
.
hasOrganizationInit
=
true
;
},
},
//scope的不同status操作
//scope的不同status操作
scopeStatus
(
status
)
{
scopeStatus
(
data
)
{
console
.
log
(
status
);
console
.
log
(
data
);
let
status
=
data
;
if
(
status
===
1
)
{
if
(
status
===
1
)
{
vm
.
$message
({
vm
.
$message
({
type
:
"info"
,
type
:
"info"
,
message
:
res
.
message
message
:
"您已被上级管理员移除项目,暂无权限操作"
,
});
});
this
.
$router
.
push
(
"item-manager"
);
this
.
$router
.
push
(
"item-manager"
);
}
else
if
(
status
===
2
)
{
}
else
if
(
status
===
2
)
{
}
}
},
},
//选择项目组件
//选择项目组件
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录