Browse Source

报修端大改

seimin 1 year ago
parent
commit
7d253aa27c
4 changed files with 156 additions and 334 deletions
  1. 13 9
      src/views/evaluate.vue
  2. 130 261
      src/views/incidentDetails.vue
  3. 1 25
      src/views/incidentList.vue
  4. 12 39
      src/views/indes.vue

+ 13 - 9
src/views/evaluate.vue

@@ -5,7 +5,7 @@
5
                 报修信息
5
                 报修信息
6
             </div>
6
             </div>
7
             <div class="state">
7
             <div class="state">
8
-                <div>报修编号:&nbsp;{{data.incident.incidentsign}}</div>
8
+                <div>工单单号:&nbsp;{{data.incidentsign}}</div>
9
                 <div :class="stateClassFn(data.state.name)">{{data.state.name}}</div>
9
                 <div :class="stateClassFn(data.state.name)">{{data.state.name}}</div>
10
             </div>
10
             </div>
11
             <div class="description">
11
             <div class="description">
@@ -39,7 +39,7 @@
39
                     报修地址:
39
                     报修地址:
40
                 </div>
40
                 </div>
41
                 <div>
41
                 <div>
42
-                    {{data.address}}
42
+                    {{data.houseNumber}}
43
                 </div>
43
                 </div>
44
             </div>
44
             </div>
45
         </div>
45
         </div>
@@ -59,13 +59,16 @@
59
             <div class="btn" @click="evaluate()">提&nbsp;交&nbsp;评&nbsp;价</div>
59
             <div class="btn" @click="evaluate()">提&nbsp;交&nbsp;评&nbsp;价</div>
60
         </div>
60
         </div>
61
         <promp-ting :conents="promptingConent" :status="promptingStatus"></promp-ting>
61
         <promp-ting :conents="promptingConent" :status="promptingStatus"></promp-ting>
62
+        <load-ing v-show="loadShow"></load-ing>
62
     </div>
63
     </div>
63
 </template>
64
 </template>
64
 <script>
65
 <script>
65
 import PrompTing from './../views/prompting.vue'
66
 import PrompTing from './../views/prompting.vue'
67
+import LoadIng from "./../views/loading.vue";
66
 export default {
68
 export default {
67
     data(){
69
     data(){
68
         return{
70
         return{
71
+            loadShow: false,
69
             data:"",
72
             data:"",
70
             imgs_wechatRequesterIncident:[],
73
             imgs_wechatRequesterIncident:[],
71
             imgs_incident:[],
74
             imgs_incident:[],
@@ -97,12 +100,12 @@ export default {
97
             // }
100
             // }
98
             else{
101
             else{
99
                 var that=this;
102
                 var that=this;
100
-                this.$http.post('service/apply/bpm/degree',{
101
-                    "id":that.data.id,
102
-                    "degree":this.rateData===0?this.degreeDictionary[0].id:this.rateData,
103
-                    "degreeRemark":this.rateText
103
+                that.loadShow=true;
104
+                this.$http.post('service/flow/incident/task/resolve',{
105
+                    incident: {...that.data, ...{wxdegreeremark: this.rateText, wxdegree: this.rateData===0?this.degreeDictionary[0]:{id: this.rateData}}}
104
                 }).then(function(res){
106
                 }).then(function(res){
105
-                    if(res.status==200){
107
+                    that.loadShow=false;
108
+                    if(res.data.state==200){
106
                         that.promptingConent="恭喜您,评价成功!";
109
                         that.promptingConent="恭喜您,评价成功!";
107
                         that.promptingStatus=true;
110
                         that.promptingStatus=true;
108
                         $("#fade").fadeIn();
111
                         $("#fade").fadeIn();
@@ -166,7 +169,7 @@ export default {
166
               id = this.data.id;
169
               id = this.data.id;
167
             }else if(type === 'incident'){
170
             }else if(type === 'incident'){
168
               if(this.data){
171
               if(this.data){
169
-                id = this.data.processInstanceId;
172
+                id = this.data.id;
170
               } else {
173
               } else {
171
                 that['imgs_' + type] = [];
174
                 that['imgs_' + type] = [];
172
                 return;
175
                 return;
@@ -209,7 +212,8 @@ export default {
209
     mounted(){
212
     mounted(){
210
     },
213
     },
211
     components: {
214
     components: {
212
-        PrompTing
215
+      LoadIng,
216
+      PrompTing
213
     },
217
     },
214
     watch:{
218
     watch:{
215
         rate:{
219
         rate:{

+ 130 - 261
src/views/incidentDetails.vue

@@ -132,227 +132,41 @@
132
     </div>
132
     </div>
133
     <!-- 流程图 -->
133
     <!-- 流程图 -->
134
     <div class="processBox">
134
     <div class="processBox">
135
-      <div
136
-        class="process"
137
-        v-if="
138
-          processData == '不受理' ||
139
-            processData == '结束' ||
140
-            processData == '已撤回' ||
141
-            processData == '重复事件'
142
-        "
143
-      >
144
-        <div class="status">
145
-          {{ processMessage[4] ? processMessage[4].name : "" }}
135
+      <div class="progress">
136
+        <div class="progress_info" v-for="(item,index) in progressInfo" :key="index">
137
+          <div class="progress_info_L">{{ item.logType ? item.logType.name : '' }}</div>
138
+          <div class="progress_info_R">
139
+            <div class="time">
140
+              <i
141
+                :class="{
142
+                  iconfont: true,
143
+                  'icon-icon_weizuo': item.endTime != '',
144
+                  'icon-icon_zhengzaijinx': item.endTime == ''
145
+                }"
146
+              ></i>
147
+              <span class="text1">
148
+                {{ item.startTime | timeFormat("MM-dd HH:mm:ss") }}
149
+                <template v-if="item.appointorName">
150
+                  ,{{ item.appointorName }}
151
+                </template>
152
+              </span>
153
+            </div>
154
+            <div :class="{ cont: true, blue: item.endTime != '' }">
155
+              <p class="text2" v-if="item.remark" v-html="item.remark"></p>
156
+            </div>
157
+          </div>
146
         </div>
158
         </div>
147
-        <div class="ico">
148
-          <i class="iconfont icon-icon_weizuo last"></i>
149
-        </div>
150
-        <div class="time">
151
-          <template v-if="processTime[4]">
152
-            {{processTime[4].startTime | timeFormat("MM-dd HH:mm:ss")}}
153
-          </template>
154
-        </div>
155
-      </div>
156
-      <div
157
-        class="processCont"
158
-        v-if="
159
-          processData == '不受理' ||
160
-            processData == '结束' ||
161
-            processData == '已撤回' ||
162
-            processData == '重复事件'
163
-        "
164
-      >
165
-        <div class="status"></div>
166
-        <div
167
-          class="conents"
168
-          v-html="processMessage[4] ? processMessage[4].desc : ''"
169
-        ></div>
170
-      </div>
171
-      <div
172
-        class="process"
173
-        v-if="
174
-          processData == '评价' ||
175
-            (processData == '结束' && processData != '重复事件')
176
-        "
177
-      >
178
-        <div class="status">
179
-          {{ processMessage[3] ? processMessage[3].name : "" }}
180
-        </div>
181
-        <div class="ico">
182
-          <i
183
-            class="iconfont icon-icon_zhengzaijinx now"
184
-            v-if="processData == '评价'"
185
-          ></i>
186
-          <i
187
-            class="iconfont icon-icon_weizuo last"
188
-            v-if="processData != '评价'"
189
-          ></i>
190
-        </div>
191
-        <div class="time">
192
-          <template v-if="processTime[3]">
193
-            {{processTime[3].startTime | timeFormat("MM-dd HH:mm:ss")}}
194
-          </template>
195
-        </div>
196
-      </div>
197
-      <div
198
-        class="processCont"
199
-        v-if="
200
-          processData == '评价' ||
201
-            (processData == '结束' && processData != '重复事件')
202
-        "
203
-      >
204
-        <div class="status"></div>
205
-        <div
206
-          class="conents"
207
-          v-html="processMessage[3] ? processMessage[3].desc : ''"
208
-        ></div>
209
-      </div>
210
-      <div
211
-        class="process"
212
-        v-if="
213
-          processData == '处理' ||
214
-            processData == '评价' ||
215
-            (processData == '结束' && processData != '重复事件')
216
-        "
217
-      >
218
-        <div class="status">
219
-          {{ processMessage[2] ? processMessage[2].name : "" }}
220
-        </div>
221
-        <div class="ico">
222
-          <i
223
-            class="iconfont icon-icon_zhengzaijinx now"
224
-            v-if="processData == '处理'"
225
-          ></i>
226
-          <i
227
-            class="iconfont icon-icon_weizuo last"
228
-            v-else
229
-          ></i>
230
-        </div>
231
-        <div class="time">
232
-          <template v-if="processTime[2]">
233
-            {{processTime[2].startTime | timeFormat("MM-dd HH:mm:ss")}}
234
-          </template>
235
-        </div>
236
-      </div>
237
-      <div
238
-        class="processCont"
239
-        v-if="
240
-          processData == '处理' ||
241
-            processData == '评价' ||
242
-            (processData == '结束' && processData != '重复事件')
243
-        "
244
-      >
245
-        <div class="status"></div>
246
-        <div
247
-          class="conents"
248
-          v-html="processMessage[2] ? processMessage[2].desc : ''"
249
-        ></div>
250
-      </div>
251
-
252
-      <div
253
-        class="process"
254
-        v-if="
255
-          processData == '受理' ||
256
-            processData == '处理' ||
257
-            processData == '评价' ||
258
-            (processData == '结束' && processData != '重复事件')
259
-        "
260
-      >
261
-        <div class="status">
262
-          {{ processMessage[1] ? processMessage[1].name : "" }}
263
-        </div>
264
-        <div class="ico">
265
-          <i
266
-            class="iconfont icon-icon_zhengzaijinx now"
267
-            v-if="processData == '受理'"
268
-          ></i>
269
-          <i
270
-            class="iconfont icon-icon_weizuo last"
271
-            v-if="processData != '受理'"
272
-          ></i>
273
-        </div>
274
-        <div class="time">
275
-          <template v-if="processTime[1]">
276
-            {{processTime[1].startTime | timeFormat("MM-dd HH:mm:ss")}}
277
-          </template>
278
-        </div>
279
-      </div>
280
-      <div
281
-        class="processCont"
282
-        v-if="
283
-          processData == '受理' ||
284
-            processData == '处理' ||
285
-            processData == '评价' ||
286
-            (processData == '结束' && processData != '重复事件')
287
-        "
288
-      >
289
-        <div class="status"></div>
290
-        <div
291
-          class="conents"
292
-          v-html="processMessage[1] ? processMessage[1].desc : ''"
293
-        ></div>
294
-      </div>
295
-      <div class="process">
296
-        <div class="status">
297
-          {{ processMessage[0] ? processMessage[0].name : "" }}
298
-        </div>
299
-        <div class="ico">
300
-          <i
301
-            class="iconfont icon-icon_zhengzaijinx now"
302
-            v-if="processData == '申请'"
303
-          ></i>
304
-          <i
305
-            class="iconfont icon-icon_weizuo last"
306
-            v-if="processData != '申请'"
307
-          ></i>
308
-        </div>
309
-        <div class="time">
310
-          <template v-if="processTime[0]">
311
-            {{processTime[0].startTime | timeFormat("MM-dd HH:mm:ss")}}
312
-          </template>
313
-        </div>
314
-      </div>
315
-      <div class="processCont">
316
-        <div class="status"></div>
317
-        <div
318
-          class="conents lastConents"
319
-          v-html="processMessage[0] ? processMessage[0].desc : ''"
320
-        ></div>
321
-      </div>
322
-    </div>
323
-    <!-- 撤回原因 -->
324
-    <div class="label" v-if="processData == '已撤回'">
325
-      撤回原因
326
-    </div>
327
-    <div class="faultLocation" v-if="processData == '已撤回'">
328
-      <div>
329
-        撤回原因:
330
-      </div>
331
-      <div>
332
-        {{ data.retractReason || "暂无" }}
333
       </div>
159
       </div>
334
     </div>
160
     </div>
335
-    <!-- 不受理原因 -->
336
-    <div class="label" v-if="processData == '不受理'">
337
-      不受理原因
338
-    </div>
339
-    <div class="faultLocation2" v-if="processData == '不受理'">
340
-      <div>
341
-        不受理原因:
342
-      </div>
343
-      <div>
344
-        {{ data.rejectRemark || "暂无" }}
345
-      </div>
346
-    </div>
347
-    <div class="chehui" v-if="processData == '申请'">
161
+    <div class="chehui" v-if="processData == 'accept'">
348
       <div class="btn" @click="cehui()">撤&nbsp;回</div>
162
       <div class="btn" @click="cehui()">撤&nbsp;回</div>
349
       <div class="btn" @click="goToSummary()" v-if="data.duty && data.duty.addSummary == 1">维修单</div>
163
       <div class="btn" @click="goToSummary()" v-if="data.duty && data.duty.addSummary == 1">维修单</div>
350
     </div>
164
     </div>
351
-    <div class="chehui" v-if="processData == '评价'">
165
+    <div class="chehui" v-if="processData == 'close'">
352
       <div class="btn" @click="evaluate()">评&nbsp;价</div>
166
       <div class="btn" @click="evaluate()">评&nbsp;价</div>
353
       <div class="btn" @click="goToSummary()" v-if="data.duty && data.duty.addSummary == 1">维修单</div>
167
       <div class="btn" @click="goToSummary()" v-if="data.duty && data.duty.addSummary == 1">维修单</div>
354
     </div>
168
     </div>
355
-    <div class="chehui" v-if="processData != '申请' && processData != '评价' && data.duty && data.duty.addSummary == 1">
169
+    <div class="chehui" v-if="processData != 'accept' && processData != 'close' && data.duty && data.duty.addSummary == 1">
356
       <div class="btn" @click="goToSummary()">维修单</div>
170
       <div class="btn" @click="goToSummary()">维修单</div>
357
     </div>
171
     </div>
358
     <div class="fot"></div>
172
     <div class="fot"></div>
@@ -385,7 +199,8 @@ export default {
385
       shouli: "",
199
       shouli: "",
386
       chuli: "",
200
       chuli: "",
387
       pingjia: "",
201
       pingjia: "",
388
-      jieshu: ""
202
+      jieshu: "",
203
+      progressInfo: [], //处理进度
389
     };
204
     };
390
   },
205
   },
391
   methods: {
206
   methods: {
@@ -421,15 +236,14 @@ export default {
421
               icon: "cubeic-wrong"
236
               icon: "cubeic-wrong"
422
             }).show();
237
             }).show();
423
           } else {
238
           } else {
424
-            // that.loadShow=true;
239
+            that.loadShow=true;
425
             that.$http
240
             that.$http
426
-              .post("service/apply/bpm/retract", {
427
-                id: that.data.id,
428
-                retractReason: promptValue
241
+              .post("service/flow/incident/task/cancel", {
242
+                incident: {...that.data, ...{cancelRemark: promptValue}}
429
               })
243
               })
430
               .then(function(res) {
244
               .then(function(res) {
431
-                // that.loadShow=false;
432
-                if (res.status == 200) {
245
+                that.loadShow=false;
246
+                if (res.data.state == 200) {
433
                   that.promptingConent = "恭喜您,撤回成功!";
247
                   that.promptingConent = "恭喜您,撤回成功!";
434
                   that.promptingStatus = true;
248
                   that.promptingStatus = true;
435
                   $("#fade").fadeIn();
249
                   $("#fade").fadeIn();
@@ -486,35 +300,10 @@ export default {
486
     getParamsData() {
300
     getParamsData() {
487
       this.data = JSON.parse(this.$route.params.data);
301
       this.data = JSON.parse(this.$route.params.data);
488
       console.log(this.data);
302
       console.log(this.data);
489
-      if (this.data.repeat) {
490
-        this.processData = "重复事件";
491
-      } else if (this.data.state.name == "不受理") {
492
-        this.processData = "不受理";
493
-      } else if (this.data.state.name == "未受理") {
494
-        this.processData = "申请";
495
-      } else if (this.data.state.name == "处理中") {
496
-        this.processData = "处理";
497
-      } else if (this.data.state.name == "待评价") {
498
-        this.processData = "评价";
499
-      } else if (this.data.state.name == "已解决") {
500
-        this.processData = "结束";
501
-      } else if (this.data.state.name == "已撤回") {
502
-        this.processData = "已撤回";
503
-      }
504
-      console.log(this.processData);
505
-    },
506
-    getProcessTime() {
507
-      var that = this;
508
-      if (this.data.processInstanceId) {
509
-        this.$http
510
-          .post(
511
-            "service/bpm/bpm/flowTracing/" +
512
-              this.data.processInstanceId,
513
-            {}
514
-          )
515
-          .then(function(res) {
516
-            that.processTime = res.data.data;
517
-          });
303
+      if (this.data.state.value == "accept") {
304
+        this.processData = "accept";
305
+      } else if (this.data.state.value == "close" && !this.data.wxdegree) {
306
+        this.processData = "close";
518
       }
307
       }
519
     },
308
     },
520
     getImgsData(type) {
309
     getImgsData(type) {
@@ -558,21 +347,34 @@ export default {
558
         return "yichehui";
347
         return "yichehui";
559
       }
348
       }
560
     },
349
     },
561
-    getProcessMessageData() {
350
+    // 获取处理进度
351
+    getProgressInfo() {
562
       var that = this;
352
       var that = this;
563
-      this.$http
564
-        .post("service/sysinfo/data/fetchDataList/dictionary", {
565
-          idx: 0,
566
-          sum: 10,
567
-          dictionary: {
568
-            key: "wxincident_task_default"
353
+      that.$http
354
+        .post(
355
+          "/service/simple/data/fetchDataList/incidentLog",
356
+          {
357
+              "idx": 0,
358
+              "sum": 9999,
359
+              "incidentLog": {
360
+                  "incidentId": this.data.id
361
+              }
569
           }
362
           }
570
-        })
363
+        )
571
         .then(function(res) {
364
         .then(function(res) {
572
-          that.processMessage = res.data.list;
573
-          console.log(that.processMessage);
365
+          console.log(res.data);
366
+          that.progressInfo = res.data.list || [];
367
+          //处理数据
368
+          that.progressInfo.forEach(v => {
369
+            if (!v.endTime) {
370
+              v.endTime = 1;
371
+            }
372
+            v.startTime = new Date(v.startTime).getTime();
373
+          });
374
+          that.progressInfo.reverse();
375
+          console.log(that.progressInfo);
574
         });
376
         });
575
-    }
377
+    },
576
   },
378
   },
577
   mounted() {},
379
   mounted() {},
578
   components: {
380
   components: {
@@ -583,8 +385,7 @@ export default {
583
     this.getParamsData();
385
     this.getParamsData();
584
     this.getImgsData('wechatRequesterIncident');
386
     this.getImgsData('wechatRequesterIncident');
585
     this.getImgsData('incident');
387
     this.getImgsData('incident');
586
-    this.getProcessMessageData();
587
-    this.getProcessTime();
388
+    this.getProgressInfo();
588
   }
389
   }
589
 };
390
 };
590
 </script>
391
 </script>
@@ -860,3 +661,71 @@ export default {
860
   border-left: 0ch;
661
   border-left: 0ch;
861
 }
662
 }
862
 </style>
663
 </style>
664
+<style scoped lang="less">
665
+.progress {
666
+  line-height: 0.4rem;
667
+  padding: 0.2rem 0.2rem;
668
+  overflow: hidden;
669
+  transition-duration: 0.2s;
670
+  transition-timing-function: linear;
671
+  &.progressHide {
672
+    height: 1.7rem;
673
+  }
674
+  .progress_info {
675
+    overflow: hidden;
676
+    margin-bottom: 0.1rem;
677
+    &:nth-last-child(1) {
678
+      .cont {
679
+        border: none !important;
680
+      }
681
+    }
682
+    .progress_info_L {
683
+      float: left;
684
+      color: #333;
685
+      max-width: 18%;
686
+    }
687
+    .progress_info_R {
688
+      float: right;
689
+      margin-left: 0.09rem;
690
+      width: 80%;
691
+      font-size: 0.25rem;
692
+      .time {
693
+        i {
694
+          margin-left: -0.15rem;
695
+          &.icon-icon_weizuo {
696
+            color: #005495;
697
+          }
698
+          &.icon-icon_zhengzaijinx {
699
+            color: #48a843;
700
+            font-size: 0.37rem;
701
+          }
702
+        }
703
+        span {
704
+          margin-left: 0.15rem;
705
+        }
706
+      }
707
+      .cont {
708
+        border-left: 1px solid #999;
709
+        padding-left: 0.4rem;
710
+        min-height: 0.4rem;
711
+        &.blue {
712
+          border-left: 1px solid #005395;
713
+        }
714
+      }
715
+      .text1{
716
+        color: #999;
717
+        overflow: hidden;
718
+      }
719
+
720
+      .text2 {
721
+        color: #666;
722
+        word-break: break-all;
723
+        overflow: hidden;
724
+      }
725
+      p {
726
+        padding: 0;
727
+      }
728
+    }
729
+  }
730
+}
731
+</style>

+ 1 - 25
src/views/incidentList.vue

@@ -45,7 +45,7 @@
45
                           : "暂无"
45
                           : "暂无"
46
                       }}
46
                       }}
47
                     </div>
47
                     </div>
48
-                    <div>报修时间:&nbsp;{{ data.startDate }}</div>
48
+                    <div>报修时间:&nbsp;{{ data.startDate | timeFormat("yyyy-MM-dd HH:mm") }}</div>
49
                   </div>
49
                   </div>
50
                   <div
50
                   <div
51
                     class="timeBox noneBorder"
51
                     class="timeBox noneBorder"
@@ -229,12 +229,6 @@ export default {
229
         })
229
         })
230
         .then((res) => {
230
         .then((res) => {
231
           if (res.data.list.length > 0) {
231
           if (res.data.list.length > 0) {
232
-            for (var i = 0; i < res.data.list.length; i++) {
233
-              res.data.list[i].startDate = formatDate(
234
-                new Date(res.data.list[i].startDate),
235
-                "yyyy-MM-dd hh:mm"
236
-              );
237
-            }
238
             if (this.idx) {
232
             if (this.idx) {
239
               this.items = this.items.concat(res.data.list);
233
               this.items = this.items.concat(res.data.list);
240
             } else {
234
             } else {
@@ -272,12 +266,6 @@ export default {
272
           })
266
           })
273
           .then((res) => {
267
           .then((res) => {
274
             if (res.data.list.length > 0) {
268
             if (res.data.list.length > 0) {
275
-              for (var i = 0; i < res.data.list.length; i++) {
276
-                res.data.list[i].startDate = formatDate(
277
-                  new Date(res.data.list[i].startDate),
278
-                  "yyyy-MM-dd hh:mm"
279
-                );
280
-              }
281
               if (this.idx) {
269
               if (this.idx) {
282
                 this.items = this.items.concat(res.data.list);
270
                 this.items = this.items.concat(res.data.list);
283
               } else {
271
               } else {
@@ -303,12 +291,6 @@ export default {
303
         })
291
         })
304
         .then((res) => {
292
         .then((res) => {
305
           if (res.data.list.length > 0) {
293
           if (res.data.list.length > 0) {
306
-            for (var i = 0; i < res.data.list.length; i++) {
307
-              res.data.list[i].startDate = formatDate(
308
-                new Date(res.data.list[i].startDate),
309
-                "yyyy-MM-dd hh:mm"
310
-              );
311
-            }
312
             if (this.idx) {
294
             if (this.idx) {
313
               this.items = this.items.concat(res.data.list);
295
               this.items = this.items.concat(res.data.list);
314
             } else {
296
             } else {
@@ -334,12 +316,6 @@ export default {
334
           }
316
           }
335
         })
317
         })
336
         .then((res) => {
318
         .then((res) => {
337
-          for (var i = 0; i < res.data.list.length; i++) {
338
-            res.data.list[i].startDate = formatDate(
339
-              new Date(res.data.list[i].startDate),
340
-              "yyyy-MM-dd hh:mm"
341
-            );
342
-          }
343
           if (res.data.list.length > 0) {
319
           if (res.data.list.length > 0) {
344
             if (this.idx) {
320
             if (this.idx) {
345
               this.items = this.items.concat(res.data.list);
321
               this.items = this.items.concat(res.data.list);

+ 12 - 39
src/views/indes.vue

@@ -65,7 +65,7 @@
65
               <div class="head">
65
               <div class="head">
66
                 <!-- <span>{{v.requester.name}}</span> -->
66
                 <!-- <span>{{v.requester.name}}</span> -->
67
                 <span>工单单号:{{ v.incidentsign }}</span>
67
                 <span>工单单号:{{ v.incidentsign }}</span>
68
-                <span>{{ v.startDate }}</span>
68
+                <span>{{ v.startDate | timeFormat("MM-dd HH:mm") }}</span>
69
               </div>
69
               </div>
70
               <div class="cot">
70
               <div class="cot">
71
                 {{ v.description }}
71
                 {{ v.description }}
@@ -78,13 +78,6 @@
78
                 <div
78
                 <div
79
                   :class="state != 1 && state != 2 && state != 3 ? 'yesLine' : ''"
79
                   :class="state != 1 && state != 2 && state != 3 ? 'yesLine' : ''"
80
                 ></div>
80
                 ></div>
81
-                <div
82
-                  :class="
83
-                    state != 1 && state != 2 && state != 3 && state != 4
84
-                      ? 'yesLine'
85
-                      : ''
86
-                  "
87
-                ></div>
88
 
81
 
89
                 <i class="iconfont icon-icon_weizuo shenqing no" v-if="false"></i>
82
                 <i class="iconfont icon-icon_weizuo shenqing no" v-if="false"></i>
90
                 <i
83
                 <i
@@ -96,12 +89,8 @@
96
                   v-if="state == 2 || state == 1"
89
                   v-if="state == 2 || state == 1"
97
                 ></i>
90
                 ></i>
98
                 <i
91
                 <i
99
-                  class="iconfont icon-icon_weizuo pingjia no"
100
-                  v-if="state == 3 || state == 2 || state == 1"
101
-                ></i>
102
-                <i
103
                   class="iconfont icon-icon_weizuo wancheng no"
92
                   class="iconfont icon-icon_weizuo wancheng no"
104
-                  v-if="state == 4 || state == 3 || state == 2 || state == 1"
93
+                  v-if="state == 3 || state == 2 || state == 1"
105
                 ></i>
94
                 ></i>
106
 
95
 
107
                 <i
96
                 <i
@@ -117,10 +106,6 @@
117
                   v-if="state != 1 && state != 2 && state != 3"
106
                   v-if="state != 1 && state != 2 && state != 3"
118
                 ></i>
107
                 ></i>
119
                 <i
108
                 <i
120
-                  class="iconfont icon-icon_weizuo pingjia yes"
121
-                  v-if="state != 1 && state != 2 && state != 3 && state != 4"
122
-                ></i>
123
-                <i
124
                   class="iconfont icon-icon_weizuo wancheng yes"
109
                   class="iconfont icon-icon_weizuo wancheng yes"
125
                   v-if="false"
110
                   v-if="false"
126
                 ></i>
111
                 ></i>
@@ -138,10 +123,6 @@
138
                   v-if="state == 3"
123
                   v-if="state == 3"
139
                 ></i>
124
                 ></i>
140
                 <i
125
                 <i
141
-                  class="iconfont icon-icon_zhengzaijinx pingjia now"
142
-                  v-if="state == 4"
143
-                ></i>
144
-                <i
145
                   class="iconfont icon-icon_zhengzaijinx wancheng now"
126
                   class="iconfont icon-icon_zhengzaijinx wancheng now"
146
                   v-if="state == 5"
127
                   v-if="state == 5"
147
                 ></i>
128
                 ></i>
@@ -150,7 +131,6 @@
150
                 <div>申请</div>
131
                 <div>申请</div>
151
                 <div>受理</div>
132
                 <div>受理</div>
152
                 <div>处理</div>
133
                 <div>处理</div>
153
-                <div>评价</div>
154
                 <div>完成</div>
134
                 <div>完成</div>
155
               </div>
135
               </div>
156
             </div>
136
             </div>
@@ -271,20 +251,12 @@ export default {
271
           if (res.data.list.length > 0) {
251
           if (res.data.list.length > 0) {
272
             that.newRapirNoData = false;
252
             that.newRapirNoData = false;
273
             that.newRapirData = res.data.list;
253
             that.newRapirData = res.data.list;
274
-            that.newRapirData[0].startDate = formatDate(
275
-              new Date(that.newRapirData[0].startDate),
276
-              "MM-dd hh:mm"
277
-            );
278
-            if (that.newRapirData[0].state.value == "accept" || that.newRapirData[0].state.value == "storage" || that.newRapirData[0].state.value == "reassign") {
254
+            if (that.newRapirData[0].state.value == "accept" || that.newRapirData[0].state.value == "storage") {
279
               that.state = 1;
255
               that.state = 1;
280
             } else if (that.newRapirData[0].state.value == "pending") {
256
             } else if (that.newRapirData[0].state.value == "pending") {
281
               that.state = 2;
257
               that.state = 2;
282
-            } else if (that.newRapirData[0].state.value == "handler") {
258
+            } else if (that.newRapirData[0].state.value == "handler" || that.newRapirData[0].state.value == "reassign") {
283
               that.state = 3;
259
               that.state = 3;
284
-            } else if (that.newRapirData[0].state.value == "resolved") {
285
-              that.state = 4;
286
-            } else if (that.newRapirData[0].state.value == "close") {
287
-              that.state = 5;
288
             } else {
260
             } else {
289
               that.state = 5;
261
               that.state = 5;
290
             }
262
             }
@@ -571,7 +543,7 @@ export default {
571
 .newRepair .conentBox .flowChart .pits {
543
 .newRepair .conentBox .flowChart .pits {
572
   display: flex;
544
   display: flex;
573
   margin-top: 0.24rem;
545
   margin-top: 0.24rem;
574
-  padding: 0 10%;
546
+  padding: 0 22% 0 19%;
575
   position: relative;
547
   position: relative;
576
 }
548
 }
577
 .newRepair .conentBox .flowChart .pits i {
549
 .newRepair .conentBox .flowChart .pits i {
@@ -595,32 +567,33 @@ export default {
595
 }
567
 }
596
 .newRepair .conentBox .flowChart .pits .shenqing {
568
 .newRepair .conentBox .flowChart .pits .shenqing {
597
   position: absolute;
569
   position: absolute;
598
-  left: 8%;
570
+  left: 18%;
599
   top: -0.12rem;
571
   top: -0.12rem;
600
 }
572
 }
601
 .newRepair .conentBox .flowChart .pits .shouli {
573
 .newRepair .conentBox .flowChart .pits .shouli {
602
   position: absolute;
574
   position: absolute;
603
-  left: 28%;
575
+  left: 38%;
604
   top: -0.12rem;
576
   top: -0.12rem;
605
 }
577
 }
606
 .newRepair .conentBox .flowChart .pits .chuli {
578
 .newRepair .conentBox .flowChart .pits .chuli {
607
   position: absolute;
579
   position: absolute;
608
-  left: 48%;
580
+  left: 58%;
609
   top: -0.12rem;
581
   top: -0.12rem;
610
 }
582
 }
611
-.newRepair .conentBox .flowChart .pits .pingjia {
583
+/* .newRepair .conentBox .flowChart .pits .pingjia {
612
   position: absolute;
584
   position: absolute;
613
   left: 68%;
585
   left: 68%;
614
   top: -0.12rem;
586
   top: -0.12rem;
615
-}
587
+} */
616
 .newRepair .conentBox .flowChart .pits .wancheng {
588
 .newRepair .conentBox .flowChart .pits .wancheng {
617
   position: absolute;
589
   position: absolute;
618
-  left: 88%;
590
+  left: 78%;
619
   top: -0.12rem;
591
   top: -0.12rem;
620
 }
592
 }
621
 .newRepair .conentBox .flowChart .words {
593
 .newRepair .conentBox .flowChart .words {
622
   display: flex;
594
   display: flex;
623
   margin-top: 0.3rem;
595
   margin-top: 0.3rem;
596
+  padding: 0 10%;
624
 }
597
 }
625
 .newRepair .conentBox .flowChart .words div {
598
 .newRepair .conentBox .flowChart .words div {
626
   flex: 1;
599
   flex: 1;