Procházet zdrojové kódy

案件邮箱录入,裁决书邮箱自动获取

Your Name před 2 roky
rodič
revize
bc04975cf5

+ 9
- 1
src/api/awardManagement/awardManagement.js Zobrazit soubor

@@ -122,4 +122,12 @@ export function regenerationDocument(data) {
122 122
         method: 'post',
123 123
         data: data
124 124
     })
125
-}
125
+}
126
+// 根据案件id
127
+export function emailByCaseId(data) {
128
+    return request({
129
+        url: '/adjudication/emailByCaseId',
130
+        method: 'get',
131
+        params: data
132
+    })
133
+}

+ 7
- 7
src/views/awardManagement/components/MailawardDialog.vue Zobrazit soubor

@@ -93,20 +93,17 @@
93 93
 <script>
94 94
 import { adjudicationDelivery, adjudicationService } from "@/api/awardManagement/awardManagement";
95 95
 export default {
96
-  props: ["openMailawardDialog", "mailawardata"],
96
+  props: ["openMailawardDialog", "mailawardata", "emailobj"],
97 97
   data() {
98 98
     return {
99
-      formData: {},
99
+      formData: this.emailobj,
100 100
     };
101 101
   },
102 102
   watch: {
103
-    openMailawardDialog: {
103
+    emailobj: {
104 104
       handler(val) {
105 105
         if (val) {
106
-          this.formData = {
107
-            appEmail: "3118891075@qq.com",//申请人邮箱
108
-            resEmail: "1129801211@qq.com",//被申请人邮箱
109
-          };
106
+          this.formData = this.emailobj
110 107
         }
111 108
       },
112 109
     },
@@ -117,6 +114,9 @@ export default {
117 114
       this.$refs["form"].validate((valid) => {
118 115
         if (valid) {
119 116
           // adjudicationDelivery({
117
+            delete this.formData.id
118
+            delete this.formData.apptrackingNum
119
+            delete this.formData.restrackingNum
120 120
           adjudicationService({
121 121
             id: this.mailawardata.id,
122 122
             ...this.formData,

+ 11
- 3
src/views/awardManagement/listofAwards.vue Zobrazit soubor

@@ -94,7 +94,7 @@
94 94
             @cancelpaymentdetails="cancelpaymentdetails" @updataList="updataList"></paymentdetailsDialog>
95 95
         <!-- 送达裁决书页面 -->
96 96
         <mailawardDialog :openMailawardDialog="openMailawardDialog" @closeMailaward="closeMailaward"
97
-            @updataList="updataList" :mailawardata="mailawardata"></mailawardDialog>
97
+            @updataList="updataList" :mailawardata="mailawardata" :emailobj="emailobj"></mailawardDialog>
98 98
         <!-- 快递信息页面 -->
99 99
         <expressDeliveryDialog :showDelivery="showDelivery" :deliveryDataArr="deliveryDataArr"
100 100
             @closeDeliveryModel="closeDeliveryModel" :flagLoading="flagLoading"></expressDeliveryDialog>
@@ -114,7 +114,8 @@ import {
114 114
     adjudicationStamp,
115 115
     selectSignUrl,
116 116
     selectSealUrl,
117
-    selectSignSealUrl
117
+    selectSignSealUrl,
118
+    emailByCaseId
118 119
 } from "@/api/awardManagement/awardManagement";
119 120
 import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
120 121
 import mailawardDialog from './components/MailawardDialog.vue';
@@ -138,7 +139,7 @@ export default {
138 139
             total: 0,
139 140
             // 表格数据
140 141
             list: [],
141
-
142
+            emailobj: {},//邮箱存储
142 143
             // 弹出层标题
143 144
             title: "",
144 145
             payTitle: "",
@@ -329,12 +330,19 @@ export default {
329 330
         // 送达裁决书弹框
330 331
         showMailaward(row) {
331 332
             this.mailawardata = row;
333
+            this.emailByCaseIdFn(row.id)
332 334
             this.openMailawardDialog = true
333 335
         },
334 336
         // 关闭送达裁决书弹框
335 337
         closeMailaward(row) {
336 338
             this.openMailawardDialog = false
337 339
         },
340
+        // 根据案件id查询邮件
341
+        emailByCaseIdFn(val) {
342
+            emailByCaseId({id: val}).then((res) => {
343
+                this.emailobj = res.data
344
+            })
345
+        },
338 346
         /** 查询详情 */
339 347
         getDetail(parms) {
340 348
             caseApplicationDetail(parms).then((res) => {

+ 2
- 2
src/views/caseManagement/caseList.vue Zobrazit soubor

@@ -49,13 +49,13 @@
49 49
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="batchApplication"
50 50
           v-hasPermi="['caseManagement:list:import']">案件批量导入</el-button>
51 51
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(0)"
52
-          v-hasPermi="['caseManagement:list:submit']">案件批量提交</el-button>
52
+          v-hasPermi="['caseManagement:list:Batchsubmit']">案件批量提交</el-button>
53 53
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(1)"
54 54
           v-hasPermi="['caseManagement:list:delete']">案件批量删除</el-button>
55 55
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(2)"
56 56
           v-hasPermi="['caseManagement:list:check']">案件批量立案审查</el-button>
57 57
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(4)"
58
-          v-hasPermi="['caseManagement:list:hear']">批量生成裁决书</el-button>
58
+          v-hasPermi="['caseManagement:list:Batchgeneration']">批量生成裁决书</el-button>
59 59
       </el-col>
60 60
     </el-row>
61 61
     <el-table v-loading="loading" :data="dataList" style="width: 100%">

+ 47
- 0
src/views/caseManagement/components/caseentryDialog.vue Zobrazit soubor

@@ -190,6 +190,27 @@
190 190
                 <el-input v-model="item.contactTelphone" placeholder="请输入" />
191 191
               </el-form-item>
192 192
             </el-col>
193
+            <!-- 新增申请人邮箱 -->
194
+            <el-col :span="12">
195
+              <el-form-item label="邮箱" :prop="'paymentArr.' + index + '.email'" :rules="[
196
+                {
197
+                  required: true,
198
+                  message: '邮箱地址不能为空',
199
+                  trigger: 'blur',
200
+                },
201
+                {
202
+                  pattern:
203
+                    /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
204
+                  message: '请输入正确的邮箱地址',
205
+                  trigger: 'blur',
206
+                },
207
+              ]">
208
+              <el-input
209
+                v-model="item.email"
210
+                placeholder="请输入电子邮件"
211
+              />
212
+              </el-form-item>
213
+            </el-col>
193 214
             <el-col :span="12">
194 215
               <el-form-item label="单位地址:" :prop="'paymentArr.' + index + '.workAddress'" :rules="[
195 216
                 {
@@ -394,6 +415,26 @@
394 415
                 <el-input v-model="itm.contactTelphone" placeholder="请输入" />
395 416
               </el-form-item>
396 417
             </el-col>
418
+            <el-col :span="12">
419
+              <el-form-item label="邮箱" :prop="'paymentArr1.' + index + '.email'" :rules="[
420
+                {
421
+                  required: true,
422
+                  message: '邮箱地址不能为空',
423
+                  trigger: 'blur',
424
+                },
425
+                {
426
+                  pattern:
427
+                    /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
428
+                  message: '请输入正确的邮箱地址',
429
+                  trigger: 'blur',
430
+                },
431
+              ]">
432
+                <el-input
433
+                  v-model="itm.email"
434
+                  placeholder="请输入电子邮件"
435
+                />
436
+              </el-form-item>
437
+            </el-col>
397 438
             <el-col :span="12">
398 439
               <el-form-item label="单位地址:" :prop="'paymentArr1.' + index + '.workAddress'" :rules="[
399 440
                 {
@@ -581,6 +622,7 @@ export default {
581 622
             name: "",
582 623
             identityNum: "",
583 624
             contactTelphone: "",
625
+            email: "",
584 626
             workAddress: "",
585 627
             workTelphone: "",
586 628
             contactAddress: "",
@@ -598,6 +640,7 @@ export default {
598 640
             name: "",
599 641
             identityNum: "",
600 642
             contactTelphone: "",
643
+            email: "",
601 644
             workAddress: "",
602 645
             workTelphone: "",
603 646
             contactAddress: "",
@@ -753,6 +796,7 @@ export default {
753 796
                 name: "",
754 797
                 identityNum: "",
755 798
                 contactTelphone: "",
799
+                email: "",
756 800
                 workAddress: "",
757 801
                 workTelphone: "",
758 802
                 contactAddress: "",
@@ -767,6 +811,7 @@ export default {
767 811
                 name: "",
768 812
                 identityNum: "",
769 813
                 contactTelphone: "",
814
+                email: "",
770 815
                 workAddress: "",
771 816
                 workTelphone: "",
772 817
                 contactAddress: "",
@@ -868,6 +913,7 @@ export default {
868 913
         name: "",
869 914
         identityNum: "",
870 915
         contactTelphone: "",
916
+        email: "",
871 917
         workAddress: "",
872 918
         workTelphone: "",
873 919
         contactAddress: "",
@@ -883,6 +929,7 @@ export default {
883 929
         name: "",
884 930
         identityNum: "",
885 931
         contactTelphone: "",
932
+        email: "",
886 933
         workAddress: "",
887 934
         workTelphone: "",
888 935
         contactAddress: "",

+ 2
- 2
vue.config.js Zobrazit soubor

@@ -11,8 +11,8 @@ const name = process.env.VUE_APP_TITLE || '智慧仲裁管理系统' // 网页
11 11
 
12 12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
13 13
 
14
-const API = 'http://121.40.189.20:9001'  //生产
15
-// const API = 'http://121.40.189.20:8001'  //测试
14
+// const API = 'http://121.40.189.20:9001'  //生产
15
+const API = 'http://121.40.189.20:8001'  //测试
16 16
 // const API = 'http://192.168.3.18:9001'  //B
17 17
 // const API = 'http://192.168.3.77:9001' //Q
18 18