Files
dax-pay-ui/src/views/daxpay/common/config/checkout/CheckoutConfigModel.vue
bootx a67c0bb092 feat(menu): 添加菜单全屏属性并优化分账配置
- 在菜单模型中添加全屏属性,用于控制菜单是否全屏显示- 优化分账配置界面,增加分账模式选项
- 修改支付限额帮助信息,明确以应用支付限额为准
- 移除微信支付配置中的沙箱环境选项
- 更新收银台配置和通道配置界面标题
2024-12-08 22:30:23 +08:00

58 lines
1.5 KiB
Vue

<template>
<basic-drawer
destroyOnClose
v-bind="$attrs"
width="60%"
title="收银台配置"
:mask-closable="true"
:open="visible"
@close="handleCancel"
>
<a-tabs v-model:activeKey="activeKey" type="card">
<a-tab-pane :key="1" tab="公共配置">
<checkout-config-edit :appId="currentAppId" />
</a-tab-pane>
<a-tab-pane :key="2" tab="PC收银配置">
<checkout-group-config-list :appId="currentAppId" type="pc" />
</a-tab-pane>
<a-tab-pane :key="3" tab="H5收银配置">
<checkout-group-config-list :appId="currentAppId" type="h5" />
</a-tab-pane>
<a-tab-pane :key="4" tab="聚合支付配置">
<checkout-aggregate-config-list :appId="currentAppId" />
</a-tab-pane>
</a-tabs>
</basic-drawer>
</template>
<script setup lang="ts">
import { BasicDrawer } from '@/components/Drawer'
import { ref } from 'vue'
import CheckoutConfigEdit from './CheckoutConfigEdit.vue'
import CheckoutGroupConfigList from './CheckoutGroupConfigList.vue'
import CheckoutAggregateConfigList from './CheckoutAggregateConfigList.vue'
const visible = ref(false)
const activeKey = ref(1)
const currentAppId = ref('')
/**
* 入口
*/
function init(appId: string) {
visible.value = true
activeKey.value = 1
currentAppId.value = appId
}
/**
* 关闭页面
*/
function handleCancel() {
visible.value = false
}
defineExpose({ init })
</script>
<style scoped lang="less"></style>