|
|
|
@ -351,8 +351,7 @@ export default { |
|
|
|
this.initEcharts(); |
|
|
|
} |
|
|
|
await this.getDicts(); |
|
|
|
await this.getTableData(this.user.level); |
|
|
|
console.log(this.user.level); |
|
|
|
await this.getTableData(); |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
// --------------------------------------字典------------------------------------------ |
|
|
|
@ -441,8 +440,8 @@ export default { |
|
|
|
this.getTableData(); |
|
|
|
}, |
|
|
|
// 获取列表 |
|
|
|
async getTableData(level) { |
|
|
|
if (level != "street") { |
|
|
|
async getTableData() { |
|
|
|
if (this.user.level != "street") { |
|
|
|
const allowedCategories = this.dicts.satisfaction_category.map( |
|
|
|
(item) => item.value |
|
|
|
); |
|
|
|
|