flat:所属社区
This commit is contained in:
@@ -101,6 +101,11 @@
|
||||
<u--input v-model="info.jobCompanyIndustry" border="none" :disabled="true" disabledColor="#ffffff"
|
||||
placeholder="请输入所属行业"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="所属社区" prop="createDept" borderBottom labelWidth="80" ref="item1">
|
||||
<custom-tree-select style="width: 100%;" :listData="deptTreeData" v-model="info.createDept"
|
||||
data-label="title" data-value="value" boxStyle="border: 0; paddingLeft: 0;" search border
|
||||
placeholder="请选择所属社区" />
|
||||
</u-form-item>
|
||||
<u-form-item label="企业性质" prop="jobCompanyNature" borderBottom labelWidth="80" ref="item1">
|
||||
<u--input v-model="info.jobCompanyNature" border="none" :disabled="true" disabledColor="#ffffff"
|
||||
placeholder="请输入企业性质"></u--input>
|
||||
@@ -176,7 +181,8 @@
|
||||
submitInfo,
|
||||
getWorktypesBaseList,
|
||||
findTradeList,
|
||||
getDictionary
|
||||
getDictionary,
|
||||
getDeptAllTree
|
||||
} from '@/api/userrecruit.js'
|
||||
import PickerTree from './enterpriceCertification/pickerTree.vue'
|
||||
import {
|
||||
@@ -191,6 +197,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
deptTreeData: [],
|
||||
addressOptions: [],
|
||||
loading: false,
|
||||
latitude: 31.05, //中心点
|
||||
@@ -242,6 +249,7 @@
|
||||
callTel: '', // 手机号
|
||||
callNumber: '', // 座机
|
||||
address: '', // 公司详细地址
|
||||
createDept: []
|
||||
// userInfo: {
|
||||
// name: '楼兰',
|
||||
// sex: '',
|
||||
@@ -258,7 +266,7 @@
|
||||
showNature: false, // 人员属性
|
||||
showAge: false, // 年龄要求
|
||||
showEdu: false, // 学历要求
|
||||
showExpe: false, // 经验要求
|
||||
showExpe: false, // 经验要求
|
||||
birthday: Number(new Date()),
|
||||
wageColumns: dic.wageUnitCategoryState,
|
||||
tradeColumns: dic.tradeArr,
|
||||
@@ -391,6 +399,12 @@
|
||||
message: '请输入详细地址',
|
||||
trigger: ['change']
|
||||
},
|
||||
createDept: {
|
||||
type: 'array',
|
||||
required: true,
|
||||
message: '请选择所属社区',
|
||||
trigger: ['change']
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
@@ -412,6 +426,7 @@
|
||||
} = dic.wageUnitCategoryState[0].filter(item => item.id == 3)[0]
|
||||
this.info.wageUnitCategory = staId
|
||||
this.info.wageUnitCategoryName = staLabel
|
||||
this.getTreeDept()
|
||||
if (this.company) {
|
||||
this.backfill(this.company)
|
||||
}
|
||||
@@ -426,6 +441,13 @@
|
||||
|
||||
},
|
||||
methods: {
|
||||
async getTreeDept() {
|
||||
let resData = await getDeptAllTree()
|
||||
if (resData.data.code === 200) {
|
||||
this.deptTreeData = resData.data.data
|
||||
console.log('dept', resData.data.data)
|
||||
}
|
||||
},
|
||||
selectInput: debounce(function(val) {
|
||||
// querySearch(val, '3CXBZ-SKHCL-QC6PH-MLJAE-ZYCFK-6MBR5').then(res => {
|
||||
// console.log(res)
|
||||
@@ -484,6 +506,7 @@
|
||||
this.info.jobCompanyIndustry = info.jobCompanyIndustry
|
||||
this.info.jobCompanyNature = info.jobCompanyNature
|
||||
this.info.jobCompanyDescription = info.jobCompanyDescription
|
||||
this.info.createDept = [String(info.createDept)]
|
||||
this.info.callName = info.callName
|
||||
this.info.callTel = info.callTel
|
||||
this.info.callNumber = info.callNumber
|
||||
@@ -658,6 +681,7 @@
|
||||
}
|
||||
params.lon = that.longitude
|
||||
params.lat = that.latitude
|
||||
params.createDept = params.createDept[0]
|
||||
submitInfo(params).then(res => {
|
||||
if (res.data.code == 200) {
|
||||
that.reset()
|
||||
@@ -700,6 +724,7 @@
|
||||
'jobCompanyIndustry',
|
||||
'jobCompanyNature',
|
||||
'jobCompanyDescription',
|
||||
"createDept",
|
||||
'callName',
|
||||
'callTel',
|
||||
'callNumber',
|
||||
|
||||
Reference in New Issue
Block a user