修改文字

This commit is contained in:
Leo_Ding 2025-07-16 18:04:58 +08:00
parent 782c17e2ee
commit d06f8005b0
3 changed files with 30 additions and 7 deletions

View File

@ -84,7 +84,7 @@ export default {
fangchan: '南通景点年卡',
birth: '生日礼遇',
quanwu: '全屋纱窗',
aiya: '爱牙抵用',
aiya: '爱牙抵用',
yllvs: '医疗绿色',
ycequite: '盐城权益兑换',

View File

@ -94,8 +94,9 @@ const imgList = ref([])
const type = ref(1)
const columns = [
{ title: '客户名称', dataIndex: 'customerName' },
{ title: '活动名称', dataIndex: 'activityName' },
{ title: '客户姓名', dataIndex: 'customerName' },
{ title: '联系方式', dataIndex: 'customerPhone' },
{ title: '报名时间', dataIndex: 'createdAt', width: 150, align: 'center' },
// { title: t('button.action'), key: 'action', fixed: 'right', width: 150, align: 'center' },

View File

@ -63,6 +63,11 @@
<a-tooltip>
<template #title> {{ $t('pages.system.user.edit') }}</template>
<edit-outlined /> </a-tooltip></x-action-button>
<x-action-button @click="createQrcode(record)">
<a-tooltip>
<template #title>二维码</template>
<QrcodeOutlined />
</a-tooltip></x-action-button>
<x-action-button @click="handleDelete(record.id)">
<a-tooltip>
<template #title>{{ $t('pages.system.delete') }}</template>
@ -73,6 +78,12 @@
</a-card>
</a-col>
</a-row>
<a-modal v-model:open="qropen" :title="'生成二维码'" @ok="qropen = false" :footer="null">
<a-card class="mb-8-2"
style="display: flex;align-items: center;flex-direction: column;justify-content: center;">
<x-qrCode :value="qrValue" :icon="qrlogo" :iconBackgroundColor="'#ffffff'" :size="180"></x-qrCode>
</a-card>
</a-modal>
<edit-dialog ref="editDialogRef" @ok="onOk"></edit-dialog>
</template>
@ -101,9 +112,9 @@ const columns = [
{ title: '案场名称', dataIndex: 'companyName' },
{ title: '礼品名称', dataIndex: 'name' },
{ title: '兑换数量', dataIndex: 'maxNum' },
{ title: '开始时间', dataIndex: 'startAt',width:180,align:'center' },
{ title: '结束时间', dataIndex: 'endAt',width:180,align:'center' },
{ title: '是否每天', dataIndex: 'isDaily',width:120,align:'center' },
{ title: '开始时间', dataIndex: 'startAt', width: 180, align: 'center' },
{ title: '结束时间', dataIndex: 'endAt', width: 180, align: 'center' },
{ title: '是否每天', dataIndex: 'isDaily', width: 120, align: 'center' },
// { title: '', dataIndex: 'status', key: 'introduce', width: 100, align: 'center' },
{ title: t('button.action'), key: 'action', fixed: 'right', width: 150, align: 'center' },
]
@ -139,7 +150,18 @@ async function getPageList() {
hideLoading()
}
}
const createQrcode = (params) => {
const { name, id,img } = params
const item = {
title: name,
typer: 'product',
pathUrl: '/pages/product/index.vue',
relationId: id,
kvalue1: img,
}
qrValue.value = JSON.stringify(item)
qropen.value = true
}
/**
* 删除
*/