Przeglądaj źródła

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

hanchaobo 2 lat temu
rodzic
commit
909a0f8479

+ 7
- 0
src/views/awardManagement/listofAwards.vue Wyświetl plik

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

+ 34
- 26
src/views/caseManagement/caseList.vue Wyświetl plik

15
           clearable></el-cascader>
15
           clearable></el-cascader>
16
       </el-form-item>
16
       </el-form-item>
17
       <el-form-item label="案件状态" prop="caseStatus">
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
           <el-option v-for="dict in caseStatus" :key="dict.dictSort" :label="dict.dictLabel"
20
           <el-option v-for="dict in caseStatus" :key="dict.dictSort" :label="dict.dictLabel"
20
             :value="dict.dictSort"></el-option>
21
             :value="dict.dictSort"></el-option>
21
         </el-select>
22
         </el-select>
53
           v-hasPermi="['caseManagement:list:delete']">案件批量删除</el-button>
54
           v-hasPermi="['caseManagement:list:delete']">案件批量删除</el-button>
54
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(2)"
55
         <el-button type="primary" plain icon="el-icon-plus" size="mini" @click="operateClick(2)"
55
           v-hasPermi="['caseManagement:list:check']">案件批量立案审查</el-button>
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
       </el-col>
59
       </el-col>
57
     </el-row>
60
     </el-row>
58
     <el-table v-loading="loading" :data="dataList" style="width: 100%">
61
     <el-table v-loading="loading" :data="dataList" style="width: 100%">
129
             checkPermi(['caseManagement:list:hear']) && btnStatus
132
             checkPermi(['caseManagement:list:hear']) && btnStatus
130
             ">开庭审理</el-button>
133
             ">开庭审理</el-button>
131
           <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus < 8 &&
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
             @click="timeUpdata(scope.row)">开庭时间</el-button>
138
             @click="timeUpdata(scope.row)">开庭时间</el-button>
135
           <el-button size="mini" type="text" icon="el-icon-lock"
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
             @click="lockClick(scope.row)">锁定</el-button>
141
             @click="lockClick(scope.row)">锁定</el-button>
138
           <el-button size="mini" type="text" icon="el-icon-unlock"
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
             @click="ulockClick(scope.row)">解锁</el-button>
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
           <!-- <el-button
147
           <!-- <el-button
143
             size="mini"
148
             size="mini"
144
             type="text"
149
             type="text"
199
     </evidenceDialog>
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
     </timeDialog>
209
     </timeDialog>
204
     <!-- 批量操作弹窗 -->
210
     <!-- 批量操作弹窗 -->
205
     <operateDialog :queryParams="queryParams" :operateStatus="operateStatus" :operateVisable="operateVisable"
211
     <operateDialog :queryParams="queryParams" :operateStatus="operateStatus" :operateVisable="operateVisable"
206
       @getcaseApply="getcaseApply" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
212
       @getcaseApply="getcaseApply" :operateTitle="operateTitle" @cancelOperate="cancelOperate" :operateData="operateData">
207
     </operateDialog>
213
     </operateDialog>
208
     <!-- 上传证据目录弹窗 -->
214
     <!-- 上传证据目录弹窗 -->
209
-    <uploadCaseDialog :uploadCaseVisable="uploadCaseVisable" @uploadCaseCancel="uploadCaseCancel" :uploadCaseData="uploadCaseData">
215
+    <uploadCaseDialog :uploadCaseVisable="uploadCaseVisable" @uploadCaseCancel="uploadCaseCancel"
216
+      :uploadCaseData="uploadCaseData">
210
     </uploadCaseDialog>
217
     </uploadCaseDialog>
211
   </div>
218
   </div>
212
 </template>
219
 </template>
322
       operateData: {},
329
       operateData: {},
323
       operateTitle: "",
330
       operateTitle: "",
324
       operateStatus: 0,
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
   created() {
348
   created() {
363
     cancelOperate() {
370
     cancelOperate() {
364
       this.operateVisable = false;
371
       this.operateVisable = false;
365
     },
372
     },
366
-    uploadCaseCancel(){
373
+    uploadCaseCancel() {
367
       this.uploadCaseVisable = false;
374
       this.uploadCaseVisable = false;
368
     },
375
     },
369
     // 上传证据目录弹窗
376
     // 上传证据目录弹窗
370
-    uploadCase(row){
377
+    uploadCase(row) {
371
       this.uploadCaseData = row;
378
       this.uploadCaseData = row;
372
       this.uploadCaseVisable = true;
379
       this.uploadCaseVisable = true;
373
     },
380
     },
383
       } else if (type == 2) {
390
       } else if (type == 2) {
384
         this.operateTitle = '批量立案审查';
391
         this.operateTitle = '批量立案审查';
385
         this.operateStatus = 2;
392
         this.operateStatus = 2;
393
+      }else if(type == 4){
394
+        this.operateTitle = '批量生成裁决书';
395
+        this.operateStatus = 4;
386
       }
396
       }
387
     },
397
     },
388
     // 修改开庭时间
398
     // 修改开庭时间
458
     handleQuery() {
468
     handleQuery() {
459
       this.queryParams.caseStatusList = [];
469
       this.queryParams.caseStatusList = [];
460
       if (!this.queryParams.caseStatus) {
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
         this.queryParams.caseStatus = null;
474
         this.queryParams.caseStatus = null;
465
         this.caseStatusType = true;
475
         this.caseStatusType = true;
466
         this.btnStatus = false;
476
         this.btnStatus = false;
467
-      }else if(this.queryParams.selectCaseStatus == 0){
477
+      } else if (this.queryParams.selectCaseStatus == 0) {
468
         this.caseStatusType = false;
478
         this.caseStatusType = false;
469
         this.btnStatus = true;
479
         this.btnStatus = true;
470
       }
480
       }
474
     /** 重置按钮操作 */
484
     /** 重置按钮操作 */
475
     resetQuery() {
485
     resetQuery() {
476
       this.resetForm("queryForm");
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
         (this.queryParams.applicantName = ""),
488
         (this.queryParams.applicantName = ""),
479
         (this.queryParams.nameId = ""),
489
         (this.queryParams.nameId = ""),
480
         this.getcaseApply(this.queryParams);
490
         this.getcaseApply(this.queryParams);
727
 };
737
 };
728
 </script>
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 Wyświetl plik

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

+ 3
- 2
src/views/caseManagement/components/formateCourtDialog.vue Wyświetl plik

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

+ 19
- 0
src/views/caseManagement/components/operateDialog.vue Wyświetl plik

47
     removeCaseApply,
47
     removeCaseApply,
48
     submitCaseApplicationCheck
48
     submitCaseApplicationCheck
49
 } from "@/api/caseAccess/caseEntry";
49
 } from "@/api/caseAccess/caseEntry";
50
+import { writtenHear } from "@/api/caseManagement/caseManagement.js";
50
 import {
51
 import {
51
     adjudicationCaseFile,
52
     adjudicationCaseFile,
52
 } from "@/api/awardManagement/awardManagement";
53
 } from "@/api/awardManagement/awardManagement";
102
                 this.submitCaseApplicationCheckFn({ ids: this.batchData,agreeOrNotCheck:this.radio })
103
                 this.submitCaseApplicationCheckFn({ ids: this.batchData,agreeOrNotCheck:this.radio })
103
             }else if (this.operateStatus == 3) {
104
             }else if (this.operateStatus == 3) {
104
                 this.adjudicationCaseFileFn({ ids: this.batchData })
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
                 this.$emit("getcaseApply", this.queryParams);
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
         getcaseApply(val) {
155
         getcaseApply(val) {
141
             this.loading = true;
156
             this.loading = true;
147
                 this.queryParamsData.caseStatus = 1
162
                 this.queryParamsData.caseStatus = 1
148
             }else if (this.operateStatus == 3) {
163
             }else if (this.operateStatus == 3) {
149
                 this.queryParamsData.caseStatus = 16
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
             caseApply(val).then((response) => {
170
             caseApply(val).then((response) => {
152
                 this.dataList = response.rows;
171
                 this.dataList = response.rows;

+ 3
- 2
vue.config.js Wyświetl plik

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