From 6c3026aa492374e7b311c45928ec862a1075f298 Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Fri, 25 Aug 2023 17:11:58 +0800 Subject: [PATCH] 2023-8-25 --- .env.development | 6 +- .../contract/paymentRegistrationList.vue | 794 ++++++++++++------ .../finance/components/addPropertyPlan.vue | 185 +++- src/views/finance/components/file.vue | 312 +++++++ src/views/finance/components/remark.vue | 250 ++++++ src/views/finance/financialEvaluation.vue | 52 +- 6 files changed, 1324 insertions(+), 275 deletions(-) create mode 100644 src/views/finance/components/file.vue create mode 100644 src/views/finance/components/remark.vue diff --git a/.env.development b/.env.development index 56074d9..a6db51d 100644 --- a/.env.development +++ b/.env.development @@ -2,9 +2,9 @@ ENV = 'development' # base api -VUE_APP_DOMIAN=http://192.168.60.99:9003/ -#VUE_APP_DOMIAN=http://hdcontract.ali251.langye.net/ +#VUE_APP_DOMIAN=http://192.168.60.99:9003/ +VUE_APP_DOMIAN=http://hdcontract.ali251.langye.net/ VUE_APP_BASE_API = '' - +VUE_APP_UPLOAD=http://hdcontract.ali251.langye.net/api/admin/upload-file VUE_APP_OUT_URL = http://192.168.60.18:2021 diff --git a/src/views/contract/paymentRegistrationList.vue b/src/views/contract/paymentRegistrationList.vue index e30bca6..3e3b926 100644 --- a/src/views/contract/paymentRegistrationList.vue +++ b/src/views/contract/paymentRegistrationList.vue @@ -1,245 +1,549 @@ - - - - - + + + + + diff --git a/src/views/finance/components/addPropertyPlan.vue b/src/views/finance/components/addPropertyPlan.vue index e77d245..c76a756 100644 --- a/src/views/finance/components/addPropertyPlan.vue +++ b/src/views/finance/components/addPropertyPlan.vue @@ -20,7 +20,7 @@
- @@ -57,13 +76,17 @@ import { index, destroy } from "@/api/propertyPlan"; import addPropertyPlan from "@/views/finance/components/addPropertyPlan.vue"; +import remark from "./components/remark.vue"; +import file from "./components/file.vue"; export default { components: { + file, + remark, addPropertyPlan, }, data() { return { - type: 0, + role: 0,//0业务,1财务 select: { page: 1, page_size: 10, @@ -74,14 +97,15 @@ export default { label: "项目名称", width: 220, align: "left", + prop: 'contract.name' }, { - prop: "", + prop: "plan_date", label: "计划评审时间", width: 200, }, { - prop: "", + prop: "actually_date", label: "实际评审时间", width: 200, }, @@ -90,6 +114,7 @@ export default { }; }, methods: { + destroy, async getList() { const res = await index(this.select); this.total = res.total; @@ -97,12 +122,19 @@ export default { }, }, computed: {}, + created() { + this.getList(); + }, beforeRouteEnter(to, from, next) { next((vm) => { - this.type = to.path.split("_")[1]; + vm.role = to.path.split("_")[1] ? Number(to.path.split("_")[1]) : ''; }); }, }; - +