查看文件打开新标签

This commit is contained in:
Leo_Ding 2025-09-11 17:02:38 +08:00
parent 70d652b22f
commit e4cd59b4ec
2 changed files with 18 additions and 18 deletions

View File

@ -153,7 +153,6 @@ function handleOk() {
...values, ...values,
cover: formData.value.cover ? spliceUrl(formData.value.cover[0]) : '', cover: formData.value.cover ? spliceUrl(formData.value.cover[0]) : '',
images: formData.value.images ? formData.value.images.map(item => spliceUrl(item)) : [], images: formData.value.images ? formData.value.images.map(item => spliceUrl(item)) : [],
signupNum: formData.value.signupNum || 0,
status: 1 status: 1
} }
let result = null let result = null

View File

@ -1,11 +1,11 @@
<template> <template>
<x-search-bar class="mb-8-2"> <x-search-bar class="mb-8-2">
<template #default="{ gutter, colSpan }"> <template #default="{ gutter, colSpan }">
<a-form :label-col="{ style: { width: '40px' } }" :model="searchFormData" layout="inline"> <a-form :label-col="{ style: { width: '40px' } }" :model="searchFormData" layout="inline">
<a-row :gutter="gutter"> <a-row :gutter="gutter">
<a-col v-bind="colSpan"> <a-col v-bind="colSpan">
<a-form-item label="状态" name="status"> <a-form-item label="状态" name="status">
<a-select v-model:value="searchFormData.applyType" allowClear> <a-select v-model:value="searchFormData.applyType" allowClear>
<a-select-option :value="1">个人申请</a-select-option> <a-select-option :value="1">个人申请</a-select-option>
<a-select-option :value="2">企业申请</a-select-option> <a-select-option :value="2">企业申请</a-select-option>
</a-select> </a-select>
@ -22,7 +22,7 @@
</a-row> </a-row>
</a-form> </a-form>
</template> </template>
</x-search-bar> </x-search-bar>
<a-row :gutter="8" :wrap="false"> <a-row :gutter="8" :wrap="false">
<a-col flex="auto"> <a-col flex="auto">
<a-card type="flex"> <a-card type="flex">
@ -36,15 +36,15 @@
<template v-if="'startTime' === column.dataIndex"> <template v-if="'startTime' === column.dataIndex">
<span>{{ record.startTime + ' - ' + record.endTime }}</span> <span>{{ record.startTime + ' - ' + record.endTime }}</span>
</template> </template>
<template v-if="'applyType' === column.dataIndex"> <template v-if="'applyType' === column.dataIndex">
<span v-if="record.applyType === 1">个人申请</span> <span v-if="record.applyType === 1">个人申请</span>
<span v-if="record.applyType === 2">企业申请</span> <span v-if="record.applyType === 2">企业申请</span>
</template> </template>
<template v-if="'status' === column.dataIndex"> <template v-if="'status' === column.dataIndex">
<a-tag color="#87d068" v-if="record.status === 3">审核通过</a-tag> <a-tag color="#87d068" v-if="record.status === 3">审核通过</a-tag>
<a-tag color="#666666" v-if="record.status === 2">待审核</a-tag> <a-tag color="#666666" v-if="record.status === 2">待审核</a-tag>
<a-tag color="#f50" v-if="record.status === 99">审核不通过</a-tag> <a-tag color="#f50" v-if="record.status === 99">审核不通过</a-tag>
<!-- <a-tag color="#87d068" v-if="record.status === 3">审核通过</a-tag> --> <!-- <a-tag color="#87d068" v-if="record.status === 3">审核通过</a-tag> -->
</template> </template>
<template v-if="'applyTheme' === column.dataIndex"> <template v-if="'applyTheme' === column.dataIndex">
<span>{{ applyThemeMap[record.applyTheme] || '未知' }}</span> <span>{{ applyThemeMap[record.applyTheme] || '未知' }}</span>
@ -55,16 +55,15 @@
: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 v-if="record.rebackApplyPdf" target="_blank"
rel="noopener noreferrer"> :href="config('http.apiBasic') + record.rebackApplyPdf" rel="noopener noreferrer">
查看承诺报表 查看承诺报表
</a> </a>
<span v-else></span> <span v-else></span>
</template> </template>
<template v-if="column.dataIndex === 'rebackCovenantPdf'"> <template v-if="column.dataIndex === 'rebackCovenantPdf'">
<a v-if="record.rebackCovenantPdf" <a v-if="record.rebackCovenantPdf" target="_blank"
:href="config('http.apiBasic') + record.rebackCovenantPdf" :href="config('http.apiBasic') + record.rebackCovenantPdf" rel="noopener noreferrer">
rel="noopener noreferrer">
查看申请报表 查看申请报表
</a> </a>
<span v-else></span> <span v-else></span>
@ -108,6 +107,7 @@ import { useI18n } from 'vue-i18n'
import { orderStatus } from '@/enums/index.js' import { orderStatus } from '@/enums/index.js'
import { status } from 'nprogress' import { status } from 'nprogress'
import dayjs from 'dayjs' import dayjs from 'dayjs'
import axios from 'axios'
defineOptions({ defineOptions({
name: 'mettingYuYue', name: 'mettingYuYue',
}) })
@ -118,8 +118,8 @@ const columns = [
// { title: '', dataIndex: 'concatName' }, // { title: '', dataIndex: 'concatName' },
// { title: '', dataIndex: 'concatPhone' }, // { title: '', dataIndex: 'concatPhone' },
{ title: '申请类型', dataIndex: 'applyType', width: 100 }, { title: '申请类型', dataIndex: 'applyType', width: 100 },
{ title: '申请主题', dataIndex: 'applyTheme', width: 100 }, { title: '申请主题', dataIndex: 'applyTheme', width: 100 },
{ title: '申请人', dataIndex: 'userName', width: 100 }, { title: '申请人', dataIndex: 'userName', width: 100 },
// { title: '', dataIndex: 'userPhone' }, // { title: '', dataIndex: 'userPhone' },
// { title: '', dataIndex: 'userCardId', width: 120 }, // { title: '', dataIndex: 'userCardId', width: 120 },
{ title: '申请人地址', dataIndex: 'userAddress' }, { title: '申请人地址', dataIndex: 'userAddress' },
@ -184,7 +184,7 @@ async function getPageList() {
const auditHandleEdit = (obj = {}) => { const auditHandleEdit = (obj = {}) => {
currentForm.value = obj currentForm.value = obj
open.value = true open.value = true
} }
const handleClick = async () => { const handleClick = async () => {
try { try {
@ -259,6 +259,7 @@ function handleResetSearch() {
async function onOk() { async function onOk() {
await getPageList() await getPageList()
} }
</script> </script>
<style lang="less" scoped></style> <style lang="less" scoped></style>