修改app部分样式异常

This commit is contained in:
Zy
2026-05-22 14:39:25 +08:00
parent f3f499dd4b
commit d0e1f8ea02
15 changed files with 245 additions and 147 deletions

View File

@@ -203,6 +203,7 @@ onShow(() => {
})
function getTicketById() {
if (!queryParams.value.id) return
getTicketMainById(queryParams.value.id)
.then(res => {
repairInfo.value = res.data
@@ -225,22 +226,31 @@ function getTicketById() {
function handleStop(row) {
// 0 已提交 1 已分配 2已解决
let status = row.problemStatus
currentStep.value = 0
// 维修步骤:0提交 1分配 2维修完成 / 待解决 3记录完成 完成
if (status === '0') {
currentStep.value = 1
stepList.value[0].desc = '提交报修成功'
} else if (status === '1') {
return
}
if (status === '1') {
currentStep.value = 2
stepList.value[1].title = '已派单'
stepList.value[1].desc = '物业已派单'
stepList.value[2].title = '待解决'
stepList.value[2].desc = `维修人员(${row.repairName})维修中`
} else if (status === '2') {
return
}
console.log(status)
if (status === '2') {
currentStep.value = 4
stepList.value[0].desc = '提交报修成功'
stepList.value[1].title = '已派单'
stepList.value[1].desc = '物业已派单'
stepList.value[2].title = '已解决'
stepList.value[2].desc = `维修人员(${row.repairName})已解决`
} else {
currentStep.value = 0
return
}
}
/** 选择维修人员 */