From 0ee35c266e024cb8a0d48372c07596c56ba3558c Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Fri, 3 Nov 2023 08:57:37 +0800 Subject: [PATCH] =?UTF-8?q?page=5Fsize=E6=94=B9=E5=8A=A8=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E8=B4=A2=E5=8A=A1=E7=BB=93=E7=AE=97=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/finance/account.js | 21 + src/api/finance/bank.js | 9 + src/api/finance/record.js | 37 +- src/components/accountModal.vue | 314 +++++++++++++ src/components/inquiryDetailMoneyModal.vue | 308 +++++++++++++ src/components/numberModal.vue | 68 +++ src/components/withdrawalModal.vue | 432 ++++++++++++++++++ src/utils/format.js | 12 +- src/views/admin/sys-post/index.vue | 2 +- src/views/admin/sys-role/index.vue | 2 +- src/views/admin/sys-user/index.vue | 2 +- src/views/dictionary/sign-list/index.vue | 2 +- src/views/doctor/doctor-examine/index.vue | 2 +- src/views/doctor/doctor-list/index.vue | 2 +- src/views/doctor/doctor-multipoint/index.vue | 2 +- src/views/finance/bankcard/index.vue | 307 +++++++++++++ src/views/finance/doctoraccount/index.vue | 298 ++++++++++++ src/views/finance/financialrecord/index.vue | 116 +++-- src/views/inquiry/inquiry-list/index.vue | 2 +- src/views/inquiry/sysconfig-list/index.vue | 2 +- src/views/order/inquiry-record/index.vue | 2 +- src/views/order/order-list/index.vue | 2 +- src/views/patient/family-list/index.vue | 2 +- src/views/patient/patient-list/index.vue | 2 +- .../prescription/prescription-list/index.vue | 2 +- 25 files changed, 1890 insertions(+), 60 deletions(-) create mode 100644 src/api/finance/account.js create mode 100644 src/api/finance/bank.js create mode 100644 src/components/accountModal.vue create mode 100644 src/components/inquiryDetailMoneyModal.vue create mode 100644 src/components/numberModal.vue create mode 100644 src/components/withdrawalModal.vue create mode 100644 src/views/finance/bankcard/index.vue create mode 100644 src/views/finance/doctoraccount/index.vue 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" >