From b2b6346a9be73b55930151952f10587cd408fc1f Mon Sep 17 00:00:00 2001 From: zty Date: Fri, 10 Oct 2025 09:19:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=89=E8=8A=AF-=E8=A1=8C=E6=94=BF?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ofm/archive.vue | 313 ++++++++++++++++++++++++++++++ src/views/ofm/archive_form.vue | 89 +++++++++ src/views/ofm/borrowfile.vue | 215 ++++---------------- src/views/ofm/borrowfile_form.vue | 185 ++++++++++++++++++ src/views/ofm/seal.vue | 12 +- src/views/ofm/sealForm.vue | 169 ++++++++-------- src/views/ofm/vehicle.vue | 256 +++++++----------------- src/views/ofm/vehicleForm.vue | 152 +++++++++++++++ 8 files changed, 933 insertions(+), 458 deletions(-) create mode 100644 src/views/ofm/archive.vue create mode 100644 src/views/ofm/archive_form.vue create mode 100644 src/views/ofm/borrowfile_form.vue create mode 100644 src/views/ofm/vehicleForm.vue diff --git a/src/views/ofm/archive.vue b/src/views/ofm/archive.vue new file mode 100644 index 00000000..d321851d --- /dev/null +++ b/src/views/ofm/archive.vue @@ -0,0 +1,313 @@ + + + + diff --git a/src/views/ofm/archive_form.vue b/src/views/ofm/archive_form.vue new file mode 100644 index 00000000..002e4d9f --- /dev/null +++ b/src/views/ofm/archive_form.vue @@ -0,0 +1,89 @@ + + + + diff --git a/src/views/ofm/borrowfile.vue b/src/views/ofm/borrowfile.vue index 3952d33a..9c7adfbc 100644 --- a/src/views/ofm/borrowfile.vue +++ b/src/views/ofm/borrowfile.vue @@ -69,9 +69,9 @@ type="primary" @click="borrowEidt(scope.row)" v-auth="'fileborrow.update'" - >编辑 + >详情 - @@ -84,85 +84,36 @@ >删除 - + --> - - - - - - - - - - - - - - - - - - - - - - - - - + - - +
+
+ +
+
+ + diff --git a/src/views/ofm/seal.vue b/src/views/ofm/seal.vue index ae5df09b..656fb095 100644 --- a/src/views/ofm/seal.vue +++ b/src/views/ofm/seal.vue @@ -167,7 +167,7 @@ export default { mode: "add", drawerTitle: { add: "新增印章使用", - edit: "编辑印章使用", + edit: "审批流", view: "查看印章使用", }, currentRow: null, @@ -185,7 +185,7 @@ export default { return_date: null, actual_return_date: null, reason: "", - ticket:null + ticket_:null }, }; }, @@ -198,8 +198,8 @@ export default { //渲染工单提交按钮 getInit() { let that = this; - if(this.addForm.ticket!==null){ - this.$API.wf.ticket.ticketTransitions.req(this.addForm.ticket).then((res) => { + if(this.addForm.ticket_!==null){ + this.$API.wf.ticket_.ticketTransitions.req(this.addForm.ticket_).then((res) => { that.transitions = res; }) }else{ @@ -242,12 +242,12 @@ export default { return_date: null, actual_return_date: null, reason: "", - ticket:null + ticket_:null } }, // 审批流结束之后才可以编辑 sealEidt(row) { - this.mode = "edit"; + this.mode = "view"; this.editId = row.id; this.limitedVisible = true; this.lending_type = 'outer'; diff --git a/src/views/ofm/sealForm.vue b/src/views/ofm/sealForm.vue index 270a8ab1..a4a2b26f 100644 --- a/src/views/ofm/sealForm.vue +++ b/src/views/ofm/sealForm.vue @@ -1,104 +1,102 @@