feat(custom): 新增营销-\>二维码管理
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-06-21 19:51:02 +08:00
parent 0865529e10
commit c233ad8f5a
4 changed files with 505 additions and 10 deletions

View File

@@ -90,7 +90,7 @@
<script setup>
import api from './api'
import { NEllipsis } from 'naive-ui'
import { NEllipsis, NButton, NPopconfirm } from 'naive-ui'
const loading = ref(false)
@@ -144,6 +144,8 @@ const columns = ref([
title: '订单号',
align: 'center',
key: 'oid',
width: 150,
fixed: 'left',
},
{
title: '用户',
@@ -228,14 +230,34 @@ const columns = ref([
align: 'center',
key: 'payment_time',
},
// {
// title: '操作',
// align: 'center',
// slot: 'action',
// render() {
// // console.log(row)
// },
// },
{
title: '操作',
align: 'center',
slot: 'action',
width: 100,
fixed: 'right',
render(row) {
return h(
NPopconfirm,
{},
{
default: () => '确定核销吗?',
trigger: () =>
h(
NButton,
{
text: true,
type: 'info',
onClick: () => {
console.log(row)
},
},
{ default: () => '核销' }
),
}
)
},
},
])
const data = ref([])