Pārlūkot izejas kodu

Merge branch 'gyj' of SH-Arbitrate/Arbitrate-Frontend into dev

gaogaoyujie 2 gadus atpakaļ
vecāks
revīzija
bbaf01e16b

+ 1
- 1
src/api/caseManagement/caseManagement.js Parādīt failu

28
 // 确认生成笔录
28
 // 确认生成笔录
29
 export function creatTrialRecordnew(data) {
29
 export function creatTrialRecordnew(data) {
30
   return request({
30
   return request({
31
-    url: "/caseApplication/creatTrialRecordnew",
31
+    url: "/caseApplication/confirmMeetingResult",
32
     method: "post",
32
     method: "post",
33
     data: data,
33
     data: data,
34
   });
34
   });

+ 4
- 3
src/views/caseManagement/caseList.vue Parādīt failu

181
           @click="showModel(scope.row, 0)">查看裁决书</el-button>
181
           @click="showModel(scope.row, 0)">查看裁决书</el-button>
182
            <el-button size="mini" type="text" icon="el-icon-edit"
182
            <el-button size="mini" type="text" icon="el-icon-edit"
183
                        v-if="scope.row.caseStatus == 11 && checkPermi(['caseManagement:list:secretarycheck'])"
183
                        v-if="scope.row.caseStatus == 11 && checkPermi(['caseManagement:list:secretarycheck'])"
184
-                        @click="showModel(scope.row, 1)">秘书确认</el-button>
184
+                        @click="showModel(scope.row, 1)">核验裁决书</el-button>
185
                     <el-button size="mini" type="text" icon="el-icon-edit"
185
                     <el-button size="mini" type="text" icon="el-icon-edit"
186
                        v-if="scope.row.caseStatus == 18 && checkPermi(['caseManagement:list:arbitratorcheck']) && btnStatus"
186
                        v-if="scope.row.caseStatus == 18 && checkPermi(['caseManagement:list:arbitratorcheck']) && btnStatus"
187
-                        @click="showModel(scope.row, 4)">仲裁员确认</el-button>
187
+                        @click="showModel(scope.row, 4)">审核裁决书</el-button>
188
                     <el-button size="mini" type="text" icon="el-icon-edit"
188
                     <el-button size="mini" type="text" icon="el-icon-edit"
189
                     v-if="scope.row.caseStatus == 12 && checkPermi(['caseManagement:list:confirmaward']) && btnStatus"   
189
                     v-if="scope.row.caseStatus == 12 && checkPermi(['caseManagement:list:confirmaward']) && btnStatus"   
190
-                        @click="showModel(scope.row, 2)">部门长确认</el-button>
190
+                        @click="showModel(scope.row, 2)">审核裁决书</el-button>
191
                     <el-button size="mini" type="text" icon="el-icon-edit"
191
                     <el-button size="mini" type="text" icon="el-icon-edit"
192
                     v-if="scope.row.caseStatus == 13 && checkPermi(['caseManagement:list:sign']) && btnStatus"    
192
                     v-if="scope.row.caseStatus == 13 && checkPermi(['caseManagement:list:sign']) && btnStatus"    
193
                         @click="showModel(scope.row, 3)">签名</el-button>
193
                         @click="showModel(scope.row, 3)">签名</el-button>
1033
     },
1033
     },
1034
     // 表格显示高亮
1034
     // 表格显示高亮
1035
     tableRowClassName(row){
1035
     tableRowClassName(row){
1036
+      console.log(row)
1036
       if(row.row.arbitratMethodName=="开庭审理"){
1037
       if(row.row.arbitratMethodName=="开庭审理"){
1037
         return 'pendingTrial'
1038
         return 'pendingTrial'
1038
       }
1039
       }

+ 83
- 39
src/views/caseManagement/components/judgmentInformation.vue Parādīt failu

77
           <el-input type="textarea" :autosize="{ minRows: 6 }" v-model="arbitrateRecordt.responCrossOpin"
77
           <el-input type="textarea" :autosize="{ minRows: 6 }" v-model="arbitrateRecordt.responCrossOpin"
78
             placeholder="请输入" />
78
             placeholder="请输入" />
79
         </el-form-item> -->
79
         </el-form-item> -->
80
-        <el-form-item label="审核意见:" prop="checkOpinion" v-if="flag == 2 || flag == 4">
81
-          <el-input type="textarea" autosize placeholder="请输入内容" v-model="arbitrateRecord.checkOpinion" />
80
+        <el-form-item label="驳回原因:" label-width="100px"  v-if="flag==1 && awardDetailform.arbitrateReject">
81
+          <div style="width:800px;">{{awardDetailform.arbitrateReject}}</div>
82
         </el-form-item>
82
         </el-form-item>
83
-        <el-form-item label="驳回原因" label-width="100px"  v-if="flag==1 && arbitrateRecord.arbitrateReject">
84
-          <div style="width:800px;">{{arbitrateRecord.arbitrateReject}}lllllllllllllll</div>
83
+        <el-form-item label="驳回原因:" label-width="100px"  v-if="flag==4 && awardDetailform.deptorReject">
84
+          <div style="width:800px;">{{awardDetailform.deptorReject}}</div>
85
         </el-form-item>
85
         </el-form-item>
86
-        <el-form-item label="驳回原因" prop="arbitrateReject" v-if="flag == 2 || flag == 4">
87
-          <el-input type="textarea" :rows="2" placeholder="请输入拒绝原因" v-model="arbitrateRecord.arbitrateReject"></el-input>
86
+        <el-form-item label-width="100px" label="审核意见:" prop="checkOpinion" v-if="flag == 2 || flag == 4">
87
+          <el-input type="textarea" autosize placeholder="请输入内容" v-model.trim="arbitrateRecord.checkOpinion" />
88
+        </el-form-item>
89
+        <!-- 判断是否驳回 -->
90
+        <el-form-item label-width="100px" label="是否驳回:" v-if="flag == 2 || flag == 4">
91
+          <el-radio-group v-model="agreeOrNotCheck">
92
+            <el-radio :label="1">同意</el-radio>
93
+            <el-radio :label="2">驳回</el-radio>
94
+          </el-radio-group>
95
+        </el-form-item>
96
+        <el-form-item label-width="100px" label="驳回原因" v-if="agreeOrNotCheck==2 && flag == 4" prop="arbitrateReject"
97
+          :rules="[
98
+            { required: true, message: '请输入驳回原因', trigger: 'blur' }
99
+          ]">
100
+          <el-input type="textarea" :rows="2" placeholder="请输入驳回原因" v-model.trim="arbitrateRecord.arbitrateReject"></el-input>
101
+        </el-form-item>
102
+        <el-form-item label-width="100px" label="bmz驳回原因" v-if="agreeOrNotCheck==2 && flag ==2" prop="deptorReject"
103
+          :rules="[
104
+            { required: true, message: '请输入驳回原因', trigger: 'blur' }
105
+          ]">
106
+          <el-input type="textarea" :rows="2" placeholder="请输入驳回原因" v-model.trim="arbitrateRecord.deptorReject"></el-input>
88
         </el-form-item>
107
         </el-form-item>
89
       </el-form>
108
       </el-form>
90
       <!-- 画布 -->
109
       <!-- 画布 -->
96
       <div slot="footer" class="dialog-footer">
115
       <div slot="footer" class="dialog-footer">
97
         <!-- <el-button type="danger" @click="submitForm(4)" v-if="flag == 1">重新生成裁决书</el-button> -->
116
         <!-- <el-button type="danger" @click="submitForm(4)" v-if="flag == 1">重新生成裁决书</el-button> -->
98
         <el-button type="primary" @click="submitForm(0)" v-if="flag == 1">提 交</el-button>
117
         <el-button type="primary" @click="submitForm(0)" v-if="flag == 1">提 交</el-button>
99
-        <el-button type="primary" @click="submitForm(1)" v-if="flag == 2">同 意</el-button>
100
-        <el-button type="danger" @click="submitForm(2)" v-if="flag == 2">驳 回</el-button>
101
-        <el-button type="primary" @click="submitForm(3)" v-if="flag == 3">提 交</el-button>
102
-        <el-button type="primary" @click="submitForm(5)" v-if="flag == 4">同 意</el-button>
103
-        <el-button type="danger" @click="submitForm(6)" v-if="flag == 4">驳 回</el-button>
118
+        <el-button type="primary" @click="submitForm(1)" v-if="flag == 2">5提交</el-button>
119
+        <!-- <el-button type="danger" @click="submitForm(2)" v-if="flag == 2">驳 回</el-button> -->
120
+        <!-- <el-button type="primary" @click="submitForm(3)" v-if="flag == 3">提 交</el-button> -->
121
+        <!-- <el-button type="primary" @click="submitForm(5)" v-if="flag == 4">同 意</el-button> -->
122
+        <el-button type="primary" @click="submitForm(6)" v-if="flag == 4">提交</el-button>
104
         <el-button @click="cancel">取 消</el-button>
123
         <el-button @click="cancel">取 消</el-button>
105
       </div>
124
       </div>
106
     </el-dialog>
125
     </el-dialog>
121
     return {
140
     return {
122
       // key: value
141
       // key: value
123
       arbitrateRecordt: {},
142
       arbitrateRecordt: {},
143
+      agreeOrNotCheck:1,
124
       form: {},
144
       form: {},
125
       arbitrateRecord: {
145
       arbitrateRecord: {
126
         // checkOpinion:"同意"
146
         // checkOpinion:"同意"
175
             required: true,
195
             required: true,
176
             message: "意见不能为空",
196
             message: "意见不能为空",
177
             trigger: "blur",
197
             trigger: "blur",
178
-          },
198
+          }
179
         ],
199
         ],
180
         // arbitrateReject: [
200
         // arbitrateReject: [
181
         //   {
201
         //   {
196
     };
216
     };
197
   },
217
   },
198
   watch: {
218
   watch: {
219
+    openDialogInfor:{
220
+        handler(val) {
221
+        if (val) {
222
+          this.agreeOrNotCheck = 1;
223
+        }
224
+      },
225
+    },
199
     awardDetailform: {
226
     awardDetailform: {
200
       handler(val) {
227
       handler(val) {
201
         if (val) {
228
         if (val) {
270
         this.cancel();
297
         this.cancel();
271
         // this.$emit("updataList");
298
         // this.$emit("updataList");
272
         this.$emit("getcaseApply", this.queryParams);
299
         this.$emit("getcaseApply", this.queryParams);
273
-        this.$message("成功");
300
+        // this.$message("成功");
301
+        this.$modal.msgSuccess("提交成功");
274
       });
302
       });
275
     },
303
     },
276
     //审核裁决书
304
     //审核裁决书
279
         this.cancel();
307
         this.cancel();
280
         // this.$emit("updataList");
308
         // this.$emit("updataList");
281
         this.$emit("getcaseApply", this.queryParams);
309
         this.$emit("getcaseApply", this.queryParams);
282
-        this.$message("成功");
310
+        // this.$message("成功");
311
+        this.$modal.msgSuccess("提交成功");
283
       });
312
       });
284
     },
313
     },
285
     // 仲裁员审核裁决书
314
     // 仲裁员审核裁决书
286
     arbitratorCheckArbitrateRecordFn(parms) {
315
     arbitratorCheckArbitrateRecordFn(parms) {
316
+      console.log(parms)
287
       arbitratorCheckArbitrateRecord(parms).then((res) => {
317
       arbitratorCheckArbitrateRecord(parms).then((res) => {
288
         this.cancel();
318
         this.cancel();
289
         // this.$emit("updataList");
319
         // this.$emit("updataList");
290
         this.$emit("getcaseApply", this.queryParams);
320
         this.$emit("getcaseApply", this.queryParams);
291
-        this.$message("成功");
321
+        // this.$message("成功");
322
+        this.$modal.msgSuccess("提交成功");
292
       });
323
       });
293
     },
324
     },
294
     // 签名
325
     // 签名
320
               arbitrateRecord: this.arbitrateRecord,
351
               arbitrateRecord: this.arbitrateRecord,
321
             });
352
             });
322
           } else if (parms == 1) {
353
           } else if (parms == 1) {
323
-            this.checkArbitrateRecordFn({
354
+            if(this.agreeOrNotCheck==1){
355
+              //部门长同意
356
+               this.checkArbitrateRecordFn({
324
               id: this.form.id,
357
               id: this.form.id,
325
               agreeOrNotCheck: 1,
358
               agreeOrNotCheck: 1,
326
               arbitrateRecord: this.arbitrateRecord,
359
               arbitrateRecord: this.arbitrateRecord,
327
             });
360
             });
328
-          } else if (parms == 2) {
329
-            if (!that.arbitrateRecord.arbitrateReject == "") {
330
-              this.$message.error('请输入拒绝原因');
331
-              return
332
-            } else {
333
-              this.arbitrateRecord.deptorReject = this.arbitrateRecord.arbitrateReject;
334
-              delete this.arbitrateRecord.arbitrateReject;
361
+            }else if(this.agreeOrNotCheck==2){
362
+              //  部门长驳回
335
               this.checkArbitrateRecordFn({
363
               this.checkArbitrateRecordFn({
336
                 id: this.form.id,
364
                 id: this.form.id,
337
                 agreeOrNotCheck: 2,
365
                 agreeOrNotCheck: 2,
338
                 arbitrateRecord: this.arbitrateRecord,
366
                 arbitrateRecord: this.arbitrateRecord,
339
               });
367
               });
340
-            }
368
+            } 
369
+          } else if (parms == 2) {
370
+            // if (!that.arbitrateRecord.arbitrateReject == "") {
371
+            //   this.$message.error('请输入拒绝原因');
372
+            //   return
373
+            // } else {
374
+            //   this.arbitrateRecord.deptorReject = this.arbitrateRecord.arbitrateReject;
375
+            //   delete this.arbitrateRecord.arbitrateReject;
376
+            //   this.checkArbitrateRecordFn({
377
+            //     id: this.form.id,
378
+            //     agreeOrNotCheck: 2,
379
+            //     arbitrateRecord: this.arbitrateRecord,
380
+            //   });
381
+            // }
341
           } else if (parms == 3) {
382
           } else if (parms == 3) {
342
             this.adjudicationSignatureFn({
383
             this.adjudicationSignatureFn({
343
               id: this.form.id,
384
               id: this.form.id,
344
             });
385
             });
345
-          } else if (parms == 4) {
346
-            let paramsData = {};
347
-            paramsData.arbitrateRecord = this.arbitrateRecord;
348
-            paramsData.id = this.form.id
349
-            this.getRegenerationDocument(paramsData)
350
-          } else if (parms == 5) {
351
-            this.arbitratorCheckArbitrateRecordFn({
386
+          }else if (parms == 6) {
387
+              if(this.agreeOrNotCheck==1){
388
+                //仲裁员同意
389
+                 this.arbitratorCheckArbitrateRecordFn({
352
               id: this.form.id,
390
               id: this.form.id,
353
               agreeOrNotCheck: 1,
391
               agreeOrNotCheck: 1,
354
               arbitrateRecord: this.arbitrateRecord,
392
               arbitrateRecord: this.arbitrateRecord,
355
             });
393
             });
356
-          } else if (parms == 6) {
357
-            debugger
358
-            if (!that.arbitrateRecord.arbitrateReject) {
359
-              this.$message.error('请输入拒绝原因');
360
-              return
361
-            } else {
362
-              this.arbitratorCheckArbitrateRecordFn({
394
+              }else if(this.agreeOrNotCheck==2){
395
+                //仲裁员驳回
396
+                  this.arbitratorCheckArbitrateRecordFn({
363
                 id: this.form.id,
397
                 id: this.form.id,
364
                 agreeOrNotCheck: 2,
398
                 agreeOrNotCheck: 2,
365
                 arbitrateRecord: this.arbitrateRecord,
399
                 arbitrateRecord: this.arbitrateRecord,
366
               });
400
               });
367
-            }
401
+              }
402
+            // if (!that.arbitrateRecord.arbitrateReject) {
403
+            //   this.$message.error('请输入拒绝原因');
404
+            //   return
405
+            // } else {
406
+            //   this.arbitratorCheckArbitrateRecordFn({
407
+            //     id: this.form.id,
408
+            //     agreeOrNotCheck: 2,
409
+            //     arbitrateRecord: this.arbitrateRecord,
410
+            //   });
411
+            // }
368
           }
412
           }
369
         }
413
         }
370
       });
414
       });

+ 2
- 2
vue.config.js Parādīt failu

12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
13
 
13
 
14
 // const API = 'http://121.40.189.20:9001'  //生产
14
 // const API = 'http://121.40.189.20:9001'  //生产
15
-//  const API = 'http://121.40.189.20:8001'  //测试
16
-const API = 'http://172.16.1.26:8001'  //Bs
15
+ const API = 'http://121.40.189.20:8001'  //测试
16
+// const API = 'http://172.16.1.26:8001'  //Bs
17
 // const API = 'http://192.168.3.77:9001' //Q
17
 // const API = 'http://192.168.3.77:9001' //Q
18
 // const API = 'http://172.16.1.26:8001' //W
18
 // const API = 'http://172.16.1.26:8001' //W
19
 
19