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.
59 lines
2.7 KiB
59 lines
2.7 KiB
<template>
|
|
<div class="h-full">
|
|
<w-grid
|
|
ref="defaultHistGridRef"
|
|
title="违约认定历史记录列表"
|
|
:data-url="Environment.apiContextPath('api/irbs/defaultCognizance/query')"
|
|
:fetch-data-url="Environment.apiContextPath('api/irbs/defaultCognizance/query')"
|
|
:sort-no="true"
|
|
:checkbox-selection="false"
|
|
:query-form-cols-num="3"
|
|
:query-form-fields="defaultHistGrid.queryFormFields"
|
|
:columns="defaultHistGrid.columns"
|
|
:toolbar-actions="defaultHistGrid.buttons"
|
|
:pageable="true"
|
|
:pagination="{
|
|
sortBy: '-lastModifyDate',
|
|
descending: true,
|
|
}"
|
|
></w-grid>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref, reactive } from 'vue';
|
|
import { useQuasar } from 'quasar';
|
|
import { Environment, EnumTools, DictionaryTools, Options, Formater, axios, NotifyManager, Tools } from 'platform-core';
|
|
import { RatingLevelOptions, DefaultTypeOptions, CustTypeOptions, isValidFormat, defaultIndFormat, defaultTypeFormat, custTypeFormat } from './QueryItems.ts';
|
|
|
|
const $q = useQuasar();
|
|
const defaultHistGridRef = ref();
|
|
|
|
const defaultHistGrid = {
|
|
buttons: [['query', 'separator', 'moreQuery'], 'reset', 'separator', 'export'],
|
|
queryFormFields: [
|
|
{ label: '客户编号', name: 'custNo', type: 'text' },
|
|
{ label: '客户名称', name: 'custName', type: 'text' },
|
|
{ label: '客户类型', name: 'custType', type: 'select', options: CustTypeOptions },
|
|
{ label: '违约前评级', name: 'ratingLevelHis', type: 'select', options: RatingLevelOptions },
|
|
{ label: '违约认定类型', name: 'defaultType', type: 'select', options: DefaultTypeOptions },
|
|
{ label: '客户经理名称', name: 'managerName', type: 'text' },
|
|
{ label: '所属机构', name: 'mgerOrgNm', type: 'text' },
|
|
],
|
|
columns: [
|
|
{ label: '客户编号', name: 'custNo' },
|
|
{ label: '客户名称', name: 'custName' },
|
|
{ label: '客户类型', name: 'custType', format: custTypeFormat },
|
|
{ label: '违约认定类型', name: 'defaultType', format: defaultTypeFormat },
|
|
{ label: '违约前评级', name: 'ratingLevelHis' },
|
|
{ label: '自动违约原因', name: 'defaultReason' },
|
|
{ label: '人工违约原因', name: 'defaultPensonReason' },
|
|
{ label: '违约发起时间', name: 'createDate', format: Formater.dateOnly() },
|
|
{ label: '违约生效时间', name: 'effectiveDate', format: Formater.dateOnly() },
|
|
{ label: '违约失效时间', name: 'rebirtheInvalidDate', format: Formater.dateOnly() },
|
|
{ label: '是否有效', name: 'valid', format: defaultIndFormat },
|
|
{ label: '客户经理名称', name: 'managerName' },
|
|
{ label: '所属机构', name: 'mgerOrgNm' },
|
|
],
|
|
};
|
|
</script>
|
|
|