|
@@ -5,10 +5,10 @@
|
|
|
<text class="nav-bar-title">家政人员</text>
|
|
|
</view>
|
|
|
<v-tabs v-model="current" :tabs="tabs" :scroll="false" @change="changeTab" field="name" class="admin-tab-box"></v-tabs>
|
|
|
- <gerenZiliao ref="gerenZiliao" @goNext="gerenziliaoNext" v-show="tabCurrent ==0"></gerenZiliao>
|
|
|
- <qiuzhiXinxi ref="qiuzhiXinxi" v-show="tabCurrent ==1"></qiuzhiXinxi>
|
|
|
- <zhaopianZiliao ref="zhaopianZiliao" v-show="tabCurrent ==2"></zhaopianZiliao>
|
|
|
- <banzhengXinxi ref="banzhengXinxi" v-show="tabCurrent ==3"></banzhengXinxi>
|
|
|
+ <gerenZiliao ref="gerenZiliao" @goNext="gerenziliaoNext" v-show="current ==0"></gerenZiliao>
|
|
|
+ <qiuzhiXinxi ref="qiuzhiXinxi" @goUp="goUpQiuzhixinxi" @goNext="goNextQiuzhixinxi" v-show="current ==1"></qiuzhiXinxi>
|
|
|
+ <zhaopianZiliao ref="zhaopianZiliao" v-show="current ==2"></zhaopianZiliao>
|
|
|
+ <banzhengXinxi ref="banzhengXinxi" v-show="current ==3"></banzhengXinxi>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -54,8 +54,15 @@
|
|
|
gerenziliaoNext(data,num) {
|
|
|
console.log('data',data);
|
|
|
console.log('num',num);
|
|
|
- // this.current = num + 1
|
|
|
- }
|
|
|
+ this.current = num + 1
|
|
|
+ this.tabs[this.current].disabled = false
|
|
|
+ },
|
|
|
+ goUpQiuzhixinxi(data,num){
|
|
|
+ this.current = num - 1
|
|
|
+ },
|
|
|
+ goNextQiuzhixinxi(data,num){
|
|
|
+
|
|
|
+ },
|
|
|
}
|
|
|
}
|
|
|
</script>
|