<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>