Commit 55d441fe authored by youjie's avatar youjie
parents 515e1a02 d891a356
...@@ -171,16 +171,16 @@ ...@@ -171,16 +171,16 @@
<div class="pwd_bline_left" :class="pwd_bline==true?'_bline_w':''"></div> <div class="pwd_bline_left" :class="pwd_bline==true?'_bline_w':''"></div>
<div class="pwd_bline_right" :class="pwd_bline==true?'_bline_w':''"></div> <div class="pwd_bline_right" :class="pwd_bline==true?'_bline_w':''"></div>
</div> </div>
<div class="login-commonBotm"> <!-- <div class="login-commonBotm">
<i class="icon-login-password iconfont icon-mima" :style="{color: pwd_bline==true?'#E95252':'#000000'}"></i> <i class="icon-login-password iconfont icon-mima" :style="{color: pwd_bline==true?'#E95252':'#000000'}"></i>
<input class="input FPF_b" @focus="pwd_bline=true" @blur="pwd_bline=false" autocomplete="new-password" <input class="input FPF_b" @focus="pwd_bline=true" @blur="pwd_bline=false" autocomplete="new-password"
maxlength="20" v-model="passwordSure" style="background-color:transparent !important" type="password" maxlength="20" v-model="passwordSure" style="background-color:transparent !important" type="password"
placeholder="确认密码:大写字母+小写字母+数字或?!&$%#_" /> placeholder="确认密码:大写字母+小写字母+数字或?!&$%#_" />
<div class="pwd_bline_left" :class="pwd_bline==true?'_bline_w':''"></div> <div class="pwd_bline_left" :class="pwd_bline==true?'_bline_w':''"></div>
<div class="pwd_bline_right" :class="pwd_bline==true?'_bline_w':''"></div> <div class="pwd_bline_right" :class="pwd_bline==true?'_bline_w':''"></div>
</div> </div> -->
<!-- <div class="login-commonBotm btValidate"> <div class="login-commonBotm btValidate">
<i class="icon-login-password iconfont icon-yanzhengma" <i class="icon-login-password iconfont icon-yanzhengma"
:style="{color: validate_bline==true?'#E95252':'#000000'}"></i> :style="{color: validate_bline==true?'#E95252':'#000000'}"></i>
<input class="input FPF_b phoneValidate" maxlength="4" onkeyup="value=value.replace(/[^\d]/g,'')" <input class="input FPF_b phoneValidate" maxlength="4" onkeyup="value=value.replace(/[^\d]/g,'')"
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
<span v-show="show" @click="getCode" class="FPF_s">获取验证码</span> <span v-show="show" @click="getCode" class="FPF_s">获取验证码</span>
<span v-show="!show" class="count FPF_s">{{count}}s重新获取</span> <span v-show="!show" class="count FPF_s">{{count}}s重新获取</span>
</div> </div>
</div> --> </div>
<div class="forgetPw"> <div class="forgetPw">
<div class="error-msg" style="float:left;width:auto;"> <div class="error-msg" style="float:left;width:auto;">
<div v-show="passwordIsShow"><img src="../assets/img/login-error-tips.png" />{{ passwordErrorMsg }}</div> <div v-show="passwordIsShow"><img src="../assets/img/login-error-tips.png" />{{ passwordErrorMsg }}</div>
...@@ -341,6 +341,12 @@ ...@@ -341,6 +341,12 @@
this.$cookie.set("RB_Group_id", userData.RB_Group_id); this.$cookie.set("RB_Group_id", userData.RB_Group_id);
localStorage.menu = JSON.stringify(firstTire) localStorage.menu = JSON.stringify(firstTire)
this.loginState = 0; this.loginState = 0;
if(!jsonData.data.IsExactness) {
this.$router.push({
path: "/resetPassword"
});
return
}
this.$router.push({ this.$router.push({
path: "/personalCenter" path: "/personalCenter"
}); });
...@@ -446,16 +452,13 @@ ...@@ -446,16 +452,13 @@
this.mobileCodeType = 2; this.mobileCodeType = 2;
}, },
changePwd() { changePwd() {
if (this.passwordSure != this.password) {
this.Error('新密码和确认密码不一致');
return;
}
let msg = { let msg = {
password: this.password, password: this.password,
mobileNumber: this.mobileNumber mobileNumber: this.mobileNumber,
// code: this.code code: this.code
}; };
this.apipost("user_change_password_by_mobile", msg, res => { this.apipost("user_change_password_by_mobileNumber", msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.isShow = 1; this.isShow = 1;
this.$notify.success({ this.$notify.success({
......
...@@ -2327,8 +2327,8 @@ ...@@ -2327,8 +2327,8 @@
= <font>{{CtObj.C_TotalPrice}}</font> = <font>{{CtObj.C_TotalPrice}}</font>
</p> </p>
<p> <p>
含:景点第一道门票、<font>{{CtObj.C_IncludeRemark}}</font>午(晚)餐费、往返车费、 含:<font>{{CtObj.C_IncludeRemark}}</font>
导游服务费:<font>{{CtObj.C_IncludeFee}}</font> 费用:<font>{{CtObj.C_IncludeFee}}</font>
不含:<font>{{CtObj.C_NonIncludeRemark}}</font> 不含:<font>{{CtObj.C_NonIncludeRemark}}</font>
</p> </p>
<p>支付时间:<font>{{getDate(CtObj.C_PayDate)}}</font> <p>支付时间:<font>{{getDate(CtObj.C_PayDate)}}</font>
......
...@@ -1648,8 +1648,8 @@ ...@@ -1648,8 +1648,8 @@
= <font>{{CtObj.C_TotalPrice}}</font>元。 = <font>{{CtObj.C_TotalPrice}}</font>元。
</p> </p>
<p> <p>
含:景点第一道门票、<font>{{CtObj.C_IncludeRemark}}</font>午(晚)餐费、往返车费、 含:<font>{{CtObj.C_IncludeRemark}}</font>
导游服务费:<font>{{CtObj.C_IncludeFee}}</font> 费用:<font>{{CtObj.C_IncludeFee}}</font>
不含:<font>{{CtObj.C_NonIncludeRemark}}</font> 不含:<font>{{CtObj.C_NonIncludeRemark}}</font>
</p> </p>
<p>支付时间:<font>{{getDate(CtObj.C_PayDate)}}</font></p> <p>支付时间:<font>{{getDate(CtObj.C_PayDate)}}</font></p>
......
...@@ -726,10 +726,10 @@ ...@@ -726,10 +726,10 @@
</tr> </tr>
<tr> <tr>
<td> <td>
<el-form-item label="含:景点第一道门票、" style="display:inline-block;"> <el-form-item label="含:" style="display:inline-block;">
<el-input type="text" class="w150" v-model="CtObj.C_IncludeRemark"></el-input> <el-input type="text" class="w150" v-model="CtObj.C_IncludeRemark"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="午(晚)餐费、往返车费、导游服务费" label-width="250px" style="display:inline-block;"> <el-form-item label="费用" label-width="250px" style="display:inline-block;">
<el-input type="text" class="w150" @keyup.native="checkPrice(CtObj,'C_IncludeFee')" <el-input type="text" class="w150" @keyup.native="checkPrice(CtObj,'C_IncludeFee')"
v-model="CtObj.C_IncludeFee"></el-input> v-model="CtObj.C_IncludeFee"></el-input>
</el-form-item> </el-form-item>
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
addMsg.CustomerType == 2 || addMsg.CustomerType == 2 ||
addMsg.CustomerType == '' addMsg.CustomerType == ''
"> ">
<el-select v-model="addMsg.CustomerId" filterable :placeholder="$t('pub.pleaseSel')" @change="getSspt"> <el-select v-model="addMsg.CustomerId" filterable :placeholder="$t('pub.pleaseSel')" @change="changeCustomer">
<el-option v-for="item in customerList" :label="item.customerName + '-' + item.contact" <el-option v-for="item in customerList" :label="item.customerName + '-' + item.contact"
:value="item.customerId" :key="item.customerId"> :value="item.customerId" :key="item.customerId">
</el-option> </el-option>
...@@ -1573,8 +1573,7 @@ ...@@ -1573,8 +1573,7 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.ScenicRefundList = res.data.data; this.ScenicRefundList = res.data.data;
this.ScenicRefundList.forEach((item) => { this.ScenicRefundList.forEach((item) => {
item["ScenicName"] = item["ScenicName"] = item.CouponsName + " -¥" + this.moneyFormat(item.RefundMoney);
item.CouponsName + " -¥" + this.moneyFormat(item.RefundMoney);
}); });
} }
}, },
...@@ -1592,7 +1591,7 @@ ...@@ -1592,7 +1591,7 @@
); );
}, },
//客户品牌 //客户品牌
getSspt() { changeCustomer() {
//给非直客 隐藏电话姓名赋值 //给非直客 隐藏电话姓名赋值
let obj = this.customerList.find( let obj = this.customerList.find(
(item) => item.customerId == this.addMsg.CustomerId (item) => item.customerId == this.addMsg.CustomerId
......
This diff is collapsed.
...@@ -119,8 +119,8 @@ export default { ...@@ -119,8 +119,8 @@ export default {
let crmUrl = ""; //crm API let crmUrl = ""; //crm API
let locationName = window.location.hostname; let locationName = window.location.hostname;
// domainUrl = "http://192.168.10.128"; // domainUrl = "http://192.168.10.128";
domainUrl = "http://192.168.10.9:8083" // 刘东电脑 // domainUrl = "http://192.168.10.9:8083" // 刘东电脑
// domainUrl = "http://192.168.10.206:8015"; domainUrl = "http://192.168.10.226:8015";
// domainUrl = "http://reborn.oytour.com"; // domainUrl = "http://reborn.oytour.com";
let crmLocalFileStreamDownLoadUrl = ""; let crmLocalFileStreamDownLoadUrl = "";
crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com"; crmLocalFileStreamDownLoadUrl = locationName.indexOf('oytour') !== -1 ? "http://crm.oytour.com" : "http://testcrm.oytour.com";
......
...@@ -18,6 +18,15 @@ export default { ...@@ -18,6 +18,15 @@ export default {
component: login component: login
}, },
{
path: '/resetPassword',
name: 'resetPassword',
component: resolve => require(['@/components/resetPassword'], resolve),
meta: {
title: '修改密码'
},
},
{ {
path: '/leaderPrint', //领队用款计划 path: '/leaderPrint', //领队用款计划
name: 'leaderPrint', name: 'leaderPrint',
......
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