diff --git a/src/api/finance/account.js b/src/api/finance/account.js new file mode 100644 index 0000000..d99942b --- /dev/null +++ b/src/api/finance/account.js @@ -0,0 +1,21 @@ +import request from '../../utils/request' +export function getAccountList(params){ + return request({ + url:'/admin/doctor/account', + method: 'get', + params + }) +} +export function getAccountDetail(id){ + return request({ + url:'/admin/doctor/account/'+id, + method: 'get' + }) + } + export function getAccountOrder(id,params){//关联订单列表 + return request({ + url:'/admin/doctor/account/order/'+id, + method: 'get', + params + }) + } \ No newline at end of file diff --git a/src/api/finance/bank.js b/src/api/finance/bank.js new file mode 100644 index 0000000..49e5463 --- /dev/null +++ b/src/api/finance/bank.js @@ -0,0 +1,9 @@ +import request from '../../utils/request' +export function getBankList(params){ + return request({ + url:'/admin/doctor/bank', + method: 'get', + params + }) +} + diff --git a/src/api/finance/record.js b/src/api/finance/record.js index 5fcd6a7..276052e 100644 --- a/src/api/finance/record.js +++ b/src/api/finance/record.js @@ -1,8 +1,6 @@ import request from '../../utils/request' const url = '/admin/finance/withdrawal'; - - export function getWithdrawalList(params){ return request({ url:'/admin/finance/withdrawal', @@ -15,4 +13,37 @@ export function getWithdrawalDetail(id){ url:'/admin/finance/withdrawal/'+id, method: 'get' }) - } \ No newline at end of file + } +export function getOrder(id,params){ + return request({ + url:'/admin/finance/withdrawal/order/'+id, + method: 'get', + params + }) + } + + export function editIncome(id,data){ + return request({ + url:'/admin/finance/withdrawal/income/'+id, + method: 'put', + data + }) + } + + export function withdrawalStatus(id,data){//提现-修改提现审核状态 + return request({ + url:'/admin/finance/withdrawal/examine/'+id, + method: 'put', + data + }) + } + + export function confirmPay(id){//提现-确认打款 + return request({ + url:'/admin/finance/withdrawal/payment/'+id, + method: 'put' + }) + } + + + \ No newline at end of file diff --git a/src/components/accountModal.vue b/src/components/accountModal.vue new file mode 100644 index 0000000..de681ae --- /dev/null +++ b/src/components/accountModal.vue @@ -0,0 +1,314 @@ + + + \ No newline at end of file diff --git a/src/components/inquiryDetailMoneyModal.vue b/src/components/inquiryDetailMoneyModal.vue new file mode 100644 index 0000000..cf16b8a --- /dev/null +++ b/src/components/inquiryDetailMoneyModal.vue @@ -0,0 +1,308 @@ + + + \ No newline at end of file diff --git a/src/components/numberModal.vue b/src/components/numberModal.vue new file mode 100644 index 0000000..d26a731 --- /dev/null +++ b/src/components/numberModal.vue @@ -0,0 +1,68 @@ + + \ No newline at end of file diff --git a/src/components/withdrawalModal.vue b/src/components/withdrawalModal.vue new file mode 100644 index 0000000..e3e0433 --- /dev/null +++ b/src/components/withdrawalModal.vue @@ -0,0 +1,432 @@ + + + \ No newline at end of file diff --git a/src/utils/format.js b/src/utils/format.js index 1530cba..e928781 100644 --- a/src/utils/format.js +++ b/src/utils/format.js @@ -107,4 +107,14 @@ export const formatRelation=(val)=>{ }else{ return '' } - }; \ No newline at end of file + }; + export const formatEnteyStatus=(val)=>{ + //入账状态(0:未入账 1:已入账 2:入账中 3:入账失败 4:入账取消) + let data={0:'未入账',1:'已入账', 2:'入账中', 3:'入账失败',4:'入账取消'} + if(val || val==0){ + return data[val] + }else{ + return '' + } + }; + \ No newline at end of file diff --git a/src/views/admin/sys-post/index.vue b/src/views/admin/sys-post/index.vue index fce2647..53c771b 100644 --- a/src/views/admin/sys-post/index.vue +++ b/src/views/admin/sys-post/index.vue @@ -35,7 +35,7 @@ @page-size-change="handlepage_sizeChange" >