소스 검색

新增子家政页面

tanxue 1 개월 전
부모
커밋
2f7c35d3f6
2개의 변경된 파일62개의 추가작업 그리고 0개의 파일을 삭제
  1. 9 0
      pages/admin/ShouYe/shouye.vue
  2. 53 0
      pages/admin/zijiazheng/index.vue

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

@@ -43,6 +43,10 @@
 		 	<icon class="index-icon zzh-icon"></icon>
 		 	<text>创建子账号</text>
 		 </view>
+		 <view @click="goToPage('zjz')" class="card-item-box" v-if="auth.type == 2">
+		 	<icon class="index-icon zzh-icon"></icon>
+		 	<text>子家政公司</text>
+		 </view>
 	  </view>
 	  <view class="card-list-box">  
 		<view class="card-list-title">管理考证人员</view>
@@ -216,6 +220,11 @@ function tjBtnClick(data){
 					url:'/pages/admin/Lianxi/list'
 				})
 				break;
+			case 'zjz':
+				uni.redirectTo({
+					url:'/pages/admin/zijiazheng/index'
+				})
+				break;
 		}
 	}
 	function getLoginInit(){

+ 53 - 0
pages/admin/zijiazheng/index.vue

@@ -0,0 +1,53 @@
+<template>
+	<view class="phone-zjzgs-page">
+		<view class="phone-navBar-box">
+			<view @click="goUpPage" class="nav-bar-icon"></view>
+			<text class="nav-bar-title">子家政公司</text>
+			<uni-icons class="nav-bar-right-icon bar-ml10" type="search" size="20" @click="toggle('top')"></uni-icons>
+		</view>
+		<view class="jiazheng-search-box">
+			<uni-datetime-picker v-model="data.range" type="daterange" @change="onDateSelect" style="flex: 1" class="yishou-date-box"/>
+		</view>
+		<view>
+			
+		<!-- <view>
+			<view>办证机构:工商联</view>
+			<view>职业等级:育婴师高级  申请数量:10</view>
+		</view>
+		
+		<view>
+			<view>办证机构:工商联</view>
+			<view>职业等级:育婴师高级  办证数量:10</view>-->
+		</view>
+	</view>
+</template>
+
+<script setup>
+	import {
+		reactive,
+		ref
+	} from "vue";
+	const data = reactive({
+		list: [], // 办证列表
+		loading: false,
+		page: 0,
+		size: 10,
+		state: 'more',
+		contentText: {
+			contentdown: '查看更多',
+			contentrefresh: '加载中',
+			contentnomore: '没有更多'
+		},
+		startDate: '', 
+		endDate: '', 
+		range: []
+	})
+	function goUpPage() {
+		uni.redirectTo({
+			url: `/pages/admin/ShouYe/shouye`
+		})
+	}
+</script>
+
+<style>
+</style>