src/views/licenseApproval/securityTraining.vue
@@ -483,9 +483,24 @@ onLoad(page, params = {}) { this.loading = true; params["ptype"] = 1; var gonganj = ""; if (this.userInfo.role_name == "公安管理员") { let test = /派出所$/g; if (test.test(this.userInfo.list.name)) { gonganj = "派出所管理员"; } test = /分局|公安局$/g; if (test.test(this.userInfo.list.name)) { gonganj = "县局管理员"; } test = /市公安局$/g; if (test.test(this.userInfo.list.name)) { gonganj = "市局管理员"; } } params = { ...params, ...this.getFenji(this.userInfo.role_name), ...this.getFenji(gonganj), }; getList( page.currentPage,