|
@@ -1,92 +0,0 @@
|
|
|
-<template>
|
|
|
|
|
- <!-- 客户信息: 正常 -->
|
|
|
|
|
- <div class="custom_info_checkpending"
|
|
|
|
|
- :loading="loading">
|
|
|
|
|
- <filterCustomTable @search="search">
|
|
|
|
|
- <BtnList :btnList="commonBtn" />
|
|
|
|
|
- </filterCustomTable>
|
|
|
|
|
- <contextMenu :contextMenuList="forDataBtn">
|
|
|
|
|
- <a-table :columns="columns"
|
|
|
|
|
- class="topTable hiddenFirstCol"
|
|
|
|
|
- :pagination="false"
|
|
|
|
|
- :expandedRowKeys="expandedRowKeys"
|
|
|
|
|
- :customRow="Rowclick"
|
|
|
|
|
- rowKey="key"
|
|
|
|
|
- :data-source="tableList">
|
|
|
|
|
- <!-- 额外的展开行 -->
|
|
|
|
|
- <template #expandedRowRender="{ }">
|
|
|
|
|
- <BtnList :btnList="forDataBtn" />
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #userinfotype="{ text }">
|
|
|
|
|
- <a>{{ text === '2' ? '企业' : '个人' }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #status="{ text }">
|
|
|
|
|
- <a>{{ getStatusName(text) }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #cardtype="{ text }">
|
|
|
|
|
- <a>{{ getCardTypeEnumItemName(text) }}</a>
|
|
|
|
|
- </template>
|
|
|
|
|
- </a-table>
|
|
|
|
|
- </contextMenu>
|
|
|
|
|
- <Middle :selectedRow="selectedRow"
|
|
|
|
|
- @refresh="queryTable" />
|
|
|
|
|
- </div>
|
|
|
|
|
-</template>
|
|
|
|
|
-
|
|
|
|
|
-<script lang="ts">
|
|
|
|
|
-import { defineComponent, initData, getTableColumns, getTableEvent, getBtnList, contextMenu, BtnList } from '@/common/export/table';
|
|
|
|
|
-
|
|
|
|
|
-import { filterCustomTable } from '../../compoments';
|
|
|
|
|
-import { queryTableList, QueryCustomInfoType } from '../index';
|
|
|
|
|
-import { getStatusName } from '@/common/constants/enumsName';
|
|
|
|
|
-import { getCardTypeEnumItemName } from '@/common/constants/enumsName';
|
|
|
|
|
-import Middle from '@/views/platinum/platinum_customer_info/compoments/controlModal/index.vue';
|
|
|
|
|
-import {getUserId} from "@/services/bus/account";
|
|
|
|
|
-
|
|
|
|
|
-export default defineComponent({
|
|
|
|
|
- name: 'custom_info_checkpending',
|
|
|
|
|
- components: {
|
|
|
|
|
- filterCustomTable,
|
|
|
|
|
- contextMenu,
|
|
|
|
|
- BtnList,
|
|
|
|
|
- Middle,
|
|
|
|
|
- },
|
|
|
|
|
- setup() {
|
|
|
|
|
- // 表头数据
|
|
|
|
|
- const { columns, registerColumn, updateColumn } = getTableColumns();
|
|
|
|
|
- // 表格事件
|
|
|
|
|
- const { expandedRowKeys, selectedRow, Rowclick } = getTableEvent<QueryCustomInfoType>({});
|
|
|
|
|
- // 表格操作按钮列表
|
|
|
|
|
- const { commonBtn, forDataBtn } = getBtnList('custom_info_checkpending', true);
|
|
|
|
|
- // 表格列表数据
|
|
|
|
|
- const { loading, tableList, queryTable } = queryTableList();
|
|
|
|
|
- initData(() => {
|
|
|
|
|
- // 获取列表数据
|
|
|
|
|
- queryTable(2, getUserId());
|
|
|
|
|
- // 注册表头信息 过滤
|
|
|
|
|
- registerColumn('table_pcweb_qhj_customer_info', ['userinfotype', 'nickname', 'contactname', 'mobile']);
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
- return {
|
|
|
|
|
- columns,
|
|
|
|
|
-
|
|
|
|
|
- expandedRowKeys,
|
|
|
|
|
- selectedRow,
|
|
|
|
|
- Rowclick,
|
|
|
|
|
- commonBtn,
|
|
|
|
|
- forDataBtn,
|
|
|
|
|
- loading,
|
|
|
|
|
- tableList,
|
|
|
|
|
- search,
|
|
|
|
|
- getStatusName,
|
|
|
|
|
- getCardTypeEnumItemName,
|
|
|
|
|
- queryTable,
|
|
|
|
|
- };
|
|
|
|
|
- },
|
|
|
|
|
-});
|
|
|
|
|
-</script>
|
|
|
|
|
-
|
|
|
|
|
-<style lang="less">
|
|
|
|
|
-.custom_info_checkpending {
|
|
|
|
|
-}
|
|
|
|
|
-</style>
|
|
|