feat: 门店评价
This commit is contained in:
@@ -76,7 +76,43 @@ export default {
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
this.getDetail()
|
||||
this.getScoredetail()
|
||||
},
|
||||
|
||||
methods: {
|
||||
async getScoredetail(){
|
||||
try {
|
||||
const {code,data} = await this.instance.post('/app/appscoredetails/queryDetailById',null,{
|
||||
params:{
|
||||
id:this.params.id
|
||||
}
|
||||
})
|
||||
if(code===0){
|
||||
console.log('data',data)
|
||||
}
|
||||
}catch (e) {
|
||||
console.error(e)
|
||||
}
|
||||
},
|
||||
|
||||
async getDetail(){
|
||||
try {
|
||||
const {code,data} = await this.instance.post('/app/appshopassess/queryDetailById',null,{
|
||||
params:{
|
||||
id:this.params.id
|
||||
}
|
||||
})
|
||||
if(code===0){
|
||||
this.info = data
|
||||
}
|
||||
}catch (e) {
|
||||
console.error(e)
|
||||
}
|
||||
},
|
||||
|
||||
cancel() {
|
||||
this.$emit('change', {
|
||||
type: 'List',
|
||||
|
||||
Reference in New Issue
Block a user