seimin преди 1 година
родител
ревизия
7d253aa27c
променени са 4 файла, в които са добавени 156 реда и са изтрити 334 реда
  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 6
             </div>
7 7
             <div class="state">
8
-                <div>报修编号:&nbsp;{{data.incident.incidentsign}}</div>
8
+                <div>工单单号:&nbsp;{{data.incidentsign}}</div>
9 9
                 <div :class="stateClassFn(data.state.name)">{{data.state.name}}</div>
10 10
             </div>
11 11
             <div class="description">
@@ -39,7 +39,7 @@
39 39
                     报修地址:
40 40
                 </div>
41 41
                 <div>
42
-                    {{data.address}}
42
+                    {{data.houseNumber}}
43 43
                 </div>
44 44
             </div>
45 45
         </div>
@@ -59,13 +59,16 @@
59 59
             <div class="btn" @click="evaluate()">提&nbsp;交&nbsp;评&nbsp;价</div>
60 60
         </div>
61 61
         <promp-ting :conents="promptingConent" :status="promptingStatus"></promp-ting>
62
+        <load-ing v-show="loadShow"></load-ing>
62 63
     </div>
63 64
 </template>
64 65
 <script>
65 66
 import PrompTing from './../views/prompting.vue'
67
+import LoadIng from "./../views/loading.vue";
66 68
 export default {
67 69
     data(){
68 70
         return{
71
+            loadShow: false,
69 72
             data:"",
70 73
             imgs_wechatRequesterIncident:[],
71 74
             imgs_incident:[],
@@ -97,12 +100,12 @@ export default {
97 100
             // }
98 101
             else{
99 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 106
                 }).then(function(res){
105
-                    if(res.status==200){
107
+                    that.loadShow=false;
108
+                    if(res.data.state==200){
106 109
                         that.promptingConent="恭喜您,评价成功!";
107 110
                         that.promptingStatus=true;
108 111
                         $("#fade").fadeIn();
@@ -166,7 +169,7 @@ export default {
166 169
               id = this.data.id;
167 170
             }else if(type === 'incident'){
168 171
               if(this.data){
169
-                id = this.data.processInstanceId;
172
+                id = this.data.id;
170 173
               } else {
171 174
                 that['imgs_' + type] = [];
172 175
                 return;
@@ -209,7 +212,8 @@ export default {
209 212
     mounted(){
210 213
     },
211 214
     components: {
212
-        PrompTing
215
+      LoadIng,
216
+      PrompTing
213 217
     },
214 218
     watch:{
215 219
         rate:{

+ 130 - 261
src/views/incidentDetails.vue

@@ -132,227 +132,41 @@
132 132
     </div>
133 133
     <!-- 流程图 -->
134 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 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 159
       </div>
334 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 162
       <div class="btn" @click="cehui()">撤&nbsp;回</div>
349 163
       <div class="btn" @click="goToSummary()" v-if="data.duty && data.duty.addSummary == 1">维修单</div>
350 164
     </div>
351
-    <div class="chehui" v-if="processData == '评价'">
165
+    <div class="chehui" v-if="processData == 'close'">
352 166
       <div class="btn" @click="evaluate()">评&nbsp;价</div>
353 167
       <div class="btn" @click="goToSummary()" v-if="data.duty && data.duty.addSummary == 1">维修单</div>
354 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 170
       <div class="btn" @click="goToSummary()">维修单</div>
357 171
     </div>
358 172
     <div class="fot"></div>
@@ -385,7 +199,8 @@ export default {
385 199
       shouli: "",
386 200
       chuli: "",
387 201
       pingjia: "",
388
-      jieshu: ""
202
+      jieshu: "",
203
+      progressInfo: [], //处理进度
389 204
     };
390 205
   },
391 206
   methods: {
@@ -421,15 +236,14 @@ export default {
421 236
               icon: "cubeic-wrong"
422 237
             }).show();
423 238
           } else {
424
-            // that.loadShow=true;
239
+            that.loadShow=true;
425 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 244
               .then(function(res) {
431
-                // that.loadShow=false;
432
-                if (res.status == 200) {
245
+                that.loadShow=false;
246
+                if (res.data.state == 200) {
433 247
                   that.promptingConent = "恭喜您,撤回成功!";
434 248
                   that.promptingStatus = true;
435 249
                   $("#fade").fadeIn();
@@ -486,35 +300,10 @@ export default {
486 300
     getParamsData() {
487 301
       this.data = JSON.parse(this.$route.params.data);
488 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 309
     getImgsData(type) {
@@ -558,21 +347,34 @@ export default {
558 347
         return "yichehui";
559 348
       }
560 349
     },
561
-    getProcessMessageData() {
350
+    // 获取处理进度
351
+    getProgressInfo() {
562 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 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 379
   mounted() {},
578 380
   components: {
@@ -583,8 +385,7 @@ export default {
583 385
     this.getParamsData();
584 386
     this.getImgsData('wechatRequesterIncident');
585 387
     this.getImgsData('incident');
586
-    this.getProcessMessageData();
587
-    this.getProcessTime();
388
+    this.getProgressInfo();
588 389
   }
589 390
 };
590 391
 </script>
@@ -860,3 +661,71 @@ export default {
860 661
   border-left: 0ch;
861 662
 }
862 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 47
                     </div>
48
-                    <div>报修时间:&nbsp;{{ data.startDate }}</div>
48
+                    <div>报修时间:&nbsp;{{ data.startDate | timeFormat("yyyy-MM-dd HH:mm") }}</div>
49 49
                   </div>
50 50
                   <div
51 51
                     class="timeBox noneBorder"
@@ -229,12 +229,6 @@ export default {
229 229
         })
230 230
         .then((res) => {
231 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 232
             if (this.idx) {
239 233
               this.items = this.items.concat(res.data.list);
240 234
             } else {
@@ -272,12 +266,6 @@ export default {
272 266
           })
273 267
           .then((res) => {
274 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 269
               if (this.idx) {
282 270
                 this.items = this.items.concat(res.data.list);
283 271
               } else {
@@ -303,12 +291,6 @@ export default {
303 291
         })
304 292
         .then((res) => {
305 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 294
             if (this.idx) {
313 295
               this.items = this.items.concat(res.data.list);
314 296
             } else {
@@ -334,12 +316,6 @@ export default {
334 316
           }
335 317
         })
336 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 319
           if (res.data.list.length > 0) {
344 320
             if (this.idx) {
345 321
               this.items = this.items.concat(res.data.list);

+ 12 - 39
src/views/indes.vue

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