|
|
@@ -18,6 +18,11 @@
|
|
|
<template #expandedRowRender="{ }">
|
|
|
<BtnList :btnList="forDataBtn" />
|
|
|
</template>
|
|
|
+
|
|
|
+ <template v-if="isPingAnOem()"
|
|
|
+ #index="{ index }">
|
|
|
+ <span>{{ index + 1 }}</span>
|
|
|
+ </template>
|
|
|
<template #userinfotype="{ text }">
|
|
|
<a>{{ text === 2 ? '企业' : '个人' }}</a>
|
|
|
</template>
|
|
|
@@ -46,6 +51,9 @@ import { queryTableList, QueryCustomInfoType } from '../index';
|
|
|
import { getStatusName } from '@/common/constants/enumsName';
|
|
|
import { getCardTypeEnumItemName } from '@/common/constants/enumsName';
|
|
|
import Middle from '@/views/information/custom/compoments/controlModal/index.vue';
|
|
|
+import { isPingAnOem } from '@/common/config/projectName';
|
|
|
+import { pingan_custom_column } from '../setup';
|
|
|
+
|
|
|
export default defineComponent({
|
|
|
name: 'custom-normal',
|
|
|
components: {
|
|
|
@@ -68,6 +76,10 @@ export default defineComponent({
|
|
|
queryTable();
|
|
|
// 注册表头信息 过滤
|
|
|
registerColumn('table_pcweb_userinfo', ['userinfotype', 'nickname', 'customername', 'mobile']);
|
|
|
+ // 平安表头
|
|
|
+ if (isPingAnOem()) {
|
|
|
+ columns.value = pingan_custom_column();
|
|
|
+ }
|
|
|
});
|
|
|
return {
|
|
|
columns,
|
|
|
@@ -82,6 +94,7 @@ export default defineComponent({
|
|
|
getStatusName,
|
|
|
getCardTypeEnumItemName,
|
|
|
queryTable,
|
|
|
+ isPingAnOem,
|
|
|
};
|
|
|
},
|
|
|
});
|