2024-03-19 16:20:52 +08:00
|
|
|
|
<template>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-card :body-style="{padding: '24px 32px'}" :bordered='false'>
|
2024-03-19 16:20:52 +08:00
|
|
|
|
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<div class='back' @click='backPage'>
|
|
|
|
|
<a-icon type='rollback' />
|
|
|
|
|
<div class='label'>返回</div>
|
|
|
|
|
</div>
|
2024-03-19 16:20:52 +08:00
|
|
|
|
<div style='display: flex;margin-bottom: 20px'>
|
|
|
|
|
<span style='width: 20px;display: block;font-size: 25px;color: #1890ff;font-weight: bold;'>|</span>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<span style='display: block;margin-top: 11px;font-size: 15px'>预约详情</span>
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</div>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-form-model :model='form' :label-col='labelCol' :wrapper-col='wrapperCol'>
|
2024-03-19 16:20:52 +08:00
|
|
|
|
<a-row>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item :labelCol='labelCol' :wrapperCol='wrapperCol' label='会议主题'>
|
|
|
|
|
{{ form.title }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item label='会议室名称' :labelCol='labelCol' :wrapperCol='wrapperCol'>
|
|
|
|
|
{{ form.roomContent.meetingName }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item :labelCol='labelCol' :wrapperCol='wrapperCol' label='预约人'>
|
|
|
|
|
{{ form.userName }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item label='会议类型' :labelCol='labelCol' :wrapperCol='wrapperCol'>
|
|
|
|
|
{{ form.roomContent.typeName }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item :labelCol='labelCol' :wrapperCol='wrapperCol' label='联系方式'>
|
|
|
|
|
{{ form.phone }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item label='所属公司' :labelCol='labelCol' :wrapperCol='wrapperCol'>
|
|
|
|
|
{{ form.customerName }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item :labelCol='labelCol' :wrapperCol='wrapperCol' label='会议开始时间'>
|
|
|
|
|
{{ form.startTime }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item label='会议结束时间' :labelCol='labelCol' :wrapperCol='wrapperCol'>
|
|
|
|
|
{{ form.endDate }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item :labelCol='labelCol' :wrapperCol='wrapperCol' label='订单编号'>
|
|
|
|
|
{{ form.oderNumber }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item label='实收金额' :labelCol='labelCol' :wrapperCol='wrapperCol'>
|
|
|
|
|
{{ form.orderMoney }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item :labelCol='labelCol' :wrapperCol='wrapperCol' label='订单状态'>
|
|
|
|
|
{{ form.statusName }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
2024-03-21 10:30:04 +08:00
|
|
|
|
<a-col :span='10' v-if='form.statusName == "已取消"'>
|
|
|
|
|
<a-form-item label='取消原因' :labelCol='labelCol' :wrapperCol='wrapperCol'>
|
|
|
|
|
{{ form.cancelResaon }}
|
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item label='使用优惠劵' :labelCol='labelCol' :wrapperCol='wrapperCol'>
|
|
|
|
|
{{ form.ticketName }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
<a-row>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item :labelCol='labelCol' :wrapperCol='wrapperCol' label='支付时间'>
|
|
|
|
|
{{ form.orderTime }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<a-col :span='10'>
|
|
|
|
|
<a-form-item label='创建时间' :labelCol='labelCol' :wrapperCol='wrapperCol'>
|
|
|
|
|
{{ form.createTime }}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-form-item>
|
|
|
|
|
</a-col>
|
|
|
|
|
</a-row>
|
|
|
|
|
</a-form-model>
|
|
|
|
|
<div style='display: flex;margin-bottom: 20px'>
|
|
|
|
|
<span style='width: 20px;display: block;font-size: 25px;color: #1890ff;font-weight: bold;'>|</span>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<span style='display: block;margin-top: 11px;font-size: 15px'>邀请记录</span>
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</div>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<div class='recordHeadView'>
|
|
|
|
|
<div>
|
|
|
|
|
<span>邀请人数:{{actualNum}}</span>
|
|
|
|
|
<span class='shidarenshu'>实到人数:{{attainNum}}</span>
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</div>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<!-- <div class='search'>-->
|
|
|
|
|
<!-- <div>关键词:</div>-->
|
|
|
|
|
<!-- <a-input class='searchInput' placeholder='请输入关键词' v-model='queryParam.title' />-->
|
|
|
|
|
<!-- </div>-->
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</div>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
<s-table
|
|
|
|
|
class='dataTable'
|
|
|
|
|
:columns='columns'
|
|
|
|
|
:data='loadData'
|
|
|
|
|
size='default'
|
|
|
|
|
ref='table'
|
|
|
|
|
bordered
|
|
|
|
|
>
|
|
|
|
|
</s-table>
|
2024-03-19 16:20:52 +08:00
|
|
|
|
</a-card>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
import { STable } from '@/components'
|
|
|
|
|
import { get, personList } from '@/api/admin/meeting/reservation'
|
|
|
|
|
// import ReservationModal from '@/views/admin/meeting/modules/ReservationModal'
|
|
|
|
|
|
2024-03-19 16:20:52 +08:00
|
|
|
|
export default {
|
|
|
|
|
name: 'reservationInfo',
|
2024-03-20 14:50:06 +08:00
|
|
|
|
components: {
|
|
|
|
|
STable
|
|
|
|
|
},
|
|
|
|
|
data() {
|
2024-03-19 16:20:52 +08:00
|
|
|
|
return {
|
|
|
|
|
labelCol: { span: 12 },
|
|
|
|
|
wrapperCol: { span: 8 },
|
|
|
|
|
form: {
|
2024-03-20 14:50:06 +08:00
|
|
|
|
roomContent: {}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
},
|
2024-03-20 14:50:06 +08:00
|
|
|
|
queryParam: {
|
|
|
|
|
reservationId: this.$route.query.id
|
2024-03-19 16:20:52 +08:00
|
|
|
|
},
|
|
|
|
|
columns: [
|
|
|
|
|
{
|
|
|
|
|
title: '参会人员',
|
2024-03-20 14:50:06 +08:00
|
|
|
|
dataIndex: 'participantName'
|
2024-03-19 16:20:52 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '联系电话',
|
2024-03-20 14:50:06 +08:00
|
|
|
|
dataIndex: 'participantPhone'
|
2024-03-19 16:20:52 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '邀请人',
|
2024-03-20 14:50:06 +08:00
|
|
|
|
dataIndex: 'userName'
|
2024-03-19 16:20:52 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '接收时间',
|
2024-03-20 14:50:06 +08:00
|
|
|
|
dataIndex: 'createTime'
|
2024-03-19 16:20:52 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '是否到访',
|
2024-03-20 14:50:06 +08:00
|
|
|
|
dataIndex: 'status'
|
2024-03-19 16:20:52 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '到访时间',
|
2024-03-20 14:50:06 +08:00
|
|
|
|
dataIndex: 'joinTime'
|
|
|
|
|
}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
],
|
2024-03-20 14:50:06 +08:00
|
|
|
|
dataList: [
|
|
|
|
|
{
|
|
|
|
|
name: 'wqc'
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
|
|
|
loadData: parameter => {
|
|
|
|
|
return personList(Object.assign(parameter, this.queryParam))
|
|
|
|
|
},
|
|
|
|
|
actualNum : null,
|
|
|
|
|
attainNum : null
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
|
this.getDetail()
|
|
|
|
|
personList({
|
|
|
|
|
reservationId: this.$route.query.id
|
|
|
|
|
}).then(res => {
|
|
|
|
|
this.actualNum = res.actualNum
|
|
|
|
|
this.attainNum = res.attainNum
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getDetail() {
|
|
|
|
|
get(this.$route.query.id).then(res => {
|
|
|
|
|
console.log('getDetail', res)
|
|
|
|
|
this.form = res
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
backPage() {
|
|
|
|
|
this.$router.back()
|
2024-03-19 16:20:52 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
2024-03-20 14:50:06 +08:00
|
|
|
|
.back {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding-right: 100px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.back .label {
|
|
|
|
|
margin-left: 4px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recordHeadView {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
width: 1000px;
|
|
|
|
|
margin: 14px auto;
|
|
|
|
|
color: black;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recordHeadView .shidarenshu {
|
|
|
|
|
margin-left: 50px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recordHeadView .search {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.recordHeadView .search .searchInput {
|
|
|
|
|
flex: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dataTable {
|
|
|
|
|
width: 1000px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
}
|
2024-03-19 16:20:52 +08:00
|
|
|
|
|
|
|
|
|
</style>
|