项目中心-支付模块

This commit is contained in:
wangzzpeng
2026-09-30 08:04:16 +08:00
parent 6b88c3805f
commit ce8210fb3f
35 changed files with 2618 additions and 175 deletions

View File

@@ -4,9 +4,11 @@ import { ElMessage } from 'element-plus'
import type { FileInfo } from '@/types/api'
import type { Feedback } from '@/types/business/profile'
import { useProfileStore } from '@/stores/modules/profile'
import { useOssStore } from '@/stores/modules/oss'
import FeedbackForm from './cpns/FeedbackForm.vue'
const profileStore = useProfileStore()
const ossStore = useOssStore()
const resetSignal = ref(0)
@@ -30,11 +32,8 @@ function onReset(): void {
}
function onPreview(file: FileInfo): void {
if (file.url) {
window.open(file.url, '_blank')
return
}
ElMessage.info('附件预览待接口接入')
// 同源预览:本地未上传文件无 ossId,弹窗会提示无法在线预览
ossStore.openPreview(file)
}
</script>