generated from Leo_Ding/web-template
Compare commits
No commits in common. "c8e856d9444055e5bcf838a1861e13068e381bac" and "82d3f966987d5c4cc9d161377cfdddd527a25d1c" have entirely different histories.
c8e856d944
...
82d3f96698
@ -9,33 +9,17 @@
|
|||||||
<span>{{ dayjs(record.startAt).format('YYYY-MM-DD HH:mm:ss') + ' - ' +
|
<span>{{ dayjs(record.startAt).format('YYYY-MM-DD HH:mm:ss') + ' - ' +
|
||||||
dayjs(record.endAt).format('YYYY-MM-DD HH:mm:ss')}}</span>
|
dayjs(record.endAt).format('YYYY-MM-DD HH:mm:ss')}}</span>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="'roomType' === column.dataIndex">
|
|
||||||
<span v-if="record.roomType === 1">个人</span>
|
|
||||||
<span v-else-if="record.roomType === 2">企业</span>
|
|
||||||
<span v-else>未知</span>
|
|
||||||
</template>
|
|
||||||
<template v-if="'applyTheme' === column.dataIndex">
|
|
||||||
<span>{{ applyThemeMap[record.applyTheme] || '未知' }}</span>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<template v-if="column.dataIndex === 'applySign'">
|
<template v-if="column.dataIndex === 'applySign'">
|
||||||
<a-image :width="60"
|
<a-image :width="60"
|
||||||
:src="record.applySign ? config('http.apiBasic') + record.applySign : errImg" />
|
:src="record.applySign ? config('http.apiBasic') + record.applySign : errImg" />
|
||||||
</template>
|
</template>
|
||||||
<template v-if="column.dataIndex === 'rebackApplyPdf'">
|
<template v-if="column.dataIndex === 'rebackApplyPdf'">
|
||||||
<a v-if="record.rebackApplyPdf" :href="config('http.apiBasic') + record.rebackApplyPdf"
|
<a
|
||||||
target="_blank" rel="noopener noreferrer">
|
:href="record.rebackApplyPdf ? config('http.apiBasic') + record.rebackApplyPdf : ''" />
|
||||||
查看承诺报表
|
|
||||||
</a>
|
|
||||||
<span v-else>无</span>
|
|
||||||
</template>
|
</template>
|
||||||
<template v-if="column.dataIndex === 'rebackCovenantPdf'">
|
<template v-if="column.dataIndex === 'rebackCovenantPdf'">
|
||||||
<a v-if="record.rebackCovenantPdf"
|
<a
|
||||||
:href="config('http.apiBasic') + record.rebackCovenantPdf" target="_blank"
|
:href="record.rebackCovenantPdf ? config('http.apiBasic') + record.rebackCovenantPdf : ''" />
|
||||||
rel="noopener noreferrer">
|
|
||||||
查看申请报表
|
|
||||||
</a>
|
|
||||||
<span v-else>无</span>
|
|
||||||
</template>
|
</template>
|
||||||
<template v-if="'action' === column.key">
|
<template v-if="'action' === column.key">
|
||||||
<x-action-button @click="auditHandleEdit(record)" v-if="record.status === 1">
|
<x-action-button @click="auditHandleEdit(record)" v-if="record.status === 1">
|
||||||
@ -82,7 +66,6 @@ defineOptions({
|
|||||||
})
|
})
|
||||||
const { t } = useI18n() // 解构出t方法
|
const { t } = useI18n() // 解构出t方法
|
||||||
const columns = [
|
const columns = [
|
||||||
{ title: '会议室名称', dataIndex: 'roomName' },
|
|
||||||
{ title: '负责人', dataIndex: 'concatName' },
|
{ title: '负责人', dataIndex: 'concatName' },
|
||||||
{ title: '负责人手机号', dataIndex: 'concatPhone' },
|
{ title: '负责人手机号', dataIndex: 'concatPhone' },
|
||||||
{ title: '申请类型', dataIndex: 'roomType' },
|
{ title: '申请类型', dataIndex: 'roomType' },
|
||||||
@ -99,8 +82,8 @@ const columns = [
|
|||||||
{ title: '结束时间', dataIndex: 'endTime' },
|
{ title: '结束时间', dataIndex: 'endTime' },
|
||||||
{ title: '申请签名', dataIndex: 'applySign' },
|
{ title: '申请签名', dataIndex: 'applySign' },
|
||||||
{ title: '备注', dataIndex: 'remark' },
|
{ title: '备注', dataIndex: 'remark' },
|
||||||
{ title: '回执申请报表', dataIndex: 'rebackCovenantPdf' },
|
{ title: '回执申请报表', dataIndex: 'rebackApplyPdf' },
|
||||||
{ title: '回执承诺报表', dataIndex: 'rebackApplyPdf' },
|
{ title: '回执承诺报表', dataIndex: 'rebackCovenantPdf' },
|
||||||
// { title: t('button.action'), key: 'action', fixed: 'right', width: 100, align: 'center' },
|
// { title: t('button.action'), key: 'action', fixed: 'right', width: 100, align: 'center' },
|
||||||
]
|
]
|
||||||
const { listData, loading, showLoading, hideLoading, paginationState, resetPagination, searchFormData } = usePagination()
|
const { listData, loading, showLoading, hideLoading, paginationState, resetPagination, searchFormData } = usePagination()
|
||||||
@ -110,12 +93,6 @@ const auditStatus = ref(2)
|
|||||||
const editDialogRef = ref()
|
const editDialogRef = ref()
|
||||||
const open = ref(false)
|
const open = ref(false)
|
||||||
const imgOpen = ref(false)
|
const imgOpen = ref(false)
|
||||||
const applyThemeMap = {
|
|
||||||
1: '开会',
|
|
||||||
2: '学术报告',
|
|
||||||
3: '活动',
|
|
||||||
4: '其他',
|
|
||||||
}
|
|
||||||
getPageList()
|
getPageList()
|
||||||
/**
|
/**
|
||||||
* 获取用户列表
|
* 获取用户列表
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user