提交 cbbba2a5 编写于 作者: huangwensu's avatar huangwensu

添加模块状态

上级 1e882b25
...@@ -373,6 +373,7 @@ export default { ...@@ -373,6 +373,7 @@ export default {
componentStatus: '', componentStatus: '',
resultFlag: '', resultFlag: '',
conditionSelect: false, conditionSelect: false,
newconditionSelect: false,
conditionAnd: true, conditionAnd: true,
isStorage: false, isStorage: false,
dialogTitle: '选择模板', dialogTitle: '选择模板',
...@@ -470,9 +471,9 @@ export default { ...@@ -470,9 +471,9 @@ export default {
vm.resultFlag = vm.$route.query.resultFlag // 判断可编辑范围是基础信息还是全部信息 1 为全部 2 为基础 vm.resultFlag = vm.$route.query.resultFlag // 判断可编辑范围是基础信息还是全部信息 1 为全部 2 为基础
vm.getCertificateList() // 获取证书列表 vm.getCertificateList() // 获取证书列表
vm.componentBasicInfo() // 根据ID查询组件基本信息 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.resultFlag == 2 || vm.componentStatus == 4
vm.conditionSelect = vm.componentStatus == 4 vm.newconditionSelect = vm.componentStatus == 4
if(vm.componentStatus && vm.resultFlag) { if(vm.componentStatus && vm.resultFlag) {
vm.conditionAnd = vm.resultFlag == 1 && vm.componentStatus != 3 && vm.componentStatus != 4 vm.conditionAnd = vm.resultFlag == 1 && vm.componentStatus != 3 && vm.componentStatus != 4
} }
...@@ -752,7 +753,7 @@ export default { ...@@ -752,7 +753,7 @@ export default {
}, },
fieldDisabled(item){ fieldDisabled(item){
// return vm.conditionSelect || item.moduleType == 2 || (item.id != '' && item.openFlag == 2) || vm.idType == 2 || item.statusFlag // 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.newconditionSelect || item.moduleType == 2 || vm.idType == 2 || item.statusFlag
}, },
// 选择是否启用状态 // 选择是否启用状态
selectIsOpenStatus(index) { selectIsOpenStatus(index) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册