diff --git a/components/tabBar/tabBar.vue b/components/tabBar/tabBar.vue index 5d98139..95ae637 100644 --- a/components/tabBar/tabBar.vue +++ b/components/tabBar/tabBar.vue @@ -140,6 +140,12 @@ if (currentCount < playCount) { // 继续播放 innerAudioContext.play(); + // 震动 + uni.vibrateLong({ + success: function () { + console.log('success'); + } + }); } else { // 播放完成,可以在这里添加额外的逻辑 console.log('播放完成'); diff --git a/pages-order/choosePeople/choosePeople.vue b/pages-order/choosePeople/choosePeople.vue index 68d1f38..c625dae 100644 --- a/pages-order/choosePeople/choosePeople.vue +++ b/pages-order/choosePeople/choosePeople.vue @@ -268,6 +268,7 @@ export default { id: this.ticketId, nowRepairId: this.checkedUserId, nowRepairName: this.checkedUserName, + operateCode:"sgwczj" } console.log(param) request({ @@ -281,8 +282,6 @@ export default { }) setTimeout(() => { if (this.ifDetail) { - //记录一下操作记录 - saveTicketsRecords(this.ticketId, '03',this.itemId,"03","sgwczj","维修完成移交下一班组维修","","01",this.checkedUserName); uni.navigateBack({ delta: 2 // 返回倒数第2页 }) diff --git a/pages-order/orderDetail/orderDetail.vue b/pages-order/orderDetail/orderDetail.vue index 02b9c45..8445f8a 100644 --- a/pages-order/orderDetail/orderDetail.vue +++ b/pages-order/orderDetail/orderDetail.vue @@ -537,6 +537,7 @@ export default { if("working"==this.nowChooseOperate){ //维修中拍照 const result = await saveTicketsRecords(this.ticketInfo.id,null,this.nowRepair.repairItemId,null,"sgz","施工中拍照记录",fileStr,"",""); + console.log(result) }else if("done_half"==this.nowChooseOperate){ //阶段完成 const result = await saveTicketsRecords(this.ticketInfo.id, '03',this.nowRepair.repairItemId,"03","sgwczj","阶段完成",fileStr,"","");