mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2026-01-13 06:03:51 +08:00
- 在菜单模型中添加全屏属性,用于控制菜单是否全屏显示- 优化分账配置界面,增加分账模式选项 - 修改支付限额帮助信息,明确以应用支付限额为准 - 移除微信支付配置中的沙箱环境选项 - 更新收银台配置和通道配置界面标题
58 lines
1.5 KiB
Vue
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>
|