提交 5bf3939c 编写于 作者: donghuawangliang0612's avatar donghuawangliang0612

二次修改

上级 34aafa88
...@@ -195,6 +195,7 @@ ...@@ -195,6 +195,7 @@
<script lang="ts"> <script lang="ts">
import {Component, Vue} from "vue-property-decorator"; import {Component, Vue} from "vue-property-decorator";
import {Test} from "@/views/DepositInterestTrial/Test"; import {Test} from "@/views/DepositInterestTrial/Test";
import {Toast} from "vant";
@Component({ @Component({
name: "DepositInterestTrial", name: "DepositInterestTrial",
}) })
...@@ -348,7 +349,7 @@ export default class DepositInterestTrial extends Vue{ ...@@ -348,7 +349,7 @@ export default class DepositInterestTrial extends Vue{
resultFirst = parseInt(this.test.depositAmt)*parseInt(this.test.yearRate)/100*parseInt(this.test.time=="一年"?"1":this.test.time=="两年"?"2":"3"); resultFirst = parseInt(this.test.depositAmt)*parseInt(this.test.yearRate)/100*parseInt(this.test.time=="一年"?"1":this.test.time=="两年"?"2":"3");
result = resultFirst.toFixed(2); result = resultFirst.toFixed(2);
if(this.test.depositAmt==""||this.test.yearRate==""||this.test.time==""){ if(this.test.depositAmt==""||this.test.yearRate==""||this.test.time==""){
alert("请输入数据"); Toast("请输入数据");
}else{ }else{
this.$router.push({ this.$router.push({
name: "CountResultB", name: "CountResultB",
...@@ -369,7 +370,7 @@ export default class DepositInterestTrial extends Vue{ ...@@ -369,7 +370,7 @@ export default class DepositInterestTrial extends Vue{
resultFirst = parseInt(this.test2.loanAmt)*parseInt(this.test2.loanRate)/100*parseInt(this.test2.loanTime)/12; resultFirst = parseInt(this.test2.loanAmt)*parseInt(this.test2.loanRate)/100*parseInt(this.test2.loanTime)/12;
result = resultFirst.toFixed(2); result = resultFirst.toFixed(2);
if(this.test2.loanAmt==""||this.test2.loanRate==""||this.test2.loanTime==""){ if(this.test2.loanAmt==""||this.test2.loanRate==""||this.test2.loanTime==""){
alert("请输入数据") Toast("请输入数据")
}else{ }else{
this.$router.push({ this.$router.push({
name: "CountResult", name: "CountResult",
......
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
<div style="margin: 16px;"> <div style="margin: 16px;">
<van-button square block type="info" native-type="submit" @click="loginSystem()">登录</van-button> <van-button square block type="info" native-type="submit" @click="loginSystem()">登录</van-button>
</div> </div>
</van-form> <!-- </van-form>-->
<!-- <div> <!-- <div>
<van-row type="flex" justify="center"> <van-row type="flex" justify="center">
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
</div> --> </div> -->
<div class="d-flex " style="padding: 0px 10px 0px 10px;color: #3672F1;"> <div class="d-flex " style="padding: 0px 10px 0px 10px;color: #3672F1;">
<div class="p-3 mr-auto "><a class="font-size-12-dhc" @click="forgetspass()"> 忘记密码</a></div> <div class="p-3 mr-auto "><a class="font-size-12-dhc" @click="forgetspass()"> 忘记密码</a></div>
<div class="p-3 "><a class="font-size-12-dhc" @click="loginbyid()"> 身份证号登录</a></div> <!-- <div class="p-3 "><a class="font-size-12-dhc" @click="loginbyid()"> 身份证号登录</a></div>-->
<div class="p-3 "><a class="font-size-12-dhc" @click="regeist()"> 用户注册</a></div> <div class="p-3 "><a class="font-size-12-dhc" @click="regeist()"> 用户注册</a></div>
<div class="p-3 "><a class="font-size-12-dhc" @click="demo()"> demo测试</a></div> <div class="p-3 "><a class="font-size-12-dhc" @click="demo()"> demo测试</a></div>
......
...@@ -13,27 +13,27 @@ ...@@ -13,27 +13,27 @@
</div> </div>
<div class="login"> <div class="login">
<van-row style="padding: 10% 0%"> <!-- <van-row style="padding: 10% 0%">-->
<van-col span="24"> <!-- <van-col span="24">-->
<p class="polog"> <!-- <p class="polog">-->
<span <!-- <span-->
class="font-size-18-dhc" <!-- class="font-size-18-dhc"-->
style="padding: 2% 0%; font-weight: 600" <!-- style="padding: 2% 0%; font-weight: 600"-->
>密码重置</span <!-- >密码重置</span-->
> <!-- >-->
</p> <!-- </p>-->
</van-col> <!-- </van-col>-->
<van-col span="24" <!-- <van-col span="24"-->
><span <!-- ><span-->
class="font-size-12-dhc" <!-- class="font-size-12-dhc"-->
style="font-weight: 400; font-family: 'Arial Normal', 'Arial'; <!-- style="font-weight: 400; font-family: 'Arial Normal', 'Arial';-->
}" <!--}"-->
>请使用注册手机号码进行密码重置</span <!-- >请使用注册手机号码进行密码重置</span-->
></van-col <!-- ></van-col-->
> <!-- >-->
</van-row> <!-- </van-row>-->
<van-form @submit="onSubmit"> <van-form @submit="onSubmit">
<div class="logindiv"> <div class="logindiv" style="margin-top: 20%">
<span class="sopan">账号</span> <span class="sopan">账号</span>
<van-field <van-field
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
</van-row> </van-row>
</div> </div>
<van-divider :style="{ margin: 0 }"></van-divider> <van-divider :style="{ margin: 0 }"></van-divider>
<div style="margin: 16px"> <div style="margin: 16px; margin-top: 20%">
<van-button square block type="info" native-type="submit" <van-button square block type="info" native-type="submit"
>登录</van-button >登录</van-button
> >
......
...@@ -13,15 +13,15 @@ ...@@ -13,15 +13,15 @@
</div> </div>
<div class="login"> <div class="login">
<van-row style="padding: 10% 0%;"> <!-- <van-row style="padding: 10% 0%;">-->
<van-col span="24"> <!-- <van-col span="24">-->
<p class="polog"><span class="font-size-18-dhc" style="padding: 2% 0%;font-weight: 600;">注册</span> </p> <!-- <p class="polog"><span class="font-size-18-dhc" style="padding: 2% 0%;font-weight: 600;">注册</span> </p>-->
</van-col> <!-- </van-col>-->
<van-col span="24"><span class="font-size-12-dhc" style="font-weight: 400; font-family: 'Arial Normal', 'Arial'; <!-- <van-col span="24"><span class="font-size-12-dhc" style="font-weight: 400; font-family: 'Arial Normal', 'Arial';-->
}">请使用机号码或身份证号码进行注册</span></van-col> <!--}">请使用机号码或身份证号码进行注册</span></van-col>-->
</van-row> <!-- </van-row>-->
<van-form> <van-form>
<div class="logindiv"> <div class="logindiv" style="margin-top: 20%">
<span class="sopan">账号</span> <span class="sopan">账号</span>
<van-field @input="noChange" v-model="phone" :border="true" placeholder="请输入手机号码/身份证号码" <van-field @input="noChange" v-model="phone" :border="true" placeholder="请输入手机号码/身份证号码"
/> />
......
...@@ -358,7 +358,6 @@ ...@@ -358,7 +358,6 @@
</scroller-view> </scroller-view>
</div> </div>
</div>
</template> </template>
<script lang="ts"> <script lang="ts">
import { Component, Vue } from "vue-property-decorator"; import { Component, Vue } from "vue-property-decorator";
...@@ -750,7 +749,20 @@ export default class Main extends Vue { ...@@ -750,7 +749,20 @@ export default class Main extends Vue {
} }
onClick(index:any) { onClick(index:any) {
this.tabsList[index].status=this.tabsList[index].status === 1?0:1 if(index==0){
this.tabsList[index].status=this.tabsList[index].status === 1?0:1;
this.tabsList[1].status=0;
this.tabsList[2].status=0;
}else if(index==1) {
this.tabsList[index].status=this.tabsList[index].status === 1?0:1;
this.tabsList[0].status=0;
this.tabsList[2].status=0;
}else {
this.tabsList[index].status=this.tabsList[index].status === 1?0:1;
this.tabsList[1].status=0;
this.tabsList[0].status=0;
}
// Toast(this.tabsList[index].status===1?"升序":"降序"); // Toast(this.tabsList[index].status===1?"升序":"降序");
} }
} }
......
...@@ -191,7 +191,7 @@ export default class Intention extends Vue { ...@@ -191,7 +191,7 @@ export default class Intention extends Vue {
//客户经理 //客户经理
customer = "赵恒请"; customer = "赵恒请";
//客户经理电话 //客户经理电话
phoneCard = "15673989898"; phoneCard: any= "";
//地区 //地区
show = false; show = false;
fieldValue = ""; fieldValue = "";
...@@ -203,6 +203,8 @@ export default class Intention extends Vue { ...@@ -203,6 +203,8 @@ export default class Intention extends Vue {
showManager = false; showManager = false;
mangerValue = ""; mangerValue = "";
mangerList = ["吕晨涛", "龙易轩","范丽","雷娟","郝芳"]; mangerList = ["吕晨涛", "龙易轩","范丽","雷娟","郝芳"];
//phoneCardList = [["吕晨涛","13332323232"],["龙易轩","12321212121"],["范丽","15673989898"],["雷娟","15673981198"], ["郝芳","15622981198"]];
phoneCardList = new Map([["吕晨涛","13332323232"],["龙易轩","12321212121"],["范丽","15673989898"],["雷娟","15673981198"], ["郝芳","15622981198"]]);
//机构列表 //机构列表
orgList = ["哈尔滨道里区支行", "哈尔滨松北区支行"]; orgList = ["哈尔滨道里区支行", "哈尔滨松北区支行"];
...@@ -244,6 +246,7 @@ export default class Intention extends Vue { ...@@ -244,6 +246,7 @@ export default class Intention extends Vue {
onConfirmManager(mangerValue: string) { onConfirmManager(mangerValue: string) {
this.mangerValue = mangerValue; this.mangerValue = mangerValue;
this.phoneCard = this.phoneCardList.get(mangerValue);
this.showManager = false; this.showManager = false;
} }
// 选项列表,children 代表子选项,支持多级嵌套 // 选项列表,children 代表子选项,支持多级嵌套
......
...@@ -131,45 +131,62 @@ ...@@ -131,45 +131,62 @@
</van-tab> </van-tab>
<!-- <van-tab title="业务进度" v-if="status === statusl">--> <!-- <van-tab title="业务进度" v-if="status === statusl">-->
<van-tab title="业务进度" v-if="true"> <van-tab title="业务进度" v-if="true">
<van-steps direction="vertical" :active="0"> <!-- <van-steps direction="vertical" :active="0">-->
<van-step> <!-- <van-step>-->
<van-row type="flex" class="layoutStep" gutter="10"> <!-- <van-row type="flex" class="layoutStep" gutter="10">-->
<van-col span="4" class="coolllo">童菲可</van-col> <!-- <van-col span="4" class="coolllo">童菲可</van-col>-->
<van-col span="6" class="coolllo">总行审批岗</van-col> <!-- <van-col span="6" class="coolllo">总行审批岗</van-col>-->
<van-col span="12" class="coolllo">2021/02/21 03:14:12</van-col> <!-- <van-col span="12" class="coolllo">2021/02/21 03:14:12</van-col>-->
</van-row> <!-- </van-row>-->
</van-step> <!-- </van-step>-->
<van-step> <!-- <van-step>-->
<van-row type="flex" class="layoutStep" gutter="10"> <!-- <van-row type="flex" class="layoutStep" gutter="10">-->
<van-col span="4" class="coolllo">孙先辉</van-col> <!-- <van-col span="4" class="coolllo">孙先辉</van-col>-->
<van-col span="6" class="coolllo">支行行长</van-col> <!-- <van-col span="6" class="coolllo">支行行长</van-col>-->
<van-col span="12" class="coolllo">2021/02/21 03:14:12</van-col> <!-- <van-col span="12" class="coolllo">2021/02/21 03:14:12</van-col>-->
</van-row> <!-- </van-row>-->
<van-row type="flex" class="layoutStep" gutter="10"> <!-- <van-row type="flex" class="layoutStep" gutter="10">-->
<van-col span="24" class="coolllo">同意</van-col> <!-- <van-col span="24" class="coolllo">同意</van-col>-->
</van-row> <!-- </van-row>-->
</van-step> <!-- </van-step>-->
<van-step> <!-- <van-step>-->
<van-row type="flex" class="layoutStep" gutter="10"> <!-- <van-row type="flex" class="layoutStep" gutter="10">-->
<van-col span="4" class="coolllo">李新林</van-col> <!-- <van-col span="4" class="coolllo">李新林</van-col>-->
<van-col span="6" class="coolllo">支行审批岗</van-col> <!-- <van-col span="6" class="coolllo">支行审批岗</van-col>-->
<van-col span="12" class="coolllo">2021/02/21 03:14:12</van-col> <!-- <van-col span="12" class="coolllo">2021/02/21 03:14:12</van-col>-->
</van-row> <!-- </van-row>-->
<van-row type="flex" class="layoutStep" gutter="10"> <!-- <van-row type="flex" class="layoutStep" gutter="10">-->
<van-col span="24" class="coolllo">同意</van-col> <!-- <van-col span="24" class="coolllo">同意</van-col>-->
</van-row> <!-- </van-row>-->
</van-step> <!-- </van-step>-->
<van-step> <!-- <van-step>-->
<van-row type="flex" class="layoutStep" gutter="10"> <!-- <van-row type="flex" class="layoutStep" gutter="10">-->
<van-col span="4" class="coolllo">赵飞</van-col> <!-- <van-col span="4" class="coolllo">赵飞</van-col>-->
<van-col span="6" class="coolllo">客户经理</van-col> <!-- <van-col span="6" class="coolllo">客户经理</van-col>-->
<van-col span="12" class="coolllo">2021/02/21 03:14:12</van-col> <!-- <van-col span="12" class="coolllo">2021/02/21 03:14:12</van-col>-->
<!-- </van-row>-->
<!-- <van-row type="flex" class="layoutStep" gutter="10">-->
<!-- <van-col span="24" class="coolllo">同意</van-col>-->
<!-- </van-row>-->
<!-- </van-step>-->
<!-- </van-steps>-->
<scroller-view v-calculate-height pullup="true" pulldown="true">
<van-steps class="step" direction="vertical" :active="active" style="padding-top:5%;" >
<van-step v-for="(item,index) in bussList" :key = "index" style="padding-bottom:20%;" >
<van-row >
<van-col span="5"> <span>{{item.name}}</span></van-col>
<van-col span="8"> <span>{{item.jobs}}</span></van-col>
<van-col span="11"> <span>{{item.time}}</span></van-col>
</van-row> </van-row>
<van-row type="flex" class="layoutStep" gutter="10">
<van-col span="24" class="coolllo">同意</van-col> <van-row >
<van-col span="5"> <span>{{item.falg}}</span></van-col>
</van-row> </van-row>
</van-step> </van-step>
</van-steps> </van-steps>
</scroller-view>
</van-tab> </van-tab>
</van-tabs> </van-tabs>
</div> </div>
...@@ -186,6 +203,7 @@ import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator"; ...@@ -186,6 +203,7 @@ import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator";
name: "AccommodDetails" name: "AccommodDetails"
}) })
export default class AccommodDetails extends Vue { export default class AccommodDetails extends Vue {
active = 3
managerPhone="12222222222" managerPhone="12222222222"
manager="赵恒请" manager="赵恒请"
intentionOrg="哈尔滨农信社松北区枝江大道分社" intentionOrg="哈尔滨农信社松北区枝江大道分社"
...@@ -219,7 +237,54 @@ export default class AccommodDetails extends Vue { ...@@ -219,7 +237,54 @@ export default class AccommodDetails extends Vue {
// debugger // debugger
this.statusl = this.$route.params.status this.statusl = this.$route.params.status
} }
bussList:any =[
{
name :"赵飞",
jobs : "客户经理",
time : "2021/02/20 11:14:12",
falg:"同意"
},
{
name :"李星琳",
jobs : "支行审批岗",
time : "2021/02/20 11:14:12",
falg:"同意"
},
{
name :"孙先辉",
jobs : "支行行长",
time : "2021/02/20 11:14:12",
falg:"同意"
},
{
name :"童菲可",
jobs : "某某审批岗",
time : "2021/02/20 11:14:12",
falg:""
},
{
name :"孙晴",
jobs : "某某审批岗",
time : "2021/02/20 11:14:12",
falg:""
},
{
name :"赵可欣",
jobs : "某某最终审批岗",
time : "2021/02/20 11:14:12",
falg:""
},
]
} }
......
...@@ -110,8 +110,13 @@ export default class PersonLod extends Vue { ...@@ -110,8 +110,13 @@ export default class PersonLod extends Vue {
modifyInfo(){ modifyInfo(){
this.$router.push({ this.$router.push({
name: "modifyInfo" name: "modifyInfo",
//参数 params: {
name: this.name,
IdCard: this.IdCard,
phone: this.phone,
liveAdress: this.liveAdress,
},
}) })
} }
......
...@@ -22,12 +22,12 @@ ...@@ -22,12 +22,12 @@
</van-row> </van-row>
<van-row type="flex"> <van-row type="flex">
<van-col span="24"> <van-col span="24">
<van-field v-model="name" label="姓名" :border="true" placeholder="请输入姓名" /> <van-field v-model="name" label="姓名" :border="true" placeholder="请输入姓名" disabled/>
</van-col> </van-col>
</van-row> </van-row>
<van-row type="flex"> <van-row type="flex">
<van-col span="24"> <van-col span="24">
<van-field v-model="IdCard" label="身份证号" :border="true" placeholder="请输入身份证号" /> <van-field v-model="IdCard" label="身份证号" :border="true" placeholder="请输入身份证号" disabled/>
</van-col> </van-col>
</van-row> </van-row>
<van-row type="flex"> <van-row type="flex">
...@@ -85,6 +85,12 @@ export default class PersonLod extends Vue { ...@@ -85,6 +85,12 @@ export default class PersonLod extends Vue {
password : String =""//原始密码 password : String =""//原始密码
newPassword : String =""//原始密码 newPassword : String =""//原始密码
mounted() {
this.name = this.$route.params.name;
this.IdCard = this.$route.params.IdCard;
this.phone = this.$route.params.phone;
this.liveAdress = this.$route.params.liveAdress;
}
modifyInfo(){ modifyInfo(){
this.$router.push({ this.$router.push({
......
...@@ -26,8 +26,9 @@ ...@@ -26,8 +26,9 @@
<van-field :type="passwordType" v-model="password" label="原密码" :border="true" placeholder="请输入原密码" > <van-field :type="passwordType" v-model="password" label="原密码" :border="true" placeholder="请输入原密码" >
<template slot="right-icon"> <template slot="right-icon">
<span class="solts" @click="switchPasswordType"> <span class="solts" @click="switchPasswordType">
<van-icon name="eye" v-if="passwordType === 'password'" />
<van-icon name="closed-eye" v-else /> <van-icon name="closed-eye" v-if="passwordType === 'password'" />
<van-icon name="eye" v-else/>
</span> </span>
</template> </template>
</van-field> </van-field>
...@@ -36,11 +37,12 @@ ...@@ -36,11 +37,12 @@
</van-row> </van-row>
<van-row type="flex"> <van-row type="flex">
<van-col span="24"> <van-col span="24">
<van-field v-model="newPassword" :type="passwordType" label="新密码" :border="true" placeholder="请输入新密码"> <van-field v-model="newPassword" :type="passwordTypeA" label="新密码" :border="true" placeholder="请输入新密码">
<template slot="right-icon"> <template slot="right-icon">
<span class="solts" @click="switchPasswordType"> <span class="solts" @click="switchPasswordTypeA">
<van-icon name="eye" v-if="passwordType === 'password'" /> <van-icon name="closed-eye" v-if="passwordTypeA === 'password'" />
<van-icon name="closed-eye" v-else /> <van-icon name="eye" v-else/>
</span> </span>
</template> </template>
...@@ -52,11 +54,12 @@ ...@@ -52,11 +54,12 @@
<van-row type="flex"> <van-row type="flex">
<van-col span="24"> <van-col span="24">
<van-field v-model="rePassword" :type="passwordType" label="确认新密码" :border="true" placeholder="请再次输入新密码"> <van-field v-model="rePassword" :type="passwordTypeB" label="确认新密码" :border="true" placeholder="请再次输入新密码">
<template slot="right-icon"> <template slot="right-icon">
<span class="solts" @click="switchPasswordType"> <span class="solts" @click="switchPasswordTypeB">
<van-icon name="eye" v-if="passwordType === 'password'" />
<van-icon name="closed-eye" v-else /> <van-icon name="closed-eye" v-if="passwordTypeB === 'password'" />
<van-icon name="eye" v-else/>
</span> </span>
</template> </template>
...@@ -100,10 +103,17 @@ export default class PersonLod extends Vue { ...@@ -100,10 +103,17 @@ export default class PersonLod extends Vue {
newPassword : String =""//原始密码 newPassword : String =""//原始密码
passwordType :string= "password"; passwordType :string= "password";
passwordTypeA = "password";
passwordTypeB = "password";
switchPasswordType() { switchPasswordType() {
this.passwordType = this.passwordType === 'password' ? 'text' : 'password' this.passwordType = this.passwordType === 'password' ? 'text' : 'password'
} }
switchPasswordTypeA() {
this.passwordTypeA = this.passwordTypeA === 'password' ? 'text' : 'password'
}
switchPasswordTypeB() {
this.passwordTypeB = this.passwordTypeB === 'password' ? 'text' : 'password'
}
modifyInfo(){ modifyInfo(){
this.$router.push({ this.$router.push({
name: "PersonLod" name: "PersonLod"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册