Просмотр исходного кода

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

hanchaobo 2 лет назад
Родитель
Сommit
27700e70d6

+ 24
- 5
src/views/caseFiling/archiveList.vue Просмотреть файл

@@ -62,14 +62,15 @@
62 62
     <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
63 63
       @pagination="getList(queryParams)" />
64 64
     <!-- 弹窗 -->
65
-    <archiveDetailsDialog v-if="showarchiveDetails" :showarchiveDetails="showarchiveDetails" :videoList="videoList" :detailform="detailform"
65
+    <archiveDetailsDialog v-if="showarchiveDetails" :showarchiveDetails="showarchiveDetails" :caseDetail="caseDetail" :caseLog="caseLog" :videoList="videoList" :detailform="detailform"
66 66
       :flagLoading="flagLoading" @cancelpaymentdetails="cancelpaymentdetails" @updataList="updataList">
67 67
     </archiveDetailsDialog>
68 68
   </div>
69 69
 </template>
70 70
   
71 71
 <script>
72
-import { caseApplicationList, selectSignSealUrl } from "@/api/awardManagement/awardManagement";
72
+import { caseApplicationList, selectSignSealUrl,caseApplicationDetail } from "@/api/awardManagement/awardManagement";
73
+import { caseLogRecordList } from "@/api/caseManagement/caseManagement";
73 74
 import { adjudicationArchives, videoList } from "@/api/caseFiling/caseFiling";
74 75
 import archiveDetailsDialog from "./components/archiveDetailsDialog.vue";
75 76
 export default {
@@ -97,7 +98,9 @@ export default {
97 98
       detailform: {}, //详情数据
98 99
       showarchiveDetails: false, //详情数据弹框
99 100
       flagLoading: false, //详情弹框loading
100
-      videoList:""
101
+      videoList:"",
102
+      caseDetail:{},
103
+      caseLog:null
101 104
     };
102 105
   },
103 106
   created() {
@@ -137,6 +140,8 @@ export default {
137 140
     showDetail(row) {
138 141
       this.getDetail({ id: row.id });
139 142
       this.getvideoList({ caseId: row.id });
143
+      this.getCaseDetail({ id: row.id })
144
+      this.getCaseLog({caseAppliId :row.id})
140 145
       this.showarchiveDetails = true;
141 146
       this.flagLoading = true;
142 147
     },
@@ -153,10 +158,24 @@ export default {
153 158
     /** 查询详情 */
154 159
     getDetail(parms) {
155 160
       adjudicationArchives(parms).then((res) => {
156
-        this.detailform = res.data;
157
-        this.flagLoading = false;
161
+        // console.log(res,"PPPPPPPPPPPPPPPPPPPPPPPPP");
162
+        this.detailform = res.data.logisticsInfoVOList;
158 163
       });
159 164
     },
165
+    // 查询案件详情
166
+    getCaseDetail(params){
167
+      caseApplicationDetail(params).then(res=>{
168
+        this.caseDetail = res.data;
169
+        this.flagLoading = false;
170
+      })
171
+    },
172
+    // 查看案件日志
173
+    getCaseLog(params){
174
+      caseLogRecordList(params).then(res=>{
175
+        console.log(res,"LLLLLLLLLLL");
176
+        this.caseLog = res.rows;
177
+      })
178
+    }
160 179
   },
161 180
 };
162 181
 </script>

+ 14
- 13
src/views/caseFiling/components/archiveDetailsDialog.vue Просмотреть файл

@@ -8,19 +8,19 @@
8 8
         <div class="noData" v-if="noData">暂无数据!</div>
9 9
         <el-tabs v-model="activeName" @tab-click="handleClick">
10 10
           <el-tab-pane label="案件信息" name="first">
11
-            <caseInfo :caseApplicationObj="caseApplicationObj"></caseInfo>
11
+            <caseInfo :caseApplicationObj="caseDetail"></caseInfo>
12 12
           </el-tab-pane>
13 13
           <el-tab-pane label="案件日志" name="second">
14
-            <caselogInfo :caselogDataArr="caselogDataArr"></caselogInfo>
14
+            <caselogInfo :caselogDataArr="caseLog"></caselogInfo>
15 15
           </el-tab-pane>
16 16
           <el-tab-pane label="快递信息" name="third">
17
-            <expressDeliveryInfo :deliveryDataArr="deliveryDataArr"></expressDeliveryInfo>
17
+            <expressDeliveryInfo :deliveryDataArr="detailform"></expressDeliveryInfo>
18 18
           </el-tab-pane>
19
-          <el-tab-pane style="display: flex;justify-content: space-between;flex-wrap: wrap;" label="案件视频" name="four">
19
+          <!-- <el-tab-pane label="案件视频" name="fourth"> -->
20 20
             <!-- <div @click="getVideo">chakanshipin</div> -->
21
-            <el-empty description="暂无视频" v-if="!videoFlag"></el-empty>
21
+            <!-- <el-empty description="暂无视频" v-if="!videoFlag"></el-empty>
22 22
             <video style="background-color: #181717;width: 400px;height: 200px;margin: 30px;" v-if="videoFlag" :src="headPath + item.annexPath" controls="controls" v-for="(item,index) in videoUrl" :key="index"></video>
23
-          </el-tab-pane>
23
+          </el-tab-pane> -->
24 24
         </el-tabs>
25 25
       </div>
26 26
       <div slot="footer" class="dialog-footer">
@@ -35,7 +35,7 @@ import caseInfo from "./caseInfo.vue";
35 35
 import caselogInfo from "./caselogInfo.vue";
36 36
 import expressDeliveryInfo from "./expressDeliveryInfo.vue";
37 37
 export default {
38
-  props: ["showarchiveDetails", "detailform", "flagLoading", "videoList"],
38
+  props: ["showarchiveDetails", "detailform", "flagLoading", "videoList","caseDetail","caseLog"],
39 39
   components: {
40 40
     caseInfo,
41 41
     caselogInfo,
@@ -49,17 +49,17 @@ export default {
49 49
       deliveryDataArr: [], //快递信息
50 50
       noData: false,
51 51
       videoUrl:[],
52
-      headPath:"",
52
+      headPath:window.location.origin + "/API",
53 53
       videoFlag:false
54 54
     };
55 55
   },
56 56
   watch: {
57
-    detailform(newValue) {
58
-      this.headPath = window.location.origin + "/API";
57
+    showarchiveDetails(newValue) {
58
+      // this.headPath = ;
59 59
       if (newValue) {
60
-        this.caseApplicationObj = this.detailform.caseApplication;
61
-        this.caselogDataArr = this.detailform.caseLogRecordList;
62
-        this.deliveryDataArr = this.detailform.logisticsInfoVOList;
60
+        // this.caseApplicationObj = this.detailform.caseApplication;
61
+        // this.caselogDataArr = this.detailform.caseLogRecordList;
62
+        // this.deliveryDataArr = this.detailform.logisticsInfoVOList;
63 63
       }
64 64
     },
65 65
   },
@@ -97,6 +97,7 @@ export default {
97 97
 ::v-deep .el-tabs__content {
98 98
   height: 700px;
99 99
   overflow-y: scroll;
100
+  padding-bottom: 10%;
100 101
 }
101 102
 
102 103
 .loading {

+ 0
- 0
src/views/caseFiling/components/videoList.vue Просмотреть файл


+ 2
- 1
src/views/caseManagement/caseList.vue Просмотреть файл

@@ -199,7 +199,7 @@
199 199
     </evidenceDialog>
200 200
 
201 201
     <!-- 开庭时间修改 -->
202
-    <timeDialog :timeVisable="timeVisable" @getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData">
202
+    <timeDialog :timeVisable="timeVisable" @getcaseApply="getcaseApply" @cancelTime="cancelTime" :timeData="timeData" :queryParams="queryParams">
203 203
     </timeDialog>
204 204
     <!-- 批量操作弹窗 -->
205 205
     <operateDialog :queryParams="queryParams" :operateStatus="operateStatus" :operateVisable="operateVisable"
@@ -685,6 +685,7 @@ export default {
685 685
       selectCaseApply({ id }).then((res) => {
686 686
         // this.visible = true;
687 687
         // this.formData = res.data;
688
+        this.form.caseName = res.data.caseName;
688 689
         this.adjudicatename = {
689 690
           applicantName: res.data.applicantName,
690 691
           respondentName: res.data.respondentName,

+ 12
- 0
src/views/caseManagement/components/caseentryDialog.vue Просмотреть файл

@@ -15,6 +15,11 @@
15 15
               <el-input v-model="formData.caseNum" placeholder="请输入案件编号" :disabled="flag == '1'" />
16 16
             </el-form-item>
17 17
           </el-col>
18
+          <el-col :span="12">
19
+            <el-form-item label="案件名称:" prop="caseName">
20
+              <el-input v-model="formData.caseName" placeholder="请输入案件名称" :disabled="flag == '1'" />
21
+            </el-form-item>
22
+          </el-col>
18 23
           <el-col :span="12">
19 24
             <el-form-item label="案件标的:" prop="caseSubjectAmount">
20 25
               <el-input v-model="formData.caseSubjectAmount" placeholder="请输入案件标的"
@@ -622,6 +627,13 @@ export default {
622 627
             trigger: "blur",
623 628
           },
624 629
         ],
630
+        caseName: [
631
+          {
632
+            required: true,
633
+            message: "案件名称不能为空",
634
+            trigger: "blur",
635
+          },
636
+        ],
625 637
         loanStartDate: [
626 638
           {
627 639
             required: true,

+ 10
- 3
src/views/caseManagement/components/courtReviewDialog.vue Просмотреть файл

@@ -39,7 +39,7 @@
39 39
         </el-tag>
40 40
       </div>
41 41
       <div v-if="noArbitrator || isAgreePendTral == 0">
42
-        <el-table :data="dataList" style="width: 100%" @selection-change="handleSelectionChange">
42
+        <el-table ref="selectTable" :data="dataList" style="width: 100%" @selection-change="handleSelectionChange">
43 43
           <el-table-column type="selection" width="55" v-if="noArbitrator || isAgreePendTral == 0">
44 44
           </el-table-column>
45 45
           <el-table-column label="仲裁员姓名" align="center" prop="nickName" :show-overflow-tooltip="true" />
@@ -67,7 +67,9 @@ export default {
67 67
   data() {
68 68
     return {
69 69
       hearDate: "",
70
-      courtReviewform: {},
70
+      courtReviewform: {
71
+        hearDate:null
72
+      },
71 73
       noArbitrator: false,
72 74
       isAgreePendTral: 1,
73 75
       total: 0,
@@ -87,9 +89,10 @@ export default {
87 89
     this.getarbitrAtor();
88 90
   },
89 91
   watch: {
90
-    showformateCourt(val) {
92
+    showcourtReview(val) {
91 93
       if (val) {
92 94
         this.isAgreePendTral = 1;
95
+        this.courtReviewform.hearDate = null
93 96
       }
94 97
     },
95 98
     form: {
@@ -112,6 +115,10 @@ export default {
112 115
     },
113 116
     // 勾选仲裁员
114 117
     handleSelectionChange(val) {
118
+      if (val.length > 1) {
119
+        this.$refs.selectTable.clearSelection();
120
+        this.$refs.selectTable.toggleRowSelection(val.pop());
121
+      }
115 122
       this.arbitrators = [];
116 123
       val.forEach((item) => {
117 124
         this.arbitrators.push({

+ 5
- 0
src/views/caseManagement/components/formateCourtDialog.vue Просмотреть файл

@@ -40,6 +40,7 @@
40 40
       <div v-if="noArbitrator || isAgreePendTral == 0">
41 41
         <el-table
42 42
           :data="dataList"
43
+          ref="selectTable"
43 44
           style="width: 100%"
44 45
           @selection-change="handleSelectionChange"
45 46
         >
@@ -148,6 +149,10 @@ export default {
148 149
     },
149 150
     // 勾选仲裁员
150 151
     handleSelectionChange(val) {
152
+      if (val.length > 1) {
153
+        this.$refs.selectTable.clearSelection();
154
+        this.$refs.selectTable.toggleRowSelection(val.pop());
155
+      }
151 156
       this.arbitrators = [];
152 157
       val.forEach((item) => {
153 158
         this.arbitrators.push({

+ 7
- 0
src/views/caseManagement/components/payDialog.vue Просмотреть файл

@@ -95,6 +95,10 @@ export default {
95 95
     },
96 96
     //选择支付方式(线上,线下)
97 97
     changPayType(data) {
98
+      if(data == 1){
99
+        document.getElementById("qrcodeImg").innerHTML = "";
100
+        this.payMain = ""
101
+      }
98 102
       this.submitForm.payType = data;
99 103
     },
100 104
     beforeUpload(flie, fileList) {
@@ -198,6 +202,9 @@ export default {
198 202
   watch:{
199 203
     openPay(val){
200 204
       if(val){
205
+      this.submitForm.payOrderList = []
206
+      this.paySelect = 1;
207
+      this.fileList = [];
201 208
       this.filedata.id = this.payId;
202 209
       this.submitForm.caseId = this.payId;
203 210
       }

+ 2
- 2
src/views/caseManagement/components/timeDialog.vue Просмотреть файл

@@ -29,7 +29,7 @@ import { updateHeardate } from '@/api/caseManagement/caseManagement'
29 29
 import { getToken } from "@/utils/auth";
30 30
 import moment from "moment";
31 31
 export default {
32
-    props: ["timeVisable", "timeData"],
32
+    props: ["timeVisable", "timeData","queryParams"],
33 33
     data() {
34 34
         return {
35 35
             loanStartDate: "",
@@ -60,7 +60,7 @@ export default {
60 60
             updateHeardate(data).then(res => {
61 61
                 this.$modal.msgSuccess("修改成功");
62 62
                 this.cancel();
63
-                this.$emit("getcaseApply");
63
+                this.$emit("getcaseApply",this.queryParams);
64 64
             })
65 65
         },
66 66
         submitTime() {

+ 6
- 2
src/views/caseManagement/components/trialincourtDialog.vue Просмотреть файл

@@ -264,6 +264,7 @@ export default {
264 264
     return {
265 265
       formData: {},
266 266
       user: "",
267
+      userId:1,
267 268
       showArbitrationresults: false,
268 269
       form2: {},
269 270
       applicateArr: [], //申请人案件资料
@@ -278,6 +279,7 @@ export default {
278 279
     showtrialincourt: {
279 280
       handler(val) {
280 281
         if (val) {
282
+          this.getUser();
281 283
           this.formData = this.form;
282 284
           this.applicateArr = [];
283 285
           this.quiltArr = [];
@@ -314,7 +316,7 @@ export default {
314 316
     },
315 317
   },
316 318
   created() {
317
-    this.getUser();
319
+    
318 320
   },
319 321
   methods: {
320 322
     // 详情显示,展示申请人案件文件
@@ -341,12 +343,14 @@ export default {
341 343
     getUser() {
342 344
       getUserProfile().then((response) => {
343 345
         this.user = response.data.userName;
346
+        this.userId =  response.data.userId;
344 347
       });
345 348
     },
346 349
     // 打开会议
347 350
     openmeeting() {
348 351
       window.open(
349
-        `https://txroom.xayunmei.com/#/home?name=${this.user}&id=${this.formData.id}`
352
+        // `http://localhost:8081/#/home?name=${this.user}&id=${this.formData.id}&userId=${this.userId}`
353
+        `https://txroom.xayunmei.com/#/home?name=${this.user}&id=${this.formData.id}&userId=${this.userId}`
350 354
       );
351 355
     },
352 356
     // 提交仲裁结果

+ 12
- 2
src/views/deliveryRecord/emailRecord.vue Просмотреть файл

@@ -22,6 +22,7 @@
22 22
             <!-- <el-table-column label="证件号码" align="center" prop="caseNum" :show-overflow-tooltip="true" /> -->
23 23
             <el-table-column label="邮箱地址" align="center" prop="mailAddress" />
24 24
             <el-table-column label="发送时间" align="center" prop="sendTime" :show-overflow-tooltip="true" />
25
+            <el-table-column label="发送状态" align="center" prop="sendStatus" />
25 26
             <!-- <el-table-column label="文书类型" align="center" prop="hearDate" :show-overflow-tooltip="true" /> -->
26 27
             <!-- 缴费人 -->
27 28
             <!-- <el-table-column label="案件状态" align="center" prop="caseStatusName" /> -->
@@ -29,7 +30,7 @@
29 30
         </el-table>
30 31
         <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
31 32
             @pagination="getList(queryParams)" />
32
-       
33
+
33 34
     </div>
34 35
 </template>
35 36
   
@@ -42,7 +43,7 @@ import { getDicts } from '@/api/system/dict/data.js'
42 43
 export default {
43 44
     name: "paymentList",
44 45
     dicts: ["case_status"],
45
-    components: { },
46
+    components: {},
46 47
     data() {
47 48
         return {
48 49
             queryParams: {
@@ -83,6 +84,15 @@ export default {
83 84
             this.loading = true;
84 85
             emailList(parms).then((response) => {
85 86
                 this.dataList = response.rows;
87
+                this.dataList.forEach(item => {
88
+                    if (item.sendStatus == 0) {
89
+                        item.sendStatus = "未发送"
90
+                    } else if (item.sendStatus == 1) {
91
+                        item.sendStatus = "已发送"
92
+                    } else {
93
+                        item.sendStatus = "未发送"
94
+                    }
95
+                })
86 96
                 this.total = response.total;
87 97
                 this.loading = false;
88 98
             });

+ 10
- 0
src/views/deliveryRecord/smsRecord.vue Просмотреть файл

@@ -20,6 +20,7 @@
20 20
             <el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
21 21
             <el-table-column label="手机号" align="center" prop="phone" :show-overflow-tooltip="true" />
22 22
             <el-table-column label="发送时间" align="center" prop="sendTime" />
23
+            <el-table-column label="发送状态" align="center" prop="sendStatus" />
23 24
             <el-table-column label="发送内容" align="center" prop="sendContent" :show-overflow-tooltip="true" />
24 25
         </el-table>
25 26
         <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
@@ -77,6 +78,15 @@ export default {
77 78
             this.loading = true;
78 79
             smsList(data,params).then((response) => {
79 80
                 this.dataList = response.rows;
81
+                this.dataList.forEach(item=>{
82
+                    if(item.sendStatus == 0){
83
+                        item.sendStatus = "未发送"
84
+                    }else if(item.sendStatus == 1){
85
+                        item.sendStatus = "已发送"
86
+                    }else{
87
+                        item.sendStatus = "未发送"
88
+                    }
89
+                })
80 90
                 this.total = response.total;
81 91
                 this.loading = false;
82 92
             });

+ 2
- 2
src/views/officialSeal/officialSealList.vue Просмотреть файл

@@ -117,12 +117,12 @@ export default {
117 117
                 this.total = response.total;
118 118
                 this.loading = false;
119 119
                 this.dataList.forEach(item => {
120
-                    if (item.identifyStatus == 0) {
120
+                    if (item.identifyStatus == 0 || item.identifyStatus == null) {
121 121
                         item.identifyStatus = '未认证'
122 122
                     } else {
123 123
                         item.identifyStatus = '已认证'
124 124
                     }
125
-                    if (item.isUse == 0) {
125
+                    if (item.isUse == 0 || item.isUse == null) {
126 126
                         item.isUse = '未启用'
127 127
                     } else {
128 128
                         item.isUse = '已启用'