【update】-会议酒店推荐
This commit is contained in:
@@ -98,8 +98,8 @@
|
||||
<!-- 操作按钮区域 -->
|
||||
<div class="table-operator">
|
||||
<!-- <a-button @click="handleAdd" type="primary" icon="plus" v-has="'otherMeeting:add'">新增</a-button>-->
|
||||
<a-button type="primary" icon="download" @click="handleExportXls('会议汇总')" v-has="'allmeeting:export'">导出
|
||||
</a-button>
|
||||
<a-button type="primary" icon="download" @click="handleExportXls('会议汇总')" v-has="'allmeeting:export'">导出</a-button>
|
||||
<a-button type="primary" @click="handleEnterRecommendHotelPage" v-has="'allmeeting:export'">会议酒店推荐</a-button>
|
||||
<!-- <a-button type="danger" icon="delete" @click="batchDel" v-has="'otherMeeting:batchDel'">批量删除</a-button>-->
|
||||
<!-- <a-button @click="releaseMeeing" type="primary" v-has="'otherMeeting:release'">发布</a-button>-->
|
||||
</div>
|
||||
@@ -332,6 +332,12 @@ export default {
|
||||
}
|
||||
return startValue.valueOf() > endValue.valueOf()
|
||||
},
|
||||
// 进入会议酒店推荐页面
|
||||
handleEnterRecommendHotelPage() {
|
||||
this.$router.push({
|
||||
path: '/projectManagement/allMeetingList/RecommendHotelPage'
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -0,0 +1,209 @@
|
||||
<!--会议酒店推荐-->
|
||||
<template>
|
||||
<div>
|
||||
<page-header-title :img-for-icon="IconImg"></page-header-title>
|
||||
<a-card :bordered="false">
|
||||
<!-- 查询区域 -->
|
||||
<div class="table-page-search-wrapper">
|
||||
<a-form layout="inline" @keyup.enter.native="searchQuery">
|
||||
<a-row :gutter="24">
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<a-form-item label="推荐人">
|
||||
<a-input placeholder="请输入推荐人" v-model="queryParam.recommendPeople" :maxLength='50'></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<a-form-item label="酒店名称">
|
||||
<a-input placeholder="请输入酒店名称" v-model="queryParam.hotelName" ></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<a-form-item label="所在省份">
|
||||
<a-input placeholder="请输入所在省份" v-model="queryParam.hotelProvince" ></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<a-form-item label="所在城市">
|
||||
<a-input placeholder="请输入所在城市" v-model="queryParam.hotelCity" ></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<!--是否-->
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<a-form-item label="是否举办过标准院会议">
|
||||
<j-dict-select-tag style="width: 100%"
|
||||
dict-code="yn"
|
||||
v-model="queryParam.isHold"
|
||||
placeholder="请选择是否举办过标准院会议"></j-dict-select-tag>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<a-form-item label="曾举办会议类型">
|
||||
<j-dict-select-tag style="width: 100%"
|
||||
dict-code="meeting_type"
|
||||
v-model="queryParam.meetingType"
|
||||
placeholder="请选择曾举办会议类型"></j-dict-select-tag>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<a-form-item label="酒店联系方式">
|
||||
<a-input placeholder="请输入酒店联系方式" v-model="queryParam.contact" ></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<a-form-item label="备注">
|
||||
<a-input placeholder="请输入备注" v-model="queryParam.remark" ></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
<a-col :xl="6" :lg="7" :md="8" :sm="24">
|
||||
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
|
||||
<a-button type="primary" @click="searchQuery" icon="search" v-has="'recommendHotelPage:list'">查询</a-button>
|
||||
<a-button @click="searchReset" icon="reload" class="reset-button" style="margin-left: 8px">重置</a-button>
|
||||
</span>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form>
|
||||
</div>
|
||||
<!-- 查询区域-END -->
|
||||
<!-- 操作按钮区域 -->
|
||||
<div class="table-operator">
|
||||
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl"
|
||||
@change="handleImportExcel" v-has="'recommendHotelPage:import'">
|
||||
<a-button type="primary" icon="import">导入</a-button>
|
||||
</a-upload>
|
||||
<a-button type="primary" icon="download" @click="downTemplate('会议酒店推荐导入模板')" v-has="'recommendHotelPage:downTemplate'">
|
||||
下载模板
|
||||
</a-button>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<a-table
|
||||
ref="table"
|
||||
size="middle"
|
||||
bordered
|
||||
rowKey="id"
|
||||
:scroll="{x:true}"
|
||||
:columns="columns"
|
||||
:dataSource="dataSource"
|
||||
:pagination="ipagination"
|
||||
:loading="loading"
|
||||
|
||||
class="j-table-force-nowrap"
|
||||
@change="handleTableChange">
|
||||
<template slot="text" slot-scope="text">
|
||||
<a-tooltip>
|
||||
<template slot="title">{{ text }}</template>
|
||||
<div class="table-text">{{ text }}</div>
|
||||
</a-tooltip>
|
||||
</template>
|
||||
</a-table>
|
||||
</div>
|
||||
</a-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {JeroListMixin} from '@/mixins/JeroListMixin'
|
||||
import IconImg from '@/assets/imgs/icon/icon_other_meeting.png'
|
||||
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
|
||||
|
||||
export default {
|
||||
name: 'RecommendHotelPage',
|
||||
mixins: [JeroListMixin],
|
||||
components: {
|
||||
PageHeaderTitle
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
description: '会议酒店推荐',
|
||||
IconImg,
|
||||
columns: [
|
||||
{
|
||||
title: '序号',
|
||||
dataIndex: '',
|
||||
key: 'rowIndex',
|
||||
width: 60,
|
||||
align: 'center',
|
||||
customRender: function (t, r, index) {
|
||||
return parseInt(index) + 1
|
||||
}
|
||||
},
|
||||
{
|
||||
title: '推荐人',
|
||||
align: 'center',
|
||||
dataIndex: 'recommendPeople',
|
||||
scopedSlots: {customRender: 'text'},
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '酒店名称',
|
||||
align: 'center',
|
||||
dataIndex: 'hotelName',
|
||||
scopedSlots: {customRender: 'text'},
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '所在省份',
|
||||
align: 'center',
|
||||
dataIndex: 'hotelProvince',
|
||||
scopedSlots: {customRender: 'text'},
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '所在城市',
|
||||
align: 'center',
|
||||
dataIndex: 'hotelCity',
|
||||
scopedSlots: {customRender: 'text'},
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '是否举办过标准院会议',
|
||||
align: 'center',
|
||||
dataIndex: 'isHold',
|
||||
scopedSlots: {customRender: 'text'},
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '曾举办会议类型',
|
||||
align: 'center',
|
||||
dataIndex: 'meetingType',
|
||||
scopedSlots: {customRender: 'text'},
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '酒店联系方式',
|
||||
align: 'center',
|
||||
dataIndex: 'contact',
|
||||
scopedSlots: {customRender: 'text'},
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
title: '备注',
|
||||
align: 'center',
|
||||
dataIndex: 'remark',
|
||||
scopedSlots: {customRender: 'text'},
|
||||
width: 100,
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: '/meeting/payMeeting/queryMeetingSummary',
|
||||
importExcelUrl: '/meeting/otherMeeting/importExcel',
|
||||
downTemplateUrl: '/meeting/otherMeeting/downTemplateUrlExcel',
|
||||
},
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
importExcelUrl: function () {
|
||||
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
@import '~@assets/less/common.less';
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user