|
|
@@ -9,11 +9,17 @@
|
|
|
<template #expandedRowRender="{ record }">
|
|
|
<mtp-table-button class="btn-list-sticky" :buttons="buttons" :record="record" @click="openComponent" />
|
|
|
</template>
|
|
|
- <template #contracttype="{ text }">
|
|
|
- <a>{{ getPlanContractType(text) }}</a>
|
|
|
+ <template #status="{ text }">
|
|
|
+ <a>{{ getStatusName(text) }}</a>
|
|
|
</template>
|
|
|
- <template #hedgeplanstatus="{ text }">
|
|
|
- <a>{{ getPlanStatusName(text) }}</a>
|
|
|
+ <template #userinfotype="{ text }">
|
|
|
+ <a>{{ getUserInfoTypeName(text) }}</a>
|
|
|
+ </template>
|
|
|
+ <template #attachment1="{ text,record }">
|
|
|
+ <a>{{ text }}</a><a>{{ record.attachment2 }}</a>
|
|
|
+ </template>
|
|
|
+ <template #cardtype="{ text }">
|
|
|
+ <a>{{ getCardTypeEnumItemName(text) }}</a>
|
|
|
</template>
|
|
|
</a-table>
|
|
|
<!-- 右键 -->
|
|
|
@@ -29,7 +35,7 @@ import { ComposeTableParam, contextMenu, defineAsyncComponent, defineComponent,
|
|
|
import { getTableButton } from '@/common/setup/table/button';
|
|
|
import { QueryCustomInfo } from '@/services/go/ermcp/customInfo';
|
|
|
import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
|
|
|
-import { getPlanContractType, getPlanStatusName } from '@/views/business/plan/setup';
|
|
|
+import { getUserInfoTypeName, getStatusName ,getCardTypeEnumItemName} from '@/common/constants/enumsName';
|
|
|
import Filter from './compoments/filterTable/index.vue';
|
|
|
import { pingan_custom_column } from './setup';
|
|
|
|
|
|
@@ -84,12 +90,13 @@ export default defineComponent({
|
|
|
...handleComposeTable<QueryCustomInfoType>(param),
|
|
|
loading,
|
|
|
tableList,
|
|
|
- getPlanStatusName,
|
|
|
- getPlanContractType,
|
|
|
+ getStatusName,
|
|
|
buttons,
|
|
|
addButton,
|
|
|
pingan_custom_column,
|
|
|
isPingAnOem,
|
|
|
+ getUserInfoTypeName,
|
|
|
+ getCardTypeEnumItemName
|
|
|
};
|
|
|
},
|
|
|
});
|