This commit is contained in:
yziiy
2025-09-27 15:38:32 +08:00
parent 950e6d09ec
commit abc2a7b2fb
66 changed files with 80 additions and 7 deletions

View File

@@ -18,6 +18,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -18,6 +18,7 @@ export function useData() {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
pageSizes: [10, 20, 50, 100],
background: true background: true
}); });
const tableLabel = ref([ const tableLabel = ref([

View File

@@ -16,6 +16,7 @@ export function useData() {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
pageSizes: [10, 20, 50, 100],
background: true background: true
}); });
const tableLabel = ref([ const tableLabel = ref([

View File

@@ -18,6 +18,7 @@ export function useData() {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
pageSizes: [10, 20, 50, 100],
background: true background: true
}); });
const indexMethod = (index: number) => { const indexMethod = (index: number) => {

View File

@@ -12,6 +12,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -21,6 +21,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -13,6 +13,7 @@ export function useData() {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
pageSizes: [10, 20, 50, 100],
background: true background: true
}); });
const searchForm = ref({ const searchForm = ref({

View File

@@ -22,6 +22,7 @@ export function useData() {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
pageSizes: [10, 20, 50, 100],
background: true background: true
}); });
const searchForm = ref({ const searchForm = ref({

View File

@@ -28,6 +28,7 @@ export function useData() {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
pageSizes: [10, 20, 50, 100],
background: true background: true
}); });
const tableLabel = ref([ const tableLabel = ref([

View File

@@ -21,6 +21,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -43,14 +43,15 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });
const statisticsList = ref([ const statisticsList = ref([
{ label: "总收入(¥)", prop: "total_money" }, // { label: "总收入(¥)", prop: "total_money" },
{ label: "未支付(¥)", prop: "unpaid_money" }, { label: "未支付(¥)", prop: "unpaid_money" },
{ {
label: "已支付(¥)", prop: "paid_money" label: "zongs(¥)", prop: "paid_money"
}, },
{ label: "微信支付(¥)", prop: "wx_money" }, { label: "微信支付(¥)", prop: "wx_money" },
{ label: "支付宝支付(¥)", prop: "ali_money" }, { label: "支付宝支付(¥)", prop: "ali_money" },

View File

@@ -57,6 +57,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -21,6 +21,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -23,6 +23,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -14,6 +14,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -14,6 +14,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -22,6 +22,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -9,6 +9,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -9,6 +9,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -22,6 +22,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -22,6 +22,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -14,6 +14,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -14,6 +14,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -13,6 +13,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -13,6 +13,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -13,6 +13,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -14,6 +14,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -24,6 +24,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -24,6 +24,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -18,6 +18,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -16,6 +16,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -22,6 +22,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -22,6 +22,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -21,6 +21,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -22,6 +22,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -51,6 +51,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -18,6 +18,7 @@ export function useData() {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
pageSizes: [10, 20, 50, 100],
background: true background: true
}); });
const searchForm = ref({ const searchForm = ref({

View File

@@ -1,12 +1,20 @@
<script setup lang="ts"> <script setup lang="ts">
import { ref, onMounted } from "vue"; import { ref, onMounted } from "vue";
import SearchForm from "@/components/SearchForm/index.vue";
import { getUserList } from '@/api/modules/message' import { getUserList } from '@/api/modules/message'
const selectUserList = ref([]); const selectUserList = ref([]);
const userList = ref([]) const userList = ref([])
function getRef() { function getRef() {
return selectUserList.value; return selectUserList.value;
} }
const searchLabel = ref([
{ label: "用户ID", prop: "user_id", type: "input" }
]);
const searchForm = ref({})
const multipleTable = ref(null) const multipleTable = ref(null)
const onSearch = (formData) => {
}
const props = defineProps(["userList"]); const props = defineProps(["userList"]);
const getAllUserList = async () => { const getAllUserList = async () => {
const { code, data } = await getUserList() const { code, data } = await getUserList()
@@ -33,6 +41,7 @@ defineExpose({ getRef });
</script> </script>
<template> <template>
<div style="margin-bottom: 20px;"> <div style="margin-bottom: 20px;">
<SearchForm class="pb-2" :LabelList="searchLabel" :formData="searchForm" @handleSearch="onSearch"></SearchForm>
<el-table ref="multipleTable" :data="userList" row-key="id" border style="width: 100%" max-height="550" <el-table ref="multipleTable" :data="userList" row-key="id" border style="width: 100%" max-height="550"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55"> <el-table-column type="selection" width="55">

View File

@@ -10,6 +10,7 @@ export function useData() {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
pageSizes: [10, 20, 50, 100],
background: true background: true
}); });
const searchForm = ref({ const searchForm = ref({

View File

@@ -15,6 +15,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -34,6 +34,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -17,6 +17,7 @@ export function useData() {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
pageSizes: [10, 20, 50, 100],
background: true background: true
}); });
const tableLabel = ref([ const tableLabel = ref([

View File

@@ -14,6 +14,7 @@ export function useData() {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
pageSizes: [10, 20, 50, 100],
background: true background: true
}); });
const searchForm = ref({ const searchForm = ref({

View File

@@ -21,6 +21,7 @@ export function useData() {
total: 0, total: 0,
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
pageSizes: [10, 20, 50, 100],
background: true background: true
}); });
const searchForm = ref({ const searchForm = ref({

View File

@@ -16,6 +16,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -18,6 +18,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -31,6 +31,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -21,6 +21,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -32,6 +32,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -25,6 +25,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -38,6 +38,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -41,6 +41,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -22,6 +22,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -18,6 +18,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -30,6 +30,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -22,6 +22,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -22,6 +22,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -29,6 +29,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -57,6 +57,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -24,6 +24,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -23,6 +23,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -18,6 +18,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -34,6 +34,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -18,6 +18,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -30,6 +30,7 @@ export function useData() {
const pagination = ref({ const pagination = ref({
total: 0, total: 0,
pageSize: 10, pageSize: 10,
pageSizes: [10, 20, 50, 100],
currentPage: 1, currentPage: 1,
background: true background: true
}); });

View File

@@ -6,7 +6,7 @@ const statisticsData = []
const titleData = [ const titleData = [
{ {
name: "今日收入金额", name: "今日收入金额",
tip: "总收入金额", tip: "总已支付金额",
prop: 'today_money', prop: 'today_money',
tipProp: 'all_money' tipProp: 'all_money'
}, },
@@ -22,13 +22,13 @@ const titleData = [
prop: 'admin_today_coin', prop: 'admin_today_coin',
tipProp: 'admin_coin' tipProp: 'admin_coin'
}, { }, {
name: "今日待付款金额", name: "周实时收入金额",
tip: "总待付款金额", tip: "上周实时收入金额",
prop: 'today_wait_pay', prop: 'today_wait_pay',
tipProp: 'all_wait_pay' tipProp: 'all_wait_pay'
}, { }, {
name: "今日待付款笔数", name: "月实时收入金额",
tip: "总待付款笔数", tip: "上月实时收入金额",
prop: 'today_wait_pay_num', prop: 'today_wait_pay_num',
tipProp: 'all_wait_pay_num' tipProp: 'all_wait_pay_num'
} }