diff --git a/src/views/accident/records/components/addOrEdit.vue b/src/views/accident/records/components/addOrEdit.vue
index 71a9240..2e61c62 100644
--- a/src/views/accident/records/components/addOrEdit.vue
+++ b/src/views/accident/records/components/addOrEdit.vue
@@ -55,8 +55,8 @@
@@ -206,6 +206,9 @@ export default {
).then((data) => {
this.incidentLevels = JSON.parse(data.zTreeNodes)
})
+ },
+ image(url, flag) {
+ return flag ? config.fileUrl + url : [config.fileUrl + url]
}
}
}
diff --git a/src/views/accident/records/components/list.vue b/src/views/accident/records/components/list.vue
index 5203015..e0c2b0b 100644
--- a/src/views/accident/records/components/list.vue
+++ b/src/views/accident/records/components/list.vue
@@ -4,7 +4,7 @@
-
+
@@ -13,7 +13,7 @@
v-model="searchForm.incidentDates"
:default-time="['00:00:00', '23:59:59']"
value-format="yyyy-MM-dd HH:mm:ss"
- format="yyyy-MM-dd HH:mm:ss"
+ format="yyyy-MM-dd"
style="width: 100%"
type="daterange"
range-separator="-"
@@ -64,12 +64,15 @@
tooltip-effect="dark"
style="width: 100%"
>
-
-
+
+
+ {{ formatDate(row.incidentDate,'YYYY-MM-DD HH:mm:ss') }}
+
+
-
+
查看
@@ -87,6 +90,7 @@