数据来源统计新增总量字段

lijinlong
许宏杰 2 years ago
parent bf8eab8694
commit 3e17c5cae7

@ -391,14 +391,14 @@ export default {
{ {
title: "云端监测(G)", title: "云端监测(G)",
currentNum: 0, currentNum: 0,
total: 150, total: 0,
url: require("@/assets/privateOrder/general/icon-云端监测.png"), url: require("@/assets/privateOrder/general/icon-云端监测.png"),
type: 1, type: 1,
}, },
{ {
title: "APT(M)", title: "APT(M)",
currentNum: 0, currentNum: 0,
total: 1000, total: 0,
url: require("@/assets/privateOrder/general/icon-APT.png"), url: require("@/assets/privateOrder/general/icon-APT.png"),
type: 2, type: 2,
}, },
@ -558,7 +558,9 @@ export default {
mounted() { mounted() {
listSourceTj().then((res) => { listSourceTj().then((res) => {
this.dataSource.top[0].currentNum = res.rows[0].lable1; this.dataSource.top[0].currentNum = res.rows[0].lable1;
this.dataSource.top[0].total = res.rows[0].lable1Sume;
this.dataSource.top[1].currentNum = res.rows[0].lable2; this.dataSource.top[1].currentNum = res.rows[0].lable2;
this.dataSource.top[1].total = res.rows[0].lable2Sume;
}); });
this.changeBtn(); // this.changeBtn(); //
this.getSaftyscreenSupervise(); this.getSaftyscreenSupervise();

Loading…
Cancel
Save