BI大屏下钻和日期拆分
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="imagebox" :style="styleColor">
|
||||
<div class="imagebox" :style="styleColor" @click="handleClick" >
|
||||
<img
|
||||
:class="transStyle.startRotate ? 'startImg' : ''"
|
||||
:style="imgStyle"
|
||||
@@ -18,7 +18,8 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
options: {}
|
||||
options: {},
|
||||
optionsSetup:{}
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@@ -50,15 +51,26 @@ export default {
|
||||
value: {
|
||||
handler(val) {
|
||||
this.options = val;
|
||||
this.optionsSetup = val.setup;
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.options = this.value;
|
||||
this.optionsSetup = this.value.setup;
|
||||
},
|
||||
mounted() {},
|
||||
methods: {}
|
||||
mounted() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
handleClick(){
|
||||
console.log(this.optionsSetup)
|
||||
if(!!this.optionsSetup.is_drill_drown){
|
||||
this.$emit('oepnTheDrillView',this.optionsSetup.drill_drown_setting)
|
||||
}
|
||||
},
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user