|
|
@@ -167,7 +167,7 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
- <el-col :span="12" v-show="form.planCycle != 0&&form.issue == 0">
|
|
|
+ <el-col :span="12" v-show="showBuildTaskNow()">
|
|
|
<el-form-item label="立即生效" prop="buildTaskNow">
|
|
|
<!-- <el-checkbox v-model="form.buildTaskNow">
|
|
|
默认从下个周期...
|
|
|
@@ -431,6 +431,13 @@ export default {
|
|
|
// this.initRoleList(this.form.execOrgType);
|
|
|
// this.form.planExecOrgIdList = [];
|
|
|
},
|
|
|
+ showBuildTaskNow(){
|
|
|
+ if (!this.form.id){
|
|
|
+ return this.form.planCycle != 0
|
|
|
+ }else {
|
|
|
+ return this.form.planCycle != 0&&this.form.issue == 0
|
|
|
+ }
|
|
|
+ },
|
|
|
/** 查询机构树数据 */
|
|
|
getDeptTree() {
|
|
|
deptTreeSelect().then(response => {
|