|
|
@@ -15,6 +15,19 @@
|
|
|
</v-container>
|
|
|
</v-card-title>
|
|
|
|
|
|
+ <!-- 顶部分页 -->
|
|
|
+ <div class="mt-2">
|
|
|
+ <v-row>
|
|
|
+ <v-col cols="2"></v-col>
|
|
|
+ <v-col cols="2">
|
|
|
+ <v-text-field type="number" required label="page" v-model="tempPage" @change="inputPageNum" />
|
|
|
+ </v-col>
|
|
|
+ <v-col cols="4">
|
|
|
+ <v-pagination :disabled="table.loading" :length="99" v-model="table.pageNum" @input="generateTableDataAgain"></v-pagination>
|
|
|
+ </v-col>
|
|
|
+ </v-row>
|
|
|
+ </div>
|
|
|
+
|
|
|
<!-- 表格主体 -->
|
|
|
<v-data-table calculate-widths multi-sort hide-default-footer
|
|
|
:group-by="table.groupBy" :group-desc="table.groupDesc"
|
|
|
@@ -212,6 +225,8 @@ export default {
|
|
|
},
|
|
|
async generateTableDataAgain() {
|
|
|
this.tempPage = this.table.pageNum
|
|
|
+ this.table.data = []
|
|
|
+
|
|
|
await this.generateTableData()
|
|
|
},
|
|
|
formatTimeBySixBitTimestamp(sixBitTimestamp) {
|