|
@ -9,11 +9,11 @@ |
|
|
<div class="right-menu"> |
|
|
<div class="right-menu"> |
|
|
<template v-if="device !== 'mobile'"> |
|
|
<template v-if="device !== 'mobile'"> |
|
|
|
|
|
|
|
|
<!-- <el-button type="primary" icon="" size="small" style="margin-right:24px"--> |
|
|
<!-- <el-button type="primary" icon="" size="small" style="margin-right:24px"--> |
|
|
<!-- @click="dialogVisible = true">码商押金</el-button>--> |
|
|
<!-- @click="dialogVisible = true">码商押金</el-button>--> |
|
|
|
|
|
|
|
|
<el-button type="primary" icon="" size="small" style="margin-right:24px" |
|
|
<el-button type="primary" icon="" size="small" style="margin-right:24px" @click="goDataView" |
|
|
@click="goDataView">数据看板</el-button> |
|
|
v-hasPermi="['data-view']">数据看板</el-button> |
|
|
|
|
|
|
|
|
<el-switch :value="autoRefresh" :inactive-text="autoRefresh ? `自动刷新: (${autoRefreshCountdown}S)` : '自动刷新: '" |
|
|
<el-switch :value="autoRefresh" :inactive-text="autoRefresh ? `自动刷新: (${autoRefreshCountdown}S)` : '自动刷新: '" |
|
|
@change="onAutoRefreshChanged" style="margin-right: 14px;" /> |
|
|
@change="onAutoRefreshChanged" style="margin-right: 14px;" /> |
|
@ -153,9 +153,9 @@ export default { |
|
|
window.open(href.href, '_blank') |
|
|
window.open(href.href, '_blank') |
|
|
}, |
|
|
}, |
|
|
secondMethod() { |
|
|
secondMethod() { |
|
|
this.timer = setInterval(() => { |
|
|
// this.timer = setInterval(() => { |
|
|
this.getList(); |
|
|
// this.getList(); |
|
|
}, 30000) |
|
|
// }, 30000) |
|
|
}, |
|
|
}, |
|
|
getList() { |
|
|
getList() { |
|
|
common_api.onLineCarddealer().then((response) => { |
|
|
common_api.onLineCarddealer().then((response) => { |
|
|