|
@ -21,13 +21,13 @@ |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item label="发布单位" prop="publishUnitName" label-width="150px"> |
|
|
<el-form-item label="发布单位" prop="publishUnitName" label-width="150px"> |
|
|
<el-input v-model.trim="formData.publishUnitName" size="small" clearable placeholder="请输入活动名称" |
|
|
<el-input v-model.trim="formData.publishUnitName" size="small" clearable placeholder="请输入" |
|
|
class="u-item-width-normal"></el-input> |
|
|
class="u-item-width-normal"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="12"> |
|
|
<el-col :span="12"> |
|
|
<el-form-item label="名称" prop="projectTitle" label-width="150px"> |
|
|
<el-form-item label="名称" prop="projectTitle" label-width="150px"> |
|
|
<el-input v-model.trim="formData.projectTitle" size="small" clearable placeholder="请输入活动名称" |
|
|
<el-input v-model.trim="formData.projectTitle" size="small" clearable placeholder="请输入名称" |
|
|
class="u-item-width-normal"></el-input> |
|
|
class="u-item-width-normal"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
@ -569,52 +569,48 @@ |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
async handleComfirm() { |
|
|
async handleComfirm() { |
|
|
// if (!this.formData.agencyName) { |
|
|
if (!this.formData.projectTitle) { |
|
|
// this.$message.error('请选择所属组织'); |
|
|
this.$message.error('请填写名称'); |
|
|
// return; |
|
|
return; |
|
|
// } |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// if (!this.formData.Organizational) { |
|
|
if (!this.formData.description) { |
|
|
// this.$message.error('请填写项目介绍'); |
|
|
this.$message.error('请填写项目介绍'); |
|
|
// return; |
|
|
return; |
|
|
// } |
|
|
} |
|
|
|
|
|
|
|
|
// if (this.fileList.length === 0) { |
|
|
|
|
|
// this.$message.error('请上传封面图片'); |
|
|
if (!this.formData.serviceClasses) { |
|
|
// return; |
|
|
this.$message.error('请选择服务类型'); |
|
|
// } |
|
|
return; |
|
|
|
|
|
} |
|
|
// if (!this.formData.AdministratorIDCard) { |
|
|
|
|
|
// this.$message.error('请输入身份证信息'); |
|
|
if (!this.formData.recruitDeadline) { |
|
|
// return; |
|
|
this.$message.error('请选择服务截止时间'); |
|
|
// } |
|
|
return; |
|
|
|
|
|
} |
|
|
// if (!this.formData.Administratorphone) { |
|
|
|
|
|
// this.$message.error('请输入管理员电话'); |
|
|
if (!this.formData.recruitRequirement) { |
|
|
// return; |
|
|
this.$message.error('请填写招募要求'); |
|
|
// } |
|
|
return; |
|
|
|
|
|
} |
|
|
// if (!this.formData.AdministratorName) { |
|
|
|
|
|
// this.$message.error('请输入管理员姓名'); |
|
|
if (!this.formData.Organizationaltype) { |
|
|
// return; |
|
|
this.$message.error('请输入组织类型'); |
|
|
// } |
|
|
return; |
|
|
|
|
|
} |
|
|
// if (!this.formData.Organizationaltype) { |
|
|
|
|
|
// this.$message.error('请输入组织类型'); |
|
|
if (!this.formData.serviceTimeFrom&&!this.formData.serviceTimeTo) { |
|
|
// return; |
|
|
this.$message.error('请选择服务期限'); |
|
|
// } |
|
|
return; |
|
|
|
|
|
} |
|
|
// if (!this.formData.Servicetype) { |
|
|
|
|
|
// this.$message.error('请输入服务类型'); |
|
|
if (!this.formData.OrganizationName) { |
|
|
// return; |
|
|
this.$message.error('请填写发布单位'); |
|
|
// } |
|
|
return; |
|
|
|
|
|
} |
|
|
// if (!this.formData.OrganizationName) { |
|
|
|
|
|
// this.$message.error('请填写发布单位'); |
|
|
|
|
|
// return; |
|
|
|
|
|
// } |
|
|
|
|
|
console.log(this.formData,"this.formData"); |
|
|
console.log(this.formData,"this.formData"); |
|
|
this.addActivity() |
|
|
this.addActivity() |
|
|
}, |
|
|
}, |
|
|