1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<template>
<div class="customer-management-information-content">
<div v-for="(item, index) in dataList" :key="index">
<table-double-view :keyValue="keyValueDouble" :data="item"></table-double-view>
<div style="height: 1px;background-color: #e0e1e2;border-left: 100px solid #fff;border-right: 100px solid #fff"></div>
</div>
</div>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import TableDoubleView from "@/public/TableDoubleView.vue";
import nettyApi from "@/constants/api/ms-netty/netty.api";
import { NativeUI } from "@/public/ts/NativeUI";
import IF from "@/public/factory/InterFaceFactory";
import Public from "@/public/ts/Public";
/**
* @Description 出账信息
* @Author JiangTao
* @Date 2021-11-10 下午 04:31
*/
@Component({
name: "BillingInformation",
components: { TableDoubleView },
})
export default class BillingInformation extends Vue {
keyValueDouble = {
PRODUCTIDName: '方案产品',
BUSINESSSUM: '贷款金额(元)',
PUTOUTSTATUS: '出账状态',
PUTOUTDATE: '出账日期'
}
dataList: any = [];
dataBasic: any = {};
mounted() {
this.selectBasicInfo();
}
//查询个人基本信息
selectBasicInfo() {
const param = {
CUSTOMERID: this.$route.query.CUSTOMERID,
tc: nettyApi.TRADE_CODE.selectPersonalBasicInfo
};
NativeUI.showWaiting('正在查询...');
return IF.transferDataInter(nettyApi.commonRq, param).then((res: any) => {
NativeUI.closeWaiting();
if (res.rc == '1') {
if (res.ArrayInfoCz && res.ArrayInfoCz.length > 0) {
for (let i = 0; i < res.ArrayInfoCz.length; i++) {
this.dataBasic = res.ArrayInfoCz[i];
this.dataBasic.BUSINESSSUM = Public.formatMoney(this.dataBasic.BUSINESSSUM,',');
this.dataList.push(this.dataBasic);
}
}
} else {
NativeUI.toast(res.msg);
}
});
}
}
</script>
<style scoped></style>