diff --git a/src/views/sdy/shopDealerApply/index.vue b/src/views/sdy/shopDealerApply/index.vue index 30b3c7a..5eaa246 100644 --- a/src/views/sdy/shopDealerApply/index.vue +++ b/src/views/sdy/shopDealerApply/index.vue @@ -21,7 +21,9 @@ - 跟进中 + 跟进中 已签约 已取消 @@ -40,7 +42,9 @@ {{ record.comments }} - {{ record.updateTime }} + {{ + record.updateTime + }} @@ -50,21 +54,21 @@ - + 编辑 - + - + 已签约 - + - + 驳回 - + - + 删除 @@ -83,358 +87,372 @@ - + - diff --git a/src/views/sdy/shopDealerCapital/index.vue b/src/views/sdy/shopDealerCapital/index.vue index 610c9ab..e73f34a 100644 --- a/src/views/sdy/shopDealerCapital/index.vue +++ b/src/views/sdy/shopDealerCapital/index.vue @@ -1,50 +1,54 @@ $router.go(-1)"> - - - - + + + + + + + + - - - - - - 显示 - 隐藏 - - - - 修改 - - - 删除 - - - + + 显示 + 隐藏 - - + + + 修改 + + + 删除 + + + + + + - - + + @@ -58,10 +62,17 @@ ColumnItem } from 'ele-admin-pro/es/ele-pro-table/types'; import Search from './components/search.vue'; - import {getPageTitle} from '@/utils/common'; + import { getPageTitle } from '@/utils/common'; import ShopDealerCapitalEdit from './components/shopDealerCapitalEdit.vue'; - import { pageShopDealerCapital, removeShopDealerCapital, removeBatchShopDealerCapital } from '@/api/shop/shopDealerCapital'; - import type { ShopDealerCapital, ShopDealerCapitalParam } from '@/api/shop/shopDealerCapital/model'; + import { + pageShopDealerCapital, + removeShopDealerCapital, + removeBatchShopDealerCapital + } from '@/api/shop/shopDealerCapital'; + import type { + ShopDealerCapital, + ShopDealerCapitalParam + } from '@/api/shop/shopDealerCapital/model'; // 表格实例 const tableRef = ref | null>(null); @@ -127,7 +138,11 @@ 50: { text: '新人注册奖', color: 'processing' } }; const type = typeMap[text] || { text: '未知', color: 'default' }; - return { type: 'tag', props: { color: type.color }, children: type.text }; + return { + type: 'tag', + props: { color: type.color }, + children: type.text + }; } }, { @@ -137,12 +152,15 @@ align: 'center', customRender: ({ text, record }) => { const amount = parseFloat(text || '0').toFixed(2); - const isIncome = record.flowType === 10 || record.flowType === 40 || record.flowType === 50; + const isIncome = + record.flowType === 10 || + record.flowType === 40 || + record.flowType === 50; return { type: 'span', props: { style: { - color: isIncome ? '#424242' : '#ff4d4f', + color: isIncome ? '#424242' : '#ff4d4f' } }, children: `${isIncome ? '' : '-'} ${amount}` @@ -161,7 +179,7 @@ dataIndex: 'toUserId', key: 'toUserId', align: 'center', - customRender: ({ text }) => text ? `ID: ${text}` : '-' + customRender: ({ text }) => (text ? `ID: ${text}` : '-') }, { title: '描述',