Procházet zdrojové kódy

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

hanchaobo před 2 roky
rodič
revize
909a0f8479

+ 7
- 0
src/views/awardManagement/listofAwards.vue Zobrazit soubor

@@ -33,6 +33,10 @@
33 33
                 <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(3)"
34 34
                     v-hasPermi="['caseManagement:list:check']">案件批量归档</el-button>
35 35
             </el-col>
36
+            <el-col :span="1.5">
37
+                <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(5)"
38
+                    v-hasPermi="['awardManagement:list:check']">案件批量核查</el-button>
39
+            </el-col>
36 40
         </el-row>
37 41
         <el-table v-loading="loading" :data="dataList" style="width: 100%">
38 42
             <el-table-column label="序号" type="index" align="center">
@@ -203,6 +207,9 @@ export default {
203 207
             } else if (type == 3) {
204 208
                 this.operateTitle = '批量归档';
205 209
                 this.operateStatus = 3;
210
+            }else if (type == 5) {
211
+                this.operateTitle = '批量核查';
212
+                this.operateStatus = 5;
206 213
             }
207 214
         },
208 215
         updataList() {

+ 34
- 26
src/views/caseManagement/caseList.vue Zobrazit soubor

@@ -15,7 +15,8 @@
15 15
           clearable></el-cascader>
16 16
       </el-form-item>
17 17
       <el-form-item label="案件状态" prop="caseStatus">
18
-        <el-select :disabled="caseStatusType" v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable @keyup.enter.native="handleQuery">
18
+        <el-select :disabled="caseStatusType" v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable
19
+          @keyup.enter.native="handleQuery">
19 20
           <el-option v-for="dict in caseStatus" :key="dict.dictSort" :label="dict.dictLabel"
20 21
             :value="dict.dictSort"></el-option>
21 22
         </el-select>
@@ -53,6 +54,8 @@
53 54
           v-hasPermi="['caseManagement:list:delete']">案件批量删除</el-button>
54 55
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(2)"
55 56
           v-hasPermi="['caseManagement:list:check']">案件批量立案审查</el-button>
57
+        <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(4)"
58
+          v-hasPermi="['caseManagement:list:hear']">批量生成裁决书</el-button>
56 59
       </el-col>
57 60
     </el-row>
58 61
     <el-table v-loading="loading" :data="dataList" style="width: 100%">
@@ -129,16 +132,18 @@
129 132
             checkPermi(['caseManagement:list:hear']) && btnStatus
130 133
             ">开庭审理</el-button>
131 134
           <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus < 8 &&
132
-            checkPermi(['caseManagement:list:evidenceUpdate']) && btnStatus" @click="evidenceUpload(scope.row)">证据修改</el-button>
133
-          <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 31  && btnStatus"
135
+            checkPermi(['caseManagement:list:evidenceUpdate']) && btnStatus"
136
+            @click="evidenceUpload(scope.row)">证据修改</el-button>
137
+          <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 31 && btnStatus"
134 138
             @click="timeUpdata(scope.row)">开庭时间</el-button>
135 139
           <el-button size="mini" type="text" icon="el-icon-lock"
136
-            v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 0 && btnStatus" 
140
+            v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 0 && btnStatus"
137 141
             @click="lockClick(scope.row)">锁定</el-button>
138 142
           <el-button size="mini" type="text" icon="el-icon-unlock"
139
-            v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 1  && btnStatus" 
143
+            v-if="checkPermi(['caseManagement:list:lock']) && scope.row.lockStatus == 1 && btnStatus"
140 144
             @click="ulockClick(scope.row)">解锁</el-button>
141
-          <el-button  v-if="checkPermi(['caseManagement:list:listEvidence']) && scope.row.caseStatus <= 1  && btnStatus" size="mini" type="text" icon="el-icon-upload" @click="uploadCase(scope.row)">上传证据目录</el-button>
145
+          <el-button v-if="checkPermi(['caseManagement:list:listEvidence']) && scope.row.caseStatus <= 1 && btnStatus"
146
+            size="mini" type="text" icon="el-icon-upload" @click="uploadCase(scope.row)">上传证据目录</el-button>
142 147
           <!-- <el-button
143 148
             size="mini"
144 149
             type="text"
@@ -199,14 +204,16 @@
199 204
     </evidenceDialog>
200 205
 
201 206
     <!-- 开庭时间修改 -->
202
-    <timeDialog :timeVisable="timeVisable" @getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData" :queryParams="queryParams">
207
+    <timeDialog :timeVisable="timeVisable" @getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData"
208
+      :queryParams="queryParams">
203 209
     </timeDialog>
204 210
     <!-- 批量操作弹窗 -->
205 211
     <operateDialog :queryParams="queryParams" :operateStatus="operateStatus" :operateVisable="operateVisable"
206 212
       @getcaseApply="getcaseApply" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
207 213
     </operateDialog>
208 214
     <!-- 上传证据目录弹窗 -->
209
-    <uploadCaseDialog :uploadCaseVisable="uploadCaseVisable" @uploadCaseCancel="uploadCaseCancel" :uploadCaseData="uploadCaseData">
215
+    <uploadCaseDialog :uploadCaseVisable="uploadCaseVisable" @uploadCaseCancel="uploadCaseCancel"
216
+      :uploadCaseData="uploadCaseData">
210 217
     </uploadCaseDialog>
211 218
   </div>
212 219
 </template>
@@ -322,20 +329,20 @@ export default {
322 329
       operateData: {},
323 330
       operateTitle: "",
324 331
       operateStatus: 0,
325
-      uploadCaseVisable:false,
326
-      uploadCaseData:{},
327
-      selectCaseStatusList:[
332
+      uploadCaseVisable: false,
333
+      uploadCaseData: {},
334
+      selectCaseStatusList: [
328 335
         {
329
-          label:"待办案件",
330
-          value:0
336
+          label: "待办案件",
337
+          value: 0
331 338
         },
332 339
         {
333
-          label:"已办案件",
334
-          value:1
340
+          label: "已办案件",
341
+          value: 1
335 342
         }
336 343
       ],
337
-      caseStatusType:false,
338
-      btnStatus:true,
344
+      caseStatusType: false,
345
+      btnStatus: true,
339 346
     };
340 347
   },
341 348
   created() {
@@ -363,11 +370,11 @@ export default {
363 370
     cancelOperate() {
364 371
       this.operateVisable = false;
365 372
     },
366
-    uploadCaseCancel(){
373
+    uploadCaseCancel() {
367 374
       this.uploadCaseVisable = false;
368 375
     },
369 376
     // 上传证据目录弹窗
370
-    uploadCase(row){
377
+    uploadCase(row) {
371 378
       this.uploadCaseData = row;
372 379
       this.uploadCaseVisable = true;
373 380
     },
@@ -383,6 +390,9 @@ export default {
383 390
       } else if (type == 2) {
384 391
         this.operateTitle = '批量立案审查';
385 392
         this.operateStatus = 2;
393
+      }else if(type == 4){
394
+        this.operateTitle = '批量生成裁决书';
395
+        this.operateStatus = 4;
386 396
       }
387 397
     },
388 398
     // 修改开庭时间
@@ -458,13 +468,13 @@ export default {
458 468
     handleQuery() {
459 469
       this.queryParams.caseStatusList = [];
460 470
       if (!this.queryParams.caseStatus) {
461
-        this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10,31]
471
+        this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]
462 472
       }
463
-      if(this.queryParams.selectCaseStatus == 1){
473
+      if (this.queryParams.selectCaseStatus == 1) {
464 474
         this.queryParams.caseStatus = null;
465 475
         this.caseStatusType = true;
466 476
         this.btnStatus = false;
467
-      }else if(this.queryParams.selectCaseStatus == 0){
477
+      } else if (this.queryParams.selectCaseStatus == 0) {
468 478
         this.caseStatusType = false;
469 479
         this.btnStatus = true;
470 480
       }
@@ -474,7 +484,7 @@ export default {
474 484
     /** 重置按钮操作 */
475 485
     resetQuery() {
476 486
       this.resetForm("queryForm");
477
-      (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10,31]),
487
+      (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]),
478 488
         (this.queryParams.applicantName = ""),
479 489
         (this.queryParams.nameId = ""),
480 490
         this.getcaseApply(this.queryParams);
@@ -727,6 +737,4 @@ export default {
727 737
 };
728 738
 </script>
729 739
 
730
-<style lang="scss" scoped>
731
-#formContainer {}
732
-</style>
740
+<style lang="scss" scoped>#formContainer {}</style>

+ 1
- 1
src/views/caseManagement/components/adjudicaterecordDialog.vue Zobrazit soubor

@@ -329,7 +329,7 @@ export default {
329 329
       this.$refs["form2"].validate((valid) => {
330 330
         if (valid) {
331 331
           writtenHear({
332
-            caseAppliId: this.formData.id,
332
+            ids: [this.formData.id],
333 333
             evidenDetermi: this.form2.evidenDetermi,
334 334
             factDetermi: this.form2.factDetermi,
335 335
             caseSketch: this.form2.caseSketch,

+ 3
- 2
src/views/caseManagement/components/formateCourtDialog.vue Zobrazit soubor

@@ -102,8 +102,9 @@ export default {
102 102
     this.getarbitrAtor();
103 103
   },
104 104
   watch: {
105
-    showformateCourt(val) {
106
-      if (val) {
105
+    showformateCourt(val){
106
+      this.Arbitor = ""
107
+      if(val){
107 108
         this.isAgreePendTral = 1;
108 109
       }
109 110
     },

+ 19
- 0
src/views/caseManagement/components/operateDialog.vue Zobrazit soubor

@@ -47,6 +47,7 @@ import {
47 47
     removeCaseApply,
48 48
     submitCaseApplicationCheck
49 49
 } from "@/api/caseAccess/caseEntry";
50
+import { writtenHear } from "@/api/caseManagement/caseManagement.js";
50 51
 import {
51 52
     adjudicationCaseFile,
52 53
 } from "@/api/awardManagement/awardManagement";
@@ -102,6 +103,12 @@ export default {
102 103
                 this.submitCaseApplicationCheckFn({ ids: this.batchData,agreeOrNotCheck:this.radio })
103 104
             }else if (this.operateStatus == 3) {
104 105
                 this.adjudicationCaseFileFn({ ids: this.batchData })
106
+            }else if (this.operateStatus == 4) {
107
+                // this.adjudicationCaseFileFn({ ids: this.batchData })
108
+                this.writtenHearFn({ids: this.batchData})
109
+            }else if (this.operateStatus == 5) {
110
+                // this.adjudicationCaseFileFn({ ids: this.batchData })
111
+                // this.writtenHearFn({ids: this.batchData})
105 112
             }
106 113
         },
107 114
         // 批量提交
@@ -136,6 +143,14 @@ export default {
136 143
                 this.$emit("getcaseApply", this.queryParams);
137 144
             })
138 145
         },
146
+        // 批量生成裁决书
147
+        writtenHearFn(data){
148
+            writtenHear(data).then(res=>{
149
+                this.$modal.msgSuccess("生成成功");
150
+                this.cancel();
151
+                this.$emit("getcaseApply", this.queryParams);
152
+            })
153
+        },
139 154
         /** 查询列表 */
140 155
         getcaseApply(val) {
141 156
             this.loading = true;
@@ -147,6 +162,10 @@ export default {
147 162
                 this.queryParamsData.caseStatus = 1
148 163
             }else if (this.operateStatus == 3) {
149 164
                 this.queryParamsData.caseStatus = 16
165
+            }else if (this.operateStatus == 4) {
166
+                this.queryParamsData.caseStatus = 9
167
+            }else if (this.operateStatus == 5) {
168
+                this.queryParamsData.caseStatus = 11
150 169
             }
151 170
             caseApply(val).then((response) => {
152 171
                 this.dataList = response.rows;

+ 3
- 2
vue.config.js Zobrazit soubor

@@ -11,11 +11,12 @@ 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'  //测试
14
+const API = 'http://121.40.189.20:9001'  //生产
15
+// const API = 'http://121.40.189.20:8001'  //测试
15 16
 // const API = 'http://192.168.3.18:9001'  //B
16 17
 // const API = 'http://192.168.3.77:9001' //Q
17 18
 
18
-// vue.config.js 配置说明
19
+// vue.config.js 配置说明 
19 20
 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
20 21
 // 这里只列一部分,具体配置参考文档
21 22
 module.exports = {