generated from Leo_Ding/web-template
修改文字
This commit is contained in:
parent
782c17e2ee
commit
d06f8005b0
@ -84,7 +84,7 @@ export default {
|
|||||||
fangchan: '南通景点年卡',
|
fangchan: '南通景点年卡',
|
||||||
birth: '生日礼遇',
|
birth: '生日礼遇',
|
||||||
quanwu: '全屋纱窗',
|
quanwu: '全屋纱窗',
|
||||||
aiya: '爱牙抵用卷',
|
aiya: '爱牙抵用券',
|
||||||
yllvs: '医疗绿色',
|
yllvs: '医疗绿色',
|
||||||
|
|
||||||
ycequite: '盐城权益兑换',
|
ycequite: '盐城权益兑换',
|
||||||
|
|||||||
@ -94,8 +94,9 @@ const imgList = ref([])
|
|||||||
const type = ref(1)
|
const type = ref(1)
|
||||||
|
|
||||||
const columns = [
|
const columns = [
|
||||||
{ title: '客户名称', dataIndex: 'customerName' },
|
|
||||||
{ title: '活动名称', dataIndex: 'activityName' },
|
{ title: '活动名称', dataIndex: 'activityName' },
|
||||||
|
{ title: '客户姓名', dataIndex: 'customerName' },
|
||||||
|
{ title: '联系方式', dataIndex: 'customerPhone' },
|
||||||
{ title: '报名时间', dataIndex: 'createdAt', width: 150, align: 'center' },
|
{ title: '报名时间', dataIndex: 'createdAt', width: 150, align: 'center' },
|
||||||
|
|
||||||
// { title: t('button.action'), key: 'action', fixed: 'right', width: 150, align: 'center' },
|
// { title: t('button.action'), key: 'action', fixed: 'right', width: 150, align: 'center' },
|
||||||
|
|||||||
@ -51,7 +51,7 @@
|
|||||||
<template v-if="column.dataIndex === 'startAt'">
|
<template v-if="column.dataIndex === 'startAt'">
|
||||||
<span>{{ dayjs(record.startAt).format('YYYY-MM-DD HH:mm:ss') }}</span>
|
<span>{{ dayjs(record.startAt).format('YYYY-MM-DD HH:mm:ss') }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="column.dataIndex === 'endAt'">
|
<template v-if="column.dataIndex === 'endAt'">
|
||||||
<span>{{ dayjs(record.endAt).format('YYYY-MM-DD HH:mm:ss') }}</span>
|
<span>{{ dayjs(record.endAt).format('YYYY-MM-DD HH:mm:ss') }}</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="'isDaily' === column.dataIndex">
|
<template v-if="'isDaily' === column.dataIndex">
|
||||||
@ -63,6 +63,11 @@
|
|||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title> {{ $t('pages.system.user.edit') }}</template>
|
<template #title> {{ $t('pages.system.user.edit') }}</template>
|
||||||
<edit-outlined /> </a-tooltip></x-action-button>
|
<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)">
|
<x-action-button @click="handleDelete(record.id)">
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>{{ $t('pages.system.delete') }}</template>
|
<template #title>{{ $t('pages.system.delete') }}</template>
|
||||||
@ -73,6 +78,12 @@
|
|||||||
</a-card>
|
</a-card>
|
||||||
</a-col>
|
</a-col>
|
||||||
</a-row>
|
</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>
|
<edit-dialog ref="editDialogRef" @ok="onOk"></edit-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -101,9 +112,9 @@ const columns = [
|
|||||||
{ title: '案场名称', dataIndex: 'companyName' },
|
{ title: '案场名称', dataIndex: 'companyName' },
|
||||||
{ title: '礼品名称', dataIndex: 'name' },
|
{ title: '礼品名称', dataIndex: 'name' },
|
||||||
{ title: '兑换数量', dataIndex: 'maxNum' },
|
{ title: '兑换数量', dataIndex: 'maxNum' },
|
||||||
{ title: '开始时间', dataIndex: 'startAt',width:180,align:'center' },
|
{ title: '开始时间', dataIndex: 'startAt', width: 180, align: 'center' },
|
||||||
{ title: '结束时间', dataIndex: 'endAt',width:180,align:'center' },
|
{ title: '结束时间', dataIndex: 'endAt', width: 180, align: 'center' },
|
||||||
{ title: '是否每天', dataIndex: 'isDaily',width:120,align:'center' },
|
{ title: '是否每天', dataIndex: 'isDaily', width: 120, align: 'center' },
|
||||||
// { title: '状态', dataIndex: 'status', key: 'introduce', width: 100, align: 'center' },
|
// { title: '状态', dataIndex: 'status', key: 'introduce', width: 100, align: 'center' },
|
||||||
{ title: t('button.action'), key: 'action', fixed: 'right', width: 150, align: 'center' },
|
{ title: t('button.action'), key: 'action', fixed: 'right', width: 150, align: 'center' },
|
||||||
]
|
]
|
||||||
@ -139,7 +150,18 @@ async function getPageList() {
|
|||||||
hideLoading()
|
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