Browse Source

学校管理

gzb
guozhongbo 9 months ago
parent
commit
4e52b92f56

+ 7
- 2
src/views/regionSection/regionManage/schoolManage.vue View File

@@ -594,7 +594,7 @@ export default {
594 594
         size: this.searchForm.size,
595 595
         areaCode: this.searchForm.areaCodes,
596 596
         schoolName: this.searchForm.schoolName,
597
-        regionid: this.searchForm.regionid
597
+        regionid: this.userInfo.regionid
598 598
       }).then((data) => {
599 599
         if (data.code === 0) {
600 600
           this.searchForm.list = data.obj.data;
@@ -738,7 +738,12 @@ export default {
738 738
       });
739 739
     },
740 740
     // 进入学校
741
-    toSchool(row) {},
741
+    toSchool(row) {
742
+      this.$router.push({
743
+        path: "/school/home",
744
+        query: {}
745
+      });
746
+    },
742 747
     // 编辑
743 748
     toEdit(row) {
744 749
       this.marketList = [];

+ 16
- 3
src/views/regionSection/setting/wallpaper.vue View File

@@ -80,10 +80,13 @@
80 80
               "
81 81
               accept=".png,.jpeg,.jpg,.gif"
82 82
             >
83
-              <div v-if="!wallpaperInfo.hpath" class="icon">横屏壁纸</div>
84
-              <div v-else class="hpath">
83
+              <div v-if="wallpaperInfo.hpath" class="hpath">
85 84
                 <img :src="$api.showImageUrl + wallpaperInfo.hpath" />
86 85
               </div>
86
+              <div v-else class="icon">
87
+                <Icon type="ios-cloud-upload-outline" size="42"></Icon>
88
+                <div>横屏壁纸</div>
89
+              </div>
87 90
             </Upload>
88 91
             <span>支持图片格式:jpg、jgeg、gif、png</span>
89 92
           </div>
@@ -119,7 +122,10 @@
119 122
       <div class="view_content">
120 123
         <div class="view_title">壁纸效果</div>
121 124
         <div class="hpath">
122
-          <img v-if="viewInfo.hpat" :src="$api.showImageUrl + viewInfo.hpath" />
125
+          <img
126
+            v-if="viewInfo.hpath"
127
+            :src="$api.showImageUrl + viewInfo.hpath"
128
+          />
123 129
         </div>
124 130
       </div>
125 131
       <div class="view_content" style="margin-top: 20px">
@@ -573,6 +579,13 @@ export default {
573 579
     cursor: pointer;
574 580
     .icon {
575 581
       color: #b8c2d9;
582
+      text-align: center;
583
+    }
584
+    &:hover {
585
+      background: #eaf5ff;
586
+      .icon {
587
+        color: #339cff;
588
+      }
576 589
     }
577 590
     .hpath {
578 591
       width: 180px;

Loading…
Cancel
Save