|
@@ -659,22 +659,25 @@ export default {
|
|
},
|
|
},
|
|
handleApprove(type) {
|
|
handleApprove(type) {
|
|
if (type === "取消") {
|
|
if (type === "取消") {
|
|
- this.dialogStatus = false;
|
|
|
|
- this.disableStatus = false;
|
|
|
|
- this.only = false;
|
|
|
|
- this.number++;
|
|
|
|
- this.infolist = {};
|
|
|
|
|
|
+ // this.dialogStatus = false;
|
|
|
|
+ // this.disableStatus = false;
|
|
|
|
+ // this.only = false;
|
|
|
|
+ // this.number++;
|
|
|
|
+ // this.infolist = {};
|
|
|
|
+ this.closedia();
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
this.$refs.infolist.validate((val) => {
|
|
this.$refs.infolist.validate((val) => {
|
|
if (val) {
|
|
if (val) {
|
|
switch (type) {
|
|
switch (type) {
|
|
case "送部门人员审核":
|
|
case "送部门人员审核":
|
|
|
|
+ this.operateName = "送部门人员审核";
|
|
this.checkexa = true;
|
|
this.checkexa = true;
|
|
this.type = "0";
|
|
this.type = "0";
|
|
console.log("送部门人员审核");
|
|
console.log("送部门人员审核");
|
|
break;
|
|
break;
|
|
case "送领导审核":
|
|
case "送领导审核":
|
|
|
|
+ this.operateName = "送领导审核";
|
|
this.type = "1";
|
|
this.type = "1";
|
|
this.checkLaeder = true;
|
|
this.checkLaeder = true;
|
|
console.log("送领导审核");
|
|
console.log("送领导审核");
|
|
@@ -759,6 +762,7 @@ export default {
|
|
this.$message.success("操作成功");
|
|
this.$message.success("操作成功");
|
|
this.dialogStatus = false;
|
|
this.dialogStatus = false;
|
|
this.handleInit();
|
|
this.handleInit();
|
|
|
|
+ this.closedia();
|
|
} else {
|
|
} else {
|
|
this.$message.error("操作失败");
|
|
this.$message.error("操作失败");
|
|
}
|
|
}
|
|
@@ -805,6 +809,7 @@ export default {
|
|
this.checkexa = false;
|
|
this.checkexa = false;
|
|
this.dialogStatus = false;
|
|
this.dialogStatus = false;
|
|
this.handleInit();
|
|
this.handleInit();
|
|
|
|
+ this.closedia();
|
|
} else {
|
|
} else {
|
|
this.$message.error("操作失败");
|
|
this.$message.error("操作失败");
|
|
}
|
|
}
|
|
@@ -842,6 +847,7 @@ export default {
|
|
this.checkexa = false;
|
|
this.checkexa = false;
|
|
this.dialogStatus = false;
|
|
this.dialogStatus = false;
|
|
this.handleInit();
|
|
this.handleInit();
|
|
|
|
+ this.closedia();
|
|
} else {
|
|
} else {
|
|
this.$message.error("操作失败");
|
|
this.$message.error("操作失败");
|
|
}
|
|
}
|
|
@@ -879,6 +885,7 @@ export default {
|
|
this.checkexa = false;
|
|
this.checkexa = false;
|
|
this.dialogStatus = false;
|
|
this.dialogStatus = false;
|
|
this.handleInit();
|
|
this.handleInit();
|
|
|
|
+ this.closedia();
|
|
} else {
|
|
} else {
|
|
this.$message.error("操作失败");
|
|
this.$message.error("操作失败");
|
|
}
|
|
}
|
|
@@ -902,6 +909,7 @@ export default {
|
|
this.$message.success("操作成功");
|
|
this.$message.success("操作成功");
|
|
this.dialogStatus = false;
|
|
this.dialogStatus = false;
|
|
this.handleInit();
|
|
this.handleInit();
|
|
|
|
+ this.closedia();
|
|
} else {
|
|
} else {
|
|
this.$message.error("操作失败");
|
|
this.$message.error("操作失败");
|
|
}
|
|
}
|
|
@@ -1011,12 +1019,7 @@ export default {
|
|
type: "success",
|
|
type: "success",
|
|
message: data.desc,
|
|
message: data.desc,
|
|
});
|
|
});
|
|
- this.dialogStatus = false;
|
|
|
|
- this.disableStatus = false;
|
|
|
|
- this.checkexa = false;
|
|
|
|
- this.checkLaeder = false;
|
|
|
|
- this.leader = "";
|
|
|
|
- this.infolist = {};
|
|
|
|
|
|
+ this.closedia();
|
|
this.handleInit();
|
|
this.handleInit();
|
|
}
|
|
}
|
|
});
|
|
});
|
|
@@ -1037,8 +1040,8 @@ export default {
|
|
console.log(desc);
|
|
console.log(desc);
|
|
if (desc === "操作成功") {
|
|
if (desc === "操作成功") {
|
|
this.$message.success("操作成功");
|
|
this.$message.success("操作成功");
|
|
- this.dialogStatus = false;
|
|
|
|
this.handleInit();
|
|
this.handleInit();
|
|
|
|
+ this.closedia();
|
|
} else {
|
|
} else {
|
|
this.$message.error("操作失败");
|
|
this.$message.error("操作失败");
|
|
}
|
|
}
|
|
@@ -1057,8 +1060,8 @@ export default {
|
|
console.log(desc);
|
|
console.log(desc);
|
|
if (desc === "操作成功") {
|
|
if (desc === "操作成功") {
|
|
this.$message.success("操作成功");
|
|
this.$message.success("操作成功");
|
|
- this.dialogStatus = false;
|
|
|
|
this.handleInit();
|
|
this.handleInit();
|
|
|
|
+ this.closedia();
|
|
} else {
|
|
} else {
|
|
this.$message.error("操作失败");
|
|
this.$message.error("操作失败");
|
|
}
|
|
}
|
|
@@ -1230,11 +1233,14 @@ export default {
|
|
this.attList = [];
|
|
this.attList = [];
|
|
this.file = [];
|
|
this.file = [];
|
|
// 审核人
|
|
// 审核人
|
|
- (this.treeList = []),
|
|
|
|
- // 时间
|
|
|
|
- (this.busiTime = []);
|
|
|
|
|
|
+ this.treeList = [];
|
|
|
|
+ // 时间
|
|
|
|
+ this.busiTime = [];
|
|
|
|
+ // 领导人
|
|
|
|
+ this.checkLaeder = false;
|
|
// 审核领导
|
|
// 审核领导
|
|
this.leader = "";
|
|
this.leader = "";
|
|
|
|
+ this.remark = "";
|
|
// 审批状态的图片
|
|
// 审批状态的图片
|
|
delete this.datalist.attList;
|
|
delete this.datalist.attList;
|
|
this.fileInfo.fileList = [];
|
|
this.fileInfo.fileList = [];
|