|
|
@@ -107,7 +107,11 @@ import CenterChart from "../../components/prodlinechart/up1Chart/up1DChart";
|
|
|
},
|
|
|
async getdata() {
|
|
|
//饼图pie,设备保养执行率
|
|
|
- await this.$http.get("kanban/datalist.action?caller=KB!TOTALDEVICEMAINTAINRATE&_noc=1&page=1&pageSize=100&condition=1=1")
|
|
|
+ await this.$http.get("kanban/datalist.action?caller=KB!LINEDEVICEMAINTAINRATE&_noc=1&page=1&pageSize=100",{
|
|
|
+ params: {
|
|
|
+ condition: "de_workshop='"+sessionStorage.getItem('li_code')+"'"
|
|
|
+ }
|
|
|
+ })
|
|
|
.then((result)=>{
|
|
|
let dataList = JSON.parse(result.data.data);
|
|
|
for (let index = 0; index < dataList.length; index++) {
|