From e99e98bdab11c66a10dccb35847e66fda6f0f335 Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Fri, 6 Jun 2025 18:46:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E6=96=87=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +- src/api/system/documentArchives.js | 30 +- src/assets/test.md | 55 ---- src/views/archivesMIOD/miodLibrary/index.vue | 25 +- .../miodLibrary/module/detail.vue | 265 +++++++++++++----- src/views/archivesMIOD/miodRecord/index.vue | 98 ++++--- .../miodSearch/module/resultList.vue | 14 +- .../archivesMIOD/miodStatistics/miodTable.vue | 11 +- .../customDefinedStatistics/index.vue | 3 +- src/views/home.vue | 90 +++--- src/views/system/borrowerManage/index.vue | 7 +- 11 files changed, 369 insertions(+), 232 deletions(-) delete mode 100644 src/assets/test.md diff --git a/.env.development b/.env.development index 31e3430..5811bec 100644 --- a/.env.development +++ b/.env.development @@ -3,7 +3,8 @@ ENV = 'development' # 接口地址 # 许镇-本地服地址 -VUE_APP_BASE_API = 'http://192.168.99.72:13000' +# VUE_APP_BASE_API = 'http://192.168.99.72:13000' +VUE_APP_BASE_API = 'http://192.168.99.67: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" diff --git a/src/api/system/documentArchives.js b/src/api/system/documentArchives.js index d25d138..0a74bea 100644 --- a/src/api/system/documentArchives.js +++ b/src/api/system/documentArchives.js @@ -194,6 +194,15 @@ export function FetchDocumentByDocDepartment(params) { }) } +// 首页 - 公文传阅 +export function FetchHomeBorrowLog(params) { + return request({ + url: 'api/overview/getHomeBorrowLog', + method: 'get', + params + }) +} + // 档案检索 export function FetchDocumentArchivesSearch(params) { return request({ @@ -277,6 +286,22 @@ export function FetchUnbindReadNo(data) { }) } +// 导出借阅者信息 +export function FetchDownloadBorrower(params) { + return request({ + url: 'api/documentArchives/downloadBorrower' + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + +// 根据公文获取公文借阅信息 +export function FetchArchivesDetailsBorrowLog(params) { + return request({ + url: 'api/documentArchives/archivesDetailsBorrowLog' + '?' + qs.stringify(params, { indices: false }), + method: 'get' + }) +} + export default { FetchInitDocumentParam, updateDocumentParam, @@ -299,6 +324,7 @@ export default { FetchUnbindTag, FetchInitStatisBase, FetchDocumentByDocDepartment, + FetchHomeBorrowLog, FetchDocumentArchivesSearch, FetchSearchHistory, FetchSeniorSearch, @@ -308,5 +334,7 @@ export default { FetchReadGW, FetchReadPatron, FetchBindReadNo, - FetchUnbindReadNo + FetchUnbindReadNo, + FetchDownloadBorrower, + FetchArchivesDetailsBorrowLog } diff --git a/src/assets/test.md b/src/assets/test.md deleted file mode 100644 index df1d0fe..0000000 --- a/src/assets/test.md +++ /dev/null @@ -1,55 +0,0 @@ -## 项目背景 -> 描述项目或产品的现状,让项目成员了解当前存在的问题与痛点。 -> - -+ 痛点1... -+ 痛点2... -+ 痛点3... - -## 项目目标 -> 描述本项目期望达成的目标,目标需满足Smart原则: -> -> 1. 具体的(Specific) -> 2. 可以衡量的(Measurable) -> 3. 可以达到的(Attainable) -> 4. 要与其他目标具有一定的相关性(Relevant) -> 5. 有明确的截止期限(Time-bound) -> - -[此处为语雀卡片,点击链接查看](https://www.yuque.com/docs/205890729#ewusl) - - - -## 关键事项 -> 为达成上述目标,需要完成哪些关键事项。 -> - -+ 关键事项1... -+ 关键事项2... -+ 关键事项3... - -## 里程碑 -> 整个项目中,关键节点的里程碑计划。 -> - -![画板](https://cdn.nlark.com/yuque/0/2022/jpeg/956523/1657187439577-9e5f23b1-b37f-41ff-989b-646e87f85d6d.jpeg) - -## 人员安排 -> 输入项目的所有干系人,包括内部和外部干系人。 -> - -| **人员** | **岗位** | -| --- | --- | -| @提及 | 项目经理 | -| @提及 | 技术负责人 | -| @提及 | 产品负责人 | - - -## 风险提示 -> 对公司战略、项目结题、法务风险问题进行提示,并说明应对措施。 -> - -[此处为语雀卡片,点击链接查看](https://www.yuque.com/docs/205890729#MBwu4) - - - diff --git a/src/views/archivesMIOD/miodLibrary/index.vue b/src/views/archivesMIOD/miodLibrary/index.vue index b7bf870..2928db0 100644 --- a/src/views/archivesMIOD/miodLibrary/index.vue +++ b/src/views/archivesMIOD/miodLibrary/index.vue @@ -73,8 +73,8 @@ v-if="field.fieldName === 'read_type'" :class="{ 'row-state row-packing': scope.row.read_type === '未传阅', - 'row-state row-warehousing state-active': scope.row.read_type === '传阅中', - 'row-state row-binding state-active': scope.row.read_type === '已完成', + 'row-state row-binding state-active': scope.row.read_type === '传阅中', + 'row-state row-physical state-active': scope.row.read_type === '已传阅', }" > {{ scope.row[field.fieldName] }} @@ -86,7 +86,7 @@ - + @@ -111,8 +111,7 @@ @@ -223,8 +222,9 @@ export default { pdfSources: [], printSelections: [], archivesType: null, - search: '' - + search: '', + parentInfo: null, + pageType: null } }, computed: { @@ -407,10 +407,13 @@ export default { // 双击查看详情 tableDoubleClick(row) { console.log('tableDoubleClick', row) - this.$refs.archivesInfo.archivesInfoVisible = true - this.$refs.archivesInfo.archivesTabIndex = 0 - this.$refs.archivesInfo.parentInfo = row - this.$refs.archivesInfo.getDetial(row) + this.parentInfo = row + this.$nextTick(() => { + this.$refs.archivesInfo.archivesInfoVisible = true + this.$refs.archivesInfo.archivesTabIndex = 0 + // this.$refs.archivesInfo.parentInfo = row + this.$refs.archivesInfo.getDetial() + }) }, // 删除 toDelete(datas) { diff --git a/src/views/archivesMIOD/miodLibrary/module/detail.vue b/src/views/archivesMIOD/miodLibrary/module/detail.vue index 2f85142..55cab05 100644 --- a/src/views/archivesMIOD/miodLibrary/module/detail.vue +++ b/src/views/archivesMIOD/miodLibrary/module/detail.vue @@ -19,7 +19,7 @@ -
+
{{ item.fieldCnName }}: @@ -32,7 +32,7 @@

文件列表

- +
@@ -50,23 +50,38 @@ - + + + + + + - diff --git a/src/views/system/borrowerManage/index.vue b/src/views/system/borrowerManage/index.vue index fd6b170..4db0e86 100644 --- a/src/views/system/borrowerManage/index.vue +++ b/src/views/system/borrowerManage/index.vue @@ -4,7 +4,7 @@
@@ -269,9 +269,10 @@ export default { ids.push(val.id) }) const params = { - 'fieldMates': ids + 'ids': ids } - exportFile(this.baseApi + '/api/fieldMate/download?' + qs.stringify(params, { indices: false })) + console.log('params', params) + exportFile(this.baseApi + '/api/documentArchives/downloadBorrower?' + qs.stringify(params, { indices: false })) }).catch(() => { }) },