|
@@ -54,6 +54,7 @@ import { mapState, createNamespacedHelpers } from 'vuex';
|
|
|
const { mapActions: organization } = createNamespacedHelpers('organization');
|
|
|
const { mapActions: policy } = createNamespacedHelpers('policy');
|
|
|
const { mapActions: ticket } = createNamespacedHelpers('ticket');
|
|
|
+const { mapActions: achieveApply } = createNamespacedHelpers('achieveApply');
|
|
|
export default {
|
|
|
name: 'index',
|
|
|
props: {},
|
|
@@ -108,6 +109,7 @@ export default {
|
|
|
methods: {
|
|
|
...policy({ policyQuery: 'query' }),
|
|
|
...ticket({ ticketQuery: 'query' }),
|
|
|
+ ...achieveApply({ achieveApplyQuery: 'query' }),
|
|
|
...organization(['login', 'fetch']),
|
|
|
link(data) {
|
|
|
const { type, name } = data;
|
|
@@ -160,6 +162,16 @@ export default {
|
|
|
if (this.$checkRes(res)) {
|
|
|
this.$set(this, `twoList`, res.data);
|
|
|
}
|
|
|
+ // 创新券
|
|
|
+ res = await this.ticketQuery({ skip, limit: 7, status: 1, ...info });
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ this.$set(this, `twoList`, res.data);
|
|
|
+ }
|
|
|
+ // 科技成果评价
|
|
|
+ res = await this.achieveApplyQuery({ skip, limit: 12, status: 6, ...info });
|
|
|
+ if (this.$checkRes(res)) {
|
|
|
+ this.$set(this, `thrList`, res.data);
|
|
|
+ }
|
|
|
},
|
|
|
// 查询企业详细信息
|
|
|
async searchCompany(data) {
|