From 5c2a578f6783cc1d1deb9d11c44c87373d486dbd Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 20 Nov 2023 10:49:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=97=A5=E6=9C=9F=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- src/api/config.ts | 6 ++ src/assets/images/date.png | Bin 0 -> 321 bytes src/layout/components/AppSidebar/index.vue | 62 ++++++++++++--- src/views/Role.vue | 30 +++++-- src/views/product/bank/Approve.vue | 86 ++++++++++++--------- src/views/product/bank/CardList.vue | 4 +- src/views/product/bank/Info.vue | 6 +- src/views/product/interestRate/772.vue | 10 ++- src/views/product/interestRate/773.vue | 10 ++- src/views/product/interestRate/935.vue | 11 ++- src/views/product/interestRate/936.vue | 10 ++- src/views/product/strategy/150.vue | 18 +++-- src/views/product/strategy/156.vue | 2 +- src/views/product/strategy/CardList.vue | 28 +++++-- src/views/product/strategy/Credit.vue | 8 +- src/views/product/strategy/Risk1.vue | 10 ++- src/views/product/strategy/Risk2.vue | 11 ++- src/views/product/strategy/Risk3.vue | 11 ++- 19 files changed, 226 insertions(+), 99 deletions(-) create mode 100644 src/assets/images/date.png diff --git a/.env b/.env index cd851a2..783e5c0 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ VITE_APP_TITLE=金融产品设计及数字化营销沙盘 VITE_PORT=9520 VITE_PROXY=http://192.168.31.125:8080 VITE_PUBLIC_PATH=./ -# VITE_BASE_API=http://192.168.31.51:9000 +# VITE_BASE_API=http://192.168.31.217:9000 VITE_BASE_API=http://121.37.12.51 VITE_I18N_LOCALE=zh-cn VITE_I18N_FALLBACK_LOCALE=zh-cn diff --git a/src/api/config.ts b/src/api/config.ts index a23e931..7e55504 100644 --- a/src/api/config.ts +++ b/src/api/config.ts @@ -15,3 +15,9 @@ export const savePass = async (data: Record): Promise => (awai export const updatePass = async (data: Record[]): Promise => (await axios.post(`/nakadai/nakadai/customsPass/update`, data)).data; export const checkPointListByStu = async (projectId: number, displayCollection?: number | string = ''): Promise => (await axios.post(`/nakadai/nakadai/customsPass/checkPointListByStu?projectId=${projectId}&displayCollection=${displayCollection}`)).data; +export const getTheCurrentUserName = async (): Promise => (await axios.post('/product/product/bank/products/getTheCurrentUserName')).data; + +export const getOperationTime = async (checkpointId: number, projectId: number): Promise => + (await axios.post(`/product/product/bank/products/getOperationTime?checkPointId=${checkpointId}&projectId=${projectId}`)).data; +export const saveOperationTime = async (checkpointId: number, projectId: number, operationTime: string): Promise => + (await axios.post(`/product/product/bank/products/saveOperationTime?checkPointId=${checkpointId}&projectId=${projectId}&operationTime=${operationTime}`)).data; diff --git a/src/assets/images/date.png b/src/assets/images/date.png new file mode 100644 index 0000000000000000000000000000000000000000..87d2173b3a868f82e7c3b0fccc7d7c5ad7dfc1f8 GIT binary patch literal 321 zcmV-H0lxl;P)Px#`$1U0quY3W#$GJP;>@xiZNVPgV~OV#%G;Yr_3C}AhytjGRZQrJ2Y?|5trYf zzv}&bX}zY`k8_OR3NI*ni!G=b5j~kXT TD@yb500000NkvXXu0mjf-sX!y literal 0 HcmV?d00001 diff --git a/src/layout/components/AppSidebar/index.vue b/src/layout/components/AppSidebar/index.vue index d49de8d..d807dfa 100644 --- a/src/layout/components/AppSidebar/index.vue +++ b/src/layout/components/AppSidebar/index.vue @@ -7,23 +7,54 @@ alt="" />

{{roleName}}

产品部门

-

操作日期:2018-02-06

+
+ 操作日期:{{ date }} + +
+ + +
+ +
+ +