|
@@ -247,7 +247,7 @@ export default {
|
|
|
0: "success",
|
|
|
1: "danger",
|
|
|
},
|
|
|
- formName:'hydraulic',
|
|
|
+ formName:'fan',
|
|
|
formVisible:false,
|
|
|
//搜索
|
|
|
searchDisplay: true,
|
|
@@ -267,9 +267,6 @@ export default {
|
|
|
number: true,
|
|
|
production_date: true,
|
|
|
install_date: true,
|
|
|
- supplier: true,
|
|
|
- model: true,
|
|
|
- online_time: true
|
|
|
}
|
|
|
};
|
|
|
},
|
|
@@ -321,7 +318,7 @@ export default {
|
|
|
this.isShowColumn = true;
|
|
|
},
|
|
|
saveColumn() {
|
|
|
- localStorage.setItem("hydColumnSet", JSON.stringify(this.checkList));
|
|
|
+ localStorage.setItem("fan", JSON.stringify(this.checkList));
|
|
|
this.isShowColumn = false;
|
|
|
},
|
|
|
// handleDetail(row){
|
|
@@ -363,19 +360,16 @@ export default {
|
|
|
this.searchDis();
|
|
|
});
|
|
|
// 发请求得到checkListInitData的列的名字
|
|
|
- if (localStorage.getItem("hydColumnSet")) {
|
|
|
- this.checkList = JSON.parse(localStorage.getItem("hydColumnSet"));
|
|
|
+ if (localStorage.getItem("fan")) {
|
|
|
+ this.checkList = JSON.parse(localStorage.getItem("fan"));
|
|
|
} else {
|
|
|
this.checkList = {
|
|
|
- depart_name: true,
|
|
|
- alarm_state_text: true,
|
|
|
- net_state:true,
|
|
|
+ wind_name: true,
|
|
|
+ production_date: true,
|
|
|
+ location:true,
|
|
|
number: true,
|
|
|
- name: true,
|
|
|
- brand: true,
|
|
|
- supplier: true,
|
|
|
- model: true,
|
|
|
- online_time: true
|
|
|
+ production_date: true,
|
|
|
+ install_date: true,
|
|
|
};
|
|
|
}
|
|
|
},
|