-
zhangwei
2024-10-08 93a986bc80abdef75923054b9df9adb6e1ccff52
src/pages/company/index.vue
@@ -1,5 +1,5 @@
<template>
   <scroll-view class="full-page" scroll-y using-sticky>
   <view class="full-page" scroll-y using-sticky>
      <up-sticky>
         <!-- <view class="coreshop-ff content c-p-10">
            <up-search placeholder="请点击选择打卡日期" @click='clickIcon' disabled v-model="wordDate" search-icon="calendar"
@@ -124,7 +124,7 @@
      <view class="tabbtns">
         合计:{{heji}} 元
      </view>
   </scroll-view>
   </view>
</template>
<script>
@@ -155,16 +155,18 @@
         }
      },
      onPullDownRefresh() {
         this.pageIndex = 1
         this.pageSize = 20
         this.wordDate = ''
         this.isJieSuan = false
         this.workerUserName = ''
         this.loadStatus = 'loadmore'
         this.PostMyComDakaListPage();
         this.init()
         uni.stopPullDownRefresh();
      },
      methods: {
         init() {
            this.pageIndex = 1
            this.pageSize = 20
            this.loadStatus = 'loadmore'
            this.PostMyComDakaListPage();
         },
         sectionChange(val) {
            switch (val) {
               case 0:
@@ -177,7 +179,7 @@
                  this.isJieSuan = true
                  break;
            }
            this.PostMyComDakaListPage()
            this.init()
         },
         saveDakaDetailCompany(item) {
            if (item.workerType == 1 && !item.workCount) {