修改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

@@ -146,10 +146,6 @@ function scrolltolower() {
function getlist() {
if (isLoading.value || !hasMore.value) return
isLoading.value = true
uni.showLoading({
title: '加载中',
mask: true
})
getTicketHallList(queryParmas.value)
.then(res => {
reportRecords.value = [...reportRecords.value, ...res.rows]
@@ -169,7 +165,6 @@ function getlist() {
})
.finally(() => {
isLoading.value = false
uni.hideLoading()
})
}

View File

@@ -141,19 +141,20 @@ function getlist() {
if (isLoading.value || !hasMore.value) return
// 2. 开启锁
isLoading.value = true
uni.showLoading({
title: '加载中',
mask: true
})
getUserTicketlist(queryParmas.value)
.then(res => {
reportRecords.value = [...reportRecords.value, ...res.rows]
hasMore.value = reportRecords.value.length < total.value
total.value = res.total
})
.catch(() => {
uni.showToast({
icon: 'error',
title: '网络异常'
})
})
.finally(() => {
isLoading.value = false
uni.hideLoading()
})
}
onShow(() => {

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
}
}
/** 选择维修人员 */

View File

@@ -115,19 +115,19 @@ function getlist() {
if (isLoading.value) return
// 2. 开启锁
isLoading.value = true
uni.showLoading({
title: '加载中',
mask: true
})
const { keyword, roleKey } = queryParmas.value
getSystemUsers_employee(roleKey, keyword)
.then(res => {
searchlist.value = res.data
})
.catch(() => {
uni.showToast({
icon: 'error',
title: '网络异常'
})
})
.finally(() => {
isLoading.value = false
uni.hideLoading()
})
}