|
|
@@ -18,7 +18,7 @@
|
|
|
<BtnList :btnList="forDataBtn" />
|
|
|
</template>
|
|
|
<template #userinfotype="{ text }">
|
|
|
- <a>{{ text === '2' ? '企业' : '个人' }}</a>
|
|
|
+ <a>{{ text === 2 ? '企业' : '个人' }}</a>
|
|
|
</template>
|
|
|
<template #status="{ text }">
|
|
|
<a>{{ getStatusName(text) }}</a>
|
|
|
@@ -34,7 +34,16 @@
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
-import { defineComponent, initData, getTableColumns, getTableEvent, getBtnList, contextMenu, BtnList } from '@/common/export/table';
|
|
|
+ import {
|
|
|
+ defineComponent,
|
|
|
+ initData,
|
|
|
+ getTableColumns,
|
|
|
+ getTableEvent,
|
|
|
+ getBtnList,
|
|
|
+ contextMenu,
|
|
|
+ BtnList,
|
|
|
+ _getBtnList
|
|
|
+ } from '@/common/export/table';
|
|
|
|
|
|
import { filterCustomTable } from '../../compoments';
|
|
|
import { queryTableList, QueryCustomInfoType } from '../index';
|
|
|
@@ -55,8 +64,10 @@ export default defineComponent({
|
|
|
const { columns, registerColumn, updateColumn } = getTableColumns();
|
|
|
// 表格事件
|
|
|
const { expandedRowKeys, selectedRow, Rowclick } = getTableEvent<QhjCustomer>({});
|
|
|
+
|
|
|
// 表格操作按钮列表
|
|
|
- const { commonBtn, forDataBtn } = getBtnList('platinum_custom_info_normal', true);
|
|
|
+ const [commonBtn, forDataBtn] = _getBtnList('platinum_custom_info_normal', true).value;
|
|
|
+
|
|
|
// 表格列表数据
|
|
|
const { loading, tableList, queryTable } = queryTableList();
|
|
|
initData(() => {
|
|
|
@@ -68,7 +79,6 @@ export default defineComponent({
|
|
|
|
|
|
return {
|
|
|
columns,
|
|
|
-
|
|
|
expandedRowKeys,
|
|
|
selectedRow,
|
|
|
Rowclick,
|