'文件上传后预览,案件缴费成功页面弹框关闭'

This commit is contained in:
hhl123456789
2023-09-30 18:12:56 +08:00
parent 8bbd1c6c1a
commit 353bbeecdc
3 changed files with 6 additions and 5 deletions
@@ -851,9 +851,9 @@ export default {
return window.location.origin + "/API/evidence/upload";
},
handlePreview(file) {
if (file.certificatePath) {
if (file && file.response.data.annexName) {
window.open(
window.location.origin + "/API" + file.certificatePath,
window.location.origin + "/API" + file.response.data.annexName,
"_blank"
);
} else {
@@ -71,9 +71,10 @@ export default {
selectCaseApplicationConfirmFn(parms) {
selectCaseApplicationConfirm(parms).then(res => {
console.log(res, this.form, "KKKKKKKKKKKKKKKKKKKK");
if(res.data.paymentStatus == 1){
if(res && res.data && res.data.paymentStatus == 1){
clearInterval(this.timer);
this.openPay = false;
// this.openPay = false;
this.payCancel()
this.$message({
message: "缴费成功",
type: "success",
@@ -64,7 +64,7 @@ export default {
};
},
watch: {
openDialog: {
detailform: {
handler(val) {
if (val) {
setTimeout(() => {