计算
@@ -77,61 +160,117 @@ export default class DepositInterestTrial extends Vue{
label : "无抵押",
}
];
- saveTypes: any[] = [
- {
- value : "定期",
- label : "定期",
- },{
- value : "非定期",
- label : "非定期",
- }
+ typeValue:any= "";
+ showTypes:any=false;
+ // saveTypes: any[] = [
+ // {
+ // value : "定期",
+ // label : "定期",
+ // },{
+ // value : "非定期",
+ // label : "非定期",
+ // }
+ // ];
+ saveTypes: any[] = [
+ "定期","非定期",
];
- choices: any[] = [
- {
- value : "利随本清",
- label : "利随本清",
- },{
- value : "等额本金",
- label : "等额本金",
- },{
- value : "等额本息",
- label : "等额本息",
- },
- {
- value : "按季结息(到期一次性还本)",
- label : "按季结息(到期一次性还本)",
- },{
- value : "按月结息(到期一次性还本)",
- label : "按月结息(到期一次性还本)",
- },{
- value : "按年结息(到期一次性还本)",
- label : "按年结息(到期一次性还本)",
- }
+
+ onConfirmTypes(typeValue: string) {
+ this.typeValue = typeValue;
+ this.showTypes = false;
+ }
+ // choices: any[] = [
+ // {
+ // value : "利随本清",
+ // label : "利随本清",
+ // },{
+ // value : "等额本金",
+ // label : "等额本金",
+ // },{
+ // value : "等额本息",
+ // label : "等额本息",
+ // },
+ // {
+ // value : "按季结息(到期一次性还本)",
+ // label : "按季结息(到期一次性还本)",
+ // },{
+ // value : "按月结息(到期一次性还本)",
+ // label : "按月结息(到期一次性还本)",
+ // },{
+ // value : "按年结息(到期一次性还本)",
+ // label : "按年结息(到期一次性还本)",
+ // }
+ // ];
+
+ choiceValue:any= "";
+ showChoices:any=false;
+
+ choices: any[] = [
+ "利随本清",
+"等额本金",
+"等额本息",
+ "按季结息(到期一次性还本)",
+"按月结息(到期一次性还本)",
+"按年结息(到期一次性还本)",
];
- timeTypes: any[] = [
- {
- value : "定存整取",
- label : "定存整取",
- },{
- value : "零存整取",
- label : "零存整取",
- },{
- value : "整存整取",
- label : "整存整取",
- }
+
+ onConfirmChoices(choiceValue: string) {
+ this.choiceValue = choiceValue;
+ this.showChoices = false;
+ }
+ // timeTypes: any[] = [
+ // {
+ // value : "定存整取",
+ // label : "定存整取",
+ // },{
+ // value : "零存整取",
+ // label : "零存整取",
+ // },{
+ // value : "整存整取",
+ // label : "整存整取",
+ // }
+ // ];
+ timeTypeValue:any= "";
+ showTimeTypes:any=false;
+ timeTypes: any[] = [
+ "定存整取",
+ "定存整取",
+ "零存整取",
+ "零存整取",
+ "整存整取",
+ "整存整取",
];
- times: any[] = [
- {
- value : "1",
- label : "一年",
- },{
- value : "2",
- label : "两年",
- },{
- value : "3",
- label : "三年",
- }
+ onConfirmTimeTypes(timeTypeValue: string) {
+ this.timeTypeValue = timeTypeValue;
+ this.showTimeTypes = false;
+ }
+
+
+ timeValue:any= "";
+ showTimes:any=false;
+ // times: any[] = [
+ // {
+ // value : "1",
+ // label : "一年",
+ // },{
+ // value : "2",
+ // label : "两年",
+ // },{
+ // value : "3",
+ // label : "三年",
+ // }
+ // ];
+ times: any[] = [
+ "一年",
+ "两年",
+ "三年",
];
+
+
+ onConfirmTimes(timeValue: string) {
+ this.timeValue = timeValue;
+ this.showTimes = false;
+ }
test2: any = {
loanAmt: "",
loanTime: "",
@@ -234,7 +373,18 @@ export default class DepositInterestTrial extends Vue{
margin-left: 5%;
margin-top: -30%;
}
+.layoutName {
+ font-family: "Arial Normal", "Arial";
+
+ font-weight: 400;
+ font-style: normal;
+ font-size: 13px;
+ color: rgba(0, 0, 0, 0.65);
+}
::v-deep .ant-select-selection {
border: none;
}
+::v-deep .van-field__label {
+ color:#000000A6;
+}
diff --git a/src/views/authentication/LoginByID.vue b/src/views/authentication/LoginByID.vue
index 6af34fb4a90bedfe430667abe44440ba437ed008..e5f9511a55f4f468907ac4576d497c95c21eb6b1 100644
--- a/src/views/authentication/LoginByID.vue
+++ b/src/views/authentication/LoginByID.vue
@@ -194,9 +194,9 @@ export default class LoginView extends Vue {
// }
// });
}
- created() {
- this._updatePicCode()
- }
+ // created() {
+ // this._updatePicCode()
+ // }
//忘记密码
forgetspass() {
this.$router.push({
diff --git a/src/views/authentication/LoginView.vue b/src/views/authentication/LoginView.vue
index dddb5bfdde23a0d2c5741080b42de1e470d9c282..63e9e2ca59fc2fe33e6036850782d860d5aacadc 100644
--- a/src/views/authentication/LoginView.vue
+++ b/src/views/authentication/LoginView.vue
@@ -22,7 +22,7 @@
账号
-
@@ -30,6 +30,7 @@
+
密码
@@ -56,17 +57,18 @@
-
- 短信验证码
-
-
-
-
-
-
- {{ getCmstotal }}
-
-
+
登录
@@ -115,12 +117,29 @@ export default class LoginView extends Vue {
sms: string = "";//短信验证
timer: any = "";//定时器
time: number = 60;//计数
- imageVerifyKey: string = ""//验证码Key
- passwordType = "password"
+ imageVerifyKey: string = "";//验证码Key
+ passwordType = "password";
+ showCode = false;
//方法
+
+ created(){
+ if(localStorage.getItem("loginNo")!=null)
+ this.loginNo = String(localStorage.getItem("loginNo"));
+ }
+
+ noChange(s:string){
+ if(this.verifyPhone(s)){
+ this.showCode=true;
+ }else{
+ this.showCode=false;
+ }
+ //测试 只要内容发生改变就保存
+ // localStorage.setItem('loginNo', this.loginNo);
+ }
switchPasswordType() {
this.passwordType = this.passwordType === 'password' ? 'text' : 'password'
}
+
//身份证号登录
loginbyid() {
this.$router.push({
@@ -129,9 +148,9 @@ export default class LoginView extends Vue {
}
//手机号
- // verifyPhone() {
- // return /^1\d{10}$/.test(this.phone) // 返回true或false
- // }
+ verifyPhone(s:string) {
+ return /^1[3-9]\d{9}$/.test(s) // 返回true或false
+ }
//获取图形验证码
_updatePicCode() {
//请求图形验证码
@@ -188,6 +207,8 @@ export default class LoginView extends Vue {
}
apiService.general(loginApi.loginSystem, undefined, param, undefined).then((response: RestfulResponse) => {
console.log(response);
+ //发送请求就保存账号
+ localStorage.setItem('loginNo', this.loginNo);
if (response.code == Code.SUCCESS.code) {
this.$router.push({
name: `Mianview`,
@@ -195,15 +216,17 @@ export default class LoginView extends Vue {
data: response.data
}
})
+ //登录成功后保存账号
+ localStorage.setItem('loginNo', this.loginNo);
} else {
- this._updatePicCode();
+ // this._updatePicCode();
Toast(response.msg + "");
}
});
}
- created() {
- this._updatePicCode()
- }
+ // created() {
+ // this._updatePicCode()
+ // }
//忘记密码
forgetspass() {
this.$router.push({
diff --git a/src/views/login/ForgetPassView.vue b/src/views/login/ForgetPassView.vue
index eee858bbb89cf676b53167fbc01ea8239e5bbcc9..f3ca7a8a9e2d554bbc0ca27dae1b58a1de7f2483 100644
--- a/src/views/login/ForgetPassView.vue
+++ b/src/views/login/ForgetPassView.vue
@@ -28,7 +28,7 @@
class="font-size-12-dhc"
style="font-weight: 400; font-family: 'Arial Normal', 'Arial';
}"
- >请使用注册手机号或身份证号进行密码重置请使用注册手机号码进行密码重置
@@ -36,9 +36,10 @@
账号
@@ -87,8 +88,9 @@
- 短信验证码
+
短信验证码
+
账号
-
@@ -41,7 +41,7 @@
-->
- 短信验证码
+
短信验证码
@@ -125,14 +125,23 @@ export default class ForgetPassView extends Vue {
radio: string = "0"
checked: boolean = false;
passwordType = "password"
+ showCode = false;
//方法
+
+ noChange(s:string){
+ if(this.verifyPhone(s)){
+ this.showCode=true;
+ }else{
+ this.showCode=false;
+ }
+ }
switchPasswordType() {
this.passwordType = this.passwordType === 'password' ? 'text' : 'password'
}
//手机号
- verifyPhone() {
- return /^1\d{10}$/.test(this.phone) // 返回true或false
+ verifyPhone(s:string) {
+ return /^1[3-9]\d{9}$/.test(s) // 返回true或false
}
//身份证号
verifyid() {
diff --git a/src/views/main/Main.vue b/src/views/main/Main.vue
index f891287c6b96138bae1fa392395a76e329f17acb..0aca7e373ca6b74a6233ccfa9560f37b18809b59 100644
--- a/src/views/main/Main.vue
+++ b/src/views/main/Main.vue
@@ -68,7 +68,10 @@
-
+
-
-
diff --git a/src/views/main/MainView.vue b/src/views/main/MainView.vue
index c20aab7d58dc19b127d3813130ef256c20d5672b..35e828dcae789fded3721f179febd90ca6ba8c6b 100644
--- a/src/views/main/MainView.vue
+++ b/src/views/main/MainView.vue
@@ -7,7 +7,7 @@
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
-
+
diff --git a/src/views/recognition/Intention.vue b/src/views/recognition/Intention.vue
index c2dbc2ab50ab6679f03f23a01830059ea1050c08..afdb769f62f5f8e58578e68df5b97f6463dafe86 100644
--- a/src/views/recognition/Intention.vue
+++ b/src/views/recognition/Intention.vue
@@ -21,21 +21,21 @@
-
+
-
+
-
+
@@ -47,52 +47,94 @@
-
+
-
+
-
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
-
+
+
+
+
+
-
-
-
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
-
+
@@ -115,66 +157,118 @@
diff --git a/src/views/workbench/modifyInfo.vue b/src/views/workbench/modifyInfo.vue
new file mode 100644
index 0000000000000000000000000000000000000000..67760eee4b5dcc44693f4b5e5c2de4498c4c3dd6
--- /dev/null
+++ b/src/views/workbench/modifyInfo.vue
@@ -0,0 +1,99 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+
+
+
+
+
+
+
+
+
diff --git a/src/views/workbench/modifyPassword.vue b/src/views/workbench/modifyPassword.vue
new file mode 100644
index 0000000000000000000000000000000000000000..1097f4dae6f002f02f599c6bb39165577f13b95c
--- /dev/null
+++ b/src/views/workbench/modifyPassword.vue
@@ -0,0 +1,137 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+
+
+
+
+
+
+
+
+