From 211d42cd86b36678592c9979a728d1cd4bcfc641 Mon Sep 17 00:00:00 2001 From: huliang <1539398430@qq.com> Date: Fri, 21 Nov 2025 17:37:14 +0800 Subject: [PATCH] =?UTF-8?q?feat=20:=20=E5=B7=A1=E6=AA=A2=E4=BB=BB=E5=8B=99?= =?UTF-8?q?=E5=88=87=E7=89=88=20|=20=E9=81=8B=E7=B6=AD=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=88=87=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components.d.ts | 5 + .../PatrolMission/CompletedTasks.vue | 238 +++++++ .../DutyLogItemDialog.vue | 0 .../PatrolMission/FillTaskDialog.vue | 350 ++++++++++ .../HandoverItemDialog.vue | 0 src/components/PatrolMission/PendingTasks.vue | 253 +++++++ .../PatrolSetting/AddTemplateDialog.vue | 472 +++++++------ .../PatrolSetting/CheckItemsDialog.vue | 110 ++++ src/components/PatrolSetting/TaskManager.vue | 134 ++-- .../PatrolSetting/TemplateManager.vue | 214 +++--- .../PlantInfo/OperationFormDialog.vue | 172 +++++ .../PlantInfo/OperationRecordTable.vue | 242 +++++++ src/components/Report/ReportFilter.vue | 2 +- src/constants/templateSchemas.js | 620 ++++++++++++++++++ src/views/PatrolMission.vue | 60 +- src/views/PlantInfo.vue | 10 + 16 files changed, 2468 insertions(+), 414 deletions(-) create mode 100644 src/components/PatrolMission/CompletedTasks.vue rename src/components/{PatrolSetting => PatrolMission}/DutyLogItemDialog.vue (100%) create mode 100644 src/components/PatrolMission/FillTaskDialog.vue rename src/components/{PatrolSetting => PatrolMission}/HandoverItemDialog.vue (100%) create mode 100644 src/components/PatrolMission/PendingTasks.vue create mode 100644 src/components/PatrolSetting/CheckItemsDialog.vue create mode 100644 src/components/PlantInfo/OperationFormDialog.vue create mode 100644 src/components/PlantInfo/OperationRecordTable.vue create mode 100644 src/constants/templateSchemas.js diff --git a/src/components.d.ts b/src/components.d.ts index 7080355..62bf65d 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -26,12 +26,15 @@ declare module 'vue' { ElDropdown: typeof import('element-plus/es')['ElDropdown'] ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] + ElEmpty: typeof import('element-plus/es')['ElEmpty'] ElForm: typeof import('element-plus/es')['ElForm'] ElFormItem: typeof import('element-plus/es')['ElFormItem'] ElHeader: typeof import('element-plus/es')['ElHeader'] ElIcon: typeof import('element-plus/es')['ElIcon'] + ElImage: typeof import('element-plus/es')['ElImage'] ElInput: typeof import('element-plus/es')['ElInput'] ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] + ElLink: typeof import('element-plus/es')['ElLink'] ElMain: typeof import('element-plus/es')['ElMain'] ElMenu: typeof import('element-plus/es')['ElMenu'] ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] @@ -48,6 +51,8 @@ declare module 'vue' { ElTabPane: typeof import('element-plus/es')['ElTabPane'] ElTabs: typeof import('element-plus/es')['ElTabs'] ElTag: typeof import('element-plus/es')['ElTag'] + ElText: typeof import('element-plus/es')['ElText'] + ElUpload: typeof import('element-plus/es')['ElUpload'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/src/components/PatrolMission/CompletedTasks.vue b/src/components/PatrolMission/CompletedTasks.vue new file mode 100644 index 0000000..133a219 --- /dev/null +++ b/src/components/PatrolMission/CompletedTasks.vue @@ -0,0 +1,238 @@ + + + + + diff --git a/src/components/PatrolSetting/DutyLogItemDialog.vue b/src/components/PatrolMission/DutyLogItemDialog.vue similarity index 100% rename from src/components/PatrolSetting/DutyLogItemDialog.vue rename to src/components/PatrolMission/DutyLogItemDialog.vue diff --git a/src/components/PatrolMission/FillTaskDialog.vue b/src/components/PatrolMission/FillTaskDialog.vue new file mode 100644 index 0000000..c49bdf5 --- /dev/null +++ b/src/components/PatrolMission/FillTaskDialog.vue @@ -0,0 +1,350 @@ + + + + + diff --git a/src/components/PatrolSetting/HandoverItemDialog.vue b/src/components/PatrolMission/HandoverItemDialog.vue similarity index 100% rename from src/components/PatrolSetting/HandoverItemDialog.vue rename to src/components/PatrolMission/HandoverItemDialog.vue diff --git a/src/components/PatrolMission/PendingTasks.vue b/src/components/PatrolMission/PendingTasks.vue new file mode 100644 index 0000000..526db47 --- /dev/null +++ b/src/components/PatrolMission/PendingTasks.vue @@ -0,0 +1,253 @@ + + + + + diff --git a/src/components/PatrolSetting/AddTemplateDialog.vue b/src/components/PatrolSetting/AddTemplateDialog.vue index 990e0b5..279c5da 100644 --- a/src/components/PatrolSetting/AddTemplateDialog.vue +++ b/src/components/PatrolSetting/AddTemplateDialog.vue @@ -6,19 +6,20 @@ style="max-width: 800px; width: 90%" @close="onClose" > - - + + + 樣板資訊 @@ -35,28 +36,13 @@ - - - - - - - + + + + + + + @@ -76,145 +62,179 @@ /> - - - 樣板內容 - - - - - - - - - - - - - - - - - - - - - - - + + - -

值班日誌

- 新增日誌項目 - - - - - - - +
diff --git a/src/components/PatrolSetting/CheckItemsDialog.vue b/src/components/PatrolSetting/CheckItemsDialog.vue new file mode 100644 index 0000000..a127243 --- /dev/null +++ b/src/components/PatrolSetting/CheckItemsDialog.vue @@ -0,0 +1,110 @@ + + + + + diff --git a/src/components/PatrolSetting/TaskManager.vue b/src/components/PatrolSetting/TaskManager.vue index 96e67dd..ec54cb4 100644 --- a/src/components/PatrolSetting/TaskManager.vue +++ b/src/components/PatrolSetting/TaskManager.vue @@ -1,5 +1,42 @@
- - - 保存PNG - 保存JPEG - 清除 - 返回 - - +
- - 已完成任務列表 +
@@ -38,43 +20,11 @@