From 482b865b2f9acabd64defae0ea791f15f1af7904 Mon Sep 17 00:00:00 2001 From: lucky Date: Tue, 19 Jan 2021 09:44:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AddModel.vue | 96 ++++--------------- 1 file changed, 20 insertions(+), 76 deletions(-) diff --git a/src/views/IncubationPlatform/components/AddModel.vue b/src/views/IncubationPlatform/components/AddModel.vue index 706a506..21aefff 100644 --- a/src/views/IncubationPlatform/components/AddModel.vue +++ b/src/views/IncubationPlatform/components/AddModel.vue @@ -7,101 +7,42 @@ v-if="value === 1" /> {{ str }} - -

- + +

+ 实体空间 虚拟空间

- + - + - - + + - +
- + 获取验证码
- +
- 重新发送 {{ interval }} - 获取验证码 + 重新发送 {{ interval }} + + 获取验证码 +
- - + +
@@ -142,6 +83,7 @@ export default { tel: '', // 联系电话 describe: '', // 项目描述 code: '', // 验证码 + val: 0, isTel: false, }, codeRules: [ @@ -199,6 +141,8 @@ export default { this.$message.error('请输入验证码'); } else if (!this.platform.describe) { this.$message.error('请输入项目信息简述'); + } else if (!this.platform.val) { + this.$message.error('请选择孵化器'); } else { if (this.platform.isTel) { this.subMitAdd(); @@ -218,7 +162,7 @@ export default { contactName: this.platform.manName, contactPhone: this.platform.tel, description: this.platform.describe, - type: this.value, + type: this.platform.val, }, }; const res = await JoinPlatform(params);