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);