zhengkaixin 4 gadi atpakaļ
vecāks
revīzija
d52fd26aa1

+ 11 - 0
src/projects/business/router-xsy/xsy.js

@@ -112,6 +112,17 @@ const routesXsy = [
 							title: '申请详情',
 						}
 					},
+					//申请详情
+					{
+						path: 'my',
+						name: 'XsyApplyClassMy',
+						component: () => import('../views-xsy/ApplyClass/My.vue'),
+						meta: {
+							requireAuth: false,
+							role: [],
+							title: '排班表',
+						}
+					},
 					
 				]
 			},

+ 105 - 0
src/projects/business/views-xsy/ApplyClass/My.vue

@@ -0,0 +1,105 @@
+<template>
+<div>
+	
+    <header class="mui-bar mui-bar-nav ">
+				<a class="mui-title">饭卡</a>
+				<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
+			</header>
+			
+			<div class="mui-content margin49">
+				<div class="von-xsy-index vongi-index-inter">
+							<div id="slider" class="mui-slider">
+								<div class="mui-slider-group">
+									<!-- 第一张 -->
+									<div class="mui-slider-item" style="height: 100px" >
+										<a href="javascript:void(0)">
+											<img  style="height: 100px" src="~$project/assets/img/banner01.jpg">
+										</a>
+									</div>
+									<div class="mui-slider-item" style="height: 100px" >
+										<a href="javascript:void(0)">
+											<img  style="height: 100px" src="~$project/assets/img/banner01.jpg">
+										</a>
+									</div>
+									
+								</div>
+								<div class="mui-slider-indicator" v-if="false">
+									<div class="mui-indicator mui-active"></div>
+								
+								</div>
+							</div>
+						</div>
+				
+				  
+			</div>
+			<loading :visible="isLoading"></loading>
+</div>
+</template>
+
+
+<script>
+ 	
+	import * as API from '@/apis-xsy/meal'
+  
+	import  Common from '$project/components/Common.vue'
+ 	import Loading from '$project/components/Loading.vue'
+	import TopHeader from '$project/components/TopHeader.vue'
+ 
+
+	export default {
+		name: '',
+		components: {
+			Common,
+			Loading,
+			TopHeader 
+		},
+		data() {
+			return {
+			 
+				pageTitle: '申请调班',
+				remainingAmount:"",
+				isLoading: false,
+				 
+			}
+		},
+		created() {
+ 
+		},
+		methods: {
+			 
+			 
+			getRemainingAmount(){
+				this.isLoading = true;
+					 
+				API.remainingAmount().then(response => {
+					this.remainingAmount=response;
+				 
+					this.isLoading = false;
+				}).catch(error => {
+					this.isLoading = false;
+					mui.toast(error);
+				})
+			},
+			asynCallBack() {
+
+			},
+		
+		},
+		mounted() {
+			//this.getRemainingAmount();
+			var gallery = mui('.mui-slider');
+			var slider = gallery.slider({
+			
+			});
+		},
+		destroyed() {},
+	
+	}
+</script>
+
+<style src="$project/assets/css/iconfont.css"></style>
+<style scoped src="$project/assets/css/xpwyfyy.css"></style>
+<style scoped src="$project/assets/css/xpgj.css"></style>
+<style src="$project/assets/css/xsy.css"></style>
+<style>
+</style>

+ 7 - 2
src/projects/business/views/Master/Home.vue

@@ -13,6 +13,11 @@
 										<img  style="height: 100px" src="~$project/assets/img/banner01.jpg">
 									</a>
 								</div>
+								<div class="mui-slider-item" style="height: 100px" >
+									<a href="javascript:void(0)">
+										<img  style="height: 100px" src="~$project/assets/img/banner01.jpg">
+									</a>
+								</div>
 								
 							</div>
 							<div class="mui-slider-indicator" v-if="false">
@@ -76,8 +81,8 @@
 			<div class="vongi-index-floor">
 				<h4 class="vongi-floor-title">功能推荐区</h4>
 				<div class="vongi-index-inter flew-sp">
-					<div class="mui-col-xs-6" v-if="false">
-						<router-link :to="{name:'MasterMineEditInfo'}" class="vongi-floor-padded">
+					<div class="mui-col-xs-6" >
+						<router-link :to="{name:'XsyApplyClassMy'}" class="vongi-floor-padded">
 							<div class="mui-media-body">
 								<h4 class="mui-ellipsis">排班表</h4>
 								<p class="mui-ellipsis">查看我的班次</p>