Commit f76ce8aa authored by co_dengxiongwen's avatar co_dengxiongwen

页面调整

parent 6b72ca17
...@@ -640,19 +640,9 @@ export default { ...@@ -640,19 +640,9 @@ export default {
this.$message.warning('只能收藏资源点') this.$message.warning('只能收藏资源点')
return return
} }
let dForm = {} let dForm = {
if (node.isDefence && node.level == 6) { resourceId: node.id,
//如果是防区 stationId: this.checkedData.sId
dForm = {
resourceId: node.id,
byx1: '1',
stationId: this.checkedData.sId
}
} else {
dForm = {
resourceId: node.id,
stationId: this.checkedData.sId
}
} }
this.$http({ this.$http({
url: this.$http.adornUrlEq('/liEnshrine/save'), url: this.$http.adornUrlEq('/liEnshrine/save'),
...@@ -797,6 +787,11 @@ export default { ...@@ -797,6 +787,11 @@ export default {
if (this.mapList && this.treeData) { if (this.mapList && this.treeData) {
this.mapList.forEach((element) => { this.mapList.forEach((element) => {
element.readPath = this.urlPath + element.filePath element.readPath = this.urlPath + element.filePath
data.list.forEach((el) => {
if (element.stationId === el.id) {
element.name = el.stationName + element.name
}
})
}) })
this.checkedData.stationId = this.station.id this.checkedData.stationId = this.station.id
this.checkedData.stationName = this.station.stationName this.checkedData.stationName = this.station.stationName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment