| | |
| | | <template> |
| | | <scroll-view class="full-page" scroll-y using-sticky> |
| | | <view class="full-page" scroll-y using-sticky> |
| | | <up-sticky bgColor="#fff"> |
| | | <view class="coreshop-ff content c-p-10"> |
| | | <up-search placeholder="请点击选择日期" @clear='clear' @click='clickTime' disabled @custom='search' |
| | |
| | | </up-sticky> |
| | | <view class="full-page-content"> |
| | | <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"> |
| | | <view class="listrecord c-p-t-20" v-for="(item,index) in listO.orderList" :key="item.id" |
| | | @click='toDetail(item.id)'> |
| | | <view class="coreshop-ff chuany-bradius20"> |
| | | <view class="c-p-24"> |
| | | <view class="chuany-flex chuany-justify-between"> |
| | |
| | | <up-tag class='c-m-r-10' text="上班打卡" shape="circle" type="success" |
| | | v-if="item.isSelected" @click="pageToDetail(item)" size='mini'></up-tag> |
| | | <view class="" v-else> |
| | | <up-text :type="item.isSelectedName=='审核中'?'info':'error'" :text="item.isSelectedName" size='14'></up-text> |
| | | <up-text :type="item.isSelectedName=='审核中'?'info':'error'" |
| | | :text="item.isSelectedName" size='14'></up-text> |
| | | <!-- <up-tag v-if="item.isSelectedName=='审核中'" class='c-m-r-10' bgColor='#909399' borderColor='#909399' |
| | | v-if="item.isSelectedName=='审核中'" :text="item.isSelectedName" shape="circle" |
| | | size='mini'></up-tag> |
| | |
| | | </text> |
| | | </view> |
| | | <view class="chuany-width50"> |
| | | 工价:{{item.workPrice}}{{item.workerType==0?'元/小时':'元/件'}} |
| | | 工价:{{item.workPrice}}<template v-if="item.workPriceMax">~{{item.workPriceMax}}</template>{{item.workerType==0?'元/小时':'元/件'}} |
| | | <text></text> |
| | | </view> |
| | | </view> |
| | |
| | | </view> |
| | | <fui-date-picker range :show="datePickerShow" :value="$util.formatDate(new Date())" type="3" |
| | | @change="changePicker" @cancel="cancel"></fui-date-picker> |
| | | </scroll-view> |
| | | </view> |
| | | </template> |
| | | |
| | | <script setup> |
| | |
| | | } |
| | | |
| | | } |
| | | const toDetail = (val) => { |
| | | uni.navigateTo({ |
| | | url: `/pages/order/myorderdetail?orderid=${val}` |
| | | }) |
| | | } |
| | | const clear = () => { |
| | | state.wordStartTime = "" |
| | | state.wordEndTime = "" |