zhangwei
2024-09-11 4eef04aa662cf4f8fbde60ca99c0011b6203c558
src/pages/checkin/workdetail.vue
@@ -3,11 +3,11 @@
      <view class="coreshop-ff">
         <view class="c-p-20">
            <view class="chuany-flex chuany-justify-between chuany-flex-wrap">
               <text class="chuany-font34 chuany-text-bold">
               <text class="chuany-font34">
                  {{dakaList.orderName}}
               </text>
               <text class="">
                  日期:{{$util.formatDate(dakaList.workDate)}}
                  打卡日期:{{$util.formatDate(dakaList.workDate)}}
               </text>
            </view>
         </view>
@@ -36,7 +36,7 @@
               </view>
            </view>
         </view>
         <up-cell title="工作时长" :border='false'>
         <up-cell title="时长" :border='false'>
            <template #right-icon>
               {{dakaList.workTime}} 小时
            </template>
@@ -137,6 +137,7 @@
            }
            this.isLoading = true
            this.$api.saveDakaDetail(obj).then(res => {
               console.log(res);
               if(res.code==1){
                  this.$util.showToast({
                     title: '申报成功!',
@@ -144,7 +145,7 @@
                  })
               }else{
                  this.$util.showToast({
                     title: res.msg?res.msg:'失败!'
                     title: res.error?res.error:'失败!'
                  })
               }
               this.isLoading = false