优化小程序菜单管理功能

This commit is contained in:
gxwebsoft
2024-06-03 10:59:02 +08:00
parent e3fb9ba283
commit 62bd0f7e36
16 changed files with 1282 additions and 56 deletions

View File

@@ -28,7 +28,7 @@
/>
</a-form-item>
<!--微信支付-->
<template v-if="form.code == 'wxPay'">
<template v-if="form.code == 1">
<a-form-item label="微信商户号类型" name="wechatType">
<a-radio-group v-model:value="form.wechatType">
<a-radio :value="0">
@@ -159,6 +159,7 @@
const form = reactive<Payment>({
id: 0,
name: undefined,
type: undefined,
code: '',
image: '',
wechatType: 0,
@@ -266,6 +267,7 @@
const onPayMethod = (value: string, item: any) => {
form.name = item.label
form.code = item.value
form.type = item.type
}
const onUpload = (d: ItemType) => {

View File

@@ -119,17 +119,16 @@
{
title: '支付方式',
dataIndex: 'name',
key: 'name',
width: 280
},
{
title: '标识',
dataIndex: 'code',
key: 'code',
width: 280,
align: 'center'
key: 'name'
},
// {
// title: '标识',
// dataIndex: 'code',
// key: 'code',
// width: 280,
// align: 'center'
// },
// {
// title: '商户号类型',
// dataIndex: 'wechatType',
// key: 'wechatType',
@@ -141,12 +140,13 @@
title: '是否启用',
dataIndex: 'status',
key: 'status',
width: 180,
align: 'center'
},
{
title: '操作',
key: 'action',
width: 280,
width: 180,
fixed: 'right',
align: 'center',
hideInSetting: true