generated from Leo_Ding/web-template
修改文字
This commit is contained in:
parent
782c17e2ee
commit
d06f8005b0
@ -84,7 +84,7 @@ export default {
|
||||
fangchan: '南通景点年卡',
|
||||
birth: '生日礼遇',
|
||||
quanwu: '全屋纱窗',
|
||||
aiya: '爱牙抵用卷',
|
||||
aiya: '爱牙抵用券',
|
||||
yllvs: '医疗绿色',
|
||||
|
||||
ycequite: '盐城权益兑换',
|
||||
|
||||
@ -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' },
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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
|
||||
}
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user