fix: 修改一些bug

This commit is contained in:
wanglei
2024-06-29 20:47:37 +08:00
parent d3d8e4f397
commit 57db3819bb
3 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,4 @@
VUE_APP_SCOPE=fengdu
#VUE_APP_API=https://web.fdfengshou.cn/
VUE_APP_API=http://192.168.1.87:9000/
#VUE_APP_API=http://192.168.1.87:9000/
VUE_APP_API=http://test87web.cunwuyun.cn/

View File

@@ -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)

View File

@@ -185,7 +185,9 @@ export default {
})
if (code === 0) {
this.chartList = records?.reverse() || []
this.initChart()
this.$nextTick(()=>{
this.initChart()
})
}
} catch (e) {
console.log(e)