diff --git a/src/api/broker_account_log.ts b/src/api/broker_account_log.ts new file mode 100644 index 0000000..6d84301 --- /dev/null +++ b/src/api/broker_account_log.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 茶艺师经纪人表列表 +export function apiBrokerAccountLogLists(params: any) { + return request.get({ url: '/broker_account_log/lists', params }) +} + +// 添加茶艺师经纪人表 +export function apiBrokerAccountLogAdd(params: any) { + return request.post({ url: '/broker_account_log/add', params }) +} + +// 编辑茶艺师经纪人表 +export function apiBrokerAccountLogEdit(params: any) { + return request.post({ url: '/broker_account_log/edit', params }) +} + +// 删除茶艺师经纪人表 +export function apiBrokerAccountLogDelete(params: any) { + return request.post({ url: '/broker_account_log/delete', params }) +} + +// 茶艺师经纪人表详情 +export function apiBrokerAccountLogDetail(params: any) { + return request.get({ url: '/broker_account_log/detail', params }) +} \ No newline at end of file diff --git a/src/api/broker_bank.ts b/src/api/broker_bank.ts new file mode 100644 index 0000000..e06e970 --- /dev/null +++ b/src/api/broker_bank.ts @@ -0,0 +1,26 @@ +import request from '@/utils/request' + +// 茶艺师经济人银行卡表列表 +export function apiBrokerBankLists(params: any) { + return request.get({ url: '/broker_bank/lists', params }) +} + +// 添加茶艺师经济人银行卡表 +export function apiBrokerBankAdd(params: any) { + return request.post({ url: '/broker_bank/add', params }) +} + +// 编辑茶艺师经济人银行卡表 +export function apiBrokerBankEdit(params: any) { + return request.post({ url: '/broker_bank/edit', params }) +} + +// 删除茶艺师经济人银行卡表 +export function apiBrokerBankDelete(params: any) { + return request.post({ url: '/broker_bank/delete', params }) +} + +// 茶艺师经济人银行卡表详情 +export function apiBrokerBankDetail(params: any) { + return request.get({ url: '/broker_bank/detail', params }) +} \ No newline at end of file diff --git a/src/api/broker_reflect.ts b/src/api/broker_reflect.ts new file mode 100644 index 0000000..92bd5c0 --- /dev/null +++ b/src/api/broker_reflect.ts @@ -0,0 +1,31 @@ +import request from '@/utils/request' + +// 茶艺师经纪人提现表列表 +export function apiBrokerReflectLists(params: any) { + return request.get({ url: '/broker_reflect/lists', params }) +} + +// 添加茶艺师经纪人提现表 +export function apiBrokerReflectAdd(params: any) { + return request.post({ url: '/broker_reflect/add', params }) +} + +// 编辑茶艺师经纪人提现表 +export function apiBrokerReflectEdit(params: any) { + return request.post({ url: '/broker_reflect/edit', params }) +} + +// 删除茶艺师经纪人提现表 +export function apiBrokerReflectDelete(params: any) { + return request.post({ url: '/broker_reflect/delete', params }) +} + +// 茶艺师经纪人提现表详情 +export function apiBrokerReflectDetail(params: any) { + return request.get({ url: '/broker_reflect/detail', params }) +} + +// 获取已填加的银行卡列表 +export function apiBankLists(params: any) { + return request.post({ url: '/brokerBank/BankLists', params }) +} \ No newline at end of file diff --git a/src/api/user.ts b/src/api/user.ts index 39d2010..fc42316 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -20,3 +20,8 @@ export function getUserInfo() { export function setUserInfo(params: any) { return request.post({ url: '/auth.admin/editSelf', params }) } + +// 获取账户信息 +export function getUserAccountInfo() { + return request.post({ url: '/auth.admin/brokerMsg' }) +} \ No newline at end of file diff --git a/src/views/broker_account_log/index.vue b/src/views/broker_account_log/index.vue new file mode 100644 index 0000000..6248805 --- /dev/null +++ b/src/views/broker_account_log/index.vue @@ -0,0 +1,89 @@ + + + diff --git a/src/views/teamaster_real/index.vue b/src/views/teamaster_real/index.vue index 34c73d3..98f72cb 100644 --- a/src/views/teamaster_real/index.vue +++ b/src/views/teamaster_real/index.vue @@ -33,7 +33,8 @@ + @@ -114,6 +115,7 @@ const formData = reactive({ certificate: [], license_img: '', hobby_introduce: '', + health_certificate: '', status: '', }) diff --git a/src/views/user/setting.vue b/src/views/user/setting.vue index be75d14..dafebc0 100644 --- a/src/views/user/setting.vue +++ b/src/views/user/setting.vue @@ -2,17 +2,36 @@
- +
@@ -47,31 +37,17 @@
-
销售额
+
今日收益
{{ workbenchData.today.today_sales }}
总:{{ workbenchData.today.total_sales }}
-
-
成交订单
-
{{ workbenchData.today.order_num }}
+
+
茶艺师收益
+
{{ workbenchData.today.today_teamaster_sales }}
- 总:{{ workbenchData.today.order_sum }} -
-
-
-
新增用户
-
{{ workbenchData.today.today_new_user }}
-
- 总:{{ workbenchData.today.total_new_user }} -
-
-
-
新增访问量
-
{{ workbenchData.today.today_visitor }}
-
- 总:{{ workbenchData.today.total_visitor }} + 总:{{ workbenchData.today.total_teamaster_sales }}
@@ -96,7 +72,7 @@