Browse Source

bug修复

master
xuhuajiao 8 hours ago
parent
commit
4b6e70abd3
  1. 10
      src/layout/components/Sidebar/index.vue
  2. 1
      src/views/archivesManage/managementLibrary/anjuan/tableList.vue
  3. 2
      src/views/archivesManage/managementLibrary/file/index.vue
  4. 1
      src/views/collectReorganizi/collectionLibrary/anjuan/tableList.vue
  5. 2
      src/views/collectReorganizi/collectionLibrary/file/index.vue
  6. 2
      src/views/collectReorganizi/collectionLibrary/index.vue
  7. 1
      src/views/collectReorganizi/collectionLibrary/mixins/index.js
  8. 8
      src/views/components/categoryTree.vue
  9. 10
      src/views/prearchiveLibrary/file/index.vue

10
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)
}
}
}

1
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

2
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 {

1
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)
}

2
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 {

2
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)
})
}

1
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 {

8
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)
})
}

10
src/views/prearchiveLibrary/file/index.vue

@ -21,10 +21,9 @@
<i class="iconfont icon-changgui" />
<span>常规</span>
</template>
<el-menu-item-group class="collect-submenu-group">
<!-- @click="toDelete" -->
<!-- <el-menu-item-group class="collect-submenu-group">
<el-menu-item index="1-3">删除</el-menu-item>
</el-menu-item-group>
</el-menu-item-group> -->
<el-menu-item-group class="collect-submenu-group submenu-tree">
<template slot="title">原文上传</template>
<!-- <el-menu-item index="1-5" @click="fileUpload(0)">普通上传</el-menu-item> -->
@ -32,16 +31,15 @@
<el-menu-item index="1-6" @click="fileUpload">文件上传</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu index="3">
<!-- <el-submenu index="3">
<template slot="title">
<i class="iconfont icon-gengduo" />
<span>更多</span>
</template>
<el-menu-item-group class="collect-submenu-group">
<!-- @click="handleOriginalDownload" -->
<el-menu-item index="3-4">下载</el-menu-item>
</el-menu-item-group>
</el-submenu>
</el-submenu> -->
</el-menu>
</div>
</div>

Loading…
Cancel
Save