|
|
|
@ -13,7 +13,8 @@ |
|
|
|
|
<li> |
|
|
|
|
<label>所在国家:</label> |
|
|
|
|
<el-select size="small" v-model="form.countries"> |
|
|
|
|
<el-option v-for="item in countryList" :key="item.value" :label="item.label" :value="item.label"></el-option> |
|
|
|
|
<el-option v-for="item in countryList" :key="item.value" :label="item.label" |
|
|
|
|
:value="item.label"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
|
</div> |
|
|
|
@ -21,7 +22,8 @@ |
|
|
|
|
<li> |
|
|
|
|
<label>性别:</label> |
|
|
|
|
<el-select size="small" v-model="form.sex"> |
|
|
|
|
<el-option v-for="item in sexList" :key="item.value" :label="item.name" :value="item.value"></el-option> |
|
|
|
|
<el-option v-for="item in sexList" :key="item.value" :label="item.name" |
|
|
|
|
:value="item.value"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
|
<li class="selects"> |
|
|
|
@ -29,17 +31,21 @@ |
|
|
|
|
<div class="mul"> |
|
|
|
|
<div class="child"> |
|
|
|
|
<el-select size="small" v-model="form.countries" placeholder> |
|
|
|
|
<el-option v-for="item in countryList" :key="item.value" :label="item.label" :value="item.label"></el-option> |
|
|
|
|
<el-option v-for="item in countryList" :key="item.value" :label="item.label" |
|
|
|
|
:value="item.label"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<div class="child"> |
|
|
|
|
<el-select size="small" v-model="form.provinceId" placeholder @change="id => getCity(id,1)"> |
|
|
|
|
<el-option v-for="item in provinceList" :key="item.provinceId" :label="item.provinceName" :value="item.provinceId"></el-option> |
|
|
|
|
<el-select size="small" v-model="form.provinceId" placeholder @change="id => getCity(id, 1)"> |
|
|
|
|
<el-option v-for="item in provinceList" :key="item.provinceId" :label="item.provinceName" |
|
|
|
|
:value="item.provinceId"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
<div class="child"> |
|
|
|
|
<el-select size="small" v-model="form.cityId" placeholder :disabled="form.provinceId ? false : true"> |
|
|
|
|
<el-option v-for="item in cityList" :key="item.cityId" :label="item.cityName" :value="item.cityId"></el-option> |
|
|
|
|
<el-select size="small" v-model="form.cityId" placeholder |
|
|
|
|
:disabled="form.provinceId ? false : true"> |
|
|
|
|
<el-option v-for="item in cityList" :key="item.cityId" :label="item.cityName" |
|
|
|
|
:value="item.cityId"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
@ -48,7 +54,8 @@ |
|
|
|
|
<div class="line info"> |
|
|
|
|
<li> |
|
|
|
|
<label>出生年月:</label> |
|
|
|
|
<el-date-picker size="small" placeholder="请选择时间" v-model="form.dateBirth" :clearable="false" type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"></el-date-picker> |
|
|
|
|
<el-date-picker size="small" placeholder="请选择时间" v-model="form.dateBirth" :clearable="false" type="date" |
|
|
|
|
format="yyyy-MM-dd" value-format="yyyy-MM-dd"></el-date-picker> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<label>身份证:</label> |
|
|
|
@ -59,7 +66,8 @@ |
|
|
|
|
<li> |
|
|
|
|
<label>教育程度:</label> |
|
|
|
|
<el-select size="small" v-model="form.educationDegree" placeholder="请选择教育程度"> |
|
|
|
|
<el-option v-for="(item,index) in educationDegreeList" :key="index" :label="item.name" :value="item.value"></el-option> |
|
|
|
|
<el-option v-for="(item, index) in educationDegreeList" :key="index" :label="item.name" |
|
|
|
|
:value="item.value"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
|
</div> |
|
|
|
@ -70,47 +78,58 @@ |
|
|
|
|
<el-button type="text" icon="el-icon-plus" style="margin-left: 16px" @click="addArch">新增</el-button> |
|
|
|
|
</div> |
|
|
|
|
<div class="page-content"> |
|
|
|
|
<div class="archives" v-for="(archive,index) in archivesList" :key="index" v-show="index == 0 || showArch"> |
|
|
|
|
<div class="archives" v-for="(archive, index) in archivesList" :key="index" v-show="index == 0 || showArch"> |
|
|
|
|
<ul class="list"> |
|
|
|
|
<div class="line"> |
|
|
|
|
<li> |
|
|
|
|
<label>职业:</label> |
|
|
|
|
<el-select size="small" v-model="archive.personalCareerId" placeholder="选择职业"> |
|
|
|
|
<el-option v-for="item in occupationList" :key="item.value" :label="item.label" :value="item.value"></el-option> |
|
|
|
|
<el-option v-for="item in occupationList" :key="item.value" :label="item.label" |
|
|
|
|
:value="item.value"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<label>所在国家:</label> |
|
|
|
|
<el-select size="small" v-model="form.countries" placeholder> |
|
|
|
|
<el-option v-for="item in countryList" :key="item.value" :label="item.label" :value="item.label" ></el-option> |
|
|
|
|
<el-option v-for="item in countryList" :key="item.value" :label="item.label" |
|
|
|
|
:value="item.label"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
|
</div> |
|
|
|
|
<div class="line"> |
|
|
|
|
<li> |
|
|
|
|
<label>学校名称:</label> |
|
|
|
|
<el-select size="small" v-model="archive.schoolId" filterable placeholder="选择学校" @change="id => getSchoolName(id,index)"> |
|
|
|
|
<el-option v-for="item in schoolList" :key="item.value" :label="item.schoolName" :value="item.schoolId"></el-option> |
|
|
|
|
<el-select size="small" v-model="archive.schoolId" filterable placeholder="选择学校" |
|
|
|
|
@change="id => getSchoolName(id, index)"> |
|
|
|
|
<el-option v-for="item in schoolList" :key="item.value" :label="item.schoolName" |
|
|
|
|
:value="item.schoolId"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<label>专业学科:</label> |
|
|
|
|
<el-select size="small" v-model="archive.disciplineId" placeholder="选择专业学科" @change="id => getItemProfessionalClass(id,index)" @clear="() => clearItemClass(index)"> |
|
|
|
|
<el-option v-for="item in subjectList" :key="item.value" :label="item.disciplineName" :value="item.disciplineId"></el-option> |
|
|
|
|
<el-select size="small" v-model="archive.disciplineId" placeholder="选择专业学科" |
|
|
|
|
@change="id => getItemProfessionalClass(id, index)" @clear="() => clearItemClass(index)"> |
|
|
|
|
<el-option v-for="item in subjectList" :key="item.value" :label="item.disciplineName" |
|
|
|
|
:value="item.disciplineId"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
|
</div> |
|
|
|
|
<div class="line" style="margin-bottom: 0"> |
|
|
|
|
<li> |
|
|
|
|
<label>专业类:</label> |
|
|
|
|
<el-select size="small" v-model="archive.professionalClassId" placeholder="选择专业类" :disabled="archive.disciplineId ? false : true" @change="id => getItemProfessional(id,index)" @clear="() => clearItemProfess(index)"> |
|
|
|
|
<el-option v-for="item in archive.ProfessionalClassList" :key="item.professionalClassId" :label="item.professionalClassName" :value="item.professionalClassId"></el-option> |
|
|
|
|
<el-select size="small" v-model="archive.professionalClassId" placeholder="选择专业类" |
|
|
|
|
:disabled="archive.disciplineId ? false : true" @change="id => getItemProfessional(id, index)" |
|
|
|
|
@clear="() => clearItemProfess(index)"> |
|
|
|
|
<el-option v-for="item in archive.ProfessionalClassList" :key="item.professionalClassId" |
|
|
|
|
:label="item.professionalClassName" :value="item.professionalClassId"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<label>专业:</label> |
|
|
|
|
<el-select size="small" v-model="archive.professionalId" placeholder="选择专业" :disabled="archive.professionalClassId ? false : true" @change="getItemStuGrade"> |
|
|
|
|
<el-option v-for="item in archive.ProfessionalList" :key="item.professionalId" :label="item.professionalName" :value="item.professionalId"></el-option> |
|
|
|
|
<el-select size="small" v-model="archive.professionalId" placeholder="选择专业" |
|
|
|
|
:disabled="archive.professionalClassId ? false : true" @change="getItemStuGrade"> |
|
|
|
|
<el-option v-for="item in archive.ProfessionalList" :key="item.professionalId" |
|
|
|
|
:label="item.professionalName" :value="item.professionalId"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
|
</div> |
|
|
|
@ -118,7 +137,7 @@ |
|
|
|
|
<img class="del" src="@/assets/img/trash.png" alt="" v-if="index" @click="delArchive(index)"> |
|
|
|
|
</div> |
|
|
|
|
<div class="fold" v-if="archivesList.length > 1"> |
|
|
|
|
<span :class="{active: showArch}" @click="showArch = !showArch"> |
|
|
|
|
<span :class="{ active: showArch }" @click="showArch = !showArch"> |
|
|
|
|
展开更多 |
|
|
|
|
<i class="el-icon-arrow-down"></i> |
|
|
|
|
</span> |
|
|
|
@ -163,7 +182,8 @@ |
|
|
|
|
<el-button type="primary" size="small" @click="save">更新</el-button> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<el-dialog :title="form.email ? '更换邮箱' : '绑定邮箱'" :visible.sync="emailVisible" :close-on-click-modal="false" @close="closeEmail" width="30%"> |
|
|
|
|
<el-dialog :title="form.email ? '更换邮箱' : '绑定邮箱'" :visible.sync="emailVisible" :close-on-click-modal="false" |
|
|
|
|
@close="closeEmail" width="30%"> |
|
|
|
|
<el-form ref="form" :model="form" label-width="60px"> |
|
|
|
|
<el-form-item label="邮箱"> |
|
|
|
|
<el-input style="width: 394px;" placeholder="请输入邮箱" v-model="email"></el-input> |
|
|
|
@ -171,7 +191,8 @@ |
|
|
|
|
<el-form-item label="验证码"> |
|
|
|
|
<div class="flex"> |
|
|
|
|
<el-input v-model="emailCode" placeholder="请输入验证码" maxlength="6"></el-input> |
|
|
|
|
<el-button style="margin-left: 10px" type="text" @click="sendEmailCode" :disabled="emailDisabled">{{emailBtnText}}</el-button> |
|
|
|
|
<el-button style="margin-left: 10px" type="text" @click="sendEmailCode" |
|
|
|
|
:disabled="emailDisabled">{{ emailBtnText }}</el-button> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
@ -181,7 +202,8 @@ |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<el-dialog :title="form.phone ? '更换手机号' : '绑定手机号'" :visible.sync="phoneVisible" :close-on-click-modal="false" @close="closePhone" width="30%"> |
|
|
|
|
<el-dialog :title="form.phone ? '更换手机号' : '绑定手机号'" :visible.sync="phoneVisible" :close-on-click-modal="false" |
|
|
|
|
@close="closePhone" width="30%"> |
|
|
|
|
<el-form ref="form" :model="form" label-width="60px"> |
|
|
|
|
<el-form-item label="手机号"> |
|
|
|
|
<el-input style="width: 404px;" placeholder="请输入手机号" v-model="phone" maxlength="11"></el-input> |
|
|
|
@ -189,7 +211,8 @@ |
|
|
|
|
<el-form-item label="验证码"> |
|
|
|
|
<div class="flex"> |
|
|
|
|
<el-input v-model="phoneCode" placeholder="请输入验证码" maxlength="6"></el-input> |
|
|
|
|
<el-button style="margin-left: 10px" type="text" @click="sendPhoneCode" :disabled="phoneDisabled">{{phoneBtnText}}</el-button> |
|
|
|
|
<el-button style="margin-left: 10px" type="text" @click="sendPhoneCode" |
|
|
|
|
:disabled="phoneDisabled">{{ phoneBtnText }}</el-button> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
@ -199,16 +222,19 @@ |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<el-dialog title="更换密码" :visible.sync="passwordVisible" :close-on-click-modal="false" @close="closePassword" width="30%"> |
|
|
|
|
<el-dialog title="更换密码" :visible.sync="passwordVisible" :close-on-click-modal="false" @close="closePassword" |
|
|
|
|
width="30%"> |
|
|
|
|
<el-form ref="passwordForm" :model="form" label-width="82px"> |
|
|
|
|
<el-form-item label="原密码"> |
|
|
|
|
<el-input type="password" v-model="passwordForm.password" placeholder="请输入原密码"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="新密码"> |
|
|
|
|
<el-input type="password" v-model="passwordForm.newPassword" placeholder="请输入新密码" @keyup.enter.native="editPassword"></el-input> |
|
|
|
|
<el-input type="password" v-model="passwordForm.newPassword" placeholder="请输入新密码" |
|
|
|
|
@keyup.enter.native="editPassword"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="确认新密码"> |
|
|
|
|
<el-input type="password" v-model="passwordForm.reNewPassword" placeholder="请确认新密码" @keyup.enter.native="editPassword"></el-input> |
|
|
|
|
<el-input type="password" v-model="passwordForm.reNewPassword" placeholder="请确认新密码" |
|
|
|
|
@keyup.enter.native="editPassword"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
@ -232,23 +258,23 @@ |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import { mapState,mapActions } from 'vuex' |
|
|
|
|
import { mapState, mapActions } from 'vuex' |
|
|
|
|
import util from '@/libs/util' |
|
|
|
|
export default { |
|
|
|
|
data() { |
|
|
|
|
data () { |
|
|
|
|
return { |
|
|
|
|
loading: false, |
|
|
|
|
form: { |
|
|
|
|
name:'', |
|
|
|
|
workNumber:'', |
|
|
|
|
password:"", |
|
|
|
|
phone:'', |
|
|
|
|
email:'', |
|
|
|
|
provinceName:'', |
|
|
|
|
cityName:'', |
|
|
|
|
schoolName:'', |
|
|
|
|
professionalName:'', |
|
|
|
|
experimentName:'', |
|
|
|
|
name: '', |
|
|
|
|
workNumber: '', |
|
|
|
|
password: "", |
|
|
|
|
phone: '', |
|
|
|
|
email: '', |
|
|
|
|
provinceName: '', |
|
|
|
|
cityName: '', |
|
|
|
|
schoolName: '', |
|
|
|
|
professionalName: '', |
|
|
|
|
experimentName: '', |
|
|
|
|
sex: 1, |
|
|
|
|
dateBirth: '', |
|
|
|
|
educationDegree: '' |
|
|
|
@ -280,11 +306,11 @@ export default { |
|
|
|
|
occupationList: [{ |
|
|
|
|
value: 1, |
|
|
|
|
label: '学生' |
|
|
|
|
},{ |
|
|
|
|
}, { |
|
|
|
|
value: 2, |
|
|
|
|
label: '老师' |
|
|
|
|
}], |
|
|
|
|
provinceList:[], |
|
|
|
|
provinceList: [], |
|
|
|
|
cityList: [], |
|
|
|
|
educationDegreeList: [ |
|
|
|
|
{ |
|
|
|
@ -345,14 +371,14 @@ export default { |
|
|
|
|
watch: { |
|
|
|
|
// 监听信息是否有更改,有的话页面离开的时候要询问是否要保存 |
|
|
|
|
form: { |
|
|
|
|
handler(){ |
|
|
|
|
handler () { |
|
|
|
|
this.updateTime++ |
|
|
|
|
if(this.updateTime > 1) this.$emit('updateStatus',this.updateTime > 1) |
|
|
|
|
if (this.updateTime > 1) this.$emit('updateStatus', this.updateTime > 1) |
|
|
|
|
}, |
|
|
|
|
deep:true |
|
|
|
|
deep: true |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
mounted () { |
|
|
|
|
this.getData() |
|
|
|
|
this.getProvince() |
|
|
|
|
this.getSchoolData() |
|
|
|
@ -361,9 +387,9 @@ export default { |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
...mapActions('user', [ |
|
|
|
|
'setAvatar','setUserName' |
|
|
|
|
'setAvatar', 'setUserName' |
|
|
|
|
]), |
|
|
|
|
getData() { |
|
|
|
|
getData () { |
|
|
|
|
this.loading = true |
|
|
|
|
this.$get(this.api.queryUserInfoDetails).then(({ result }) => { |
|
|
|
|
const userInfo = result.hrUserInfo |
|
|
|
@ -376,11 +402,11 @@ export default { |
|
|
|
|
this.archivesList = result.personalFileList |
|
|
|
|
this.loading = false |
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
if(this.form.provinceId){ |
|
|
|
|
if (this.form.provinceId) { |
|
|
|
|
this.getCityData(1) |
|
|
|
|
} |
|
|
|
|
if(this.archivesList.length != 0){ |
|
|
|
|
this.archivesList.forEach((e,k) =>{ |
|
|
|
|
if (this.archivesList.length != 0) { |
|
|
|
|
this.archivesList.forEach((e, k) => { |
|
|
|
|
this.$set(e, 'subjectList', this.subjectList) |
|
|
|
|
this.$set(e, 'disciplineId', e.disciplineId ? e.disciplineId : '') |
|
|
|
|
this.$set(e, 'disciplineName', e.disciplineName ? e.disciplineName : '') |
|
|
|
@ -391,69 +417,69 @@ export default { |
|
|
|
|
this.$set(e, 'schoolId', e.schoolId ? e.schoolId : '') |
|
|
|
|
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.$get(this.api.queryCourseProfessionalClass, { disciplineId: e.disciplineId }).then(res => { |
|
|
|
|
this.$set(e, 'ProfessionalClassList', res.list) |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}else{ |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
} else { |
|
|
|
|
this.$set(e, 'ProfessionalClassList', []) |
|
|
|
|
} |
|
|
|
|
if(e.professionalClassId){ |
|
|
|
|
this.$get(this.api.queryCourseProfessional,{ professionalClassId: e.professionalClassId }).then(res => { |
|
|
|
|
if (e.professionalClassId) { |
|
|
|
|
this.$get(this.api.queryCourseProfessional, { professionalClassId: e.professionalClassId }).then(res => { |
|
|
|
|
this.$set(e, 'ProfessionalList', res.list) |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}else{ |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
} else { |
|
|
|
|
this.$set(e, 'ProfessionalList', []) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}else{ |
|
|
|
|
} else { |
|
|
|
|
this.concatArch() |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}).catch(err => {}) |
|
|
|
|
}).catch(err => { }) |
|
|
|
|
}, |
|
|
|
|
getProvince(){ |
|
|
|
|
getProvince () { |
|
|
|
|
this.$get(this.api.queryProvince).then(res => { |
|
|
|
|
this.provinceList = res.list |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
getCity(id,type){ |
|
|
|
|
getCity (id, type) { |
|
|
|
|
this.form.cityId = 1 |
|
|
|
|
this.getCityData() |
|
|
|
|
}, |
|
|
|
|
getCityData(index){ |
|
|
|
|
getCityData (index) { |
|
|
|
|
let provinceId = this.form.provinceId |
|
|
|
|
this.$get(this.api.queryCity,{provinceId}).then(res => { |
|
|
|
|
this.$get(this.api.queryCity, { provinceId }).then(res => { |
|
|
|
|
this.cityList = res.list |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
getCityName(id,index){ |
|
|
|
|
this.archivesList[index].cityName = this.archivesList[index].cityList[id-1].cityName |
|
|
|
|
getCityName (id, index) { |
|
|
|
|
this.archivesList[index].cityName = this.archivesList[index].cityList[id - 1].cityName |
|
|
|
|
}, |
|
|
|
|
getSchoolName(id,index){ |
|
|
|
|
getSchoolName (id, index) { |
|
|
|
|
const school = this.schoolList.find(e => e.schoolId == id) |
|
|
|
|
if (school) this.archivesList[index].schoolName = school.schoolName |
|
|
|
|
}, |
|
|
|
|
getSchoolData(){ |
|
|
|
|
this.$get(this.api.querySchoolData,{schoolName: '',provinceId: this.provinceId,cityId: this.cityId}).then(res => { |
|
|
|
|
getSchoolData () { |
|
|
|
|
this.$get(this.api.querySchoolData, { schoolName: '', provinceId: this.provinceId, cityId: this.cityId }).then(res => { |
|
|
|
|
this.schoolList = res.list |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
accountChange(){ |
|
|
|
|
accountChange () { |
|
|
|
|
this.$get(`${this.api.getAccount}?account=${this.form.account}`).then(res => { |
|
|
|
|
if(res.data.userInfo){ |
|
|
|
|
if (res.data.userInfo) { |
|
|
|
|
this.accountRepeat = true |
|
|
|
|
util.warningMsg('该账号已存在') |
|
|
|
|
}else{ |
|
|
|
|
} else { |
|
|
|
|
this.accountRepeat = false |
|
|
|
|
} |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
save() { |
|
|
|
|
save () { |
|
|
|
|
if (this.form.idNumber && !/(^[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]$)/.test(this.form.idNumber)) return util.warningMsg("请输入正确的身份证号码"); |
|
|
|
|
let form = this.form; |
|
|
|
|
let personalFileList = [] |
|
|
|
|
this.archivesList.forEach((n,k) => { |
|
|
|
|
this.archivesList.forEach((n, k) => { |
|
|
|
|
n.personalCareerId && personalFileList.push({ |
|
|
|
|
disciplineId: n.disciplineId, |
|
|
|
|
disciplineName: n.disciplineName, |
|
|
|
@ -492,14 +518,14 @@ export default { |
|
|
|
|
}, |
|
|
|
|
personalFileList, |
|
|
|
|
} |
|
|
|
|
this.$post(this.api.updatePersonCenter,data).then(res => { |
|
|
|
|
this.$post(this.api.updatePersonCenter, data).then(res => { |
|
|
|
|
this.setUserName(form.userName); |
|
|
|
|
this.$emit('updateStatus',false) |
|
|
|
|
this.$emit('updateStatus', false) |
|
|
|
|
this.$message.success('提交成功!') |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
concatArch() { |
|
|
|
|
concatArch () { |
|
|
|
|
this.archivesList = this.archivesList.concat({ |
|
|
|
|
countries: '中国', |
|
|
|
|
personalCareerId: '', |
|
|
|
@ -517,33 +543,33 @@ export default { |
|
|
|
|
personalFileId: '' |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
addArch() { |
|
|
|
|
addArch () { |
|
|
|
|
let isEmpty = false |
|
|
|
|
this.archivesList.forEach((n,k) => { |
|
|
|
|
if(!n.personalCareerId) isEmpty = true |
|
|
|
|
this.archivesList.forEach((n, k) => { |
|
|
|
|
if (!n.personalCareerId) isEmpty = true |
|
|
|
|
}) |
|
|
|
|
if(isEmpty) return util.warningMsg('请选择职业') |
|
|
|
|
if (isEmpty) return util.warningMsg('请选择职业') |
|
|
|
|
this.showArch = true |
|
|
|
|
this.concatArch() |
|
|
|
|
}, |
|
|
|
|
delArchive(i) { |
|
|
|
|
delArchive (i) { |
|
|
|
|
this.$confirm(`此操作不可逆,是否确认删除?`, '提示', { |
|
|
|
|
type: 'warning' |
|
|
|
|
}).then(() => { |
|
|
|
|
const id = this.archivesList[i].personalFileId |
|
|
|
|
this.archivesList.splice(i, 1) |
|
|
|
|
id && this.$post(`${this.api.deleteProfile}?personalFileIds=${id}`).then(res => {}).catch(err => {}) |
|
|
|
|
}).catch(() => {}) |
|
|
|
|
id && this.$post(`${this.api.deleteProfile}?personalFileIds=${id}`).then(res => { }).catch(err => { }) |
|
|
|
|
}).catch(() => { }) |
|
|
|
|
}, |
|
|
|
|
bindEmail() { |
|
|
|
|
bindEmail () { |
|
|
|
|
this.email = this.form.email |
|
|
|
|
this.emailVisible = true |
|
|
|
|
}, |
|
|
|
|
bindPhone() { |
|
|
|
|
bindPhone () { |
|
|
|
|
this.phoneVisible = true |
|
|
|
|
}, |
|
|
|
|
// 解绑手机号 |
|
|
|
|
unbind() { |
|
|
|
|
unbind () { |
|
|
|
|
this.$confirm('确定要解绑该手机号吗?', '提示', { |
|
|
|
|
type: 'warning', |
|
|
|
|
closeOnClickModal: false |
|
|
|
@ -551,35 +577,35 @@ export default { |
|
|
|
|
this.$get(this.api.unbindMobilePhone).then(res => { |
|
|
|
|
this.$message.success('解绑成功') |
|
|
|
|
this.getData() |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(() => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}).catch(() => { }) |
|
|
|
|
}, |
|
|
|
|
bindPassword() { |
|
|
|
|
bindPassword () { |
|
|
|
|
this.passwordVisible = true |
|
|
|
|
}, |
|
|
|
|
editPassword() { |
|
|
|
|
if(!this.passwordForm.password) return util.warningMsg('请输入原密码') |
|
|
|
|
if(!this.passwordForm.newPassword) return util.warningMsg('请输入新密码') |
|
|
|
|
if(!this.passwordForm.reNewPassword) return util.warningMsg('请确认新密码') |
|
|
|
|
if(this.passwordForm.newPassword.length < 6 || this.passwordForm.reNewPassword.length < 6) return util.warningMsg('请输入6位数以上的密码') |
|
|
|
|
if(this.passwordForm.newPassword !== this.passwordForm.reNewPassword) return util.warningMsg('输入的新密码不一致,请重新确认') |
|
|
|
|
if(this.passwordForm.password === this.passwordForm.newPassword) return util.warningMsg('原密码跟新密码不能一致') |
|
|
|
|
editPassword () { |
|
|
|
|
if (!this.passwordForm.password) return util.warningMsg('请输入原密码') |
|
|
|
|
if (!this.passwordForm.newPassword) return util.warningMsg('请输入新密码') |
|
|
|
|
if (!this.passwordForm.reNewPassword) return util.warningMsg('请确认新密码') |
|
|
|
|
if (this.passwordForm.newPassword.length < 6 || this.passwordForm.reNewPassword.length < 6) return util.warningMsg('请输入6位数以上的密码') |
|
|
|
|
if (this.passwordForm.newPassword !== this.passwordForm.reNewPassword) return util.warningMsg('输入的新密码不一致,请重新确认') |
|
|
|
|
if (this.passwordForm.password === this.passwordForm.newPassword) return util.warningMsg('原密码跟新密码不能一致') |
|
|
|
|
|
|
|
|
|
let data = this.passwordForm |
|
|
|
|
data.accountId = this.form.id |
|
|
|
|
this.$post(this.api.examinePassword,data).then(res => { |
|
|
|
|
this.$post(this.api.examinePassword, data).then(res => { |
|
|
|
|
util.successMsg('更换成功') |
|
|
|
|
this.passwordVisible = false |
|
|
|
|
}).catch(err => {}) |
|
|
|
|
}).catch(err => { }) |
|
|
|
|
}, |
|
|
|
|
closePassword() { |
|
|
|
|
closePassword () { |
|
|
|
|
this.passwordForm = { |
|
|
|
|
password: '', |
|
|
|
|
newPassword: '', |
|
|
|
|
reNewPassword: '' |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
foldArch() { |
|
|
|
|
foldArch () { |
|
|
|
|
this.showArch = !this.showArch |
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
document.body.scrollTop = document.querySelector('.content-box').scrollHeight |
|
|
|
@ -587,116 +613,116 @@ export default { |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 获取学科类别 |
|
|
|
|
getSubject(){ |
|
|
|
|
getSubject () { |
|
|
|
|
this.$get(this.api.queryCourseDiscipline).then(res => { |
|
|
|
|
this.subjectList = res.list |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
// 清除学科类别 |
|
|
|
|
clearClass(){ |
|
|
|
|
clearClass () { |
|
|
|
|
this.archivesForm.professionalClassId = '', |
|
|
|
|
this.archivesForm.professionalId = '' |
|
|
|
|
}, |
|
|
|
|
// 获取专业类 |
|
|
|
|
getProfessionalClass(val){ |
|
|
|
|
getProfessionalClass (val) { |
|
|
|
|
this.clearClass() |
|
|
|
|
if(val){ |
|
|
|
|
if (val) { |
|
|
|
|
let obj = {} |
|
|
|
|
obj = this.subjectList.find((item)=>{ |
|
|
|
|
obj = this.subjectList.find((item) => { |
|
|
|
|
return item.disciplineId === val |
|
|
|
|
}); |
|
|
|
|
this.archivesForm.disciplineName = obj.disciplineName |
|
|
|
|
this.getProfessionalClassData(val) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
clearItemClass(index){ |
|
|
|
|
clearItemClass (index) { |
|
|
|
|
this.archivesList[index].professionalClassId = '' |
|
|
|
|
this.archivesList[index].professionalClassName = '' |
|
|
|
|
this.archivesList[index].professionalId = '' |
|
|
|
|
this.archivesList[index].professionalName = '' |
|
|
|
|
}, |
|
|
|
|
getItemProfessionalClass(item,index){ |
|
|
|
|
getItemProfessionalClass (item, index) { |
|
|
|
|
this.clearItemClass(index) |
|
|
|
|
if(item){ |
|
|
|
|
if (item) { |
|
|
|
|
let obj = {} |
|
|
|
|
obj = this.subjectList.find(r =>{ |
|
|
|
|
obj = this.subjectList.find(r => { |
|
|
|
|
return r.disciplineId === item |
|
|
|
|
}); |
|
|
|
|
this.$get(this.api.queryCourseProfessionalClass, { disciplineId: item }).then(res => { |
|
|
|
|
this.archivesList.map(e =>{ |
|
|
|
|
if(e.disciplineId == item){ |
|
|
|
|
this.archivesList.map(e => { |
|
|
|
|
if (e.disciplineId == item) { |
|
|
|
|
e.ProfessionalClassList = res.list |
|
|
|
|
e.disciplineName = obj.disciplineName |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
getProfessionalClassData(value){ |
|
|
|
|
getProfessionalClassData (value) { |
|
|
|
|
this.$get(this.api.queryCourseProfessionalClass, { |
|
|
|
|
disciplineId: value |
|
|
|
|
}).then(res => { |
|
|
|
|
this.ProfessionalClassList = res.list |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
// 清除专业类 |
|
|
|
|
clearProfess(){ |
|
|
|
|
clearProfess () { |
|
|
|
|
this.archivesForm.professionalId = '' |
|
|
|
|
}, |
|
|
|
|
// 获取专业 |
|
|
|
|
getProfessional(val){ |
|
|
|
|
getProfessional (val) { |
|
|
|
|
this.clearProfess() |
|
|
|
|
if(val){ |
|
|
|
|
if (val) { |
|
|
|
|
let obj = {} |
|
|
|
|
obj = this.ProfessionalClassList.find((item)=>{ |
|
|
|
|
obj = this.ProfessionalClassList.find((item) => { |
|
|
|
|
return item.professionalClassId === val |
|
|
|
|
}) |
|
|
|
|
this.archivesForm.professionalClassName = obj.professionalClassName |
|
|
|
|
this.getProfessionalData(val) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
clearItemProfess(index){ |
|
|
|
|
clearItemProfess (index) { |
|
|
|
|
this.archivesList[index].professionalId = '' |
|
|
|
|
this.archivesList[index].professionalName = '' |
|
|
|
|
}, |
|
|
|
|
getItemProfessional(item,index){ |
|
|
|
|
getItemProfessional (item, index) { |
|
|
|
|
this.clearItemProfess(index) |
|
|
|
|
if(item){ |
|
|
|
|
this.$get(this.api.queryCourseProfessional,{ professionalClassId: item }).then(res => { |
|
|
|
|
this.archivesList.map(e =>{ |
|
|
|
|
if(e.professionalClassId == item){ |
|
|
|
|
if (item) { |
|
|
|
|
this.$get(this.api.queryCourseProfessional, { professionalClassId: item }).then(res => { |
|
|
|
|
this.archivesList.map(e => { |
|
|
|
|
if (e.professionalClassId == item) { |
|
|
|
|
let obj = {} |
|
|
|
|
obj = e.ProfessionalClassList.find(r =>{ |
|
|
|
|
obj = e.ProfessionalClassList.find(r => { |
|
|
|
|
return r.professionalClassId === item |
|
|
|
|
}) |
|
|
|
|
e.ProfessionalList = res.list |
|
|
|
|
e.professionalClassName = obj.professionalClassName |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
getProfessionalData(value){ |
|
|
|
|
this.$get(this.api.queryCourseProfessional,{professionalClassId: value}).then(res => { |
|
|
|
|
getProfessionalData (value) { |
|
|
|
|
this.$get(this.api.queryCourseProfessional, { professionalClassId: value }).then(res => { |
|
|
|
|
this.ProfessionalList = res.list |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
// 获取专业名称 |
|
|
|
|
getStuGrade(val){ |
|
|
|
|
if(val){ |
|
|
|
|
getStuGrade (val) { |
|
|
|
|
if (val) { |
|
|
|
|
let obj = {} |
|
|
|
|
obj = this.ProfessionalList.find(r =>{ |
|
|
|
|
obj = this.ProfessionalList.find(r => { |
|
|
|
|
return r.professionalId === val; |
|
|
|
|
}) |
|
|
|
|
this.archivesForm.professionalName = obj.professionalName |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
getItemStuGrade(item){ |
|
|
|
|
if(item){ |
|
|
|
|
this.archivesList.map(e =>{ |
|
|
|
|
if(e.professionalId == item){ |
|
|
|
|
getItemStuGrade (item) { |
|
|
|
|
if (item) { |
|
|
|
|
this.archivesList.map(e => { |
|
|
|
|
if (e.professionalId == item) { |
|
|
|
|
let obj = {} |
|
|
|
|
obj = e.ProfessionalList.find(r =>{ |
|
|
|
|
obj = e.ProfessionalList.find(r => { |
|
|
|
|
return r.professionalId === item; |
|
|
|
|
}) |
|
|
|
|
e.professionalName = obj.professionalName |
|
|
|
@ -704,66 +730,66 @@ export default { |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
emailCountdown(){ |
|
|
|
|
emailCountdown () { |
|
|
|
|
let count = 60 |
|
|
|
|
if(!this.emailTimer){ |
|
|
|
|
if (!this.emailTimer) { |
|
|
|
|
this.emailDisabled = true |
|
|
|
|
this.emailTimer = setInterval(() => { |
|
|
|
|
console.log('倒计时中') |
|
|
|
|
if(count > 0){ |
|
|
|
|
if (count > 0) { |
|
|
|
|
count-- |
|
|
|
|
this.emailBtnText = `${count}秒后重试` |
|
|
|
|
}else{ |
|
|
|
|
} else { |
|
|
|
|
this.emailDisabled = false |
|
|
|
|
clearInterval(this.emailTimer) |
|
|
|
|
this.emailTimer = null |
|
|
|
|
this.emailBtnText = `发送验证码` |
|
|
|
|
} |
|
|
|
|
},1000) |
|
|
|
|
}, 1000) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
phoneCountdown(){ |
|
|
|
|
phoneCountdown () { |
|
|
|
|
let count = 60 |
|
|
|
|
if(!this.phoneTimer){ |
|
|
|
|
if (!this.phoneTimer) { |
|
|
|
|
this.phoneDisabled = true |
|
|
|
|
this.phoneTimer = setInterval(() => { |
|
|
|
|
console.log('倒计时中') |
|
|
|
|
if(count > 0){ |
|
|
|
|
if (count > 0) { |
|
|
|
|
count-- |
|
|
|
|
this.phoneBtnText = `${count}秒后重试` |
|
|
|
|
}else{ |
|
|
|
|
} else { |
|
|
|
|
this.phoneDisabled = false |
|
|
|
|
clearInterval(this.phoneTimer) |
|
|
|
|
this.phoneTimer = null |
|
|
|
|
this.phoneBtnText = `发送验证码` |
|
|
|
|
} |
|
|
|
|
},1000) |
|
|
|
|
}, 1000) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
closeEmail(){ |
|
|
|
|
closeEmail () { |
|
|
|
|
this.emailCode = '' |
|
|
|
|
}, |
|
|
|
|
sendEmailCode(){ |
|
|
|
|
if(!this.email) return util.warningMsg('请输入邮箱') |
|
|
|
|
if(!/^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/.test(this.email)) return util.warningMsg('请输入正确的邮箱') |
|
|
|
|
sendEmailCode () { |
|
|
|
|
if (!this.email) return util.warningMsg('请输入邮箱') |
|
|
|
|
if (!/^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/.test(this.email)) return util.warningMsg('请输入正确的邮箱') |
|
|
|
|
let data = { |
|
|
|
|
userId: this.form.userId, |
|
|
|
|
email: this.email, |
|
|
|
|
types: 1 |
|
|
|
|
} |
|
|
|
|
this.$post(this.api.sendPhoneOrEmailCode,data).then(res => { |
|
|
|
|
if(res.message.opener){ |
|
|
|
|
this.$post(this.api.sendPhoneOrEmailCode, data).then(res => { |
|
|
|
|
if (res.message.opener) { |
|
|
|
|
this.emailCountdown() |
|
|
|
|
this.emailOpener = res.message.opener |
|
|
|
|
}else{ |
|
|
|
|
} else { |
|
|
|
|
util.errorMsg(res.message) |
|
|
|
|
} |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
emailSubmit(){ |
|
|
|
|
if(!this.email) return util.warningMsg('请输入邮箱') |
|
|
|
|
if(!/^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/.test(this.email)) return util.warningMsg('请输入正确的邮箱') |
|
|
|
|
if(!this.emailCode) return util.warningMsg('请输入验证码') |
|
|
|
|
emailSubmit () { |
|
|
|
|
if (!this.email) return util.warningMsg('请输入邮箱') |
|
|
|
|
if (!/^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/.test(this.email)) return util.warningMsg('请输入正确的邮箱') |
|
|
|
|
if (!this.emailCode) return util.warningMsg('请输入验证码') |
|
|
|
|
let data = { |
|
|
|
|
userId: this.form.userId, |
|
|
|
|
email: this.email, |
|
|
|
@ -771,37 +797,37 @@ export default { |
|
|
|
|
code: this.emailCode, |
|
|
|
|
opener: this.emailOpener |
|
|
|
|
} |
|
|
|
|
this.$post(this.api.bindPhoneOrEmail,data).then(res => { |
|
|
|
|
this.$post(this.api.bindPhoneOrEmail, data).then(res => { |
|
|
|
|
util.successMsg('绑定成功') |
|
|
|
|
this.form.email = this.email |
|
|
|
|
this.emailVisible = false |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
closePhone(){ |
|
|
|
|
closePhone () { |
|
|
|
|
this.phoneCode = '' |
|
|
|
|
}, |
|
|
|
|
sendPhoneCode(){ |
|
|
|
|
if(!this.phone) return util.warningMsg('请输入手机号') |
|
|
|
|
if(!/^1[3456789]\d{9}$/.test(this.phone)) return util.warningMsg('请输入正确的手机号') |
|
|
|
|
sendPhoneCode () { |
|
|
|
|
if (!this.phone) return util.warningMsg('请输入手机号') |
|
|
|
|
if (!/^1[3456789]\d{9}$/.test(this.phone)) return util.warningMsg('请输入正确的手机号') |
|
|
|
|
let data = { |
|
|
|
|
userId: this.form.userId, |
|
|
|
|
phone: this.phone, |
|
|
|
|
types: 2 |
|
|
|
|
} |
|
|
|
|
this.$post(this.api.sendPhoneOrEmailCode,data).then(res => { |
|
|
|
|
if(res.message.opener){ |
|
|
|
|
this.$post(this.api.sendPhoneOrEmailCode, data).then(res => { |
|
|
|
|
if (res.message.opener) { |
|
|
|
|
this.phoneCountdown() |
|
|
|
|
this.phoneOpener = res.message.opener |
|
|
|
|
}else{ |
|
|
|
|
} else { |
|
|
|
|
util.errorMsg(res.message) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
phoneSubmit(){ |
|
|
|
|
if(!this.phone) return util.warningMsg('请输入手机号') |
|
|
|
|
if(!/^1[3456789]\d{9}$/.test(this.phone)) return util.warningMsg('请输入正确的手机号') |
|
|
|
|
if(!this.phoneCode) return util.warningMsg('请输入验证码') |
|
|
|
|
phoneSubmit () { |
|
|
|
|
if (!this.phone) return util.warningMsg('请输入手机号') |
|
|
|
|
if (!/^1[3456789]\d{9}$/.test(this.phone)) return util.warningMsg('请输入正确的手机号') |
|
|
|
|
if (!this.phoneCode) return util.warningMsg('请输入验证码') |
|
|
|
|
let data = { |
|
|
|
|
userId: this.form.userId, |
|
|
|
|
phone: this.phone, |
|
|
|
@ -809,17 +835,17 @@ export default { |
|
|
|
|
code: this.phoneCode, |
|
|
|
|
opener: this.phoneOpener |
|
|
|
|
} |
|
|
|
|
this.$post(this.api.bindPhoneOrEmail,data).then(res => { |
|
|
|
|
this.$post(this.api.bindPhoneOrEmail, data).then(res => { |
|
|
|
|
util.successMsg('绑定成功') |
|
|
|
|
this.form.phone = this.phone |
|
|
|
|
this.phoneVisible = false |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}).catch(res => { }) |
|
|
|
|
}, |
|
|
|
|
openAccount() { |
|
|
|
|
openAccount () { |
|
|
|
|
this.account = this.form.account |
|
|
|
|
this.accountVisible = true |
|
|
|
|
}, |
|
|
|
|
confirmAccount() { |
|
|
|
|
confirmAccount () { |
|
|
|
|
if (this.account) { |
|
|
|
|
this.form.account = this.account |
|
|
|
|
this.accountVisible = false |
|
|
|
@ -835,127 +861,156 @@ export default { |
|
|
|
|
.flex { |
|
|
|
|
display: flex; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.m-r-10 { |
|
|
|
|
margin-right: 10px; |
|
|
|
|
} |
|
|
|
|
.l-title{ |
|
|
|
|
|
|
|
|
|
.l-title { |
|
|
|
|
display: flex; |
|
|
|
|
align-items: center; |
|
|
|
|
margin-bottom: 12px; |
|
|
|
|
font-size: 14px; |
|
|
|
|
color: #333; |
|
|
|
|
img{ |
|
|
|
|
|
|
|
|
|
img { |
|
|
|
|
margin-right: 5px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.scroll{ |
|
|
|
|
|
|
|
|
|
.scroll { |
|
|
|
|
max-height: calc(100vh - 218px); |
|
|
|
|
overflow: auto; |
|
|
|
|
} |
|
|
|
|
.page{ |
|
|
|
|
|
|
|
|
|
.page { |
|
|
|
|
margin-bottom: 12px; |
|
|
|
|
/deep/.el-input__inner{ |
|
|
|
|
|
|
|
|
|
/deep/.el-input__inner { |
|
|
|
|
border-color: #CACFDB; |
|
|
|
|
} |
|
|
|
|
.list{ |
|
|
|
|
.line{ |
|
|
|
|
|
|
|
|
|
.list { |
|
|
|
|
.line { |
|
|
|
|
display: flex; |
|
|
|
|
margin-bottom: 24px; |
|
|
|
|
&.info li:not(.selects){ |
|
|
|
|
.el-input{ |
|
|
|
|
|
|
|
|
|
&.info li:not(.selects) { |
|
|
|
|
.el-input { |
|
|
|
|
flex: 1; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
&.imp li{ |
|
|
|
|
|
|
|
|
|
&.imp li { |
|
|
|
|
&:nth-child(odd) { |
|
|
|
|
width: 360px; |
|
|
|
|
margin-right: 64px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.el-input, .el-select{ |
|
|
|
|
|
|
|
|
|
.el-input, |
|
|
|
|
.el-select { |
|
|
|
|
width: 220px; |
|
|
|
|
.el-input__inner{ |
|
|
|
|
|
|
|
|
|
.el-input__inner { |
|
|
|
|
border-color: #CACFDB; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
li{ |
|
|
|
|
|
|
|
|
|
li { |
|
|
|
|
display: inline-flex; |
|
|
|
|
align-items: center; |
|
|
|
|
&>label{ |
|
|
|
|
|
|
|
|
|
&>label { |
|
|
|
|
width: 100px; |
|
|
|
|
margin-right: 5px; |
|
|
|
|
text-align: right; |
|
|
|
|
font-size: 14px; |
|
|
|
|
color: #4c4c4c; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.el-select { |
|
|
|
|
flex: 1; |
|
|
|
|
} |
|
|
|
|
.el-select .el-input.is-disabled .el-input__inner{ |
|
|
|
|
|
|
|
|
|
.el-select .el-input.is-disabled .el-input__inner { |
|
|
|
|
border-color: #ddd; |
|
|
|
|
} |
|
|
|
|
.val{ |
|
|
|
|
|
|
|
|
|
.val { |
|
|
|
|
margin-right: 15px; |
|
|
|
|
color: #606266; |
|
|
|
|
font-size: 14px; |
|
|
|
|
} |
|
|
|
|
.mul{ |
|
|
|
|
|
|
|
|
|
.mul { |
|
|
|
|
display: inline-flex; |
|
|
|
|
.child{ |
|
|
|
|
|
|
|
|
|
.child { |
|
|
|
|
display: inline-flex; |
|
|
|
|
width: 132px; |
|
|
|
|
margin-right: 10px; |
|
|
|
|
&>span{ |
|
|
|
|
|
|
|
|
|
&>span { |
|
|
|
|
margin-bottom: 5px; |
|
|
|
|
font-size: 14px; |
|
|
|
|
color: #575757; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&:nth-child(odd) { |
|
|
|
|
width: 325px; |
|
|
|
|
margin-right: 100px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.archives{ |
|
|
|
|
|
|
|
|
|
.archives { |
|
|
|
|
position: relative; |
|
|
|
|
width: 862px; |
|
|
|
|
padding: 16px 0; |
|
|
|
|
margin-bottom: 6px; |
|
|
|
|
border-radius: 4px; |
|
|
|
|
background-color: #FAFAFA; |
|
|
|
|
.del{ |
|
|
|
|
|
|
|
|
|
.del { |
|
|
|
|
position: absolute; |
|
|
|
|
top: 80px; |
|
|
|
|
right: 19px; |
|
|
|
|
cursor: pointer; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.fold{ |
|
|
|
|
|
|
|
|
|
.fold { |
|
|
|
|
margin-top: 20px; |
|
|
|
|
text-align: center; |
|
|
|
|
font-size: 12px; |
|
|
|
|
color: #006EFF; |
|
|
|
|
span{ |
|
|
|
|
|
|
|
|
|
span { |
|
|
|
|
cursor: pointer; |
|
|
|
|
i{ |
|
|
|
|
|
|
|
|
|
i { |
|
|
|
|
transition: .5s; |
|
|
|
|
} |
|
|
|
|
&.active i{ |
|
|
|
|
|
|
|
|
|
&.active i { |
|
|
|
|
transform: rotate(180deg); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.btns{ |
|
|
|
|
|
|
|
|
|
.btns { |
|
|
|
|
width: 100%; |
|
|
|
|
padding: 12px 0; |
|
|
|
|
text-align: center; |
|
|
|
|
background-color: #fff; |
|
|
|
|
box-shadow: 0px 0px 10px 0px rgba(188, 201, 218, 0.4); |
|
|
|
|
.el-button{ |
|
|
|
|
|
|
|
|
|
.el-button { |
|
|
|
|
width: 80px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|