From f565276ed7c6acff85462f0bca00f53c1648c075 Mon Sep 17 00:00:00 2001 From: shanao Date: Fri, 27 Sep 2024 18:06:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E4=BA=8B=E6=95=85/=E4=BA=8B=E4=BB=B6?= =?UTF-8?q?=E5=88=86=E7=A6=BB=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../accident/event/components/addOrEdit.vue | 479 ++++++++++++++++++ src/views/accident/event/components/list.vue | 354 +++++++++++++ src/views/accident/event/index.vue | 37 ++ .../accident/records/components/addOrEdit.vue | 145 +++++- .../accident/records/components/list.vue | 55 +- 5 files changed, 1016 insertions(+), 54 deletions(-) create mode 100644 src/views/accident/event/components/addOrEdit.vue create mode 100644 src/views/accident/event/components/list.vue create mode 100644 src/views/accident/event/index.vue diff --git a/src/views/accident/event/components/addOrEdit.vue b/src/views/accident/event/components/addOrEdit.vue new file mode 100644 index 0000000..d60d935 --- /dev/null +++ b/src/views/accident/event/components/addOrEdit.vue @@ -0,0 +1,479 @@ + + + + + diff --git a/src/views/accident/event/components/list.vue b/src/views/accident/event/components/list.vue new file mode 100644 index 0000000..b0acb2a --- /dev/null +++ b/src/views/accident/event/components/list.vue @@ -0,0 +1,354 @@ + + + + + diff --git a/src/views/accident/event/index.vue b/src/views/accident/event/index.vue new file mode 100644 index 0000000..33eb176 --- /dev/null +++ b/src/views/accident/event/index.vue @@ -0,0 +1,37 @@ + + + + + diff --git a/src/views/accident/records/components/addOrEdit.vue b/src/views/accident/records/components/addOrEdit.vue index 9b3f0c1..86ea49e 100644 --- a/src/views/accident/records/components/addOrEdit.vue +++ b/src/views/accident/records/components/addOrEdit.vue @@ -32,6 +32,8 @@ v-model="infoForm.incidentDate" type="datetime" placeholder="选择事故发生时间" + format="yyyy-MM-dd HH:mm:ss" + value-format="yyyy-MM-dd HH:mm:ss" style="width: 100%;" /> @@ -53,6 +55,29 @@ + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + :file-list="infoForm.fileAddressList" + :multiple="false" + :auto-upload="true" + :limit="limitNum" + :on-remove="handleRemoveAnnex" + :before-upload="beforeEventUpload" + :on-error="handleError" + :on-exceed="handleExceed" + name="file" + action="#" + accept=".doc,.docx,.pdf,.xlsx"> + 点击上传 + + + + {{ infoForm.fileAddressList[0].name }} @@ -116,8 +146,9 @@