Browse Source

设备推送判断管控推送

gzb
wangzhonglu 7 months ago
parent
commit
9bd4a151c8

+ 6
- 0
src/views/regionSection/log/devicePush.vue View File

167
       }).then((data) => {
167
       }).then((data) => {
168
         if (data.code === 0) {
168
         if (data.code === 0) {
169
           this.searchForm.list = data.obj.data;
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
           this.searchForm.total = data.obj.total;
176
           this.searchForm.total = data.obj.total;
171
         } else {
177
         } else {
172
           this.$Message.error(data.msg);
178
           this.$Message.error(data.msg);

+ 6
- 0
src/views/schoolSection/log/devicePush.vue View File

181
       }).then((data) => {
181
       }).then((data) => {
182
         if (data.code === 0) {
182
         if (data.code === 0) {
183
           this.searchForm.list = data.obj.data;
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
           this.searchForm.total = data.obj.total;
190
           this.searchForm.total = data.obj.total;
185
         } else {
191
         } else {
186
           this.$Message.error(data.msg);
192
           this.$Message.error(data.msg);

Loading…
Cancel
Save