|
|
@ -100,10 +100,10 @@ export default { |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
async init() { |
|
|
|
// if (this.orgId) { |
|
|
|
// await this.getResiCategoryData(); |
|
|
|
// this.getPie(); |
|
|
|
// } |
|
|
|
if (this.orgId) { |
|
|
|
await this.getResiCategoryData(); |
|
|
|
this.getPie(); |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
handleClickItem(item) { |
|
|
@ -120,6 +120,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
async getResiCategoryData() { |
|
|
|
|
|
|
|
let url = ''; |
|
|
|
if (this.currentTab == '满意度') { |
|
|
|
url = 'satis_eval_view'; |
|
|
@ -142,7 +143,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
// mockId: 60031937, |
|
|
|
mockId: 66906114, |
|
|
|
} |
|
|
|
); |
|
|
|
if (code === 0) { |
|
|
|