Browse Source

学校管理

gzb
guozhongbo 10 months ago
parent
commit
4e52b92f56

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

594
         size: this.searchForm.size,
594
         size: this.searchForm.size,
595
         areaCode: this.searchForm.areaCodes,
595
         areaCode: this.searchForm.areaCodes,
596
         schoolName: this.searchForm.schoolName,
596
         schoolName: this.searchForm.schoolName,
597
-        regionid: this.searchForm.regionid
597
+        regionid: this.userInfo.regionid
598
       }).then((data) => {
598
       }).then((data) => {
599
         if (data.code === 0) {
599
         if (data.code === 0) {
600
           this.searchForm.list = data.obj.data;
600
           this.searchForm.list = data.obj.data;
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
     toEdit(row) {
748
     toEdit(row) {
744
       this.marketList = [];
749
       this.marketList = [];

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

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

Loading…
Cancel
Save