|
@@ -27,7 +27,7 @@
|
|
|
<el-table-column label="id" align="center" prop="id" />
|
|
<el-table-column label="id" align="center" prop="id" />
|
|
|
<el-table-column :label="t('score.picture')" align="center" prop="image">
|
|
<el-table-column :label="t('score.picture')" align="center" prop="image">
|
|
|
<template #default="score">
|
|
<template #default="score">
|
|
|
- <el-image style="width: 100px; height: 50px" :src="score.row.image" />
|
|
|
|
|
|
|
+ <el-image style="width: 100px; height: 50px" :src="convertImageUrl(score.row.image)" />
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column :label="t('score.availability')" align="center" prop="isSwitch">
|
|
<el-table-column :label="t('score.availability')" align="center" prop="isSwitch">
|
|
@@ -83,6 +83,7 @@ import { dateFormatter } from '@/utils/formatTime'
|
|
|
import download from '@/utils/download'
|
|
import download from '@/utils/download'
|
|
|
import { AdsApi, AdsVO } from '@/api/score/scoreads'
|
|
import { AdsApi, AdsVO } from '@/api/score/scoreads'
|
|
|
import AdsForm from './AdsForm.vue'
|
|
import AdsForm from './AdsForm.vue'
|
|
|
|
|
+import { convertImageUrl } from '@/utils/image-helper'
|
|
|
|
|
|
|
|
/** 积分商城广告图管理 列表 */
|
|
/** 积分商城广告图管理 列表 */
|
|
|
defineOptions({ name: 'ScoreAds' })
|
|
defineOptions({ name: 'ScoreAds' })
|
|
@@ -167,4 +168,4 @@ const handleExport = async () => {
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
getList()
|
|
getList()
|
|
|
})
|
|
})
|
|
|
-</script>
|
|
|
|
|
|
|
+</script>
|