From 561f40000eaec60757fb713e86861b9cd8b7568a Mon Sep 17 00:00:00 2001 From: xzt <1113240624@qq.com> Date: Fri, 5 Jan 2024 12:11:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E5=BB=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/building/projectInfo/index.vue | 614 ++++++++++++++---- .../projectInfo/projectProcess/baseMsg.vue | 30 +- 2 files changed, 498 insertions(+), 146 deletions(-) diff --git a/jwtech-admin-page/src/views/building/projectInfo/index.vue b/jwtech-admin-page/src/views/building/projectInfo/index.vue index 7c335ea3..f705ccba 100644 --- a/jwtech-admin-page/src/views/building/projectInfo/index.vue +++ b/jwtech-admin-page/src/views/building/projectInfo/index.vue @@ -3,104 +3,305 @@
- {{ - item.routeName }} + {{ item.routeName }} - + - - + + - 重置 + 重置 - 新增 + 新增 - 修改 + 修改 - 删除 + 删除 - + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - + + + + + - + - + - + - - + + :value="dict.projectName + '[' + dict.projectCode + ']'" + @click.native="getId(dict)" + /> - + - + + - +
- 重大项目 - 面上项目 + 重大项目 + 面上项目
- + {{ dict.dictLabel }}
@@ -172,10 +388,20 @@ v-model="form.engineeringGrade" placeholder="请输入工程等别" /> --> - - + +
@@ -185,10 +411,20 @@ v-model="form.engineeringPurposes" placeholder="请输入工程用途" /> --> - - + +
@@ -198,16 +434,29 @@ v-model="form.workCategory" placeholder="请输入工程类别" /> --> - - + + - + @@ -216,10 +465,20 @@ v-model="form.constructionMode" placeholder="请输入建设模式" /> --> - - + + @@ -229,23 +488,44 @@ v-model="form.constructionNature" placeholder="请输入建设性质" /> --> - - + + - + - + @@ -256,67 +536,106 @@ - + - + - + - + - + - + - + - + - + - - + + - - + + @@ -325,21 +644,36 @@ v-model="form.isMajorProject" placeholder="请输入是否172项重大水利工程" /> --> - - + + - + - +
@@ -352,25 +686,37 @@
- +
在建项目基本信息
- + {{ this.proMsg.projectName + "[" + this.proMsg.proCode + "]" }} - + {{ this.proMsg.proCode }} @@ -417,11 +763,11 @@ - {{ this.proMsg.commencementDate || '-' }} + {{ this.proMsg.commencementDate || "-" }} - {{ this.proMsg.plannedCompletionDate || '-' }} + {{ this.proMsg.plannedCompletionDate || "-" }} @@ -603,16 +949,18 @@ export default { projectLegalPhone: [ { required: true, - type: 'string', - pattern: /^(13[0-9]|14[01456879]|15[0-3,5-9]|16[2567]|17[0-8]|18[0-9]|19[0-3,5-9])\d{8}$/, - message: '请输入正确的手机号', - trigger: 'blur' + type: "string", + pattern: + /^(13[0-9]|14[01456879]|15[0-3,5-9]|16[2567]|17[0-8]|18[0-9]|19[0-3,5-9])\d{8}$/, + message: "请输入正确的手机号", + trigger: "blur", }, ], centralArrangedFunds: [ { // required: true, - message: "请输入中央资金", trigger: "blur" + message: "请输入中央资金", + trigger: "blur", }, { pattern: @@ -624,7 +972,8 @@ export default { provincialFunding: [ { // required: true, - message: "请输入省级资金", trigger: "blur" + message: "请输入省级资金", + trigger: "blur", }, { pattern: @@ -636,7 +985,8 @@ export default { cityLevelFunds: [ { // required: true, - message: "请输入地市资金", trigger: "blur" + message: "请输入地市资金", + trigger: "blur", }, { pattern: @@ -648,7 +998,8 @@ export default { countyLevelFunds: [ { // required: true, - message: "请输入区县资金", trigger: "blur" + message: "请输入区县资金", + trigger: "blur", }, { pattern: @@ -660,7 +1011,8 @@ export default { townshipInvestments: [ { // required: true, - message: "请输入乡镇及群众自筹和其他投资", trigger: "blur" + message: "请输入乡镇及群众自筹和其他投资", + trigger: "blur", }, { pattern: @@ -764,7 +1116,7 @@ export default { handleChange(value) { //value为省市区code数组 if (value) { - this.form.adcd = JSON.stringify(value) + this.form.adcd = JSON.stringify(value); console.log("value", value, this.form.adcd); var provinceCode = codeToText[value[0]]; //code转为省 var cityCode = codeToText[value[1]]; //市 @@ -1103,7 +1455,7 @@ export default { this.getList(); this.msgSuccess("删除成功"); }) - .catch(function () { }); + .catch(function () {}); } else { this.$message.warning("请选择要删除的数据!!"); } @@ -1128,7 +1480,7 @@ export default { this.downloadFile(response, true, response.msg); // this.download(response.msg); }) - .catch(function () { }); + .catch(function () {}); }, }, }; diff --git a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg.vue b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg.vue index d298c97b..c7469395 100644 --- a/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg.vue +++ b/jwtech-admin-page/src/views/building/projectInfo/projectProcess/baseMsg.vue @@ -46,15 +46,15 @@ --> - + + - - + + @@ -302,9 +302,9 @@ - - + > + + @@ -320,9 +320,9 @@ - - + > + + @@ -338,9 +338,9 @@ - - + > + + @@ -359,7 +359,7 @@ + >