From ae3855638dba0c927236c1a1b1a85d5b048c40e2 Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期五, 18 四月 2025 10:31:08 +0800 Subject: [PATCH] 提交 --- pages/TaskManager/TaskManagerList.vue | 98 ++++-------------------------------------------- 1 files changed, 9 insertions(+), 89 deletions(-) diff --git a/pages/TaskManager/TaskManagerList.vue b/pages/TaskManager/TaskManagerList.vue index 33d6b69..db36e09 100644 --- a/pages/TaskManager/TaskManagerList.vue +++ b/pages/TaskManager/TaskManagerList.vue @@ -2,7 +2,7 @@ <view class="container"> <cu-custom :bgColor="NavBarColor" :isBack="true" backRouterName="productionTask"> <block slot="backText">杩斿洖</block> - <block slot="content">浠诲姟绠$悊</block> + <block slot="content">宸插姙</block> </cu-custom> <view style="width: 100%;"> @@ -35,101 +35,51 @@ </view> <view class="container"> - - <uni-badge absolute="rightTop" :offset="[-30, 15]" :text="msg1Count" type="error" /> - - <uni-badge absolute="rightTop" :offset="[-270, 15]" :text="msg2Count" type="error" /> - - <view class="solid-bottom"> - <scroll-view scroll-x class="nav text-center "> - <view class="flex text-center justify-around"> - <view class="cu-item" :class="item.value==TabCur?'text-blue cur':''" - v-for="(item,index) in tabs" :key="index" @tap="tabSelect" :data-id="item.value"> - {{item.title}} - </view> - </view> - </scroll-view> - - </view> - - + <mescroll-uni ref="mescrollRef" @init="mescrollInit" :top="top" @down="downCallback" @up="upCallback"> <!-- 鍒楄〃淇℃伅寮�濮� --> <view class="content"> <uni-card margin="10px" spacing="1px" v-for="(item,index) in msgList" :key="index" @click="onClickProductionTask(item)"> <view class="flex"> - <view class="flex-sub text-light bg-white padding-xs margin-xs radius">浠诲姟鍚嶇О:</view> + <view class="flex-sub text-light bg-white padding-xs margin-xs radius">娴佺▼鍚嶇О:</view> <view class="flex-sub bg-white padding-xs margin-xs text-bold radius text-right"> {{item.partName}} </view> </view> <view class="flex"> - <view class="flex-sub text-light bg-white padding-xs margin-xs radius">浠诲姟绫诲瀷:</view> + <view class="flex-sub text-light bg-white padding-xs margin-xs radius">娴佺▼鎻忚堪:</view> <view class="flex-sub bg-white padding-xs margin-xs radius text-right"> {{item.taskType}} </view> </view> <view class="flex"> - <view class="flex-sub text-light bg-white padding-xs margin-xs radius">浼樺厛绾�:</view> + <view class="flex-sub text-light bg-white padding-xs margin-xs radius">娴佺▼鍙戣捣浜�:</view> <view class="flex-sub bg-white padding-xs margin-xs text-blue radius text-right"> {{item.priority}} </view> </view> - <view class="flex"> - <view class="flex-sub text-light bg-white padding-xs margin-xs radius">璐d换浜�:</view> - <view class="flex-sub bg-white padding-xs margin-xs text-blue radius text-right"> - {{item.ssignee}} - </view> - </view> + <view class="flex"> - <view class="flex-sub text-light bg-white padding-xs margin-xs radius">浠诲姟鎻忚堪:</view> + <view class="flex-sub text-light bg-white padding-xs margin-xs radius">浠诲姟鍚嶇О:</view> <view class="flex-sub bg-white padding-xs margin-xs radius text-right"> {{item.taskDesc}} </view> </view> - <view class="flex"> - <view class="flex-sub text-light bg-white padding-xs margin-xs radius">瀹屾垚鏃堕棿:</view> - <view class="flex-sub bg-white padding-xs margin-xs radius text-right"> - {{item.dueaDate}} - </view> - </view> - <view class="flex"> - <view class="flex-sub text-light bg-white padding-xs margin-xs radius">鐘舵��:</view> - <view - class="flex-sub bg-white padding-xs margin-xs text-bold text-green radius text-right" - v-if="item.status == '1'"> - 寰呭鐞� - </view> - <view - class="flex-sub bg-white padding-xs margin-xs text-bold text-green radius text-right" - v-if="item.status == '3'"> - 宸插畬鎴� - </view> - </view> </uni-card> </view> - </mescroll-uni> </view> </view> </template> <script> - const tabs = [{ - title: '寰呭姙', - value: 0 - }, { - title: '宸插姙', - value: 1 - }]; import MescrollMixin from "@/components/mescroll-uni/mescroll-mixins.js"; export default { mixins: [MescrollMixin], // 浣跨敤mixin data() { return { - TabCur: 0, type: 'top', scrollLeft:0, formData: { @@ -137,13 +87,11 @@ partNumNameModel: '' }, NavBarColor: this.NavBarColor, - tabs, - current: 0, colorIndex: 0, activeColor: '#5277A6', url: { - stallList: "/mom/partTakeRollingDetail/list" + stallList: "/assign/flow/finishedList" }, upOption: { @@ -212,35 +160,7 @@ // }) // }, - tabSelect(e) { - this.TabCur = e.currentTarget.dataset.id; - this.scrollLeft = (e.currentTarget.dataset.id - 1) * 60; - this.msgList = [] // 鍏堢疆绌哄垪琛�,鏄剧ず鍔犺浇杩涘害 - this.mescroll.resetUpScroll() // 鍐嶅埛鏂板垪琛ㄦ暟鎹� - }, - - - - ListTouchStart(e) { - this.listTouchStart = e.touches[0].pageX - }, - - // ListTouch璁$畻鏂瑰悜 - ListTouchMove(e) { - this.listTouchDirection = e.touches[0].pageX - this.listTouchStart > 0 ? 'right' : 'left' - }, - - // ListTouch璁$畻婊氬姩 - ListTouchEnd(e) { - if (this.listTouchDirection == 'left') { - this.modalName = e.currentTarget.dataset.target - } else { - this.modalName = null - } - this.listTouchDirection = null - }, - - + search() { this.$refs.popup.open(); }, -- Gitblit v1.9.3