大屏
This commit is contained in:
@@ -224,6 +224,11 @@
|
||||
name: 'AppQxnDv',
|
||||
label: '警民互联',
|
||||
|
||||
props: {
|
||||
instance: Function,
|
||||
dict: Object,
|
||||
},
|
||||
|
||||
components: {
|
||||
DvMap,
|
||||
DoughnutChart
|
||||
@@ -599,7 +604,22 @@
|
||||
}
|
||||
},
|
||||
|
||||
mounted () {
|
||||
this.init()
|
||||
},
|
||||
|
||||
methods: {
|
||||
init () {
|
||||
this.instance.post(`/wxgridinfo/tree`, null, {
|
||||
params: {
|
||||
corpId: 'wpytYEDgAA5zwi8Ak2mwFh3PwBKwwlWA'
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code === 0) {
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Hex2RGBA(color, alpha = 1) {
|
||||
let hex = 0;
|
||||
if (color.charAt(0) == "#") {
|
||||
|
||||
Reference in New Issue
Block a user