You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
678 B
Vue
40 lines
678 B
Vue
<template>
|
|
<div class="activity_code">
|
|
<Table :loading="loading" border :columns="columns" :data="data"></Table>
|
|
<Page
|
|
:total="totalSize"
|
|
:current="pageNum"
|
|
:page-size="pageSize"
|
|
show-elevator
|
|
show-total
|
|
placement="top"
|
|
@on-change="handlePage"
|
|
class-name="ks-page"
|
|
></Page>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "ActivityCode",
|
|
data() {
|
|
return {
|
|
loading: false,
|
|
totalSize: 0,
|
|
pageNum: 1,
|
|
pageSize: 10,
|
|
data: []
|
|
};
|
|
},
|
|
methods: {
|
|
handlePage(value) {
|
|
this.pageNum = value;
|
|
this.load();
|
|
},
|
|
load() {}
|
|
}
|
|
};
|
|
</script>
|
|
|
|
<style></style>
|