|
@@ -119,7 +119,8 @@
|
|
|
areas: [],
|
|
|
stations: [],
|
|
|
version: process.env.VERSION,
|
|
|
- word: ''
|
|
|
+ word: '',
|
|
|
+ infoMessage: ''
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -255,7 +256,7 @@
|
|
|
},
|
|
|
jump_info(id,name,index) {
|
|
|
this.rightIndex = index
|
|
|
- this.$router.push({ path: '/info', query:{ id : id ,name: name}})
|
|
|
+ this.$router.push({ path: '/info', query:{ id : id ,name: name,lj: this.infoMessage}})
|
|
|
},
|
|
|
async switchTo() {
|
|
|
if(!this.searchData.areaId || !this.searchData.workstationId) {
|
|
@@ -281,8 +282,12 @@
|
|
|
async select_template_info_list(data) {
|
|
|
await selectTemplateInfoList(data).then(res=> {
|
|
|
this.rightList = res.data
|
|
|
+ this.infoMessage = ''
|
|
|
if(this.rightList[0].parameterList) {
|
|
|
+ this.infoMessage = this.rightList[0].parameterList[0].value
|
|
|
this.rightTitle = this.word + '(' + this.rightList[0].parameterList[0].value +')'
|
|
|
+ } else {
|
|
|
+ this.rightTitle = this.word
|
|
|
}
|
|
|
})
|
|
|
}
|