Browse Source

判断错误修改

V1.0
mk 2 years ago
parent
commit
6f0400dec4
  1. 7
      src/views/modules/satisfaction/satisfactionProvince/index.vue

7
src/views/modules/satisfaction/satisfactionProvince/index.vue

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

Loading…
Cancel
Save