|
@ -4,33 +4,6 @@ |
|
|
<div class="table-page-search-wrapper"> |
|
|
<div class="table-page-search-wrapper"> |
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery"> |
|
|
<a-form layout="inline" @keyup.enter.native="searchQuery"> |
|
|
<a-row :gutter="24"> |
|
|
<a-row :gutter="24"> |
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24"> |
|
|
|
|
|
<a-form-item label="地点名字"> |
|
|
|
|
|
<a-input placeholder="请输入地点名字" v-model="queryParam.spotName"></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 placeholder="请选择地点所属景区" v-model="queryParam.areaId" dictCode="travel_area,area_name,id"/> |
|
|
|
|
|
</a-form-item> |
|
|
|
|
|
</a-col> |
|
|
|
|
|
<template v-if="toggleSearchStatus"> |
|
|
|
|
|
<a-col :xl="6" :lg="7" :md="8" :sm="24"> |
|
|
|
|
|
<a-form-item label="地点类型"> |
|
|
|
|
|
<a-input placeholder="请输入地点类型" v-model="queryParam.categoryId"></a-input> |
|
|
|
|
|
</a-form-item> |
|
|
|
|
|
</a-col> |
|
|
|
|
|
</template> |
|
|
|
|
|
<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">查询</a-button> |
|
|
|
|
|
<a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button> |
|
|
|
|
|
<a @click="handleToggleSearch" style="margin-left: 8px"> |
|
|
|
|
|
{{ toggleSearchStatus ? '收起' : '展开' }} |
|
|
|
|
|
<a-icon :type="toggleSearchStatus ? 'up' : 'down'"/> |
|
|
|
|
|
</a> |
|
|
|
|
|
</span> |
|
|
|
|
|
</a-col> |
|
|
|
|
|
</a-row> |
|
|
</a-row> |
|
|
</a-form> |
|
|
</a-form> |
|
|
</div> |
|
|
</div> |
|
@ -39,10 +12,10 @@ |
|
|
<!-- 操作按钮区域 --> |
|
|
<!-- 操作按钮区域 --> |
|
|
<div class="table-operator"> |
|
|
<div class="table-operator"> |
|
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> |
|
|
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button> |
|
|
<a-button type="primary" icon="download" @click="handleExportXls('地点表')">导出</a-button> |
|
|
|
|
|
|
|
|
<!-- <a-button type="primary" icon="download" @click="handleExportXls('地点表')">导出</a-button> |
|
|
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> |
|
|
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel"> |
|
|
<a-button type="primary" icon="import">导入</a-button> |
|
|
<a-button type="primary" icon="import">导入</a-button> |
|
|
</a-upload> |
|
|
|
|
|
|
|
|
</a-upload> --> |
|
|
<!-- 高级查询区域 --> |
|
|
<!-- 高级查询区域 --> |
|
|
<j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query> |
|
|
<j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query> |
|
|
<a-dropdown v-if="selectedRowKeys.length > 0"> |
|
|
<a-dropdown v-if="selectedRowKeys.length > 0"> |
|
@ -161,24 +134,24 @@ |
|
|
scopedSlots: {customRender: 'imgSlot'} |
|
|
scopedSlots: {customRender: 'imgSlot'} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'地点坐标_经度', |
|
|
|
|
|
|
|
|
title:'所属景区', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'spotLongitude' |
|
|
|
|
|
|
|
|
dataIndex: 'areaId_dictText' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'地点坐标_纬度', |
|
|
|
|
|
|
|
|
title:'地点类型', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'spotLatitude' |
|
|
|
|
|
|
|
|
dataIndex: 'categoryId_dictText' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'地点所属景区', |
|
|
|
|
|
|
|
|
title:'地点坐标_经度', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'areaId_dictText' |
|
|
|
|
|
|
|
|
dataIndex: 'spotLongitude' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'地点类型', |
|
|
|
|
|
|
|
|
title:'地点坐标_纬度', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'categoryId' |
|
|
|
|
|
|
|
|
dataIndex: 'spotLatitude' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'地点详情', |
|
|
title:'地点详情', |
|
@ -187,10 +160,15 @@ |
|
|
scopedSlots: {customRender: 'htmlSlot'} |
|
|
scopedSlots: {customRender: 'htmlSlot'} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title:'语音讲解内容', |
|
|
|
|
|
|
|
|
title:'语音讲解文字', |
|
|
align:"center", |
|
|
align:"center", |
|
|
dataIndex: 'spotAudio' |
|
|
dataIndex: 'spotAudio' |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
title:'语音讲解音频', |
|
|
|
|
|
align:"center", |
|
|
|
|
|
dataIndex: 'spotAudioContent' |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
title: '操作', |
|
|
title: '操作', |
|
|
dataIndex: 'action', |
|
|
dataIndex: 'action', |
|
@ -227,12 +205,13 @@ |
|
|
let fieldList=[]; |
|
|
let fieldList=[]; |
|
|
fieldList.push({type:'string',value:'spotName',text:'地点名字',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'spotName',text:'地点名字',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'spotImage',text:'地点图片',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'spotImage',text:'地点图片',dictCode:''}) |
|
|
|
|
|
fieldList.push({type:'string',value:'areaId',text:'所属景区',dictCode:"travel_area,area_name,id"}) |
|
|
|
|
|
fieldList.push({type:'string',value:'categoryId',text:'地点类型',dictCode:'jdz_spot'}) |
|
|
fieldList.push({type:'BigDecimal',value:'spotLongitude',text:'地点坐标_经度',dictCode:''}) |
|
|
fieldList.push({type:'BigDecimal',value:'spotLongitude',text:'地点坐标_经度',dictCode:''}) |
|
|
fieldList.push({type:'BigDecimal',value:'spotLatitude',text:'地点坐标_纬度',dictCode:''}) |
|
|
fieldList.push({type:'BigDecimal',value:'spotLatitude',text:'地点坐标_纬度',dictCode:''}) |
|
|
fieldList.push({type:'string',value:'areaId',text:'地点所属景区',dictCode:"travel_area,area_name,id"}) |
|
|
|
|
|
fieldList.push({type:'int',value:'categoryId',text:'地点类型',dictCode:''}) |
|
|
|
|
|
fieldList.push({type:'Text',value:'spotDetail',text:'地点详情',dictCode:''}) |
|
|
fieldList.push({type:'Text',value:'spotDetail',text:'地点详情',dictCode:''}) |
|
|
fieldList.push({type:'Text',value:'spotAudio',text:'语音讲解内容',dictCode:''}) |
|
|
|
|
|
|
|
|
fieldList.push({type:'Text',value:'spotAudio',text:'语音讲解文字',dictCode:''}) |
|
|
|
|
|
fieldList.push({type:'string',value:'spotAudioContent',text:'语音讲解音频',dictCode:''}) |
|
|
this.superFieldList = fieldList |
|
|
this.superFieldList = fieldList |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|