Sfoglia il codice sorgente

设备管理其他操作不刷新

gzb
wangzhonglu 8 mesi fa
parent
commit
c6b03c6ae4

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

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

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

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

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

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

Loading…
Annulla
Salva