chenpm před 4 měsíci
rodič
revize
f1ca376db6

+ 16 - 1
src/views/reportForms/components/parkRoomIndexDetail.vue

@@ -204,7 +204,7 @@
             <template slot="description">
               <div class="roomHistory-box">
                   <div v-for="(node,index) in item.parkRoomNodes" class="nodeBox-item">
-                      <div class="nodeName">
+                      <div :class="node.nodeName=='退房'?'end':'nodeName'">
                           {{ node.nodeName }}
                       </div>
                       <div v-if="index+1!=item.parkRoomNodes.length" style="margin-right: 20px">
@@ -695,6 +695,21 @@ export default {
             display: flex;
             align-items: center;
         }
+
+        .end{
+            margin-top: 20px;
+            margin-bottom: 20px;
+            height: 40px;
+            width: 120px;
+            background: #676767;
+            text-align: center;
+            color: white;
+            display: flex;
+            justify-content: center;
+            align-items: center;
+            margin-right: 20px;
+            border-radius: 50%;
+        }
         .nodeName{
             margin-top: 20px;
             margin-bottom: 20px;