From 6a05e2f8b5f7f44cac08ace901fee80b57d84ace Mon Sep 17 00:00:00 2001 From: song Date: Wed, 26 Jan 2022 19:02:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E7=A5=A8=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apis/ocr.js | 8 + components/FinanceExamine.vue | 29 ++- components/HistoricalApplication.vue | 21 +- pages/Initiate-application.vue | 181 +++++++++++------ pages/application-details.vue | 13 +- pages/financial-approval-details.vue | 280 +++++++++++++++++---------- plugins/vant.js | 4 +- 7 files changed, 356 insertions(+), 180 deletions(-) create mode 100644 apis/ocr.js diff --git a/apis/ocr.js b/apis/ocr.js new file mode 100644 index 0000000..82a3d54 --- /dev/null +++ b/apis/ocr.js @@ -0,0 +1,8 @@ +import http from 'apis/axios'; + +const apiUrl = import.meta.env.VITE_API_URL; +const ptccsens = `${apiUrl}/ptccsens/v1.0`; +const ocr = `${ptccsens}/ocr`; + +// 发起申请 +export const bill = `${ocr}/bill`; diff --git a/components/FinanceExamine.vue b/components/FinanceExamine.vue index 14bc41e..8106927 100644 --- a/components/FinanceExamine.vue +++ b/components/FinanceExamine.vue @@ -1,19 +1,19 @@