This commit is contained in:
guochunsi
2026-01-30 16:29:15 +08:00
parent 53f71066f3
commit c6da6e286f
70 changed files with 688 additions and 519 deletions

View File

@@ -26,8 +26,8 @@
<div class="el-upload-list__item-name">{{ fileName }}</div>
</template>
<el-button
v-if="hasAuth('professional_salary_import')"
size="small"
v-auth="'professional_salary_import'"
type="primary">选择文件
</el-button>
</el-upload>
@@ -45,6 +45,7 @@
<script setup lang="ts">
import { ref, computed } from 'vue'
import { useAuth } from '/@/hooks/auth'
import { useMessage } from '/@/hooks/message'
import { Session } from '/@/utils/storage'
import request from '/@/utils/request'
@@ -54,6 +55,7 @@ const emit = defineEmits<{
(e: 'refreshData'): void
}>()
const { hasAuth } = useAuth()
// 消息提示
const message = useMessage()