|
|
@@ -430,8 +430,8 @@ export default {
|
|
|
return row.belongOrgId == this.$store.getters.orgId
|
|
|
},
|
|
|
checkCanDel(row) {
|
|
|
- // 计划所属机构=当前登陆人机构 && 创建机构为省联社 && 不是被下发的 && 计划下不存在已有执行任务的情况
|
|
|
- return row.belongOrgId == this.$store.getters.orgId && row.createByTopOrg != 1 && row.issue == 0 && row.done != 1
|
|
|
+ // 计划所属机构=当前登陆人机构 && 创建机构为省联社 && 不是被下发的 && 计划下不存在已有执行任务的情况
|
|
|
+ return row.belongOrgId == this.$store.getters.orgId && row.issue != 1 && row.done != 1
|
|
|
},
|
|
|
//省联社下发的计划不显示“删除”按钮
|
|
|
checkCreateByTopOrg(row) {
|
|
|
@@ -453,7 +453,7 @@ export default {
|
|
|
//console.log("xxx")
|
|
|
this.open = false;
|
|
|
this.reset();
|
|
|
- this.$refs['orgTreeSelect'].clear();
|
|
|
+ this.$refs['orgTreeSelect'].clear();
|
|
|
this.$refs["upload"].clearFiles();
|
|
|
},
|
|
|
// 表单重置
|