|
@ -36,6 +36,12 @@ export const manageLibraryCrud = { |
|
|
}, |
|
|
}, |
|
|
// 组件共用方法
|
|
|
// 组件共用方法
|
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
// 筛选可销毁/可开放文件
|
|
|
|
|
|
handleFilterChange(val) { |
|
|
|
|
|
console.log('this.collectLevel:', this.collectLevel) |
|
|
|
|
|
console.log('选中的值为:', this.parentsData.checklist) |
|
|
|
|
|
this.handleSearch(this.collectLevel) |
|
|
|
|
|
}, |
|
|
// 缓存用户对于固定栏操作习惯
|
|
|
// 缓存用户对于固定栏操作习惯
|
|
|
statusBarChecked(val) { |
|
|
statusBarChecked(val) { |
|
|
this.fixedStatusBar = val |
|
|
this.fixedStatusBar = val |
|
@ -124,6 +130,7 @@ export const manageLibraryCrud = { |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
getViewTableList(categoryLevel, parentsId, type) { |
|
|
getViewTableList(categoryLevel, parentsId, type) { |
|
|
|
|
|
console.log('checklist', this.parentsData.checklist) |
|
|
const currentPageSize = localStorage.getItem('currentPageSize') |
|
|
const currentPageSize = localStorage.getItem('currentPageSize') |
|
|
if (currentPageSize) { |
|
|
if (currentPageSize) { |
|
|
this.page.size = parseInt(currentPageSize) |
|
|
this.page.size = parseInt(currentPageSize) |
|
@ -150,7 +157,9 @@ export const manageLibraryCrud = { |
|
|
'archive_ctg_no': this.query.archive_ctg_no, |
|
|
'archive_ctg_no': this.query.archive_ctg_no, |
|
|
'page': this.page.page, |
|
|
'page': this.page.page, |
|
|
'size': this.page.size, |
|
|
'size': this.page.size, |
|
|
'sort': this.arrySort |
|
|
|
|
|
|
|
|
'sort': this.arrySort, |
|
|
|
|
|
'canOpen': this.parentsData.checklist && this.parentsData.checklist.length === 0 ? null : (this.parentsData.checklist && this.parentsData.checklist.includes(1) ? true : null), |
|
|
|
|
|
'canDestroy': this.parentsData.checklist && this.parentsData.checklist.length === 0 ? null : (this.parentsData.checklist && this.parentsData.checklist.includes(2) ? true : null) |
|
|
} |
|
|
} |
|
|
FetchInitContorlView(params).then((res) => { |
|
|
FetchInitContorlView(params).then((res) => { |
|
|
if (res.code !== 500) { |
|
|
if (res.code !== 500) { |
|
|