@@ -761,6 +761,25 @@
+
+
+
+ {{ $t('chart.senior_cfg') }}
+
+
+
+
+
+
+
+
+
+
{{ $t('chart.chart_no_senior') }}
@@ -1084,6 +1103,7 @@ import PluginCom from '@/views/system/plugin/PluginCom'
import { mapState } from 'vuex'
import FunctionCfg from '@/views/chart/components/senior/FunctionCfg'
+import MapMapping from '@/views/chart/components/senior/MapMapping'
import AssistLine from '@/views/chart/components/senior/AssistLine'
import Threshold from '@/views/chart/components/senior/Threshold'
import LabelNormalText from '@/views/chart/components/normal/LabelNormalText'
@@ -1129,7 +1149,8 @@ export default {
ChartDragItem,
DrillItem,
DrillPath,
- PluginCom
+ PluginCom,
+ MapMapping
},
props: {
param: {
@@ -1952,6 +1973,10 @@ export default {
this.view.senior.scrollCfg = val
this.calcStyle()
},
+ onMapMappingChange(val) {
+ this.view.senior.mapMapping = val
+ this.calcStyle()
+ },
showDimensionEditFilter(item) {
this.dimensionItem = JSON.parse(JSON.stringify(item))
diff --git a/frontend/src/views/panel/list/PanelList.vue b/frontend/src/views/panel/list/PanelList.vue
index 0bfe88dfb4..cb13e2b738 100644
--- a/frontend/src/views/panel/list/PanelList.vue
+++ b/frontend/src/views/panel/list/PanelList.vue
@@ -374,8 +374,7 @@ export default {
bus.$off('newPanelFromMarket', this.newPanelFromMarket)
},
mounted() {
- this.$store.commit('setComponentData', [])
- this.$store.commit('setCanvasStyle', DEFAULT_COMMON_CANVAS_STYLE_STRING)
+ this.clearCanvas()
this.defaultTree(true)
this.initCache()
const routerParam = this.$router.currentRoute.params
@@ -845,7 +844,9 @@ export default {
this.searchType = searchTypeInfo
},
editFromPanelViewShow() {
- this.edit(this.lastActiveNodeData, this.lastActiveNode)
+ this.$store.commit('setComponentData', [])
+ this.$store.commit('setCanvasStyle', DEFAULT_COMMON_CANVAS_STYLE_STRING)
+ bus.$emit('PanelSwitchComponent', { name: 'PanelEdit' })
},
editPanelBashInfo(params) {
if (params.operation === 'status') {
diff --git a/frontend/src/views/panel/template/index.vue b/frontend/src/views/panel/template/index.vue
index b128637e71..116a0d923a 100644
--- a/frontend/src/views/panel/template/index.vue
+++ b/frontend/src/views/panel/template/index.vue
@@ -1,6 +1,6 @@
-
-
+
+
{{ $t('panel.user_template') }}
@@ -211,4 +211,13 @@ export default {
height: 100%;
}
+ .content-container{
+ padding: 20px!important;
+ overflow: hidden;
+ height: calc(100vh - 56px)!important;
+ }
+
+ .template-aside-container{
+ height: calc(100vh - 96px)!important;
+ }
diff --git a/frontend/src/views/system/datasource/DsConfiguration.vue b/frontend/src/views/system/datasource/DsConfiguration.vue
index acb4bc7d4e..3c2a79f108 100644
--- a/frontend/src/views/system/datasource/DsConfiguration.vue
+++ b/frontend/src/views/system/datasource/DsConfiguration.vue
@@ -1039,7 +1039,9 @@ export default {
for (var j = 0; j < this.apiItem.fields.length; j++) {
if(this.apiItem.fields[j].name === jsonFields[i].name){
- jsonFields[i].checked = false;
+ this.$nextTick(() => {
+ jsonFields[i].checked = false;
+ })
this.$message.error(jsonFields[i].name + ', ' + i18n.t('datasource.has_repeat_field_name'))
return
}
@@ -1200,7 +1202,7 @@ export default {
background-color: rgba(187, 191, 196, 0.5);
height: 1px;
top: 13px;
- left: calc(50% + 22px);
+ left: calc(50% + 22px) !important;
width: 100px;
margin-right: 0px;