| | |
| | | <iframe |
| | | id="iframe" |
| | | :src="sql_Url" |
| | | style="height: 100%" |
| | | height="98%" |
| | | width="100%" |
| | | frameborder="0" |
| | | ></iframe> |
| | |
| | | }, |
| | | //方法集合 |
| | | methods: { |
| | | handleSelectionChange() {}, |
| | | handleSelectionChange() { }, |
| | | getUrl() { |
| | | |
| | | if (this.$store.state.iframeMsg.indexOf('token=') != -1) { |
| | | this.sql_Url = this.$store.state.iframeMsg + getToken(); |
| | | } else { |
| | |
| | | created() { |
| | | this.getUrl(); |
| | | }, |
| | | mounted() {}, |
| | | mounted() { }, |
| | | }; |
| | | </script> |
| | | <style lang="less" scoped> |
| | | //@import url(); 引入公共css类 |
| | | .databaseMonitoring_box { |
| | | border-radius: 10px; |
| | | height: 81%; |
| | | width: 97%; |
| | | height: 98%; |
| | | width: 98%; |
| | | padding: 1%; |
| | | position: absolute; |
| | | box-sizing: border-box; |
| | | } |
| | | </style> |