From dc1b48bb46e5715a5a55ee2c0f60175b849a6b3b Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期二, 09 四月 2024 19:32:30 +0800 Subject: [PATCH] 问题修改 --- pages/home/home.js | 32 +++++++++++++++++++++++++++++--- 1 files changed, 29 insertions(+), 3 deletions(-) diff --git a/pages/home/home.js b/pages/home/home.js index cac6afc..063db05 100644 --- a/pages/home/home.js +++ b/pages/home/home.js @@ -173,6 +173,10 @@ start: 0, size: 4 }, + filterList: [{ + value: 'Normal', + field: 'state' + }], fields: { liveTime: [], lecturer: [], @@ -198,7 +202,6 @@ getCourseTypeListList() { const data = { path: 'jsek_homepageDigitalCourses', - filterList: [], queryType: '\\', searchList: [], size: '20', @@ -207,7 +210,11 @@ sort: { type: 'Asc', field: 'LinkOrder' - } + }, + filterList: [{ + value: 'Normal', + field: 'state' + }] } app.MG.store.getStoreChannelList(data).then((res) => { if (res.datas && res.datas.length > 0) { @@ -233,6 +240,10 @@ start: 0, size: 4 }, + filterList: [{ + value: 'Normal', + field: 'state' + }], fields: { courseLeader: [], affiliatedUnit: [], @@ -260,7 +271,10 @@ getBookTypeList() { const data = { path: 'jsek_homepageBookService', - filterList: [], + filterList: [{ + value: 'Normal', + field: 'state' + }], queryType: '\\', searchList: [], size: '20', @@ -297,6 +311,10 @@ start: 0, size: 6 }, + filterList: [{ + value: 'Normal', + field: 'state' + }], fields: { author: [] } @@ -327,6 +345,10 @@ start: 0, size: 3 }, + filterList: [{ + value: 'Normal', + field: 'state' + }], fields: { author: [] } @@ -349,6 +371,10 @@ start: 0, size: 6 }, + filterList: [{ + value: 'Normal', + field: 'state' + }], fields: { author: [], } -- Gitblit v1.9.1