//查询列表
getList() {
https(this.url.query, this.queryParams).then((res) => {
console.log(res);
this.tableData = res.data.list;
this.total = res.data.total;
this.tableData.forEach((item) => {
item.state =
item.state === "1"
? "运行"
: item.state === "2"
? "检修"
: item.state === "3"
? "调试"
: "故障";
});
});
},