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

CME项目中 编辑页选择情况

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