|
@@ -267,7 +267,6 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
<div slot="footer" class="dialog-footer">
|
|
|
-
|
|
|
|
|
<el-button type="primary" @click="onSubmit">确定</el-button>
|
|
<el-button type="primary" @click="onSubmit">确定</el-button>
|
|
|
<el-button @click="onHide">取消</el-button>
|
|
<el-button @click="onHide">取消</el-button>
|
|
|
</div>
|
|
</div>
|
|
@@ -316,7 +315,7 @@ export default {
|
|
|
execOrgType: null,
|
|
execOrgType: null,
|
|
|
roleNames: null,
|
|
roleNames: null,
|
|
|
planExec: null,
|
|
planExec: null,
|
|
|
- defbuildTaskNow:false,
|
|
|
|
|
|
|
+ defbuildTaskNow: false,
|
|
|
count: 0,
|
|
count: 0,
|
|
|
description: null,
|
|
description: null,
|
|
|
propItem: "",
|
|
propItem: "",
|
|
@@ -432,6 +431,10 @@ export default {
|
|
|
this.selectedRows = [];
|
|
this.selectedRows = [];
|
|
|
},
|
|
},
|
|
|
changeBuildTime() {
|
|
changeBuildTime() {
|
|
|
|
|
+ if(this.formData.planCycle==null){
|
|
|
|
|
+ this.buildTime=null;
|
|
|
|
|
+ return;
|
|
|
|
|
+ }
|
|
|
// console.log(this.formData.planCycle, "this.formData.planCycle");
|
|
// console.log(this.formData.planCycle, "this.formData.planCycle");
|
|
|
const dateObj = new Date(); // 获取当前时间对象
|
|
const dateObj = new Date(); // 获取当前时间对象
|
|
|
switch (this.formData.planCycle) {
|
|
switch (this.formData.planCycle) {
|
|
@@ -621,6 +624,21 @@ export default {
|
|
|
//履职内容
|
|
//履职内容
|
|
|
this.tableData = null;
|
|
this.tableData = null;
|
|
|
break;
|
|
break;
|
|
|
|
|
+ case "8": //其它
|
|
|
|
|
+ //周期
|
|
|
|
|
+ this.formData.planCycle = null;
|
|
|
|
|
+ //机构类型
|
|
|
|
|
+ this.formData.execOrgType = null;
|
|
|
|
|
+ this.resumptionRoles = [];
|
|
|
|
|
+ //角色
|
|
|
|
|
+ this.formData.roleList = [];
|
|
|
|
|
+ //履职时间
|
|
|
|
|
+ this.formData.planExec = null;
|
|
|
|
|
+ //履职次数
|
|
|
|
|
+ this.formData.count = 1;
|
|
|
|
|
+ //履职内容
|
|
|
|
|
+ this.tableData = null;
|
|
|
|
|
+ this.$refs["form"].resetFields();
|
|
|
}
|
|
}
|
|
|
this.changeBuildTime();
|
|
this.changeBuildTime();
|
|
|
},
|
|
},
|
|
@@ -733,7 +751,7 @@ export default {
|
|
|
// console.log(id);
|
|
// console.log(id);
|
|
|
if (id !== undefined) {
|
|
if (id !== undefined) {
|
|
|
await api.get(id).then((res) => {
|
|
await api.get(id).then((res) => {
|
|
|
- this.defbuildTaskNow=res.data.buildTaskNow> 0 ? true : false;;
|
|
|
|
|
|
|
+ this.defbuildTaskNow = res.data.buildTaskNow > 0 ? true : false;
|
|
|
this.tempBuildTaskNow = res.data.buildTaskNow > 0 ? true : false;
|
|
this.tempBuildTaskNow = res.data.buildTaskNow > 0 ? true : false;
|
|
|
this.parentCount = res.data.parentCount;
|
|
this.parentCount = res.data.parentCount;
|
|
|
// console.log(res, "res");
|
|
// console.log(res, "res");
|