|
@ -29,7 +29,7 @@ |
|
|
> |
|
|
> |
|
|
<template #strategyType="{row}"> |
|
|
<template #strategyType="{row}"> |
|
|
<el-button type="primary" link @click="openDetail(row, '策略类型', row.strategyType)"> |
|
|
<el-button type="primary" link @click="openDetail(row, '策略类型', row.strategyType)"> |
|
|
<span>{{ row.strategyType }}</span> |
|
|
<span>{{ formatter(row.strategyType) }}</span> |
|
|
</el-button> |
|
|
</el-button> |
|
|
</template> |
|
|
</template> |
|
|
<template #action="{ row }"> |
|
|
<template #action="{ row }"> |
|
@ -65,6 +65,7 @@ import * as defaultButtons from '@/utils/disposition/defaultButtons' |
|
|
import TableHead from '@/components/TableHead/src/TableHead.vue' |
|
|
import TableHead from '@/components/TableHead/src/TableHead.vue' |
|
|
import ImportForm from '@/components/ImportForm/src/ImportForm.vue' |
|
|
import ImportForm from '@/components/ImportForm/src/ImportForm.vue' |
|
|
import Detail from '@/components/Detail/src/Detail.vue' |
|
|
import Detail from '@/components/Detail/src/Detail.vue' |
|
|
|
|
|
import { DICT_TYPE, getStrDictOptions } from '@/utils/dict' |
|
|
|
|
|
|
|
|
defineOptions({ name: 'Configurationsetting' }) |
|
|
defineOptions({ name: 'Configurationsetting' }) |
|
|
|
|
|
|
|
@ -202,7 +203,10 @@ const searchFormClick = (searchData) => { |
|
|
} |
|
|
} |
|
|
getList() // 刷新当前列表 |
|
|
getList() // 刷新当前列表 |
|
|
} |
|
|
} |
|
|
|
|
|
const formatter = (type)=>{ |
|
|
|
|
|
let str = getStrDictOptions(DICT_TYPE.STRATEGY_TYPE).filter(item=>type==item.value)[0].label; |
|
|
|
|
|
return str |
|
|
|
|
|
} |
|
|
/** 初始化 **/ |
|
|
/** 初始化 **/ |
|
|
onMounted(async() => { |
|
|
onMounted(async() => { |
|
|
getList() |
|
|
getList() |
|
|