From a1a7c2aed860d1a1bb1ac377a69cdeacb7609cb9 Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期五, 11 十月 2024 09:16:42 +0800 Subject: [PATCH] - --- src/pages/checkin/index.vue | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/src/pages/checkin/index.vue b/src/pages/checkin/index.vue index f5ac1e7..60b495c 100644 --- a/src/pages/checkin/index.vue +++ b/src/pages/checkin/index.vue @@ -3,8 +3,9 @@ <view class=""> <up-sticky> <view class="coreshop-ff content c-p-l-10 c-p-t-10 c-p-r-10"> - <up-search placeholder="璇风偣鍑婚�夋嫨鎵撳崱鏃ユ湡" @click='clickIcon' :show-action="false" @clear='PostMyDakaListPage' - disabled v-model="wordDate" search-icon="calendar" @search='PostMyDakaListPage'></up-search> + <up-search placeholder="璇风偣鍑婚�夋嫨鎵撳崱鏃ユ湡" @click='clickIcon' :show-action="false" + @clear='PostMyDakaListPage' disabled v-model="wordDate" search-icon="calendar" + @search='PostMyDakaListPage'></up-search> <!-- <up-input shape="round" class="u-search__content__input"></up-input> --> <!-- <up-search placeholder="璇疯緭鍏ュ叕鍙稿悕绉�" :show-action="false" v-model="Suppliername" @clear='PostMyDakaListPage' @search='PostMyDakaListPage'></up-search> --> @@ -45,7 +46,8 @@ <view class="text-69 chuany-font28 c-p-t-8"> 鎵撳崱璁板綍锛歿{item.dakaMingxi}} </view> - <view class="chuany-flex chuany-justify-between chuany-flex-wrap c-p-t-8 text-69 chuany-font28"> + <view + class="chuany-flex chuany-justify-between chuany-flex-wrap c-p-t-8 text-69 chuany-font28"> <text class="chuany-width48"> 鏃堕暱锛歿{item.workTime}} </text> @@ -75,9 +77,10 @@ <view class="chuany-width48 c-p-t-8"> <view class="chuany-width10" v-if="item.isShenPi==0"> <!-- v-if="item.isShenPiName!=='宸茬粨绠�'" --> - <up-button class="button-layout__item" text="宸ヨ祫鐢虫姤" size="mini" - :loading='item.isLoading' loadingText="鐢虫姤涓�" @click.stop='saveDakaDetail(item)' - type="warning"></up-button> + <up-button class="button-layout__item" + :text="item.workerType==0?'缁撴潫浠婃棩宸ヤ綔':'璁′欢鐢虫姤'" size="mini" + :loading='item.isLoading' :loadingText="item.workerType==0?'缁撴潫涓�':'鐢虫姤涓�'" + @click.stop='saveDakaDetail(item)' type="warning"></up-button> </view> </view> </view> @@ -235,9 +238,10 @@ this.$api.saveDakaDetail(obj).then(res => { if (res.code == 1) { this.$util.showToast({ - title: '鐢虫姤鎴愬姛锛�', + title: item.workerType == 0 ? '缁撴潫浠婃棩宸ヤ綔鎴愬姛锛�' : '璁′欢鐢虫姤鎴愬姛锛�', icon: 'success' }) + this.init() } else { this.$util.showToast({ title: res.error ? res.error : '澶辫触锛�' -- Gitblit v1.9.1