parent
1ce2f1b693
commit
d748aef04b
@ -0,0 +1,63 @@ |
|||||||
|
<template> |
||||||
|
<!-- 场馆 列表 --> |
||||||
|
<div class="p-dialog-box"> |
||||||
|
<div class="display-flex p-form"> |
||||||
|
<el-select class="p-select " v-model="filterData.searchType" placeholder="请选择类型"> |
||||||
|
<el-option label="资源名称" value="resourceName"></el-option> |
||||||
|
<el-option label="联系人" value="contacts"></el-option> |
||||||
|
<el-option label="联系电话" value="telephone"></el-option> |
||||||
|
</el-select> |
||||||
|
<div class="p-resource-seek m-l-small"> |
||||||
|
<el-input v-model="filterData.keywords" placeholder="请输入关键词"></el-input> |
||||||
|
</div> |
||||||
|
<div @click="getresourceListData" class="p-filter-search-btn m-l-small"><i class="iconfont icon-search"></i></div> |
||||||
|
</div> |
||||||
|
<el-table class="p-table m-t-small" :data="listData" align="center" show-overflow-tooltip="true" height="450"> |
||||||
|
<el-table-column :key="1" type="index" label="序号" width="50"></el-table-column> |
||||||
|
<el-table-column :key="2" prop="region" label="区域" width="180"></el-table-column> |
||||||
|
<el-table-column :key="3" prop="resourceName" label="资源名称" width="180"></el-table-column> |
||||||
|
<el-table-column :key="4" prop="contacts" label="联系人"></el-table-column> |
||||||
|
<el-table-column :key="5" prop="telephone" label="联系电话"></el-table-column> |
||||||
|
</el-table> |
||||||
|
<div class="p-pagination"> |
||||||
|
<el-pagination |
||||||
|
:current-page="resourcePage" |
||||||
|
:page-size="10" |
||||||
|
layout="prev, pager, next, jumper" |
||||||
|
:total="total"> |
||||||
|
</el-pagination> |
||||||
|
</div> |
||||||
|
</div> |
||||||
|
</template> |
||||||
|
|
||||||
|
<script> |
||||||
|
import { getBasicList } from "@/api/picture/resource-monitoring/resourceMonitoring"; |
||||||
|
export default { |
||||||
|
name: "emergency-list", |
||||||
|
props: ['listData','total','interfacePath','dataType'], |
||||||
|
data(){ |
||||||
|
return{ |
||||||
|
resourcePage:0, |
||||||
|
//资源信息筛选 表单 |
||||||
|
filterData: { |
||||||
|
searchType: "", |
||||||
|
keywords: "", |
||||||
|
type: "", |
||||||
|
}, |
||||||
|
} |
||||||
|
}, |
||||||
|
methods: { |
||||||
|
//获取 旅游资源 数据 |
||||||
|
getresourceListData() { |
||||||
|
this.filterData.type = this.dataType; |
||||||
|
getBasicList(this.interfacePath,this.filterData).then(response => { |
||||||
|
this.total = response.total; |
||||||
|
this.listData = response.rows; |
||||||
|
}); |
||||||
|
}, |
||||||
|
} |
||||||
|
} |
||||||
|
</script> |
||||||
|
|
||||||
|
<style scoped lang="scss"> |
||||||
|
</style> |
Loading…
Reference in new issue