|
|
@ -194,8 +194,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
})
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
this.chartDatatow = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
|
|
|
this.chartDatatow = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
|
|
|
|
]
|
|
|
|
|
|
|
|
this.chartData = ["散剂",
|
|
|
|
this.chartData = ["散剂",
|
|
|
|
"片剂",
|
|
|
|
"片剂",
|
|
|
|
"颗粒剂",
|
|
|
|
"颗粒剂",
|
|
|
@ -256,7 +255,46 @@ export default {
|
|
|
|
let _this = this
|
|
|
|
let _this = this
|
|
|
|
var combinedData = [];
|
|
|
|
var combinedData = [];
|
|
|
|
if (this.echartstitle == "医疗器械") {
|
|
|
|
if (this.echartstitle == "医疗器械") {
|
|
|
|
jiekou("ylqxJnyelcpareacount")
|
|
|
|
let cities = {
|
|
|
|
|
|
|
|
210100000000: '沈阳市',
|
|
|
|
|
|
|
|
210200000000: '大连市',
|
|
|
|
|
|
|
|
210300000000: '鞍山市',
|
|
|
|
|
|
|
|
210400000000: '抚顺市',
|
|
|
|
|
|
|
|
210500000000: '本溪市',
|
|
|
|
|
|
|
|
210600000000: '丹东市',
|
|
|
|
|
|
|
|
210700000000: '锦州市',
|
|
|
|
|
|
|
|
210800000000: '营口市',
|
|
|
|
|
|
|
|
210900000000: '阜新市',
|
|
|
|
|
|
|
|
211000000000: '辽阳市',
|
|
|
|
|
|
|
|
211100000000: '盘锦市',
|
|
|
|
|
|
|
|
211200000000: '铁岭市',
|
|
|
|
|
|
|
|
211300000000: '朝阳市',
|
|
|
|
|
|
|
|
211400000000: '葫芦岛市'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
let msg2 = await _this.$api.apparatus["ylqxJnyelcpareacount"](_this.form)
|
|
|
|
|
|
|
|
if (msg2.code == 200) {
|
|
|
|
|
|
|
|
msg2.data.forEach(item => {
|
|
|
|
|
|
|
|
_this.cityData[cities[item.area]] = item.count || item.countOne
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
if (_this.mytype == "healtson") {
|
|
|
|
|
|
|
|
_this.cartData.forEach((item) => {
|
|
|
|
|
|
|
|
var foundItem = msg2.data.find(data => cities[data.area] == item);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (foundItem) {
|
|
|
|
|
|
|
|
_this.chartDatatow.push(foundItem.count || foundItem.countOne)
|
|
|
|
|
|
|
|
_this.chartData.push( cities[foundItem.area])
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
_this.chartDatatow.push(0)
|
|
|
|
|
|
|
|
_this.chartData.push(item)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
_this.initPoitCenter(_this.cityData);
|
|
|
|
|
|
|
|
if (_this.mytype == "healtson") {
|
|
|
|
|
|
|
|
_this.mycharts()
|
|
|
|
|
|
|
|
}
|
|
|
|
} else if (this.echartstitle == "药品") {
|
|
|
|
} else if (this.echartstitle == "药品") {
|
|
|
|
jiekou("vRdgYpwhGxwztareacount")
|
|
|
|
jiekou("vRdgYpwhGxwztareacount")
|
|
|
|
} else if (this.echartstitle == "传统中药") {
|
|
|
|
} else if (this.echartstitle == "传统中药") {
|
|
|
|