From 7f24af3272e22dd9d02ba7d166ea6b923d6205f2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=BD=95=E5=BE=B7=E8=B6=85?=
<13143889+he-dechao@user.noreply.gitee.com>
Date: Thu, 24 Jul 2025 20:56:11 +0800
Subject: [PATCH] =?UTF-8?q?=E7=AB=8B=E9=A1=B9=E6=B7=BB=E5=8A=A0=E9=A1=B9?=
=?UTF-8?q?=E7=9B=AE=E7=BB=8F=E7=90=86=EF=BC=8C=E9=A3=8E=E5=9C=BA=E5=90=8D?=
=?UTF-8?q?=E7=A7=B0=E5=92=8C=E4=B8=9A=E4=B8=BB=E5=90=8D=E7=A7=B0=E7=BB=91?=
=?UTF-8?q?=E5=AE=9A=E4=B8=80=E8=87=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/project/index.vue | 34 ++++++++++++++++++++++++----------
1 file changed, 24 insertions(+), 10 deletions(-)
diff --git a/src/views/project/index.vue b/src/views/project/index.vue
index 6a9319b..b523e17 100644
--- a/src/views/project/index.vue
+++ b/src/views/project/index.vue
@@ -93,10 +93,22 @@
地图选点
+
+
+
+
+
+ {{ user.label }}
+
+
+
+
+
-
+ (form.farmName = val)" />
+
@@ -105,6 +117,7 @@
+
@@ -313,22 +326,22 @@ const form = reactive({
client: '', // 委托单位
clientContact: '', // 委托单位联系人
clientPhone: '', // 委托单位联系电话
- inspectionUnit: '', // 检查单位
- inspectionContact: '', // 检查单位联系人
- inspectionPhone: '', // 检查单位联系电话
- farmName: '', // 风场名称
- farmAddress: '', // 风场地址
- scale: '', // 项目规模
+ inspectionUnit: '', // 业主单位
+ inspectionContact: '', // 业主单位联系人
+ inspectionPhone: '', // 业主单位联系电话
+ farmName: '', // 风场名称 现在等同业主单位
+ farmAddress: '', // 风场地址 项目地址
+ scale: '', // 项目规模 风机数量
turbineModel: '', // 风机型号
- status: 0, // 状态:0待施工,1施工中,2已完工,3已审核,4已验收
+ status: '', // 状态:0待施工,1施工中,2已完工,3已审核,4已验收
startDate: '', // 开始时间
endDate: '', // 结束时间
- coverUrl: '', // 项目封面
+ coverUrl: '', // 项目封面 现在填的是项目内容
constructionTeamLeaderId: '', // 施工组长id
constructorIds: '', // 施工人员id
qualityOfficerId: '', // 质量员id
auditorId: '', // 安全员id
- turbineList: [] as { id: number; turbineNo: string; lat?: number; lng?: number; status: 0 | 1 | 2 }[],
+ turbineList: [] as { id: number; turbineNo: string; lat?: number; lng?: number; status: 0 | 1 | 2 }[], //风机组
})
const pagination = reactive({
@@ -670,6 +683,7 @@ const handleSubmit = async () => {
// 新增模式
console.log('新增模式提交')
res = await addProject(submitData)
+
Message.success('添加成功')
}