订单名
@@ -77,7 +78,8 @@
size="60%"
:append-to-body="true"
:visible.sync="innerDrawer"
- @close='closeB'>
+ @close='closeB'
+ :show-close='false'>
diff --git a/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue b/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue
index 4370bfec..e742441d 100644
--- a/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue
+++ b/src/views/energy/analysis/contrastAnalysis/components/searchArea.vue
@@ -2,7 +2,7 @@
-
+
-
+
-
+
-
+
-
+
查询
+
+ 重置
@@ -400,6 +402,19 @@ export default {
console.log(this.queryParams)
this.$emit('submit', this.queryParams)
},
+ resetBtn() {
+ this.queryParams.energyTypeId = null
+ this.queryParams.timeDim = this.getDictDatas(this.DICT_TYPE.TIME_DIM)[0].value // 默认时
+ this.queryParams.objIds = []
+ this.queryParams.objType = ''
+ this.timeValue = []
+ this.dateValue = []
+ this.weekValue1 = null
+ this.weekValue2 = null
+ this.monthValue = []
+ this.yearValue1 = null
+ this.yearValue2 = null
+ },
transformTime(timeStamp) {// 本月最后一天
let year = moment(timeStamp).format('YYYY')
let month = moment(timeStamp).format('MM')
@@ -471,4 +486,12 @@ export default {
height: 45px;
overflow: hidden;
}
+.separateStyle {
+ display: inline-block;
+ width: 1px;
+ height: 24px;
+ background: #E8E8E8;
+ vertical-align: middle;
+ margin: 0 10px;
+}
\ No newline at end of file
diff --git a/src/views/energy/analysis/contrastAnalysis/index.vue b/src/views/energy/analysis/contrastAnalysis/index.vue
index c1b80ffa..f7efef08 100644
--- a/src/views/energy/analysis/contrastAnalysis/index.vue
+++ b/src/views/energy/analysis/contrastAnalysis/index.vue
@@ -34,10 +34,10 @@ export default {
mounted() {
window.addEventListener('resize', () => {
this.tableH = this.tableHeight(260)
- this.isFold = this.searchBarWidth('contrastAnalysisBox', 1310)
+ this.isFold = this.searchBarWidth('contrastAnalysisBox', 1437)
// console.log(document.getElementById("contrastAnalysisBox").offsetWidth)
})
- this.isFold = this.searchBarWidth('contrastAnalysisBox', 1310)
+ this.isFold = this.searchBarWidth('contrastAnalysisBox', 1437)
},
methods: {
getList(params) {
diff --git a/src/views/energy/analysis/qoqAnalysis/components/searchArea.vue b/src/views/energy/analysis/qoqAnalysis/components/searchArea.vue
index d98a27ba..0db3d844 100644
--- a/src/views/energy/analysis/qoqAnalysis/components/searchArea.vue
+++ b/src/views/energy/analysis/qoqAnalysis/components/searchArea.vue
@@ -1,7 +1,7 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
查询
+
+ 重置
@@ -360,6 +362,14 @@ export default {
this.queryParams.endTime = this.queryParams.endTime + ''
this.$emit('submit', this.queryParams)
},
+ // 重置
+ resetBtn() {
+ this.queryParams.energyTypeId = null
+ this.queryParams.objId = null
+ this.objArr = []
+ this.queryParams.timeDim = this.getDictDatas(this.DICT_TYPE.TIME_DIM)[0].value // 默认时
+ this.timeValue = [moment().startOf('day'), moment().endOf('day')-59*61*1000]
+ },
transformTime(timeStamp) {// 本月最后一天
let year = moment(timeStamp).format('YYYY')
let month = moment(timeStamp).format('MM')
@@ -435,4 +445,12 @@ export default {
height: 45px;
overflow: hidden;
}
+.separateStyle {
+ display: inline-block;
+ width: 1px;
+ height: 24px;
+ background: #E8E8E8;
+ vertical-align: middle;
+ margin: 0 10px;
+}
\ No newline at end of file
diff --git a/src/views/energy/analysis/trendAnalysis/index.vue b/src/views/energy/analysis/trendAnalysis/index.vue
index 004e93e2..20b5402c 100644
--- a/src/views/energy/analysis/trendAnalysis/index.vue
+++ b/src/views/energy/analysis/trendAnalysis/index.vue
@@ -34,9 +34,9 @@ export default {
mounted() {
window.addEventListener('resize', () => {
this.tableH = this.tableHeight(260)
- this.isFold = this.searchBarWidth('trendAnalysisBox', 1146)
+ this.isFold = this.searchBarWidth('trendAnalysisBox', 1263)
})
- this.isFold = this.searchBarWidth('trendAnalysisBox', 1146)
+ this.isFold = this.searchBarWidth('trendAnalysisBox', 1263)
},
methods: {
getList(params) {
diff --git a/src/views/energy/analysis/yoyAnalysis/components/searchArea.vue b/src/views/energy/analysis/yoyAnalysis/components/searchArea.vue
index 3b74bd70..77712e35 100644
--- a/src/views/energy/analysis/yoyAnalysis/components/searchArea.vue
+++ b/src/views/energy/analysis/yoyAnalysis/components/searchArea.vue
@@ -1,7 +1,7 @@
-
+
-
+
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue b/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue
index 34cf9321..059ca6a7 100644
--- a/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue
+++ b/src/views/energy/base/energyPlcConnect/components/energyPlcParam.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/src/views/energy/base/energyQuantityRealtime/index.vue b/src/views/energy/base/energyQuantityRealtime/index.vue
index d65f29f8..fd101a3e 100644
--- a/src/views/energy/base/energyQuantityRealtime/index.vue
+++ b/src/views/energy/base/energyQuantityRealtime/index.vue
@@ -27,7 +27,7 @@