| | |
| | | <div class="page-header"> |
| | | <div class="page-title"> |
| | | <el-button icon="el-icon-back" size="mini" style="font-size: 20px; color: #000;" type="text" @click="showDevice" ></el-button> |
| | | 通道列表</div> |
| | | <el-divider direction="vertical"></el-divider> |
| | | 通道列表 |
| | | </div> |
| | | <div class="page-header-btn"> |
| | | 搜索: |
| | | <el-input @input="search" style="margin-right: 1rem; width: auto;" size="mini" placeholder="关键字" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <el-pagination style="float: right" @size-change="handleSizeChange" @current-change="currentChange" |
| | | :current-page="currentPage" :page-size="count" :page-sizes="[15, 20, 30, 50]" |
| | | layout="total, sizes, prev, pager, next" :total="total"> |
| | | <el-pagination |
| | | style="float: right" |
| | | @size-change="handleSizeChange" |
| | | @current-change="currentChange" |
| | | :current-page="currentPage" |
| | | :page-size="count" |
| | | :page-sizes="[15, 25, 35, 50]" |
| | | layout="total, sizes, prev, pager, next" |
| | | :total="total"> |
| | | </el-pagination> |
| | | </div> |
| | | </template> |
| | |
| | | }) |
| | | }, |
| | | handleSizeChange: function (val) { |
| | | var url = `/${this.$router.currentRoute.name}/${this.$router.params.deviceId}/${this.$router.params.parentChannelId}/${val}/1` |
| | | this.$router.push(url).then(() => { |
| | | this.initParam(); |
| | | this.initData(); |
| | | }) |
| | | |
| | | this.count = val; |
| | | this.getDeviceChannelList(); |
| | | }, |
| | | getDeviceChannelList: function () { |
| | | let that = this; |