seimin 2 年之前
父节点
当前提交
3f0d2ee882
共有 1 个文件被更改,包括 9 次插入3 次删除
  1. 9 3
      src/views/incidentList.vue

+ 9 - 3
src/views/incidentList.vue

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