@@ -14,7 +14,8 @@
- {{sysDeviceOverviewData[item.countField]}}台
+ {{sysDeviceOverviewData[item.countField]}}
+ 台
离线:{{ sysDeviceOverviewData[item.offLineField] }}台
-
- {{it.label}}:{{sysDeviceOverviewData[it.valueField] || 0}}{{it.unit}}
-
+
+
+ {{it.label}}:{{sysDeviceOverviewData[it.valueField]}}{{it.unit}}
+
+
@@ -200,6 +203,8 @@ export default {
column: 'createTime',
order: 'desc'
},
+ // 系统设备概况loading
+ deviceOverviewLoading: false,
// 系统设备概况
deviceOverview: [
{
@@ -503,12 +508,15 @@ export default {
},
// 加载系统设备概况数据
loadSysDeviceOverview () {
+ this.deviceOverviewLoading = true
getSysDeviceOverview().then(res => {
if (res.success) {
this.sysDeviceOverviewData = res.result || {}
} else {
this.$message.warning(res.message)
}
+ }).finally(() => {
+ this.deviceOverviewLoading = false
})
},
// 加载设备列表
@@ -598,7 +606,19 @@ export default {
line-height: 15px;
.first-content {
- padding-left: 12px;
+ padding-right: 20px;
+ font-family: Audiowide, Audiowide, sans-serif;
+ font-weight: 400;
+ font-size: 24px;
+ line-height: 32px;
+ color: @primary-color;
+ text-align: center;
+
+ .first-content-unit {
+ vertical-align: middle;
+ font-size: 12px;
+ color: @text-color;
+ }
}
}
}
diff --git a/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue b/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue
index bf38f95..36a0036 100644
--- a/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue
+++ b/src/views/systemOverview/wellheadDataMonitoring/WellheadDataMonitoring.vue
@@ -551,7 +551,11 @@ export default {
}
},
mounted () {
- this.searchQuery()
+ this.$set(this.queryParam, 'wellheadArea', '1')
+ this.loadOilWellList('1').then(() => {
+ this.$set(this.queryParam, 'singleWell', this.singleWellList[0].id)
+ this.searchQuery()
+ })
},
beforeDestroy () {
// 离开页面前清除定时器
@@ -770,7 +774,7 @@ export default {
},
// 油井下拉
loadOilWellList (wellheadArea) {
- getWellheadList({
+ return getWellheadList({
wellheadArea: wellheadArea,
wellheadType: wellheadType.oil.value
}).then(res => {
diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue
index f3258c7..1e4b5ad 100644
--- a/src/views/user/Login.vue
+++ b/src/views/user/Login.vue
@@ -37,9 +37,8 @@
autocomplete="false"
placeholder="请输入密码"
>
-
-
-
+
+
@@ -92,9 +91,8 @@
placeholder="请输入密码"
>
![密码]()
-
-
-
+
+
@@ -572,4 +570,11 @@ function isMobile () {
}
}
}
+ .password-suffix {
+ color: @primary-color;
+ font-size: 20px;
+ }
+ .mobile-html .password-suffix {
+ font-size: 0.2rem;
+ }