| xqd
@@ -185,26 +185,23 @@
|
|
|
})
|
|
|
},
|
|
|
select_service(index){
|
|
|
- if(this.serviceId && this.serviceId == index){
|
|
|
+ if( this.serviceId == index){
|
|
|
this.serviceId = null
|
|
|
+ this.screenDescription=""
|
|
|
}else{
|
|
|
this.serviceId = index
|
|
|
+ this.screenDescription=this.service_screen.screenList[index]['description']||''
|
|
|
}
|
|
|
- if(this.serviceId || this.serviceId===0){
|
|
|
- this.service_screen.screenList.forEach((item,index)=>{
|
|
|
- console.log(index)
|
|
|
- console.log(this.serviceId)
|
|
|
- this.screenDescription=this.service_screen.screenList[index]['description']||''
|
|
|
+ // if(this.serviceId || this.serviceId===0){
|
|
|
+ // this.service_screen.screenList.forEach((item,index)=>{
|
|
|
+
|
|
|
+ // this.screenDescription=this.service_screen.screenList[index]['description']||''
|
|
|
|
|
|
- if(index == this.serviceId){
|
|
|
- this.service_label = item
|
|
|
- this.card_id = this.service_screen.screenList['card_id']
|
|
|
- console.log(this.screenDescription)
|
|
|
- }
|
|
|
- })
|
|
|
- }else{
|
|
|
- this.service_label = null
|
|
|
- }
|
|
|
+
|
|
|
+ // })
|
|
|
+ // }else{
|
|
|
+ // this.service_label = null
|
|
|
+ // }
|
|
|
},
|
|
|
getservice(copyGroup, attrNum_0, select){
|
|
|
console.log('getservice,164')
|
| xqd
@@ -235,6 +232,7 @@
|
|
|
|
|
|
if(item.id==this.checked.id){
|
|
|
that.service_screen = item
|
|
|
+ that.select_service(0);
|
|
|
|
|
|
}
|
|
|
|
| xqd
@@ -330,7 +328,6 @@
|
|
|
console.log(copyAttr)
|
|
|
console.log(attrNum_0)
|
|
|
console.log(select)
|
|
|
-
|
|
|
this.selectCheck(copyAttr, attrNum_0, select);
|
|
|
|
|
|
this.$nextTick(() => {
|