feat(custom): 新增营销-\>二维码管理
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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([])
|
||||
|
||||
Reference in New Issue
Block a user