部分样式,图片上传,

This commit is contained in:
Zy
2026-06-04 14:24:46 +08:00
parent 85c24af489
commit a3361916c2
10 changed files with 60 additions and 39 deletions

View File

@@ -158,10 +158,17 @@ function getlist() {
hasMore.value = reportRecords.value.length < total.value
})
.catch(err => {
uni.showToast({
icon: 'error',
title: '网络错误'
})
if (err.code === 500 && err.msg === '您没有权限访问') {
uni.showToast({
icon: 'error',
title: '没有权限'
})
} else {
uni.showToast({
icon: 'error',
title: '网络异常'
})
}
})
.finally(() => {
isLoading.value = false
@@ -396,8 +403,8 @@ function handlePrivew(imgs) {
}
.tag-item {
width: 112rpx;
height: 42rpx;
padding: 0 10rpx;
border-radius: 8rpx 8rpx 8rpx 8rpx;
border: 1rpx solid #999999;

View File

@@ -147,7 +147,7 @@ function getlist() {
hasMore.value = reportRecords.value.length < total.value
total.value = res.total
})
.catch(() => {
.catch(err => {
uni.showToast({
icon: 'error',
title: '网络异常'
@@ -392,7 +392,7 @@ function handlePrivew(imgs) {
margin-right: 20rpx;
}
.tag-item {
width: 112rpx;
padding: 0 10rpx;
height: 42rpx;
border-radius: 8rpx 8rpx 8rpx 8rpx;
border: 1rpx solid #999999;

View File

@@ -241,7 +241,6 @@ function handleStop(row) {
stepList.value[2].desc = `维修人员(${row.repairName})维修中`
return
}
console.log(status)
if (status === '2') {
currentStep.value = 4
stepList.value[0].desc = '提交报修成功'