Просмотр исходного кода

缴费接口,视频仲裁接口联调完善

Your Name 2 лет назад
Родитель
Сommit
a4614b8b46

+ 18
- 14
src/views/caseManagement/caseList.vue Просмотреть файл

@@ -243,20 +243,16 @@
243 243
             v-hasPermi="['monitor:online:forceLogout']"
244 244
             >开庭审理</el-button
245 245
           >
246
-          <el-popconfirm
247
-            title="确定生成裁决书吗?"
248
-            @confirm="generateawardRow(scope.row)"
246
+          <el-button
247
+            size="mini"
248
+            slot="reference"
249
+            type="text"
250
+            icon="el-icon-document"
251
+            @click="generateawardRow(scope.row)"
252
+            v-if="scope.row.caseStatus == 10"
253
+            v-hasPermi="['monitor:online:forceLogout']"
254
+            >生成裁决书</el-button
249 255
           >
250
-            <el-button
251
-              size="mini"
252
-              slot="reference"
253
-              type="text"
254
-              icon="el-icon-document"
255
-              v-if="scope.row.caseStatus == 10"
256
-              v-hasPermi="['monitor:online:forceLogout']"
257
-              >生成裁决书</el-button
258
-            >
259
-          </el-popconfirm>
260 256
           <el-button
261 257
             size="mini"
262 258
             type="text"
@@ -342,6 +338,8 @@
342 338
       :showtrialincourt="showtrialincourt"
343 339
       :adjudicatename="adjudicatename"
344 340
       :form="form"
341
+      :queryParams="queryParams"
342
+      @getcaseApply="getcaseApply"
345 343
       @canceltrialincourt="canceltrialincourt"
346 344
     ></trialincourtDialog>
347 345
     <!-- 缴费 -->
@@ -447,7 +445,8 @@ export default {
447 445
       caseApply(val).then((response) => {
448 446
         this.dataList = response.rows;
449 447
         this.dataList.forEach((item) => {
450
-          item.arbitratMethod = item.arbitratMethod == 1 ? "视频仲裁" : "书面仲载";
448
+          item.arbitratMethod =
449
+            item.arbitratMethod == 1 ? "视频仲裁" : "书面仲载";
451 450
         });
452 451
         this.total = response.total;
453 452
         this.loading = false;
@@ -621,6 +620,11 @@ export default {
621 620
     //  生成裁决书
622 621
     generateawardRow(row) {
623 622
       console.log(row, "生成裁决书");
623
+      this.$modal
624
+        .confirm("确定生成裁决书吗?")
625
+        .then(function () {})
626
+        .then((res) => {})
627
+        .catch(() => {});
624 628
     },
625 629
     // 归档
626 630
     fileRow(row) {

+ 32
- 3
src/views/caseManagement/components/caseentryDialog.vue Просмотреть файл

@@ -88,6 +88,23 @@
88 88
               />
89 89
             </el-form-item>
90 90
           </el-col>
91
+          <!-- 应缴费用 -->
92
+          <el-col :span="12" v-if="flag == 0">
93
+            <el-form-item label="应缴费用:" prop="feePayable">
94
+              <el-input v-model="formData.feePayable" placeholder="请输入" />
95
+            </el-form-item>
96
+          </el-col>
97
+          <!-- 申请人仲裁诉求 -->
98
+          <el-col :span="24">
99
+            <el-form-item label="申请人仲裁诉求" prop="arbitratClaims">
100
+              <el-input
101
+                v-model="formData.arbitratClaims"
102
+                placeholder="请输入申请人仲裁诉求"
103
+                type="textarea"
104
+                :autosize="{ minRows: 4, maxRows: 8 }"
105
+              />
106
+            </el-form-item>
107
+          </el-col>
91 108
           <el-col :span="12">
92 109
             <el-form-item
93 110
               label="申请人案件证据资料上传:"
@@ -112,7 +129,7 @@
112 129
             </el-form-item>
113 130
           </el-col>
114 131
           <!-- 仅详情展示 -->
115
-          <el-col :span="12">
132
+          <!-- <el-col :span="12">
116 133
             <el-form-item
117 134
               label="被申请人案件证据资料上传:"
118 135
               prop="respondentEvidence"
@@ -134,7 +151,7 @@
134 151
                 </div>
135 152
               </el-upload>
136 153
             </el-form-item>
137
-          </el-col>
154
+          </el-col> -->
138 155
         </el-row>
139 156
       </el-form>
140 157
       <!-- 申请人主体信息 -->
@@ -637,7 +654,7 @@ export default {
637 654
             message: "案件编号不能为空",
638 655
             trigger: ["change", "blur"],
639 656
           },
640
-          { min: 3, max: 5, message: "长度在 3 到 5 个字符", trigger: "blur" },
657
+          { max: 20, message: "长度应小于20个字符", trigger: "blur" },
641 658
         ],
642 659
         caseSubjectAmount: [
643 660
           {
@@ -707,6 +724,18 @@ export default {
707 724
           },
708 725
           // { type: 'number', message: '申请人主张违约金必须为数字值'}
709 726
         ],
727
+        arbitratClaims: [
728
+          {
729
+            required: true,
730
+            message: "请输入申请人仲裁诉求",
731
+            trigger: "blur",
732
+          },
733
+        ],
734
+        feePayable: [
735
+          {
736
+            required: true,
737
+          },
738
+        ],
710 739
       },
711 740
       fileList: [],
712 741
     };

+ 19
- 2
src/views/caseManagement/components/trialincourtDialog.vue Просмотреть файл

@@ -267,6 +267,8 @@
267 267
 
268 268
 <script>
269 269
 import { getUserProfile } from "@/api/system/user";
270
+import { writtenHear } from "@/api/caseManagement/caseManagement.js";
271
+
270 272
 export default {
271 273
   props: ["showtrialincourt", "adjudicatename", "form"],
272 274
   data() {
@@ -297,7 +299,8 @@ export default {
297 299
     },
298 300
     // 打开会议
299 301
     openmeeting() {
300
-      window.open(`http://47.97.117.253:9005/#/home?name=${this.user}`);
302
+      window.open('https://txroom.xayunmei.com');
303
+      // window.open(`https://txroom.xayunmei.com/#/home?name=${this.user}`);
301 304
     },
302 305
     // 提交仲裁结果
303 306
     openArbitrationresults() {
@@ -309,7 +312,21 @@ export default {
309 312
     submitForm() {
310 313
       this.$refs["form2"].validate((valid) => {
311 314
         if (valid) {
312
-          console.log(6666666666);
315
+          writtenHear({
316
+            caseAppliId: this.formData.id,
317
+            evidenDetermi: this.form2.evidenDetermi,
318
+            factDetermi: this.form2.factDetermi,
319
+            caseSketch: this.form2.caseSketch,
320
+            arbitrateThink: this.form2.arbitrateThink,
321
+            rulingFollows: this.form2.rulingFollows,
322
+          })
323
+            .then((res) => {
324
+              this.$modal.msgSuccess("提交成功");
325
+              this.cancel();
326
+              this.closeArbitrationresults();
327
+              this.$emit("getcaseApply", this.queryParams);
328
+            })
329
+            .catch((err) => {});
313 330
         }
314 331
       });
315 332
     },

+ 18
- 3
src/views/paymentManagement/components/paymentdetailsDialog.vue Просмотреть файл

@@ -37,7 +37,11 @@
37 37
         </el-form-item>
38 38
       </el-form>
39 39
       <div slot="footer" class="dialog-footer">
40
-        <el-button type="primary" @click="submitForm" v-if="flag == 0" class="endbutton"
40
+        <el-button
41
+          type="primary"
42
+          @click="submitForm"
43
+          v-if="flag == 0"
44
+          class="endbutton"
41 45
           >确认已缴费</el-button
42 46
         >
43 47
         <el-button @click="cancel" class="endbutton1">取 消</el-button>
@@ -47,8 +51,9 @@
47 51
 </template>
48 52
 
49 53
 <script>
54
+import { confirmPay } from "@/api/pay/pay";
50 55
 export default {
51
-  props: ["openDialog", "title", "flag", "detailform"],
56
+  props: ["openDialog", "title", "flag", "detailform", "getList"],
52 57
   data() {
53 58
     return {
54 59
       // key: value
@@ -68,7 +73,17 @@ export default {
68 73
     },
69 74
   },
70 75
   methods: {
71
-    submitForm() {},
76
+    // 确认缴费
77
+    submitForm() {
78
+      confirmPay({ id: this.form.id }).then((res) => {
79
+        this.$message({
80
+          message: "确认成功",
81
+          type: "success",
82
+        });
83
+      });
84
+      this.cancel();
85
+      this.getList();
86
+    },
72 87
     cancel() {
73 88
       this.$emit("cancelpaymentdetails");
74 89
     },

+ 1
- 0
src/views/paymentManagement/paymentList.vue Просмотреть файл

@@ -123,6 +123,7 @@
123 123
       :detailform="detailform"
124 124
       :title="title"
125 125
       :flag="flag"
126
+      :getList="getList"
126 127
       @cancelpaymentdetails="cancelpaymentdetails"
127 128
     ></paymentdetailsDialog>
128 129
   </div>

+ 2
- 2
vue.config.js Просмотреть файл

@@ -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://192.168.3.77:8080' //Q
14
+// const API = 'http://121.40.189.20:9001'  //测试
15
+const API = 'http://192.168.3.77:8080' //Q
16 16
 
17 17
 // vue.config.js 配置说明
18 18
 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions