Jelajahi Sumber

融资签署按钮功能修复

dudm 4 tahun lalu
induk
melakukan
8d901b564c

+ 2 - 3
front-vue/src/views/service/credit/goFinance.vue

@@ -323,9 +323,8 @@
     <!-- 合同预览 -->
     <el-dialog title="预览" :visible.sync="pdfShowDialog" width="60%">
       <pdf-show :pdfFileList="pdfFileList" :zfiId="this.form.zfiId" :parent="parent"></pdf-show>
-      <el-button type="success" @click="cancelFtp">作废</el-button>
-      <el-button type="primary" @click="selectType">盖章</el-button>
-      <el-button type="primary" plain="" @click="cancel">取消</el-button>
+      <el-button type="primary" @click="selectType">签署</el-button>
+      <el-button type="primary" plain="" @click="pdfShowDialog = false">取消</el-button>
     </el-dialog>
     
     <!--选择签署意愿类型-->

+ 4 - 5
front-vue/src/views/service/financeRecord/addFinanceRecord.vue

@@ -274,9 +274,8 @@
     <!-- 合同预览 -->
     <el-dialog title="预览" :visible.sync="pdfShowDialog" width="60%">
       <pdf-show :pdfFileList="pdfFileList" :zfiId="this.form.zfiId" :parent="parent"></pdf-show>
-      <el-button type="success" @click="cancelFtp">作废</el-button>
-      <el-button type="primary" @click="selectType">盖章</el-button>
-      <el-button type="primary" plain="" @click="cancel">取消</el-button>
+      <el-button type="primary" @click="selectType">签署</el-button>
+      <el-button type="primary" plain="" @click="pdfShowDialog = false">取消</el-button>
     </el-dialog>
     
     <!--选择签署意愿类型-->
@@ -589,8 +588,8 @@ export default {
         },
         // 取消按钮
         cancel() {
-            this.open = false;
-            this.reset();
+            this.$store.dispatch("tagsView/delView", this.$route);
+            this.$router.go(-1);
         },
         // 表单重置
         reset() {

+ 3 - 4
front-vue/src/views/service/financeRecord/recordSeal.vue

@@ -276,9 +276,8 @@
     <!-- 合同预览 -->
     <el-dialog title="合同预览" :visible.sync="pdfShowDialog" width="60%">
       <pdf-show :pdfFileList="pdfFileList" :zfiId="this.form.zfiId" :parent="parent"></pdf-show>
-      <el-button type="success" @click="cancelFtp">作废</el-button>
       <el-button type="primary" @click="selectType">签署</el-button>
-      <el-button type="primary" plain="" @click="cancel">取消</el-button>
+      <el-button type="primary" plain="" @click="pdfShowDialog = false">取消</el-button>
     </el-dialog>
     
     <!--选择签署意愿类型-->
@@ -606,8 +605,8 @@ export default {
         },
         // 取消按钮
         cancel() {
-            this.open = false;
-            this.reset();
+            this.$store.dispatch("tagsView/delView", this.$route);
+            this.$router.go(-1);
         },
         // 表单重置
         reset() {