From a92123566d6d71a1818a4a88e32caed28333159e Mon Sep 17 00:00:00 2001 From: aixianling Date: Thu, 18 Aug 2022 15:36:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=80=E5=B1=B1=E9=9C=80=E6=B1=82=E5=8F=98?= =?UTF-8?q?=E6=9B=B4=E8=B0=83=E6=95=B4=E5=AE=8C=E6=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/store/index.js | 6 + .../AppGuaranteeProduct.vue | 41 ++++ .../AppGuaranteeProduct/productAdd.vue | 172 +++++++++++++ .../AppGuaranteeProduct/productDetail.vue | 165 +++++++++++++ .../AppGuaranteeProduct/productList.vue | 135 ++++++++++ .../AppGuaranteeProduct/productRecommend.vue | 163 ++++++++++++ .../apps/finance/AppLoanAudit/loanDetail.vue | 232 ++++++++++++------ .../apps/finance/AppLoanAudit/loanList.vue | 50 +++- 8 files changed, 881 insertions(+), 83 deletions(-) create mode 100644 project/xiushan/apps/finance/AppGuaranteeProduct/AppGuaranteeProduct.vue create mode 100644 project/xiushan/apps/finance/AppGuaranteeProduct/productAdd.vue create mode 100644 project/xiushan/apps/finance/AppGuaranteeProduct/productDetail.vue create mode 100644 project/xiushan/apps/finance/AppGuaranteeProduct/productList.vue create mode 100644 project/xiushan/apps/finance/AppGuaranteeProduct/productRecommend.vue diff --git a/examples/store/index.js b/examples/store/index.js index d31c15db..22293cd3 100644 --- a/examples/store/index.js +++ b/examples/store/index.js @@ -2,6 +2,7 @@ import Vue from 'vue' import Vuex from 'vuex' import preState from 'vuex-persistedstate' import * as modules from "dvcp-ui/lib/js/modules" +import axios from "../router/axios"; Vue.use(Vuex) @@ -15,6 +16,11 @@ export default new Vuex.Store({ }, cleanApps(state) { state.apps = [] + }, + setFinanceUser(state) { + axios.post("appfinancialorganizationuser/checkUser").then(res => { + state.user.financeUser = res.data + }).catch(() => 0) } }, modules, diff --git a/project/xiushan/apps/finance/AppGuaranteeProduct/AppGuaranteeProduct.vue b/project/xiushan/apps/finance/AppGuaranteeProduct/AppGuaranteeProduct.vue new file mode 100644 index 00000000..7acd89a8 --- /dev/null +++ b/project/xiushan/apps/finance/AppGuaranteeProduct/AppGuaranteeProduct.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/project/xiushan/apps/finance/AppGuaranteeProduct/productAdd.vue b/project/xiushan/apps/finance/AppGuaranteeProduct/productAdd.vue new file mode 100644 index 00000000..b34330f2 --- /dev/null +++ b/project/xiushan/apps/finance/AppGuaranteeProduct/productAdd.vue @@ -0,0 +1,172 @@ + + + + + diff --git a/project/xiushan/apps/finance/AppGuaranteeProduct/productDetail.vue b/project/xiushan/apps/finance/AppGuaranteeProduct/productDetail.vue new file mode 100644 index 00000000..0a3921fd --- /dev/null +++ b/project/xiushan/apps/finance/AppGuaranteeProduct/productDetail.vue @@ -0,0 +1,165 @@ + + + + + diff --git a/project/xiushan/apps/finance/AppGuaranteeProduct/productList.vue b/project/xiushan/apps/finance/AppGuaranteeProduct/productList.vue new file mode 100644 index 00000000..533f6611 --- /dev/null +++ b/project/xiushan/apps/finance/AppGuaranteeProduct/productList.vue @@ -0,0 +1,135 @@ + + + + + diff --git a/project/xiushan/apps/finance/AppGuaranteeProduct/productRecommend.vue b/project/xiushan/apps/finance/AppGuaranteeProduct/productRecommend.vue new file mode 100644 index 00000000..b0e87321 --- /dev/null +++ b/project/xiushan/apps/finance/AppGuaranteeProduct/productRecommend.vue @@ -0,0 +1,163 @@ + + + + + diff --git a/project/xiushan/apps/finance/AppLoanAudit/loanDetail.vue b/project/xiushan/apps/finance/AppLoanAudit/loanDetail.vue index 084e57fa..37d5190b 100644 --- a/project/xiushan/apps/finance/AppLoanAudit/loanDetail.vue +++ b/project/xiushan/apps/finance/AppLoanAudit/loanDetail.vue @@ -7,71 +7,135 @@ @@ -81,16 +145,26 @@ @@ -120,7 +194,8 @@ export default { }, isAuthing() { return this.detail.status == "0" - } + }, + isGuaranteeProduct: v => v.detail.organizationType == 2 }, data() { return { @@ -134,7 +209,7 @@ export default { {pattern: /\d+/, message: "请输入 正确的放款金额"}, ], auditLifespan: [{required: true, message: "请选择 使用期限"}], - loanDate: [{required: true, message: "请选择 放款日期"}], + loanDate: [{required: true, message: "请选择 日期"}], auditDescription: [{required: true, message: "请输入 审批意见"}], }, personCR: false @@ -194,5 +269,10 @@ export default { .el-date-editor { width: 100%; } + + .thumb { + width: 320px; + height: 180px; + } } diff --git a/project/xiushan/apps/finance/AppLoanAudit/loanList.vue b/project/xiushan/apps/finance/AppLoanAudit/loanList.vue index 176c6855..ec7dc38a 100644 --- a/project/xiushan/apps/finance/AppLoanAudit/loanList.vue +++ b/project/xiushan/apps/finance/AppLoanAudit/loanList.vue @@ -26,6 +26,17 @@ + + +