Issue #9: Done.
This commit is contained in:
@@ -98,17 +98,14 @@ export default {
|
|||||||
],
|
],
|
||||||
curveStyle:'unbundled-bezier', // unbundled-bezier | taxi
|
curveStyle:'unbundled-bezier', // unbundled-bezier | taxi
|
||||||
mapType: 'processMap', // processMap | bpmn
|
mapType: 'processMap', // processMap | bpmn
|
||||||
dataLayerType: 'freq', // freq | duration
|
dataLayerType: null, // freq | duration
|
||||||
dataLayerOption: 'total',
|
dataLayerOption: null,
|
||||||
selectedFreq: '',
|
selectedFreq: '',
|
||||||
selectedDuration: '',
|
selectedDuration: '',
|
||||||
rank: 'LR', // 直向 TB | 橫向 LR
|
rank: 'LR', // 直向 TB | 橫向 LR
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
ttt(e){
|
|
||||||
console.log(e);
|
|
||||||
},
|
|
||||||
/**
|
/**
|
||||||
* switch map type
|
* switch map type
|
||||||
* @param {string} type processMap | bpmn
|
* @param {string} type processMap | bpmn
|
||||||
@@ -156,10 +153,12 @@ export default {
|
|||||||
this.selectedDuration = value;
|
this.selectedDuration = value;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
console.log(type, value);
|
|
||||||
this.$emit('switch-data-layer-type', this.dataLayerType, this.dataLayerOption);
|
this.$emit('switch-data-layer-type', this.dataLayerType, this.dataLayerOption);
|
||||||
},
|
},
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
this.dataLayerType = 'freq';
|
||||||
|
this.dataLayerOption = 'total';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user