瀏覽代碼

设备推送判断管控推送

gzb
wangzhonglu 7 月之前
父節點
當前提交
9bd4a151c8
共有 2 個檔案被更改,包括 12 行新增0 行删除
  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 查看文件

@@ -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 查看文件

@@ -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);

Loading…
取消
儲存