Bladeren bron

设备推送判断管控推送

gzb
wangzhonglu 7 maanden geleden
bovenliggende
commit
9bd4a151c8
2 gewijzigde bestanden met toevoegingen van 12 en 0 verwijderingen
  1. 6
    0
      src/views/regionSection/log/devicePush.vue
  2. 6
    0
      src/views/schoolSection/log/devicePush.vue

+ 6
- 0
src/views/regionSection/log/devicePush.vue Bestand weergeven

@@ -167,6 +167,12 @@ export default {
167 167
       }).then((data) => {
168 168
         if (data.code === 0) {
169 169
           this.searchForm.list = data.obj.data;
170
+          this.searchForm.list.forEach((item) => {
171
+            if (!item.loginname && !item.aname) {
172
+              item.loginname = "管控推送";
173
+              item.aname = "管控推送";
174
+            }
175
+          });
170 176
           this.searchForm.total = data.obj.total;
171 177
         } else {
172 178
           this.$Message.error(data.msg);

+ 6
- 0
src/views/schoolSection/log/devicePush.vue Bestand weergeven

@@ -181,6 +181,12 @@ export default {
181 181
       }).then((data) => {
182 182
         if (data.code === 0) {
183 183
           this.searchForm.list = data.obj.data;
184
+          this.searchForm.list.forEach((item) => {
185
+            if (!item.loginname && !item.aname) {
186
+              item.loginname = "管控推送";
187
+              item.aname = "管控推送";
188
+            }
189
+          });
184 190
           this.searchForm.total = data.obj.total;
185 191
         } else {
186 192
           this.$Message.error(data.msg);

Laden…
Annuleren
Opslaan