|
@@ -6,7 +6,7 @@
|
|
<view class="btn" :class="isSelect===2?'active':''" @click="handleData(2)">电池管理</view>
|
|
<view class="btn" :class="isSelect===2?'active':''" @click="handleData(2)">电池管理</view>
|
|
<view class="btn" :class="isSelect===1?'active':''" @click="handleData(1)" v-if="$storage.getJson('userId')==1">站控配置</view>
|
|
<view class="btn" :class="isSelect===1?'active':''" @click="handleData(1)" v-if="$storage.getJson('userId')==1">站控配置</view>
|
|
</view>
|
|
</view>
|
|
- <view class="basci-header-right">
|
|
|
|
|
|
+ <view class="basci-header-right" v-if="isSelect===0">
|
|
<view class="times">最近同步时间:{{synchronizationTime || '-'}}</view>
|
|
<view class="times">最近同步时间:{{synchronizationTime || '-'}}</view>
|
|
<view class="sync-btn" @click="syncCloud">云端同步</view>
|
|
<view class="sync-btn" @click="syncCloud">云端同步</view>
|
|
<!-- <view class="title">车辆管理</view> -->
|
|
<!-- <view class="title">车辆管理</view> -->
|
|
@@ -1149,7 +1149,7 @@
|
|
syncCloud() {
|
|
syncCloud() {
|
|
let that = this
|
|
let that = this
|
|
uni.showModal({
|
|
uni.showModal({
|
|
- title: "是否同步云端",
|
|
|
|
|
|
+ title: "是否云端同步",
|
|
content: "",
|
|
content: "",
|
|
success: function(res) {
|
|
success: function(res) {
|
|
if (res.confirm) {
|
|
if (res.confirm) {
|