| | |
| | | <el-tab-pane label="目录结构" name="catalog"> |
| | | <el-container> |
| | | <el-main v-bind:style="{backgroundColor: '#FFF', maxHeight: winHeight + 'px'}"> |
| | | <chooseChannelForCatalog ref="chooseChannelForCatalog" :platformId=platformId :platformName=platformName :defaultCatalogId=defaultCatalogId :catalogIdChange="catalogIdChange" :treeType=treeType ></chooseChannelForCatalog> |
| | | <chooseChannelForCatalog ref="chooseChannelForCatalog" :platformId=platformId :platformDeviceId=platformDeviceId :platformName=platformName :defaultCatalogId=defaultCatalogId :catalogIdChange="catalogIdChange" :treeType=treeType ></chooseChannelForCatalog> |
| | | </el-main> |
| | | </el-container> |
| | | </el-tab-pane> |
| | |
| | | tabActiveName: "gbChannel", |
| | | catalogTabActiveName: "catalog", |
| | | platformId: "", |
| | | platformDeviceId: "", |
| | | catalogId: "", |
| | | catalogName: "", |
| | | currentCatalogId: "", |
| | |
| | | }; |
| | | }, |
| | | methods: { |
| | | openDialog(platformId, platformName, defaultCatalogId, treeType, closeCallback) { |
| | | openDialog(platformId, platformDeviceId, platformName, defaultCatalogId, treeType, closeCallback) { |
| | | console.log("defaultCatalogId: " + defaultCatalogId) |
| | | this.platformId = platformId |
| | | this.platformDeviceId = platformDeviceId |
| | | this.platformName = platformName |
| | | this.defaultCatalogId = defaultCatalogId |
| | | this.showDialog = true |
| | |
| | | |
| | | this.$axios({ |
| | | method:"post", |
| | | url:"/api/platform/update_channel_for_gb", |
| | | url:"./api/platform/update_channel_for_gb", |
| | | data:{ |
| | | platformId: that.platformId, |
| | | channelReduces: that.chooseData |