|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div id="achieve">
|
|
|
- <list-page :displayList="firDroplist" :dropList="dropList" v-bind="$attrs" :total="total" v-if="!id" @toSearch="search">
|
|
|
+ <list-page :displayList="firDroplist" :dropList="dropList" v-bind="$attrs" :total="total" v-if="!id" @toSearch="search" @toChangeTab="search">
|
|
|
<component :is="model" :list="list"></component>
|
|
|
</list-page>
|
|
|
<template v-else>
|
|
@@ -45,6 +45,7 @@ export default {
|
|
|
...code({ codeQuery: 'query' }),
|
|
|
// 查询相关
|
|
|
async search({ skip = 0, limit = 5, ...info } = {}) {
|
|
|
+ console.log('in function:');
|
|
|
// TODO: 查询
|
|
|
let res = await this.query({ skip, limit, status: '2', type: '1', ...info });
|
|
|
if (this.$checkRes(res)) {
|