|
|
@@ -384,7 +384,7 @@
|
|
|
attributeList: [],
|
|
|
exportLoading: false,
|
|
|
moudleName: 'mainCategory',
|
|
|
-
|
|
|
+ currentPage: 1,
|
|
|
errorData: [],
|
|
|
exportErrorDioalogVisible: false,
|
|
|
pagination: {
|
|
|
@@ -744,6 +744,7 @@
|
|
|
},
|
|
|
/* 表格数据源 */
|
|
|
async datasource({ page, limit, where, order }) {
|
|
|
+ this.currentPage = page;
|
|
|
let labs = getMaterialList({
|
|
|
pageNum: page,
|
|
|
size: limit,
|
|
|
@@ -776,7 +777,20 @@
|
|
|
categoryLevelId: this.currentId
|
|
|
});
|
|
|
},
|
|
|
-
|
|
|
+ /* 刷新表格 */
|
|
|
+ reloadNew(where) {
|
|
|
+ let labs = {
|
|
|
+ page: 1,
|
|
|
+ where: where,
|
|
|
+ categoryLevelId: this.currentId
|
|
|
+ };
|
|
|
+ this.whereData = labs;
|
|
|
+ this.$refs.table.reload({
|
|
|
+ page: this.currentPage,
|
|
|
+ where: where,
|
|
|
+ categoryLevelId: this.currentId
|
|
|
+ });
|
|
|
+ },
|
|
|
getFieldModel() {
|
|
|
fieldModel({ relevance: 't_main_category' }).then((res) => {
|
|
|
const privateColumn = [
|