个人贷款

20240205
yujialong 10 months ago
parent f52e2076c0
commit e8e11376be
  1. 1
      src/assets/img/systemInput/个人贷款.svg
  2. 1
      src/assets/img/systemInput/公司贷款.svg
  3. 25
      src/pages/counter/list/index.vue
  4. 12
      src/pages/index/list/index.vue
  5. 527
      src/pages/manage/index/index.vue
  6. 7
      src/pages/manage/list/agent/agent.vue
  7. 619
      src/pages/manage/list/personalLoans/detail.vue
  8. 198
      src/pages/manage/list/personalLoans/index.vue
  9. 7
      src/pages/manage/list/personalLoans/list.js
  10. 313
      src/pages/manage/list/personalLoans/list.vue
  11. 32
      src/pages/manage/navbar/index.vue
  12. 13
      src/router/modules/counter.js
  13. 5
      src/store/modules/system.js

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1707275227001" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4270" width="22" height="22" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M504.341494 375.700275m-215.955408 0a215.955408 215.955408 0 1 0 431.910817 0 215.955408 215.955408 0 1 0-431.910817 0Z" p-id="4271" fill="#ffffff"></path><path d="M510.627249 591.655683a357.782262 357.782262 0 0 0-355.903761 321.584986H853.59825c-17.051012-180.625132-157.577365-321.584986-342.971001-321.584986z m62.785296 201.649898a18.857264 18.857264 0 0 1 0 37.642278h-50.575037v23.625767a18.929514 18.929514 0 0 1-37.859028 0V830.875609H434.547943a18.857264 18.857264 0 0 1 0-37.642278h50.575037v-31.284273h-50.575037a18.857264 18.857264 0 0 1 0-37.642278h37.570028l-32.729274-32.657023a18.712764 18.712764 0 0 1 0-26.37127 18.929514 18.929514 0 0 1 26.732519 0L499.572991 698.296761a18.785014 18.785014 0 0 1 8.959006 0l33.307275-33.162774a19.001764 19.001764 0 0 1 26.804769 0 18.568264 18.568264 0 0 1 0 26.371269L535.698017 724.30678h37.570028a18.857264 18.857264 0 0 1 0 37.642278h-50.575037v31.356523z" p-id="4272" fill="#ffffff"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1707275318677" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5428" width="22" height="22" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M628.224 127.25248 390.07232 127.25248l0 101.9136L628.224 229.16608 628.224 127.25248 628.224 127.25248 628.224 127.25248zM763.33568 160.4864l-101.87776 0L661.45792 262.4 356.8384 262.4 356.8384 160.4864 254.9248 160.4864c-37.66272 0-67.55328 31.01696-67.55328 68.67968l0 610.39616c0 37.66272 29.89056 67.59424 67.55328 67.59424l508.41088 0c37.66272 0 67.59424-29.9264 67.59424-67.59424L830.92992 229.16608C830.92992 191.50336 800.9984 160.4864 763.33568 160.4864L763.33568 160.4864 763.33568 160.4864zM683.61216 767.5392c-76.45184-2.176-134.05696-16.59904-172.81024-44.27264-42.09664 27.6736-103.00416 42.09664-182.76352 44.27264l0-37.62688c104.13056-13.33248 151.74656-42.09664 145.1008-85.31456l0-18.85184 73.1136 0 0 18.85184c-6.64576 43.22304 39.87968 71.9872 138.45504 85.31456l0 37.62688L683.61216 767.5392 683.61216 767.5392 683.61216 767.5392zM650.38336 570.35776l1.09056 0 0 121.85088-66.46784 0L585.00608 612.4544 427.74016 612.4544l0 79.75936L361.27232 692.21376l0-121.85088 225.9456 0c-46.52544-8.86272-77.5424-39.87968-91.92448-94.14144L441.03168 476.22144l0-37.66272c-2.21696 3.30752-4.43392 6.64576-7.77216 11.07968-1.09056 3.3024-2.21696 5.51936-3.3024 6.64576l0 101.9136-65.3824 0L364.57472 503.89504c-11.07968 4.43392-23.2448 7.77216-37.62688 11.07968l0-37.66272c29.89056-12.16512 49.83296-36.53632 61.99808-73.1136l66.46784 0c-1.09056 3.34336-2.21696 7.77216-4.43392 12.20608-1.09056 3.3024-3.3024 8.86272-7.73632 17.72544l43.1872 0c-1.09056-3.34336-1.09056-8.86272-1.09056-15.50848-1.1264-7.77216-1.1264-12.20096-1.1264-15.50848l66.46272 0c0 3.30752 0 8.86272 1.09056 15.50848 0 7.73632 0 12.17024 1.1264 15.50848l33.23392 0 0-25.4976 58.69056 0 0 25.4976 38.75328 0 0 43.18208-120.7296 0c11.07968 36.57728 28.8 53.1712 55.38816 52.08576 16.63488 1.09056 24.3712-6.64576 24.3712-24.3712l48.7424 0C692.47488 542.68416 679.18336 563.712 650.38336 570.35776L650.38336 570.35776 650.38336 570.35776z" fill="#ffffff" p-id="5429"></path></svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

@ -92,7 +92,8 @@
</el-tooltip> </el-tooltip>
<!-- 点击打开普通凭证箱--> <!-- 点击打开普通凭证箱-->
<el-tooltip placement="top-start" <el-tooltip v-if="!isCredit"
placement="top-start"
popper-class="sth-popper" popper-class="sth-popper"
offset="250"> offset="250">
<div slot="content"> <div slot="content">
@ -110,7 +111,8 @@
</el-tooltip> </el-tooltip>
<!-- 点击打开重要凭证箱--> <!-- 点击打开重要凭证箱-->
<el-tooltip placement="top-start" <el-tooltip v-if="!isCredit"
placement="top-start"
popper-class="sth-popper" popper-class="sth-popper"
offset="250"> offset="250">
<div slot="content"> <div slot="content">
@ -127,7 +129,8 @@
</el-tooltip> </el-tooltip>
<!-- 点击打开钱箱--> <!-- 点击打开钱箱-->
<el-tooltip placement="left-start" <el-tooltip v-if="!isCredit"
placement="left-start"
popper-class="sth-popper"> popper-class="sth-popper">
<div slot="content"> <div slot="content">
<img v-lazy="lazyImg[11]" <img v-lazy="lazyImg[11]"
@ -143,7 +146,8 @@
</el-tooltip> </el-tooltip>
<!-- 点击打开印章盒--> <!-- 点击打开印章盒-->
<el-tooltip placement="top" <el-tooltip v-if="!isCredit"
placement="top"
popper-class="sth-popper" popper-class="sth-popper"
offset="-100"> offset="-100">
<div slot="content" <div slot="content"
@ -163,7 +167,8 @@
</el-tooltip> </el-tooltip>
<!-- 点击打开验钞机--> <!-- 点击打开验钞机-->
<el-tooltip placement="top" <el-tooltip v-if="!isCredit"
placement="top"
popper-class="sth-popper" popper-class="sth-popper"
offset="-100"> offset="-100">
<div slot="content"> <div slot="content">
@ -222,7 +227,8 @@
</div> </div>
<!-- 点击打开刷卡器--> <!-- 点击打开刷卡器-->
<el-tooltip placement="top" <el-tooltip v-if="!isCredit"
placement="top"
popper-class="sth-popper" popper-class="sth-popper"
offset="00"> offset="00">
<div slot="content"> <div slot="content">
@ -611,9 +617,8 @@
<!-- 蒙版 --> <!-- 蒙版 -->
<div v-show="showPop" <div v-show="showPop"
class="masking"></div> class="masking"></div>
<!-- 商业银行系统的全屏功能实现 v-if="manageVisible" --> <!-- 商业银行系统的全屏功能实现 v-if="manageVisible" -->
<div :class="full ? 'fullScreenSystem' : 'system'" <div :class="full || isCredit ? 'fullScreenSystem' : 'system'"
class="systemconfig" class="systemconfig"
v-show="manageVisible"> v-show="manageVisible">
<!-- <transition name='systemComputer' enter-active-class="Down" leave-active-class="animate__animated animate__bounceOutDown"> <!-- <transition name='systemComputer' enter-active-class="Down" leave-active-class="animate__animated animate__bounceOutDown">
@ -991,6 +996,10 @@ export default {
}; };
}, },
computed: { computed: {
//
isCredit: function () {
return this.$store.state.system.isCredit;
},
// id // id
isSeal () { isSeal () {
const stampMap2 = { const stampMap2 = {

@ -18,14 +18,16 @@
@click="toPart('/counter')">综合柜台</div> @click="toPart('/counter')">综合柜台</div>
</div> </div>
<div class="sth international cp"> <div class="sth international cp"
@click="toPart('/counter', true)">
<!-- <img width="100%" v-lazy="lazy1" alt="" @click="toPart('/counter')"> --> <!-- <img width="100%" v-lazy="lazy1" alt="" @click="toPart('/counter')"> -->
<img width="100%" <img width="100%"
v-lazy="lazy2" v-lazy="lazy2"
alt="" alt=""
@click="showComing" /> @click="showComing" />
<!-- src="@/assets/img/integrated-counter.png" --> <!-- src="@/assets/img/integrated-counter.png" -->
<!-- <div class="name" @click="showComing">国际结算部</div> --> <div class="name"
@click="toPart('/counter', true)">信贷部</div>
</div> </div>
<!-- <img class="sth international cp" v-lazy="lazy2" alt="" @click="showComing"> --> <!-- <img class="sth international cp" v-lazy="lazy2" alt="" @click="showComing"> -->
@ -132,7 +134,8 @@ export default {
methods: { methods: {
...mapMutations({ ...mapMutations({
setBusinessKey: 'system/setBusinessKey', setBusinessKey: 'system/setBusinessKey',
setShowBusiness: 'system/setShowBusiness' setShowBusiness: 'system/setShowBusiness',
setCredit: 'system/setCredit',
}), }),
getQueryVariable (name) { getQueryVariable (name) {
var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)') var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)')
@ -145,7 +148,8 @@ export default {
} }
} }
}, },
toPart (path) { toPart (path, isCredit = false) {
this.setCredit(isCredit)
this.$router.push(path) this.$router.push(path)
}, },
showComing () { showComing () {

@ -1,156 +1,310 @@
<template> <template>
<!-- :style="full?'height:100vh;':'height: 80vh;'" --> <!-- :style="full?'height:100vh;':'height: 80vh;'" -->
<div class="box" :class="full? 'h-4/5': ''"> <div class="box"
<div class="nav"> :class="full? 'h-4/5': ''">
<!-- <div class="top" :style="full?'border-radius:0':'border-top-left-radius: 20px;'"> select-none --> <div class="nav">
<div class="top" :style="full?'border-radius:0':'border-top-left-radius: 20px;'"> <!-- <div class="top" :style="full?'border-radius:0':'border-top-left-radius: 20px;'"> select-none -->
<p style="margin:auto">商业银行系统</p> <div class="top"
</div> :style="full?'border-radius:0':'border-top-left-radius: 20px;'">
<!-- <div class="body2"> <p style="margin:auto">商业银行系统</p>
</div>
<!-- <div class="body2">
<navbar class="body"></navbar> <navbar class="body"></navbar>
</div> --> </div> -->
<div class="body"> <div class="body">
<navbar /> <navbar />
</div> </div>
<!-- <navbar class="body"></navbar> --> <!-- <navbar class="body"></navbar> -->
</div>
<div class="manage-layout">
<div class="top" :style="full?'border-radius:0':'border-top-right-radius: 20px;'">
<img v-show="!full" src="../../../assets/svg/fullscreen.svg" alt="" @click="handleFullscreen">
<img v-show="full" src="../../../assets/svg/shrink.svg" alt="" @click="shrink">
<i @click="close" class="el-icon-close"></i>
</div>
<div class="manage-content">
<transition name="fade">
<router-view class="manage-view"></router-view>
</transition>
</div>
</div>
</div> </div>
<div class="manage-layout">
<div class="top"
:style="full?'border-radius:0':'border-top-right-radius: 20px;'">
<img v-show="!full"
src="../../../assets/svg/fullscreen.svg"
alt=""
@click="handleFullscreen">
<img v-show="full"
src="../../../assets/svg/shrink.svg"
alt=""
@click="shrink">
<i @click="close"
class="el-icon-close"></i>
</div>
<div class="manage-content">
<transition name="fade">
<router-view class="manage-view"></router-view>
</transition>
</div>
</div>
</div>
</template> </template>
<script> <script>
import navbar from '../navbar' import navbar from '../navbar'
export default { export default {
name: 'index', name: 'index',
data() { data () {
return { return {
fullscreen:this.$store.state.system.fullScreen,// --store fullscreen: this.$store.state.system.fullScreen,// --store
} }
},
components: {
navbar
},
// beforeMount() {
// const path = sessionStorage.getItem('computerPath')
// console.log('router-view')
// console.log(path)
// this.$router.push(path)
// },
methods: {
close () {
// 退 退
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
}, },
components: { handleFullscreen () {
navbar this.fullscreen = true
this.$store.commit('system/changeFullscreen', true)
}, },
// beforeMount() { shrink () {
// const path = sessionStorage.getItem('computerPath') this.fullscreen = false
// console.log('router-view') this.$store.commit('system/changeFullscreen', false)
// console.log(path)
// this.$router.push(path)
// },
methods: {
close(){
// 退 退
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
handleFullscreen(){
this.fullscreen = true
this.$store.commit('system/changeFullscreen',true)
},
shrink(){
this.fullscreen = false
this.$store.commit('system/changeFullscreen',false)
},
}, },
computed: {
full:function(){ },
return this.$store.state.system.fullScreen computed: {
} full: function () {
return this.$store.state.system.fullScreen
} }
}
}; };
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
$font_size_All: 16px; // $font_size_All: 16px; //
$submenu_padding_left: 25px; // padding-left $submenu_padding_left: 25px; // padding-left
// /deep/.el-form-item { // /deep/.el-form-item {
// label { // label {
// width: 100px!important; // width: 100px!important;
// text-align-last: justify; // text-align-last: justify;
// } // }
// } // }
@media screen and (min-width: 1920px) { @media screen and (min-width: 1920px) {
/deep/.body { /deep/.body {
min-height: 50vh; min-height: 50vh;
} }
}
@media screen and (min-width: 1200px) and (max-width: 1700px) {
/deep/.body {
min-height: 50vh;
} }
}
@media screen and (min-width: 1200px) and (max-width: 1700px) { // .wrap2{
/deep/.body { // width: 100%;
min-height: 50vh; // display: flex;
// flex-direction: column;
// overflow: hidden;
// .title{
// height: 60px;
// display: flex;
// align-items: center;
// font-size: 20px;
// padding-left: 50px;
// }
// .body{
// margin-top: 50px;
// }
// }
.box {
display: flex;
min-width: 1300px;
.nav {
width: 270px;
min-height: 80vh;
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
display: flex;
flex-direction: column;
.top {
height: 50px;
font-size: 20px;
display: flex;
align-items: center;
text-align: center;
border-top-left-radius: 15px;
color: #b3b3b3;
background: #222428;
p {
font-size: 21px;
}
}
.body {
flex: 1;
.el-menu {
height: 100%;
}
}
}
.manage-layout {
width: calc(100% - 270px);
// background: #fff;
background: transparent;
display: flex;
flex-direction: column;
.top {
height: 50px;
font-size: 30px;
display: flex;
justify-content: flex-end;
align-items: center;
text-align: center;
color: #000;
background: #e6e6e6;
border-top-right-radius: 20px;
i {
margin-right: 10px;
cursor: pointer;
}
}
.manage-content {
flex: 1;
position: relative;
border-bottom-right-radius: 20px;
overflow: hidden;
.manage-view {
position: absolute;
top: 0;
bottom: 0;
background: #fff;
}
} }
} }
}
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
opacity: 0.5;
}
// el-input
/deep/ .el-input input {
&:focus {
border-color: skyblue;
}
}
//
/deep/ .is-error input {
border-color: #f40 !important;
}
/deep/.el-input {
// width: 15vw!important;
width: 100%;
input {
font-size: $font_size_All !important;
}
}
/deep/ .text-xl p {
font-size: $font_size_All !important;
}
/deep/ .el-form-item .el-form-item__label {
font-size: $font_size_All !important;
}
// .wrap2{ /deep/ .el-submenu {
// width: 100%; padding-left: $submenu_padding_left !important;
// display: flex; }
// flex-direction: column; /deep/ .el-submenu .el-menu-item {
// overflow: hidden; padding-left: $submenu_padding_left + 25px !important;
// .title{ font-size: $font_size_All !important;
// height: 60px; }
// display: flex; // /deep/ .el-menu-item {
// align-items: center; // padding-left: $submenu_padding_left + 25px!important;
// font-size: 20px; // font-size: $font_size_All!important;
// padding-left: 50px; // }
// } /deep/ .el-menu span {
// .body{ font-size: $font_size_All !important;
// margin-top: 50px; }
// }
// }
.box{ /deep/ .title p {
font-size: $font_size_All !important;
}
/deep/ .idCard p {
font-size: $font_size_All !important;
}
// /deep/ .el-form-item__error {
// top: 105%;
// left: auto;
// right: 0;
// color: #FFA94E;
// }
@media screen and (min-width: 1200px) and (max-width: 1700px) {
/deep/.el-input {
// width: 15vw!important;
width: 100%;
input {
font-size: $font_size_All !important;
}
}
/deep/ .idCard {
// width: 15vw;
width: 100%;
}
}
@media screen and (min-width: 1200px) and (max-width: 1900px) {
.box {
display: flex; display: flex;
min-width: 1300px; min-width: 80vw;
.nav{ // margin-top: 6vh;
width: 270px; overflow: auto;
// height: 70vh;
.nav {
width: 25vw;
min-height: 80vh; min-height: 80vh;
overflow: hidden;
border-top-left-radius: 20px; border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.top{ .top {
height: 50px; min-height: 10vh;
font-size: 20px; font-size: 3vh;
line-height: 3vh;
display: flex; display: flex;
align-items: center; align-items: center;
text-align: center; text-align: center;
border-top-left-radius: 15px; border-top-left-radius: 15px;
color: #B3B3B3; color: #b3b3b3;
background: #222428; background: #222428;
p{
font-size: 21px;
}
} }
.body{ .body {
flex: 1; // flex: 1;
.el-menu { // height: calc(80vh-10vh);
height: 100%; overflow: auto;
} background-color: #313540;
} }
} }
.manage-layout{ .manage-layout {
width: calc(100% - 270px); width: calc(100% - 270px);
min-height: 80vh;
overflow: auto;
// background: #fff; // background: #fff;
background:transparent; background: transparent;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.top{ box-sizing: border-box;
height: 50px; .top {
min-height: 10vh;
font-size: 30px; font-size: 30px;
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
@ -159,17 +313,15 @@ export default {
color: #000; color: #000;
background: #e6e6e6; background: #e6e6e6;
border-top-right-radius: 20px; border-top-right-radius: 20px;
i{ i {
margin-right: 10px; margin-right: 10px;
cursor: pointer; cursor: pointer;
} }
} }
.manage-content{ .manage-content {
flex: 1; flex: 1;
position: relative; position: relative;
border-bottom-right-radius: 20px; .manage-view {
overflow: hidden;
.manage-view{
position: absolute; position: absolute;
top: 0; top: 0;
bottom: 0; bottom: 0;
@ -178,150 +330,5 @@ export default {
} }
} }
} }
.fade-enter-active, .fade-leave-active { }
transition: opacity .5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
opacity: 0.5;
}
// el-input
/deep/ .el-input input{
&:focus {
border-color: skyblue;
}
}
//
/deep/ .is-error input {
border-color: #f40!important;;
}
/deep/.el-input {
// width: 15vw!important;
width: 100%;
input {
font-size: $font_size_All!important;
}
}
/deep/ .text-xl p {
font-size: $font_size_All!important;
}
/deep/ .el-form-item .el-form-item__label {
font-size: $font_size_All!important;
}
/deep/ .el-submenu{
padding-left: $submenu_padding_left!important;
}
/deep/ .el-submenu .el-menu-item {
padding-left: $submenu_padding_left + 25px!important;
font-size: $font_size_All!important;
}
// /deep/ .el-menu-item {
// padding-left: $submenu_padding_left + 25px!important;
// font-size: $font_size_All!important;
// }
/deep/ .el-menu span{
font-size: $font_size_All!important;
}
/deep/ .title p {
font-size: $font_size_All!important;
}
/deep/ .idCard p {
font-size: $font_size_All!important;
}
// /deep/ .el-form-item__error {
// top: 105%;
// left: auto;
// right: 0;
// color: #FFA94E;
// }
@media screen and (min-width: 1200px) and (max-width: 1700px) {
/deep/.el-input {
// width: 15vw!important;
width: 100%;
input {
font-size: $font_size_All!important;
}
}
/deep/ .idCard {
// width: 15vw;
width: 100%;
}
}
@media screen and (min-width: 1200px) and (max-width: 1900px) {
.box{
display: flex;
min-width: 80vw;
// margin-top: 6vh;
overflow: auto;
// height: 70vh;
.nav{
width: 25vw;
min-height: 80vh;
overflow: hidden;
border-top-left-radius: 20px;
display: flex;
flex-direction: column;
.top{
min-height: 10vh;
font-size: 3vh;
line-height: 3vh;
display: flex;
align-items: center;
text-align: center;
border-top-left-radius: 15px;
color: #B3B3B3;
background: #222428;
}
.body{
// flex: 1;
// height: calc(80vh-10vh);
overflow: auto;
background-color: #313540;
}
}
.manage-layout{
width: calc(100% - 270px);
min-height: 80vh;
overflow: auto;
// background: #fff;
background:transparent;
display: flex;
flex-direction: column;
box-sizing: border-box;
.top{
min-height: 10vh;
font-size: 30px;
display: flex;
justify-content: flex-end;
align-items: center;
text-align: center;
color: #000;
background: #e6e6e6;
border-top-right-radius: 20px;
i{
margin-right: 10px;
cursor: pointer;
}
}
.manage-content{
flex: 1;
position: relative;
.manage-view{
position: absolute;
top: 0;
bottom: 0;
background: #fff;
}
}
}
}
}
</style> </style>

@ -12,13 +12,6 @@
</el-menu> </el-menu>
</div> </div>
<!-- <div class="title">
<p>个人业务</p>
<i class="el-icon-arrow-right"></i>
<p>零存整取</p>
<i class="el-icon-arrow-right"></i>
<p>{{text}}</p>
</div> -->
<MyTitle :titleArr="['代理业务', text]" /> <MyTitle :titleArr="['代理业务', text]" />
<!-- 代收水费 --> <!-- 代收水费 -->

@ -0,0 +1,619 @@
<!-- 代收电费 -->
<template>
<div class="wrap">
<MyTitle :titleArr="['个人贷款', '新增贷款申请']" />
<el-row :gutter="20"
style="margin: 0">
<el-form ref="form"
:model="form"
label-width="120px"
:rules="rules">
<el-col :span="24">
<h6 class="l-title">基本信息</h6>
</el-col>
<el-col :span="10"
:offset="1">
<el-form-item label="证件类型"
prop="certificateType">
<el-select v-model.trim="form.certificateType"
placeholder="请选择"
ref="certificateType"
disabled>
<el-option label="身份证"
:value="83"> </el-option>
</el-select>
</el-form-item>
<el-form-item label="客户姓名"
prop="customerName">
<el-input ref="customerName"
disabled
:value="form.customerName"
@input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
<el-form-item label="出生日期"
prop="customerName">
<el-input ref="customerName"
disabled
:value="form.customerName"
@input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
</el-col>
<el-col :span="10"
:offset="1">
<el-form-item label="证件号码"
required>
<div class="idCard"
@click="popUp1('身份证扫描仪')"
v-if='!idNumberJudge'>
<p>请刷身份证</p>
</div>
<div v-else>
<el-input :value="form.idNumber"
disabled
ref="idNumber"></el-input>
</div>
</el-form-item>
<el-form-item label="性别"
prop="customerName">
<el-input ref="customerName"
disabled
:value="form.customerName"
@input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
<el-form-item label="联系电话"
required>
<el-input :value="form.mailbox"
@input="val => mailBoxListen(val, form, 'mailbox')"
maxlength="30"
ref="mailbox"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="line"></div>
<h6 class="l-title">收入信息</h6>
</el-col>
<el-col :span="10"
:offset="1">
<el-form-item label="岗位"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"
@input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
<el-form-item label="当前单位工作年限"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"
@input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
</el-col>
<el-col :span="10"
:offset="1">
<el-form-item label="薪酬"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"
@input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
<el-form-item label="工龄"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"
@input="(val) => checkName(val, form, 'customerName')"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="line"></div>
<h6 class="l-title">房产信息</h6>
</el-col>
<el-col :span="10"
:offset="1">
<el-form-item label="产权人"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="共有情况"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="权利类型"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="面积"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
</el-col>
<el-col :span="10"
:offset="1">
<el-form-item label="房产证号"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="坐落"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="权利性质"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="使用期限"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<div class="line"></div>
<h6 class="l-title">贷款合同</h6>
</el-col>
<el-col :span="10"
:offset="1">
<el-form-item label="贷款类型"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="合同金额"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="起息日期"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="计息方式"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="浮动比例"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="逾期利率"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="还款方式"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
</el-col>
<el-col :span="10"
:offset="1">
<el-form-item label="合同编号"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="贷款期限"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="到期日期"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="基准利率"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="执行利率"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="担保方式"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
<el-form-item label="还款方式"
prop="customerName">
<el-input ref="customerName"
:value="form.customerName"></el-input>
</el-form-item>
</el-col>
</el-form>
</el-row>
<my-dialog :moduleName="moduleName"
v-if="visible"
:visible.sync="visible"
:showForm="form"
:formName="formName"
@submitIt="submitForm2"
depositNumber='0816' />
<el-button @click="submitForm"
type="primary"
class="submitBtn"
v-throttle>下一步</el-button>
</div>
<!-- <need-before v-else :moduleName='needBefore' :unNeed="unNeed" /> -->
</template>
<script>
import { myValidate, checkHanzi, checkName, ismoney, autoPlay, autoPlay2, inputListen, messageIdCard, messageCard, messagePassword } from '@/utils/utilFunction.js';
import { mobPattern, namePattern, ratePattern, vercustomer } from '@/utils/verify.js'
const moduleName = 'usefulPhrases/openAccount'
import { mapMutations, mapGetters } from 'vuex'
import NeedBefore from '@/components/needBefore'
import MyDialog from '@/components/dialog'
import TipsBefore from '@/mixins/tipsBefore'
import MyTitle from '@/components/myTitle'
export default {
name: '',
props: {},
components: {
NeedBefore,
MyTitle,
MyDialog
},
mixins: [TipsBefore],
created () {
if (sessionStorage.getItem('nomUsefulPhrasesOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
}
// if(sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) {
// this.idNumberJudge = true
// this.form.idNumber = this.dataFlow.idNumber || '441515199812064569'
// }
// if(sessionStorage.getItem('nomUsefulPhrasesOpenCard')) {
// this.cardNumberJudge = true
// this.form.voucherNumber = this.dataFlow.voucherNumber || '159753'
// }
if (sessionStorage.getItem('nomUsefulPhrasesOpenCard2')) {
this.idNumberJudge = true
//
const { idNumber, userName, peopleNumber, currency, goldLogo } = this.dataFlow
this.form.clientNumber = peopleNumber
this.form.idNumber = idNumber
this.form.customerName = userName
this.form.currency = currency
this.form.goldLogo = goldLogo
this.form.voucherType = 127
}
if (sessionStorage.getItem('nomUsefulPhrasesOpenCard')) {
this.cardNumberJudge = true
const { voucherNumber } = this.dataFlow
this.form.voucherNumber = voucherNumber
}
this.getFormData()
},
data () {
return {
moduleName: 'usefulPhrases/openAccount',
visible: false,
cardNumberJudge: false,
idNumberJudge: false,
form: {
//
// identityCard: '', //
idNumber: '',
customerName: '', //
currency: '', //
goldLogo: '', //
voucherType: '', //
monthDeposit: '', //
depositTerm: '', //
extendDepositTarget: '', //
voucherNumber: '', //
drawPassword: '', //
//
clientNumber: '', //
certificateType: 83, //
},
formName: {
//
// identityCard: '', //
idNumber: '身份证',
customerName: '客户姓名', //
currency: '币种', //
goldLogo: '钞汇标识', //
voucherType: '凭证类型', //
monthDeposit: '月存金额', //
depositTerm: '存期', //
extendDepositTarget: '续存标识', //
voucherNumber: '凭证号码', //
drawPassword: '支付密码', //
//
clientNumber: '客户号', //
certificateType: '证件类型', //
},
rules: {
customerName: vercustomer,
currency: [
{
required: true,
message: '请选择币种',
trigger: 'blur'
}
],
goldLogo: [
{
required: true,
message: '请选择钞汇标识',
trigger: 'blur'
}
],
voucherType: [
{
required: true,
message: '请选择凭证类型',
trigger: 'blur'
}
],
monthDeposit: [
{
required: true,
message: '请输入月存金额',
trigger: 'blur'
}
],
depositTerm: [
{
required: true,
message: '请选择存期',
trigger: 'blur'
}
],
extendDepositTarget: [
{
required: true,
message: '请选择续存标识',
trigger: 'blur'
}
],
},
myTable2: {
158: {
prop: 'certificateType',//
type: '1',
"subjectId": 19,
},
// 169: {
// prop: 'customerManage',//
// type: '3',
// "subjectId": 27,
// },
160: {
prop: 'clientNumber',//
type: '3',
"subjectId": 6,
}
},
myTable: {
159: {
prop: 'idNumber',//
type: '3',
},
161: {
prop: 'customerName',//
type: '3',
"subjectId": 7,
},
162: {
prop: 'currency',//
type: '1',
"subjectId": 8,
},
163: {
prop: 'goldLogo',//
type: '1',
"subjectId": 9,
},
164: {
prop: 'voucherType',//
type: '1',
"subjectId": 11,
},
166: {
prop: 'voucherNumber',//
type: '3',
"subjectId": 44,
},
167: {
prop: 'drawPassword',
type: '3',
"subjectId": 17,
},
168: {
prop: 'monthDeposit',//
type: '3',
"subjectId": 31,
},
170: {
prop: 'extendDepositTarget',//
type: '1',
"subjectId": 37,
},
},
submited: 0
}
},
mounted () {
},
methods: {
// userName,
// peopleNumber,
// idNumber,
// currency:'CNY',
// goldLogo:'',
...mapMutations({
changeShowGoods: 'system/changeShowGoods',
setDataFlow: 'system/setDataFlow',
setNeedsModule: 'system/setNeedsModule',
setPopId: 'system/setPopId',
setTipsOperate: 'system/setTipsOperate'
}),
getDataBlur () {
// console.log('???')
},
popUp1 (text) {
this.setTipsOperate('请刷身份证');
this.setPopId('1399')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp2 (text) {
this.setTipsOperate('请刷银行卡');
this.setPopId('166')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
popUp3 (text) {
this.setTipsOperate('请在密码器输入密码');
this.setPopId('167')
sessionStorage.setItem('computerPath', this.$route.fullPath)
this.$router.push('/counter/list/')
},
getFormData () {
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,155'
const cards = {
// 1399: 'nomUsefulPhrasesOpenCard2',
// 166: 'nomUsefulPhrasesOpenCard',
// 167: 'nomUsefulPhrasesOpenPassword'
}
const callback = () => {
if (this.form.idNumber) {
this.idNumberJudge = true
}
if (this.form.voucherNumber) {
this.cardNumberJudge = true
}
if (sessionStorage.getItem('nomUsefulPhrasesOpenPassword')) {
this.form.drawPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
}
}
autoPlay2(parentId, this.form, this.myTable2, this.myTable, cards, callback)
},
submitForm () {
if (this.submited) return this.$message.error('已提交!')
if (!this.form.idNumber) {
messageIdCard()
// let projectId = sessionStorage.getItem('projectId')
// let startTime = sessionStorage.getItem('startTime')
// let formList = [
// {
// "answerId":'159',
// "emptyOne": "",
// "emptyTwo": "",
// "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id +",287,5,26,59,155,159,13",
// "type": ""
// }
// ]
// let params= {
// parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,155,159',
// lcJudgmentRuleReq:formList,
// projectId:+projectId,
// startTime:startTime,
// }
// addOperation(params).then((data)=>{
// this.$message({
// message: '',
// type: 'success'
// });
// }).catch((error)=>{
// })
return
}
if (!this.form.voucherNumber) {
messageCard('请填写凭证号码')
return
}
if (!this.form.drawPassword) {
messagePassword()
return
}
this.$refs.form.validate(myValidate(() => {
//
this.visible = true;
}, this.$refs));
},
submitForm2 () {
// let nomUsefulPhrasesOpenCard = sessionStorage.getItem('nomUsefulPhrasesOpenCard')
// let nomUsefulPhrasesOpenCard2 = sessionStorage.getItem('nomUsefulPhrasesOpenCard2')
// let nomUsefulPhrasesOpenPassword = sessionStorage.getItem('nomUsefulPhrasesOpenPassword')
const parentId = '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,26,59,155'
const cards = [
{
key: '159,13'
}
// {
// 1399: nomUsefulPhrasesOpenCard2
// },
// {
// 166: nomUsefulPhrasesOpenCard
// },
// {
// 167: nomUsefulPhrasesOpenPassword,
// "subjectId": 17,
// }
]
this.setDataFlow(this.form)
autoPlay(parentId, this.form, this.myTable2, this.myTable, cards)
this.submited = 1
},
ismoney: ismoney,
checkHanzi: checkHanzi,
checkName: checkName,
inputListen: inputListen
},
computed: {
...mapGetters({
dataFlow: 'system/dataFlow',
needsModule: 'system/needsModule',
idCardNumber: 'system/idCardNumber',
inMyWork: 'system/inMyWork',
getSelectList: 'system/getSelectList'
})
}
}
</script>
<style lang='scss' scoped>
.wrap {
width: 100%;
height: calc(90vh - 70px);
padding: 20px;
overflow: auto;
.l-title {
margin-bottom: 15px;
font-size: 18px;
font-weight: 600;
}
.line {
margin: 20px 0;
border-bottom: 1px dashed #d7d7d7;
}
}
</style>

@ -0,0 +1,198 @@
<!-- 现金管理 -->
<template>
<div class="wrap">
<div class="nav">
<el-menu :default-active="activeIndex"
class="el-menu-demo"
mode="horizontal"
@select="handleSelect">
<el-menu-item index="1">全部</el-menu-item>
<el-menu-item index="2">正常还款</el-menu-item>
<el-menu-item index="3">展期</el-menu-item>
</el-menu>
</div>
<MyTitle :titleArr="['个人贷款', text]" />
<list />
<el-dialog style="margin-top:10vh"
:visible.sync="visible"
:modal="false"
width="40%"
:close-on-click-modal="false"
:show-close="false"
custom-class="data-dia">
<div slot="title"
class="dia-header">
<div class="data-title"
v-throttle>提交</div>
</div>
<div class="popBody">
<h2>本业务需要授权</h2>
</div>
<div class="popBtns">
<el-button class="close btn"
@click="visible = false"> </el-button>
<el-button class="sure btn"
type="primary"
@click="visible = false"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import list from './list.vue'
import MyTitle from '@/components/myTitle'
export default {
name: 'index',
components: {
list,
MyTitle
},
data () {
return {
text: '',/* 顶部文字 */
cacheVal: '',
textObj: {
'1': '全部',
'2': '正常还款',
'3': '展期',
},
form: {
},
visible: false,
options: [],
activeIndex: '',
second: [//
],
}
},
methods: {
handleSelect (val) {
this.text = this.textObj[val]
this.activeIndex = val
this.cacheVal = val
},
},
created () {
if (sessionStorage.getItem('personalLoansIndex')) {
this.handleSelect(sessionStorage.getItem('personalLoansIndex'))
} else {
this.handleSelect('1')
}
},
destroyed () {
sessionStorage.setItem('personalLoansIndex', this.cacheVal)
}
};
</script>
<style lang="scss" scoped>
.wrap {
width: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
padding: 24px 0 24px 24px;
.nav {
/deep/ .el-menu.el-menu--horizontal {
border: 0;
}
/deep/ .el-menu--horizontal > .el-menu-item.is-active {
border: 2px solid #568df2;
border-radius: 10px;
color: #000;
}
/deep/ .el-menu--horizontal > .el-menu-item {
border: 2px solid transparent;
border-radius: 10px;
margin-right: 10px;
height: 30px;
line-height: 28px;
}
}
.title {
height: 60px;
display: flex;
align-items: center;
font-size: 20px;
padding-left: 0px;
margin-top: 10px;
}
.body {
margin-top: 50px;
overflow-y: auto;
overflow-x: hidden;
.idCard {
border-radius: 5px;
background: #cfddff;
text-align: center;
height: 40px;
line-height: 40px;
font-size: 18px;
color: #6191ff;
}
.add {
position: relative;
&::after {
content: '';
display: block;
position: absolute;
right: 3%;
top: -4%;
border: 1px dashed #cfddff;
width: 88%;
height: 268px;
}
.addBtn {
position: absolute;
left: 0;
top: 50%;
transform: translate(50%, -50%);
font-size: 22px;
}
}
}
.submitBtn {
position: relative;
width: 300px;
font-size: 18px;
height: 45px;
margin-top: 50px;
border-radius: 10px;
bottom: 10px;
left: 50%;
transform: translate(-50%, -50%);
}
.popBody {
min-height: 200px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.popBtns {
display: flex;
justify-content: space-between;
align-items: center;
.btn {
width: 180px;
border-radius: 10px;
font-size: 18px;
}
.close {
background: #cfdeff;
color: #6191ff;
}
.sure {
background: #6191ff;
color: #fff;
}
}
}
</style>

@ -0,0 +1,7 @@
export default [
{
id: 1,
name: '刘亚东',
serial: 'F10628012',
}
]

@ -0,0 +1,313 @@
<template>
<div>
<div style="width: 300px;margin-bottom: 20px;">
<el-input v-model="keyword"
placeholder="请输入客户姓名"
clearable />
</div>
<el-button style="margin-bottom: 20px;"
type="primary"
@click="$router.push('/counter/list/manage/personalLoansDetail')">新建贷款申请</el-button>
<el-table ref="filterTable"
:data="list"
height="300"
:header-cell-style="headerCellStyle"
:row-class-name="tableRowClassName"
style="width: 95%">
<el-table-column prop="name"
label="客户姓名"
align="center"></el-table-column>
<el-table-column prop="serial"
label="合同编号"
align="center">
</el-table-column>
<el-table-column prop="issueTeller"
label="贷款类型"
align="center">
</el-table-column>
<el-table-column prop="receiveTeller"
label="申请日期"
align="center">
</el-table-column>
<el-table-column prop="currency"
label="审批状态"
align="center">
</el-table-column>
<el-table-column label="贷款金额"
align="center"></el-table-column>
<el-table-column prop="currency"
label="贷款期限"
align="center">
</el-table-column>
<el-table-column prop="currency"
label="放款日期"
align="center">
</el-table-column>
<el-table-column prop="currency"
label="欠款金额"
align="center">
</el-table-column>
<el-table-column prop="currency"
label="还款方式"
align="center">
</el-table-column>
<el-table-column prop="currency"
label="本月应还"
align="center">
</el-table-column>
<el-table-column prop="currency"
label="实际还款"
align="center">
</el-table-column>
<el-table-column prop="currency"
label="还款状态"
align="center">
</el-table-column>
<el-table-column label="操作"
align="center"
width="150">
<template slot-scope="scope">
<el-button :disabled="form.clickIt1 === '已领用'"
@click="sure(scope.row)"
size="small">查看</el-button>
<el-button :disabled="form.clickIt2 === '已退回'"
@click="back(scope.row)"
size="small">展期</el-button>
</template>
</el-table-column>
</el-table>
</div>
</template>
<script>
import { tableRowClassName, headerCellStyle } from '@/assets/js/myConfig'
import { getNowDate } from '@/utils/utilFunction'
import MyDialog from '@/components/dialogTwo'
import NeedBefore from '@/components/needBefore'
import { addOperation, getOperation } from '@/api/http';
import list from './list'
const moduleName = 'controlCash/cashRecipients'
import { mapMutations, mapGetters } from 'vuex'
export default {
name: 'index',
components: {
MyDialog,
NeedBefore
},
data () {
return {
moduleName,
headerCellStyle: headerCellStyle,
list,
keyword: '',
visible: false,
unNeed: false,
isNeedBefore: '',
needBefore: '',
text: '柜员现金轧账',/* 顶部文字 */
form: {
clickIt1: '', //
clickIt2: '',//
},
formName: {
clickIt1: '领用状态',
clickIt2: '退回状态',
},
tableData: [
{
// issueDate: new Date(),
organizationNumber: '1234100',
issueTeller: '002119',
receiveTeller: '002110',
currency: 'CNY人民币',
money: '490000.00'
},
],
visible: false,
submited: 0
}
},
filters: {
cashRule (cash) {
const arr = (cash + '').split('.')
if (arr.length === 1) {
return arr[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',') + '.' + '00'
} else {
return arr[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',') + '.' + arr[1];
}
},
dateRule (date) {
var y = date.getFullYear();
var m = date.getMonth() + 1;
m = m < 10 ? '0' + m : m;
var d = date.getDate();
d = d < 10 ? ('0' + d) : d;
return y + '-' + m + '-' + d;
}
},
created () {
// if(this.inMyWork(moduleName)) {
// if(this.needsModule(moduleName) === '') {
// }else {
// this.isNeedBefore = true
// this.needBefore = this.needsModule(moduleName)
// }
// }else {
// this.isNeedBefore = true
// this.unNeed = true
// }
getOperation({
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,31,518,521"
}).then((data) => {
if (data.data.status === 500) {
return;
}
const { data: { judgmentRuleReqs } } = data;
if (judgmentRuleReqs.length > 0) {
const { answerId } = judgmentRuleReqs[0];
if (answerId == '525') {
this.form.clickIt1 = '已领用'
} else {
this.form.clickIt2 = '已退回'
}
}
})
},
methods: {
...mapMutations({
setTipsOperate: 'system/setTipsOperate'
}),
sure (row) {
if (this.form.clickIt2 === '已退回') {
this.$confirm('该项目只能选择将现金领用或退回现金,请问是否改为现金领用?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
center: true
}).then(() => {
this.form.clickIt1 = '已领用'
this.form.clickIt2 = ''
this.$message({
type: 'success',
message: '当前选择为现金领用!'
});
}).catch(() => {
this.$message({
type: 'info',
message: '已取消现金领用'
});
});
return
} else {
this.form.clickIt1 = '已领用'
}
},
back (row) {
if (this.form.clickIt1 === '已领用') {
this.$confirm('该项目只能选择将现金领用或退回现金,请问是否改为现金退回?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
center: true
}).then(() => {
this.form.clickIt2 = '已退回'
this.form.clickIt1 = ''
this.$message({
type: 'success',
message: '当前选择为退回现金!'
});
}).catch(() => {
this.$message({
type: 'info',
message: '已取消退回现金'
});
});
return
} else {
this.form.clickIt2 = '已退回'
}
},
submitClick () {
if (this.submited) return this.$message.error('已提交!')
this.visible = true
},
submitForm2 () {
let projectId = sessionStorage.getItem('projectId')
let startTime = sessionStorage.getItem('startTime')
const formList = []
if (this.form.clickIt1 === '已领用') {
formList.push({ "answerId": '525', "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,31,518,521,525", "type": "" })
// formList.push()
}
if (this.form.clickIt2 === '已退回') {
formList.push({ "answerId": '526', "emptyOne": "", "emptyTwo": "", "operationIds": "285," + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ",287,5,31,518,521,526", "type": "" })
}
let params = {
parentId: '285,' + this.$store.state.system.businessSelect[this.$store.state.system.businessKey].id + ',287,5,31,518,521',
lcJudgmentRuleReq: formList,
projectId: +projectId,
startTime: startTime,
}
addOperation(params).then((data) => {
// this.$message({
// message: '',
// type: 'success'
// });
this.setNeedsModule(moduleName)
this.submited = 1
// this.setDataFlow({ ...this.form })
}).catch((error) => {
})
},
tableRowClassName: tableRowClassName,
getNowDate
},
computed: {
...mapGetters({
needsModule: 'system/needsModule',
inMyWork: 'system/inMyWork',
})
}
};
</script>
<style lang="scss" scoped>
@import '@/assets/css/tablebg.scss';
.wrap {
width: 100%;
.body {
margin-top: 20px !important;
}
}
/deep/ .blueText {
color: blue;
}
/deep/.el-table .warning-row {
background: oldlace;
}
/deep/.el-table .success-row {
background: #f0f9eb;
}
.submitBtn {
position: relative;
width: 200px;
font-size: 18px;
height: 45px;
margin-top: 50px;
border-radius: 10px;
bottom: 10px;
left: 50%;
transform: translate(-50%, -20%);
}
</style>

@ -59,11 +59,17 @@ export default {
// required: true // required: true
// } // }
// }, // },
computed: {
...mapState({
isCredit: state => state.system.isCredit
})
},
data () { data () {
return { return {
// onRoutes:'/counter/list/manage/consumerClient', // onRoutes:'/counter/list/manage/consumerClient',
onRoutes: '', onRoutes: '',
menus: [ menus: [],
defaultMenus: [
{ {
icon: 'menu-icon icon-index', icon: 'menu-icon icon-index',
index: '/index/list', index: '/index/list',
@ -238,29 +244,35 @@ export default {
logo: require('@/assets/img/systemInput/外汇业务.svg'), logo: require('@/assets/img/systemInput/外汇业务.svg'),
}, },
], ],
creditMenus: [
{
icon: 'menu-icon icon-index',
index: '/counter/list/manage/personalLoans',
title: '个人贷款',
logo: require('@/assets/img/systemInput/个人贷款.svg'),
},
{
icon: 'menu-icon icon-index',
index: '/counter/list/manage/onlineBank',
title: '公司贷款',
logo: require('@/assets/img/systemInput/公司贷款.svg'),
},
]
} }
}, },
watch: { watch: {
// '$route.path':function (val) {
// this.onRoutes = val
// },
needIndex (newVal) { needIndex (newVal) {
this.onRoutes = newVal this.onRoutes = newVal
} }
}, },
created () { created () {
this.menus = this.isCredit ? this.creditMenus : this.defaultMenus
const path = sessionStorage.getItem('computerPath') const path = sessionStorage.getItem('computerPath')
if (path) { if (path) {
this.onRoutes = path this.onRoutes = path
} else { } else {
this.onRoutes = this.$route.path this.onRoutes = this.$route.path
} }
// this.onRoutes = this.$route.path
// this.onRoutes = this.needIndex;
// console.log(this.onRoutes)
// console.log(this.needIndex)
// this.onRoutes = this.$route.path
}, },
methods: { methods: {
select (path) { select (path) {

@ -196,6 +196,19 @@ export default {
component: () => import('@/pages/manage/list/foreignExchange/foreignExchange.vue'), component: () => import('@/pages/manage/list/foreignExchange/foreignExchange.vue'),
meta: { title: '外汇业务' }, meta: { title: '外汇业务' },
}, },
// 个人贷款列表
{
name: `${pre}personalLoans`,
path: `personalLoans`,
component: () => import('@/pages/manage/list/personalLoans'),
meta: { title: '个人贷款' },
},
// 个人贷款详情
{
path: `personalLoansDetail`,
component: () => import('@/pages/manage/list/personalLoans/detail'),
meta: { title: '个人贷款' },
},
] ]
} }

@ -2549,6 +2549,7 @@ export default {
}, },
// 初始化公共数据 // 初始化公共数据
allDataFlow: { ...allDataFlow }, allDataFlow: { ...allDataFlow },
isCredit: false,
}, },
mutations: { mutations: {
// 设置tipDialog组件提示的信息。这个组件是根据UI设计的。 // 设置tipDialog组件提示的信息。这个组件是根据UI设计的。
@ -2998,6 +2999,10 @@ export default {
changeShowGoods(state, judge) { changeShowGoods(state, judge) {
state.showGoods = judge state.showGoods = judge
}, },
// 信贷部的标识(综合柜台跟信贷部是同一个页面,通过该标识去区分是否信贷部)
setCredit(state, val) {
state.isCredit = val
},
}, },
actions: { actions: {
}, },

Loading…
Cancel
Save