From 6b4982a0aedd5c6567758d71be0bd0b35bbff43c Mon Sep 17 00:00:00 2001 From: xzt <1113240624@qq.com> Date: Thu, 20 Jun 2024 16:54:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jwtech-admin-page/src/main.js | 2 + .../projectProcess/baseMsg/index.vue | 2 +- .../components/chooseSection.vue | 86 + .../projectProcess/contract/index.vue | 61 +- .../contract/options/basePage.vue | 33 +- .../designChangeInformation.vue | 25 + .../projectInfo/projectProcess/firmInfo.vue | 38 + .../investment/options/purposeFunds.vue | 10 +- .../investment/options/sourceFunds.vue | 24 +- .../preparationForConstruction copy.vue | 908 +++++++++ .../preparationForConstruction.vue | 557 +++--- .../projectProcess/projectAcceptance copy.vue | 1735 +++++++++++++++++ .../projectProcess/projectAcceptance.vue | 899 ++++++--- ...neeringQualitySupervisionAndInspection.vue | 13 +- .../options/engineeringQualityInspection.vue | 28 +- .../itemDivision/components/unitProject.vue | 56 +- .../projectProcess/safetyRecord.vue | 28 +- .../options/annualPlanManagement.vue | 17 +- .../options/completionOfInvestment.vue | 6 + .../options/progressFilling.vue | 6 + .../options/record.vue | 25 +- 21 files changed, 3942 insertions(+), 617 deletions(-) create mode 100644 jwtech-admin-page/src/views/building/projectInfo/projectProcess/components/chooseSection.vue create mode 100644 jwtech-admin-page/src/views/building/projectInfo/projectProcess/preparationForConstruction copy.vue create mode 100644 jwtech-admin-page/src/views/building/projectInfo/projectProcess/projectAcceptance copy.vue diff --git a/jwtech-admin-page/src/main.js b/jwtech-admin-page/src/main.js index a64db01b..68c6107f 100644 --- a/jwtech-admin-page/src/main.js +++ b/jwtech-admin-page/src/main.js @@ -21,6 +21,7 @@ import { getDicts } from "@/api/system/dict/data"; import { getConfigKey } from "@/api/system/config"; import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from "@/utils/ruoyi"; import MyUpload from "@/components/myUpload"; +import chooseSection from "@/views/building/projectInfo/projectProcess/components/chooseSection"; import Pagination from "@/components/Pagination"; //自定义表格工具扩展 import RightToolbar from "@/components/RightToolbar" @@ -152,6 +153,7 @@ Vue.use(Viewer); // 全局组件挂载 +Vue.component('chooseSection', chooseSection) Vue.component('MyUpload', MyUpload) Vue.component('Pagination', Pagination) Vue.component('RightToolbar', RightToolbar) diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg/index.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg/index.vue index 5f8002f5..5f208601 100644 --- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg/index.vue +++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg/index.vue @@ -10,7 +10,7 @@ - + + + + + + + + + + diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/index.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/index.vue index 452e2e55..382612bd 100644 --- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/index.vue +++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/index.vue @@ -127,6 +127,13 @@ :formatter="contractTypeFormat" min-width="120" /> + + - + - --> + + @@ -785,6 +807,7 @@ import { updateInfo, exportInfo, } from "@/api/build/contractInfo"; +import { listSectionInfo } from "@/api/build/sectionInfo"; import { getToken } from "@/utils/auth"; import { getFileStream } from "@/api/system/upload"; import basePage from "./options/basePage.vue"; @@ -796,6 +819,7 @@ import honourAnAgreementPage from "./options/honourAnAgreementPage.vue"; import evaluatePage from "./options/evaluatePage.vue"; import performanceBond from "./options/performanceBond.vue"; import QualityBond from "./options/QualityBond.vue"; +// import chooseSection from "../components/chooseSection.vue"; export default { name: "contract", @@ -811,6 +835,7 @@ export default { evaluatePage, performanceBond, QualityBond, + // chooseSection, }, data() { return { @@ -878,7 +903,9 @@ export default { cv: { name: "contractName", value: "", type: "like" }, }, // 表单参数 - form: {}, + form: { + sectionName: null, + }, // 表单校验 rules: { contractName: [ @@ -889,7 +916,7 @@ export default { { max: 250, message: "字符长度最大为250", trigger: "blur" }, ], sectionName: [ - { required: true, message: "请输入标段名称", trigger: "blur" }, + { required: true, message: "请选择标段名称", trigger: "change" }, { max: 250, message: "字符长度最大为250", trigger: "blur" }, ], contractAmount: [ @@ -959,10 +986,21 @@ export default { // 合同类型字典 contractTypeOptions: [], contractMsg: {}, + sectionNameOptions: [], }; }, created() { if (this.formData) this.getList(); + // listSectionInfo({ + // pageSize: 20, + // data: { + // proNo: this.formData.proNo, + // proCode: this.formData.proCode, + // }, + // }).then((res) => { + // this.sectionNameOptions = res.records; + // // console.log("sectionNameOptions", this.sectionNameOptions); + // }); this.getDicts("contract_status").then((response) => { this.contractStatusOptions = response.data; }); @@ -994,6 +1032,11 @@ export default { contractTypeFormat(row, column) { return this.selectDictLabel(this.contractTypeOptions, row.contractType); }, + sectionNameFormat(row) { + return this.sectionNameOptions?.filter( + (res) => res.id == row.sectionName + )[0]?.sectionName; + }, /** 查询合同基本信息列表 */ getList() { diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/options/basePage.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/options/basePage.vue index 3db83649..c760713d 100644 --- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/options/basePage.vue +++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/options/basePage.vue @@ -81,7 +81,26 @@ - + + @@ -244,6 +263,7 @@ import { updateInfo, exportInfo, } from "@/api/build/contractInfo"; +import { listSectionInfo } from "@/api/build/sectionInfo"; import { listProposal, getProposal, @@ -338,11 +358,22 @@ export default { contractStatusOptions: [], // 合同类型字典 contractTypeOptions: [], + sectionNameOptions: [], }; }, created() { console.log(55555555, this.conForm); this.getList(); + // listSectionInfo({ + // pageSize: 20, + // data: { + // proNo: this.conForm.proNo, + // proCode: this.conForm.proCode, + // }, + // }).then((res) => { + // this.sectionNameOptions = res.records; + // // console.log("sectionNameOptions", this.sectionNameOptions); + // }); this.getDicts("contract_status").then((response) => { this.contractStatusOptions = response.data; }); diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/designChangeInformation.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/designChangeInformation.vue index dacc5d44..c19ea787 100644 --- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/designChangeInformation.vue +++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/designChangeInformation.vue @@ -107,6 +107,12 @@ align="center" fixed /> + + + + + + + + + {{ this.designMsg.sectionName }} + {{ changeTypeFormat(this.designMsg) }} @@ -436,6 +451,7 @@ export default { pageSize: 10, ids: null, data: { + sectionName: null, changeType: null, changeTime: null, changeReason: null, @@ -457,6 +473,13 @@ export default { form: {}, // 表单校验 rules: { + sectionName: [ + { + required: true, + message: "请选择标段名称", + trigger: "change", + }, + ], changeType: [ { required: true, @@ -538,6 +561,7 @@ export default { reset() { this.form = { id: null, + sectionName: null, changeType: null, changeTime: null, changeReason: null, @@ -563,6 +587,7 @@ export default { pageSize: 10, data: { id: null, + sectionName: null, changeType: null, changeTime: null, changeReason: null, diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/firmInfo.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/firmInfo.vue index 7cc60b5c..058bec9e 100644 --- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/firmInfo.vue +++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/firmInfo.vue @@ -95,6 +95,12 @@ " @selection-change="handleSelectionChange" > + + + + + + + + + + --> - + /> --> + + + + + + + +
+
+ 工程开工令 + + +
+ + + + + + + + + + {{ this.preMsg.reportTime1 }} + + + + {{ this.preMsg.approvalTime1 }} + + + + {{ this.preMsg.approvalOpinion1 }} + + + + + + + + + + + + + + +
+ 工程开工令 +
+ + + + + + + 点击上传 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+ + + diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/preparationForConstruction.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/preparationForConstruction.vue index d77db9d9..9b566f0a 100644 --- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/preparationForConstruction.vue +++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/preparationForConstruction.vue @@ -1,250 +1,179 @@