完成向上级联->选择通道-001
This commit is contained in:
@@ -39,9 +39,9 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="deviceGBId" label="设备国标编号" width="240" align="center"></el-table-column>
|
||||
<el-table-column prop="transport" label="流传输模式" width="120" align="center"></el-table-column>
|
||||
<el-table-column prop="transport" label="信令传输模式" width="120" align="center"></el-table-column>
|
||||
<el-table-column prop="channelCount" label="通道数" align="center"></el-table-column>
|
||||
|
||||
|
||||
<el-table-column label="操作" width="300" align="center" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" icon="el-icon-edit" @click="editPlatform(scope.row)">编辑</el-button>
|
||||
@@ -61,6 +61,7 @@
|
||||
:total="total">
|
||||
</el-pagination>
|
||||
<platformEdit ref="platformEdit" ></platformEdit>
|
||||
<chooseChannelDialog ref="chooseChannelDialog" ></chooseChannelDialog>
|
||||
</el-main>
|
||||
</el-container>
|
||||
</div>
|
||||
@@ -69,11 +70,13 @@
|
||||
<script>
|
||||
import platformEdit from './platformEdit.vue'
|
||||
import uiHeader from './UiHeader.vue'
|
||||
import chooseChannelDialog from './gb28181/chooseChannel.vue'
|
||||
export default {
|
||||
name: 'app',
|
||||
components: {
|
||||
platformEdit,
|
||||
uiHeader
|
||||
uiHeader,
|
||||
chooseChannelDialog
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -86,11 +89,13 @@ export default {
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
|
||||
getcurrentDeviceChannels: function() {
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$refs.chooseChannelDialog.openDialog()
|
||||
this.initData();
|
||||
this.updateLooper = setInterval(this.initData, 10000);
|
||||
},
|
||||
@@ -133,7 +138,7 @@ export default {
|
||||
});
|
||||
},
|
||||
chooseChannel: function(platform) {
|
||||
|
||||
this.$refs.chooseChannelDialog.openDialog()
|
||||
},
|
||||
initData: function() {
|
||||
this.getPlatformList();
|
||||
|
||||
@@ -31,6 +31,8 @@
|
||||
<el-table ref="channelListTable" :data="deviceChannelList" :height="winHeight" border style="width: 100%">
|
||||
<el-table-column prop="channelId" label="通道编号" width="210">
|
||||
</el-table-column>
|
||||
<el-table-column prop="channelId" label="设备编号" width="210">
|
||||
</el-table-column>
|
||||
<el-table-column prop="name" label="通道名称">
|
||||
</el-table-column>
|
||||
<el-table-column prop="subCount" label="子节点数">
|
||||
|
||||
Reference in New Issue
Block a user