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
110
111
112
113
114
115
<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="unusualMngInfoList.length > 0 ">
<table class="customer-management-information-form">
<tr>
<td style="width:10%" >列入时间</td>
<td style="width:10%">列入机关</td>
<td style="width:35%">列入原因</td>
<td style="width:10%">移出时间</td>
<td style="width:35%">移出原因</td>
</tr>
<tr v-for="(item, index) in unusualMngInfoList" :key="index">
<td>{{ item.ABNTIME }}</td>
<td>{{ item.IN_REGORG }}</td>
<td>{{ item.SPECAUSE }}</td>
<td>{{ item.EABNTIME }}</td>
<td>{{ item.ERECCAUSE }}</td>
</tr>
</table>
</div>
<div v-else>
<table class="customer-management-information-form">
<tr>
<td style="width:10%" >列入时间</td>
<td style="width:10%">列入机关</td>
<td style="width:35%">列入原因</td>
<td style="width:10%">移出时间</td>
<td style="width:35%">移出原因</td>
</tr>
<tr>
<td colspan="5">暂无数据</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: "YCJYMLView",
components: { TitleBar },
})
export default class YCJYMLView extends Vue {
title = "工商-异常经营名录"; // 页面标题
unusualMngInfoList = [] ; //异常经营列表
onClick() {
}
mounted() {
this.selectCustInfo();
}
/**
* @Description 经营风险查询
* @Author JiangTao
* @Date 2021-11-25 下午 04:57
*/
selectCustInfo(pageNo = 1) {
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: '8'
}
],
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.unusualMngInfoList = [];
if (res.rc === '1') {
if (res.GOV_EXCEPTIONREASON_ARRAY.length !== 0) {
this.unusualMngInfoList = res.GOV_EXCEPTIONREASON_ARRAY;
}
} else {
if (res.ret_code != '4999999') {
NativeUI.toast(res.msg);
}
}
});
}
}
</script>
<style scoped></style>