|
@@ -229,8 +229,14 @@ export default {
|
|
this.dialog.loading = true;
|
|
this.dialog.loading = true;
|
|
const formData = Object.assign({}, this.dialog.form);
|
|
const formData = Object.assign({}, this.dialog.form);
|
|
formData.examine = examine;
|
|
formData.examine = examine;
|
|
- formData.examineOption = this.dialog.form.examineOption || "通过";
|
|
|
|
- formData.fOption = this.dialog.form.fOption || "通过";
|
|
|
|
|
|
+ if (examine == 2 && checkRole(['centerAdjunct'])) {
|
|
|
|
+ formData.examineOption = this.dialog.form.examineOption || "通过";
|
|
|
|
+ }
|
|
|
|
+ if (examine == 3 && checkRole(['commander'])) {
|
|
|
|
+ formData.fOption = this.dialog.form.fOption || "通过";
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
updateContract(formData)
|
|
updateContract(formData)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
this.$message.success("通过成功");
|
|
this.$message.success("通过成功");
|