ouyj 1 месяц назад
Родитель
Сommit
76fd98740c
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      pages/tabbar-message/index.vue
  2. 1 1
      pages/tabbar-mine/index.vue

+ 2 - 2
pages/tabbar-message/index.vue

@@ -56,7 +56,7 @@
 		</uni-collapse>
 		<!-- 跳转打卡页按钮 -->
 		<view class="fab_button">
-			<view class="toClockInBtn">
+			<view v-if="config.companyCode !== 'yz'" class="toClockInBtn">
 				<uni-fab :pattern="{ icon: 'map-pin-ellipse' }" :popMenu="false" horizontal="right"
 					@fabClick="toClockInBtn"></uni-fab>
 			</view>
@@ -94,7 +94,7 @@ onMounted(() => {
 })
 onLoad((options) => {
 	// 是否跳转打卡页
-	if (options.to == 'clockIn'){
+	if (options.to == 'clockIn' && config.companyCode !== 'yz'){
 		toClockIn()
 	}else if(options.noticeId){
 		$tab.navigateTo('/pages/message/detail/index?noticeId=' + options.noticeId)

+ 1 - 1
pages/tabbar-mine/index.vue

@@ -51,7 +51,7 @@
 					<text class="desc"></text>
 				</view>
 
-				<view class="function-item" @click="clockIn">
+				<view v-if="config.companyCode !== 'yz'" class="function-item" @click="clockIn">
 					<text class="ygoa_icon icon-clockIn"></text>
 					<text class="title">我的打卡</text>
 					<text class="desc"></text>