diff --git a/src/App.vue b/src/App.vue index 089fd8c..6638613 100644 --- a/src/App.vue +++ b/src/App.vue @@ -40,7 +40,7 @@ export default { return{ addDay:'', subDay:'', - routerTitle:['首页','20kv','35kv','站房智辅'], + routerTitle:['10KV','20kv','安全管控','站房智辅'], routerActive:0, weatherArr:[ {day:'今天',temperature:'',pic:require('./assets/images/sun.png')}, diff --git a/src/api/index.js b/src/api/index.js index d4f25f2..643a1f5 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -97,4 +97,9 @@ export const getCabinetData = (data) => { export const getCabinetCameraList = (data) => { return axios.post('aps/api/v1/cabinetCameraList'+'?sn='+data.sn+'&token='+data.token,data ,{headers: { 'Content-Type': 'application/x-www-form-urlencoded' }}) +}; +//获取历史故障 +export const getfaultReportList = (data) => { + return axios.post('aps/api/v1/faultReportList'+'?sn='+data.sn+'&token='+data.token,data + ,{headers: { 'Content-Type': 'application/x-www-form-urlencoded' }}) }; \ No newline at end of file diff --git a/src/assets/images/suoxiao.png b/src/assets/images/suoxiao.png new file mode 100644 index 0000000..23a70c5 Binary files /dev/null and b/src/assets/images/suoxiao.png differ diff --git a/src/views/HomePop/ringMainUnit.vue b/src/views/HomePop/ringMainUnit.vue index 3bee1d3..07bef9a 100644 --- a/src/views/HomePop/ringMainUnit.vue +++ b/src/views/HomePop/ringMainUnit.vue @@ -392,7 +392,7 @@ export default { //查询所有网柜信息 getDeviceData() { let params = { - pageSize: 1000, + pageSize: 50, token: localStorage.getItem("token"), }; getCabinetList(params).then((res) => { diff --git a/src/views/index.vue b/src/views/index.vue index 9b4d45e..4471f69 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -68,7 +68,7 @@ rgb(86, 244, 254) ); " - class="numText" + class="numText" :text="CompanyInfo.xlcd" >{{ CompanyInfo.xlcd }} @@ -108,7 +108,7 @@ :header-cell-style="{ 'text-align': 'center' }" :cell-style="{ 'text-align': 'center' }" ref="tableBox" - style="font-size:16px" + style="font-size: 16px" >