|
@@ -343,11 +343,11 @@
|
|
|
>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
- <div class="dialog-footer">
|
|
|
- <el-button @click="dialogAuditFormVisible = false">取 消</el-button>
|
|
|
+ <div class="dialog-footer margin-top-10 text-center">
|
|
|
<el-button type="primary" @click="doRedoAuditNoPass"
|
|
|
- >确 定</el-button
|
|
|
- >
|
|
|
+ >确 定
|
|
|
+ </el-button>
|
|
|
+ <el-button @click="dialogAuditFormVisible = false">取 消</el-button>
|
|
|
</div>
|
|
|
</el-form>
|
|
|
</el-dialog>
|
|
@@ -548,6 +548,17 @@ export default {
|
|
|
type: "success"
|
|
|
});
|
|
|
this.search();
|
|
|
+ })
|
|
|
+ .catch(res => {
|
|
|
+ var errorMsg = "操作失败";
|
|
|
+ if (res.response && res.response.data) {
|
|
|
+ errorMsg = res.response.data.desc;
|
|
|
+ }
|
|
|
+ this.$notify({
|
|
|
+ title: "提示",
|
|
|
+ message: errorMsg,
|
|
|
+ type: "error"
|
|
|
+ });
|
|
|
});
|
|
|
}
|
|
|
},
|
|
@@ -576,6 +587,17 @@ export default {
|
|
|
};
|
|
|
this.dialogAuditFormVisible = false;
|
|
|
this.search();
|
|
|
+ })
|
|
|
+ .catch(res => {
|
|
|
+ var errorMsg = "操作失败";
|
|
|
+ if (res.response && res.response.data) {
|
|
|
+ errorMsg = res.response.data.desc;
|
|
|
+ }
|
|
|
+ this.$notify({
|
|
|
+ title: "提示",
|
|
|
+ message: errorMsg,
|
|
|
+ type: "error"
|
|
|
+ });
|
|
|
});
|
|
|
} else {
|
|
|
return false;
|