|
|
@ -12,188 +12,196 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 用户信息 --> |
|
|
|
<!-- 个人信息 --> |
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<div class="flex-between mgb20 user_header"> |
|
|
|
<div class="flex-between mgb20 user_header"> |
|
|
|
<div class="flex-center mgb20 user_header"> |
|
|
|
<div class="flex-center"> |
|
|
|
<p class="addhr_tag"></p> |
|
|
|
<p class="addhr_tag"></p> |
|
|
|
<span>用户信息</span> |
|
|
|
<span>个人信息</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<div> |
|
|
|
<el-form |
|
|
|
<p class="font_same">个人信息</p> |
|
|
|
ref="form" |
|
|
|
<el-form |
|
|
|
:model="form" |
|
|
|
ref="form" |
|
|
|
:rules="rules" |
|
|
|
:model="form" |
|
|
|
label-width="120px" |
|
|
|
:rules="rules" |
|
|
|
:disabled="isDetail" |
|
|
|
label-width="120px" |
|
|
|
> |
|
|
|
:disabled="isDetail" |
|
|
|
<el-col :span="6" :offset="5"> |
|
|
|
> |
|
|
|
<el-form-item prop="userName" label="用户姓名"> |
|
|
|
<el-col :span="6" :offset="5"> |
|
|
|
<el-input v-model="form.userName" placeholder="请输入"></el-input> |
|
|
|
<el-form-item prop="userName" label="用户姓名"> |
|
|
|
</el-form-item> |
|
|
|
<el-input v-model="form.userName" placeholder="请输入"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="证件类型" prop="documentType"> |
|
|
|
<el-form-item label="证件类型" prop="documentType"> |
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
v-model="form.documentType" |
|
|
|
v-model="form.documentType" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
placeholder="请选择证件类型" |
|
|
|
placeholder="请选择证件类型" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="(item,index) in documentTypeList" |
|
|
|
v-for="(item,index) in documentTypeList" |
|
|
|
:key="index" |
|
|
|
:key="index" |
|
|
|
:label="item.name" |
|
|
|
:label="item.name" |
|
|
|
:value="item.value" |
|
|
|
:value="item.value" |
|
|
|
></el-option> |
|
|
|
></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="国家"> |
|
|
|
<el-form-item label="国家"> |
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
v-model="form.countries" |
|
|
|
v-model="form.countries" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
placeholder="请选择国家" |
|
|
|
placeholder="请选择国家" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="(item,index) in countryList" |
|
|
|
v-for="(item,index) in countryList" |
|
|
|
:key="index" |
|
|
|
:key="index" |
|
|
|
:label="item.name" |
|
|
|
:label="item.name" |
|
|
|
:value="item.value" |
|
|
|
:value="item.value" |
|
|
|
></el-option> |
|
|
|
></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="城市"> |
|
|
|
<el-form-item label="城市"> |
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
v-model="form.cityId" |
|
|
|
v-model="form.cityId" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
placeholder="请选择城市" |
|
|
|
placeholder="请选择城市" |
|
|
|
:disabled="form.provinceId ? false : true" |
|
|
|
:disabled="form.provinceId ? false : true" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="(item,index) in cityList" |
|
|
|
v-for="(item,index) in cityList" |
|
|
|
:key="index" |
|
|
|
:key="index" |
|
|
|
:label="item.cityName" |
|
|
|
:label="item.cityName" |
|
|
|
:value="item.cityId" |
|
|
|
:value="item.cityId" |
|
|
|
></el-option> |
|
|
|
></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="教育程度"> |
|
|
|
<el-form-item label="教育程度"> |
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
v-model="form.educationDegree" |
|
|
|
v-model="form.educationDegree" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
placeholder="请选择教育程度" |
|
|
|
placeholder="请选择教育程度" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="(item,index) in educationDegreeList" |
|
|
|
v-for="(item,index) in educationDegreeList" |
|
|
|
:key="index" |
|
|
|
:key="index" |
|
|
|
:label="item.name" |
|
|
|
:label="item.name" |
|
|
|
:value="item.value" |
|
|
|
:value="item.value" |
|
|
|
></el-option> |
|
|
|
></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item prop="schoolId" label="当前院校"> |
|
|
|
<el-form-item prop="schoolId" label="当前院校"> |
|
|
|
<el-select v-model="form.schoolId" filterable clearable placeholder="请选择学校"> |
|
|
|
<el-select v-model="form.schoolId" filterable clearable placeholder="请选择学校"> |
|
|
|
<el-option v-for="(item,index) in schoolList" :key="index" :label="item.schoolName" :value="item.schoolId"></el-option> |
|
|
|
<el-option v-for="(item,index) in schoolList" :key="index" :label="item.schoolName" :value="item.schoolId"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="6" :offset="2"> |
|
|
|
<el-col :span="6" :offset="2"> |
|
|
|
<el-form-item label="唯一识别码"> |
|
|
|
<el-form-item label="唯一识别码"> |
|
|
|
<el-input |
|
|
|
<el-input |
|
|
|
v-model="form.uniqueIdentification" |
|
|
|
v-model="form.uniqueIdentification" |
|
|
|
placeholder="请输入" |
|
|
|
placeholder="请输入" |
|
|
|
:disabled="true" |
|
|
|
:disabled="true" |
|
|
|
></el-input> |
|
|
|
></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item prop="IDNumber" label="证件号码"> |
|
|
|
<el-form-item prop="idNumber" label="证件号码"> |
|
|
|
<el-input |
|
|
|
<el-input |
|
|
|
v-model="form.IDNumber" |
|
|
|
v-model="form.idNumber" |
|
|
|
placeholder="请输入证件号码" |
|
|
|
placeholder="请输入证件号码" |
|
|
|
maxlength="18" |
|
|
|
maxlength="18" |
|
|
|
></el-input> |
|
|
|
></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="省份"> |
|
|
|
<el-form-item label="省份"> |
|
|
|
<el-select |
|
|
|
<el-select |
|
|
|
v-model="form.provinceId" |
|
|
|
v-model="form.provinceId" |
|
|
|
clearable |
|
|
|
clearable |
|
|
|
placeholder="请选择省份" |
|
|
|
placeholder="请选择省份" |
|
|
|
@change="getCity" |
|
|
|
@change="getCity" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="(item,index) in provinceList" |
|
|
|
v-for="(item,index) in provinceList" |
|
|
|
:key="index" |
|
|
|
:key="index" |
|
|
|
:label="item.provinceName" |
|
|
|
:label="item.provinceName" |
|
|
|
:value="item.provinceId" |
|
|
|
:value="item.provinceId" |
|
|
|
></el-option> |
|
|
|
></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="出生日期"> |
|
|
|
<el-form-item label="出生日期"> |
|
|
|
<el-date-picker |
|
|
|
<el-date-picker |
|
|
|
type="date" |
|
|
|
type="date" |
|
|
|
placeholder="选择出生日期" |
|
|
|
placeholder="选择出生日期" |
|
|
|
v-model="form.dateBirth" |
|
|
|
v-model="form.dateBirth" |
|
|
|
style="width: 100%;" |
|
|
|
style="width: 100%;" |
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
value-format="yyyy-MM-dd" |
|
|
|
></el-date-picker> |
|
|
|
></el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
|
|
<el-form-item label="性别"> |
|
|
|
<el-form-item label="性别"> |
|
|
|
<el-select clearable |
|
|
|
<el-select clearable |
|
|
|
v-model="form.sex" |
|
|
|
v-model="form.sex" |
|
|
|
:disabled="IDdisabled" |
|
|
|
:disabled="IDdisabled" |
|
|
|
placeholder="请选择性别" |
|
|
|
placeholder="请选择性别" |
|
|
|
> |
|
|
|
> |
|
|
|
<el-option |
|
|
|
<el-option |
|
|
|
v-for="(item,index) in sexList" |
|
|
|
v-for="(item,index) in sexList" |
|
|
|
:key="index" |
|
|
|
:key="index" |
|
|
|
:label="item.name" |
|
|
|
:label="item.name" |
|
|
|
:value="item.value" |
|
|
|
:value="item.value" |
|
|
|
></el-option> |
|
|
|
></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
</el-form> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</el-card> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 账号信息 --> |
|
|
|
|
|
|
|
<el-card shadow="hover" class="mgb20"> |
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
|
|
<div class="flex-between mgb20 user_header"> |
|
|
|
|
|
|
|
<div class="flex-center"> |
|
|
|
|
|
|
|
<p class="addhr_tag"></p> |
|
|
|
|
|
|
|
<span>账号信息</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div> |
|
|
|
|
|
|
|
<el-form |
|
|
|
|
|
|
|
ref="form" |
|
|
|
|
|
|
|
:model="form" |
|
|
|
|
|
|
|
:rules="rules" |
|
|
|
|
|
|
|
label-width="120px" |
|
|
|
|
|
|
|
:disabled="isDetail" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<el-col :span="24"> |
|
|
|
|
|
|
|
<el-col :span="6" :offset="5"> |
|
|
|
|
|
|
|
<el-form-item prop="phone" label="个人手机"> |
|
|
|
|
|
|
|
<el-input |
|
|
|
|
|
|
|
v-model="form.phone" |
|
|
|
|
|
|
|
placeholder="请输入手机号" |
|
|
|
|
|
|
|
maxlength="11" |
|
|
|
|
|
|
|
></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
</el-form> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="mgb20_top"> |
|
|
|
<el-col :span="6" :offset="2"> |
|
|
|
<p class="font_same">账号信息</p> |
|
|
|
<el-form-item label="微信号"> |
|
|
|
<el-form |
|
|
|
<el-input v-model="form.WeChatID" placeholder="请输入微信号"></el-input> |
|
|
|
ref="form" |
|
|
|
</el-form-item> |
|
|
|
:model="form" |
|
|
|
|
|
|
|
:rules="rules" |
|
|
|
|
|
|
|
label-width="120px" |
|
|
|
|
|
|
|
:disabled="isDetail" |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
<el-col :span="24"> |
|
|
|
|
|
|
|
<el-col :span="6" :offset="5"> |
|
|
|
|
|
|
|
<el-form-item prop="phone" label="个人手机"> |
|
|
|
|
|
|
|
<el-input |
|
|
|
|
|
|
|
v-model="form.phone" |
|
|
|
|
|
|
|
placeholder="请输入手机号" |
|
|
|
|
|
|
|
maxlength="11" |
|
|
|
|
|
|
|
></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<el-col :span="6" :offset="2"> |
|
|
|
|
|
|
|
<el-form-item label="微信号"> |
|
|
|
|
|
|
|
<el-input v-model="form.WeChatID" placeholder="请输入微信号"></el-input> |
|
|
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
</el-col> |
|
|
|
|
|
|
|
</el-col> |
|
|
|
</el-col> |
|
|
|
</el-form> |
|
|
|
</el-col> |
|
|
|
</div> |
|
|
|
</el-form> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
</el-card> |
|
|
@ -229,7 +237,7 @@ |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="院校"> |
|
|
|
<el-form-item label="院校"> |
|
|
|
<el-select v-model="item.schoolId" filterable clearable placeholder="请选择院校" @change="schoolitemChange"> |
|
|
|
<el-select v-model="item.schoolId" filterable clearable placeholder="请选择院校" @change="id => getSchoolName(id,index)"> |
|
|
|
<el-option v-for="(item,index) in schoolList" :key="index" :label="item.schoolName" :value="item.schoolId"></el-option> |
|
|
|
<el-option v-for="(item,index) in schoolList" :key="index" :label="item.schoolName" :value="item.schoolId"></el-option> |
|
|
|
</el-select> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-form-item> |
|
|
@ -441,7 +449,7 @@ export default { |
|
|
|
userName: '', //用户姓名 |
|
|
|
userName: '', //用户姓名 |
|
|
|
uniqueIdentification: '', //唯一识别码 |
|
|
|
uniqueIdentification: '', //唯一识别码 |
|
|
|
documentType: 1, //证件类型 |
|
|
|
documentType: 1, //证件类型 |
|
|
|
IDNumber: '', //证件号码 |
|
|
|
idNumber: '', //证件号码 |
|
|
|
cityId: '', //省份 |
|
|
|
cityId: '', //省份 |
|
|
|
countries: '中国', //国家 |
|
|
|
countries: '中国', //国家 |
|
|
|
provinceId: '', //城市 |
|
|
|
provinceId: '', //城市 |
|
|
@ -489,7 +497,7 @@ export default { |
|
|
|
trigger: 'blur' |
|
|
|
trigger: 'blur' |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
IDNumber: [ |
|
|
|
idNumber: [ |
|
|
|
// { required: true, message: '请输入证件号码', trigger: 'blur' }, |
|
|
|
// { required: true, message: '请输入证件号码', trigger: 'blur' }, |
|
|
|
{ |
|
|
|
{ |
|
|
|
pattern: /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)/, |
|
|
|
pattern: /(^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$)/, |
|
|
@ -595,47 +603,61 @@ export default { |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted() { |
|
|
|
this.getSchoolData() |
|
|
|
|
|
|
|
if(this.userId){ |
|
|
|
if(this.userId){ |
|
|
|
|
|
|
|
this.getdata(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.getSchoolData(); |
|
|
|
|
|
|
|
this.getSubject(); |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
methods: { |
|
|
|
|
|
|
|
getdata() { |
|
|
|
this.$get(this.api.queryUserInfoDetails,{ userId: this.userId }).then(res => { |
|
|
|
this.$get(this.api.queryUserInfoDetails,{ userId: this.userId }).then(res => { |
|
|
|
let userInfo = res.result.hrUserInfo |
|
|
|
let userInfo = res.result.hrUserInfo |
|
|
|
let personalFileList = res.result.personalFileList |
|
|
|
let schoolId = userInfo.schoolId |
|
|
|
let platformList = res.result.platformList |
|
|
|
this.form = Object.assign(userInfo,res.result.userAccountList[0]) |
|
|
|
let userAccount = res.result.userAccountList |
|
|
|
this.form.schoolId = schoolId |
|
|
|
|
|
|
|
this.form.accountId = userInfo.id |
|
|
|
this.form.userName = userInfo.userName |
|
|
|
this.originAccount = this.form.account |
|
|
|
this.form.uniqueIdentification = userInfo.uniqueIdentification |
|
|
|
this.archivesList = res.result.personalFileList |
|
|
|
this.form.IDNumber = userInfo.iDNumber |
|
|
|
|
|
|
|
this.form.cityId = userInfo.cityId |
|
|
|
this.$nextTick(() => { |
|
|
|
this.form.provinceId = userInfo.provinceId |
|
|
|
if(this.form.provinceId){ |
|
|
|
this.form.dateBirth = userInfo.dateBirth |
|
|
|
this.getCityData(1) |
|
|
|
this.form.educationDegree = userInfo.educationDegree |
|
|
|
} |
|
|
|
this.form.sex = userInfo.sex |
|
|
|
if(this.archivesList.length != 0){ |
|
|
|
this.form.schoolId = userInfo.schoolId |
|
|
|
this.archivesList.forEach((e,k) =>{ |
|
|
|
this.form.phone = userInfo.phone |
|
|
|
this.$set(e, 'subjectList', this.subjectList); |
|
|
|
this.form.WeChatID = userAccount[0].wechatId |
|
|
|
this.$set(e, 'disciplineId', e.disciplineId ? e.disciplineId : ''); |
|
|
|
if(userInfo.provinceId){ |
|
|
|
this.$set(e, 'disciplineName', e.disciplineName ? e.disciplineName : ''); |
|
|
|
this.getCityData() |
|
|
|
this.$set(e, 'professionalClassId', e.professionalClassId ? e.professionalClassId : ''); |
|
|
|
} |
|
|
|
this.$set(e, 'professionalClassName', e.professionalClassName ? e.professionalClassName : ''); |
|
|
|
// 个人档案 |
|
|
|
this.$set(e, 'professionalId', e.professionalId ? e.professionalId : ''); |
|
|
|
if(personalFileList.length != 0){ |
|
|
|
this.$set(e, 'professionalName', e.professionalName ? e.professionalName : ''); |
|
|
|
personalFileList.map(e =>{ |
|
|
|
this.$set(e, 'schoolId', e.schoolId ? e.schoolId : ''); |
|
|
|
this.$set(e, 'subjectList', this.subjectList); |
|
|
|
this.$set(e, 'schoolName', e.schoolName ? e.schoolName : ''); |
|
|
|
if(e.disciplineId){ |
|
|
|
|
|
|
|
this.$get(this.api.queryCourseProfessionalClass, { disciplineId: e.disciplineId }).then(res => { |
|
|
|
if(e.disciplineId){ |
|
|
|
this.$set(e, 'ProfessionalClassList', res.list); |
|
|
|
this.$get(this.api.queryCourseProfessionalClass, { disciplineId: e.disciplineId }).then(res => { |
|
|
|
}).catch(res => {}); |
|
|
|
this.$set(e, 'ProfessionalClassList', res.list); |
|
|
|
} |
|
|
|
}).catch(res => {}); |
|
|
|
if(e.professionalClassId){ |
|
|
|
}else{ |
|
|
|
this.$get(this.api.queryCourseProfessional,{ professionalClassId: e.professionalClassId }).then(res => { |
|
|
|
this.$set(e, 'ProfessionalClassList', []); |
|
|
|
this.$set(e, 'ProfessionalList', res.list); |
|
|
|
} |
|
|
|
}).catch(res => {}); |
|
|
|
if(e.professionalClassId){ |
|
|
|
} |
|
|
|
this.$get(this.api.queryCourseProfessional,{ professionalClassId: e.professionalClassId }).then(res => { |
|
|
|
}) |
|
|
|
this.$set(e, 'ProfessionalList', res.list); |
|
|
|
} |
|
|
|
}).catch(res => {}); |
|
|
|
this.archivesList = personalFileList |
|
|
|
}else{ |
|
|
|
|
|
|
|
this.$set(e, 'ProfessionalList', []); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
this.concatArch(1) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
// 平台系统 |
|
|
|
// 平台系统 |
|
|
|
|
|
|
|
let platformList = res.result.platformList |
|
|
|
platformList.map(e =>{ |
|
|
|
platformList.map(e =>{ |
|
|
|
this.regionOption.map((r,index) =>{ |
|
|
|
this.regionOption.map((r,index) =>{ |
|
|
|
if(r.regionId == e.platformId){ |
|
|
|
if(r.regionId == e.platformId){ |
|
|
@ -645,9 +667,25 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
this.platformList = platformList |
|
|
|
this.platformList = platformList |
|
|
|
}).catch((res) => {}) |
|
|
|
}).catch((res) => {}) |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
concatArch() { |
|
|
|
methods: { |
|
|
|
this.archivesList = this.archivesList.concat({ |
|
|
|
|
|
|
|
isNew: true, |
|
|
|
|
|
|
|
personalCareerId: '', |
|
|
|
|
|
|
|
schoolId: '', |
|
|
|
|
|
|
|
schoolName: '', |
|
|
|
|
|
|
|
subjectList: this.subjectList, |
|
|
|
|
|
|
|
disciplineId: '', |
|
|
|
|
|
|
|
disciplineName: '', |
|
|
|
|
|
|
|
ProfessionalClassList: [], |
|
|
|
|
|
|
|
professionalClassId: '', |
|
|
|
|
|
|
|
professionalClassName: '', |
|
|
|
|
|
|
|
ProfessionalList: [], |
|
|
|
|
|
|
|
professionalId: '', |
|
|
|
|
|
|
|
professionalName: '', |
|
|
|
|
|
|
|
personalFileId: '' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
getCity(){ |
|
|
|
getCity(){ |
|
|
|
if(this.form.provinceId){ |
|
|
|
if(this.form.provinceId){ |
|
|
|
this.getCityData() |
|
|
|
this.getCityData() |
|
|
@ -658,19 +696,8 @@ export default { |
|
|
|
this.cityList = res.list |
|
|
|
this.cityList = res.list |
|
|
|
}).catch(res => {}); |
|
|
|
}).catch(res => {}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 获取列表学校名称 |
|
|
|
getSchoolName(id,index){ |
|
|
|
schoolitemChange(item){ |
|
|
|
this.archivesList[index].schoolName = this.schoolList[id-1].schoolName |
|
|
|
if(item){ |
|
|
|
|
|
|
|
this.archivesList.map(e =>{ |
|
|
|
|
|
|
|
if(e.schoolId == item){ |
|
|
|
|
|
|
|
let obj = {}; |
|
|
|
|
|
|
|
obj = this.schoolList.find(r =>{ |
|
|
|
|
|
|
|
return r.schoolId === item; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
e.schoolName = obj.schoolName |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
// 获取学校名称 |
|
|
|
// 获取学校名称 |
|
|
|
getSchoolData(){ |
|
|
|
getSchoolData(){ |
|
|
|