소스 검색

927问题修复

Your Name 2 년 전
부모
커밋
3cd0165b17

+ 59
- 35
src/views/awardManagement/components/paymentdetailsDialog.vue 파일 보기

@@ -33,19 +33,31 @@
33 33
           form.claimLiquidDamag
34 34
         }}</el-descriptions-item>
35 35
         <el-descriptions-item label="申请人案件证据资料">
36
-          <span @click="toFile(2)">
37
-            <a href="#">{{ applicantFile }}</a>
38
-          </span>
36
+          <p
37
+            @click="toFile(index, 2)"
38
+            v-for="(item, index) in applicantFileArr"
39
+            :key="index"
40
+          >
41
+            <a href="#">{{ item }}</a>
42
+          </p>
39 43
         </el-descriptions-item>
40 44
         <el-descriptions-item label="被申请人案件证据资料">
41
-          <span @click="toFile(6)">
42
-            <a href="#">{{ respondentFile }}</a>
43
-          </span>
45
+          <p
46
+            v-for="(item, index) in respondentFileArr"
47
+            :key="index"
48
+            @click="toFile(index, 6)"
49
+          >
50
+            <a href="#">{{ item }}</a>
51
+          </p>
44 52
         </el-descriptions-item>
45 53
         <el-descriptions-item label="裁决书附件">
46
-          <span @click="toFile(3)">
47
-            <a href="#">{{ awardFile }}</a>
48
-          </span>
54
+          <p
55
+            v-for="(item, index) in awardFileArr"
56
+            :key="index"
57
+            @click="toFile(index, 3)"
58
+          >
59
+            <a href="#">{{ item }}</a>
60
+          </p>
49 61
         </el-descriptions-item>
50 62
       </el-descriptions>
51 63
       <el-form
@@ -62,6 +74,7 @@
62 74
           <el-input
63 75
             type="textarea"
64 76
             autosize
77
+            :disabled="flag == 2 || flag == 1"
65 78
             placeholder="请输入内容"
66 79
             v-model="arbitrateRecord.evidenDetermi"
67 80
           />
@@ -73,6 +86,7 @@
73 86
           <el-input
74 87
             type="textarea"
75 88
             autosize
89
+            :disabled="flag == 2 || flag == 1"
76 90
             placeholder="请输入内容"
77 91
             v-model="arbitrateRecord.factDetermi"
78 92
           />
@@ -81,6 +95,7 @@
81 95
           <el-input
82 96
             type="textarea"
83 97
             autosize
98
+            :disabled="flag == 2 || flag == 1"
84 99
             placeholder="请输入内容"
85 100
             v-model="arbitrateRecord.caseSketch"
86 101
           />
@@ -89,6 +104,7 @@
89 104
           <el-input
90 105
             type="textarea"
91 106
             autosize
107
+            :disabled="flag == 2 || flag == 1"
92 108
             placeholder="请输入内容"
93 109
             v-model="arbitrateRecord.arbitrateThink"
94 110
           />
@@ -97,6 +113,7 @@
97 113
           <el-input
98 114
             type="textarea"
99 115
             autosize
116
+            :disabled="flag == 2 || flag == 1"
100 117
             placeholder="请输入内容"
101 118
             v-model="arbitrateRecord.rulingFollows"
102 119
           />
@@ -105,6 +122,7 @@
105 122
           <el-input
106 123
             type="textarea"
107 124
             autosize
125
+            :disabled="flag == 2"
108 126
             placeholder="请输入内容"
109 127
             v-model="arbitrateRecord.verificaOpinion"
110 128
           />
@@ -214,24 +232,29 @@ export default {
214 232
           },
215 233
         ],
216 234
       },
217
-      applicantFile: "", //申请人
218
-      applicantPath: "", //申请人
219
-      respondentFile: "", //被申请人
220
-      respondentPath: "", //被申请人
221
-      awardFile: "", //裁决书
222
-      awardPath: "", //裁决书
235
+      applicantFileArr: [], //申请人
236
+      applicantPathArr: [], //申请人
237
+      respondentFileArr: [], //被申请人
238
+      respondenPathArr: [], //被申请人
239
+      awardFileArr: [], //裁决书
240
+      awardPathArr: [], //裁决书
223 241
     };
224 242
   },
225 243
   watch: {
226
-    openDialog: {
244
+    detailform: {
227 245
       handler(val) {
228 246
         if (val) {
229
-          setTimeout(() => {
230
-            this.form = this.detailform;
231
-            this.arbitrateRecord = this.form.arbitrateRecord;
232
-            console.log(this.form, "this.form");
233
-            this.evidenceFile(this.form);
234
-          }, 1000);
247
+          (this.applicantFileArr = []), //申请人
248
+            (this.applicantPathArr = []), //申请人
249
+            (this.respondentFileArr = []), //被申请人
250
+            (this.respondenPathArr = []), //被申请人
251
+            (this.awardFileArr = []), //裁决书
252
+            (this.awardPathArr = []), //裁决书
253
+            setTimeout(() => {
254
+              this.form = this.detailform;
255
+              this.arbitrateRecord = this.form.arbitrateRecord;
256
+              this.evidenceFile(this.form);
257
+            }, 1000);
235 258
         }
236 259
       },
237 260
     },
@@ -241,27 +264,28 @@ export default {
241 264
     evidenceFile(val) {
242 265
       if (val) {
243 266
         val.caseAttachList.forEach((item) => {
244
-          if ((item.annexType = 2)) {
245
-            this.applicantFile = item.annexName;
246
-            this.applicantPath = item.annexPath;
247
-          } else if ((item.annexType = 6)) {
248
-            this.respondentFile = item.annexName;
249
-            this.respondenPath = item.annexPath;
250
-          } else if ((item.annexType = 3)) {
251
-            this.awardFile = item.annexName;
252
-            this.awardPath = item.annexPath;
267
+          if (item.annexType == 2) {
268
+            this.applicantFileArr.push(item.annexName);
269
+            this.applicantPathArr.push(item.annexPath);
270
+          } else if (item.annexType == 6) {
271
+            this.respondentFileArr.push(item.annexName);
272
+            this.respondenPathArr.push(item.annexPath);
273
+          } else if (item.annexType == 3) {
274
+            this.awardFileArr.push(item.annexName);
275
+            this.awardPathArr.push(item.annexPath);
253 276
           }
254 277
         });
255 278
       }
256 279
     },
257
-    toFile(val) {
280
+    // 预览文件
281
+    toFile(index, val) {
258 282
       let headPath = window.location.origin + "/API";
259 283
       if (val == 2) {
260
-        window.open(headPath + this.applicantPath, "_black");
284
+        window.open(headPath + this.applicantPathArr[index], "_blank");
261 285
       } else if (val == 6) {
262
-        window.open(headPath + this.respondenPath, "_black");
286
+        window.open(headPath + this.respondenPathArr[index], "_blank");
263 287
       } else if (val == 3) {
264
-        window.open(headPath + this.awardPath, "_black");
288
+        window.open(headPath + this.awardPathArr[index], "_blank");
265 289
       }
266 290
     },
267 291
     // 校验裁决书

+ 0
- 1
src/views/awardManagement/listofAwards.vue 파일 보기

@@ -182,7 +182,6 @@ export default {
182 182
         },
183 183
         // 送达裁决书弹框
184 184
         showMailaward(row) {
185
-            // console.log(row,'ppppppppppppppppp');
186 185
             this.mailawardata = row;
187 186
             this.openMailawardDialog = true
188 187
         },

+ 7
- 7
src/views/caseManagement/components/caseentryDialog.vue 파일 보기

@@ -785,12 +785,13 @@ export default {
785 785
     };
786 786
   },
787 787
   watch: {
788
-    visible: {
788
+    initpaymentArr: {
789 789
       handler(val) {
790 790
         if (val) {
791
+          this.applicateArr = [];
792
+          this.quiltArr = [];
791 793
           this.formData = this.form;
792 794
           if (this.flag == "1" || this.flag == "0") {
793
-            setTimeout(() => {
794 795
               this.form2.paymentArr = this.initpaymentArr;
795 796
               this.form3.paymentArr1 = this.initpaymentArr1;
796 797
               console.log(this.caseAttachList, "caseAttachList");
@@ -803,11 +804,10 @@ export default {
803 804
                 }
804 805
               });
805 806
               this.fileList = this.caseAttachList;
806
-              this.fileList.forEach((item)=> {
807
-                item["name"]=item.annexName;
807
+              this.fileList.forEach((item) => {
808
+                item["name"] = item.annexName;
808 809
                 item["certificatePath"] = item.annexPath;
809
-              })
810
-            }, 1000);
810
+              });
811 811
           }
812 812
           if (this.flag == "2") {
813 813
             this.form2.paymentArr = [
@@ -857,7 +857,7 @@ export default {
857 857
       } else {
858 858
         this.$message.warning("暂不支持预览");
859 859
       }
860
-},
860
+    },
861 861
 
862 862
     // 文件上传成功
863 863
     handlSuccess(res, file) {

+ 24
- 10
src/views/caseManagement/components/choosetrialmethodDaiog.vue 파일 보기

@@ -2,26 +2,42 @@
2 2
   <div>
3 3
     <!-- 选择仲裁方式页面 -->
4 4
     <el-dialog
5
-      title="审核开庭方式"
5
+      title="审核仲裁方式"
6 6
       :visible="showchoosetrialmethod"
7 7
       width="500px"
8 8
       @close="cancel"
9 9
       :destroy-on-close="true"
10 10
     >
11
-      <div class="radiobox">
11
+      <el-descriptions>
12
+        <el-descriptions-item label="当前仲裁方式:">
13
+          <el-tag size="small">{{
14
+            choosetrialmethodata.arbitratMethodName
15
+          }}</el-tag>
16
+        </el-descriptions-item>
17
+      </el-descriptions>
18
+
19
+      <!-- <div class="radiobox">
12 20
         <el-radio-group v-model="radio">
13 21
           <el-radio :label="0">拒绝开庭方式</el-radio>
14 22
           <el-radio :label="1">同意开庭方式</el-radio>
15 23
         </el-radio-group>
16
-      </div>
24
+      </div> -->
17 25
 
18
-      <div slot="footer" class="dialog-footer">
26
+      <!-- <div slot="footer" class="dialog-footer">
19 27
         <el-button type="primary" @click="submitForm" class="endbutton"
20 28
           ><span>提 交</span></el-button
21 29
         >
22 30
         <el-button @click="cancel" class="endbutton1"
23 31
           ><span> 取 消</span></el-button
24 32
         >
33
+      </div> -->
34
+      <div slot="footer" class="dialog-footer">
35
+        <el-button type="primary" @click="submitForm(1)" class="endbutton"
36
+          ><span>同 意</span></el-button
37
+        >
38
+        <el-button class="endbutton1" @click="submitForm(0)"
39
+          ><span>拒 绝</span></el-button
40
+        >
25 41
       </div>
26 42
     </el-dialog>
27 43
   </div>
@@ -33,15 +49,13 @@ export default {
33 49
   name: "showchoosetrialmethodDialog",
34 50
   props: ["showchoosetrialmethod", "choosetrialmethodata", "queryParams"],
35 51
   data() {
36
-    return {
37
-      radio: 1,
38
-    };
52
+    return {};
39 53
   },
40 54
   methods: {
41 55
     // 审核仲裁方式 arbitrateMethod
42
-    submitForm() {
56
+    submitForm(val) {
43 57
       let paramsdata = {
44
-        opinion: this.radio,
58
+        opinion: val,
45 59
       };
46 60
       let id = {
47 61
         id: this.choosetrialmethodata.id,
@@ -50,7 +64,7 @@ export default {
50 64
         .then((res) => {
51 65
           this.$modal.msgSuccess("提交成功");
52 66
           this.cancel();
53
-          this.$emit("getcaseApply",this.queryParams);
67
+          this.$emit("getcaseApply", this.queryParams);
54 68
         })
55 69
         .catch((err) => {});
56 70
     },

+ 2
- 2
src/views/caseManagement/components/trialincourtDialog.vue 파일 보기

@@ -299,8 +299,8 @@ export default {
299 299
     },
300 300
     // 打开会议
301 301
     openmeeting() {
302
-      window.open('https://txroom.xayunmei.com');
303
-      // window.open(`https://txroom.xayunmei.com/#/home?name=${this.user}`);
302
+      // window.open('https://txroom.xayunmei.com');
303
+      window.open(`https://txroom.xayunmei.com/#/home?name=${this.user}`);
304 304
     },
305 305
     // 提交仲裁结果
306 306
     openArbitrationresults() {