|
@@ -114,13 +114,13 @@ export default {
|
|
|
methods: {
|
|
|
...news({ newsQuery: 'query', newsFetch: 'fetch' }),
|
|
|
async searchInfo({ skip = 0, limit = 8, status = 2, ...info } = {}) {
|
|
|
- let res = await this.newsQuery({ skip, limit, status, col_name: '图片新闻' });
|
|
|
+ let res = await this.newsQuery({ skip, limit, status, col_name: '图片新闻', is_del: 0 });
|
|
|
if (this.$checkRes(res)) this.$set(this, `ruleList`, res.data);
|
|
|
- res = await this.newsQuery({ skip, limit, status, col_name: '党建工作' });
|
|
|
+ res = await this.newsQuery({ skip, limit, status, col_name: '党建工作', is_del: 0 });
|
|
|
if (this.$checkRes(res)) this.$set(this, `workList`, res.data);
|
|
|
- res = await this.newsQuery({ skip, limit, status, col_name: '学习园地' });
|
|
|
+ res = await this.newsQuery({ skip, limit, status, col_name: '学习园地', is_del: 0 });
|
|
|
if (this.$checkRes(res)) this.$set(this, `stuList`, res.data);
|
|
|
- res = await this.newsQuery({ skip, limit, status, col_name: '党风廉政' });
|
|
|
+ res = await this.newsQuery({ skip, limit, status, col_name: '党风廉政', is_del: 0 });
|
|
|
if (this.$checkRes(res)) this.$set(this, `politicsList`, res.data);
|
|
|
},
|
|
|
},
|