seimin лет назад: 2
Родитель
Сommit
15a58166a3
1 измененных файлов с 3 добавлено и 9 удалено
  1. 3 9
      src/views/incidentDetails.vue

+ 3 - 9
src/views/incidentDetails.vue

@@ -71,7 +71,7 @@
71 71
               : "暂无"
72 72
           }}
73 73
         </div>
74
-        <div>
74
+        <div v-if="data.incident.directProcess != 1">
75 75
           电话:&nbsp;&nbsp;<a
76 76
             :href="'tel:' + data.incident.handlingPersonnelUser.phone"
77 77
             v-if="
@@ -91,16 +91,10 @@
91 91
         <!-- <a href="tel:13429850125"><i class="iconfont icon-shouji"></i></a> -->
92 92
         <i
93 93
           class="iconfont icon-shouji"
94
-          v-if="
95
-            !data.incident.handlingPersonnelUser ||
96
-              !data.incident.handlingPersonnelUser.phone
97
-          "
94
+          v-if="(!data.incident.handlingPersonnelUser || !data.incident.handlingPersonnelUser.phone) && data.incident.directProcess != 1"
98 95
         ></i>
99 96
         <a
100
-          v-if="
101
-            data.incident.handlingPersonnelUser &&
102
-              data.incident.handlingPersonnelUser.phone
103
-          "
97
+          v-if="data.incident.handlingPersonnelUser && data.incident.handlingPersonnelUser.phone && data.incident.directProcess != 1"
104 98
           :href="'tel:' + data.incident.handlingPersonnelUser.phone"
105 99
           ><i class="iconfont icon-shouji"></i
106 100
         ></a>