This commit is contained in:
yanran200730
2023-04-26 09:52:41 +08:00
parent fff9891177
commit 30b25e56b8
3 changed files with 30 additions and 8 deletions

View File

@@ -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) == "#") {