|
|
@@ -23,8 +23,8 @@
|
|
|
:rowKey="(record) => record.id"
|
|
|
:dataSource="tableData">
|
|
|
<a-table-column key="id" title="ID" data-index="id"></a-table-column>
|
|
|
- <a-table-column key="projectNickName" title="景区名" data-index="projectNickName"></a-table-column>
|
|
|
- <a-table-column key="otaTicketTypeName" title="票种名称" data-index="otaTicketTypeName"></a-table-column>
|
|
|
+ <a-table-column key="scenicListName" title="景区名" data-index="scenicList[0].selfScenicName"></a-table-column>
|
|
|
+ <a-table-column key="name" title="票种名称" data-index="name"></a-table-column>
|
|
|
<a-table-column key="price" title="价格" data-index="price"></a-table-column>
|
|
|
|
|
|
</a-table>
|
|
|
@@ -56,13 +56,24 @@ export default {
|
|
|
})
|
|
|
|
|
|
const projectList = ref([])
|
|
|
- getProjectList().then(res => {
|
|
|
+ const params = {
|
|
|
+ export:false,
|
|
|
+ exportDetail:false,
|
|
|
+ pageSize: 10,
|
|
|
+ pageNum: 1,
|
|
|
+ category:"",
|
|
|
+ name:"",
|
|
|
+ isSale:1
|
|
|
+ }
|
|
|
+ getProjectList(params).then(res => {
|
|
|
+ // console.log('---getProjectList',res)
|
|
|
const list = res.extraInfo.map(i => {
|
|
|
return {
|
|
|
value: i.id,
|
|
|
label: i.projectNickName
|
|
|
}
|
|
|
})
|
|
|
+ console.log('---list',list)
|
|
|
projectList.value = [{ value: '', label: '全部' }].concat(list)
|
|
|
})
|
|
|
|