ソースを参照

处理日志界面修改

seimin 3 年 前
コミット
e17a50d690
共有6 個のファイルを変更した234 個の追加39 個の削除を含む
  1. 41 3
      src/views/againAssign.vue
  2. 33 3
      src/views/closed.vue
  3. 41 3
      src/views/grabSheet.vue
  4. 39 10
      src/views/order.vue
  5. 41 11
      src/views/processing.vue
  6. 39 9
      src/views/solved.vue

+ 41 - 3
src/views/againAssign.vue

@@ -128,6 +128,14 @@
128 128
               <span class="fl">逾期解决时间</span>
129 129
               <span class="fr">{{ model.incident.overdueTime }}</span>
130 130
             </p>
131
+            <p>
132
+                <span class="fl">区域</span>
133
+                <span class="fr">{{model.incident.place?model.incident.place.area.area:'--'}}</span>
134
+              </p>
135
+              <p>
136
+                <span class="fl">地点</span>
137
+                <span class="fr">{{model.incident.place?model.incident.place.place:'--'}}</span>
138
+              </p>
131 139
           </div>
132 140
           <p class="info_hide">
133 141
             <span class="fl hide" @click="hides()" v-if="!item_hides"
@@ -181,7 +189,12 @@
181 189
                       'icon-icon_zhengzaijinx': item.endTime == ''
182 190
                     }"
183 191
                   ></i>
184
-                  <span class="text1">{{ item.startTime }}</span>
192
+                  <span class="text1">
193
+                      {{item.startTime | timeFormat("MM-dd HH:mm:ss")}}
194
+                      <template v-if="item.userName">
195
+                        ,{{item.userName}}
196
+                      </template>
197
+                      </span>
185 198
                 </div>
186 199
                 <div :class="{ cont: true, blue: item.endTime != '' }">
187 200
                   <p class="text2" v-if="item.desc" v-html="item.desc"></p>
@@ -288,6 +301,7 @@ export default {
288 301
         .then(function(res) {
289 302
           console.log(res.data);
290 303
           that.model = res.data.model;
304
+          that.getProgressInfo();
291 305
         });
292 306
     },
293 307
     // 获取图片
@@ -316,7 +330,31 @@ export default {
316 330
         .then(function(res) {
317 331
           console.log(res.data);
318 332
           that.progressInfo = res.data.data;
319
-          that.progressInfo.reverse();
333
+          //处理日志startcaca
334
+          if(that.model.incident.handlerLogs){
335
+            //添加日志
336
+            that.model.incident.handlerLogs.forEach(v=>{
337
+              that.progressInfo.push({startTime:v.opTime,endTime:1,desc:v.opValue,userName:v.userName,activityName:'事件处理'});
338
+            })
339
+
340
+          }
341
+          //处理数据
342
+          that.progressInfo.forEach((v)=>{
343
+            if(!v.endTime){
344
+              v.endTime = 1;
345
+            }
346
+            v.startTime = new Date(v.startTime).getTime();
347
+          })
348
+          var kaishi = that.progressInfo.shift();
349
+          var jiedan = that.progressInfo.shift();
350
+          that.progressInfo.sort(function(o,c){
351
+            return c.startTime - o.startTime;
352
+          });
353
+          that.progressInfo.length && (that.progressInfo[0].endTime = '');
354
+          that.progressInfo.push(jiedan);
355
+          that.progressInfo.push(kaishi);
356
+          console.log(that.progressInfo)
357
+        //处理日志end
320 358
         });
321 359
     },
322 360
     //隐藏显示详情
@@ -448,7 +486,6 @@ export default {
448 486
     this.processInstanceId = this.$route.params.data.processInstanceId;
449 487
     this.id = this.$route.params.data.id;
450 488
     this.getParamsData();
451
-    this.getProgressInfo();
452 489
     this.getImgs();
453 490
     this.getHandlerUser();
454 491
     this.getCandidateGroups();
@@ -656,6 +693,7 @@ i.iconfont.blue {
656 693
               }
657 694
               .text2 {
658 695
                 color: #666;
696
+                word-break: break-all;
659 697
               }
660 698
               p {
661 699
                 padding: 0;

+ 33 - 3
src/views/closed.vue

@@ -265,7 +265,12 @@
265 265
                       'icon-icon_zhengzaijinx': item.endTime == ''
266 266
                     }"
267 267
                   ></i>
268
-                  <span class="text1">{{ item.startTime }}</span>
268
+                  <span class="text1">
269
+                      {{item.startTime | timeFormat("MM-dd HH:mm:ss")}}
270
+                      <template v-if="item.userName">
271
+                        ,{{item.userName}}
272
+                      </template>
273
+                      </span>
269 274
                 </div>
270 275
                 <div :class="{ cont: true, blue: item.endTime != '' }">
271 276
                   <p class="text2" v-if="item.desc" v-html="item.desc"></p>
@@ -336,6 +341,7 @@ export default {
336 341
           that.model = res.data.model;
337 342
           //seimin
338 343
           localStorage.setItem("modelData", JSON.stringify(that.model));
344
+          that.getProgressInfo();
339 345
         });
340 346
     },
341 347
     // 获取图片
@@ -364,7 +370,31 @@ export default {
364 370
         .then(function(res) {
365 371
           console.log(res.data);
366 372
           that.progressInfo = res.data.data;
367
-          that.progressInfo.reverse();
373
+          //处理日志startcaca
374
+          if(that.model.incident.handlerLogs){
375
+            //添加日志
376
+            that.model.incident.handlerLogs.forEach(v=>{
377
+              that.progressInfo.push({startTime:v.opTime,endTime:1,desc:v.opValue,userName:v.userName,activityName:'事件处理'});
378
+            })
379
+
380
+          }
381
+          //处理数据
382
+          that.progressInfo.forEach((v)=>{
383
+            if(!v.endTime){
384
+              v.endTime = 1;
385
+            }
386
+            v.startTime = new Date(v.startTime).getTime();
387
+          })
388
+          var kaishi = that.progressInfo.shift();
389
+          var jiedan = that.progressInfo.shift();
390
+          that.progressInfo.sort(function(o,c){
391
+            return c.startTime - o.startTime;
392
+          });
393
+          that.progressInfo.length && (that.progressInfo[0].endTime = '');;
394
+          that.progressInfo.push(jiedan);
395
+          that.progressInfo.push(kaishi);
396
+          console.log(that.progressInfo)
397
+        //处理日志end
368 398
         });
369 399
     },
370 400
     //隐藏显示详情
@@ -413,7 +443,6 @@ export default {
413 443
       ? this.$route.params.data.id
414 444
       : JSON.parse(localStorage.getItem("modelData")).incident.id;
415 445
     this.getParamsData();
416
-    this.getProgressInfo();
417 446
     this.getImgs();
418 447
   }
419 448
 };
@@ -628,6 +657,7 @@ i.iconfont {
628 657
               }
629 658
               .text2 {
630 659
                 color: #666;
660
+                word-break: break-all;
631 661
               }
632 662
               p {
633 663
                 padding: 0;

+ 41 - 3
src/views/grabSheet.vue

@@ -94,6 +94,14 @@
94 94
                 <span class="fl">逾期解决时间</span>
95 95
                 <span class="fr">{{model.incident.overdueTime||''}}</span>
96 96
               </p>
97
+              <p>
98
+                <span class="fl">区域</span>
99
+                <span class="fr">{{model.incident.place?model.incident.place.area.area:'--'}}</span>
100
+              </p>
101
+              <p>
102
+                <span class="fl">地点</span>
103
+                <span class="fr">{{model.incident.place?model.incident.place.place:'--'}}</span>
104
+              </p>
97 105
             </div>
98 106
             <p class="info_hide">
99 107
               <span class="fl hide" @click="hides()" v-if="!item_hides">展开详情 >></span>
@@ -117,7 +125,12 @@
117 125
                     <i
118 126
                       :class="{'iconfont':true, 'icon-icon_weizuo':item.endTime!='','icon-icon_zhengzaijinx':item.endTime=='' }"
119 127
                     ></i>
120
-                    <span class="text1">{{item.startTime}}</span>
128
+                    <span class="text1">
129
+                      {{item.startTime | timeFormat("MM-dd HH:mm:ss")}}
130
+                      <template v-if="item.userName">
131
+                        ,{{item.userName}}
132
+                      </template>
133
+                      </span>
121 134
                   </div>
122 135
                   <div
123 136
                     :class="{'cont':true,'blue':item.endTime!='' }"
@@ -198,6 +211,7 @@ export default {
198 211
           }
199 212
           //seimin
200 213
           localStorage.setItem('modelData',JSON.stringify(that.model))
214
+          that.getProgressInfo();
201 215
         });
202 216
     },
203 217
     // 获取图片
@@ -226,7 +240,31 @@ export default {
226 240
         .then(function(res) {
227 241
           console.log(res.data);
228 242
           that.progressInfo = res.data.data;
229
-          that.progressInfo.reverse();
243
+          //处理日志startcaca
244
+          if(that.model.incident.handlerLogs){
245
+            //添加日志
246
+            that.model.incident.handlerLogs.forEach(v=>{
247
+              that.progressInfo.push({startTime:v.opTime,endTime:1,desc:v.opValue,userName:v.userName,activityName:'事件处理'});
248
+            })
249
+
250
+          }
251
+          //处理数据
252
+          that.progressInfo.forEach((v)=>{
253
+            if(!v.endTime){
254
+              v.endTime = 1;
255
+            }
256
+            v.startTime = new Date(v.startTime).getTime();
257
+          })
258
+          var kaishi = that.progressInfo.shift();
259
+          var jiedan = that.progressInfo.shift();
260
+          that.progressInfo.sort(function(o,c){
261
+            return c.startTime - o.startTime;
262
+          });
263
+          that.progressInfo.length && (that.progressInfo[0].endTime = '');;
264
+          that.progressInfo.push(jiedan);
265
+          that.progressInfo.push(kaishi);
266
+          console.log(that.progressInfo)
267
+        //处理日志end
230 268
         });
231 269
     },
232 270
     //隐藏显示详情
@@ -300,7 +338,6 @@ export default {
300 338
           .processInstanceId;
301 339
           this.id=this.$route.params.data?this.$route.params.data.id:JSON.parse(localStorage.getItem("modelData")).incident.id;
302 340
     this.getParamsData();
303
-    this.getProgressInfo();
304 341
     this.getImgs();
305 342
   }
306 343
 };
@@ -512,6 +549,7 @@ export default {
512 549
               }
513 550
               .text2 {
514 551
                 color: #666;
552
+                word-break: break-all;
515 553
               }
516 554
               p {
517 555
                 padding: 0;

+ 39 - 10
src/views/order.vue

@@ -15,13 +15,13 @@
15 15
                 @click="toInfo('progress')"
16 16
               >处理进度</a>
17 17
             </div>
18
-            <div class="fl" :class="{'p50':model.incident.handlerUser.id!=loginUser.id}">
18
+            <!-- <div class="fl" :class="{'p50':model.incident.handlerUser.id!=loginUser.id}">
19 19
               <a
20 20
                 :class="{active:actives=='handlerLog'}"
21 21
                 href="javascript:;"
22 22
                 @click="toInfo('handlerLog')"
23 23
               >处理日志</a>
24
-            </div>
24
+            </div> -->
25 25
             <div class="fl" v-if="model.incident.handlerUser.id==loginUser.id">
26 26
               <a :class="{active:actives=='jd'}" href="javascript:;" @click="toInfo('jd')">接单</a>
27 27
             </div>
@@ -137,7 +137,7 @@
137 137
                 </p>
138 138
               </div>
139 139
             </div>
140
-            <HandlerLog :data="model.incident.handlerLogs" id="handlerLog"></HandlerLog>
140
+            <!-- <HandlerLog :data="model.incident.handlerLogs" id="handlerLog"></HandlerLog> -->
141 141
             <div class="label" id="progress">处理进度</div>
142 142
             <div :class="{'progress':true,'progressHide':!pro_hides}" id="progressBox">
143 143
               <div class="progress_info" v-for="item in progressInfo">
@@ -147,7 +147,12 @@
147 147
                     <i
148 148
                       :class="{'iconfont':true, 'icon-icon_weizuo':item.endTime!='','icon-icon_zhengzaijinx':item.endTime=='' }"
149 149
                     ></i>
150
-                    <span class="text1">{{item.startTime}}</span>
150
+                    <span class="text1">
151
+                      {{item.startTime | timeFormat("MM-dd HH:mm:ss")}}
152
+                      <template v-if="item.userName">
153
+                        ,{{item.userName}}
154
+                      </template>
155
+                      </span>
151 156
                   </div>
152 157
                   <div :class="{'cont':true,'blue':item.endTime!='' }">
153 158
                     <p class="text2" v-if="item.desc" v-html="item.desc"></p>
@@ -188,7 +193,6 @@
188 193
 <script>
189 194
 import LoadIng from "./../views/loading.vue";
190 195
 import PrompTing from "./../views/prompting.vue";
191
-import HandlerLog from "./../views/handlerLog.vue";
192 196
 export default {
193 197
   data() {
194 198
     return {
@@ -221,7 +225,6 @@ export default {
221 225
   components: {
222 226
     LoadIng,
223 227
     PrompTing,
224
-    HandlerLog
225 228
   },
226 229
   methods: {
227 230
     //   获取事件数据
@@ -240,6 +243,7 @@ export default {
240 243
           that.model = res.data.model;
241 244
           //seimin
242 245
           localStorage.setItem('modelData',JSON.stringify(that.model))
246
+          that.getProgressInfo();
243 247
         });
244 248
     },
245 249
     // 获取图片
@@ -268,7 +272,31 @@ export default {
268 272
         .then(function(res) {
269 273
           console.log(res.data);
270 274
           that.progressInfo = res.data.data;
271
-          that.progressInfo.reverse();
275
+          //处理日志startcaca
276
+          if(that.model.incident.handlerLogs){
277
+            //添加日志
278
+            that.model.incident.handlerLogs.forEach(v=>{
279
+              that.progressInfo.push({startTime:v.opTime,endTime:1,desc:v.opValue,userName:v.userName,activityName:'事件处理'});
280
+            })
281
+
282
+          }
283
+          //处理数据
284
+          that.progressInfo.forEach((v)=>{
285
+            if(!v.endTime){
286
+              v.endTime = 1;
287
+            }
288
+            v.startTime = new Date(v.startTime).getTime();
289
+          })
290
+          var kaishi = that.progressInfo.shift();
291
+          var jiedan = that.progressInfo.shift();
292
+          that.progressInfo.sort(function(o,c){
293
+            return c.startTime - o.startTime;
294
+          });
295
+          that.progressInfo.length && (that.progressInfo[0].endTime = '');
296
+          that.progressInfo.push(jiedan);
297
+          that.progressInfo.push(kaishi);
298
+          console.log(that.progressInfo)
299
+        //处理日志end
272 300
         });
273 301
     },
274 302
     //隐藏显示详情
@@ -365,7 +393,7 @@ export default {
365 393
           .processInstanceId;
366 394
           this.id=this.$route.params.data?this.$route.params.data.id:JSON.parse(localStorage.getItem("modelData")).incident.id;
367 395
     this.getParamsData();
368
-    this.getProgressInfo();
396
+
369 397
     this.getImgs();
370 398
   }
371 399
 };
@@ -406,10 +434,10 @@ i.iconfont.blue {
406 434
     top: 0.88rem;
407 435
 
408 436
     div {
409
-      width: 25%;
437
+      width: 33.33%;
410 438
       text-align: center;
411 439
       &.p50{
412
-        width: 33.333% ;
440
+        width: 49.99% ;
413 441
     }
414 442
       a {
415 443
         display: inline-block;
@@ -575,6 +603,7 @@ i.iconfont.blue {
575 603
               }
576 604
               .text2 {
577 605
                 color: #666;
606
+                word-break: break-all;
578 607
               }
579 608
               p {
580 609
                 padding: 0;

+ 41 - 11
src/views/processing.vue

@@ -15,7 +15,7 @@
15 15
               >事件信息</a
16 16
             >
17 17
           </div>
18
-          <div
18
+          <!-- <div
19 19
             class="fl"
20 20
             :class="{ p50: modelData.incident.handlerUser.id != loginUser.id }"
21 21
           >
@@ -24,7 +24,7 @@
24 24
               href="javascript:;"
25 25
               @click="toInfo('handlerLog')"
26 26
               >处理日志</a>
27
-          </div>
27
+          </div> -->
28 28
           <div
29 29
             class="fl"
30 30
             :class="{ p50: modelData.incident.handlerUser.id != loginUser.id }"
@@ -212,7 +212,7 @@
212 212
               </p>
213 213
             </div>
214 214
           </div>
215
-          <HandlerLog :data="modelData.incident.handlerLogs" id="handlerLog"></HandlerLog>
215
+          <!-- <HandlerLog :data="modelData.incident.handlerLogs" id="handlerLog"></HandlerLog> -->
216 216
           <div class="label" id="progress">处理进度</div>
217 217
           <div
218 218
             :class="{ progress: true, progressHide: !pro_hides }"
@@ -229,7 +229,12 @@
229 229
                       'icon-icon_zhengzaijinx': item.endTime == ''
230 230
                     }"
231 231
                   ></i>
232
-                  <span class="text1">{{ item.startTime }}</span>
232
+                  <span class="text1">
233
+                    {{ item.startTime | timeFormat("MM-dd HH:mm:ss") }}
234
+                    <template v-if="item.userName">
235
+                      ,{{item.userName}}
236
+                    </template>
237
+                  </span>
233 238
                 </div>
234 239
                 <div :class="{ cont: true, blue: item.endTime != '' }">
235 240
                   <p class="text2" v-if="item.desc" v-html="item.desc"></p>
@@ -404,7 +409,7 @@ import DatePicker from "./../components/date-picker.vue";
404 409
 import CubeExtendPopup from "./../components/extend-popup.vue";
405 410
 import LoadIng from "./../views/loading.vue";
406 411
 import PrompTing from "./../views/prompting.vue";
407
-import HandlerLog from "./../views/handlerLog.vue";
412
+// import HandlerLog from "./../views/handlerLog.vue";
408 413
 // import host from '../request/host'
409 414
 
410 415
 // 知识库类型
@@ -846,7 +851,7 @@ export default {
846 851
   },
847 852
   components: {
848 853
     LoadIng,
849
-    HandlerLog
854
+    // HandlerLog
850 855
   },
851 856
   methods: {
852 857
     //获取区域
@@ -915,6 +920,7 @@ export default {
915 920
           that.modelData = res.data.model;
916 921
           //seimin
917 922
           localStorage.setItem("modelData", JSON.stringify(that.modelData));
923
+
918 924
         });
919 925
     },
920 926
     // 获取图片
@@ -1023,7 +1029,30 @@ export default {
1023 1029
         .then(function(res) {
1024 1030
           console.log(res.data);
1025 1031
           that.progressInfo = res.data.data;
1026
-          that.progressInfo.reverse();
1032
+          //处理日志startcaca
1033
+          if(that.modelData.incident.handlerLogs){
1034
+            //添加日志
1035
+            that.modelData.incident.handlerLogs.forEach(v=>{
1036
+              that.progressInfo.push({startTime:v.opTime,endTime:1,desc:v.opValue,userName:v.userName,activityName:'事件处理'});
1037
+            })
1038
+          }
1039
+          //处理数据
1040
+          that.progressInfo.forEach((v)=>{
1041
+            if(!v.endTime){
1042
+              v.endTime = 1;
1043
+            }
1044
+            v.startTime = new Date(v.startTime).getTime();
1045
+          })
1046
+          var kaishi = that.progressInfo.shift();
1047
+          var jiedan = that.progressInfo.shift();
1048
+          that.progressInfo.sort(function(o,c){
1049
+            return c.startTime - o.startTime;
1050
+          });
1051
+          that.progressInfo.length && (that.progressInfo[0].endTime = '');;
1052
+          that.progressInfo.push(jiedan);
1053
+          that.progressInfo.push(kaishi);
1054
+          console.log(that.progressInfo)
1055
+        //处理日志end
1027 1056
         });
1028 1057
     },
1029 1058
     //隐藏显示详情
@@ -1215,6 +1244,7 @@ export default {
1215 1244
           localStorage.getItem("selectedCategoryTxt")
1216 1245
         );
1217 1246
       }
1247
+      that.getProgressInfo();
1218 1248
     },
1219 1249
     // 事件分类
1220 1250
     showCategoryPicker() {
@@ -1668,7 +1698,6 @@ export default {
1668 1698
 
1669 1699
     this.action.target += this.processInstanceId;
1670 1700
     this.getParamsData();
1671
-    this.getProgressInfo();
1672 1701
     this.getImgs();
1673 1702
     // 处理方式
1674 1703
     this.getHandleCategory();
@@ -1713,7 +1742,7 @@ export default {
1713 1742
     CubeExtendPopup,
1714 1743
     LoadIng,
1715 1744
     PrompTing,
1716
-    HandlerLog
1745
+    // HandlerLog
1717 1746
   }
1718 1747
 };
1719 1748
 </script>
@@ -1888,10 +1917,10 @@ i.iconfont.blue {
1888 1917
     top: 0.88rem;
1889 1918
     z-index: 9;
1890 1919
     div {
1891
-      width: 25%;
1920
+      width: 33.33%;
1892 1921
       text-align: center;
1893 1922
       &.p50 {
1894
-        width: 33.33%;
1923
+        width: 49.99%;
1895 1924
       }
1896 1925
       a {
1897 1926
         display: inline-block;
@@ -2057,6 +2086,7 @@ i.iconfont.blue {
2057 2086
               }
2058 2087
               .text2 {
2059 2088
                 color: #666;
2089
+                word-break: break-all;
2060 2090
               }
2061 2091
               p {
2062 2092
                 padding: 0;

+ 39 - 9
src/views/solved.vue

@@ -20,14 +20,14 @@
20 20
               >处理信息</a
21 21
             >
22 22
           </div>
23
-          <div class="fl">
23
+          <!-- <div class="fl">
24 24
             <a
25 25
               :class="{ active: actives == 'handlerLog' }"
26 26
               href="javascript:;"
27 27
               @click="toInfo('handlerLog')"
28 28
               >处理日志</a
29 29
             >
30
-          </div>
30
+          </div> -->
31 31
           <div class="fl">
32 32
             <a
33 33
               :class="{ active: actives == 'progress' }"
@@ -234,7 +234,7 @@
234 234
                 <span class="fl">转派原因</span>
235 235
                 <span class="fr" >{{model.transferReason}}</span>
236 236
               </p> -->
237
-          <HandlerLog :data="model.incident.handlerLogs" id="handlerLog"></HandlerLog>
237
+          <!-- <HandlerLog :data="model.incident.handlerLogs" id="handlerLog"></HandlerLog> -->
238 238
           <div class="label" id="progress">处理进度</div>
239 239
           <div
240 240
             :class="{ progress: true, progressHide: !pro_hides }"
@@ -251,7 +251,12 @@
251 251
                       'icon-icon_zhengzaijinx': item.endTime == ''
252 252
                     }"
253 253
                   ></i>
254
-                  <span class="text1">{{ item.startTime }}</span>
254
+                  <span class="text1">
255
+                    {{ item.startTime | timeFormat("MM-dd HH:mm:ss") }}
256
+                    <template v-if="item.userName">
257
+                      ,{{item.userName}}
258
+                    </template>
259
+                  </span>
255 260
                 </div>
256 261
                 <div :class="{ cont: true, blue: item.endTime != '' }">
257 262
                   <p class="text2" v-if="item.desc" v-html="item.desc"></p>
@@ -313,7 +318,7 @@
313 318
 </template>
314 319
 <script>
315 320
 import LoadIng from "./../views/loading.vue";
316
-import HandlerLog from "./../views/handlerLog.vue";
321
+// import HandlerLog from "./../views/handlerLog.vue";
317 322
 export default {
318 323
   data() {
319 324
     return {
@@ -349,7 +354,7 @@ export default {
349 354
   },
350 355
   components: {
351 356
     LoadIng,
352
-    HandlerLog
357
+    // HandlerLog
353 358
   },
354 359
   methods: {
355 360
     //   获取事件数据
@@ -371,6 +376,7 @@ export default {
371 376
           that.model.msgflag = "已解决";
372 377
           //seimin
373 378
           localStorage.setItem("modelData", JSON.stringify(that.model));
379
+          that.getProgressInfo();
374 380
         });
375 381
     },
376 382
     // 获取图片
@@ -399,7 +405,30 @@ export default {
399 405
         .then(function(res) {
400 406
           console.log(res.data);
401 407
           that.progressInfo = res.data.data;
402
-          that.progressInfo.reverse();
408
+          //处理日志startcaca
409
+          if(that.model.incident.handlerLogs){
410
+            //添加日志
411
+            that.model.incident.handlerLogs.forEach(v=>{
412
+              that.progressInfo.push({startTime:v.opTime,endTime:1,desc:v.opValue,userName:v.userName,activityName:'事件处理'});
413
+            })
414
+          }
415
+          //处理数据
416
+          that.progressInfo.forEach((v)=>{
417
+            if(!v.endTime){
418
+              v.endTime = 1;
419
+            }
420
+            v.startTime = new Date(v.startTime).getTime();
421
+          })
422
+          var kaishi = that.progressInfo.shift();
423
+          var jiedan = that.progressInfo.shift();
424
+          that.progressInfo.sort(function(o,c){
425
+            return c.startTime - o.startTime;
426
+          });
427
+          that.progressInfo.length && (that.progressInfo[0].endTime = '');;
428
+          that.progressInfo.push(jiedan);
429
+          that.progressInfo.push(kaishi);
430
+          console.log(that.progressInfo)
431
+        //处理日志end
403 432
         });
404 433
     },
405 434
     // 获取结果类型
@@ -540,7 +569,7 @@ export default {
540 569
       ? this.$route.params.data.id
541 570
       : JSON.parse(localStorage.getItem("modelData")).incident.id;
542 571
     this.getParamsData();
543
-    this.getProgressInfo();
572
+
544 573
     this.getImgs();
545 574
     this.getHandlerRes();
546 575
     this.getDegree();
@@ -587,7 +616,7 @@ i.iconfont {
587 616
     position: fixed;
588 617
     top: 0.88rem;
589 618
     div {
590
-      width: 25%;
619
+      width: 33.33%;
591 620
       text-align: center;
592 621
       a {
593 622
         display: inline-block;
@@ -776,6 +805,7 @@ i.iconfont {
776 805
               }
777 806
               .text2 {
778 807
                 color: #666;
808
+                word-break: break-all;
779 809
               }
780 810
               p {
781 811
                 padding: 0;