bill 7 miesięcy temu
rodzic
commit
2a3aa161ec

+ 2 - 0
src/views/folder/fire/index.vue

@@ -57,6 +57,8 @@ const tmLabelMap1 = {
 const tmLabelMap2 = {
   commandTime: "指挥中心电话时间",
   alarmTime: "报警时间",
+  alarmName: "报警人",
+  assignDept: "指派/报告单位",
   inquestDept: "现场勘验单位",
   assignType: "指派方式",
   inquestAddress: "勘验地点",

+ 4 - 3
src/views/folder/fire/info.vue

@@ -3,7 +3,7 @@
     <h2>{{ title }}</h2>
     <div>
       <p v-for="(label, key) in labelMap">
-        <span>{{ typeof label === "string" ? label : label[0] }}</span>
+        <span>{{ typeof label === "string" ? label : label[0] }}:</span>
         {{ typeof label === "string" ? data[key] : label[1](data[key]) }}
       </p>
     </div>
@@ -38,7 +38,8 @@ defineProps<{
   }
 
   p {
-    margin: 5px 0;
+    margin: 10px 0;
+    padding: 0 20px;
     color: rgba(255, 255, 255, 1);
     font-size: 14px;
     display: flex;
@@ -50,7 +51,7 @@ defineProps<{
       width: 70px;
       text-align: right;
       height: 100%;
-      margin-right: 20px;
+      margin-right: 10px;
       color: rgba(255, 255, 255, 0.7);
     }
   }