Pārlūkot izejas kodu

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

hhl123456789 2 gadus atpakaļ
vecāks
revīzija
353bbeecdc

+ 2
- 2
src/views/caseManagement/components/caseentryDialog.vue Parādīt failu

@@ -851,9 +851,9 @@ export default {
851 851
       return window.location.origin + "/API/evidence/upload";
852 852
     },
853 853
     handlePreview(file) {
854
-      if (file.certificatePath) {
854
+      if (file && file.response.data.annexName) {
855 855
         window.open(
856
-          window.location.origin + "/API" + file.certificatePath,
856
+          window.location.origin + "/API" + file.response.data.annexName,
857 857
           "_blank"
858 858
         );
859 859
       } else {

+ 3
- 2
src/views/caseManagement/components/payDialog.vue Parādīt failu

@@ -71,9 +71,10 @@ export default {
71 71
     selectCaseApplicationConfirmFn(parms) {
72 72
       selectCaseApplicationConfirm(parms).then(res => {
73 73
         console.log(res, this.form, "KKKKKKKKKKKKKKKKKKKK");
74
-        if(res.data.paymentStatus == 1){
74
+        if(res && res.data && res.data.paymentStatus == 1){
75 75
           clearInterval(this.timer);
76
-          this.openPay = false;
76
+          // this.openPay = false;
77
+          this.payCancel()
77 78
           this.$message({
78 79
           message: "缴费成功",
79 80
           type: "success",

+ 1
- 1
src/views/paymentManagement/components/paymentdetailsDialog.vue Parādīt failu

@@ -64,7 +64,7 @@ export default {
64 64
     };
65 65
   },
66 66
   watch: {
67
-    openDialog: {
67
+    detailform: {
68 68
       handler(val) {
69 69
         if (val) {
70 70
           setTimeout(() => {