统计列表跳转修改
This commit is contained in:
@@ -131,7 +131,7 @@
|
||||
"proxy" : {
|
||||
"/api" : {
|
||||
"https" : true,
|
||||
"target" : "http://192.168.1.13:10215",
|
||||
"target" : "http://192.168.1.115:10215",
|
||||
"changOrigin" : true,
|
||||
"pathRewrite" : {
|
||||
"/api" : ""
|
||||
|
||||
@@ -62,13 +62,13 @@
|
||||
<uni-icons
|
||||
type="top"
|
||||
size="14"
|
||||
:color="select.projectName ? '#376cf3' : '#666'"
|
||||
:color="select.runStatusName ? '#376cf3' : '#666'"
|
||||
v-if="select.runStatusSelect"
|
||||
></uni-icons>
|
||||
<uni-icons
|
||||
type="bottom"
|
||||
size="14"
|
||||
:color="select.projectName ? '#376cf3' : '#666'"
|
||||
:color="select.runStatusName ? '#376cf3' : '#666'"
|
||||
v-else
|
||||
></uni-icons>
|
||||
</view>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<template v-if="devCount.engineeringListLength > 1">
|
||||
<view class="canneng-index-title mb20">所有工程设备统计</view>
|
||||
<view class="header">
|
||||
<view class="header-item">
|
||||
<view class="header-item" @click="jump('allEngineering')">
|
||||
<view class="header-item-value">{{ devCount.onLineDevCount + devCount.offLineDevCount || 0 }}</view>
|
||||
<view class="header-item-label">设备总数</view>
|
||||
</view>
|
||||
@@ -20,7 +20,7 @@
|
||||
</template>
|
||||
<view class="canneng-index-title mb20">当前工程设备统计</view>
|
||||
<view class="header">
|
||||
<view class="header-item">
|
||||
<view class="header-item" @click="jump('nowEngineering')">
|
||||
<view class="header-item-value">{{
|
||||
devCount.currentOnLineDevCount + devCount.currentOffLineDevCount || 0
|
||||
}}
|
||||
@@ -97,17 +97,10 @@ export default {
|
||||
})
|
||||
},
|
||||
jump(type) {
|
||||
switch (type) {
|
||||
default:
|
||||
uni.navigateTo({
|
||||
url:
|
||||
'/pages/device/list?type=' +
|
||||
type +
|
||||
'&projectList=' +
|
||||
encodeURIComponent(JSON.stringify(this.devCount[type])),
|
||||
'/pages/device/list?type=' + type
|
||||
})
|
||||
break
|
||||
}
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<template v-if="devCount.engineeringListLength > 1">
|
||||
<view class="canneng-index-title mb20">所有工程设备统计</view>
|
||||
<view class="header">
|
||||
<view class="header-item">
|
||||
<view class="header-item" @click="jump('allEngineering')">
|
||||
<view class="header-item-value">{{ devCount.onLineDevCount + devCount.offLineDevCount || 0 }}</view>
|
||||
<view class="header-item-label">设备总数</view>
|
||||
</view>
|
||||
@@ -20,7 +20,7 @@
|
||||
</template>
|
||||
<view class="canneng-index-title mb20">当前工程设备统计</view>
|
||||
<view class="header">
|
||||
<view class="header-item">
|
||||
<view class="header-item" @click="jump('nowEngineering')">
|
||||
<view class="header-item-value">{{
|
||||
devCount.currentOnLineDevCount + devCount.currentOffLineDevCount || 0
|
||||
}}</view>
|
||||
@@ -54,17 +54,10 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
jump(type) {
|
||||
switch (type) {
|
||||
default:
|
||||
uni.navigateTo({
|
||||
url:
|
||||
'/pages/device/list?type=' +
|
||||
type +
|
||||
'&projectList=' +
|
||||
encodeURIComponent(JSON.stringify(this.devCount[type])),
|
||||
'/pages/device/list?type=' + type
|
||||
})
|
||||
break
|
||||
}
|
||||
},
|
||||
submitFeedBack() {
|
||||
uni.navigateTo({url: '/pages/home/feedback'})
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<template v-if="devCount.engineeringListLength > 1">
|
||||
<view class="canneng-index-title mb20">所有工程设备统计</view>
|
||||
<view class="header">
|
||||
<view class="header-item">
|
||||
<view class="header-item" @click="jump('allEngineering')">
|
||||
<view class="header-item-value">{{ devCount.onLineDevCount + devCount.offLineDevCount || 0 }}</view>
|
||||
<view class="header-item-label">设备总数</view>
|
||||
</view>
|
||||
@@ -32,7 +32,7 @@
|
||||
</template>
|
||||
<view class="canneng-index-title mb20">当前工程设备统计</view>
|
||||
<view class="header">
|
||||
<view class="header-item">
|
||||
<view class="header-item" @click="jump('nowEngineering')">
|
||||
<view class="header-item-value">{{
|
||||
devCount.currentOnLineDevCount + devCount.currentOffLineDevCount || 0
|
||||
}}</view>
|
||||
@@ -86,17 +86,10 @@ export default {
|
||||
})
|
||||
},
|
||||
jump(type) {
|
||||
switch (type) {
|
||||
default:
|
||||
uni.navigateTo({
|
||||
url:
|
||||
'/pages/device/list?type=' +
|
||||
type +
|
||||
'&projectList=' +
|
||||
encodeURIComponent(JSON.stringify(this.devCount[type])),
|
||||
'/pages/device/list?type=' + type
|
||||
})
|
||||
break
|
||||
}
|
||||
},
|
||||
},
|
||||
created() {},
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<template v-if="devCount.engineeringListLength > 1">
|
||||
<view class="canneng-index-title mb20">所有工程设备统计</view>
|
||||
<view class="header">
|
||||
<view class="header-item">
|
||||
<view class="header-item" @click="jump('allEngineering')">
|
||||
<view class="header-item-value">{{ devCount.onLineDevCount + devCount.offLineDevCount || 0 }}</view>
|
||||
<view class="header-item-label">设备总数</view>
|
||||
</view>
|
||||
@@ -32,7 +32,7 @@
|
||||
</template>
|
||||
<view class="canneng-index-title mb20">当前工程设备统计</view>
|
||||
<view class="header">
|
||||
<view class="header-item">
|
||||
<view class="header-item" @click="jump('nowEngineering')">
|
||||
<view class="header-item-value">{{
|
||||
devCount.currentOnLineDevCount + devCount.currentOffLineDevCount || 0
|
||||
}}
|
||||
@@ -95,17 +95,10 @@ export default {
|
||||
}
|
||||
},
|
||||
jump(type) {
|
||||
switch (type) {
|
||||
default:
|
||||
uni.navigateTo({
|
||||
url:
|
||||
'/pages/device/list?type=' +
|
||||
type +
|
||||
'&projectList=' +
|
||||
encodeURIComponent(JSON.stringify(this.devCount[type])),
|
||||
'/pages/device/list?type=' + type
|
||||
})
|
||||
break
|
||||
}
|
||||
},
|
||||
},
|
||||
created() {
|
||||
|
||||
Reference in New Issue
Block a user