|
|
|
@ -38,12 +38,12 @@
|
|
|
|
|
<img-button icon="el-icon-edit" @click="handleAdd"> 导出 </img-button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="fy-center">
|
|
|
|
|
<img-button icon="el-icon-search" @click="handleQuery"> 搜索 </img-button>
|
|
|
|
|
<img-button icon="el-icon-search" @click="handleReset"> 重置 </img-button>
|
|
|
|
|
<img v-if="listType == 0" src="@/assets/hunting/record-list-active.png" @click="listType = 0" />
|
|
|
|
|
<img v-else src="@/assets/hunting/record-list.png" @click="listType = 0" />
|
|
|
|
|
<img v-if="listType == 1" src="@/assets/hunting/card-list-active.png" @click="listType = 1" />
|
|
|
|
|
<img v-else src="@/assets/hunting/card-list.png" @click="listType = 1" />
|
|
|
|
|
<img-button icon="el-icon-search" @click="handleQuery"> 搜索 </img-button>
|
|
|
|
|
<img-button icon="el-icon-search" @click="handleReset"> 重置 </img-button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<card-table v-if="listType == 1" :rows="rows" @select="handleSelections" @click="toDetail"></card-table>
|
|
|
|
@ -68,7 +68,7 @@
|
|
|
|
|
<el-button type="warning" size="mini">撤控</el-button>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
|
<pagination style="margin-top: 2vh" :total="total" @change="handleQuery"></pagination>
|
|
|
|
|
<pagination :pageSizes="[8, 20, 30, 40, 50, 100]" style="margin-top: 2vh" :total="total" @change="handleQuery"></pagination>
|
|
|
|
|
</card>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
@ -101,7 +101,7 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.handleQuery()
|
|
|
|
|
this.handleQuery({ pageSize: 8, pageNum: 1 })
|
|
|
|
|
},
|
|
|
|
|
mounted() {},
|
|
|
|
|
methods: {
|
|
|
|
|