parent
b5a1982168
commit
5ccfd2aa1f
10 changed files with 908 additions and 592 deletions
@ -0,0 +1,445 @@ |
||||
<!-- 信用评估 --> |
||||
<template> |
||||
<div> |
||||
<el-row :gutter="20" style="margin: 0"> |
||||
<el-form ref="form" :model="form" label-width="140px" :rules="rules"> |
||||
<el-col :span="24"> |
||||
<h6 class="l-title">申请人个人信息</h6> |
||||
</el-col> |
||||
<el-col :span="10" :offset="1"> |
||||
<el-form-item label="账号"> |
||||
<el-input v-model="form.customerName"></el-input> |
||||
</el-form-item> |
||||
<el-form-item label="证件号码"> |
||||
<el-input v-model="form.customerName"></el-input> |
||||
</el-form-item> |
||||
<el-form-item label="抵押房产地址"> |
||||
<el-input v-model="form.customerName"></el-input> |
||||
</el-form-item> |
||||
<el-form-item label="婚姻状况"> |
||||
<el-radio-group v-model="form.marriage"> |
||||
<el-radio :label="1">未婚</el-radio> |
||||
<el-radio :label="2">已婚</el-radio> |
||||
<el-radio :label="3">离异</el-radio> |
||||
</el-radio-group> |
||||
</el-form-item> |
||||
<el-form-item label="在袋鼠互联网科技有限公司购买社保" label-width="280px"> |
||||
<el-radio-group v-model="form.marriage"> |
||||
<el-radio :label="1">是</el-radio> |
||||
<el-radio :label="2">否</el-radio> |
||||
</el-radio-group> |
||||
</el-form-item> |
||||
</el-col> |
||||
<el-col :span="10" :offset="1"> |
||||
<el-form-item label="客户名称"> |
||||
<el-input v-model="form.customerName"></el-input> |
||||
</el-form-item> |
||||
<el-form-item label="联系电话"> |
||||
<el-input v-model="form.customerName"></el-input> |
||||
</el-form-item> |
||||
<el-form-item label="与袋鼠互联网科技有限公司合作年限" label-width="280px"> |
||||
<el-input v-model="form.customerName"></el-input> |
||||
</el-form-item> |
||||
<el-form-item label="在袋鼠互联网科技有限公司签订劳动合同" label-width="300px"> |
||||
<el-radio-group v-model="form.marriage"> |
||||
<el-radio :label="1">是</el-radio> |
||||
<el-radio :label="2">否</el-radio> |
||||
</el-radio-group> |
||||
</el-form-item> |
||||
<el-form-item label="住址情况"> |
||||
<el-radio-group v-model="form.marriage"> |
||||
<el-radio :label="1">购置</el-radio> |
||||
<el-radio :label="2">按揭中</el-radio> |
||||
</el-radio-group> |
||||
</el-form-item> |
||||
</el-col> |
||||
|
||||
<el-col :span="24" style="margin-top: 20px"> |
||||
<h6 class="l-title">还款来源</h6> |
||||
</el-col> |
||||
<el-col :span="24"> |
||||
<el-form-item> |
||||
<div class="flex"> |
||||
<span class="req">*</span> |
||||
<el-checkbox v-model="checked">自行筹款,到期还款</el-checkbox> |
||||
<div class="inline-flex m-l-40"> |
||||
<el-checkbox v-model="checked"></el-checkbox> |
||||
<span class="m-l-20 m-r-5" style="white-space: nowrap;">其他:</span> |
||||
<el-input v-model="form.customerName" size="small"></el-input> |
||||
</div> |
||||
</div> |
||||
</el-form-item> |
||||
</el-col> |
||||
|
||||
|
||||
<el-col :span="24" style="margin-top: 20px"> |
||||
<h6 class="l-title">用途</h6> |
||||
</el-col> |
||||
<el-col :span="24"> |
||||
<el-form-item> |
||||
<div class="flex"> |
||||
<span class="req">*</span> |
||||
<el-checkbox-group v-model="purpose"> |
||||
<el-checkbox label="支付材料款"></el-checkbox> |
||||
<el-checkbox label="支付人工费"></el-checkbox> |
||||
<el-checkbox label="支付研发费"></el-checkbox> |
||||
</el-checkbox-group> |
||||
<div class="inline-flex m-l-40"> |
||||
<el-checkbox v-model="checked"></el-checkbox> |
||||
<span class="m-l-20 m-r-5" style="white-space: nowrap;">其他:</span> |
||||
<el-input v-model="form.customerName" size="small"></el-input> |
||||
</div> |
||||
</div> |
||||
</el-form-item> |
||||
</el-col> |
||||
|
||||
|
||||
<el-col :span="24" style="margin-top: 20px"> |
||||
<h6 class="l-title">申请人特别说明(选填)</h6> |
||||
</el-col> |
||||
<el-col :span="24"> |
||||
<el-input v-model="form.customerName" type="textarea" placeholder="请输入申请述求"></el-input> |
||||
</el-col> |
||||
|
||||
<el-col :span="24" style="margin-top: 20px"> |
||||
<h6 class="l-title">附件 请上传</h6> |
||||
</el-col> |
||||
<el-col :span="24"> |
||||
<div class="text-center"> |
||||
<el-upload class="m-b-20" action="https://jsonplaceholder.typicode.com/posts/"> |
||||
<el-button size="small" type="primary">上传法人身份证</el-button> |
||||
</el-upload> |
||||
<el-upload class="m-b-20" action="https://jsonplaceholder.typicode.com/posts/"> |
||||
<el-button size="small" type="primary">上传抵押物房产证</el-button> |
||||
</el-upload> |
||||
</div> |
||||
</el-col> |
||||
</el-form> |
||||
</el-row> |
||||
|
||||
|
||||
<div class="text-center"> |
||||
<el-button @click="submitForm" type="primary" class="submitBtn" v-throttle>提交</el-button> |
||||
</div> |
||||
</div> |
||||
</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', |
||||
purpose: [], |
||||
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: '证件类型', |
||||
purpose: [] |
||||
}, |
||||
rules: { |
||||
customerName: vercustomer, |
||||
currency: [ |
||||
{ |
||||
required: true, |
||||
message: '请选择币种', |
||||
trigger: 'blur' |
||||
} |
||||
], |
||||
source: [ |
||||
{ |
||||
required: true, |
||||
message: '请选择钞汇标识', |
||||
trigger: 'change' |
||||
} |
||||
], |
||||
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 () { |
||||
|
||||
}, |
||||
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> |
||||
.l-title { |
||||
margin-bottom: 15px; |
||||
font-size: 18px; |
||||
font-weight: 600; |
||||
} |
||||
|
||||
.line { |
||||
margin: 20px 0; |
||||
border-bottom: 1px dashed #d7d7d7; |
||||
} |
||||
</style> |
@ -0,0 +1,89 @@ |
||||
<!-- 导入报表 --> |
||||
<template> |
||||
<div> |
||||
<div class="upload-wrap"> |
||||
<Upload @onSuccess="uploadSuccess"> |
||||
<div slot="trigger"> |
||||
<el-button type="primary">点击导入资产负债表</el-button> |
||||
</div> |
||||
<template slot="tip"> |
||||
<div></div> |
||||
</template> |
||||
</Upload> |
||||
<img class="icon" src="@/assets/img/arrow-right.png" alt=""> |
||||
<Upload @onSuccess="uploadSuccess"> |
||||
<div slot="trigger"> |
||||
<el-button type="primary">点击导入损益表</el-button> |
||||
</div> |
||||
<template slot="tip"> |
||||
<div></div> |
||||
</template> |
||||
</Upload> |
||||
<img class="icon" src="@/assets/img/arrow-right.png" alt=""> |
||||
<Upload @onSuccess="uploadSuccess"> |
||||
<div slot="trigger"> |
||||
<el-button type="primary">点击导入现金流量表</el-button> |
||||
</div> |
||||
<template slot="tip"> |
||||
<div></div> |
||||
</template> |
||||
</Upload> |
||||
</div> |
||||
|
||||
<div class="text-center m-t-20"> |
||||
<el-button @click="$emit('updateStep', 0)" type="primary" class="submitBtn" v-throttle>上一步</el-button> |
||||
<el-button @click="next" type="primary" class="submitBtn" v-throttle>下一步</el-button> |
||||
</div> |
||||
</div> |
||||
</template> |
||||
<script> |
||||
import Upload from '@/components/upload'; |
||||
|
||||
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: { |
||||
Upload |
||||
}, |
||||
created () { |
||||
|
||||
}, |
||||
data () { |
||||
return { |
||||
|
||||
} |
||||
}, |
||||
mounted () { |
||||
|
||||
}, |
||||
methods: { |
||||
uploadSuccess (file) { |
||||
this.fileId = '' |
||||
this.fileType = file.format |
||||
this.fileUrl = file.url |
||||
this.fileName = file.name |
||||
}, |
||||
next () { |
||||
this.$emit('updateStep', 2) |
||||
}, |
||||
}, |
||||
} |
||||
</script> |
||||
<style lang='scss' scoped> |
||||
.upload-wrap { |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
min-height: 300px; |
||||
|
||||
.icon { |
||||
margin: 0 40px; |
||||
} |
||||
} |
||||
</style> |
@ -1,82 +0,0 @@ |
||||
<!-- 导入报表 --> |
||||
<template> |
||||
<div class="upload-wrap"> |
||||
<Upload @onSuccess="uploadSuccess"> |
||||
<div slot="trigger"> |
||||
<el-button type="primary">点击导入资产负债表</el-button> |
||||
</div> |
||||
<template slot="tip"> |
||||
<div></div> |
||||
</template> |
||||
</Upload> |
||||
<img class="icon" |
||||
src="@/assets/img/arrow-right.png" |
||||
alt=""> |
||||
<Upload @onSuccess="uploadSuccess"> |
||||
<div slot="trigger"> |
||||
<el-button type="primary">点击导入损益表</el-button> |
||||
</div> |
||||
<template slot="tip"> |
||||
<div></div> |
||||
</template> |
||||
</Upload> |
||||
<img class="icon" |
||||
src="@/assets/img/arrow-right.png" |
||||
alt=""> |
||||
<Upload @onSuccess="uploadSuccess"> |
||||
<div slot="trigger"> |
||||
<el-button type="primary">点击导入现金流量表</el-button> |
||||
</div> |
||||
<template slot="tip"> |
||||
<div></div> |
||||
</template> |
||||
</Upload> |
||||
</div> |
||||
</template> |
||||
<script> |
||||
import Upload from '@/components/upload'; |
||||
|
||||
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: { |
||||
Upload |
||||
}, |
||||
created () { |
||||
|
||||
}, |
||||
data () { |
||||
return { |
||||
|
||||
} |
||||
}, |
||||
mounted () { |
||||
|
||||
}, |
||||
methods: { |
||||
uploadSuccess (file) { |
||||
this.fileId = '' |
||||
this.fileType = file.format |
||||
this.fileUrl = file.url |
||||
this.fileName = file.name |
||||
}, |
||||
}, |
||||
} |
||||
</script> |
||||
<style lang='scss' scoped> |
||||
.upload-wrap { |
||||
display: flex; |
||||
justify-content: center; |
||||
align-items: center; |
||||
height: 100%; |
||||
.icon { |
||||
margin: 0 40px; |
||||
} |
||||
} |
||||
</style> |
Loading…
Reference in new issue