|
|
@ -41,7 +41,7 @@ |
|
|
</el-card> |
|
|
</el-card> |
|
|
|
|
|
|
|
|
<el-card style="margin-top: 0.5vh;background-color: rgb(231,244,253);"> |
|
|
<el-card style="margin-top: 0.5vh;background-color: rgb(231,244,253);"> |
|
|
<el-table :data="tableData" style="height:73vh;width:82vw"> |
|
|
|
|
|
|
|
|
<el-table :ref="tableRef" :data="tableData" style="height:73vh;width:82vw"> |
|
|
<el-table-column type="index" :label="t('common_list.id')" width="60" fixed="left"> |
|
|
<el-table-column type="index" :label="t('common_list.id')" width="60" fixed="left"> |
|
|
<template #default="scope"> |
|
|
<template #default="scope"> |
|
|
{{ scope.$index + 1 + (pagination.pageNum - 1) * pagination.pageSize }} |
|
|
{{ scope.$index + 1 + (pagination.pageNum - 1) * pagination.pageSize }} |
|
|
@ -341,7 +341,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
<script setup> |
|
|
<script setup> |
|
|
import BackgroundSvg from '@/assets/images/refund-progress.png' |
|
|
import BackgroundSvg from '@/assets/images/refund-progress.png' |
|
|
import { ref, onMounted } from 'vue' |
|
|
|
|
|
|
|
|
import { ref, onMounted, nextTick } from 'vue' |
|
|
import { ElMessage } from 'element-plus' |
|
|
import { ElMessage } from 'element-plus' |
|
|
import API from '@/util/http.js' |
|
|
import API from '@/util/http.js' |
|
|
const uploadUrl = 'https://api.homilychart.com/hljw/api/aws/upload' |
|
|
const uploadUrl = 'https://api.homilychart.com/hljw/api/aws/upload' |
|
|
@ -388,6 +388,10 @@ const pagination = ref({ |
|
|
}) |
|
|
}) |
|
|
const showAudit2 = ref(false) |
|
|
const showAudit2 = ref(false) |
|
|
const tableData = ref([]) |
|
|
const tableData = ref([]) |
|
|
|
|
|
const tableRef = ref(null) |
|
|
|
|
|
const scrollTableTop = () => { |
|
|
|
|
|
tableRef.value?.setScrollTop?.(0) |
|
|
|
|
|
} |
|
|
const showSteps = ref(false) |
|
|
const showSteps = ref(false) |
|
|
const uploadRef = ref(null) |
|
|
const uploadRef = ref(null) |
|
|
const submitter = ref('')// 提交人 |
|
|
const submitter = ref('')// 提交人 |
|
|
@ -539,6 +543,8 @@ const getRefund = async function () { |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
tableData.value = result.data.list || [] |
|
|
tableData.value = result.data.list || [] |
|
|
|
|
|
await nextTick() |
|
|
|
|
|
scrollTableTop() |
|
|
pagination.value.total = result.data.total || 0 |
|
|
pagination.value.total = result.data.total || 0 |
|
|
} catch (error) { |
|
|
} catch (error) { |
|
|
ElMessage.error(error.message || t('elmessage.searchFailed')) |
|
|
ElMessage.error(error.message || t('elmessage.searchFailed')) |
|
|
|