zhangwei
2024-09-18 182884c4367668f279851b76be9b2b957ad0d47a
src/pages/order/order.vue
@@ -14,10 +14,10 @@
         <view class="c-p-l-20 c-p-r-20" v-if="listO.orderList&&listO.orderList.length>0">
            <view class="listrecord c-p-t-20" v-for="(item,index) in listO.orderList" :key="item.id"
               @click="pageToDetail(item)">
               <view class="coreshop-ff chuany-bradius20">
                  <view class="c-p-26">
               <view class="coreshop-ff chuany-bradius20 ">
                  <view class="c-p-24">
                     <view class="chuany-flex chuany-justify-between">
                        <text class="chuany-font34 chuany-text-bold">
                        <text class="chuany-font32">
                           {{item.orderName}}
                        </text>
                        <view class="chuany-flex chuany-justify-between">
@@ -29,23 +29,26 @@
                              plain plainFill size='mini'></up-tag>
                        </view>
                     </view>
                     <view class="c-p-t-14">
                        日期:{{$util.formatDate(item.wordStartTime)}} 至 {{$util.formatDate(item.wordEndTime)}}
                     </view>
                     <view class="c-p-t-14">
                        时间:{{item.startTimeName}} 至 {{item.endTimeName}}
                     </view>
                     <view class="chuany-flex chuany-justify-between c-p-t-14">
                        <view class="chuany-width50">
                           <text>
                              方式:{{item.workerType==0?'计时':'计件'}}
                           </text>
                     <view class="text-69 chuany-font28">
                        <view class="">
                           日期:{{$util.formatDate(item.wordStartTime)}} 至 {{$util.formatDate(item.wordEndTime)}}
                        </view>
                        <view class="chuany-width50">
                           工价:{{item.workPrice}}{{item.workerType==0?'元/小时':'元/件'}}
                           <text></text>
                        <view class="">
                           时间:{{item.startTimeName}} 至 {{item.endTimeName}}
                        </view>
                        <view class="chuany-flex chuany-justify-between ">
                           <view class="chuany-width50">
                              <text>
                                 方式:{{item.workerType==0?'计时':'计件'}}
                              </text>
                           </view>
                           <view class="chuany-width50">
                              工价:{{item.workPrice}}{{item.workerType==0?'元/小时':'元/件'}}
                              <text></text>
                           </view>
                        </view>
                     </view>
                  </view>
               </view>
            </view>
@@ -65,7 +68,8 @@
   import {
      onLoad,
      onShow,
      onReachBottom
      onReachBottom,
      onPullDownRefresh
   } from "@dcloudio/uni-app";
   import {
      reactive,
@@ -98,6 +102,13 @@
   onLoad(() => {
      PostMyListPageCompany()
   })
   onPullDownRefresh(() => {
      state.pageIndex = 1
      state.pageSize = 20
      loadStatus.value = 'loadmore'
      PostMyListPageCompany()
      uni.stopPullDownRefresh();
   })
   const current4 = ref(0);
   const list = ref(['全部', '发布', '招工完毕', '结算完毕']);
   const changePicker = (val) => {