更新
This commit is contained in:
@@ -18,6 +18,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -18,6 +18,7 @@ export function useData() {
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
background: true
|
||||
});
|
||||
const tableLabel = ref([
|
||||
|
||||
@@ -16,6 +16,7 @@ export function useData() {
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
background: true
|
||||
});
|
||||
const tableLabel = ref([
|
||||
|
||||
@@ -18,6 +18,7 @@ export function useData() {
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
background: true
|
||||
});
|
||||
const indexMethod = (index: number) => {
|
||||
|
||||
@@ -12,6 +12,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -21,6 +21,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -13,6 +13,7 @@ export function useData() {
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
background: true
|
||||
});
|
||||
const searchForm = ref({
|
||||
|
||||
@@ -22,6 +22,7 @@ export function useData() {
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
background: true
|
||||
});
|
||||
const searchForm = ref({
|
||||
|
||||
@@ -28,6 +28,7 @@ export function useData() {
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
background: true
|
||||
});
|
||||
const tableLabel = ref([
|
||||
|
||||
@@ -21,6 +21,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -43,14 +43,15 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
const statisticsList = ref([
|
||||
{ label: "总收入(¥)", prop: "total_money" },
|
||||
// { label: "总收入(¥)", prop: "total_money" },
|
||||
{ label: "未支付(¥)", prop: "unpaid_money" },
|
||||
{
|
||||
label: "已支付(¥)", prop: "paid_money"
|
||||
label: "zongs(¥)", prop: "paid_money"
|
||||
},
|
||||
{ label: "微信支付(¥)", prop: "wx_money" },
|
||||
{ label: "支付宝支付(¥)", prop: "ali_money" },
|
||||
|
||||
@@ -57,6 +57,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -21,6 +21,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -23,6 +23,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -14,6 +14,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -14,6 +14,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -22,6 +22,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -9,6 +9,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -9,6 +9,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -22,6 +22,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -22,6 +22,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -14,6 +14,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -14,6 +14,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -13,6 +13,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -13,6 +13,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -13,6 +13,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -14,6 +14,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -24,6 +24,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -24,6 +24,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -18,6 +18,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -16,6 +16,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -22,6 +22,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -22,6 +22,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -21,6 +21,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -22,6 +22,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -51,6 +51,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -18,6 +18,7 @@ export function useData() {
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
background: true
|
||||
});
|
||||
const searchForm = ref({
|
||||
|
||||
@@ -1,12 +1,20 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted } from "vue";
|
||||
import SearchForm from "@/components/SearchForm/index.vue";
|
||||
import { getUserList } from '@/api/modules/message'
|
||||
const selectUserList = ref([]);
|
||||
const userList = ref([])
|
||||
function getRef() {
|
||||
return selectUserList.value;
|
||||
}
|
||||
const searchLabel = ref([
|
||||
{ label: "用户ID", prop: "user_id", type: "input" }
|
||||
]);
|
||||
const searchForm = ref({})
|
||||
const multipleTable = ref(null)
|
||||
const onSearch = (formData) => {
|
||||
|
||||
}
|
||||
const props = defineProps(["userList"]);
|
||||
const getAllUserList = async () => {
|
||||
const { code, data } = await getUserList()
|
||||
@@ -33,6 +41,7 @@ defineExpose({ getRef });
|
||||
</script>
|
||||
<template>
|
||||
<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"
|
||||
@selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55">
|
||||
|
||||
@@ -10,6 +10,7 @@ export function useData() {
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
background: true
|
||||
});
|
||||
const searchForm = ref({
|
||||
|
||||
@@ -15,6 +15,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -34,6 +34,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -17,6 +17,7 @@ export function useData() {
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
background: true
|
||||
});
|
||||
const tableLabel = ref([
|
||||
|
||||
@@ -14,6 +14,7 @@ export function useData() {
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
background: true
|
||||
});
|
||||
const searchForm = ref({
|
||||
|
||||
@@ -21,6 +21,7 @@ export function useData() {
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
currentPage: 1,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
background: true
|
||||
});
|
||||
const searchForm = ref({
|
||||
|
||||
@@ -16,6 +16,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -18,6 +18,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -31,6 +31,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -21,6 +21,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -32,6 +32,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -25,6 +25,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -38,6 +38,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -41,6 +41,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -22,6 +22,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -18,6 +18,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -30,6 +30,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -22,6 +22,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -22,6 +22,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -29,6 +29,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -57,6 +57,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -24,6 +24,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -23,6 +23,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -18,6 +18,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -34,6 +34,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -18,6 +18,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -30,6 +30,7 @@ export function useData() {
|
||||
const pagination = ref({
|
||||
total: 0,
|
||||
pageSize: 10,
|
||||
pageSizes: [10, 20, 50, 100],
|
||||
currentPage: 1,
|
||||
background: true
|
||||
});
|
||||
|
||||
@@ -6,7 +6,7 @@ const statisticsData = []
|
||||
const titleData = [
|
||||
{
|
||||
name: "今日收入金额",
|
||||
tip: "总收入金额",
|
||||
tip: "总已支付金额",
|
||||
prop: 'today_money',
|
||||
tipProp: 'all_money'
|
||||
},
|
||||
@@ -22,13 +22,13 @@ const titleData = [
|
||||
prop: 'admin_today_coin',
|
||||
tipProp: 'admin_coin'
|
||||
}, {
|
||||
name: "今日待付款金额",
|
||||
tip: "总待付款金额",
|
||||
name: "周实时收入金额",
|
||||
tip: "上周实时收入金额",
|
||||
prop: 'today_wait_pay',
|
||||
tipProp: 'all_wait_pay'
|
||||
}, {
|
||||
name: "今日待付款笔数",
|
||||
tip: "总待付款笔数",
|
||||
name: "月实时收入金额",
|
||||
tip: "上月实时收入金额",
|
||||
prop: 'today_wait_pay_num',
|
||||
tipProp: 'all_wait_pay_num'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user