|
@@ -1,7 +1,8 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
<!-- 状态 -->
|
|
|
- <view class="label" v-if="(form.status == 2 || form.status == 3 || form.status == 4) && userInfoRoleName.indexOf('admin') == -1">
|
|
|
+ <!-- && userInfoRoleName.indexOf('admin') == -1 -->
|
|
|
+ <view class="label" v-if="(form.status == 2 || form.status == 3 || form.status == 4)">
|
|
|
<view class="tab" ref="wx" :style="{'color':wxStyle,'height':'100%','border-right': '1rpx solid #f4f4f4'}" @click="tab('wx')">
|
|
|
<text>报修单</text>
|
|
|
</view>
|
|
@@ -439,7 +440,12 @@
|
|
|
maintenanceDetail({id:this.id}).then(res=>{
|
|
|
this.form = res.data
|
|
|
|
|
|
- if (this.form.status == 3) {
|
|
|
+
|
|
|
+
|
|
|
+ if (this.form.status == 4) {
|
|
|
+ this.gzStyle = "#fd4b09"
|
|
|
+ this.wxStyle = ""
|
|
|
+ } else if (this.form.status == 3) {
|
|
|
this.gzStyle = "#fd4b09"
|
|
|
this.wxStyle = ""
|
|
|
} else if (this.form.status == 2) {
|