@@ -420,7 +435,7 @@ import QuotaFilterEditor from '../components/filter/QuotaFilterEditor'
import DimensionFilterEditor from '../components/filter/DimensionFilterEditor'
import TableNormal from '../components/table/TableNormal'
import LabelNormal from '../components/normal/LabelNormal'
-import html2canvas from 'html2canvas'
+import html2canvas from 'html2canvasde'
import TableSelector from './TableSelector'
import FieldEdit from '../../dataset/data/FieldEdit'
@@ -506,7 +521,7 @@ export default {
watch: {
'param': function() {
if (this.param.optType === 'new') {
-
+ //
} else {
this.getData(this.param.id)
}
@@ -762,8 +777,8 @@ export default {
// 左边往右边拖动时的事件
start1(e) {
// console.log(e)
- e.clone.className = 'item-on-move'
- e.item.className = 'item-on-move'
+ e.clone.className = 'item'
+ e.item.className = 'item'
},
end1(e) {
// console.log(e)
@@ -1046,7 +1061,8 @@ export default {
},
changeDs() {
- this.changeDsTitle = this.$t('chart.change_ds') + '[' + this.table.name + ']'
+ const dialogTitle = (this.table && this.table.name) ? ('[' + this.table.name + ']') : ''
+ this.changeDsTitle = this.$t('chart.change_ds') + dialogTitle
this.selectTableFlag = true
},
@@ -1179,9 +1195,15 @@ export default {
.tab-header>>>.el-tabs__nav-scroll{
padding-left: 0!important;
}
+ .tab-header>>>.el-tabs__header{
+ margin: 0!important;
+ }
+ .tab-header>>>.el-tabs__content{
+ height: 100%;
+ }
.draggable-group {
- display: inline-block;
+ display: block;
width: 100%;
height: calc(100% - 6px);
}
@@ -1203,7 +1225,7 @@ export default {
}
.el-radio{
- margin:6px;
+ margin:5px;
}
.el-radio>>>.el-radio__label{
@@ -1211,7 +1233,7 @@ export default {
}
.attr-style{
- height: calc(100vh - 56px - 25vh - 40px - 62px - 60px - 20px);
+ height: calc(100vh - 56px - 25vh - 40px - 60px);
}
.attr-selector{
@@ -1238,11 +1260,11 @@ export default {
}
.chart-class{
- height: calc(100% - 84px);
+ height: 100%;
padding: 10px;
}
.table-class{
- height: calc(100% - 104px);
+ height: calc(100% - 20px);
margin: 10px;
}
@@ -1275,4 +1297,13 @@ export default {
.field-height{
height: calc(50% - 20px);
}
+ .padding-tab{
+ padding: 0;
+ height: 100%;
+ }
+ .collapse-style>>>.el-collapse-item__header{
+ height: 40px;
+ line-height: 40px;
+ padding: 0 0 0 10px;
+ }
diff --git a/frontend/src/views/panel/list/PanelViewShow.vue b/frontend/src/views/panel/list/PanelViewShow.vue
index 531b63df6a..0d912b2b10 100644
--- a/frontend/src/views/panel/list/PanelViewShow.vue
+++ b/frontend/src/views/panel/list/PanelViewShow.vue
@@ -76,7 +76,7 @@
import Preview from '@/components/canvas/components/Editor/Preview'
import SaveToTemplate from '@/views/panel/list/SaveToTemplate'
import { mapState } from 'vuex'
-import html2canvas from 'html2canvas'
+import html2canvas from 'html2canvasde'
import FileSaver from 'file-saver'
import { enshrineList, saveEnshrine, deleteEnshrine } from '@/api/panel/enshrine'
import bus from '@/utils/bus'