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('添加成功')
}