diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index 4439010..4a030b1 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -33,8 +33,8 @@ export default { activeMenu() { const route = this.$route const { meta, path } = route - console.log('meta', meta) - console.log('path', path) + // console.log('meta', meta) + // console.log('path', path) // if set path, the sidebar will highlight the path you set if (meta.activeMenu) { return meta.activeMenu @@ -52,12 +52,12 @@ export default { } }, mounted() { - console.log('sidebarRouters', this.sidebarRouters) + // console.log('sidebarRouters', this.sidebarRouters) }, methods: { handleSelect(key, keyPath) { - console.log('el-menu') - console.log(key, keyPath) + // console.log('el-menu') + // console.log(key, keyPath) } } } diff --git a/src/views/archivesManage/managementLibrary/anjuan/tableList.vue b/src/views/archivesManage/managementLibrary/anjuan/tableList.vue index 586fa07..78f30db 100644 --- a/src/views/archivesManage/managementLibrary/anjuan/tableList.vue +++ b/src/views/archivesManage/managementLibrary/anjuan/tableList.vue @@ -290,6 +290,7 @@ export default { this.timer = setTimeout(() => { this.parentId = row.id localStorage.removeItem('currentPageSize') + localStorage.removeItem('currentPage') this.openJuannei('所属' + this.title + ':' + row.archive_no, this.parentId) }, 300) this.selections = this.crud.selections diff --git a/src/views/archivesManage/managementLibrary/file/index.vue b/src/views/archivesManage/managementLibrary/file/index.vue index 33be834..737e92e 100644 --- a/src/views/archivesManage/managementLibrary/file/index.vue +++ b/src/views/archivesManage/managementLibrary/file/index.vue @@ -219,6 +219,7 @@ export default { this.currentPage = 1 this.page.size = size this.page.page = 0 + localStorage.setItem('currentPageSize', size) if (this.selectedCategory.arrangeType === 1) { this.getViewTable(4, this.parentsData.parentsAnjuanId) } else { @@ -228,6 +229,7 @@ export default { handleCurrentPage(pageVal) { this.currentPage = pageVal this.page.page = pageVal - 1 + localStorage.setItem('currentPage', JSON.stringify(this.page.page)) if (this.selectedCategory.arrangeType === 1) { this.getViewTable(4, this.parentsData.parentsAnjuanId) } else { diff --git a/src/views/collectReorganizi/collectionLibrary/anjuan/tableList.vue b/src/views/collectReorganizi/collectionLibrary/anjuan/tableList.vue index 52b0a84..9f03e91 100644 --- a/src/views/collectReorganizi/collectionLibrary/anjuan/tableList.vue +++ b/src/views/collectReorganizi/collectionLibrary/anjuan/tableList.vue @@ -267,6 +267,7 @@ export default { this.timer = setTimeout(() => { this.parentId = row.id localStorage.removeItem('currentPageSize') + localStorage.removeItem('currentPage') this.openJuannei('所属' + this.title + ':' + row.archive_no, this.parentId, row) }, 300) } diff --git a/src/views/collectReorganizi/collectionLibrary/file/index.vue b/src/views/collectReorganizi/collectionLibrary/file/index.vue index d951491..cc86074 100644 --- a/src/views/collectReorganizi/collectionLibrary/file/index.vue +++ b/src/views/collectReorganizi/collectionLibrary/file/index.vue @@ -250,6 +250,7 @@ export default { this.currentPage = 1 this.page.size = size this.page.page = 0 + localStorage.setItem('currentPageSize', size) if (this.selectedCategory.arrangeType === 1) { this.getViewTable(4, this.parentsData.parentsAnjuanId) } else { @@ -259,6 +260,7 @@ export default { handleCurrentPage(pageVal) { this.currentPage = pageVal this.page.page = pageVal - 1 + localStorage.setItem('currentPage', JSON.stringify(this.page.page)) if (this.selectedCategory.arrangeType === 1) { this.getViewTable(4, this.parentsData.parentsAnjuanId) } else { diff --git a/src/views/collectReorganizi/collectionLibrary/index.vue b/src/views/collectReorganizi/collectionLibrary/index.vue index 4317939..11ae5fd 100644 --- a/src/views/collectReorganizi/collectionLibrary/index.vue +++ b/src/views/collectReorganizi/collectionLibrary/index.vue @@ -307,7 +307,7 @@ export default { if (currentKey && currentKey.id) { this.$nextTick(() => { // 选中节点的门类详情 - console.log('444') + // console.log('444') this.handleNodeClick(currentKey) }) } diff --git a/src/views/collectReorganizi/collectionLibrary/mixins/index.js b/src/views/collectReorganizi/collectionLibrary/mixins/index.js index 9a4d296..c0fecf7 100644 --- a/src/views/collectReorganizi/collectionLibrary/mixins/index.js +++ b/src/views/collectReorganizi/collectionLibrary/mixins/index.js @@ -49,7 +49,6 @@ export const collectionLibraryCrud = { }, handleSearch(categoryLevel) { const queryResult = this.hasValue(this.query) - // console.log(queryResult) if (localStorage.getItem('currentPage') && !queryResult) { this.page.page = parseInt(localStorage.getItem('currentPage')) } else { diff --git a/src/views/components/categoryTree.vue b/src/views/components/categoryTree.vue index 6ca15f2..88d6ecd 100644 --- a/src/views/components/categoryTree.vue +++ b/src/views/components/categoryTree.vue @@ -70,11 +70,11 @@ export default { this.loading = true getfondMenu().then(res => { this.categroyTree = this.filterData(this.transformData(res)) - console.log('this.categroyTree', this.categroyTree) - console.log('this.user', this.user.fonds.id) + // console.log('this.categroyTree', this.categroyTree) + // console.log('this.user', this.user.fonds.id) // 筛选出匹配的 fondsId 项 - console.log('this.isMoveFile', this.isMoveFile) + // console.log('this.isMoveFile', this.isMoveFile) if (this.isMoveFile === 'true') { const targetFondsId = this.user.fonds.id this.categroyTree = this.categroyTree.filter(item => { @@ -127,7 +127,7 @@ export default { if (currentKey && currentKey.id) { this.$nextTick(() => { // 选中节点的门类详情 - console.log('444') + // console.log('444') this.handleNodeClick(currentKey) }) } diff --git a/src/views/prearchiveLibrary/file/index.vue b/src/views/prearchiveLibrary/file/index.vue index 84cc519..626282c 100644 --- a/src/views/prearchiveLibrary/file/index.vue +++ b/src/views/prearchiveLibrary/file/index.vue @@ -21,10 +21,9 @@ 常规 - - + @@ -32,16 +31,15 @@ 文件上传 - + 下载 - + -->