|
@@ -125,47 +125,47 @@ export default {
|
|
|
...news({ newsQuery: 'query', newsFetch: 'fetch' }),
|
|
|
async search() {
|
|
|
if (this.columnName == '平台建设') {
|
|
|
- let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '平台建设', status: 2 });
|
|
|
+ let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '平台建设', status: 2, is_del: 0 });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `achievementsDetail`, res.data[0]);
|
|
|
}
|
|
|
} else if (this.columnName == '项目成果') {
|
|
|
- let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '项目成果', status: 2 });
|
|
|
+ let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '项目成果', status: 2, is_del: 0 });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `projectDetail`, res.data[0]);
|
|
|
}
|
|
|
} else if (this.columnName == '知识产权') {
|
|
|
- let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '知识产权', status: 2 });
|
|
|
+ let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '知识产权', status: 2, is_del: 0 });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `knowledgeDetail`, res.data[0]);
|
|
|
}
|
|
|
} else if (this.columnName == '科技支撑') {
|
|
|
- let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '科技支撑', status: 2 });
|
|
|
+ let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '科技支撑', status: 2, is_del: 0 });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `technologyDetail`, res.data[0]);
|
|
|
}
|
|
|
} else if (this.columnName == '超算联盟') {
|
|
|
- let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '超算联盟', status: 2 });
|
|
|
+ let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '超算联盟', status: 2, is_del: 0 });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `supercomputingDetail`, res.data[0]);
|
|
|
}
|
|
|
} else if (this.columnName == '国家网格') {
|
|
|
- let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '国家网格', status: 2 });
|
|
|
+ let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '国家网格', status: 2, is_del: 0 });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `countryDetail`, res.data[0]);
|
|
|
}
|
|
|
} else if (this.columnName == '数学中心') {
|
|
|
- let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '数学中心', status: 2 });
|
|
|
+ let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '数学中心', status: 2, is_del: 0 });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `teachingtDetail`, res.data[0]);
|
|
|
}
|
|
|
} else if (this.columnName == '创新基地') {
|
|
|
- let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '创新基地', status: 2 });
|
|
|
+ let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '创新基地', status: 2, is_del: 0 });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `entrepreneurshipDetail`, res.data[0]);
|
|
|
}
|
|
|
} else if (this.columnName == '软件中心') {
|
|
|
- let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '软件中心', status: 2 });
|
|
|
+ let res = await this.newsQuery({ skip: 0, limit: 1, col_name: '软件中心', status: 2, is_del: 0 });
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `softwareDetail`, res.data[0]);
|
|
|
}
|