|
|
@@ -465,7 +465,7 @@ export default {
|
|
|
},
|
|
|
NowBuild() {
|
|
|
//如果新增或者是草稿状态的立即生效的编辑
|
|
|
- if ((this.id==null||this.id==undefined)||(this.defbuildTaskNow &&this.formData.planStatus==0)) return true;
|
|
|
+ if ((this.formData.planCycle!=6)&&((this.id==null||this.id==undefined)||(this.defbuildTaskNow &&this.formData.planStatus==0))) return true;
|
|
|
else return false;
|
|
|
},
|
|
|
getLabel(options, value) {
|
|
|
@@ -672,6 +672,9 @@ export default {
|
|
|
this.formData.roleIds =
|
|
|
this.selectedValues.length == 0 ? null : this.selectedValues;
|
|
|
this.loading = true;
|
|
|
+ if(this.formData.planCycle==6){
|
|
|
+ this.formData.buildTaskNow = true;
|
|
|
+ }
|
|
|
await api.add(this.formData).then(data=>{
|
|
|
this.loading = false;
|
|
|
this.$emit("success");
|