This commit is contained in:
qiuyuan 2025-12-22 14:37:13 +08:00
commit e4dca18e39
3 changed files with 31 additions and 33 deletions

View File

@ -12,8 +12,8 @@ VITE_ROUTER_BASE=/
VITE_ROUTER_HISTORY=hash
# api
VITE_API_BASIC=https://jinshan.nantong.info
# VITE_API_BASIC=http://10.10.1.6:8071
# VITE_API_BASIC=https://jinshan.nantong.info
VITE_API_BASIC=http://10.10.1.6:8071
VITE_API_HTTP=/api/v1/
# storage
VITE_STORAGE_NAMESPACE = gin-admin_local_

View File

@ -203,11 +203,7 @@ function handleOk() {
cover: formData.value.cover ? spliceUrl(formData.value.cover[0]) : '',
images: formData.value.images ? formData.value.images.map(item => spliceUrl(item)) : [],
signupNum: formData.value.signupNum || 0,
status: 1,
// 使
endSignupAt: formatTime(values.endSignupAt),
startAt: formatTime(values.startAt),
endAt: formatTime(values.endAt)
status: 1
}
let result = null

View File

@ -6,8 +6,9 @@
<a-col v-bind="colSpan">
<a-form-item label="状态" name="status">
<a-select v-model:value="searchFormData.applyType" allowClear>
<a-select-option :value="1">个人申请</a-select-option>
<a-select-option :value="2">企业申请</a-select-option>
<a-select-option :value="''">全部</a-select-option>
<a-select-option :value="2">个人申请</a-select-option>
<a-select-option :value="1">企业申请</a-select-option>
</a-select>
</a-form-item>
</a-col>
@ -37,8 +38,8 @@
<span>{{ record.startTime + ' - ' + record.endTime }}</span>
</template>
<template v-if="'applyType' === column.dataIndex">
<span v-if="record.applyType === 1">个人申请</span>
<span v-if="record.applyType === 2">企业申请</span>
<span v-if="record.applyType === 2">个人申请</span>
<span v-if="record.applyType === 1">企业申请</span>
</template>
<template v-if="'status' === column.dataIndex">
<a-tag color="#87d068" v-if="record.status === 3">审核通过</a-tag>
@ -54,17 +55,16 @@
<a-image :width="60"
:src="record.applySign ? config('http.apiBasic') + record.applySign : errImg" />
</template>
<template v-if="column.dataIndex === 'rebackApplyPdf'">
<a v-if="record.rebackApplyPdf" :href="config('http.apiBasic') + record.rebackApplyPdf"
rel="noopener noreferrer">
<template v-if="column.dataIndex === 'covenantPdf'">
<a v-if="record.covenantPdf" target="_blank"
:href="config('http.apiBasic') + record.covenantPdf" rel="noopener noreferrer">
查看承诺报表
</a>
<span v-else></span>
</template>
<template v-if="column.dataIndex === 'rebackCovenantPdf'">
<a v-if="record.rebackCovenantPdf"
:href="config('http.apiBasic') + record.rebackCovenantPdf"
rel="noopener noreferrer">
<template v-if="column.dataIndex === 'applyPdf'">
<a v-if="record.applyPdf" target="_blank"
:href="config('http.apiBasic') + record.applyPdf" rel="noopener noreferrer">
查看申请报表
</a>
<span v-else></span>
@ -108,6 +108,7 @@ import { useI18n } from 'vue-i18n'
import { orderStatus } from '@/enums/index.js'
import { status } from 'nprogress'
import dayjs from 'dayjs'
import axios from 'axios'
defineOptions({
name: 'mettingYuYue',
})
@ -131,13 +132,13 @@ const columns = [
// { title: '', dataIndex: 'endTime' },
{ title: '申请签名', dataIndex: 'applySign' },
// { title: '', dataIndex: 'remark' },
{ title: '申请报表', dataIndex: 'rebackCovenantPdf' },
{ title: '承诺报表', dataIndex: 'rebackApplyPdf' },
{ title: '申请报表', dataIndex: 'applyPdf' },
{ title: '承诺报表', dataIndex: 'covenantPdf' },
{ title: t('button.action'), key: 'action', fixed: 'right', width: 80, align: 'center' },
]
const { listData, loading, showLoading, hideLoading, paginationState, resetPagination, searchFormData } = usePagination()
searchFormData.value = {
applyType: 1,
applyType: '',
}
const remark = ref('')
const currentInfo = ref({})
@ -259,6 +260,7 @@ function handleResetSearch() {
async function onOk() {
await getPageList()
}
</script>
<style lang="less" scoped></style>