Browse Source

设备管理其他操作不刷新

gzb
wangzhonglu 8 months ago
parent
commit
c6b03c6ae4

+ 0
- 7
src/views/schoolSection/deviceManage/breakRuleDevice.vue View File

571
       controlWSMsg.restoreFactory();
571
       controlWSMsg.restoreFactory();
572
       controlWSMsg.send((isSend) => {
572
       controlWSMsg.send((isSend) => {
573
         if (isSend) {
573
         if (isSend) {
574
-          this.getList();
575
           this.$Message.success("推送成功");
574
           this.$Message.success("推送成功");
576
         } else {
575
         } else {
577
           this.$Message.error("推送失败");
576
           this.$Message.error("推送失败");
605
           );
604
           );
606
           controlWSMsg.send((isSend) => {
605
           controlWSMsg.send((isSend) => {
607
             if (isSend) {
606
             if (isSend) {
608
-              this.getList();
609
               this.$Message.success("推送成功");
607
               this.$Message.success("推送成功");
610
             } else {
608
             } else {
611
               this.$Message.error("推送失败");
609
               this.$Message.error("推送失败");
633
       controlWSMsg.removeLimit();
631
       controlWSMsg.removeLimit();
634
       controlWSMsg.send((isSend) => {
632
       controlWSMsg.send((isSend) => {
635
         if (isSend) {
633
         if (isSend) {
636
-          this.getList();
637
           this.$Message.success("推送成功");
634
           this.$Message.success("推送成功");
638
         } else {
635
         } else {
639
           this.$Message.error("推送失败");
636
           this.$Message.error("推送失败");
657
       controlWSMsg.limitedUse();
654
       controlWSMsg.limitedUse();
658
       controlWSMsg.send((isSend) => {
655
       controlWSMsg.send((isSend) => {
659
         if (isSend) {
656
         if (isSend) {
660
-          this.getList();
661
           this.$Message.success("推送成功");
657
           this.$Message.success("推送成功");
662
         } else {
658
         } else {
663
           this.$Message.error("推送失败");
659
           this.$Message.error("推送失败");
681
       controlWSMsg.updateStrategy();
677
       controlWSMsg.updateStrategy();
682
       controlWSMsg.send((isSend) => {
678
       controlWSMsg.send((isSend) => {
683
         if (isSend) {
679
         if (isSend) {
684
-          this.getList();
685
           this.$Message.success("推送成功");
680
           this.$Message.success("推送成功");
686
         } else {
681
         } else {
687
           this.$Message.error("推送失败");
682
           this.$Message.error("推送失败");
705
       controlWSMsg.rebootDevice();
700
       controlWSMsg.rebootDevice();
706
       controlWSMsg.send((isSend) => {
701
       controlWSMsg.send((isSend) => {
707
         if (isSend) {
702
         if (isSend) {
708
-          this.getList();
709
           this.$Message.success("推送成功");
703
           this.$Message.success("推送成功");
710
         } else {
704
         } else {
711
           this.$Message.error("推送失败");
705
           this.$Message.error("推送失败");
729
       controlWSMsg.removeControl();
723
       controlWSMsg.removeControl();
730
       controlWSMsg.send((isSend) => {
724
       controlWSMsg.send((isSend) => {
731
         if (isSend) {
725
         if (isSend) {
732
-          this.getList();
733
           this.$Message.success("推送成功");
726
           this.$Message.success("推送成功");
734
         } else {
727
         } else {
735
           this.$Message.error("推送失败");
728
           this.$Message.error("推送失败");

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

1434
       controlWSMsg.restoreFactory();
1434
       controlWSMsg.restoreFactory();
1435
       controlWSMsg.send((isSend) => {
1435
       controlWSMsg.send((isSend) => {
1436
         if (isSend) {
1436
         if (isSend) {
1437
-          this.getList();
1438
           this.$Message.success("推送成功");
1437
           this.$Message.success("推送成功");
1439
         } else {
1438
         } else {
1440
           this.$Message.error("推送失败");
1439
           this.$Message.error("推送失败");
1468
           );
1467
           );
1469
           controlWSMsg.send((isSend) => {
1468
           controlWSMsg.send((isSend) => {
1470
             if (isSend) {
1469
             if (isSend) {
1471
-              this.getList();
1472
               this.$Message.success("推送成功");
1470
               this.$Message.success("推送成功");
1473
             } else {
1471
             } else {
1474
               this.$Message.error("推送失败");
1472
               this.$Message.error("推送失败");
1500
       controlWSMsg.removeLimit();
1498
       controlWSMsg.removeLimit();
1501
       controlWSMsg.send((isSend) => {
1499
       controlWSMsg.send((isSend) => {
1502
         if (isSend) {
1500
         if (isSend) {
1503
-          this.getList();
1504
           this.$Message.success("推送成功");
1501
           this.$Message.success("推送成功");
1505
         } else {
1502
         } else {
1506
           this.$Message.error("推送失败");
1503
           this.$Message.error("推送失败");
1524
       controlWSMsg.limitedUse();
1521
       controlWSMsg.limitedUse();
1525
       controlWSMsg.send((isSend) => {
1522
       controlWSMsg.send((isSend) => {
1526
         if (isSend) {
1523
         if (isSend) {
1527
-          this.getList();
1528
           this.$Message.success("推送成功");
1524
           this.$Message.success("推送成功");
1529
         } else {
1525
         } else {
1530
           this.$Message.error("推送失败");
1526
           this.$Message.error("推送失败");
1548
       controlWSMsg.updateStrategy();
1544
       controlWSMsg.updateStrategy();
1549
       controlWSMsg.send((isSend) => {
1545
       controlWSMsg.send((isSend) => {
1550
         if (isSend) {
1546
         if (isSend) {
1551
-          this.getList();
1552
           this.$Message.success("推送成功");
1547
           this.$Message.success("推送成功");
1553
         } else {
1548
         } else {
1554
           this.$Message.error("推送失败");
1549
           this.$Message.error("推送失败");
1572
       controlWSMsg.rebootDevice();
1567
       controlWSMsg.rebootDevice();
1573
       controlWSMsg.send((isSend) => {
1568
       controlWSMsg.send((isSend) => {
1574
         if (isSend) {
1569
         if (isSend) {
1575
-          this.getList();
1576
           this.$Message.success("推送成功");
1570
           this.$Message.success("推送成功");
1577
         } else {
1571
         } else {
1578
           this.$Message.error("推送失败");
1572
           this.$Message.error("推送失败");
1596
       controlWSMsg.removeControl();
1590
       controlWSMsg.removeControl();
1597
       controlWSMsg.send((isSend) => {
1591
       controlWSMsg.send((isSend) => {
1598
         if (isSend) {
1592
         if (isSend) {
1599
-          this.getList();
1600
           this.$Message.success("推送成功");
1593
           this.$Message.success("推送成功");
1601
         } else {
1594
         } else {
1602
           this.$Message.error("推送失败");
1595
           this.$Message.error("推送失败");
1620
       controlWSMsg.removeBind();
1613
       controlWSMsg.removeBind();
1621
       controlWSMsg.send((isSend) => {
1614
       controlWSMsg.send((isSend) => {
1622
         if (isSend) {
1615
         if (isSend) {
1623
-          this.getList();
1624
           this.$Message.success("推送成功");
1616
           this.$Message.success("推送成功");
1625
         } else {
1617
         } else {
1626
           this.$Message.error("推送失败");
1618
           this.$Message.error("推送失败");

+ 3
- 3
src/views/schoolSection/home/index.vue View File

1022
               font-size: 14px;
1022
               font-size: 14px;
1023
               text-align: center;
1023
               text-align: center;
1024
               &.online_1 {
1024
               &.online_1 {
1025
-                padding-top: 140px;
1025
+                padding-top: 130px;
1026
                 color: #339cff;
1026
                 color: #339cff;
1027
                 .online_percent {
1027
                 .online_percent {
1028
                   margin-bottom: 10px;
1028
                   margin-bottom: 10px;
1037
                 }
1037
                 }
1038
               }
1038
               }
1039
               &.online_2 {
1039
               &.online_2 {
1040
-                padding-top: 140px;
1040
+                padding-top: 130px;
1041
                 color: #52c41a;
1041
                 color: #52c41a;
1042
                 .online_percent {
1042
                 .online_percent {
1043
                   margin-bottom: 10px;
1043
                   margin-bottom: 10px;
1052
                 }
1052
                 }
1053
               }
1053
               }
1054
               &.online_3 {
1054
               &.online_3 {
1055
-                padding-top: 140px;
1055
+                padding-top: 130px;
1056
                 color: #ed4a99;
1056
                 color: #ed4a99;
1057
                 .online_percent {
1057
                 .online_percent {
1058
                   margin-bottom: 10px;
1058
                   margin-bottom: 10px;

Loading…
Cancel
Save