底部导航优化,新增页面完成-1222

master
Lee 2022-12-22 17:36:10 +08:00
parent f4e2915394
commit dc47ddff32
19 changed files with 43 additions and 70 deletions

View File

@ -62,25 +62,17 @@
})
break;
case 1:
if(uni.getStorageSync('worker_role')==1){
if(this.$toolAll.tools.judgeAuth()) {
uni.reLaunch({
url:'/pages/worker/overtime/overtime',
})
}
}else{
this.$toolAll.tools.showToast('资料审核中');
if(this.$toolAll.tools.judgeAuth()) {
uni.reLaunch({
url:'/pages/worker/overtime/overtime',
})
}
break;
case 2:
if(uni.getStorageSync('worker_role')==1){
if(this.$toolAll.tools.judgeAuth()) {
uni.reLaunch({
url:'/pages/worker/my/my?userType=worker',
})
}
}else{
this.$toolAll.tools.showToast('资料审核中');
if(this.$toolAll.tools.judgeAuth()) {
uni.reLaunch({
url:'/pages/worker/my/my?userType=worker',
})
}
break;
}
@ -94,7 +86,7 @@
break;
case 1:
if(this.$toolAll.tools.judgeAuth()) {
uni.reLaunch({
uni.navigateTo({
url:'/pages/director/sign/sign?userType=workbench',
})
}

View File

@ -90,7 +90,6 @@
if(op.userType!==''){
this.userType = op.userType;
if(op.userType=='worker'){
this.current = 2;
this.myMoreList = [
{title:'个人资料',url:'/pagesA/information/information',icon:'/static/icon/icon-my-01.png',iconWidth:32,iconHeight:32},
{title:'打卡记录',url:'/pagesA/signRecord/signRecord?userType=worker',icon:'/static/icon/icon-my-02.png',iconWidth:30,iconHeight:30},

View File

@ -662,20 +662,15 @@
//
showRadioEv(){
if(uni.getStorageSync('worker_role')==1){
if(this.siteInfo.name){
if(!this.finish){
this.showRadio = true;
this.radioIndex = 0;
}else{
this.$toolAll.tools.showToast('您已打卡');
}
if(this.siteInfo.name){
if(!this.finish){
this.showRadio = true;
this.radioIndex = 0;
}else{
this.$toolAll.tools.showToast('不在打卡范围内');
this.$toolAll.tools.showToast('您已打卡');
}
}else{
this.$toolAll.tools.showToast('资料审核中');
this.$toolAll.tools.showToast('不在打卡范围内');
}
},

View File

@ -56,7 +56,7 @@
</view>
</view>
<!-- 尾部 -->
<tabbar :userType="userType" :current="userType=='worker'?2:4"></tabbar>
<tabbar :userType="userType" current="2"></tabbar>
</view>
</template>
<script>

View File

@ -22,7 +22,7 @@
</view>
</view>
<!-- 尾部 -->
<tabbar :userType="userType" current="4"></tabbar>
<tabbar :userType="userType" current="2"></tabbar>
</view>
</template>
<script>

View File

@ -40,7 +40,7 @@
</view>
</view>
<!-- 尾部 -->
<tabbar :userType="userType" current="4"></tabbar>
<tabbar :userType="userType" current="2"></tabbar>
</view>
</template>
<script>

View File

@ -40,7 +40,7 @@
</view>
</view>
<!-- 尾部 -->
<tabbar :userType="userType" current="4"></tabbar>
<tabbar :userType="userType" current="2"></tabbar>
</view>
</template>
<script>

View File

@ -42,7 +42,7 @@
</view>
</view>
<!-- 尾部 -->
<tabbar :userType="userType" current="4"></tabbar>
<tabbar :userType="userType" current="2"></tabbar>
</view>
</template>
<script>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -204,25 +204,17 @@ var _default = {
});
break;
case 1:
if (uni.getStorageSync('worker_role') == 1) {
if (this.$toolAll.tools.judgeAuth()) {
uni.reLaunch({
url: '/pages/worker/overtime/overtime'
});
}
} else {
this.$toolAll.tools.showToast('资料审核中');
if (this.$toolAll.tools.judgeAuth()) {
uni.reLaunch({
url: '/pages/worker/overtime/overtime'
});
}
break;
case 2:
if (uni.getStorageSync('worker_role') == 1) {
if (this.$toolAll.tools.judgeAuth()) {
uni.reLaunch({
url: '/pages/worker/my/my?userType=worker'
});
}
} else {
this.$toolAll.tools.showToast('资料审核中');
if (this.$toolAll.tools.judgeAuth()) {
uni.reLaunch({
url: '/pages/worker/my/my?userType=worker'
});
}
break;
}
@ -236,7 +228,7 @@ var _default = {
break;
case 1:
if (this.$toolAll.tools.judgeAuth()) {
uni.reLaunch({
uni.navigateTo({
url: '/pages/director/sign/sign?userType=workbench'
});
}

View File

@ -240,7 +240,6 @@ var _default = {
if (op.userType !== '') {
this.userType = op.userType;
if (op.userType == 'worker') {
this.current = 2;
this.myMoreList = [{
title: '个人资料',
url: '/pagesA/information/information',

View File

@ -657,19 +657,15 @@ var _default = {
},
// 唤起打卡弹窗
showRadioEv: function showRadioEv() {
if (uni.getStorageSync('worker_role') == 1) {
if (this.siteInfo.name) {
if (!this.finish) {
this.showRadio = true;
this.radioIndex = 0;
} else {
this.$toolAll.tools.showToast('您已打卡');
}
if (this.siteInfo.name) {
if (!this.finish) {
this.showRadio = true;
this.radioIndex = 0;
} else {
this.$toolAll.tools.showToast('不在打卡范围内');
this.$toolAll.tools.showToast('您已打卡');
}
} else {
this.$toolAll.tools.showToast('资料审核中');
this.$toolAll.tools.showToast('不在打卡范围内');
}
},
// 改变上下班打卡

View File

@ -1 +1 @@
<view class="pad-x120 data-v-11e99daa"><status-nav vue-id="2b49158a-1" navBarTitle="打卡记录" class="data-v-11e99daa" bind:__l="__l"></status-nav><view class="content data-v-11e99daa" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="screen-box screen-box-other data-v-11e99daa"><view class="item data-v-11e99daa"><picker class="font24 data-v-11e99daa" mode="selector" range="{{worksiteList}}" value="{{worksiteIndex}}" range-key="name" data-event-opts="{{[['change',[['bindWorksiteChange',['$event']]]]]}}" bindchange="__e"><view class="name data-v-11e99daa"><text class="{{['clips1','data-v-11e99daa',worksiteIndex==-1?'color-99':'']}}">{{worksiteIndex!==-1?worksiteList[worksiteIndex].name:'请选择工地'}}</text><image src="/static/icon/icon-arrow-02.png" mode="aspectFit" class="data-v-11e99daa"></image></view></picker></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="item font26 color-blue data-v-11e99daa" bindtap="__e"><view class="name data-v-11e99daa" style="justify-content:center;">补卡操作</view></view></view><view class="sign-calendar data-v-11e99daa"><sign-calendar vue-id="2b49158a-2" class="data-v-11e99daa" bind:__l="__l"></sign-calendar></view><view class="sign-record-date font26 data-v-11e99daa">2022年12月08日 打卡情况</view><view class="sign-record sign-record-other bg-white data-v-11e99daa"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-11e99daa"><view class="info data-v-11e99daa"><text class="data-v-11e99daa">{{item.$orig.type_text+"打卡:"+item.g0}}</text><text class="data-v-11e99daa">{{"打卡工地:"+item.$orig.worksite_name}}</text></view><block wx:if="{{item.$orig.status==-1}}"><view class="state color-red data-v-11e99daa">{{item.$orig.status_text}}</view></block><block wx:if="{{item.$orig.status==0}}"><view class="state color-blue data-v-11e99daa">{{item.$orig.status_text}}</view></block><block wx:if="{{item.$orig.status==1}}"><view class="state data-v-11e99daa">{{item.$orig.status_text}}</view></block></view></block></view><view class="more-tips font24 data-v-11e99daa">{{signList.length==total?'没有更多数据了':'下滑获取更多'}}</view></view><block wx:if="{{showCard}}"><view class="pop-up-bg data-v-11e99daa"><view class="sign-cate bg-white data-v-11e99daa"><view class="title font34 data-v-11e99daa">请选择补卡时间</view><view class="txt font28 data-v-11e99daa"><block wx:for="{{radioList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeSignType',[index]]]]]}}" class="radio-item data-v-11e99daa" bindtap="__e"><view class="{{['data-v-11e99daa',radioIndex==index?'checked':'']}}"></view><view class="data-v-11e99daa">{{item.title+"打卡"}}</view></view></block></view><view class="sign-cate-btns color-white font30 data-v-11e99daa"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="btn data-v-11e99daa" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="btn data-v-11e99daa" bindtap="__e">确认</view></view></view></view></block><tabbar vue-id="2b49158a-3" userType="{{userType}}" current="{{userType=='worker'?2:4}}" class="data-v-11e99daa" bind:__l="__l"></tabbar></view>
<view class="pad-x120 data-v-11e99daa"><status-nav vue-id="2b49158a-1" navBarTitle="打卡记录" class="data-v-11e99daa" bind:__l="__l"></status-nav><view class="content data-v-11e99daa" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="screen-box screen-box-other data-v-11e99daa"><view class="item data-v-11e99daa"><picker class="font24 data-v-11e99daa" mode="selector" range="{{worksiteList}}" value="{{worksiteIndex}}" range-key="name" data-event-opts="{{[['change',[['bindWorksiteChange',['$event']]]]]}}" bindchange="__e"><view class="name data-v-11e99daa"><text class="{{['clips1','data-v-11e99daa',worksiteIndex==-1?'color-99':'']}}">{{worksiteIndex!==-1?worksiteList[worksiteIndex].name:'请选择工地'}}</text><image src="/static/icon/icon-arrow-02.png" mode="aspectFit" class="data-v-11e99daa"></image></view></picker></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="item font26 color-blue data-v-11e99daa" bindtap="__e"><view class="name data-v-11e99daa" style="justify-content:center;">补卡操作</view></view></view><view class="sign-calendar data-v-11e99daa"><sign-calendar vue-id="2b49158a-2" class="data-v-11e99daa" bind:__l="__l"></sign-calendar></view><view class="sign-record-date font26 data-v-11e99daa">2022年12月08日 打卡情况</view><view class="sign-record sign-record-other bg-white data-v-11e99daa"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-11e99daa"><view class="info data-v-11e99daa"><text class="data-v-11e99daa">{{item.$orig.type_text+"打卡:"+item.g0}}</text><text class="data-v-11e99daa">{{"打卡工地:"+item.$orig.worksite_name}}</text></view><block wx:if="{{item.$orig.status==-1}}"><view class="state color-red data-v-11e99daa">{{item.$orig.status_text}}</view></block><block wx:if="{{item.$orig.status==0}}"><view class="state color-blue data-v-11e99daa">{{item.$orig.status_text}}</view></block><block wx:if="{{item.$orig.status==1}}"><view class="state data-v-11e99daa">{{item.$orig.status_text}}</view></block></view></block></view><view class="more-tips font24 data-v-11e99daa">{{signList.length==total?'没有更多数据了':'下滑获取更多'}}</view></view><block wx:if="{{showCard}}"><view class="pop-up-bg data-v-11e99daa"><view class="sign-cate bg-white data-v-11e99daa"><view class="title font34 data-v-11e99daa">请选择补卡时间</view><view class="txt font28 data-v-11e99daa"><block wx:for="{{radioList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeSignType',[index]]]]]}}" class="radio-item data-v-11e99daa" bindtap="__e"><view class="{{['data-v-11e99daa',radioIndex==index?'checked':'']}}"></view><view class="data-v-11e99daa">{{item.title+"打卡"}}</view></view></block></view><view class="sign-cate-btns color-white font30 data-v-11e99daa"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="btn data-v-11e99daa" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="btn data-v-11e99daa" bindtap="__e">确认</view></view></view></view></block><tabbar vue-id="2b49158a-3" userType="{{userType}}" current="2" class="data-v-11e99daa" bind:__l="__l"></tabbar></view>

View File

@ -1 +1 @@
<view class="pad-x120 data-v-49e4bd28"><status-nav vue-id="f2b1e5cc-1" navBarTitle="公告管理" class="data-v-49e4bd28" bind:__l="__l"></status-nav><view class="content data-v-49e4bd28" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="notick-status data-v-49e4bd28"><block wx:for="{{radioList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeNotickStatus',[index]]]]]}}" class="radio-item data-v-49e4bd28" bindtap="__e"><view class="{{['data-v-49e4bd28',radioIndex==index?'checked':'']}}"></view><view class="font26 data-v-49e4bd28">{{item}}</view></view></block></view><view class="notick-txt data-v-49e4bd28"><view class="notick-tips font26 data-v-49e4bd28">请编辑公告内容</view><textarea class="input font26 data-v-49e4bd28" name="msg"></textarea></view><view class="enter-detail-btns color-white font30 data-v-49e4bd28"><view data-event-opts="{{[['tap',[['submitEv',[1]]]]]}}" class="btn data-v-49e4bd28" bindtap="__e">发布</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="btn data-v-49e4bd28" bindtap="__e">取消</view></view></view><tabbar vue-id="f2b1e5cc-2" userType="{{userType}}" current="4" class="data-v-49e4bd28" bind:__l="__l"></tabbar></view>
<view class="pad-x120 data-v-49e4bd28"><status-nav vue-id="f2b1e5cc-1" navBarTitle="公告管理" class="data-v-49e4bd28" bind:__l="__l"></status-nav><view class="content data-v-49e4bd28" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="notick-status data-v-49e4bd28"><block wx:for="{{radioList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeNotickStatus',[index]]]]]}}" class="radio-item data-v-49e4bd28" bindtap="__e"><view class="{{['data-v-49e4bd28',radioIndex==index?'checked':'']}}"></view><view class="font26 data-v-49e4bd28">{{item}}</view></view></block></view><view class="notick-txt data-v-49e4bd28"><view class="notick-tips font26 data-v-49e4bd28">请编辑公告内容</view><textarea class="input font26 data-v-49e4bd28" name="msg"></textarea></view><view class="enter-detail-btns color-white font30 data-v-49e4bd28"><view data-event-opts="{{[['tap',[['submitEv',[1]]]]]}}" class="btn data-v-49e4bd28" bindtap="__e">发布</view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="btn data-v-49e4bd28" bindtap="__e">取消</view></view></view><tabbar vue-id="f2b1e5cc-2" userType="{{userType}}" current="2" class="data-v-49e4bd28" bind:__l="__l"></tabbar></view>

View File

@ -1 +1 @@
<view class="pad-x120 data-v-15e855a8"><status-nav vue-id="a7215d4c-1" ifReturn="{{true}}" navBarTitle="离职审核" class="data-v-15e855a8" bind:__l="__l"></status-nav><view class="content data-v-15e855a8" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="pull-nav data-v-15e855a8" style="{{'top:'+(statusHeight+50+'px')+';'}}"><sub-nav bind:changeEv="__e" vue-id="a7215d4c-2" data-event-opts="{{[['^changeEv',[['changeEv']]]]}}" class="data-v-15e855a8" bind:__l="__l"></sub-nav></view><view class="choose-all-bg data-v-15e855a8"><block wx:if="{{status==0&&signList.length>0}}"><view class="choose-all font26 data-v-15e855a8"><view data-event-opts="{{[['tap',[['chooseAll',['$event']]]]]}}" class="{{['radio','data-v-15e855a8',isAll?'checked':'']}}" bindtap="__e"></view><view class="title data-v-15e855a8">全选</view><block wx:if="{{ids!==''}}"><view class="choose-all-btns font24 data-v-15e855a8"><view data-event-opts="{{[['tap',[['submitAll',[1]]]]]}}" class="btn color-blue data-v-15e855a8" bindtap="__e">一键确认</view><view data-event-opts="{{[['tap',[['submitAll',[0]]]]]}}" class="btn color-99 btn-no data-v-15e855a8" bindtap="__e">退回</view></view></block></view></block></view><view class="sign-record sign-record-other bg-white data-v-15e855a8"><block wx:for="{{signList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-15e855a8"><block wx:if="{{status==0}}"><view data-event-opts="{{[['tap',[['chooseEv',[index]]]]]}}" class="{{['radio','data-v-15e855a8',item.ifcheck?'checked':'']}}" bindtap="__e"></view></block><view class="{{['info','data-v-15e855a8',status==0?'hide':'']}}"><text class="data-v-15e855a8">{{"姓名:"+item.worker_name}}</text><text class="data-v-15e855a8">{{item.type_text+"打卡:"+item.created_at}}</text><text class="data-v-15e855a8">{{"打卡工地:"+item.worksite_name}}</text></view><block wx:if="{{item.status==0}}"><view class="examine-btns font24 data-v-15e855a8"><view data-event-opts="{{[['tap',[['submitEv',['$0',1],[[['signList','',index,'id']]]]]]]}}" class="btn color-blue data-v-15e855a8" bindtap="__e">确认</view><view data-event-opts="{{[['tap',[['submitEv',['$0',0],[[['signList','',index,'id']]]]]]]}}" class="btn color-99 data-v-15e855a8" bindtap="__e">退回</view></view></block><block wx:if="{{item.status==1||item.status==-1}}"><view class="{{['state','data-v-15e855a8',item.status==-1?'color-red':'']}}">{{item.status_text}}</view></block></view></block><view class="more-tips font24 data-v-15e855a8">{{signList.length==total?'没有更多数据了':'下滑获取更多'}}</view></view></view><tabbar vue-id="a7215d4c-3" userType="{{userType}}" current="4" class="data-v-15e855a8" bind:__l="__l"></tabbar></view>
<view class="pad-x120 data-v-15e855a8"><status-nav vue-id="a7215d4c-1" ifReturn="{{true}}" navBarTitle="离职审核" class="data-v-15e855a8" bind:__l="__l"></status-nav><view class="content data-v-15e855a8" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="pull-nav data-v-15e855a8" style="{{'top:'+(statusHeight+50+'px')+';'}}"><sub-nav bind:changeEv="__e" vue-id="a7215d4c-2" data-event-opts="{{[['^changeEv',[['changeEv']]]]}}" class="data-v-15e855a8" bind:__l="__l"></sub-nav></view><view class="choose-all-bg data-v-15e855a8"><block wx:if="{{status==0&&signList.length>0}}"><view class="choose-all font26 data-v-15e855a8"><view data-event-opts="{{[['tap',[['chooseAll',['$event']]]]]}}" class="{{['radio','data-v-15e855a8',isAll?'checked':'']}}" bindtap="__e"></view><view class="title data-v-15e855a8">全选</view><block wx:if="{{ids!==''}}"><view class="choose-all-btns font24 data-v-15e855a8"><view data-event-opts="{{[['tap',[['submitAll',[1]]]]]}}" class="btn color-blue data-v-15e855a8" bindtap="__e">一键确认</view><view data-event-opts="{{[['tap',[['submitAll',[0]]]]]}}" class="btn color-99 btn-no data-v-15e855a8" bindtap="__e">退回</view></view></block></view></block></view><view class="sign-record sign-record-other bg-white data-v-15e855a8"><block wx:for="{{signList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-15e855a8"><block wx:if="{{status==0}}"><view data-event-opts="{{[['tap',[['chooseEv',[index]]]]]}}" class="{{['radio','data-v-15e855a8',item.ifcheck?'checked':'']}}" bindtap="__e"></view></block><view class="{{['info','data-v-15e855a8',status==0?'hide':'']}}"><text class="data-v-15e855a8">{{"姓名:"+item.worker_name}}</text><text class="data-v-15e855a8">{{item.type_text+"打卡:"+item.created_at}}</text><text class="data-v-15e855a8">{{"打卡工地:"+item.worksite_name}}</text></view><block wx:if="{{item.status==0}}"><view class="examine-btns font24 data-v-15e855a8"><view data-event-opts="{{[['tap',[['submitEv',['$0',1],[[['signList','',index,'id']]]]]]]}}" class="btn color-blue data-v-15e855a8" bindtap="__e">确认</view><view data-event-opts="{{[['tap',[['submitEv',['$0',0],[[['signList','',index,'id']]]]]]]}}" class="btn color-99 data-v-15e855a8" bindtap="__e">退回</view></view></block><block wx:if="{{item.status==1||item.status==-1}}"><view class="{{['state','data-v-15e855a8',item.status==-1?'color-red':'']}}">{{item.status_text}}</view></block></view></block><view class="more-tips font24 data-v-15e855a8">{{signList.length==total?'没有更多数据了':'下滑获取更多'}}</view></view></view><tabbar vue-id="a7215d4c-3" userType="{{userType}}" current="2" class="data-v-15e855a8" bind:__l="__l"></tabbar></view>

View File

@ -1 +1 @@
<view class="pad-x120 data-v-6ef6be8c"><status-nav vue-id="6fe193fa-1" navBarTitle="补卡确认" class="data-v-6ef6be8c" bind:__l="__l"></status-nav><view class="content data-v-6ef6be8c" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="pull-nav data-v-6ef6be8c" style="{{'top:'+(statusHeight+50+'px')+';'}}"><sub-nav bind:changeEv="__e" vue-id="6fe193fa-2" data-event-opts="{{[['^changeEv',[['changeEv']]]]}}" class="data-v-6ef6be8c" bind:__l="__l"></sub-nav></view><view class="choose-all-bg data-v-6ef6be8c"><block wx:if="{{status==0&&signList.length>0}}"><view class="choose-all font26 data-v-6ef6be8c"><view data-event-opts="{{[['tap',[['chooseAll',['$event']]]]]}}" class="{{['radio','data-v-6ef6be8c',isAll?'checked':'']}}" bindtap="__e"></view><view class="title data-v-6ef6be8c">全选</view><block wx:if="{{ids!==''}}"><view class="choose-all-btns font24 data-v-6ef6be8c"><view data-event-opts="{{[['tap',[['submitAll',[1]]]]]}}" class="btn color-blue data-v-6ef6be8c" bindtap="__e">一键确认</view><view data-event-opts="{{[['tap',[['submitAll',[0]]]]]}}" class="btn color-99 btn-no data-v-6ef6be8c" bindtap="__e">退回</view></view></block></view></block></view><view class="sign-record sign-record-other bg-white data-v-6ef6be8c"><block wx:for="{{signList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-6ef6be8c"><block wx:if="{{status==0}}"><view data-event-opts="{{[['tap',[['chooseEv',[index]]]]]}}" class="{{['radio','data-v-6ef6be8c',item.ifcheck?'checked':'']}}" bindtap="__e"></view></block><view class="{{['info','data-v-6ef6be8c',status==0?'hide':'']}}"><text class="data-v-6ef6be8c">{{"姓名:"+item.worker_name}}</text><text class="data-v-6ef6be8c">{{item.type_text+"打卡:"+item.created_at}}</text><text class="data-v-6ef6be8c">{{"打卡工地:"+item.worksite_name}}</text></view><block wx:if="{{item.status==0}}"><view class="examine-btns font24 data-v-6ef6be8c"><view data-event-opts="{{[['tap',[['submitEv',['$0',1],[[['signList','',index,'id']]]]]]]}}" class="btn color-blue data-v-6ef6be8c" bindtap="__e">确认</view><view data-event-opts="{{[['tap',[['submitEv',['$0',0],[[['signList','',index,'id']]]]]]]}}" class="btn color-99 data-v-6ef6be8c" bindtap="__e">退回</view></view></block><block wx:if="{{item.status==1||item.status==-1}}"><view class="{{['state','data-v-6ef6be8c',item.status==-1?'color-red':'']}}">{{item.status_text}}</view></block></view></block><view class="more-tips font24 data-v-6ef6be8c">{{signList.length==total?'没有更多数据了':'下滑获取更多'}}</view></view></view><tabbar vue-id="6fe193fa-3" userType="{{userType}}" current="4" class="data-v-6ef6be8c" bind:__l="__l"></tabbar></view>
<view class="pad-x120 data-v-6ef6be8c"><status-nav vue-id="6fe193fa-1" navBarTitle="补卡确认" class="data-v-6ef6be8c" bind:__l="__l"></status-nav><view class="content data-v-6ef6be8c" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="pull-nav data-v-6ef6be8c" style="{{'top:'+(statusHeight+50+'px')+';'}}"><sub-nav bind:changeEv="__e" vue-id="6fe193fa-2" data-event-opts="{{[['^changeEv',[['changeEv']]]]}}" class="data-v-6ef6be8c" bind:__l="__l"></sub-nav></view><view class="choose-all-bg data-v-6ef6be8c"><block wx:if="{{status==0&&signList.length>0}}"><view class="choose-all font26 data-v-6ef6be8c"><view data-event-opts="{{[['tap',[['chooseAll',['$event']]]]]}}" class="{{['radio','data-v-6ef6be8c',isAll?'checked':'']}}" bindtap="__e"></view><view class="title data-v-6ef6be8c">全选</view><block wx:if="{{ids!==''}}"><view class="choose-all-btns font24 data-v-6ef6be8c"><view data-event-opts="{{[['tap',[['submitAll',[1]]]]]}}" class="btn color-blue data-v-6ef6be8c" bindtap="__e">一键确认</view><view data-event-opts="{{[['tap',[['submitAll',[0]]]]]}}" class="btn color-99 btn-no data-v-6ef6be8c" bindtap="__e">退回</view></view></block></view></block></view><view class="sign-record sign-record-other bg-white data-v-6ef6be8c"><block wx:for="{{signList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-6ef6be8c"><block wx:if="{{status==0}}"><view data-event-opts="{{[['tap',[['chooseEv',[index]]]]]}}" class="{{['radio','data-v-6ef6be8c',item.ifcheck?'checked':'']}}" bindtap="__e"></view></block><view class="{{['info','data-v-6ef6be8c',status==0?'hide':'']}}"><text class="data-v-6ef6be8c">{{"姓名:"+item.worker_name}}</text><text class="data-v-6ef6be8c">{{item.type_text+"打卡:"+item.created_at}}</text><text class="data-v-6ef6be8c">{{"打卡工地:"+item.worksite_name}}</text></view><block wx:if="{{item.status==0}}"><view class="examine-btns font24 data-v-6ef6be8c"><view data-event-opts="{{[['tap',[['submitEv',['$0',1],[[['signList','',index,'id']]]]]]]}}" class="btn color-blue data-v-6ef6be8c" bindtap="__e">确认</view><view data-event-opts="{{[['tap',[['submitEv',['$0',0],[[['signList','',index,'id']]]]]]]}}" class="btn color-99 data-v-6ef6be8c" bindtap="__e">退回</view></view></block><block wx:if="{{item.status==1||item.status==-1}}"><view class="{{['state','data-v-6ef6be8c',item.status==-1?'color-red':'']}}">{{item.status_text}}</view></block></view></block><view class="more-tips font24 data-v-6ef6be8c">{{signList.length==total?'没有更多数据了':'下滑获取更多'}}</view></view></view><tabbar vue-id="6fe193fa-3" userType="{{userType}}" current="2" class="data-v-6ef6be8c" bind:__l="__l"></tabbar></view>

View File

@ -1 +1 @@
<view class="pad-x120 data-v-08582d6c"><status-nav vue-id="02ae011a-1" navBarTitle="工人列表" class="data-v-08582d6c" bind:__l="__l"></status-nav><view class="content data-v-08582d6c" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="sign-record sign-record-other bg-white data-v-08582d6c"><block wx:for="{{signList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-08582d6c"><block wx:if="{{status==0}}"><view data-event-opts="{{[['tap',[['chooseEv',[index]]]]]}}" class="{{['radio','data-v-08582d6c',item.ifcheck?'checked':'']}}" bindtap="__e"></view></block><view class="{{['info','data-v-08582d6c',status==0?'hide':'']}}"><text class="data-v-08582d6c">{{"姓名:"+item.worker_name}}</text><text class="data-v-08582d6c">{{item.type_text+"打卡:"+item.created_at}}</text><text class="data-v-08582d6c">{{"打卡工地:"+item.worksite_name}}</text></view><block wx:if="{{item.status==0}}"><view class="examine-btns font24 data-v-08582d6c"><view data-event-opts="{{[['tap',[['submitEv',['$0',1],[[['signList','',index,'id']]]]]]]}}" class="btn color-blue data-v-08582d6c" bindtap="__e">确认</view><view data-event-opts="{{[['tap',[['submitEv',['$0',0],[[['signList','',index,'id']]]]]]]}}" class="btn color-99 data-v-08582d6c" bindtap="__e">退回</view></view></block><block wx:if="{{item.status==1||item.status==-1}}"><view class="{{['state','data-v-08582d6c',item.status==-1?'color-red':'']}}">{{item.status_text}}</view></block></view></block><view class="more-tips font24 data-v-08582d6c">{{signList.length==total?'没有更多数据了':'下滑获取更多'}}</view></view></view><block wx:if="{{showEvaluate}}"><view class="pop-up-bg data-v-08582d6c"><view class="sign-cate bg-white data-v-08582d6c"><view class="title font34 data-v-08582d6c">工人评定</view><view class="txt evaluate-txt font28 data-v-08582d6c"><view class="evaluate-tips data-v-08582d6c">请根据工人本月的表现情况进行评定</view><block wx:for="{{allStars}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="evaluate-stars data-v-08582d6c"><image src="{{index<=curStars-1?'/static/icon/icon-stars-active.png':'/static/icon/icon-stars.png'}}" mode="widthFix" data-event-opts="{{[['tap',[['changeStars',[index]]]]]}}" bindtap="__e" class="data-v-08582d6c"></image></view></block></view><view class="sign-cate-btns color-white font30 data-v-08582d6c"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="btn data-v-08582d6c" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="btn data-v-08582d6c" bindtap="__e">确认</view></view></view></view></block><tabbar vue-id="02ae011a-2" userType="{{userType}}" current="4" class="data-v-08582d6c" bind:__l="__l"></tabbar></view>
<view class="pad-x120 data-v-08582d6c"><status-nav vue-id="02ae011a-1" navBarTitle="工人列表" class="data-v-08582d6c" bind:__l="__l"></status-nav><view class="content data-v-08582d6c" style="{{'padding-top:'+(statusHeight+50+'px')+';'}}"><view class="sign-record sign-record-other bg-white data-v-08582d6c"><block wx:for="{{signList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item font26 data-v-08582d6c"><block wx:if="{{status==0}}"><view data-event-opts="{{[['tap',[['chooseEv',[index]]]]]}}" class="{{['radio','data-v-08582d6c',item.ifcheck?'checked':'']}}" bindtap="__e"></view></block><view class="{{['info','data-v-08582d6c',status==0?'hide':'']}}"><text class="data-v-08582d6c">{{"姓名:"+item.worker_name}}</text><text class="data-v-08582d6c">{{item.type_text+"打卡:"+item.created_at}}</text><text class="data-v-08582d6c">{{"打卡工地:"+item.worksite_name}}</text></view><block wx:if="{{item.status==0}}"><view class="examine-btns font24 data-v-08582d6c"><view data-event-opts="{{[['tap',[['submitEv',['$0',1],[[['signList','',index,'id']]]]]]]}}" class="btn color-blue data-v-08582d6c" bindtap="__e">确认</view><view data-event-opts="{{[['tap',[['submitEv',['$0',0],[[['signList','',index,'id']]]]]]]}}" class="btn color-99 data-v-08582d6c" bindtap="__e">退回</view></view></block><block wx:if="{{item.status==1||item.status==-1}}"><view class="{{['state','data-v-08582d6c',item.status==-1?'color-red':'']}}">{{item.status_text}}</view></block></view></block><view class="more-tips font24 data-v-08582d6c">{{signList.length==total?'没有更多数据了':'下滑获取更多'}}</view></view></view><block wx:if="{{showEvaluate}}"><view class="pop-up-bg data-v-08582d6c"><view class="sign-cate bg-white data-v-08582d6c"><view class="title font34 data-v-08582d6c">工人评定</view><view class="txt evaluate-txt font28 data-v-08582d6c"><view class="evaluate-tips data-v-08582d6c">请根据工人本月的表现情况进行评定</view><block wx:for="{{allStars}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="evaluate-stars data-v-08582d6c"><image src="{{index<=curStars-1?'/static/icon/icon-stars-active.png':'/static/icon/icon-stars.png'}}" mode="widthFix" data-event-opts="{{[['tap',[['changeStars',[index]]]]]}}" bindtap="__e" class="data-v-08582d6c"></image></view></block></view><view class="sign-cate-btns color-white font30 data-v-08582d6c"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="btn data-v-08582d6c" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['submitEv',['$event']]]]]}}" class="btn data-v-08582d6c" bindtap="__e">确认</view></view></view></view></block><tabbar vue-id="02ae011a-2" userType="{{userType}}" current="2" class="data-v-08582d6c" bind:__l="__l"></tabbar></view>