fix: 修改一些bug
This commit is contained in:
@@ -87,7 +87,6 @@ export default {
|
||||
created() {
|
||||
this.$dict.load('evaluatorType').then(() => {
|
||||
this.getDetail()
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
|
||||
@@ -97,6 +96,7 @@ export default {
|
||||
const {code, data: {records}} = await this.instance.post('/app/appscoredetails/list', null, {
|
||||
params: {
|
||||
shopId: this.params.shopId,
|
||||
openId:this.info.openId,
|
||||
pages: 1000
|
||||
}
|
||||
})
|
||||
@@ -113,7 +113,7 @@ export default {
|
||||
try {
|
||||
const {code, data} = await this.instance.post('/app/appshopassess/queryDetailById', null, {
|
||||
params: {
|
||||
id: this.params.id
|
||||
id: this.params.id,
|
||||
}
|
||||
})
|
||||
if (code === 0) {
|
||||
@@ -123,6 +123,7 @@ export default {
|
||||
url: item
|
||||
}
|
||||
})
|
||||
await this.getList()
|
||||
}
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
|
||||
@@ -185,7 +185,9 @@ export default {
|
||||
})
|
||||
if (code === 0) {
|
||||
this.chartList = records?.reverse() || []
|
||||
this.initChart()
|
||||
this.$nextTick(()=>{
|
||||
this.initChart()
|
||||
})
|
||||
}
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
|
||||
Reference in New Issue
Block a user