流程相关-分公司项目部新增

This commit is contained in:
lSun 2024-10-18 18:00:16 +08:00
parent d076527992
commit 9000dbf92e
5 changed files with 18 additions and 8 deletions

View File

@ -36,7 +36,7 @@ $base-sub-menu-background:#000c17;
$base-sub-menu-hover:#001528; $base-sub-menu-hover:#001528;
*/ */
$base-sidebar-width: 200px; $base-sidebar-width: 300px;
// the :export directive is the magic sauce for webpack // the :export directive is the magic sauce for webpack
// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass // https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass

View File

@ -637,7 +637,11 @@ export default {
this.$modal.confirm('是否确认审核此数据项?').then(function () { this.$modal.confirm('是否确认审核此数据项?').then(function () {
return changeStatus(ids, reviewerStatus); return changeStatus(ids, reviewerStatus);
}).then(() => { }).then(() => {
this.$modal.msgSuccess("审核成功"); if(reviewerStatus=="1"){
this.$modal.msgSuccess("审核成功");
}else if(reviewerStatus=="2"){
this.$modal.msgSuccess("驳回成功");
}
this.open = false; this.open = false;
this.getList(); this.getList();
}).catch(() => { }).catch(() => {

View File

@ -260,9 +260,8 @@ export default {
this.getStaffTreeselect(row); this.getStaffTreeselect(row);
this.multipleJudge(row); this.multipleJudge(row);
this.open = true;
this.title = "分配人员"; this.title = "分配人员";
this.open = true;
}, },
/** 人员变更按钮操作 */ /** 人员变更按钮操作 */
@ -284,6 +283,7 @@ export default {
}else { }else {
this.form.checkList=this.form.userId; this.form.checkList=this.form.userId;
} }
this.title = "人员变更";
this.open = true; this.open = true;
}, },
@ -365,7 +365,8 @@ export default {
this.form.userId = this.form.checkList; this.form.userId = this.form.checkList;
} }
proDeptRole(this.form).then(response => { proDeptRole(this.form).then(response => {
this.$modal.msgSuccess("修改成功"); console.log("aas=",this.title);
this.$modal.msgSuccess(this.title+"成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}); });

View File

@ -203,7 +203,7 @@
this.form = response.data; this.form = response.data;
}) })
this.open = true; this.open = true;
this.title = "项目部角色配置"; this.title = "项目部角色审核";
}, },
/** /**
@ -227,7 +227,12 @@
this.$refs["form"].validate(valid => { this.$refs["form"].validate(valid => {
if (valid) { if (valid) {
userDistributionCheck(this.form).then(response => { userDistributionCheck(this.form).then(response => {
this.$modal.msgSuccess("修改成功"); if(this.form.reviewerStatus=="1"){
this.$modal.msgSuccess("审核成功");
}else if(this.form.reviewerStatus=="2"){
this.$modal.msgSuccess("驳回成功");
}
this.open = false; this.open = false;
this.getList(); this.getList();
}); });

View File

@ -296,7 +296,7 @@ export default {
this.form.userId = this.form.checkList; this.form.userId = this.form.checkList;
} }
proDeptRole(this.form).then(response => { proDeptRole(this.form).then(response => {
this.$modal.msgSuccess("修改成功"); this.$modal.msgSuccess("分配人员成功");
this.open = false; this.open = false;
this.getList(); this.getList();
}); });