|
@@ -10,6 +10,7 @@
|
|
|
</swiper-item>
|
|
|
</swiper>
|
|
|
</uni-swiper-dot>
|
|
|
+
|
|
|
<view class="tj-btn-box">
|
|
|
<text :class="{active: tjBtn == 1}" @click="tjBtnClick(1)">本周</text>
|
|
|
<text :class="{active: tjBtn == 2}" @click="tjBtnClick(2)">本月</text>
|
|
@@ -20,11 +21,16 @@
|
|
|
<view class="tj-num-box">{{indexInfoData.bzCount}}/{{indexInfoData.jzCount}}</view>
|
|
|
<view class="tj-tip-box">考证人员/家政人员</view>
|
|
|
</view>
|
|
|
- <view class="index-tongzhi-box" @click="goToPage('tz')">
|
|
|
- <text class="tongzhi-num">{{tzNum}}</text>
|
|
|
- <rich-text :nodes="tzContent" class="tongzhi-content"></rich-text>
|
|
|
- <icon></icon>
|
|
|
- </view>
|
|
|
+ <view class="index-kc-box" @click="goToPage('sykc')">
|
|
|
+ <view class="tj-num-box">{{indexInfoData.kechengCount}}/{{indexInfoData. kechengUsed}}</view>
|
|
|
+ <view class="tj-tip-box">剩余课程/已售课程</view>
|
|
|
+ <icon class="sjkc-jt-icon"></icon>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="index-tongzhi-box" @click="goToPage('tz')">
|
|
|
+ <text class="tongzhi-num">{{tzNum}}</text>
|
|
|
+ <rich-text :nodes="tzContent" class="tongzhi-content"></rich-text>
|
|
|
+ <icon></icon>
|
|
|
</view>
|
|
|
<view class="card-list-box">
|
|
|
<view class="card-list-title">管理家政人员</view>
|
|
@@ -32,6 +38,10 @@
|
|
|
<icon class="index-icon jz-icon"></icon>
|
|
|
<text>家政人员</text>
|
|
|
</view>
|
|
|
+ <view @click="goToPage('zzh')" class="card-item-box">
|
|
|
+ <icon class="index-icon zzh-icon"></icon>
|
|
|
+ <text>创建子账号</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<view class="card-list-box">
|
|
|
<view class="card-list-title">管理考证人员</view>
|
|
@@ -77,6 +87,8 @@ let indexInfoData = reactive({
|
|
|
bzCount: 0,
|
|
|
jzCount: 0,
|
|
|
jzName: '',
|
|
|
+ kechengCount: 0,//剩余课程数量
|
|
|
+ kechengUsed: 0,//售出课程数量
|
|
|
});
|
|
|
const swiperInfo = ref([]);
|
|
|
const dotStyle = reactive({
|
|
@@ -125,6 +137,8 @@ function getIndexInfo(){
|
|
|
indexInfoData.bzCount = res.data.bzCount;
|
|
|
indexInfoData.jzCount = res.data.jzCount;
|
|
|
indexInfoData.jzName = res.data.jzName;
|
|
|
+ indexInfoData.kechengCount = res.data.kechengCount;
|
|
|
+ indexInfoData.kechengUsed = res.data.kechengUsed;
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -152,6 +166,16 @@ function tjBtnClick(data){
|
|
|
url:'/pages/admin/Jiazheng/index'
|
|
|
})
|
|
|
break;
|
|
|
+ case 'zzh':
|
|
|
+ uni.redirectTo({
|
|
|
+ url:'/pages/admin/zizhanghao/list'
|
|
|
+ })
|
|
|
+ break;
|
|
|
+ case 'sykc':
|
|
|
+ uni.redirectTo({
|
|
|
+ url:'/pages/admin/yishou/yishou'
|
|
|
+ })
|
|
|
+ break;
|
|
|
case 'bz':
|
|
|
uni.redirectTo({
|
|
|
url:'/pages/admin/banzheng/list'
|