Commit 158ffd9e authored by linxin's avatar linxin

add

parent 2148eb1f
......@@ -3,7 +3,7 @@
<list-item :item-height="44">
<item @click.native="type=1;sendDown()">
<div slot="name">身份证</div>
<span slot="content">
<span slot="content" @click="getDetail">
<img src="@/assets/intoApproval/download.png" >下载在线查看
</span>
</item>
......@@ -33,7 +33,6 @@ export default {
data () {
return {
type: 0,
baseInfo: {},
}
},
methods: {
......
......@@ -20,7 +20,7 @@
<button class="appro" @click="confirm">同意</button>
</div>
</div>
<div v-if="downNum" class="modal-show">
<div v-if="downNum==1" class="modal-show">
<div class="down">
<div class="top">
身份证
......@@ -37,8 +37,59 @@
<button @click="confirm">下载</button>
</div>
</div>
<div v-if="downNum==2" class="modal-show">
<div class="down">
<div class="top">
营业执照
<img src="@/assets/intoApproval/close.png" @click="downNum=false" >
</div>
<div class="down-content">
<div>
<img src="@/assets/intoApproval/front.png" >
</div>
<div>
<img src="@/assets/intoApproval/back.png" >
</div>
</div>
<button @click="confirm">下载</button>
</div>
</div>
<div v-if="downNum==3" class="modal-show">
<div class="down">
<div class="top">
银行卡
<img src="@/assets/intoApproval/close.png" @click="downNum=false" >
</div>
<div class="down-content">
<div>
<img src="@/assets/intoApproval/front.png" >
</div>
<div>
<img src="@/assets/intoApproval/back.png" >
</div>
</div>
<button @click="confirm">下载</button>
</div>
</div>
<div v-if="downNum==4" class="modal-show">
<div class="down">
<div class="top">
征信授权书
<img src="@/assets/intoApproval/close.png" @click="downNum=false" >
</div>
<div class="down-content">
<div>
<img src="@/assets/intoApproval/front.png" >
</div>
<div>
<img src="@/assets/intoApproval/back.png" >
</div>
</div>
<button @click="confirm">下载</button>
</div>
</div>
<h-header :proportion="[5,1,1]" class="header">
<div slot="left" class="h-header-btn" @click="$routeGo(-2)">
<div slot="left" class="h-header-btn" @click="$routeGo(-1)">
<img src="@/assets/intoApproval/arrow.png" >
<span>进件审批</span>
</div>
......@@ -49,11 +100,11 @@
<list-item :item-height="44">
<item>
<div slot="name">业务经办</div>
<input slot="content" v-model="personInfo.bp_id_user" readonly >
<input slot="content" v-model="personInfo.bp_id_user_n" readonly >
</item>
<item>
<div slot="name">经销商</div>
<input slot="content" v-model="personInfo.bp_id_agent" >
<input slot="content" v-model="personInfo.bp_id_agent_n" >
</item>
</list-item>
<div class="userInfo">承租人信息</div>
......@@ -295,6 +346,10 @@ export default {
rentInfo: {},
bondsInfo: [],
confirm_note: '',
files: [],
accInfo: [],
check_id: '',
idCard_check_id: '',
personInfo: {
bp_name_sp: '',
id_card_no: '',
......@@ -347,6 +402,7 @@ export default {
mounted () {
this.getBonds()
this.popProtocol()
this.getList()
this.isConfirm = this.$route.params.isConfirm
},
methods: {
......@@ -391,6 +447,38 @@ export default {
}
})
},
getDetail () {
let vm = this
let url = process.env.basePath + 'attachment_list_query'
let param = {
check_id: vm.check_id,
}
vm.hlsPopup.showLoading('数据加载中!')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.files = res.lists
}
})
},
getList () {
let vm = this
let url = process.env.basePath + 'prj_cdd_check_list_query'
let param = {
'master': {
document_id: '7730',
document_table: 'HLS_BP_MASTER',
tab_group: 'HLS_NP',
},
}
vm.hlsPopup.showLoading('数据加载中!')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.accInfo = res.lists
}
})
},
getBonds () {
let vm = this
let url = process.env.basePath + 'prj_guarantor_list_query'
......
......@@ -7,7 +7,7 @@
<span>还款计划</span>
</div>
</h-header>
<img v-if="none" class="noData" src="@/assets/intoApproval/none.jpg">
<img v-if="none" class="noData" src="@/assets/intoApproval/none.jpg" >
<div v-if="dataNone" class="top-content">
<span class="top-tittle">融资额(元)</span>
<span class="num">{{ info.finance_amount|NumFormat }}</span>
......@@ -35,13 +35,19 @@
</div>
</div>
<h-content v-if="dataNone">
<div class="header-top-bar">
<span/>
<span>日期</span>
<span>现金流项目</span>
<span>应还金额</span>
</div>
<table>
<tr>
<!-- <thead class="top-bar">
<th />
<th>日期</th>
<th>现金流项目</th>
<th>应还金额</th>
</tr>
</thead>-->
<tr v-for="(item,index) in lists" :key="index">
<td>{{ index+1 }}</td>
<td>{{ item.due_date|timeFormat }}</td>
......@@ -58,14 +64,17 @@ export default {
NumFormat: function (value) {
if (!value) return '0.00'
var intPart = Number(value) | 0 // 获取整数部分
var intPartFormat = intPart.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,') // 将整数部分逢三一断
var intPartFormat = intPart
.toString()
.replace(/(\d)(?=(?:\d{3})+$)/g, '$1,') // 将整数部分逢三一断
var floatPart = '.00' // 预定义小数部分
var value2Array = value.split('.')
// =2表示数据有小数位
if (value2Array.length === 2) {
floatPart = value2Array[1].toString() // 拿到小数部分
if (floatPart.length === 1) { // 补0,实际上用不着
if (floatPart.length === 1) {
// 补0,实际上用不着
return intPartFormat + '.' + floatPart + '0'
} else {
return intPartFormat + '.' + floatPart
......@@ -74,7 +83,7 @@ export default {
return intPartFormat + floatPart
}
},
'timeFormat': function (time) {
timeFormat: function (time) {
var date = new Date(time)
var y = date.getFullYear()
var m = date.getMonth() + 1
......@@ -143,7 +152,6 @@ export default {
}
},
},
}
</script>
<style lang="less" scoped>
......@@ -183,13 +191,13 @@ export default {
}
.line::before {
content: "";
display:inline-block;
width:2px;
height:12px;
display: inline-block;
width: 2px;
height: 12px;
background-color: #ffffff;
position: relative;
left: -5px;
top:2px;
top: 2px;
}
.left {
float: left;
......@@ -238,6 +246,7 @@ export default {
table {
width: 100%;
text-align: center;
margin-top: 44px;
th {
height: 40px;
line-height: 40px;
......@@ -246,8 +255,6 @@ export default {
font-size: 14px;
color: #383f45;
letter-spacing: 0;
display:fixed;
top:0px;
}
th:first-child {
width: 15%;
......@@ -276,9 +283,43 @@ export default {
letter-spacing: 0;
}
}
.noData{
width:100%;
.noData {
width: 100%;
// height:100%
}
.header-top-bar {
width: 100%;
// display: flex;
height: 40px;
line-height: 40px;
text-align: center;
background-color: #fafafa;
// justify-content: space-around;
border-bottom: 1px solid #d9dbdf;
position: fixed;
span {
display: inline-block;
// float: left;
text-align: center;
font-family: PingFangSC-Semibold;
font-size: 14px;
color: #383f45;
letter-spacing: 0;
}
span:nth-of-type(1) {
float:left;
}
span:nth-of-type(2) {
margin-left: 45px;
}
span:nth-of-type(3) {
margin-left: 31px;
}
span:nth-of-type(4) {
float:right;
margin-right: 61px;
}
}
}
</style>
......@@ -143,6 +143,7 @@ export default {
let param = {
user_phone: window.localStorage.user_phone,
}
vm.hlsPopup.showLoading('数据加载中,请稍后!')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
......
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