diff --git a/report-core/src/main/resources/bootstrap.yml b/report-core/src/main/resources/bootstrap.yml index 095bc014..c1b88b31 100644 --- a/report-core/src/main/resources/bootstrap.yml +++ b/report-core/src/main/resources/bootstrap.yml @@ -1,6 +1,6 @@ spring: profiles: - active: @spring.profiles.active@ + active: dev logging: config: classpath:logback.xml diff --git a/report-ui/package.json b/report-ui/package.json index 6f803ba1..5fdd0db1 100644 --- a/report-ui/package.json +++ b/report-ui/package.json @@ -34,6 +34,7 @@ "vue-color": "^2.8.1", "vue-drag-resize": "^1.5.4", "vue-echarts": "^5.0.0-beta.0", + "vue-json-editor": "^1.4.3", "vue-router": "3.0.1", "vue-ruler-tool": "^1.2.4", "vuedraggable": "^2.24.1", diff --git a/report-ui/src/api/report.js b/report-ui/src/api/report.js index 8314d5bd..e78747df 100644 --- a/report-ui/src/api/report.js +++ b/report-ui/src/api/report.js @@ -163,4 +163,12 @@ export function editReportExcel (data) { method: 'put', data, }) +} +// /dataSet/pageList +export function dataSetPageList (data) { + return request({ + url: '/dataSet/pageList', + method: 'GET', + data, + }) } \ No newline at end of file diff --git a/report-ui/src/assets/styles/index.scss b/report-ui/src/assets/styles/index.scss index 526a10b9..9fa399b3 100644 --- a/report-ui/src/assets/styles/index.scss +++ b/report-ui/src/assets/styles/index.scss @@ -280,4 +280,4 @@ a:hover { color: #bfcbd9!important; font-weight: normal !important; } -} +} \ No newline at end of file diff --git a/report-ui/src/assets/styles/sidebar.scss b/report-ui/src/assets/styles/sidebar.scss index d94399d1..9649af9c 100644 --- a/report-ui/src/assets/styles/sidebar.scss +++ b/report-ui/src/assets/styles/sidebar.scss @@ -55,10 +55,14 @@ } .hideSidebar { .sidebar-container { - width: 36px !important; + width: 56px !important; + .iconfont { + font-size: 24px; + margin-left: 5px; + } } .main-container { - margin-left: 36px; + margin-left:56px; } .submenu-title-noDropdown { padding-left: 10px !important; diff --git a/report-ui/src/views/layout/components/AppMain.vue b/report-ui/src/views/layout/components/AppMain.vue index 747bea23..c026476f 100644 --- a/report-ui/src/views/layout/components/AppMain.vue +++ b/report-ui/src/views/layout/components/AppMain.vue @@ -29,5 +29,6 @@ export default { height: calc(100vh - 50px); position: relative; overflow: auto; + background: #f5f8fa; } diff --git a/report-ui/src/views/layout/components/Sidebar/index.vue b/report-ui/src/views/layout/components/Sidebar/index.vue index f3980554..cb569253 100644 --- a/report-ui/src/views/layout/components/Sidebar/index.vue +++ b/report-ui/src/views/layout/components/Sidebar/index.vue @@ -2,7 +2,9 @@
- 在线大屏 +
- 查看 + diff --git a/report-ui/src/views/report/datasource/index.vue b/report-ui/src/views/report/datasource/index.vue index b393f5b3..15395aef 100644 --- a/report-ui/src/views/report/datasource/index.vue +++ b/report-ui/src/views/report/datasource/index.vue @@ -77,7 +77,7 @@ { if (data.code == '200') { - this.testReplyCode = data.code + this.testReplyCode = data.code; + this.$message({ + message: '测试成功!', + type: 'success' + }); + } else { this.testReplyCode = null } diff --git a/report-ui/src/views/report/report/index.vue b/report-ui/src/views/report/report/index.vue index e91eff4d..6394cfc4 100644 --- a/report-ui/src/views/report/report/index.vue +++ b/report-ui/src/views/report/report/index.vue @@ -77,6 +77,7 @@ border :data="list" element-loading-text="Loading" + class="mt10" style="width: 100%"> - + - + @@ -247,7 +248,7 @@ export default { params: { reportCode: '', reportName: '', - reportType: '', + // reportType: '', pageNumber: 1, pageSize: 10, order: 'DESC', @@ -256,8 +257,8 @@ export default { dialogForm: { reportName: '', reportCode: '', - reportType: '', - reportGroup: '', + // reportType: '', + // reportGroup: '', reportDesc: '', }, basicDialog: false, @@ -302,7 +303,7 @@ export default { this.$refs[formName].resetFields() this.params.reportName = '' this.params.reportCode = '' - this.params.reportType = '' + // this.params.reportType = '' this.params.pageNumber = 1 this.queryByPage() }, @@ -326,7 +327,7 @@ export default { this.dialogForm = { reportName: '', reportCode: '', - reportType: '', + // reportType: '', reportDesc: '', } } else { @@ -335,25 +336,25 @@ export default { }, // 预览 preview (val) { - if (val.reportType === 'report_excel') { - var routeUrl = this.$router.resolve({ path: '/report/excelreport/viewer', query: { reportCode: val.reportCode } }) - window.open(routeUrl.href, '_blank') - } else { - // eslint-disable-next-line no-redeclare - var routeUrl = this.$router.resolve({ path: '/bigscreen/viewer', query: { reportCode: val.reportCode } }) - window.open(routeUrl.href, '_blank') - } + // if (val.reportType === 'report_excel') { + // var routeUrl = this.$router.resolve({ path: '/report/excelreport/viewer', query: { reportCode: val.reportCode } }) + // window.open(routeUrl.href, '_blank') + // } else { + // eslint-disable-next-line no-redeclare + var routeUrl = this.$router.resolve({ path: '/bigscreen/viewer', query: { reportCode: val.reportCode } }) + window.open(routeUrl.href, '_blank') + // } }, // 设计 design (val) { - if (val.reportType === 'report_excel') { - var routeUrl = this.$router.resolve({ path: '/report/excelreport/designer', query: { reportCode: val.reportCode, reportId: val.id, accessKey: val.accessKey } }) - window.open(routeUrl.href, '_blank') - } else { - // eslint-disable-next-line no-redeclare - var routeUrl = this.$router.resolve({ path: '/bigscreen/designer', query: { reportCode: val.reportCode, reportId: val.id, accessKey: val.accessKey } }) - window.open(routeUrl.href, '_blank') - } + // if (val.reportType === 'report_excel') { + // var routeUrl = this.$router.resolve({ path: '/report/excelreport/designer', query: { reportCode: val.reportCode, reportId: val.id, accessKey: val.accessKey } }) + // window.open(routeUrl.href, '_blank') + // } else { + // eslint-disable-next-line no-redeclare + var routeUrl = this.$router.resolve({ path: '/bigscreen/designer', query: { reportCode: val.reportCode, reportId: val.id, accessKey: val.accessKey } }) + window.open(routeUrl.href, '_blank') + // } }, // 删除 async delReport (val) { diff --git a/report-ui/src/views/report/resultset/index.vue b/report-ui/src/views/report/resultset/index.vue index 340acee6..af1c5907 100644 --- a/report-ui/src/views/report/resultset/index.vue +++ b/report-ui/src/views/report/resultset/index.vue @@ -260,7 +260,7 @@ + style="height:190px" />
@@ -390,15 +390,15 @@