fix: update some files
Some checks failed
构建并部署前端到测试环境 / build-and-deploy (push) Has been cancelled

This commit is contained in:
luo
2026-08-18 17:59:31 +08:00
parent d9d07422a9
commit 95abcb97ef
3 changed files with 13 additions and 13 deletions

View File

@@ -7,9 +7,7 @@
export {}
declare global {
const EffectScope: typeof import('vue')['EffectScope']
const ElButton: (typeof import('element-plus/es'))['ElButton']
const ElMessage: (typeof import('element-plus/es'))['ElMessage']
const ElMessageBox: (typeof import('element-plus/es'))['ElMessageBox']
const ElMessageBox: typeof import('element-plus/es')['ElMessageBox']
const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate']
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
const autoResetRef: typeof import('@vueuse/core')['autoResetRef']

View File

@@ -790,19 +790,19 @@
const getActions = (row: Refund) => {
const actions: any[] = []
const voucherKeys = getRefundAttachmentKeys(row)
if (voucherKeys.length && hasAuth('refund:view_voucher')) {
actions.push({
label: '退款凭证',
handler: () => handleViewRefundVoucher(row),
type: 'primary'
})
}
if (
[1, 2].includes(userStore.getUserInfo.user_type || 0) &&
hasAuth(AUDIT_PERMISSIONS.refundEntry)
) {
const voucherKeys = getRefundAttachmentKeys(row)
if (voucherKeys.length && hasAuth('refund:view_voucher')) {
actions.push({
label: '退款凭证',
handler: () => handleViewRefundVoucher(row),
type: 'primary'
})
}
const auditTarget = resolveAuditResourceTarget({
userType: userStore.getUserInfo.user_type,
resourceType: 'refund',

View File

@@ -529,7 +529,9 @@
: []),
{
prop: 'role_desc',
label: '角色描述'
label: '角色描述',
width: 240,
showOverflowTooltip: true
},
{
prop: 'created_at',