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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<template>
<div class="d-page d-flex flex-column">
<title-bar
title="客户及所在集团在我行在途业务申请情况"
@clickLeft="onClick"
>
<van-icon slot="left" name="cross" size="24" />
</title-bar>
<!-- <van-index-bar highlight-color="#F79400" :index-list="indexList">
<van-index-anchor index="客户及所在集团在我行在途业务申请情况">
<sub-title>客户及所在集团在我行在途业务申请情况</sub-title>
</van-index-anchor>
<application-status-form></application-status-form>
</van-index-bar> -->
<anchor-nav v-if="itemData.length != 0" ref="anchorNav" :navList="navList">
<template>
<div slot="applyBusiness">
<!-- 申请关联信息 -->
<div v-for="(item, index) in itemData" :key="index">
<table-double-view
:data="item"
:keyValue="keyValueBasic"
></table-double-view>
</div>
</div>
</template>
</anchor-nav>
<div v-else align="center">
<img
src="@/assets/images/nodata.png"
style="width: 40%; margin-top: 137px"
/>
</div>
</div>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import TitleBar from "@/components/general/TitleBar.vue";
import ApplicationStatusForm from "@/components/customer-information/business-application-status/application-status/ApplicationStatusForm.vue";
import nettyApi from "@/constants/api/ms-netty/netty.api.ts";
import IF from "@/public/factory/InterFaceFactory";
import { NativeUI } from "@/public/ts/NativeUI";
import TableDoubleView from "@/public/TableDoubleView.vue";
import TableSingleView from "@/public/TableSingleView.vue";
/**
*@description: 企业存量业务查询
*@author: wanghang
*@date: 2022-02-19
*/
@Component({
name: "ApplicationStatus",
components: { TitleBar, ApplicationStatusForm },
})
export default class ApplicationStatus extends Vue {
pageTitle = ""; // 页面标题
indexList = ["客户及所在集团在我行在途业务申请情况"];
itemData: any = [];
navList = [
{ key: "applyBusiness", titleText: "客户及所在集团在我行在途业务申请情况" },
];
keyValueBasic = {
rel_type: "关联类型",
cus_name: "客户名称",
prd_name: "产品名称",
start_date: "申请日期",
ty_amount: "申请金额",
};
onClick() {
this.$router.go(-1);
}
mounted() {
this.pageTitle = this.$route.meta?.name;
this.selectCustInfo();
}
selectCustInfo(pageNo = 1) {
let param = {
cus_id: this.$store.getters.getCusInfo.cus_id,
tc: nettyApi.TRADE_CODE.selectZTYW,
};
NativeUI.closeWaiting();
NativeUI.showWaiting("正在查询...");
return IF.transferDataInter(nettyApi.commonRq, param).then((res: any) => {
NativeUI.closeWaiting();
if (res.rc === "1") {
if (res.GrpMemberApplyInfoList.length !== 0) {
this.itemData = res.GrpMemberApplyInfoList;
}
} else {
NativeUI.toast(res.msg);
}
});
}
}
</script>
<style scoped></style>