|
|
@@ -447,7 +447,7 @@
|
|
|
<el-row>
|
|
|
<el-col :span="24">
|
|
|
<el-form-item label="备注" prop="remark">
|
|
|
- <el-input v-model="form.remark" placeholder="请输入备注" :disabled="tableDisable()"/>
|
|
|
+ <el-input v-model="form.remark" placeholder="请输入备注" :disabled="tableDisable()"/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -668,7 +668,7 @@ export default {
|
|
|
},
|
|
|
//所属机构为当前用户登录机构时才显示 “编辑、删除”按钮
|
|
|
checkCanEdit(row) {
|
|
|
- console.log("checkCanEdit",this.$store.getters.orgId,row.belongOrgId)
|
|
|
+ console.log("checkCanEdit", this.$store.getters.orgId, row.belongOrgId)
|
|
|
return (
|
|
|
row.belongOrgId == this.$store.getters.orgId
|
|
|
);
|
|
|
@@ -918,7 +918,7 @@ export default {
|
|
|
})
|
|
|
.then(() => {
|
|
|
publishPlan(row.id, 1);
|
|
|
- this.delayFlush(1000);
|
|
|
+ this.delayFlush(200);
|
|
|
});
|
|
|
} else {
|
|
|
if (row.planStatus == 0) {
|
|
|
@@ -928,7 +928,7 @@ export default {
|
|
|
(state) => {
|
|
|
if (state == 0 || state == 1) {
|
|
|
publishPlan(row.id, state);
|
|
|
- this.delayFlush(1000);
|
|
|
+ this.delayFlush(200);
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -945,7 +945,7 @@ export default {
|
|
|
})
|
|
|
.then(() => {
|
|
|
publishPlan(row.id, 0);
|
|
|
- this.delayFlush(1000);
|
|
|
+ this.delayFlush(200);
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
@@ -959,8 +959,8 @@ export default {
|
|
|
if (row.planCycle == 0) {
|
|
|
if (row.done == 1) {
|
|
|
msg = '因存在已完成任务,无周期任务不允许撤回,如需删除下发任务请点击"删除"';
|
|
|
- this.$alert(msg,'系统提示',{
|
|
|
- confirmButtonText:"确认"
|
|
|
+ this.$alert(msg, '系统提示', {
|
|
|
+ confirmButtonText: "确认"
|
|
|
})
|
|
|
return
|
|
|
} else {
|
|
|
@@ -998,8 +998,8 @@ export default {
|
|
|
`plan_${new Date().getTime()}.xlsx`
|
|
|
);
|
|
|
},
|
|
|
- tableDisable(){
|
|
|
- return this.form.planStatus==1;
|
|
|
+ tableDisable() {
|
|
|
+ return this.form.planStatus == 1;
|
|
|
},
|
|
|
// showSelectFile() {
|
|
|
// this.$refs["DialogSelectFile"].show();
|