From 249374cf6afb18bdbf7463f434d564346c0e179e Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 4 Jun 2026 17:25:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=B5=81=E8=BD=AC=E6=9F=9C?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/layout/components/Navbar.vue | 2 +- src/layout/components/Sidebar/index.vue | 1 - .../archivesMIOD/‌filingCabinet/index.vue | 558 ++++++++++++++++++ src/views/home.vue | 30 +- 5 files changed, 578 insertions(+), 15 deletions(-) create mode 100644 src/views/archivesMIOD/‌filingCabinet/index.vue diff --git a/.env.development b/.env.development index 480c1d9..6f7a938 100644 --- a/.env.development +++ b/.env.development @@ -3,7 +3,7 @@ ENV = 'development' # 接口地址 # 许镇-本地服地址 -VUE_APP_BASE_API = 'http://192.168.99.72:13000' +VUE_APP_BASE_API = 'http://192.168.99.63:13000' # VUE_APP_BASE_API = 'http://192.168.99.67:13000' VUE_APP_AIDEEPSEEK_API = 'http://192.168.99.86:12123' diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index bc73137..640268a 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -135,7 +135,7 @@ export default { } }, created() { - store.dispatch('initborrowCar').then(() => {}) + // store.dispatch('initborrowCar').then(() => {}) store.dispatch('initMySystemNotice').then(() => { }) if (!localStorage.getItem('themeValue')) { this.changetheme('light') diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 4439010..51ce41f 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -52,7 +52,6 @@ export default { } }, mounted() { - console.log('sidebarRouters', this.sidebarRouters) }, methods: { handleSelect(key, keyPath) { diff --git a/src/views/archivesMIOD/‌filingCabinet/index.vue b/src/views/archivesMIOD/‌filingCabinet/index.vue new file mode 100644 index 0000000..6afa059 --- /dev/null +++ b/src/views/archivesMIOD/‌filingCabinet/index.vue @@ -0,0 +1,558 @@ + + + + + diff --git a/src/views/home.vue b/src/views/home.vue index 8d12c21..d10a32d 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -252,22 +252,28 @@ export default { 'detailsType': this.isOriginal ? 1 : null } FetchHomeBorrowLog(param).then(res => { - console.log('FetchHomeBorrowLog', res) - this.miodTableData = res + if (res && Array.isArray(res)) { + this.miodTableData = res + } else { + this.miodTableData = [] + } }) }, getHomeRemindHandle() { FetchHomeRemindHandle().then(res => { - console.log('remindData', res) - this.remindData = res.map(item => { - return { - reg_no: item[0], - maintitle: item[1], - latest_time: item[2], - document_id: item[3], - parents_id: item[4] - } - }) + if (res && Array.isArray(res)) { + this.remindData = res.map(item => { + return { + reg_no: item[0], + maintitle: item[1], + latest_time: item[2], + document_id: item[3], + parents_id: item[4] + } + }) + } else { + this.remindData = [] + } }) }, tableDoubleClick(row) {