Commit 09865bd1 by yangchao

update

1 parent dc923b84
......@@ -34,7 +34,7 @@ const state = {
xueTangTestURl: 'http://api.xuetang.test.ledianyun.com/',
xueTangBaseURl: 'https://xuetang.api.ledianyun.com/',
inviteBaseUrl: process.env.NODE_ENV == 'development' ? 'http://api.recruit.test.ledianyun.com/':'https://api.recruit.ledianyun.com/',
inviteBaseUrl: process.env.NODE_ENV == 'development' ? 'http://api.recruit.test.ledianyun.com/':'http://api.recruit.test.ledianyun.com/',
platform: 'generally',
......
......@@ -66,6 +66,7 @@
<div class="line-style">
<div class="label">企业名称</div>
<el-input class="input" size="small" v-model="registerInfo.enterprise_name" placeholder="请输入企业名称"></el-input>
<div style="color:red;margin-left: 10px">*</div>
</div>
<div class="line-style">
<div class="label">企业规模</div>
......@@ -74,6 +75,7 @@
<el-option v-for="item in peopleLevel" :key="item.level" :label="item.level_name" :value="item.level">
</el-option>
</el-select>
<div style="color:red;margin-left: 10px">*</div>
</div>
<div class="line-style">
<div class="label">企业类型</div>
......@@ -81,6 +83,7 @@
<el-option v-for="item in enterprise" :key="item.type" :label="item.type_name" :value="item.type">
</el-option>
</el-select>
<div style="color:red;margin-left: 10px">*</div>
</div>
<div class="line-style">
<div class="label">企业区域</div>
......@@ -90,11 +93,13 @@
v-model="registerInfo.enterprise_area"
>
</el-cascader>
<div style="color:red;margin-left: 10px">*</div>
</div>
<div class="line-style">
<div class="label">企业地址</div>
<el-input class="input" size="small" v-model="registerInfo.enterprise_address" placeholder="请输入企业地址"
style="width: 400px;"></el-input>
<div style="color:red;margin-left: 10px">*</div>
</div>
<div class="line-style">
<div class="label">企业描述</div>
......@@ -104,6 +109,7 @@
<div class="line-style">
<div class="label">营业执照</div>
<Upload @getImgs="getBusiness" :setImgUrl="registerInfo.business_license_pic"></Upload>
<div style="color:red;margin-left: 10px">*</div>
</div>
<div class="line-style">
<div class="label"></div>
......@@ -394,9 +400,9 @@
}
let data = {
phone: this.forgetInfo.phone,
code: this.forgetInfo.code,
password: this.forgetInfo.password_one,
phone: this.forgetInfo.phone.trim(),
code: this.forgetInfo.code.trim(),
password: this.forgetInfo.password_one.trim(),
btoken: '50329e02db492b461120c25a212413c2',
mtoken: '0854089c8fa538ab3dd3d2e311b32c92'
};
......@@ -460,10 +466,10 @@
return;
}
let data = {
phone: this.registerInfo.phone,
name: this.registerInfo.name,
passwd: this.registerInfo.password,
smsCode: this.registerInfo.code,
phone: this.registerInfo.phone.trim(),
name: this.registerInfo.name.trim(),
passwd: this.registerInfo.password.trim(),
smsCode: this.registerInfo.code.trim(),
btoken: '50329e02db492b461120c25a212413c2',
mtoken: '0854089c8fa538ab3dd3d2e311b32c92'
}
......@@ -488,6 +494,30 @@
//编辑企业信息
registerBtn() {
if(!this.registerInfo.enterprise_name.trim()) {
this.$message.error('请输入企业名称');
return;
}
if(!this.registerInfo.enterprise_scale) {
this.$message.error('请选择企业规模');
return;
}
if(!this.registerInfo.enterprise_type) {
this.$message.error('请选择企业类型');
return;
}
if(!this.registerInfo.enterprise_area) {
this.$message.error('请选择企业区域');
return;
}
if(!this.registerInfo.enterprise_address.trim()) {
this.$message.error('请输入企业地址');
return;
}
if(!this.registerInfo.get_business_license_pic[0]) {
this.$message.error('请上传营业执照');
return;
}
if(!isEmail(this.registerInfo.email)) {
this.$message.error('邮箱格式错误');
return;
......
......@@ -26,7 +26,7 @@
</div>
<div class="info-item no-border">
<div class="info-title_txt">职位详情</div>
<div class="info-item-h3" v-html="detailInfo.job_remark">
<div class="info-item-h3 word_huan" v-html="detailInfo.job_remark">
</div>
</div>
<div class="info-item no-border">
......@@ -285,4 +285,8 @@
line-height: 30px;
color:#999;
}
.word_huan{
word-break:break-all;
word-wrap:break-word
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!