Commit 7d78ef9c authored by zhangyanni's avatar zhangyanni

完善资料国旗

parent 95bd3a24
......@@ -332,7 +332,7 @@ h4{
top: 0;
z-index: 1;
}
& .el-select .el-input__inner,& .el-select.chinaFlag .el-input__inner{
& .el-select .el-input__inner,& .el-select.china .el-input__inner{
height: 15px;
background-image: url("../../src/assets/img/login/flags@2x.png");
background-position: -1049px 0;
......@@ -344,9 +344,6 @@ h4{
color: transparent;
border-radius: unset;
}
& .el-select.germanyFlag .el-input__inner{
background-position: -1269px 0;
}
& .el-select .el-input--suffix{
width: 60px !important;
& .el-input__inner{
......@@ -371,25 +368,25 @@ h4{
margin-right: 8px;
vertical-align: middle;
}
.el-select-dropdown__item .deguo{
.el-select-dropdown__item .deguo,.el-select.deguo .el-input__inner{
background-position: -1269px 0;
}
.el-select-dropdown__item .china{
background-position: -1049px 0;
}
.el-select-dropdown__item .korea{
.el-select-dropdown__item .korea,.el-select.korea .el-input__inner{
background-position: -2787px 0;
}
.el-select-dropdown__item .america{
.el-select-dropdown__item .america,.el-select.america .el-input__inner{
background-position:-5241px 0;
}
.el-select-dropdown__item .israel{
.el-select-dropdown__item .israel,.el-select.israel .el-input__inner{
background-position: -2369px 0;
}
.el-select-dropdown__item .finland{
.el-select-dropdown__item .finland,.el-select.finland .el-input__inner{
background-position: -1621px 0;
}
.el-select-dropdown__item .russia{
.el-select-dropdown__item .russia,.el-select.russia .el-input__inner{
background-position: -4295px 0;
}
//隐藏的input
......
......@@ -12,9 +12,9 @@ export default {
return api.fetchLogin("/base/code/sendPhone",Qs.stringify(params));
},
//验证修改密码验证码
//验证找回密码验证码
getModifyCodeAxios(params){
return api.fetchLogin("/base/code/checkNewPwdCode",Qs.stringify(params));
return api.fetchLogin("/base/emp/checkNewPwdCode",Qs.stringify(params));
},
//获取修改密码验证码
......
......@@ -21,7 +21,7 @@
</el-form-item>
<p class="labelItem" v-if="lang==2">您的手机号</p>
<el-form-item prop="phone" class="flagItem" v-if="lang==2">
<el-select v-model.trim="flag" @change="handleChange" :class="flag==1?'chinaFlag':'germanyFlag'">
<el-select v-model.trim="flag" @change="handleChange" :class="flagClassName">
<el-option
v-for="item in cities"
:key="item.value"
......@@ -39,11 +39,11 @@
<el-select v-model.trim="infoForm.channel" placeholder="请选择您注册的来源渠道">
<el-option :key="item.id"
:label="item.name"
:value="item.id" v-for="item in channelList"></el-option>
:value="item.code" v-for="item in channelList"></el-option>
</el-select>
</el-form-item>
<p class="labelItem" v-if="infoForm.channel==1">推荐人姓名<i class="requiredstar">*</i></p>
<el-form-item prop="name" v-if="infoForm.channel==1" style="height: auto !important;">
<p class="labelItem" v-if="infoForm.channel=='C001'">推荐人姓名<i class="requiredstar">*</i></p>
<el-form-item prop="name" v-if="infoForm.channel=='C001'" style="height: auto !important;">
<vue-select :options="options" maxHeight="200px" v-model.trim="infoForm.name" placeholder="请填写推荐人姓名"></vue-select>
</el-form-item>
<el-form-item>
......@@ -82,11 +82,11 @@
{id:1,name:"找项目"}
],
channelList:[
{id:1,name:"太库业务人员"},
{id:2,name:"同事/好友介绍"},
{id:3,name:"网络宣传"},
{id:4,name:"线下活动推广"},
{id:5,name:"其他"}
{id:1,name:"太库业务人员",code:"C001"},
{id:2,name:"同事/好友介绍",code:"C002"},
{id:3,name:"网络宣传",code:"C003"},
{id:4,name:"线下活动推广",code:"C004"},
{id:5,name:"其他",code:"C005"}
],
flag:"1",
rules: {
......@@ -139,7 +139,8 @@
value:"7",
city:"russia"
}],
disabledFlag:0
disabledFlag:0,
flagClassName:"china",
}
},
methods:{
......@@ -156,7 +157,6 @@
type:that.infoForm.type,
email: that.infoForm.email,
phone:that.infoForm.phone?publicFunc.getLabelByIdPublic(that.flag,that.cities,"cityNo","value") + that.infoForm.phone:"",
name:that.infoForm.name,
refereesId:that.infoForm.refereesId//推荐人姓名
};
that.submitCompleteInfo(params);
......@@ -214,6 +214,7 @@
//切换国旗
handleChange(data){
this.flagClassName = publicFunc.getLabelByIdPublic(data,this.cities,"city","cityNo");
},
getNameFunc(data){
......
......@@ -89,6 +89,7 @@
},that = this;
api.modifyPassAxios(params).then((res)=>{
if(res.code==0){
window.localStorage.setItem("userInfo",this.Base64.encode(JSON.stringify(res,result)));
that.$router.replace("/passSuccessCmpt");
setTimeout(function(){
that.flag = 0;
......
......@@ -46,7 +46,7 @@ module.exports = {
open : true, //配置自动启动浏览器
proxy : {
'/' : {
target : 'http://101.201.78.24:8673',
target : 'http://101.201.78.24:8673',// http://172.11.20.75:8673
ws : false,
changeOrigin : true,
pathRewrite : {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment