From 2a106deaa06cc0f764ed7d4a856b331f7daa6716 Mon Sep 17 00:00:00 2001 From: shijing Date: Mon, 27 Oct 2025 11:19:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=E6=8E=A5=E5=8F=A3=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=A3=B0=E6=98=8E=E9=A6=96=E9=A1=B5=E6=96=B0=E5=A2=9E=E9=A2=84?= =?UTF-8?q?=E7=BA=A6=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 1 + pages.json | 41 +++++++++++++- pages/index/index.vue | 121 ++++++++++++++++++++++-------------------- pages/ofm/booking.vue | 26 ++++++++- pages/ofm/mroom.vue | 6 +++ utils/api.js | 32 +++++++++++ 6 files changed, 166 insertions(+), 61 deletions(-) diff --git a/App.vue b/App.vue index 5fc741d..93a7a22 100644 --- a/App.vue +++ b/App.vue @@ -69,6 +69,7 @@ .container { color: #333; padding: 0rpx 12rpx; + background-color: #fff; } .uni-forms-item { margin-bottom: 8rpx !important; diff --git a/pages.json b/pages.json index 24ab83d..fd1fa3e 100644 --- a/pages.json +++ b/pages.json @@ -32,13 +32,50 @@ { "navigationBarTitleText" : "会议室预约" } - },{ + }, + { + "path" : "pages/ofm/sealForm", + "style" : + { + "navigationBarTitleText" : "印章申请" + } + }, + { + "path" : "pages/ofm/vehicleForm", + "style" : + { + "navigationBarTitleText" : "用车申请" + } + }, + { + "path" : "pages/ofm/borrowfile_form", + "style" : + { + "navigationBarTitleText" : "档案借阅" + } + }, + { + "path" : "pages/ofm/publicityForm", + "style" : + { + "navigationBarTitleText" : "宣传报道" + } + }, + { + "path" : "pages/ofm/patent_form", + "style" : + { + "navigationBarTitleText" : "专利审批" + } + }, + { "path" : "pages/ofm/mroom", "style" : { "navigationBarTitleText" : "会议室" } - },{ + }, + { "path" : "pages/ofm/booking", "style" : { diff --git a/pages/index/index.vue b/pages/index/index.vue index 7ed6359..6d6040a 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,55 +1,41 @@ @@ -61,30 +47,48 @@ welTitle: "", imageSrc:"", currentDate: tool.getTodayDate(), - moduleList: [{ + moduleList: [ + { navigate:'/pages/ofm/booking_form?mode=add', url: '/static/yuding.png', text: '会议预定', type: "primary", }, { - navigate:'/pages/ofm/booking', + navigate:'/pages/ofm/sealForm?mode=add', url: '/static/meetingRecord.png', - text: '预定记录', + text: '印章申请', type: "success" }, { - navigate:'/pages/ofm/mroom', + navigate:'/pages/ofm/vehicleForm?mode=add', + url: '/static/meetingRecord.png', + text: '用车申请', + type: "success" + }, + { + navigate:'/pages/ofm/borrowfile_form?mode=add', + url: '/static/meetingRecord.png', + text: '档案借阅', + type: "success" + }, + { + navigate:'/pages/ofm/publicityForm?mode=add', url: '/static/huiyishi.png', - text: '会议室', + text: '宣传报道', + type: "warning" + }, + { + navigate:'/pages/ofm/patent_form?mode=add', + url: '/static/huiyishi.png', + text: '专利审批', type: "warning" } ] } }, mounted() { - this.initWelTitle(); - + this.initWelTitle(); }, onShow() { // #ifdef MP-WEIXIN @@ -124,6 +128,9 @@ } diff --git a/pages/ofm/borrowfile_form.vue b/pages/ofm/borrowfile_form.vue new file mode 100644 index 0000000..ae8408b --- /dev/null +++ b/pages/ofm/borrowfile_form.vue @@ -0,0 +1,108 @@ + + + + + + \ No newline at end of file diff --git a/pages/ofm/patent_form.vue b/pages/ofm/patent_form.vue new file mode 100644 index 0000000..3d1241b --- /dev/null +++ b/pages/ofm/patent_form.vue @@ -0,0 +1,157 @@ + + + + + + \ No newline at end of file diff --git a/pages/ofm/publicityForm.vue b/pages/ofm/publicityForm.vue new file mode 100644 index 0000000..53ae593 --- /dev/null +++ b/pages/ofm/publicityForm.vue @@ -0,0 +1,132 @@ + + + + + + \ No newline at end of file diff --git a/pages/ofm/sealForm.vue b/pages/ofm/sealForm.vue new file mode 100644 index 0000000..b5eeeec --- /dev/null +++ b/pages/ofm/sealForm.vue @@ -0,0 +1,175 @@ + + + + + + \ No newline at end of file diff --git a/pages/ofm/vehicleForm.vue b/pages/ofm/vehicleForm.vue new file mode 100644 index 0000000..018c020 --- /dev/null +++ b/pages/ofm/vehicleForm.vue @@ -0,0 +1,112 @@ + + + + + + \ No newline at end of file