Parcourir la source

927问题修复

Your Name il y a 2 ans
Parent
révision
3cd0165b17

+ 59
- 35
src/views/awardManagement/components/paymentdetailsDialog.vue Voir le fichier

33
           form.claimLiquidDamag
33
           form.claimLiquidDamag
34
         }}</el-descriptions-item>
34
         }}</el-descriptions-item>
35
         <el-descriptions-item label="申请人案件证据资料">
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
         </el-descriptions-item>
43
         </el-descriptions-item>
40
         <el-descriptions-item label="被申请人案件证据资料">
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
         </el-descriptions-item>
52
         </el-descriptions-item>
45
         <el-descriptions-item label="裁决书附件">
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
         </el-descriptions-item>
61
         </el-descriptions-item>
50
       </el-descriptions>
62
       </el-descriptions>
51
       <el-form
63
       <el-form
62
           <el-input
74
           <el-input
63
             type="textarea"
75
             type="textarea"
64
             autosize
76
             autosize
77
+            :disabled="flag == 2 || flag == 1"
65
             placeholder="请输入内容"
78
             placeholder="请输入内容"
66
             v-model="arbitrateRecord.evidenDetermi"
79
             v-model="arbitrateRecord.evidenDetermi"
67
           />
80
           />
73
           <el-input
86
           <el-input
74
             type="textarea"
87
             type="textarea"
75
             autosize
88
             autosize
89
+            :disabled="flag == 2 || flag == 1"
76
             placeholder="请输入内容"
90
             placeholder="请输入内容"
77
             v-model="arbitrateRecord.factDetermi"
91
             v-model="arbitrateRecord.factDetermi"
78
           />
92
           />
81
           <el-input
95
           <el-input
82
             type="textarea"
96
             type="textarea"
83
             autosize
97
             autosize
98
+            :disabled="flag == 2 || flag == 1"
84
             placeholder="请输入内容"
99
             placeholder="请输入内容"
85
             v-model="arbitrateRecord.caseSketch"
100
             v-model="arbitrateRecord.caseSketch"
86
           />
101
           />
89
           <el-input
104
           <el-input
90
             type="textarea"
105
             type="textarea"
91
             autosize
106
             autosize
107
+            :disabled="flag == 2 || flag == 1"
92
             placeholder="请输入内容"
108
             placeholder="请输入内容"
93
             v-model="arbitrateRecord.arbitrateThink"
109
             v-model="arbitrateRecord.arbitrateThink"
94
           />
110
           />
97
           <el-input
113
           <el-input
98
             type="textarea"
114
             type="textarea"
99
             autosize
115
             autosize
116
+            :disabled="flag == 2 || flag == 1"
100
             placeholder="请输入内容"
117
             placeholder="请输入内容"
101
             v-model="arbitrateRecord.rulingFollows"
118
             v-model="arbitrateRecord.rulingFollows"
102
           />
119
           />
105
           <el-input
122
           <el-input
106
             type="textarea"
123
             type="textarea"
107
             autosize
124
             autosize
125
+            :disabled="flag == 2"
108
             placeholder="请输入内容"
126
             placeholder="请输入内容"
109
             v-model="arbitrateRecord.verificaOpinion"
127
             v-model="arbitrateRecord.verificaOpinion"
110
           />
128
           />
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
   watch: {
243
   watch: {
226
-    openDialog: {
244
+    detailform: {
227
       handler(val) {
245
       handler(val) {
228
         if (val) {
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
     evidenceFile(val) {
264
     evidenceFile(val) {
242
       if (val) {
265
       if (val) {
243
         val.caseAttachList.forEach((item) => {
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
       let headPath = window.location.origin + "/API";
282
       let headPath = window.location.origin + "/API";
259
       if (val == 2) {
283
       if (val == 2) {
260
-        window.open(headPath + this.applicantPath, "_black");
284
+        window.open(headPath + this.applicantPathArr[index], "_blank");
261
       } else if (val == 6) {
285
       } else if (val == 6) {
262
-        window.open(headPath + this.respondenPath, "_black");
286
+        window.open(headPath + this.respondenPathArr[index], "_blank");
263
       } else if (val == 3) {
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 Voir le fichier

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

+ 7
- 7
src/views/caseManagement/components/caseentryDialog.vue Voir le fichier

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

+ 24
- 10
src/views/caseManagement/components/choosetrialmethodDaiog.vue Voir le fichier

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

+ 2
- 2
src/views/caseManagement/components/trialincourtDialog.vue Voir le fichier

299
     },
299
     },
300
     // 打开会议
300
     // 打开会议
301
     openmeeting() {
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
     openArbitrationresults() {
306
     openArbitrationresults() {