Commit 06caa4c5 authored by youjie's avatar youjie

no message

parent c1c7dd41
...@@ -1361,10 +1361,10 @@ ...@@ -1361,10 +1361,10 @@
commentType: 3, commentType: 3,
name: '景点' name: '景点'
}, },
{ // {
commentType: 4, // commentType: 4,
name: '用车' // name: '用车'
}, // },
] ]
}; };
}, },
...@@ -1893,27 +1893,27 @@ ...@@ -1893,27 +1893,27 @@
} }
} }
// for(let x = 0; x < this.commentTypes.length; x++){ for(let x = 0; x < this.commentTypes.length; x++){
// let obj = this.commentTypes[x] let obj = this.commentTypes[x]
// let list = this.Infor.filter(item=> item.commentType == obj.commentType ) let list = this.Infor.filter(item=> item.commentType == obj.commentType )
// if(list.length==0){ if(list.length==0){
// let types = JSON.parse(JSON.stringify(this.types)) let types = JSON.parse(JSON.stringify(this.types))
// if(obj.commentType==1){ if(obj.commentType==1){
// types.commentType = 1 types.commentType = 1
// types.commentName = '酒店' types.commentName = '酒店'
// }else if(obj.commentType==2){ }else if(obj.commentType==2){
// types.commentType = 2 types.commentType = 2
// types.commentName = '餐食' types.commentName = '餐食'
// }else if(obj.commentType==3){ }else if(obj.commentType==3){
// types.commentType = 3 types.commentType = 3
// types.commentName = '景点' types.commentName = '景点'
// }else if(obj.commentType==4){ }else if(obj.commentType==4){
// types.commentType = 4 types.commentType = 4
// types.commentName = '用车' types.commentName = '用车'
// } }
// this.Infor.push(types) this.Infor.push(types)
// } }
// } }
ScoreTotal = ScoreTotal/this.commentList.length ScoreTotal = ScoreTotal/this.commentList.length
this.ScoreTotal = ScoreTotal.toFixed(1) this.ScoreTotal = ScoreTotal.toFixed(1)
......
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