From 815e2cda769751dec5c1a1a71d0ff61b0d051d76 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 24 十月 2025 14:58:22 +0800
Subject: [PATCH] 最新版本541200007
---
pda/pages/index/queueup.vue | 52 ++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 42 insertions(+), 10 deletions(-)
diff --git a/pda/pages/index/queueup.vue b/pda/pages/index/queueup.vue
index 7cb8ab1..1870a0e 100644
--- a/pda/pages/index/queueup.vue
+++ b/pda/pages/index/queueup.vue
@@ -1,15 +1,14 @@
<template>
<view class="main_app">
<view class="main_content">
- <view class="title" @click="showPlatformgroup = true"
- >{{ platformGroup.name
- }}<u-icon
+ <view class="title" @click="showPlatformgroup = true" >{{ platformGroup.name||''}}
+ <u-icon
name="arrow-down"
size="20"
class="ml12"
color="#999999"
- ></u-icon
- ></view>
+ ></u-icon>
+ </view>
<view class="input_wrap">
<u-icon name="search" class="mr12" size="19" color="#999999" />
<input
@@ -72,9 +71,10 @@
<text class="label primaryColor">绛惧埌鏃堕棿</text>
<text class="value primaryColor" v-if="item.signDate">{{ item.signDate.slice(5, 16) }}</text>
</view>
- <!-- <view class="btns">
- <view class="btn active">鍏ュ洯</view>
- </view> -->
+ <view class="btns">
+ <view class="btn active" @click="jiaji(item.id)">鍔犳��</view>
+ <view class="btn active1" @click="backSignin(item.id)">閫�鍥炵鍒�</view>
+ </view>
</view>
<view v-if="platformLineUpList.length == 0" class="empty_wrap">
<image src="@/static/default_nodata@2x.png" />
@@ -142,11 +142,11 @@
</template>
<script>
-import { platformLineUpPage, getPlatformGroupList, wmsJobDetail } from '@/api'
+import { platformLineUpPage, getPlatformGroupList, wmsJobDetail,jobUrge,backToWatiSign } from '@/api'
export default {
data() {
return {
- windowTop: 24,
+ windowTop: 24,
showDetail: false,
showPlatformgroup: false,
capacity: 10,
@@ -218,6 +218,32 @@
this.platformLineUpList = []
this.getList()
},
+ jiaji(id){
+ uni.showModal({
+ content: `纭鍔犳�ュ悧锛焋,
+ success: (res) => {
+ if (res.confirm) {
+ jobUrge({ id:id }).then(res => {
+ this.showToast('鍔犳�ユ垚鍔�')
+ this.handleQuery()
+ })
+ }
+ }
+ })
+ },
+ backSignin(id){
+ uni.showModal({
+ content: `纭閫�鍥炵鍒板悧锛熻鎿嶄綔鍚庡徃鏈洪渶瑕侀噸鏂扮鍒帮紒`,
+ success: (res) => {
+ if (res.confirm) {
+ backToWatiSign({ id:id }).then(res => {
+ this.showToast('閫�鍥炵鍒版垚鍔�')
+ this.handleQuery()
+ })
+ }
+ }
+ })
+ },
platConfirm(e) {
const index = e.indexs[0]
this.platformGroup = this.platformGroupList[index]
@@ -343,6 +369,12 @@
border: 1rpx solid #999999;
margin-left: 20rpx;
}
+ .active1{
+ width: 140rpx;
+ background-color: #cb0000;
+ color: #fff;
+ border-color: #cb0000;
+ }
.active {
background-color: $uni-color-primary;
color: #fff;
--
Gitblit v1.9.3