导出权限问题、支付应用选择问题:update src/views/pay/order/index.vue.

Signed-off-by: 山野羡民 <liyujiang_tk@yeah.net>
This commit is contained in:
山野羡民 2024-11-22 03:25:24 +00:00 committed by Gitee
parent a283dc8cba
commit 41b8407841
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -97,7 +97,7 @@
plain
@click="handleExport"
:loading="exportLoading"
v-hasPermi="['system:tenant:export']"
v-hasPermi="['pay:order:export']"
>
<Icon icon="ep:download" class="mr-5px" /> 导出
</el-button>
@ -192,6 +192,7 @@ import { dateFormatter } from '@/utils/formatTime'
import * as OrderApi from '@/api/pay/order'
import OrderDetail from './OrderDetail.vue'
import download from '@/utils/download'
import { getAppList } from '@/api/pay/app'
defineOptions({ name: 'PayOrder' })
@ -263,6 +264,7 @@ const openDetail = (id: number) => {
/** 初始化 **/
onMounted(async () => {
await getList()
appList.value = await getAppList()
})
</script>
<style>