Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
cbbba2a5
提交
cbbba2a5
编写于
6月 21, 2019
作者:
huangwensu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加模块状态
上级
1e882b25
变更
1
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
4 行增加
和
3 行删除
+4
-3
create-component.vue
src/views/education/create-component.vue
+4
-3
未找到文件。
src/views/education/create-component.vue
浏览文件 @
cbbba2a5
...
...
@@ -373,6 +373,7 @@ export default {
componentStatus
:
''
,
resultFlag
:
''
,
conditionSelect
:
false
,
newconditionSelect
:
false
,
conditionAnd
:
true
,
isStorage
:
false
,
dialogTitle
:
'选择模板'
,
...
...
@@ -470,9 +471,9 @@ export default {
vm
.
resultFlag
=
vm
.
$route
.
query
.
resultFlag
// 判断可编辑范围是基础信息还是全部信息 1 为全部 2 为基础
vm
.
getCertificateList
()
// 获取证书列表
vm
.
componentBasicInfo
()
// 根据ID查询组件基本信息
//
vm.conditionSelect = vm.resultFlag == 2 || vm.componentStatus == 3 || vm.componentStatus == 4
vm
.
conditionSelect
=
vm
.
resultFlag
==
2
||
vm
.
componentStatus
==
3
||
vm
.
componentStatus
==
4
// vm.conditionSelect = vm.resultFlag == 2 || vm.componentStatus == 4
vm
.
conditionSelect
=
vm
.
componentStatus
==
4
vm
.
new
conditionSelect
=
vm
.
componentStatus
==
4
if
(
vm
.
componentStatus
&&
vm
.
resultFlag
)
{
vm
.
conditionAnd
=
vm
.
resultFlag
==
1
&&
vm
.
componentStatus
!=
3
&&
vm
.
componentStatus
!=
4
}
...
...
@@ -752,7 +753,7 @@ export default {
},
fieldDisabled
(
item
){
// return vm.conditionSelect || item.moduleType == 2 || (item.id != '' && item.openFlag == 2) || vm.idType == 2 || item.statusFlag
return
vm
.
conditionSelect
||
item
.
moduleType
==
2
||
vm
.
idType
==
2
||
item
.
statusFlag
return
vm
.
new
conditionSelect
||
item
.
moduleType
==
2
||
vm
.
idType
==
2
||
item
.
statusFlag
},
// 选择是否启用状态
selectIsOpenStatus
(
index
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录