From f419ec4b713b2cf87e439f46b4484c39a2dae65d Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 5 Jun 2025 20:34:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E6=96=87=E8=AE=BE=E5=A4=87=E7=BB=91?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 1 + .env.production | 1 + package.json | 2 +- public/static/config.js | 1 + src/api/system/documentArchives.js | 58 ++- src/views/archivesMIOD/miodLibrary/index.vue | 44 +- .../miodLibrary/module/detail.vue | 159 +++++-- src/views/archivesMIOD/miodSearch/index.vue | 2 +- .../miodSearch/module/resultList.vue | 282 ++++++------ .../miodStatistics/index copy.vue | 117 ----- .../archivesMIOD/miodStatistics/index.vue | 8 +- .../miodStatistics/miodTable copy.vue | 412 ++++++++++++++++++ .../archivesMIOD/miodStatistics/miodTable.vue | 380 +++++++++++----- src/views/components/BindingTagDlg.vue | 154 +++---- src/views/system/borrowerManage/index.vue | 119 +++-- 15 files changed, 1222 insertions(+), 518 deletions(-) delete mode 100644 src/views/archivesMIOD/miodStatistics/index copy.vue create mode 100644 src/views/archivesMIOD/miodStatistics/miodTable copy.vue diff --git a/.env.development b/.env.development index ee89ef3..31e3430 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,7 @@ ENV = 'development' VUE_APP_BASE_API = 'http://192.168.99.72:13000' VUE_APP_AIDEEPSEEK_API = 'http://192.168.99.86:12123' VUE_APP_PROCESSMODEL_API = 'http://192.168.99.72:11200' +VUE_APP_SDEVID = "D002" # VUE_APP_BASE_API = 'http://192.168.99.71:11110' # VUE_APP_BASE_API = 'http://192.168.99.107:11100' diff --git a/.env.production b/.env.production index 87b5e11..4376b19 100644 --- a/.env.production +++ b/.env.production @@ -8,6 +8,7 @@ VUE_APP_PROCESSMODEL_API = 'http://192.168.99.72:11200' # VUE_APP_BASE_API = 'http://27.19.215.77:11100' # VUE_APP_BASE_API = 'http://27.16.212.58:11100' VUE_APP_BASE_API = 'http://192.168.99.71:11110' +VUE_APP_SDEVID = "D002" # 如果接口是 http 形式, wss 需要改为 ws VUE_APP_WS_API = 'ws://27.16.212.58:11110' VUE_APP_CAMERA_API = '192.168.99.107:3000' diff --git a/package.json b/package.json index b4c417d..9a1f3a1 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "wangeditor": "^4.7.11", "web-streams-polyfill": "^3.1.0", "x2js": "^3.4.0", - "xlsx": "^0.17.4" + "xlsx": "^0.17.5" }, "devDependencies": { "@babel/parser": "^7.7.4", diff --git a/public/static/config.js b/public/static/config.js index dfad4ff..e778c9b 100644 --- a/public/static/config.js +++ b/public/static/config.js @@ -5,4 +5,5 @@ window.g = { // ApiUrl: 'http://192.168.99.107:11100', AIDeepSeekUrl:'http://192.168.99.86:12123', ProcessModelUrl:'http://192.168.99.72:11200', + sDevId:'D002' } \ No newline at end of file diff --git a/src/api/system/documentArchives.js b/src/api/system/documentArchives.js index 5820282..d25d138 100644 --- a/src/api/system/documentArchives.js +++ b/src/api/system/documentArchives.js @@ -227,6 +227,56 @@ export function FetchFindGroupType(params) { }) } +// 馆藏年度统计 +export function FetchAnnualStatistics(params) { + return request({ + url: 'api/documentArchives/annualStatistics' + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + +// 馆藏月份统计 +export function FetchAnnualStatisticsByMonth(params) { + return request({ + url: 'api/documentArchives/annualStatisticsByMonth' + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + +// 读取公文标签 +export function FetchReadGW(params) { + return request({ + url: 'api/RFIDInterface/GW_ReadGW' + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + +// 读取读者证 +export function FetchReadPatron(params) { + return request({ + url: 'api/RFIDInterface/GW_ReadPatron' + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + +// 读者证绑定读者 +export function FetchBindReadNo(data) { + return request({ + url: 'api/documentArchives/bindReadNo', + method: 'post', + data + }) +} + +// 读者证解除绑定 +export function FetchUnbindReadNo(data) { + return request({ + url: 'api/documentArchives/unbindReadNo', + method: 'post', + data + }) +} + export default { FetchInitDocumentParam, updateDocumentParam, @@ -252,5 +302,11 @@ export default { FetchDocumentArchivesSearch, FetchSearchHistory, FetchSeniorSearch, - FetchFindGroupType + FetchFindGroupType, + FetchAnnualStatistics, + FetchAnnualStatisticsByMonth, + FetchReadGW, + FetchReadPatron, + FetchBindReadNo, + FetchUnbindReadNo } diff --git a/src/views/archivesMIOD/miodLibrary/index.vue b/src/views/archivesMIOD/miodLibrary/index.vue index 5366308..b7bf870 100644 --- a/src/views/archivesMIOD/miodLibrary/index.vue +++ b/src/views/archivesMIOD/miodLibrary/index.vue @@ -5,13 +5,14 @@