feat: 门店评价

This commit is contained in:
wanglei
2024-06-25 15:43:43 +08:00
parent 4e051d9bee
commit 210e410a26
3 changed files with 77 additions and 100 deletions

View File

@@ -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',