This commit is contained in:
Vinjor 2024-11-04 18:43:40 +08:00
parent 0a7bd37abf
commit c5445c7ac7
3 changed files with 8 additions and 2 deletions

View File

@ -140,6 +140,12 @@
if (currentCount < playCount) { if (currentCount < playCount) {
// //
innerAudioContext.play(); innerAudioContext.play();
//
uni.vibrateLong({
success: function () {
console.log('success');
}
});
} else { } else {
// //
console.log('播放完成'); console.log('播放完成');

View File

@ -268,6 +268,7 @@ export default {
id: this.ticketId, id: this.ticketId,
nowRepairId: this.checkedUserId, nowRepairId: this.checkedUserId,
nowRepairName: this.checkedUserName, nowRepairName: this.checkedUserName,
operateCode:"sgwczj"
} }
console.log(param) console.log(param)
request({ request({
@ -281,8 +282,6 @@ export default {
}) })
setTimeout(() => { setTimeout(() => {
if (this.ifDetail) { if (this.ifDetail) {
//
saveTicketsRecords(this.ticketId, '03',this.itemId,"03","sgwczj","维修完成移交下一班组维修","","01",this.checkedUserName);
uni.navigateBack({ uni.navigateBack({
delta: 2 // 2 delta: 2 // 2
}) })

View File

@ -537,6 +537,7 @@ export default {
if("working"==this.nowChooseOperate){ if("working"==this.nowChooseOperate){
// //
const result = await saveTicketsRecords(this.ticketInfo.id,null,this.nowRepair.repairItemId,null,"sgz","施工中拍照记录",fileStr,"",""); const result = await saveTicketsRecords(this.ticketInfo.id,null,this.nowRepair.repairItemId,null,"sgz","施工中拍照记录",fileStr,"","");
console.log(result)
}else if("done_half"==this.nowChooseOperate){ }else if("done_half"==this.nowChooseOperate){
// //
const result = await saveTicketsRecords(this.ticketInfo.id, '03',this.nowRepair.repairItemId,"03","sgwczj","阶段完成",fileStr,"",""); const result = await saveTicketsRecords(this.ticketInfo.id, '03',this.nowRepair.repairItemId,"03","sgwczj","阶段完成",fileStr,"","");