liuyg
2021-09-01 bd6c3ba1aad2e8c38f6334efa27b2dc3fddc4ea3
汇报类型
1 files modified
12 ■■■■ changed files
src/views/workreport/workreport.vue 12 ●●●● patch | view | raw | blame | history
src/views/workreport/workreport.vue
@@ -282,8 +282,7 @@
            this.selectionClear();
          });
        });
      }
      if (this.userInfo.role_name == "公安管理员") {
      } else if (this.userInfo.role_name == "公安管理员") {
        const column = that.findObject(that.option.column, "category");
        var code1 = { code: "workReportCategory" };
        getDictionaryBiz(code1).then((res) => {
@@ -313,8 +312,15 @@
            this.selectionClear();
          });
        });
      } else if (this.userInfo.role_name == "administrator") {
        getListPage(page.currentPage, page.pageSize, params).then((res) => {
          const data = res.data.data;
          this.page.total = data.total;
          this.data = data.records;
          this.loading = false;
          this.selectionClear();
        });
      }
    },
  },
};