提交 3c7a3401 编写于 作者: zhentian.jia's avatar zhentian.jia

CME项目中 编辑页选择情况

上级 9e7230e9
......@@ -301,13 +301,13 @@
<el-radio-group
size="small"
v-model="formData.scopeType"
:disabled="showScopeType()"
:disabled="showScopeTypeCME()"
>
<el-radio :label="0">使用地区范围</el-radio>
<el-radio :label="1">使用小生态范围</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="人员权限设定">
<el-form-item label="人员权限设定" v-show="projectType != 2">
<el-radio-group
size="small"
v-model="formData.authorityType"
......@@ -1562,6 +1562,7 @@ export default {
//CME情况下
this.rules = this.rules2;
this.formData.learnableFlag = 1;
this.formData.allowLearn = 1;
}
this.changeOnStep(this.active);
this.getComponentInfo();
......@@ -3371,6 +3372,14 @@ export default {
}
return true;
},
showScopeTypeCME() {
if(this.projectStatus == '' || this.projectStatus == 1) {
if(this.peopleLevel != 'L3' && this.projectType != 2) {
return false;
}
}
return true;
},
//判断通知展示问题
showNoticeType() {
if(this.projectStatus == '' || this.projectStatus == 1 || this.projectStatus == 2) {
......@@ -3394,6 +3403,9 @@ export default {
if(this.peopleLevel == 'L3' || this.peopleLevel == 'L0') {
return true;
}
if(this.projectType == 2) {
return true;
}
return false;
},
//选择小生态
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册