|
@ -111,8 +111,6 @@ new Vue({
|
|
|
]
|
|
|
$(".div-mask-layer").show();
|
|
|
httpRequest.getReqPromises(reqUrl).then(function(datas) {
|
|
|
console.log(datas);
|
|
|
debugger
|
|
|
vm.alertData1 = datas[0].obj.VIEW_15_0001[0].HC_15_1006;
|
|
|
vm.alertData2 = datas[1].obj.VIEW_15_0001[0].HC_15_1006;
|
|
|
vm.alertData3 = datas[2].obj.VIEW_15_0002[0].HC_15_1003;
|
|
@ -166,7 +164,7 @@ new Vue({
|
|
|
setAlertChart3:function(data){
|
|
|
var options = JSON.parse(data);
|
|
|
options = xingbieChart(options);
|
|
|
options.color = ["#00E7F3","#ff616f"];
|
|
|
options.color = ["#00E7F3","#ff616f","#6576e0"];
|
|
|
options.legend.formatter = function(name) {
|
|
|
var index = 0;
|
|
|
var clientlabels = options.legend.data;
|