|
@@ -280,7 +280,7 @@
|
|
|
:highlight-current="true"
|
|
|
:default-expand-all="true">
|
|
|
<span class="custom-tree-node" slot-scope="{ node, data }">
|
|
|
- <svg-icon v-if="!data.children" icon-class="file"/>
|
|
|
+ <svg-icon v-if="!data.children" icon-class="file-bg"/>
|
|
|
<svg-icon v-else-if="node.expanded" icon-class="folder-open"/>
|
|
|
<svg-icon v-else icon-class="folder"/>
|
|
|
<span :title='node.label || data.itemName' style="margin-left: 2px;">{{ node.label || data.itemName }}</span>
|
|
@@ -567,6 +567,7 @@ export default {
|
|
|
},
|
|
|
/** 数据组组配置点击事件 */
|
|
|
handleNodeClick(data, node, target) {
|
|
|
+ console.log(data)
|
|
|
this.closeMenu()
|
|
|
if (data.id != -1 && !data.itemName) {
|
|
|
sessionStorage.setItem('GROUP_ID', data.id)
|
|
@@ -584,6 +585,7 @@ export default {
|
|
|
},
|
|
|
/** 页面跳转 */
|
|
|
gotoPageByName(path, id) {
|
|
|
+ console.log(new Date().getTime())
|
|
|
this.$router.push({
|
|
|
path: path,
|
|
|
query: {
|
|
@@ -705,6 +707,7 @@ export default {
|
|
|
valueMode: '',
|
|
|
valuePeriod: ['00:00:00', '23:59:59']
|
|
|
}
|
|
|
+ this.modeValueTips = '模式值'
|
|
|
this.chooseItemDataView = false
|
|
|
this.getDataSourceList()
|
|
|
this.groupDialogVisible = true
|
|
@@ -794,6 +797,14 @@ export default {
|
|
|
this.groupRateForm.modeValue = item.modeValue
|
|
|
this.groupRateForm.valueMode = item.valueCondition + ''
|
|
|
this.groupRateForm.valuePeriod = [item.startReadTime, item.endReadTime]
|
|
|
+ switch (this.groupRateForm.readMode) {
|
|
|
+ case '0':
|
|
|
+ this.modeValueTips = '周期值'
|
|
|
+ break
|
|
|
+ default:
|
|
|
+ this.modeValueTips = '阈值'
|
|
|
+ break
|
|
|
+ }
|
|
|
}).catch((e) => {
|
|
|
loading.close()
|
|
|
this.$alert(e, errorCode[100], {
|
|
@@ -1202,6 +1213,7 @@ export default {
|
|
|
this.groupBasicForm.itemList = this.chooseItemDataList
|
|
|
this.itemDataStep = 1
|
|
|
this.filterItemData = ''
|
|
|
+ this.filterChooseItemText = ''
|
|
|
this.dataLineListSelections = []
|
|
|
this.dataItemDialogVisible = false
|
|
|
this.chooseItemDataView = true
|
|
@@ -1390,6 +1402,7 @@ export default {
|
|
|
this.chooseItemDataListByTree = this.tempItemList
|
|
|
this.groupBasicForm.itemList = this.tempItemList
|
|
|
}
|
|
|
+ this.filterChooseItemText = ''
|
|
|
this.filterItemData = ''
|
|
|
this.itemDataListByTree = []
|
|
|
this.dataLineListSelections = []
|