diff --git a/src/api/tool/downloadCount.js b/src/api/tool/downloadCount.js index 517e36b..61b48a6 100644 --- a/src/api/tool/downloadCount.js +++ b/src/api/tool/downloadCount.js @@ -9,6 +9,16 @@ export function listCount(query) { }) } +// 查询工具下载统计列表 +export function listDocCount(query) { + return request({ + url: '/system/count/doc/list', + method: 'get', + params: query + }) +} + + // 根据详情统计 export function userDownList(query) { return request({ diff --git a/src/views/document/downloadFileDetail.vue b/src/views/document/downloadFileDetail.vue index 63027ba..e2c4a3b 100644 --- a/src/views/document/downloadFileDetail.vue +++ b/src/views/document/downloadFileDetail.vue @@ -4,6 +4,7 @@ + + @@ -70,6 +78,7 @@ replyContent: [], isPreviewDisable: false, attFileType: "zip,rar,7z", + total: 0 } }, created(){ diff --git a/src/views/document/editDocument.vue b/src/views/document/editDocument.vue index bb9c9c8..242f428 100644 --- a/src/views/document/editDocument.vue +++ b/src/views/document/editDocument.vue @@ -173,6 +173,13 @@ 下载 + @@ -359,6 +366,11 @@ pageNum: 1, pageSize: 10, }, + queryParams: { + pageNum: 1, + pageSize: 10, + }, + total: 0 } }, @@ -587,7 +599,7 @@ self.$set(fileData, "size", fileData.fileSize) self.dataFile.push(fileData) */ - self.getAttachemntList() + self.getAttachmentList() }); }) }, @@ -615,7 +627,7 @@ type:'success',  //类型是成功 duration:1200,  //显示时间, 毫秒。设为 0 则不会自动关闭,建议1200 }); - self.getAttachemntList() + self.getAttachmentList() }).catch(err =>{ this.discussionContent = null console.error("handleDiscussions==err==", err) @@ -623,10 +635,10 @@ }); }) }, - getAttachemntList() { + getAttachmentList() { let self = this - this.$set(this.docQueryParams,'del',"0") - this.$set(this.docQueryParams,'businessId',this.form.docId) + this.$set(this.queryParams,'del',"0") + this.$set(this.queryParams,'businessId',this.form.docId) listAttachment({businessId:this.form.docId}).then(res => { self.attachmentList = res.rows; self.total = res.total; @@ -682,7 +694,7 @@ duration:1200,  //显示时间, 毫秒。设为 0 则不会自动关闭,建议1200 }); self.cancelReplySon(parentIndex, repIndex) - self.getAttachemntList() + self.getAttachmentList() }).catch(err =>{ console.error("submitReplySon==err==", err) self.$modal.msgError("发布失败"); @@ -718,7 +730,7 @@ duration:1200,  //显示时间, 毫秒。设为 0 则不会自动关闭,建议1200 }); self.cancelReply(index) - self.getAttachemntList() + self.getAttachmentList() }).catch(err =>{ console.error("handleDiscussions==err==", err) self.$modal.msgError("发布失败"); diff --git a/src/views/document/index.vue b/src/views/document/index.vue index 46bb70a..dd00dfb 100644 --- a/src/views/document/index.vue +++ b/src/views/document/index.vue @@ -121,16 +121,16 @@ - - - + + + · - - - + + + diff --git a/src/views/filestatistic/index.vue b/src/views/filestatistic/index.vue index 104ab4f..6c2cdc4 100644 --- a/src/views/filestatistic/index.vue +++ b/src/views/filestatistic/index.vue @@ -7,7 +7,7 @@
文档来源统计
+ + + + +
文档下载统计
+
+ + + + +
+
+ + + + + + + + + + +
+
+
+
+ + + + + + + + + + + +
diff --git a/src/views/statistic/index.vue b/src/views/statistic/index.vue index bf1a97d..0b67ab7 100644 --- a/src/views/statistic/index.vue +++ b/src/views/statistic/index.vue @@ -49,12 +49,13 @@ + -
工具下载
+
工具下载统计
- + @@ -72,7 +80,7 @@ replyContent: [], isPreviewDisable: false, attFileType: "zip,rar,7z", - + total: 0 } }, created(){ diff --git a/src/views/tool/index.vue b/src/views/tool/index.vue index 1cd05cd..4df0b82 100644 --- a/src/views/tool/index.vue +++ b/src/views/tool/index.vue @@ -95,15 +95,15 @@
- - - + + + - - + +