Commit 74e7aa2b by 张杰

修复bug

1 parent 175b2344
No preview for this file type
...@@ -111,6 +111,9 @@ export default { ...@@ -111,6 +111,9 @@ export default {
} }
.main-menu { .main-menu {
border-right: 0px; border-right: 0px;
.fa {
margin-right: 4px;
}
& > .is-opened { & > .is-opened {
border-left: 4px solid #008f3f; border-left: 4px solid #008f3f;
} }
......
...@@ -42,7 +42,7 @@ export const asynRouter = [ ...@@ -42,7 +42,7 @@ export const asynRouter = [
path: 'index', path: 'index',
name: 'homeIndex', name: 'homeIndex',
icon: 'fa-home', icon: 'fa-home',
meta: { title: '首页', menuNo: '201' }, meta: { title: '数据看板', menuNo: '201' },
component: () => import('@/views/home/index'), component: () => import('@/views/home/index'),
}, },
], ],
......
...@@ -547,21 +547,13 @@ export default { ...@@ -547,21 +547,13 @@ export default {
}, },
errorUpload(err) { errorUpload(err) {
console.log(err); console.log(err);
//window.location.href = '../ots/login';
}, },
drawDoneCb() { drawDoneCb() {
console.log("drawDoneCb"); console.log("drawDoneCb");
this._drawTimeoutId && window.clearTimeout(this._drawTimeoutId); this._drawTimeoutId && window.clearTimeout(this._drawTimeoutId);
/* let arr = [];
for(let key in this.monitorList){
if(key !== 'count'){
arr.push(this.monitorList[key])
}
} */
this._drawTimeoutId = setTimeout(() => { this._drawTimeoutId = setTimeout(() => {
this.getPositionData(); this.getPositionData();
}, 10 * 1000); }, 15 * 1000);
}, },
terminate() { terminate() {
this._drawTimeoutId && window.clearTimeout(this._drawTimeoutId); this._drawTimeoutId && window.clearTimeout(this._drawTimeoutId);
......
...@@ -73,6 +73,11 @@ ...@@ -73,6 +73,11 @@
<span v-show="scope.row.lng &&scope.row.addressIsInit&&!scope.row.address">解析失败,<el-button type="text" @click="retryGetAddress(scope.row)">重试</el-button> </span> <span v-show="scope.row.lng &&scope.row.addressIsInit&&!scope.row.address">解析失败,<el-button type="text" @click="retryGetAddress(scope.row)">重试</el-button> </span>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column label="操作" fixed="right" width="120" align="center">
<template>
<el-link type="primary" :underline="false">查看激活位置</el-link>
</template>
</el-table-column> -->
</el-table> </el-table>
<div class="table-page-wrap"> <div class="table-page-wrap">
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[10, 20, 30, 40]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"> <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-sizes="[10, 20, 30, 40]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!