
--- client/views/pages/custom/CustomSelectList.vue
+++ client/views/pages/custom/CustomSelectList.vue
... | ... | @@ -109,24 +109,6 @@ |
109 | 109 |
customListAllSelect: function () { |
110 | 110 |
const vm = this; |
111 | 111 |
|
112 |
- let check = false; |
|
113 |
- let authList = vm.$store.state.loginUser.user_auth; |
|
114 |
- for (let auth of authList) { |
|
115 |
- if (auth == "ROLE_ADMIN") { |
|
116 |
- check = true; |
|
117 |
- break; |
|
118 |
- } |
|
119 |
- } |
|
120 |
- if (!check) { |
|
121 |
- vm.search.searchObjectList.push({ |
|
122 |
- key: "id", |
|
123 |
- key2: "dept_code", |
|
124 |
- type: "string", |
|
125 |
- value: check + "/" + vm.$store.state.loginUser.user_id, |
|
126 |
- value2: vm.$store.state.loginUser.dept_code, |
|
127 |
- }); |
|
128 |
- } |
|
129 |
- |
|
130 | 112 |
axios({ |
131 | 113 |
url: "/custom/customPageListAllSelect", |
132 | 114 |
method: "post", |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?