From 866f292bc1c3f343d992779e33ad235f51add07e Mon Sep 17 00:00:00 2001 From: wangliang Date: Thu, 15 Sep 2022 15:03:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E6=8B=89=E5=88=B7=E6=96=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=94=B9=E5=A5=BD,=E4=B8=80=E4=BA=9B=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/PicketAcced.vue | 24 ++-- src/components/general/ScrollerView.vue | 4 +- src/router/workbench.routing.ts | 7 ++ src/views/workbench/AccommodDetails.vue | 2 +- src/views/workbench/AccommodMain.vue | 4 +- src/views/workbench/Accommodation.vue | 20 ++-- src/views/workbench/BillDetails.vue | 142 ++++++++++++++++++++++++ 7 files changed, 176 insertions(+), 27 deletions(-) create mode 100644 src/views/workbench/BillDetails.vue diff --git a/src/components/common/PicketAcced.vue b/src/components/common/PicketAcced.vue index 45a2312..37a14fb 100644 --- a/src/components/common/PicketAcced.vue +++ b/src/components/common/PicketAcced.vue @@ -16,21 +16,21 @@ {{ item.productname }} - - 申请金额:万元 - {{ item.money }} + + 借款金额 + {{ item.money }} - - 担保方式 - {{ item.guarantee }} + + 担保方式 + {{ item.guarantee }} - - 申请日期(月) - {{ item.month }} + + 借款日期 + {{ item.month }} - - 申请时间 - {{ item.time }} + + 到期日期 + {{ item.time }} diff --git a/src/components/general/ScrollerView.vue b/src/components/general/ScrollerView.vue index ed6ec36..6732d32 100644 --- a/src/components/general/ScrollerView.vue +++ b/src/components/general/ScrollerView.vue @@ -54,7 +54,7 @@ export default class ScrollerView extends Vue { /** * 滚动高度 */ - @Prop({ default: 0 }) height: number | undefined; + @Prop({ default: "" }) height: string | undefined; /** * 是否派发滚动到底部的事件,用于上拉加载 */ @@ -179,7 +179,7 @@ export default class ScrollerView extends Vue { initHeight() { const el: any = this.$el; if (this.height) { - el.style.height = this.height + "vh"; + el.style.height = this.height; } } } diff --git a/src/router/workbench.routing.ts b/src/router/workbench.routing.ts index 923f99e..b243aff 100644 --- a/src/router/workbench.routing.ts +++ b/src/router/workbench.routing.ts @@ -11,6 +11,13 @@ import { propsConvert } from "@/services/props-convert"; const prefix = "/workbench"; const workbenchRoutes = [ + { + path: `/BillDetails`, + name: 'BillDetails', + component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/workbench/BillDetails.vue"), + props: propsConvert, + meta: { keepAlive: false, requiresAuth: true, name: "借据详情" }, + }, { path: `/ContractDetail`, name: 'ContractDetail', diff --git a/src/views/workbench/AccommodDetails.vue b/src/views/workbench/AccommodDetails.vue index cf8a204..51c7487 100644 --- a/src/views/workbench/AccommodDetails.vue +++ b/src/views/workbench/AccommodDetails.vue @@ -209,7 +209,7 @@ export default class AccommodDetails extends Vue { intentionOrg="哈尔滨农信社松北区枝江大道分社" businessArea="黑龙江省-哈尔滨市-松北区" loanType="一般经营性贷款" - tatleName = "我的贷款" + tatleName = "贷款详情" //状态 status = 2; statusl: any ; diff --git a/src/views/workbench/AccommodMain.vue b/src/views/workbench/AccommodMain.vue index 981c486..d91a72d 100644 --- a/src/views/workbench/AccommodMain.vue +++ b/src/views/workbench/AccommodMain.vue @@ -12,8 +12,8 @@
-
- +
+
diff --git a/src/views/workbench/Accommodation.vue b/src/views/workbench/Accommodation.vue index 473ff66..15444d9 100644 --- a/src/views/workbench/Accommodation.vue +++ b/src/views/workbench/Accommodation.vue @@ -39,34 +39,34 @@ export default class Accommodation extends Vue { tatleName = "我的贷款" //未结清贷款计划 productParam = [{ - productname: "'企业之星'流动之星贷款", - money: "30", + productname: "1192 8746 2774 5038", + money: "¥30,000,000.00", guarantee: "担保", - month: "12", + month: "2022-02-18", status: 1, time: "2022-02-18" }, { - productname: "'企业之星'流动之星贷款", - money: "30", + productname: "1192 8746 2774 5038", + money: "¥30,000,000.00", guarantee: "担保", - month: "12", + month: "2022-02-18", status: 1, time: "2022-02-18" }] //已结清 productParamlist = [{ - productname: "'llll'流动之星贷款", - money: "30", + productname: "1192 8746 2774 5038", + money: "¥30,000,000.00", guarantee: "担保", status: 3, - month: "12", + month: "2022-02-18", time: "2022-02-18" }] //点击还款计划事件 onClickDetails(status:any) { this.$router.push({ - name: "AccommodDetails", + name: "BillDetails", params:{ status:status } diff --git a/src/views/workbench/BillDetails.vue b/src/views/workbench/BillDetails.vue new file mode 100644 index 0000000..aeafa9d --- /dev/null +++ b/src/views/workbench/BillDetails.vue @@ -0,0 +1,142 @@ + + + + + -- 2.22.0