update
This commit is contained in:
106
src/api/admin.js
106
src/api/admin.js
@@ -147,6 +147,112 @@ const admin = {
|
|||||||
data: data
|
data: data
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
getInterventionList: async (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/intervention/getInterventionList',
|
||||||
|
method: Method.POST,
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getBusinessmoneylogPlatform: async () => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/businessmoneylog/getPlatform',
|
||||||
|
method: Method.POST,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getBusinessmoneylogPurpose: async () => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/businessmoneylog/getPurpose',
|
||||||
|
method: Method.POST,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getBusinessmoneylogList: async (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/businessmoneylog/getList',
|
||||||
|
method: Method.POST,
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getUsermoneylogPlatform: async () => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/usermoneylog/getPlatform',
|
||||||
|
method: Method.POST,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getUsermoneylogPurpose: async () => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/usermoneylog/getPurpose',
|
||||||
|
method: Method.POST,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getUsermoneylogList: async (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/usermoneylog/getList',
|
||||||
|
method: Method.POST,
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getWithdrawalPerson: async () => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/withdrawal/getPerson',
|
||||||
|
method: Method.POST,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getWithdrawalPlatform: async () => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/withdrawal/getPlatform',
|
||||||
|
method: Method.POST,
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getWithdrawalList: async (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/withdrawal/getList',
|
||||||
|
method: Method.POST,
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getWithdrawllogStatus: async (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/withdrawallog/getStatus',
|
||||||
|
method: Method.POST,
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getWithdrawllogList: async (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/withdrawallog/getList',
|
||||||
|
method: Method.POST,
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getBusinessList: async (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/business/getList',
|
||||||
|
method: Method.POST,
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getUserList: async (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/user/getList',
|
||||||
|
method: Method.POST,
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getAccountList: async (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/account/getList',
|
||||||
|
method: Method.POST,
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
},
|
||||||
|
getTaskblockList: async (data) => {
|
||||||
|
return request({
|
||||||
|
url: '/admin/taskblock/getList',
|
||||||
|
method: Method.POST,
|
||||||
|
data: data
|
||||||
|
});
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
export default admin;
|
export default admin;
|
||||||
|
|||||||
@@ -60,33 +60,33 @@ const columns = [
|
|||||||
];
|
];
|
||||||
const FilterConfig = [
|
const FilterConfig = [
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'b_uid',
|
||||||
|
type: 'input',
|
||||||
|
label: '商家ID',
|
||||||
|
placeholder: '请输入商家ID',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'u_uid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '达人ID',
|
label: '达人ID',
|
||||||
placeholder: '请输入达人ID',
|
placeholder: '请输入达人ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'account',
|
||||||
type: 'input',
|
|
||||||
label: '账号',
|
|
||||||
placeholder: '请输入账号',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'wd',
|
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '推广账号',
|
label: '推广账号',
|
||||||
placeholder: '请输入推广账号',
|
placeholder: '请输入推广账号',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'rangeTime',
|
||||||
|
start: 'start_time',
|
||||||
|
end: 'end_time',
|
||||||
type: 'datetime',
|
type: 'datetime',
|
||||||
label: '推广日期',
|
label: '推广日期',
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const po = reactive({
|
const po = reactive({});
|
||||||
wd: null,
|
|
||||||
});
|
|
||||||
const vo = reactive({
|
const vo = reactive({
|
||||||
page: '',
|
page: '',
|
||||||
rows: [],
|
rows: [],
|
||||||
@@ -95,7 +95,7 @@ const vo = reactive({
|
|||||||
|
|
||||||
const {loading, pagination, initFetchData} = useTableQuery({
|
const {loading, pagination, initFetchData} = useTableQuery({
|
||||||
parameter: po,
|
parameter: po,
|
||||||
api: Api.system.getData,
|
api: Api.admin.getTaskblockList,
|
||||||
callback: (data) => {
|
callback: (data) => {
|
||||||
Object.assign(vo, data);
|
Object.assign(vo, data);
|
||||||
}
|
}
|
||||||
@@ -106,6 +106,7 @@ const {loading, pagination, initFetchData} = useTableQuery({
|
|||||||
<!-- 拉黑记录 -->
|
<!-- 拉黑记录 -->
|
||||||
<a-card>
|
<a-card>
|
||||||
<Filter
|
<Filter
|
||||||
|
@search="initFetchData"
|
||||||
v-model:from="po"
|
v-model:from="po"
|
||||||
:config="FilterConfig">
|
:config="FilterConfig">
|
||||||
</Filter>
|
</Filter>
|
||||||
|
|||||||
@@ -69,47 +69,45 @@ const columns = [
|
|||||||
];
|
];
|
||||||
const FilterConfig = [
|
const FilterConfig = [
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'uid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '达人ID',
|
label: '达人ID',
|
||||||
placeholder: '请输入达人ID',
|
placeholder: '请输入达人ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'puid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '邀请人',
|
label: '邀请人',
|
||||||
placeholder: '请输入邀请人',
|
placeholder: '请输入邀请人',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'mobile',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '手机号',
|
label: '手机号',
|
||||||
placeholder: '请输入手机号',
|
placeholder: '请输入手机号',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'status',
|
||||||
type: 'select',
|
type: 'select',
|
||||||
label: '状态',
|
label: '状态',
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
api: async () => ({
|
api: async () => ({
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
name: '选项一',
|
name: '禁用',
|
||||||
|
id: 0,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '可用',
|
||||||
id: 1,
|
id: 1,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: '选项二',
|
|
||||||
id: 2,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项三',
|
|
||||||
id: 3,
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'rangTime',
|
||||||
|
start: 'start_time',
|
||||||
|
end: 'end_time',
|
||||||
type: 'datetime',
|
type: 'datetime',
|
||||||
label: '入驻时间',
|
label: '入驻时间',
|
||||||
},
|
},
|
||||||
@@ -131,7 +129,7 @@ const vo = reactive({
|
|||||||
|
|
||||||
const {loading, pagination, initFetchData} = useTableQuery({
|
const {loading, pagination, initFetchData} = useTableQuery({
|
||||||
parameter: po,
|
parameter: po,
|
||||||
api: Api.system.getData,
|
api: Api.admin.getUserList,
|
||||||
callback: (data) => {
|
callback: (data) => {
|
||||||
Object.assign(vo, data);
|
Object.assign(vo, data);
|
||||||
}
|
}
|
||||||
@@ -142,6 +140,7 @@ const {loading, pagination, initFetchData} = useTableQuery({
|
|||||||
<!-- 达人账号 -->
|
<!-- 达人账号 -->
|
||||||
<a-card>
|
<a-card>
|
||||||
<Filter
|
<Filter
|
||||||
|
@search="initFetchData"
|
||||||
v-model:from="po"
|
v-model:from="po"
|
||||||
:config="FilterConfig">
|
:config="FilterConfig">
|
||||||
</Filter>
|
</Filter>
|
||||||
|
|||||||
@@ -8,37 +8,37 @@ import EditInfoModal from "./components/EditInfoModal.vue";
|
|||||||
const columns = [
|
const columns = [
|
||||||
{
|
{
|
||||||
title: '商家ID',
|
title: '商家ID',
|
||||||
dataIndex: 'key',
|
dataIndex: 'uid',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '昵称',
|
title: '昵称',
|
||||||
dataIndex: 'key',
|
dataIndex: 'nickname',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '头像',
|
title: '头像',
|
||||||
dataIndex: 'key',
|
dataIndex: 'avatar',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '手机号',
|
title: '手机号',
|
||||||
dataIndex: 'key',
|
dataIndex: 'mobile',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '微信号',
|
title: '微信号',
|
||||||
dataIndex: 'image',
|
dataIndex: 'wechat',
|
||||||
slotName: 'image',
|
slotName: 'image',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '状态',
|
title: '状态',
|
||||||
dataIndex: 'status',
|
dataIndex: 'status_text',
|
||||||
slotName: 'status',
|
slotName: 'status_text',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '邀请人',
|
title: '邀请人',
|
||||||
dataIndex: 'key',
|
dataIndex: 'puid',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '入驻日期',
|
title: '入驻日期',
|
||||||
dataIndex: 'key',
|
dataIndex: 'createtime',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '操作',
|
title: '操作',
|
||||||
@@ -49,47 +49,45 @@ const columns = [
|
|||||||
];
|
];
|
||||||
const FilterConfig = [
|
const FilterConfig = [
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'uid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '商家ID',
|
label: '商家ID',
|
||||||
placeholder: '请输入商家ID',
|
placeholder: '请输入商家ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'puid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '邀请人',
|
label: '邀请人',
|
||||||
placeholder: '请输入邀请人',
|
placeholder: '请输入邀请人',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'mobile',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '手机号',
|
label: '手机号',
|
||||||
placeholder: '请输入手机号',
|
placeholder: '请输入手机号',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'status',
|
||||||
type: 'select',
|
type: 'select',
|
||||||
label: '状态',
|
label: '状态',
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
api: async () => ({
|
api: async () => ({
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
name: '选项一',
|
name: '禁用',
|
||||||
|
id: 0,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '可用',
|
||||||
id: 1,
|
id: 1,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
name: '选项二',
|
|
||||||
id: 2,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项三',
|
|
||||||
id: 3,
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'rangeTime',
|
||||||
|
start: 'start_time',
|
||||||
|
end: 'end_time',
|
||||||
type: 'datetime',
|
type: 'datetime',
|
||||||
label: '入驻时间',
|
label: '入驻时间',
|
||||||
},
|
},
|
||||||
@@ -111,7 +109,7 @@ const vo = reactive({
|
|||||||
|
|
||||||
const {loading, pagination, initFetchData} = useTableQuery({
|
const {loading, pagination, initFetchData} = useTableQuery({
|
||||||
parameter: po,
|
parameter: po,
|
||||||
api: Api.system.getData,
|
api: Api.admin.getBusinessList,
|
||||||
callback: (data) => {
|
callback: (data) => {
|
||||||
Object.assign(vo, data);
|
Object.assign(vo, data);
|
||||||
}
|
}
|
||||||
@@ -122,6 +120,7 @@ const {loading, pagination, initFetchData} = useTableQuery({
|
|||||||
<!-- 商家账号 -->
|
<!-- 商家账号 -->
|
||||||
<a-card>
|
<a-card>
|
||||||
<Filter
|
<Filter
|
||||||
|
@search="initFetchData"
|
||||||
v-model:from="po"
|
v-model:from="po"
|
||||||
:config="FilterConfig">
|
:config="FilterConfig">
|
||||||
</Filter>
|
</Filter>
|
||||||
@@ -133,7 +132,7 @@ const {loading, pagination, initFetchData} = useTableQuery({
|
|||||||
:loading="loading"
|
:loading="loading"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
class="flex-grow">
|
class="flex-grow">
|
||||||
<template v-slot:status>
|
<template v-slot:status_text>
|
||||||
状态
|
状态
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:action>
|
<template v-slot:action>
|
||||||
|
|||||||
@@ -54,19 +54,21 @@ const columns = [
|
|||||||
];
|
];
|
||||||
const FilterConfig = [
|
const FilterConfig = [
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'uuid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '达人ID',
|
label: '达人ID',
|
||||||
placeholder: '请输入达人ID',
|
placeholder: '请输入达人ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'account',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '账号',
|
label: '账号',
|
||||||
placeholder: '请输入账号',
|
placeholder: '请输入账号',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'rangeTime',
|
||||||
|
start: 'start_time',
|
||||||
|
end: 'end_time',
|
||||||
type: 'datetime',
|
type: 'datetime',
|
||||||
label: '推广日期',
|
label: '推广日期',
|
||||||
},
|
},
|
||||||
@@ -83,7 +85,7 @@ const vo = reactive({
|
|||||||
|
|
||||||
const {loading, pagination, initFetchData} = useTableQuery({
|
const {loading, pagination, initFetchData} = useTableQuery({
|
||||||
parameter: po,
|
parameter: po,
|
||||||
api: Api.system.getData,
|
api: Api.admin.getAccountList,
|
||||||
callback: (data) => {
|
callback: (data) => {
|
||||||
Object.assign(vo, data);
|
Object.assign(vo, data);
|
||||||
}
|
}
|
||||||
@@ -94,6 +96,7 @@ const {loading, pagination, initFetchData} = useTableQuery({
|
|||||||
<!-- 推广账号 -->
|
<!-- 推广账号 -->
|
||||||
<a-card>
|
<a-card>
|
||||||
<Filter
|
<Filter
|
||||||
|
@search="initFetchData"
|
||||||
v-model:from="po"
|
v-model:from="po"
|
||||||
:config="FilterConfig"
|
:config="FilterConfig"
|
||||||
:button-col="false">
|
:button-col="false">
|
||||||
|
|||||||
@@ -73,77 +73,47 @@ const columns = [
|
|||||||
];
|
];
|
||||||
const FilterConfig = [
|
const FilterConfig = [
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'uid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '商家ID',
|
label: '商家ID',
|
||||||
placeholder: '请输入商家ID',
|
placeholder: '请输入商家ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'task_id',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '关联任务ID',
|
label: '关联任务ID',
|
||||||
placeholder: '请输入关联任务ID',
|
placeholder: '请输入关联任务ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'u_uid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '达人ID',
|
label: '达人ID',
|
||||||
placeholder: '请输入达人ID',
|
placeholder: '请输入达人ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'platform',
|
||||||
type: 'select',
|
type: 'select',
|
||||||
label: '动账渠道',
|
label: '动账渠道',
|
||||||
placeholder: '请选择动账渠道',
|
placeholder: '请选择动账渠道',
|
||||||
api: async () => ({
|
api: async () => Api.admin.getBusinessmoneylogPlatform(),
|
||||||
data: [
|
|
||||||
{
|
|
||||||
name: '选项一',
|
|
||||||
id: 1,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '选项二',
|
key: 'purpose',
|
||||||
id: 2,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项三',
|
|
||||||
id: 3,
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'wd',
|
|
||||||
type: 'select',
|
type: 'select',
|
||||||
label: '动账用途',
|
label: '动账用途',
|
||||||
placeholder: '请选择动账用途',
|
placeholder: '请选择动账用途',
|
||||||
api: async () => ({
|
api: async () => Api.admin.getBusinessmoneylogPurpose(),
|
||||||
data: [
|
|
||||||
{
|
|
||||||
name: '选项一',
|
|
||||||
id: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项二',
|
|
||||||
id: 2,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项三',
|
|
||||||
id: 3,
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'rangeTime',
|
key: 'rangeTime',
|
||||||
|
start: 'start_time',
|
||||||
|
end: 'end_time',
|
||||||
type: 'datetime',
|
type: 'datetime',
|
||||||
label: '动账日期',
|
label: '动账日期',
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
const po = reactive({
|
const po = reactive({});
|
||||||
wd: null,
|
|
||||||
});
|
|
||||||
const vo = reactive({
|
const vo = reactive({
|
||||||
page: '',
|
page: '',
|
||||||
rows: [],
|
rows: [],
|
||||||
@@ -152,7 +122,7 @@ const vo = reactive({
|
|||||||
|
|
||||||
const {loading, pagination, initFetchData} = useTableQuery({
|
const {loading, pagination, initFetchData} = useTableQuery({
|
||||||
parameter: po,
|
parameter: po,
|
||||||
api: Api.system.getData,
|
api: Api.admin.getBusinessmoneylogList,
|
||||||
callback: (data) => {
|
callback: (data) => {
|
||||||
Object.assign(vo, data);
|
Object.assign(vo, data);
|
||||||
}
|
}
|
||||||
@@ -163,6 +133,7 @@ const {loading, pagination, initFetchData} = useTableQuery({
|
|||||||
<!-- 资金管理(商) -->
|
<!-- 资金管理(商) -->
|
||||||
<a-card>
|
<a-card>
|
||||||
<Filter
|
<Filter
|
||||||
|
@search="initFetchData"
|
||||||
v-model:from="po"
|
v-model:from="po"
|
||||||
:config="FilterConfig">
|
:config="FilterConfig">
|
||||||
</Filter>
|
</Filter>
|
||||||
|
|||||||
@@ -73,66 +73,36 @@ const columns = [
|
|||||||
];
|
];
|
||||||
const FilterConfig = [
|
const FilterConfig = [
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'u_uid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '达人ID',
|
label: '达人ID',
|
||||||
placeholder: '请输入达人ID',
|
placeholder: '请输入达人ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'mt_code',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '关联任务ID',
|
label: '关联任务ID',
|
||||||
placeholder: '请输入关联任务ID',
|
placeholder: '请输入关联任务ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'tc_code',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '子任务ID',
|
label: '子任务ID',
|
||||||
placeholder: '请输入子任务ID',
|
placeholder: '请输入子任务ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'platform',
|
||||||
type: 'select',
|
type: 'select',
|
||||||
label: '动账渠道',
|
label: '动账渠道',
|
||||||
placeholder: '请选择动账渠道',
|
placeholder: '请选择动账渠道',
|
||||||
api: async () => ({
|
api: async () => Api.admin.getUsermoneylogPlatform()
|
||||||
data: [
|
|
||||||
{
|
|
||||||
name: '选项一',
|
|
||||||
id: 1,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '选项二',
|
key: 'purpose',
|
||||||
id: 2,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项三',
|
|
||||||
id: 3,
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'wd',
|
|
||||||
type: 'select',
|
type: 'select',
|
||||||
label: '动账用途',
|
label: '动账用途',
|
||||||
placeholder: '请选择动账用途',
|
placeholder: '请选择动账用途',
|
||||||
api: async () => ({
|
api: async () => Api.admin.getUsermoneylogPurpose()
|
||||||
data: [
|
|
||||||
{
|
|
||||||
name: '选项一',
|
|
||||||
id: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项二',
|
|
||||||
id: 2,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项三',
|
|
||||||
id: 3,
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'wd',
|
||||||
@@ -152,7 +122,7 @@ const vo = reactive({
|
|||||||
|
|
||||||
const {loading, pagination, initFetchData} = useTableQuery({
|
const {loading, pagination, initFetchData} = useTableQuery({
|
||||||
parameter: po,
|
parameter: po,
|
||||||
api: Api.system.getData,
|
api: Api.admin.getUsermoneylogList,
|
||||||
callback: (data) => {
|
callback: (data) => {
|
||||||
Object.assign(vo, data);
|
Object.assign(vo, data);
|
||||||
}
|
}
|
||||||
@@ -163,6 +133,7 @@ const {loading, pagination, initFetchData} = useTableQuery({
|
|||||||
<!-- 资金管理(达) -->
|
<!-- 资金管理(达) -->
|
||||||
<a-card>
|
<a-card>
|
||||||
<Filter
|
<Filter
|
||||||
|
@search="initFetchData"
|
||||||
v-model:from="po"
|
v-model:from="po"
|
||||||
:config="FilterConfig">
|
:config="FilterConfig">
|
||||||
</Filter>
|
</Filter>
|
||||||
|
|||||||
@@ -58,71 +58,43 @@ const columns = [
|
|||||||
];
|
];
|
||||||
const FilterConfig = [
|
const FilterConfig = [
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'uid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: 'ID',
|
label: 'ID',
|
||||||
placeholder: '请输入ID',
|
placeholder: '请输入ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'nealname',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '姓名',
|
label: '姓名',
|
||||||
placeholder: '请输入姓名',
|
placeholder: '请输入姓名',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'account',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '卡号',
|
label: '卡号',
|
||||||
placeholder: '请输入卡号',
|
placeholder: '请输入卡号',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'type',
|
||||||
type: 'select',
|
type: 'select',
|
||||||
label: '身份',
|
label: '身份',
|
||||||
placeholder: '请选择身份',
|
placeholder: '请选择身份',
|
||||||
api: async () => ({
|
api: async () => Api.admin.getWithdrawalPerson()
|
||||||
data: [
|
|
||||||
{
|
|
||||||
name: '选项一',
|
|
||||||
id: 1,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '选项二',
|
key: 'rangeTime',
|
||||||
id: 2,
|
start: 'start_time',
|
||||||
},
|
end: 'end_time',
|
||||||
{
|
|
||||||
name: '选项三',
|
|
||||||
id: 3,
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'wd',
|
|
||||||
type: 'datetime',
|
type: 'datetime',
|
||||||
label: '申请时间',
|
label: '申请时间',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'status',
|
||||||
type: 'select',
|
type: 'select',
|
||||||
label: '状态',
|
label: '状态',
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
api: async () => ({
|
api: async () => Api.admin.getWithdrawllogStatus()
|
||||||
data: [
|
|
||||||
{
|
|
||||||
name: '选项一',
|
|
||||||
id: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项二',
|
|
||||||
id: 2,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项三',
|
|
||||||
id: 3,
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}),
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -137,7 +109,7 @@ const vo = reactive({
|
|||||||
|
|
||||||
const {loading, pagination, initFetchData} = useTableQuery({
|
const {loading, pagination, initFetchData} = useTableQuery({
|
||||||
parameter: po,
|
parameter: po,
|
||||||
api: Api.system.getData,
|
api: Api.admin.getWithdrawllogList,
|
||||||
callback: (data) => {
|
callback: (data) => {
|
||||||
Object.assign(vo, data);
|
Object.assign(vo, data);
|
||||||
}
|
}
|
||||||
@@ -181,6 +153,7 @@ const {loading, pagination, initFetchData} = useTableQuery({
|
|||||||
|
|
||||||
<div class="mock-card mb-[20px]">
|
<div class="mock-card mb-[20px]">
|
||||||
<Filter
|
<Filter
|
||||||
|
@search="initFetchData"
|
||||||
v-model:from="po"
|
v-model:from="po"
|
||||||
:config="FilterConfig">
|
:config="FilterConfig">
|
||||||
</Filter>
|
</Filter>
|
||||||
|
|||||||
@@ -56,72 +56,42 @@ const columns = [
|
|||||||
];
|
];
|
||||||
const FilterConfig = [
|
const FilterConfig = [
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'person',
|
||||||
type: 'select',
|
type: 'select',
|
||||||
label: '身份',
|
label: '身份',
|
||||||
placeholder: '请选择身份',
|
placeholder: '请选择身份',
|
||||||
api: async () => ({
|
api: async () => Api.admin.getWithdrawalPerson(),
|
||||||
data: [
|
|
||||||
{
|
|
||||||
name: '选项一',
|
|
||||||
id: 1,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '选项二',
|
key: 'code',
|
||||||
id: 2,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项三',
|
|
||||||
id: 3,
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}),
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'wd',
|
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '身份ID',
|
label: '身份ID',
|
||||||
placeholder: '请输入身份ID',
|
placeholder: '请输入身份ID',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'id_card',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '身份证号',
|
label: '身份证号',
|
||||||
placeholder: '请输入身份证号',
|
placeholder: '请输入身份证号',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'account',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '卡号',
|
label: '卡号',
|
||||||
placeholder: '请输入卡号',
|
placeholder: '请输入卡号',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'mobile',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '电话号',
|
label: '电话号',
|
||||||
placeholder: '请输入电话号',
|
placeholder: '请输入电话号',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'platform',
|
||||||
type: 'select',
|
type: 'select',
|
||||||
label: '提现方式',
|
label: '提现方式',
|
||||||
placeholder: '请选择提现方式',
|
placeholder: '请选择提现方式',
|
||||||
api: async () => ({
|
api: async () => Api.admin.getWithdrawalPlatform()
|
||||||
data: [
|
|
||||||
{
|
|
||||||
name: '选项一',
|
|
||||||
id: 1,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项二',
|
|
||||||
id: 2,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: '选项三',
|
|
||||||
id: 3,
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}),
|
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -136,7 +106,7 @@ const vo = reactive({
|
|||||||
|
|
||||||
const {loading, pagination, initFetchData} = useTableQuery({
|
const {loading, pagination, initFetchData} = useTableQuery({
|
||||||
parameter: po,
|
parameter: po,
|
||||||
api: Api.system.getData,
|
api: Api.admin.getWithdrawalList,
|
||||||
callback: (data) => {
|
callback: (data) => {
|
||||||
Object.assign(vo, data);
|
Object.assign(vo, data);
|
||||||
}
|
}
|
||||||
@@ -147,6 +117,7 @@ const {loading, pagination, initFetchData} = useTableQuery({
|
|||||||
<!-- 提现信息 -->
|
<!-- 提现信息 -->
|
||||||
<a-card>
|
<a-card>
|
||||||
<Filter
|
<Filter
|
||||||
|
@search="initFetchData"
|
||||||
v-model:from="po"
|
v-model:from="po"
|
||||||
:config="FilterConfig">
|
:config="FilterConfig">
|
||||||
</Filter>
|
</Filter>
|
||||||
|
|||||||
@@ -70,49 +70,49 @@ const columns = [
|
|||||||
];
|
];
|
||||||
const FilterConfig = [
|
const FilterConfig = [
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'm_code',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '任务编号',
|
label: '任务编号',
|
||||||
placeholder: '请输入任务编号',
|
placeholder: '请输入任务编号',
|
||||||
span: 6,
|
span: 6,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 't_uid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '子任务编号',
|
label: '子任务编号',
|
||||||
placeholder: '请输入子任务编号',
|
placeholder: '请输入子任务编号',
|
||||||
span: 6,
|
span: 6,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'deduct',
|
||||||
type: 'custom',
|
type: 'custom',
|
||||||
label: '扣除',
|
label: '扣除',
|
||||||
slotName: 'deduct',
|
slotName: 'deduct',
|
||||||
span: 6,
|
span: 6,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'money_type',
|
||||||
type: 'custom',
|
type: 'custom',
|
||||||
label: '达人到手',
|
label: '达人到手',
|
||||||
slotName: 'hands',
|
slotName: 'hands',
|
||||||
span: 6,
|
span: 6,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'uuid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '达人ID',
|
label: '达人ID',
|
||||||
placeholder: '请输入达人ID',
|
placeholder: '请输入达人ID',
|
||||||
span: 6,
|
span: 6,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'b_uid',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '商家ID',
|
label: '商家ID',
|
||||||
placeholder: '请输入商家ID',
|
placeholder: '请输入商家ID',
|
||||||
span: 6,
|
span: 6,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wd',
|
key: 'account',
|
||||||
type: 'input',
|
type: 'input',
|
||||||
label: '达人账号',
|
label: '达人账号',
|
||||||
placeholder: '请输入达人账号',
|
placeholder: '请输入达人账号',
|
||||||
@@ -130,7 +130,11 @@ const FilterConfig = [
|
|||||||
|
|
||||||
const po = reactive({
|
const po = reactive({
|
||||||
pass: 1,
|
pass: 1,
|
||||||
dcl: 1,
|
money_type: null,
|
||||||
|
deduct: null,
|
||||||
|
status: 0,
|
||||||
|
ratio: null,
|
||||||
|
money: null,
|
||||||
});
|
});
|
||||||
const vo = reactive({
|
const vo = reactive({
|
||||||
page: '',
|
page: '',
|
||||||
@@ -139,7 +143,7 @@ const vo = reactive({
|
|||||||
});
|
});
|
||||||
const {loading, pagination, initFetchData} = useTableQuery({
|
const {loading, pagination, initFetchData} = useTableQuery({
|
||||||
parameter: po,
|
parameter: po,
|
||||||
api: Api.admin.getExchangeLog,
|
api: Api.admin.getInterventionList,
|
||||||
callback: (data) => {
|
callback: (data) => {
|
||||||
Object.assign(vo, data);
|
Object.assign(vo, data);
|
||||||
}
|
}
|
||||||
@@ -153,20 +157,20 @@ const {loading, pagination, initFetchData} = useTableQuery({
|
|||||||
v-model:from="po"
|
v-model:from="po"
|
||||||
:config="FilterConfig">
|
:config="FilterConfig">
|
||||||
<template v-slot:deduct>
|
<template v-slot:deduct>
|
||||||
<XSelect :api="Api.system.getRange"></XSelect>
|
<XSelect :api="Api.system.getRange" v-model:model-value="po.deduct"></XSelect>
|
||||||
<a-input-number placeholder="请输入比例" class="ml-[20px]">
|
<a-input-number v-model:model-value="po.ratio" placeholder="请输入比例" class="ml-[20px]">
|
||||||
<template #suffix>%</template>
|
<template #suffix>%</template>
|
||||||
</a-input-number>
|
</a-input-number>
|
||||||
</template>
|
</template>
|
||||||
<template v-slot:hands>
|
<template v-slot:hands>
|
||||||
<XSelect :api="Api.system.getRange"></XSelect>
|
<XSelect :api="Api.system.getRange" v-model:model-value="po.money_type"></XSelect>
|
||||||
<a-input-number placeholder="请输入金额" class="ml-[20px]">
|
<a-input-number v-model:model-value="po.money" placeholder="请输入金额" class="ml-[20px]">
|
||||||
</a-input-number>
|
</a-input-number>
|
||||||
</template>
|
</template>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
|
||||||
<a-tabs type="rounded" v-model:active-key="po.dcl">
|
<a-tabs type="rounded" v-model:active-key="po.status" @change="initFetchData">
|
||||||
<a-tab-pane title="待处理" :key="1">
|
<a-tab-pane title="待处理" :key="0">
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
<a-tab-pane title="已处理" :key="2">
|
<a-tab-pane title="已处理" :key="2">
|
||||||
</a-tab-pane>
|
</a-tab-pane>
|
||||||
|
|||||||
Reference in New Issue
Block a user