You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1.2 KiB

<template>
<w-grid
ref="creditReportGridRef"
title="征信报告"
:dense="rating.dense"
:pageable="false"
:hide-bottom="true"
:auto-fetch-data="false"
:fetch-data-url="Environment.apiContextPath('api/irbs/creditReport')"
:checkbox-selection="false"
:config-button="false"
:columns="[
{ name: 'id', label: '报告号' },
{ name: 'custNo', label: '客户号' },
{ name: 'entName', label: '客户名称' },
{ name: 'reportDate', label: '报告日期', format: Formater.dateOnly() },
{ name: 'expiryDate', label: '征信有效期', format: Formater.dateOnly() },
{ name: 'blankInd', label: '是否白户', slot: 'isValid' },
]"
:query-criteria="{
fieldName: 'custNo',
operator: 'equals',
value: '',
}"
></w-grid>
</template>
<script setup lang="ts">
import { ref, inject } from 'vue';
import { Formater, Environment } from 'platform-core';
import { Rating } from '@/views/custRating/company/ts/Rating';
const rating = <Rating>inject('rating');
const creditReportGridRef = ref();
const getCreditReportGridRef = () => {
return creditReportGridRef.value;
};
rating.refs.setCreditReportGridRefFunction(getCreditReportGridRef);
</script>