@@ -2,4 +2,4 @@
.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
- (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.63b34199.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.35954aaa.js></script><script src=./static/js/index.60580a1c.js></script></body></html>
+ (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=./static/index.63b34199.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=./static/js/chunk-vendors.35954aaa.js></script><script src=./static/js/index.fcb95d98.js></script></body></html>
@@ -98,7 +98,7 @@
const startTime = GetQueryString('startTime')
const endTime = GetQueryString('endTime')
const valueType = GetQueryString('valueType')
- const itemName = GetQueryString('itemName')
+ const itemReadName = GetQueryString('itemReadName')
const token = window.localStorage.getItem('C_TOKEN')
var service, serviceTime
@@ -122,7 +122,7 @@
valueTimeList
} = res.data
const service = [{
- name: itemName,
+ name: itemReadName,
data: valueList,
type: 'line'
}]
@@ -88,7 +88,7 @@
dataValue: null,
// 数据项数据
dataItem: [],
- itemName: null,
+ itemReadName: null,
src: ''
}
},
@@ -155,7 +155,7 @@
if (data.code === 200) {
this.dataItem = data.data.itemList.map(item => {
return {
- text: item.itemName,
+ text: item.itemReadName,
value: item.id
})
@@ -182,7 +182,7 @@
valueType
} = this.queryParams
this.src =
- `/static/webview/dataItem-wv.html?id=${id}&startTime=${startTime}&endTime=${endTime}&valueType=${valueType}&itemName=${this.itemName}`
+ `/static/webview/dataItem-wv.html?id=${id}&startTime=${startTime}&endTime=${endTime}&valueType=${valueType}&itemReadName=${this.itemReadName}`
if (data.data) {
const {
valueList,
@@ -251,7 +251,7 @@
const item = this.dataItem.find(item => {
return item.value === val
- this.itemName = item.text
+ this.itemReadName = item.text