seimin 2 years ago
parent
commit
3f0d2ee882
1 changed files with 9 additions and 3 deletions
  1. 9 3
      src/views/incidentList.vue

+ 9 - 3
src/views/incidentList.vue

@@ -71,9 +71,9 @@
71
                       v-html="item.description"
71
                       v-html="item.description"
72
                     ></span>
72
                     ></span>
73
                   </p>
73
                   </p>
74
-                  <p>
75
-                    报修<span>{{ valConfig == 1 ? "" : "科室" }}</span>
76
-                    <span class="grayFont">{{ item.contacts }}</span>
74
+                  <p v-if="valConfig == 1">
75
+                    报修人 :
76
+                    <span class="grayFont">{{ item.requester?item.requester.name:'' }}</span>
77
                     <span @click.stop v-if="item.contactsInformation"
77
                     <span @click.stop v-if="item.contactsInformation"
78
                       ><a :href="'tel:' + item.contactsInformation"
78
                       ><a :href="'tel:' + item.contactsInformation"
79
                         >(<i class="iconfont icon-shouji"></i
79
                         >(<i class="iconfont icon-shouji"></i
@@ -81,6 +81,12 @@
81
                       ></span
81
                       ></span
82
                     >
82
                     >
83
                   </p>
83
                   </p>
84
+                  <p v-if="valConfig == 2">
85
+                    报修科室 :
86
+                    <span class="grayFont">{{
87
+                      item.department ? item.department.dept : ""
88
+                    }}</span>
89
+                  </p>
84
                 </div>
90
                 </div>
85
                 <div class="bottom">
91
                 <div class="bottom">
86
                   <span v-if="!item.place"></span>
92
                   <span v-if="!item.place"></span>