Explorar el Código

新增合同列表

tanxue hace 2 semanas
padre
commit
cec5ea4d0d
Se han modificado 3 ficheros con 33 adiciones y 2 borrados
  1. 9 2
      pages.json
  2. 9 0
      pages/admin/Hetong/HetongList.vue
  3. 15 0
      pages/admin/ShouYe/shouye.vue

+ 9 - 2
pages.json

@@ -276,9 +276,16 @@
 		},
 		{
 			"path" : "pages/admin/Hetong/Hetong",
-			"style" : 
+			"style" :
 			{
-				"navigationBarTitleText" : ""
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path" : "pages/admin/Hetong/HetongList",
+			"style" :
+			{
+				"navigationStyle": "custom"
 			}
 		}
 	],

+ 9 - 0
pages/admin/Hetong/HetongList.vue

@@ -0,0 +1,9 @@
+<template>
+	<view>合同列表</view>
+</template>
+
+<script>
+</script>
+
+<style>
+</style>

+ 15 - 0
pages/admin/ShouYe/shouye.vue

@@ -76,6 +76,13 @@
 				<text>课程管理</text>
 			</view>
 		</view>
+		<view class="card-list-box">
+			<view class="card-list-title">管理合同</view>
+			<view @click="goToPage('jzht')" class="card-item-box">
+				<icon class="index-icon kz-icon" :class="indexInfoData.tixingFlag"></icon>
+				<text>家政合同</text>
+			</view>
+		</view>
 		<!-- 页面底端 -->
 		<customTabbarAdminVue :current-tab="0"></customTabbarAdminVue>
 		<tip-dialog ref="tipDialogRef" :title="tipTitle" :content="tipContent"></tip-dialog>
@@ -138,6 +145,7 @@
 		jzName: '',
 		kechengCount: 0, //剩余课程数量
 		kechengUsed: 0, //售出课程数量
+		tixingFlag:false,
 	});
 	const swiperInfo = ref([]);
 	const dotStyle = reactive({
@@ -192,6 +200,7 @@
 			indexInfoData.jzName = res.data.jzName;
 			indexInfoData.kechengCount = res.data.kechengCount;
 			indexInfoData.kechengUsed = res.data.kechengUsed;
+			// indexInfoData.tixingFlag =
 		})
 	}
 
@@ -264,6 +273,12 @@
 					url: '/pages/admin/zijiazheng/index'
 				})
 				break;
+			// 家政合同	
+			case 'jzht':
+				uni.redirectTo({
+					url: '/pages/admin/Hetong/Hetong'
+				})
+				break;
 			case 'demo':
 				uni.redirectTo({
 					url: '/pages/demo/demo2'