From dc21acf2cd6629abeff5e5c077c90623e2e89cae Mon Sep 17 00:00:00 2001 From: liukangdong <898885815@qq.com> Date: 星期四, 23 五月 2024 14:42:09 +0800 Subject: [PATCH] '' --- admin/src/views/statistics/platformStatic.vue | 108 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 108 insertions(+), 0 deletions(-) diff --git a/admin/src/views/statistics/platformStatic.vue b/admin/src/views/statistics/platformStatic.vue index e69de29..4e69412 100644 --- a/admin/src/views/statistics/platformStatic.vue +++ b/admin/src/views/statistics/platformStatic.vue @@ -0,0 +1,108 @@ +<template> + <div class="main_app"> + <QueryForm + v-model="filters" + :query-form-config="queryFormConfig" + @handleQuery="getList(1)" + @clear="clear" + /> + <el-table v-loading="loading" :data="list" stripe> + <el-table-column + prop="name" + label="鏈堝彴鍚嶇О" + min-width="100" + show-overflow-tooltip + /> + <el-table-column + prop="name" + label="鏈堝彴缁�" + min-width="100" + show-overflow-tooltip + /> + <el-table-column + prop="name" + label="鍋滈潬娆℃暟(娆�)" + min-width="100" + show-overflow-tooltip + /> + <el-table-column + prop="name" + label="宸ヤ綔鏃堕暱" + min-width="100" + show-overflow-tooltip + /> + <el-table-column + prop="name" + label="鏈堝彴浣跨敤鐜�" + min-width="100" + show-overflow-tooltip + /> + </el-table> + <pagination + @size-change="handleSizeChange" + @current-change="getList" + :pagination="pagination" + /> + </div> +</template> + +<script> +import Pagination from '@/components/common/Pagination' +import QueryForm from '@/components/common/QueryForm' +export default { + components: { + Pagination, + QueryForm + }, + data () { + return { + loading: false, + pagination: { + capacity: 10, + page: 1 + }, + filters: {}, + list: [], + total: 0, + queryFormConfig: { + formItems: [ + { + filed: 'aaaa', + type: 'input', + label: '鏈堝彴鍚嶇О' + }, + { + filed: 'bbb', + type: 'select', + label: '鏈堝彴缁�', + options: [] + }, + { + filed: 'selDate', + type: 'daterange', + label: '閫夋嫨鏃堕棿' + } + ], + online: true + } + } + }, + methods: { + handleSub () { + this.$refs.ruleForm.validate((valid) => { + if (valid) { + alert('submit!') + } + }) + }, + getList (page) { }, + clear () { }, + handleSizeChange (capacity) { + this.pagination.capacity = capacity + } + } +} +</script> + +<style> +</style> -- Gitblit v1.9.3