Browse Source

Merge commit '1207e5a75003b57639f26acf25862f9453e8852a' into gzb

gzb
guozhongbo 7 months ago
parent
commit
ecc99eb43d

+ 8
- 1
src/views/schoolSection/deviceManage/breakRuleDevice.vue View File

21
         />
21
         />
22
       </div>
22
       </div>
23
       <div class="search_right">
23
       <div class="search_right">
24
+        <Button
25
+          type="primary"
26
+          class="primary_btn"
27
+          style="margin-right: 10px"
28
+          @click="getList()"
29
+          >刷新</Button
30
+        >
24
         <Dropdown @on-click="dropdownSelected">
31
         <Dropdown @on-click="dropdownSelected">
25
           <div class="drop_btn">
32
           <div class="drop_btn">
26
             其他操作<Icon type="ios-arrow-down" class="arrow_down" />
33
             其他操作<Icon type="ios-arrow-down" class="arrow_down" />
434
           }).then((data) => {
441
           }).then((data) => {
435
             if (data.code === 0) {
442
             if (data.code === 0) {
436
               this.$Message.success(data.msg);
443
               this.$Message.success(data.msg);
437
-              this.searchList();
444
+              this.getList();
438
             } else {
445
             } else {
439
               this.$Message.error(data.msg);
446
               this.$Message.error(data.msg);
440
             }
447
             }

+ 8
- 1
src/views/schoolSection/deviceManage/deviceManage.vue View File

44
           />
44
           />
45
         </div>
45
         </div>
46
         <div class="search_right">
46
         <div class="search_right">
47
+          <Button
48
+            type="primary"
49
+            class="primary_btn"
50
+            style="margin-right: 10px"
51
+            @click="getList()"
52
+            >刷新</Button
53
+          >
47
           <Button
54
           <Button
48
             type="primary"
55
             type="primary"
49
             class="primary_btn"
56
             class="primary_btn"
1628
       };
1635
       };
1629
       form.userids = useridList;
1636
       form.userids = useridList;
1630
       this.addPushLog(form).then(() => {
1637
       this.addPushLog(form).then(() => {
1631
-        this.searchList();
1638
+        this.getList();
1632
       });
1639
       });
1633
     },
1640
     },
1634
     // 添加推送日志
1641
     // 添加推送日志

Loading…
Cancel
Save