|
@@ -51,12 +51,6 @@
|
|
|
<van-field v-if="moduleShow.email" v-model.trim="infoMap.email" label="邮箱"
|
|
|
@focus="infoCheckMap.email = ''" @blur="getCheckMap('email')" :error-message="infoCheckMap.email"
|
|
|
required placeholder="请输入邮箱"></van-field>
|
|
|
- <van-field v-if="moduleShow.area" v-model="infoMap.area" label="区域" @click="openPop('区域')" readonly
|
|
|
- is-link placeholder="请选择所在区域"></van-field>
|
|
|
- <van-field v-if="moduleShow.class" v-model="infoMap.class" label="行业" @click="openPop('行业')" readonly
|
|
|
- is-link placeholder="请选择所属行业"></van-field>
|
|
|
- <van-field v-if="moduleShow.type" v-model="infoMap.type" label="受雇类型" @click="openPop('受雇类型')" readonly
|
|
|
- is-link placeholder="请选择受雇类型"></van-field>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-card-group">
|
|
@@ -69,8 +63,6 @@
|
|
|
<van-field @input="entOnChange('input')" @blur="entOnChange('blur')" @focus="infoCheckMap.company = ''"
|
|
|
:error-message="infoCheckMap.company" required v-model.trim="infoMap.company" label="公司名称"
|
|
|
placeholder="请输入公司名称"></van-field>
|
|
|
- <van-field v-if="moduleShow.companyType" v-model="infoMap.companyType" label="公司类型"
|
|
|
- @click="openPop('公司类型')" readonly is-link placeholder="请选择公司类型"></van-field>
|
|
|
<van-field v-if="moduleShow.position" :class="{'hide-border': infoMap.position === '其他'}" required
|
|
|
v-model="infoMap.position" label="职位" @click="openPop('职位')" readonly is-link placeholder="请选择职位">
|
|
|
</van-field>
|
|
@@ -80,17 +72,6 @@
|
|
|
label="职位" placeholder="请输入职位"></van-field>
|
|
|
<van-field v-if="showBranch" v-model="infoMap.branch" required label="部门" @click="openPop('部门')" readonly
|
|
|
is-link placeholder="请选择部门"></van-field>
|
|
|
- <van-field v-if="moduleShow.company_size" v-model="infoMap.company_size" label="公司规模"
|
|
|
- @click="openPop('公司规模')" readonly is-link placeholder="请选择公司规模"></van-field>
|
|
|
- <van-field v-if="moduleShow.workScope" maxlength="200" v-model="infoMap.workScope" label="业务范围" rows="2"
|
|
|
- type="textarea" placeholder="请输入业务范围,让合作伙伴充分了解公司业务内容"></van-field>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="form-card-group" v-if="moduleShow.partnerNeeds">
|
|
|
- <div class="form-title">合作需求</div>
|
|
|
- <div class="form-content-card">
|
|
|
- <van-field maxlength="200" v-model="infoMap.partnerNeeds" rows="3" type="textarea"
|
|
|
- placeholder="请输入合作需求,从而创造并匹配更多合作交流机会"></van-field>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="form-tick-group" @click="isRead = !isRead" v-if="moduleShow.agree">
|
|
@@ -118,18 +99,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="j-main" v-show="popInfo.label === '区域'">
|
|
|
- <van-tree-select height="100%" :items="areaDatas" :active-id.sync="areaId"
|
|
|
- :main-active-index.sync="areaIndex">
|
|
|
-
|
|
|
- </van-tree-select>
|
|
|
- </div>
|
|
|
- <div class="j-main" v-show="popInfo.label === '行业'">
|
|
|
- <van-tree-select height="100%" :items="classDatas" :active-id.sync="classId"
|
|
|
- :main-active-index.sync="classIndex">
|
|
|
-
|
|
|
- </van-tree-select>
|
|
|
- </div>
|
|
|
<div class="j-main" v-show="conditionMap[popInfo.label]">
|
|
|
<div class="condition-select-group" :class="{more: isMoreSelect}">
|
|
|
<div class="condition-select-item" @click="onSelectItem(item, popInfo.label)"
|
|
@@ -775,48 +744,6 @@
|
|
|
title: ''
|
|
|
},
|
|
|
conditionMap: {
|
|
|
- '受雇类型': [{
|
|
|
- title: '公司',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '个体经营者',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '其他',
|
|
|
- checked: false
|
|
|
- }
|
|
|
- ],
|
|
|
- '公司类型': [{
|
|
|
- title: '投标企业',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '招标采购单位',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '厂商',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '招标代理机构',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '经销商',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '服务提供商',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '其他',
|
|
|
- checked: false
|
|
|
- }
|
|
|
- ],
|
|
|
'职位': [{
|
|
|
title: '总裁',
|
|
|
checked: false
|
|
@@ -842,31 +769,7 @@
|
|
|
checked: false
|
|
|
}
|
|
|
],
|
|
|
- '公司规模': [{
|
|
|
- title: '0-19人',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '20-99人',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '100-499人',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '500-999人',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '1000-9999人',
|
|
|
- checked: false
|
|
|
- },
|
|
|
- {
|
|
|
- title: '100000人以上',
|
|
|
- checked: false
|
|
|
- }
|
|
|
- ],
|
|
|
+
|
|
|
'部门': [{
|
|
|
title: '市场',
|
|
|
checked: false
|
|
@@ -992,7 +895,8 @@
|
|
|
article_purchase_intention: '请留下联系方式,我们会尽快联系您!开通大会员可抢先对接采购单位,帮助企业拓客!', // 采购意向
|
|
|
article_proposed_project: '请留下联系方式,我们会尽快联系您!开通大会员可抢先获知拟建商机动态,提高中标机率!', // 拟建项目
|
|
|
'ent-manage-app': '请留下联系方式,我们会尽快联系您体验商机管理全部功能!',
|
|
|
- "jypush_see10_plus_app":"请完善个人信息,为您匹配更多精准项目信息"
|
|
|
+ "jypush_see10_plus_app":"请完善个人信息,为您匹配更多精准项目信息",
|
|
|
+ "jyarticle_see3_plus_app":"请完善个人信息,获取更多免费查看公告权限"
|
|
|
}
|
|
|
|
|
|
// 提示语
|
|
@@ -1030,7 +934,8 @@
|
|
|
ent_portrait_contacts: '欢迎体验剑鱼大会员',
|
|
|
ent_portrait_changeList: '欢迎体验剑鱼大会员',
|
|
|
'ent-manage-app': '欢迎体验剑鱼标讯商机管理',
|
|
|
- "jypush_see10_plus_app":"完善信息"
|
|
|
+ "jypush_see10_plus_app":"完善信息",
|
|
|
+ "jyarticle_see3_plus_app":"完善信息"
|
|
|
}
|
|
|
for (var key in titleMap) {
|
|
|
if (source.indexOf(key) !== -1) {
|
|
@@ -1052,9 +957,6 @@
|
|
|
|
|
|
return infoText || ''
|
|
|
},
|
|
|
- getPopHeight() {
|
|
|
- return this.popInfo.label === '受雇类型' ? '5.42rem' : '8.36rem'
|
|
|
- },
|
|
|
checkName() {
|
|
|
if (this.infoMap.name.length > 10) {
|
|
|
return false
|
|
@@ -1094,39 +996,14 @@
|
|
|
return !this.checkName || !this.checkPhone || !this.checkEmail || !this.checkEntName || !this
|
|
|
.checkPosition || (this.showBranch && !this.infoMap.branch)
|
|
|
},
|
|
|
- isMoreSelect() {
|
|
|
- return this.popInfo.label === '公司类型'
|
|
|
- },
|
|
|
isNextDisabled() {
|
|
|
var type = this.popInfo.label
|
|
|
var result = false
|
|
|
switch (type) {
|
|
|
- case '区域': {
|
|
|
- var tempData = this.areaId.split('-')
|
|
|
- result = tempData.length === 2
|
|
|
- break
|
|
|
- }
|
|
|
- case '行业': {
|
|
|
- var tempData = this.classId.split('-')
|
|
|
- result = tempData.length === 2
|
|
|
- break
|
|
|
- }
|
|
|
- case '受雇类型': {
|
|
|
- result = this.conditionMap[type].filter(v => v.checked).length
|
|
|
- break
|
|
|
- }
|
|
|
- case '公司类型': {
|
|
|
- result = this.conditionMap[type].filter(v => v.checked).length
|
|
|
- break
|
|
|
- }
|
|
|
case '职位': {
|
|
|
result = this.conditionMap[type].filter(v => v.checked).length
|
|
|
break
|
|
|
}
|
|
|
- case '公司规模': {
|
|
|
- result = this.conditionMap[type].filter(v => v.checked).length
|
|
|
- break
|
|
|
- }
|
|
|
case '部门': {
|
|
|
result = this.conditionMap[type].filter(v => v.checked).length
|
|
|
break
|
|
@@ -1245,18 +1122,9 @@
|
|
|
this.classId = tempData[0] + '-' + tempData[1]
|
|
|
this.classIndex = this.classDatas.map(v => v.text).indexOf(tempData[0])
|
|
|
}
|
|
|
- if (data.hireType) {
|
|
|
- this.setCheckForData('hireType', 'type', data.hireType, '受雇类型')
|
|
|
- }
|
|
|
- if (data.company_size) {
|
|
|
- this.setCheckForData('company_size', 'company_size', data.company_size, '公司规模')
|
|
|
- }
|
|
|
if (data.position) {
|
|
|
this.setCheckForData('position', 'position', data.position, '职位')
|
|
|
}
|
|
|
- if (data.companyType) {
|
|
|
- this.setCheckForData('companyType', 'companyType', data.companyType, '公司类型')
|
|
|
- }
|
|
|
if (data.name) {
|
|
|
this.setCheckForData('name', 'name', data.name)
|
|
|
}
|
|
@@ -1295,9 +1163,9 @@
|
|
|
}
|
|
|
if (label) {
|
|
|
var checkDatas = [cKey]
|
|
|
- if (label === '公司类型') {
|
|
|
- checkDatas = cKey.split(',')
|
|
|
- }
|
|
|
+ // if (label === '公司类型') {
|
|
|
+ // checkDatas = cKey.split(',')
|
|
|
+ // }
|
|
|
this.conditionMap[label].forEach(v => {
|
|
|
if (checkDatas.indexOf(v.title) !== -1) {
|
|
|
v.checked = true
|
|
@@ -1308,47 +1176,11 @@
|
|
|
submitPop() {
|
|
|
var type = this.popInfo.label
|
|
|
switch (type) {
|
|
|
- case '区域': {
|
|
|
- var tempData = this.areaId.split('-')
|
|
|
- if (tempData.length === 2) {
|
|
|
- this.ajaxParams.province = tempData[0]
|
|
|
- this.ajaxParams.city = tempData[1]
|
|
|
- if (tempData[0] === tempData[1]) {
|
|
|
- this.infoMap.area = tempData[0]
|
|
|
- } else {
|
|
|
- this.infoMap.area = tempData[0] + ' ' + tempData[1]
|
|
|
- }
|
|
|
- }
|
|
|
- break
|
|
|
- }
|
|
|
- case '行业': {
|
|
|
- var tempData = this.classId.split('-')
|
|
|
- if (tempData.length === 2) {
|
|
|
- this.ajaxParams.industry = tempData[0] + '_' + tempData[1]
|
|
|
- this.infoMap.class = tempData[0] + ' ' + tempData[1]
|
|
|
- }
|
|
|
- break
|
|
|
- }
|
|
|
- case '受雇类型': {
|
|
|
- var tempData = this.conditionMap[type].filter(v => v.checked)
|
|
|
- this.setCheckForData('hireType', 'type', tempData[0].title)
|
|
|
- break
|
|
|
- }
|
|
|
- case '公司类型': {
|
|
|
- var tempData = this.conditionMap[type].filter(v => v.checked).map(v => v.title)
|
|
|
- this.setCheckForData('companyType', 'companyType', tempData.join(','))
|
|
|
- break
|
|
|
- }
|
|
|
case '职位': {
|
|
|
var tempData = this.conditionMap[type].filter(v => v.checked)
|
|
|
this.setCheckForData('position', 'position', tempData[0].title)
|
|
|
break
|
|
|
}
|
|
|
- case '公司规模': {
|
|
|
- var tempData = this.conditionMap[type].filter(v => v.checked)
|
|
|
- this.setCheckForData('company_size', 'company_size', tempData[0].title)
|
|
|
- break
|
|
|
- }
|
|
|
case '部门': {
|
|
|
var tempData = this.conditionMap[type].filter(v => v.checked)
|
|
|
this.setCheckForData('branch', 'branch', tempData[0].title)
|
|
@@ -1359,30 +1191,10 @@
|
|
|
},
|
|
|
openPop(type) {
|
|
|
switch (type) {
|
|
|
- case '区域': {
|
|
|
- this.popInfo.title = '请选择所在地域'
|
|
|
- break
|
|
|
- }
|
|
|
- case '行业': {
|
|
|
- this.popInfo.title = '请选择所在行业'
|
|
|
- break
|
|
|
- }
|
|
|
- case '受雇类型': {
|
|
|
- this.popInfo.title = '受雇类型'
|
|
|
- break
|
|
|
- }
|
|
|
- case '公司类型': {
|
|
|
- this.popInfo.title = '公司类型'
|
|
|
- break
|
|
|
- }
|
|
|
case '职位': {
|
|
|
this.popInfo.title = '职位'
|
|
|
break
|
|
|
}
|
|
|
- case '公司规模': {
|
|
|
- this.popInfo.title = '公司规模'
|
|
|
- break
|
|
|
- }
|
|
|
case '部门': {
|
|
|
this.popInfo.title = '部门'
|
|
|
break
|