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

@@ -49,6 +49,7 @@
:data="state.dataList"
v-loading="state.loading"
border
row-key="id"
:cell-style="tableStyle.cellStyle"
:header-cell-style="tableStyle.headerCellStyle"
class="data-table"
@@ -72,12 +73,12 @@
<el-table-column label="操作" min-width="80" align="center" fixed="right">
<template #default="scope">
<el-button
v-auth="'professional_salaryexportrecord_del'"
icon="delete"
link
type="primary"
@click="handleDel(scope.row)">删除
</el-button>
v-if="hasAuth('professional_salaryexportrecord_del')"
icon="delete"
link
type="primary"
@click="handleDel(scope.row)">删除
</el-button>
</template>
</el-table-column>
</el-table>
@@ -97,7 +98,9 @@ import { ref, reactive } from 'vue'
import { BasicTableProps, useTable } from '/@/hooks/table'
import { useMessage, useMessageBox } from '/@/hooks/message'
import { fetchList, delObj } from '/@/api/professional/salaries/salaryexportrecord'
import { useAuth } from '/@/hooks/auth'
const { hasAuth } = useAuth()
// 消息提示 hooks
const message = useMessage()
const messageBox = useMessageBox()