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
101
102
103
104
105
106
107
108
109
<template>
<div>
<title-bar :title="title" @clickLef="onClick">
<van-icon slot="left" name="cross" size="24" />
</title-bar>
<sub-title>清算信息</sub-title>
<div class="content">
<div class="customer-management-information-content">
<div v-if="clearInfoList.length <= 0">
<table class="customer-management-information-form">
<tr>
<td>序号</td>
<td>清算负责人</td>
<td>清算组成员</td>
</tr>
<tr>
<td colspan="3">暂无数据</td>
</tr>
</table>
</div>
<div v-else>
<table class="customer-management-information-form">
<tr>
<td>序号</td>
<td>清算负责人</td>
<td>清算组成员</td>
</tr>
<tr v-for="(item, index) in clearInfoList" :key="index">
<td>{{ index+1 }}</td>
<td>{{ item.LI_GPRINCIPAL }}</td>
<td>{{ item.LI_QMEN }}</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
import TitleBar from "@/components/general/TitleBar.vue";
import Public from "@/public/ts/Public";
import nettyApi from "@/constants/api/ms-netty/netty.api";
import { NativeUI } from "@/public/ts/NativeUI";
import IF from "@/public/factory/InterFaceFactory";
/**
* @Description 工商-清算
* @Author JiangTao
* @Date 2022-02-10 上午 11:58
*/
@Component({
name: "ClearInformation",
components: { TitleBar },
})
export default class ClearInformation extends Vue {
title = "工商-清算"; // 页面标题
clearInfoList = []; //清算历史数据
onClick() {
}
mounted() {
this.selectCustInfo();
}
/**
* @Description 清算信息查询
* @Author JiangTao
* @Date 2021-11-25 下午 05:08
*/
selectCustInfo() {
let param = {
CUST_FULL_NAME: this.$store.getters.getCusInfo.cus_name,
CERT_ARRAY_INFO: [
{
CERT_TYPE: Public.getGScode(this.$store.getters.getCusInfo.cert_type),
CERT_NO: this.$store.getters.getCusInfo.cert_code
}
],
GS_QUERY_OPTION_ARRAY: [
{
GS_QUERY_OPTION_LIST: '1'
},
{
GS_QUERY_OPTION_LIST: '24'
}
],
ProdId: Public.getProdId(),
SvrCode: Public.getSvrCode(nettyApi.TRADE_CODE.selectGSXXCX),
ClientNo: this.$store.getters.getCustInfo.cus_id,
tc: nettyApi.TRADE_CODE.selectGSXXCX
};
NativeUI.showWaiting('正在查询...');
IF.transferDataInter(nettyApi.commonRq, param).then((res: any)=> {
NativeUI.closeWaiting();
this.clearInfoList = [];
if (res.rc === '1') {
if (res.LIQUIDATION_INFO.length !== 0) {
this.clearInfoList = res.LIQUIDATION_INFO;
}
} else {
if (res.ret_code != '4999999') {
NativeUI.toast(res.msg);
}
}
});
}
}
</script>
<style scoped></style>