guozhongbo 8 месяцев назад
Родитель
Сommit
cee1b4c120

+ 22
- 20
src/views/regionSection/applicationManage/applicationManage.vue Просмотреть файл

@@ -561,9 +561,9 @@
561 561
         </div>
562 562
         <div class="view_conter">
563 563
           <div class="view_comm">
564
-            <div class="view_titles">
565
-              {{ viewInfo.appName
566
-              }}<span v-if="viewInfo.enabled === 1" class="qy">启用</span>
564
+            <div class="view_titles view_item">
565
+              {{ viewInfo.appName }}
566
+              <p v-if="viewInfo.enabled === 1" class="qy">启用</p>
567 567
             </div>
568 568
             <div class="view_item">
569 569
               <span>版本号码</span>
@@ -581,6 +581,7 @@
581 581
                 >
582 582
               </Select>
583 583
             </div>
584
+            <div class="view_item"></div>
584 585
           </div>
585 586
           <div class="view_comm">
586 587
             <div class="view_item">
@@ -598,22 +599,13 @@
598 599
               <span>强制安装</span>{{ viewInfo.forced === 0 ? "否" : "是" }}
599 600
             </div>
600 601
             <div class="view_item">
601
-              <span>显示图标</span>{{ viewInfo.showico === 0 ? "否" : "是" }}
602
+              <span>应用属性</span
603
+              >{{ viewInfo.appType === 1 ? "推荐应用" : "必装应用" }}
602 604
             </div>
603 605
             <div class="view_item">
604 606
               <span>应用大小</span>{{ viewInfo.appSize }}
605 607
             </div>
606 608
           </div>
607
-          <div class="view_comm">
608
-            <div class="view_item">
609
-              <span>应用属性</span
610
-              >{{ viewInfo.appType === 1 ? "推荐应用" : "必装应用" }}
611
-            </div>
612
-            <div class="view_item" style="width: 50%">
613
-              <span>应用包名</span>{{ viewInfo.appPackage }}
614
-            </div>
615
-            <div class="view_item"></div>
616
-          </div>
617 609
           <div class="view_comm">
618 610
             <div class="view_item">
619 611
               <span style="width: 120px">网址白名单例外</span
@@ -628,6 +620,12 @@
628 620
               >{{ viewInfo.strategy === 0 ? "否" : "是" }}
629 621
             </div>
630 622
           </div>
623
+          <div class="view_comm">
624
+            <div class="view_item" style="width: 100%">
625
+              <span>应用包名</span>{{ viewInfo.appPackage }}
626
+            </div>
627
+            <div class="view_item"></div>
628
+          </div>
631 629
           <div class="view_com">
632 630
             <div class="view_t">应用截图</div>
633 631
             <div class="view_img">
@@ -640,11 +638,11 @@
640 638
           </div>
641 639
           <div class="view_com">
642 640
             <div class="view_t">应用简介</div>
643
-            <div>{{ viewInfo.appAbbr }}</div>
641
+            <div>{{ viewInfo.appAbbr || "无" }}</div>
644 642
           </div>
645 643
           <div class="view_com">
646 644
             <div class="view_t">更新</div>
647
-            <div>{{ viewInfo.appRenew }}</div>
645
+            <div>{{ viewInfo.appRenew || "无" }}</div>
648 646
           </div>
649 647
           <div class="view_com">
650 648
             <div class="view_t">授权型号</div>
@@ -2031,10 +2029,13 @@ export default {
2031 2029
     .view_comm {
2032 2030
       display: flex;
2033 2031
       justify-content: space-between;
2034
-      line-height: 40px;
2032
+      height: 40px;
2033
+      align-items: center;
2035 2034
       .view_titles {
2036 2035
         font-size: 20px;
2037 2036
         font-weight: bold;
2037
+        display: flex;
2038
+        align-items: center;
2038 2039
         .qy {
2039 2040
           background-color: #52c41a;
2040 2041
           border-radius: 6px;
@@ -2046,9 +2047,11 @@ export default {
2046 2047
       }
2047 2048
       .view_item {
2048 2049
         width: 33%;
2050
+        font-weight: bold;
2049 2051
         span {
2052
+          font-weight: 400;
2050 2053
           display: inline-block;
2051
-          width: 70px;
2054
+          width: 120px;
2052 2055
           margin-right: 20px;
2053 2056
         }
2054 2057
       }
@@ -2057,10 +2060,9 @@ export default {
2057 2060
       display: flex;
2058 2061
       line-height: 40px;
2059 2062
       .view_t {
2060
-        width: 70px;
2063
+        width: 120px;
2061 2064
         flex: none;
2062 2065
         margin-right: 20px;
2063
-        text-align: right;
2064 2066
       }
2065 2067
       .view_img {
2066 2068
         display: flex;

+ 12
- 1
src/views/regionSection/regionManage/adminManage.vue Просмотреть файл

@@ -395,6 +395,7 @@ export default {
395 395
         loginname: "",
396 396
         loginpwd: "",
397 397
         loginpwd1: "",
398
+        oldPhone: "",
398 399
         phone: "",
399 400
         msgcode: "",
400 401
         address: "",
@@ -579,6 +580,7 @@ export default {
579 580
         loginname: "",
580 581
         loginpwd: generateRandomString(),
581 582
         loginpwd1: "",
583
+        oldPhone: "",
582 584
         phone: "",
583 585
         msgcode: "",
584 586
         enabled: 1,
@@ -650,7 +652,15 @@ export default {
650 652
             this.$Message.error("手机号码格式不正确");
651 653
             return;
652 654
           }
653
-          if (this.adminInfo.phone && !this.adminInfo.msgcode) {
655
+          if (
656
+            (!this.adminInfo.adminid &&
657
+              this.adminInfo.phone &&
658
+              !this.adminInfo.msgcode) ||
659
+            (this.adminInfo.adminid &&
660
+              this.adminInfo.phone &&
661
+              this.adminInfo.phone !== this.adminInfo.oldPhone &&
662
+              !this.adminInfo.msgcode)
663
+          ) {
654 664
             this.$Message.error("请输入短信验证码");
655 665
             return;
656 666
           }
@@ -738,6 +748,7 @@ export default {
738 748
             loginpwd: "",
739 749
             loginpwd1: "",
740 750
             phone: res.obj.phone,
751
+            oldPhone: res.obj.phone,
741 752
             msgcode: "",
742 753
             enabled: res.obj.enabled,
743 754
             atype: res.obj.atype,

+ 16
- 15
src/views/regionSection/search/allApps.vue Просмотреть файл

@@ -245,22 +245,13 @@
245 245
             <div class="view_item">
246 246
               <span>强制安装</span>{{ viewInfo.forced === 0 ? "否" : "是" }}
247 247
             </div>
248
-            <div class="view_item">
249
-              <span>显示图标</span>{{ viewInfo.showico === 0 ? "否" : "是" }}
250
-            </div>
251
-            <div class="view_item">
252
-              <span>应用大小</span>{{ viewInfo.appSize }}
253
-            </div>
254
-          </div>
255
-          <div class="view_comm">
256 248
             <div class="view_item">
257 249
               <span>应用属性</span
258 250
               >{{ viewInfo.appType === 1 ? "推荐应用" : "必装应用" }}
259 251
             </div>
260
-            <div class="view_item" style="width: 50%">
261
-              <span>应用包名</span>{{ viewInfo.appPackage }}
252
+            <div class="view_item">
253
+              <span>应用大小</span>{{ viewInfo.appSize }}
262 254
             </div>
263
-            <div class="view_item"></div>
264 255
           </div>
265 256
           <div class="view_comm">
266 257
             <div class="view_item">
@@ -276,6 +267,12 @@
276 267
               >{{ viewInfo.strategy === 0 ? "否" : "是" }}
277 268
             </div>
278 269
           </div>
270
+          <div class="view_comm">
271
+            <div class="view_item" style="width: 100%">
272
+              <span>应用包名</span>{{ viewInfo.appPackage }}
273
+            </div>
274
+            <div class="view_item"></div>
275
+          </div>
279 276
           <div class="view_com">
280 277
             <div class="view_t">应用截图</div>
281 278
             <div class="view_img">
@@ -942,10 +939,13 @@ export default {
942 939
     .view_comm {
943 940
       display: flex;
944 941
       justify-content: space-between;
945
-      line-height: 40px;
942
+      height: 40px;
943
+      align-items: center;
946 944
       .view_titles {
947 945
         font-size: 20px;
948 946
         font-weight: bold;
947
+        display: flex;
948
+        align-items: center;
949 949
         .qy {
950 950
           background-color: #52c41a;
951 951
           border-radius: 6px;
@@ -957,9 +957,11 @@ export default {
957 957
       }
958 958
       .view_item {
959 959
         width: 33%;
960
+        font-weight: bold;
960 961
         span {
961 962
           display: inline-block;
962
-          width: 70px;
963
+          font-weight: 400;
964
+          width: 120px;
963 965
           margin-right: 20px;
964 966
         }
965 967
       }
@@ -968,10 +970,9 @@ export default {
968 970
       display: flex;
969 971
       line-height: 40px;
970 972
       .view_t {
971
-        width: 70px;
973
+        width: 120px;
972 974
         flex: none;
973 975
         margin-right: 20px;
974
-        text-align: right;
975 976
       }
976 977
       .view_img {
977 978
         display: flex;

+ 16
- 15
src/views/schoolSection/applicationManage/applicationList.vue Просмотреть файл

@@ -533,22 +533,13 @@
533 533
             <div class="view_item">
534 534
               <span>强制安装</span>{{ viewInfo.forced === 0 ? "否" : "是" }}
535 535
             </div>
536
-            <div class="view_item">
537
-              <span>显示图标</span>{{ viewInfo.showico === 0 ? "否" : "是" }}
538
-            </div>
539
-            <div class="view_item">
540
-              <span>应用大小</span>{{ viewInfo.appSize }}
541
-            </div>
542
-          </div>
543
-          <div class="view_comm">
544 536
             <div class="view_item">
545 537
               <span>应用属性</span
546 538
               >{{ viewInfo.appType === 1 ? "推荐应用" : "必装应用" }}
547 539
             </div>
548
-            <div class="view_item" style="width: 50%">
549
-              <span>应用包名</span>{{ viewInfo.appPackage }}
540
+            <div class="view_item">
541
+              <span>应用大小</span>{{ viewInfo.appSize }}
550 542
             </div>
551
-            <div class="view_item"></div>
552 543
           </div>
553 544
           <div class="view_comm">
554 545
             <div class="view_item">
@@ -564,6 +555,12 @@
564 555
               >{{ viewInfo.strategy === 0 ? "否" : "是" }}
565 556
             </div>
566 557
           </div>
558
+          <div class="view_comm">
559
+            <div class="view_item" style="width: 100%">
560
+              <span>应用包名</span>{{ viewInfo.appPackage }}
561
+            </div>
562
+            <div class="view_item"></div>
563
+          </div>
567 564
           <div class="view_com">
568 565
             <div class="view_t">应用截图</div>
569 566
             <div class="view_img">
@@ -1826,10 +1823,13 @@ export default {
1826 1823
     .view_comm {
1827 1824
       display: flex;
1828 1825
       justify-content: space-between;
1829
-      line-height: 40px;
1826
+      height: 40px;
1827
+      align-items: center;
1830 1828
       .view_titles {
1831 1829
         font-size: 20px;
1832 1830
         font-weight: bold;
1831
+        display: flex;
1832
+        align-items: center;
1833 1833
         .qy {
1834 1834
           background-color: #52c41a;
1835 1835
           border-radius: 6px;
@@ -1841,9 +1841,11 @@ export default {
1841 1841
       }
1842 1842
       .view_item {
1843 1843
         width: 33%;
1844
+        font-weight: bold;
1844 1845
         span {
1845 1846
           display: inline-block;
1846
-          width: 70px;
1847
+          font-weight: 400;
1848
+          width: 120px;
1847 1849
           margin-right: 20px;
1848 1850
         }
1849 1851
       }
@@ -1852,10 +1854,9 @@ export default {
1852 1854
       display: flex;
1853 1855
       line-height: 40px;
1854 1856
       .view_t {
1855
-        width: 70px;
1857
+        width: 120px;
1856 1858
         flex: none;
1857 1859
         margin-right: 20px;
1858
-        text-align: right;
1859 1860
       }
1860 1861
       .view_img {
1861 1862
         display: flex;

Загрузка…
Отмена
Сохранить