1
This commit is contained in:
parent
0a7bd37abf
commit
c5445c7ac7
@ -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('播放完成');
|
||||||
|
@ -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页
|
||||||
})
|
})
|
||||||
|
@ -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,"","");
|
||||||
|
Loading…
Reference in New Issue
Block a user