|
@@ -620,7 +620,7 @@ export default {
|
|
if (node.level > 1) {
|
|
if (node.level > 1) {
|
|
// 获取hbase 表头信息
|
|
// 获取hbase 表头信息
|
|
this.$http({
|
|
this.$http({
|
|
- url: this.$http.adornUrl('/universaltable/getOtherLeafItem?tableId=' + node.data.levelId + '&id=' + node.data.subEquipmentid),
|
|
|
|
|
|
+ url: this.$http.adornUrl('/universaltable/getOtherLeafItem?tableId=' + node.data.levelId + '&id=' + node.data.coalid),
|
|
method: 'post'
|
|
method: 'post'
|
|
}).then(tablists => {
|
|
}).then(tablists => {
|
|
let headers = tablists.data.data
|
|
let headers = tablists.data.data
|
|
@@ -634,7 +634,7 @@ export default {
|
|
// fieldId: response.data[i].fieldId,
|
|
// fieldId: response.data[i].fieldId,
|
|
measurepointId: headers[i].id,
|
|
measurepointId: headers[i].id,
|
|
flag: '未选中',
|
|
flag: '未选中',
|
|
- prop: headers[i].name,
|
|
|
|
|
|
+ prop: tablists.data.pinyin[i],
|
|
seen: false
|
|
seen: false
|
|
}
|
|
}
|
|
console.log('list:' + list)
|
|
console.log('list:' + list)
|
|
@@ -691,7 +691,10 @@ export default {
|
|
if (this.detailTitle.worldName !== this.subEquipments[i].imageTable.tableName) {
|
|
if (this.detailTitle.worldName !== this.subEquipments[i].imageTable.tableName) {
|
|
let l = []
|
|
let l = []
|
|
for (let j = 0; j < this.subEquipments[i].filedList.length; j++) {
|
|
for (let j = 0; j < this.subEquipments[i].filedList.length; j++) {
|
|
- let o = this.subEquipments[i].filedList[j] + '_after'
|
|
|
|
|
|
+ let o = this.subEquipments[i].filedList[j]
|
|
|
|
+ if (o.prop != "time") {
|
|
|
|
+ o.prop = o.prop + '_after'
|
|
|
|
+ }
|
|
l.push(o)
|
|
l.push(o)
|
|
}
|
|
}
|
|
// this.tablelists = this.subEquipments[i].filedList
|
|
// this.tablelists = this.subEquipments[i].filedList
|
|
@@ -894,7 +897,7 @@ export default {
|
|
for (let sign = 0; sign < coalContent.length; sign++) {
|
|
for (let sign = 0; sign < coalContent.length; sign++) {
|
|
var coal = {
|
|
var coal = {
|
|
name: coalContent[sign].name,
|
|
name: coalContent[sign].name,
|
|
- subEquipmentid: coalContent[sign].id,
|
|
|
|
|
|
+ coalid: coalContent[sign].id,
|
|
limit: 'coal',
|
|
limit: 'coal',
|
|
hbaseTableName: '',
|
|
hbaseTableName: '',
|
|
icon: 'iconfont icon-xitongfuwu',
|
|
icon: 'iconfont icon-xitongfuwu',
|
|
@@ -917,7 +920,7 @@ export default {
|
|
if (node.data.isdisabled === 1) return resolve([])
|
|
if (node.data.isdisabled === 1) return resolve([])
|
|
else {
|
|
else {
|
|
this.$http({
|
|
this.$http({
|
|
- url: this.$http.adornUrl('/universaltable/getRootLevel?id=' + node.data.subEquipmentid),
|
|
|
|
|
|
+ url: this.$http.adornUrl('/universaltable/getRootLevel?id=' + node.data.coalid),
|
|
method: 'post'
|
|
method: 'post'
|
|
}).then(({data}) => {
|
|
}).then(({data}) => {
|
|
console.log('第二层非叶子节点信息:' + JSON.stringify(data))
|
|
console.log('第二层非叶子节点信息:' + JSON.stringify(data))
|
|
@@ -926,7 +929,7 @@ export default {
|
|
for (let j = 0; j < coalContent.length; j++) {
|
|
for (let j = 0; j < coalContent.length; j++) {
|
|
let coal = {
|
|
let coal = {
|
|
name: coalContent[j].name,
|
|
name: coalContent[j].name,
|
|
- subEquipmentid: coalContent[j].id,
|
|
|
|
|
|
+ coalid: coalContent[j].id,
|
|
limit: 'coal',
|
|
limit: 'coal',
|
|
hbaseTableName: coalContent[j].hbaseTableName,
|
|
hbaseTableName: coalContent[j].hbaseTableName,
|
|
icon: 'icon iconfont icon-xitongfuwu',
|
|
icon: 'icon iconfont icon-xitongfuwu',
|
|
@@ -945,7 +948,7 @@ export default {
|
|
for (let i = 2; i < 50; i++) {
|
|
for (let i = 2; i < 50; i++) {
|
|
if (node.level === i) {
|
|
if (node.level === i) {
|
|
this.$http({
|
|
this.$http({
|
|
- url: this.$http.adornUrl('/universaltable/getSonLevel?tableId=' + node.data.levelId + '&id=' + node.data.subEquipmentid),
|
|
|
|
|
|
+ url: this.$http.adornUrl('/universaltable/getSonLevel?tableId=' + node.data.levelId + '&id=' + node.data.coalid),
|
|
method: 'post'
|
|
method: 'post'
|
|
}).then(({data}) => {
|
|
}).then(({data}) => {
|
|
console.log('第三次非叶子节点信息:' + JSON.stringify(data.data))
|
|
console.log('第三次非叶子节点信息:' + JSON.stringify(data.data))
|
|
@@ -954,7 +957,7 @@ export default {
|
|
for (let j = 0; j < coalContent.length; j++) {
|
|
for (let j = 0; j < coalContent.length; j++) {
|
|
let coal = {
|
|
let coal = {
|
|
name: coalContent[j].name,
|
|
name: coalContent[j].name,
|
|
- subEquipmentid: coalContent[j].id,
|
|
|
|
|
|
+ coalid: coalContent[j].id,
|
|
limit: 'coal',
|
|
limit: 'coal',
|
|
hbaseTableName: coalContent[j].hbaseTableName,
|
|
hbaseTableName: coalContent[j].hbaseTableName,
|
|
icon: 'icon iconfont icon-xitongfuwu',
|
|
icon: 'icon iconfont icon-xitongfuwu',
|