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 {} export {}
declare global { declare global {
const EffectScope: typeof import('vue')['EffectScope'] const EffectScope: typeof import('vue')['EffectScope']
const ElButton: (typeof import('element-plus/es'))['ElButton'] const ElMessageBox: typeof import('element-plus/es')['ElMessageBox']
const ElMessage: (typeof import('element-plus/es'))['ElMessage']
const ElMessageBox: (typeof import('element-plus/es'))['ElMessageBox']
const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate'] const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate']
const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] const autoResetRef: typeof import('@vueuse/core')['autoResetRef']

View File

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

View File

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