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 @@