|
|
|
@ -1,28 +1,19 @@ |
|
|
|
|
<template> |
|
|
|
|
<div> |
|
|
|
|
<div class="scroll" |
|
|
|
|
v-loading="loading"> |
|
|
|
|
<div class="scroll" v-loading="loading"> |
|
|
|
|
<div class="page"> |
|
|
|
|
<h6 class="l-title"><img src="@/assets/img/info1.png" |
|
|
|
|
alt=""> 用户信息</h6> |
|
|
|
|
<h6 class="l-title"><img src="@/assets/img/info1.png" alt=""> 用户信息</h6> |
|
|
|
|
<div class="page-content"> |
|
|
|
|
<ul class="list"> |
|
|
|
|
<div class="line info"> |
|
|
|
|
<li> |
|
|
|
|
<label>姓名:</label> |
|
|
|
|
<el-input id="username" |
|
|
|
|
class="username" |
|
|
|
|
placeholder="请输入姓名" |
|
|
|
|
type="text" |
|
|
|
|
v-model="form.userName" /> |
|
|
|
|
<el-input id="username" class="username" placeholder="请输入姓名" type="text" v-model="form.userName" /> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<label>所在国家:</label> |
|
|
|
|
<el-select v-model="form.countries" |
|
|
|
|
placeholder> |
|
|
|
|
<el-option v-for="item in countryList" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.label" |
|
|
|
|
<el-select v-model="form.countries" placeholder> |
|
|
|
|
<el-option v-for="item in countryList" :key="item.value" :label="item.label" |
|
|
|
|
:value="item.value"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</li> |
|
|
|
@ -30,11 +21,8 @@ |
|
|
|
|
<div class="line info"> |
|
|
|
|
<li> |
|
|
|
|
<label>性别:</label> |
|
|
|
|
<el-select size="small" |
|
|
|
|
v-model="form.sex"> |
|
|
|
|
<el-option v-for="item in sexList" |
|
|
|
|
:key="item.value" |
|
|
|
|
:label="item.name" |
|
|
|
|
<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-select> |
|
|
|
|
</li> |
|
|
|
@ -42,34 +30,21 @@ |
|
|
|
|
<label>所在地:</label> |
|
|
|
|
<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" |
|
|
|
|
<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-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" |
|
|
|
|
<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 |
|
|
|
|
<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" |
|
|
|
|
<el-option v-for="item in cityList" :key="item.cityId" :label="item.cityName" |
|
|
|
|
:value="item.cityId"></el-option> |
|
|
|
|
</el-select> |
|
|
|
|
</div> |
|
|
|
@ -79,79 +54,55 @@ |
|
|
|
|
<div class="line info"> |
|
|
|
|
<li> |
|
|
|
|
<label>出生年月:</label> |
|
|
|
|
<el-date-picker v-model="form.dateBirth" |
|
|
|
|
:clearable="false" |
|
|
|
|
class="block-right" |
|
|
|
|
type="date"> |
|
|
|
|
<el-date-picker v-model="form.dateBirth" :clearable="false" class="block-right" type="date"> |
|
|
|
|
</el-date-picker> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<label>身份证:</label> |
|
|
|
|
<el-input onkeyup="value=value.replace(/[^\w\.\/]/ig,'')" |
|
|
|
|
id="idnumber" |
|
|
|
|
class="idnumber" |
|
|
|
|
placeholder="请输入身份证" |
|
|
|
|
type="text" |
|
|
|
|
v-model="form.idNumber" /> |
|
|
|
|
<el-input onkeyup="value=value.replace(/[^\w\.\/]/ig,'')" id="idnumber" class="idnumber" |
|
|
|
|
placeholder="请输入身份证" type="text" v-model="form.idNumber" /> |
|
|
|
|
</li> |
|
|
|
|
</div> |
|
|
|
|
<div class="line info"> |
|
|
|
|
<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" |
|
|
|
|
<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-select> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<label>当前所在学校:</label> |
|
|
|
|
<el-input size="small" |
|
|
|
|
readonly |
|
|
|
|
placeholder="请输入学校" |
|
|
|
|
v-model="form.schoolName" |
|
|
|
|
clearable></el-input> |
|
|
|
|
<el-input size="small" readonly placeholder="请输入学校" v-model="form.schoolName" clearable></el-input> |
|
|
|
|
</li> |
|
|
|
|
</div> |
|
|
|
|
<div class="line info"> |
|
|
|
|
<li style="width: 334px;margin-right: 90px"> |
|
|
|
|
<label>学号:</label> |
|
|
|
|
<el-input class="m-r-10" size="small" v-model="form.workNumber" clearable></el-input> |
|
|
|
|
</li> |
|
|
|
|
</div> |
|
|
|
|
</ul> |
|
|
|
|
</div> |
|
|
|
|
<div class="arc-action flex j-between a-center"> |
|
|
|
|
<h6 class="l-title"><img src="@/assets/img/info2.png" |
|
|
|
|
alt=""> 个人档案</h6> |
|
|
|
|
<el-button type="text" |
|
|
|
|
icon="el-icon-plus" |
|
|
|
|
style="margin-left: 16px" |
|
|
|
|
@click="addArch">新增</el-button> |
|
|
|
|
<h6 class="l-title"><img src="@/assets/img/info2.png" alt=""> 个人档案</h6> |
|
|
|
|
<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" |
|
|
|
|
<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-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" |
|
|
|
|
<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-select> |
|
|
|
|
</li> |
|
|
|
@ -159,72 +110,45 @@ |
|
|
|
|
<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" |
|
|
|
|
<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" |
|
|
|
|
<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"> |
|
|
|
|
<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)" |
|
|
|
|
<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-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> |
|
|
|
|
</ul> |
|
|
|
|
<img class="del" |
|
|
|
|
src="@/assets/img/trash.png" |
|
|
|
|
alt="" |
|
|
|
|
v-if="index" |
|
|
|
|
@click="delArchive(index)"> |
|
|
|
|
<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"> |
|
|
|
|
<div class="fold" v-if="archivesList.length > 1"> |
|
|
|
|
<span :class="{ active: showArch }" @click="showArch = !showArch"> |
|
|
|
|
展开更多 |
|
|
|
|
<i class="el-icon-arrow-down"></i> |
|
|
|
|
</span> |
|
|
|
@ -232,60 +156,32 @@ |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<div class="page"> |
|
|
|
|
<h6 class="l-title"><img src="@/assets/img/info3.png" |
|
|
|
|
alt=""> 账号信息</h6> |
|
|
|
|
<h6 class="l-title"><img src="@/assets/img/info3.png" alt=""> 账号信息</h6> |
|
|
|
|
<div class="page-content"> |
|
|
|
|
<ul class="list"> |
|
|
|
|
<div class="line info imp"> |
|
|
|
|
<li style="width: 333px;margin-right: 90px"> |
|
|
|
|
<label>学号:</label> |
|
|
|
|
<el-input class="m-r-10" |
|
|
|
|
size="small" |
|
|
|
|
v-model="form.workNumber" |
|
|
|
|
clearable |
|
|
|
|
disabled></el-input> |
|
|
|
|
<label>账号:</label> |
|
|
|
|
<el-input class="m-r-10" size="small" v-model="form.account" clearable disabled></el-input> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<label>手机号:</label> |
|
|
|
|
<el-input class="m-r-10" |
|
|
|
|
type="text" |
|
|
|
|
size="small" |
|
|
|
|
v-model="form.phone" |
|
|
|
|
disabled></el-input> |
|
|
|
|
<el-button type="text" |
|
|
|
|
size="small" |
|
|
|
|
@click="bindPhone">{{ form.phone ? '更换' : '绑定' }}</el-button> |
|
|
|
|
<el-button v-if="form.phone" |
|
|
|
|
type="text" |
|
|
|
|
size="small" |
|
|
|
|
@click="unbind">解绑</el-button> |
|
|
|
|
<el-input class="m-r-10" type="text" size="small" v-model="form.phone" disabled></el-input> |
|
|
|
|
<el-button type="text" size="small" @click="bindPhone">{{ form.phone ? '更换' : '绑定' }}</el-button> |
|
|
|
|
<el-button v-if="form.phone" type="text" size="small" @click="unbind">解绑</el-button> |
|
|
|
|
</li> |
|
|
|
|
</div> |
|
|
|
|
<div class="line info imp"> |
|
|
|
|
<li> |
|
|
|
|
<label>邮箱:</label> |
|
|
|
|
<el-input class="m-r-10" |
|
|
|
|
size="small" |
|
|
|
|
v-model="form.email" |
|
|
|
|
disabled></el-input> |
|
|
|
|
<el-button v-if="form.email" |
|
|
|
|
type="text" |
|
|
|
|
size="small" |
|
|
|
|
@click="bindEmail">更换</el-button> |
|
|
|
|
<el-button v-else |
|
|
|
|
type="text" |
|
|
|
|
size="small" |
|
|
|
|
@click="bindEmail">添加</el-button> |
|
|
|
|
<el-input class="m-r-10" size="small" v-model="form.email" disabled></el-input> |
|
|
|
|
<el-button v-if="form.email" type="text" size="small" @click="bindEmail">更换</el-button> |
|
|
|
|
<el-button v-else type="text" size="small" @click="bindEmail">添加</el-button> |
|
|
|
|
</li> |
|
|
|
|
<li> |
|
|
|
|
<label>密码:</label> |
|
|
|
|
<el-input class="m-r-10" |
|
|
|
|
size="small" |
|
|
|
|
value="******" |
|
|
|
|
disabled></el-input> |
|
|
|
|
<el-button type="text" |
|
|
|
|
size="small" |
|
|
|
|
@click="bindPassword">更换</el-button> |
|
|
|
|
<el-input class="m-r-10" size="small" value="******" disabled></el-input> |
|
|
|
|
<el-button type="text" size="small" @click="bindPassword">更换</el-button> |
|
|
|
|
</li> |
|
|
|
|
</div> |
|
|
|
|
</ul> |
|
|
|
@ -294,129 +190,79 @@ |
|
|
|
|
</div> |
|
|
|
|
<div class="btns"> |
|
|
|
|
<!-- <el-button size="small" v-throttle @click="cancel">取消</el-button> --> |
|
|
|
|
<el-button type="primary" |
|
|
|
|
size="small" |
|
|
|
|
v-throttle |
|
|
|
|
@click="save">更新</el-button> |
|
|
|
|
<el-button type="primary" size="small" v-throttle @click="save">更新</el-button> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<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-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 placeholder="请输入邮箱" |
|
|
|
|
v-model="email"></el-input> |
|
|
|
|
<el-input placeholder="请输入邮箱" v-model="email"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="验证码"> |
|
|
|
|
<div class="flex-between"> |
|
|
|
|
<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-input v-model="emailCode" placeholder="请输入验证码" maxlength="6"></el-input> |
|
|
|
|
<el-button style="margin-left: 10px" type="text" @click="sendEmailCode" :disabled="emailDisabled">{{ |
|
|
|
|
emailBtnText }}</el-button> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
<span slot="footer" |
|
|
|
|
class="dialog-footer"> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<el-button @click="emailVisible = false">取 消</el-button> |
|
|
|
|
<el-button type="primary" |
|
|
|
|
@click="emailSubmit">确 定</el-button> |
|
|
|
|
<el-button type="primary" @click="emailSubmit">确 定</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<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-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> |
|
|
|
|
<el-input style="width: 404px;" placeholder="请输入手机号" v-model="phone" maxlength="11"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
<el-form-item label="验证码"> |
|
|
|
|
<div class="flex-between"> |
|
|
|
|
<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-input v-model="phoneCode" placeholder="请输入验证码" maxlength="6"></el-input> |
|
|
|
|
<el-button style="margin-left: 10px" type="text" @click="sendPhoneCode" :disabled="phoneDisabled">{{ |
|
|
|
|
phoneBtnText }}</el-button> |
|
|
|
|
</div> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
<span slot="footer" |
|
|
|
|
class="dialog-footer"> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<el-button @click="phoneVisible = false">取 消</el-button> |
|
|
|
|
<el-button type="primary" |
|
|
|
|
@click="phoneSubmit">确 定</el-button> |
|
|
|
|
<el-button type="primary" @click="phoneSubmit">确 定</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<el-dialog title="更换密码" |
|
|
|
|
:visible.sync="passwordVisible" |
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
@close="closePassword" |
|
|
|
|
<el-dialog title="更换密码" :visible.sync="passwordVisible" :close-on-click-modal="false" @close="closePassword" |
|
|
|
|
width="30%"> |
|
|
|
|
<el-form ref="passwordForm" |
|
|
|
|
:model="form" |
|
|
|
|
label-width="60px"> |
|
|
|
|
<el-form ref="passwordForm" :model="form" label-width="60px"> |
|
|
|
|
<el-form-item label="原密码"> |
|
|
|
|
<el-input type="password" |
|
|
|
|
v-model="passwordForm.password" |
|
|
|
|
placeholder="请输入原密码"></el-input> |
|
|
|
|
<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="请输入新密码" |
|
|
|
|
<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="请确认新密码" |
|
|
|
|
<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"> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<el-button @click="passwordVisible = false">取 消</el-button> |
|
|
|
|
<el-button type="primary" |
|
|
|
|
@click="editPassword">确 定</el-button> |
|
|
|
|
<el-button type="primary" @click="editPassword">确 定</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
|
<el-dialog title="修改用户账号" |
|
|
|
|
:visible.sync="accountVisible" |
|
|
|
|
:close-on-click-modal="false" |
|
|
|
|
width="30%"> |
|
|
|
|
<el-dialog title="修改用户账号" :visible.sync="accountVisible" :close-on-click-modal="false" width="30%"> |
|
|
|
|
<el-form label-width="82px"> |
|
|
|
|
<el-form-item label="用户账号"> |
|
|
|
|
<el-input v-model="editUsername" |
|
|
|
|
placeholder="请输入用户账号"></el-input> |
|
|
|
|
<el-input v-model="editUsername" placeholder="请输入用户账号"></el-input> |
|
|
|
|
</el-form-item> |
|
|
|
|
</el-form> |
|
|
|
|
<span slot="footer" |
|
|
|
|
class="dialog-footer"> |
|
|
|
|
<el-button size="small" |
|
|
|
|
@click="accountVisible = false">取 消</el-button> |
|
|
|
|
<el-button size="small" |
|
|
|
|
type="primary" |
|
|
|
|
@click="confirmAccount">确 定</el-button> |
|
|
|
|
<span slot="footer" class="dialog-footer"> |
|
|
|
|
<el-button size="small" @click="accountVisible = false">取 消</el-button> |
|
|
|
|
<el-button size="small" type="primary" @click="confirmAccount">确 定</el-button> |
|
|
|
|
</span> |
|
|
|
|
</el-dialog> |
|
|
|
|
</div> |
|
|
|
@ -1173,20 +1019,25 @@ export default { |
|
|
|
|
max-height: calc(100vh - 220px); |
|
|
|
|
overflow: auto; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.page { |
|
|
|
|
margin-bottom: 12px; |
|
|
|
|
|
|
|
|
|
/deep/.el-input__inner { |
|
|
|
|
border-color: #cacfdb; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.list { |
|
|
|
|
.line { |
|
|
|
|
display: flex; |
|
|
|
|
margin-bottom: 24px; |
|
|
|
|
|
|
|
|
|
&.info li:not(.selects) { |
|
|
|
|
.el-input { |
|
|
|
|
flex: 1; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.imp li { |
|
|
|
|
&:nth-child(odd) { |
|
|
|
|
width: 360px; |
|
|
|
@ -1194,17 +1045,21 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.el-input, |
|
|
|
|
.el-select { |
|
|
|
|
width: 220px; |
|
|
|
|
|
|
|
|
|
.el-input__inner { |
|
|
|
|
border-color: #cacfdb; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
li { |
|
|
|
|
display: inline-flex; |
|
|
|
|
align-items: center; |
|
|
|
|
& > label { |
|
|
|
|
|
|
|
|
|
&>label { |
|
|
|
|
width: 100px; |
|
|
|
|
margin-right: 5px; |
|
|
|
|
text-align: right; |
|
|
|
@ -1212,36 +1067,44 @@ export default { |
|
|
|
|
color: #4c4c4c; |
|
|
|
|
white-space: nowrap; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.el-select { |
|
|
|
|
flex: 1; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.el-select .el-input.is-disabled .el-input__inner { |
|
|
|
|
border-color: #ddd; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.val { |
|
|
|
|
margin-right: 15px; |
|
|
|
|
color: #606266; |
|
|
|
|
font-size: 14px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.mul { |
|
|
|
|
display: inline-flex; |
|
|
|
|
|
|
|
|
|
.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 { |
|
|
|
|
position: relative; |
|
|
|
|
width: 862px; |
|
|
|
@ -1249,6 +1112,7 @@ export default { |
|
|
|
|
margin-bottom: 6px; |
|
|
|
|
border-radius: 4px; |
|
|
|
|
background-color: #fafafa; |
|
|
|
|
|
|
|
|
|
.del { |
|
|
|
|
position: absolute; |
|
|
|
|
top: 80px; |
|
|
|
@ -1256,31 +1120,38 @@ export default { |
|
|
|
|
cursor: pointer; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.arc-action { |
|
|
|
|
width: 862px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.fold { |
|
|
|
|
margin-top: 20px; |
|
|
|
|
text-align: center; |
|
|
|
|
font-size: 12px; |
|
|
|
|
color: #006eff; |
|
|
|
|
|
|
|
|
|
span { |
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
|
|
i { |
|
|
|
|
transition: 0.5s; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&.active i { |
|
|
|
|
transform: rotate(180deg); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.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 { |
|
|
|
|
width: 80px; |
|
|
|
|
} |
|
|
|
@ -1292,6 +1163,7 @@ export default { |
|
|
|
|
margin-bottom: 12px; |
|
|
|
|
font-size: 14px; |
|
|
|
|
color: #333; |
|
|
|
|
|
|
|
|
|
img { |
|
|
|
|
margin-right: 5px; |
|
|
|
|
} |
|
|
|
|