修改bug

This commit is contained in:
zhouyanli
2026-09-03 17:41:55 +08:00
parent bc9e6a1361
commit 09f2583974
5 changed files with 11 additions and 13 deletions

View File

@@ -320,7 +320,8 @@
phone: phoneNumber.value,
smsCode: verifyCode.value,
username: account.value,
password: password.value
password: password.value,
type:true
}
getRegisterUser(params).then(res => {
if (res.code === 200) {

View File

@@ -470,7 +470,7 @@
}
// 清空房屋相关缓存与表单数据(新增房屋时避免回显上一次修改残留的数据)
// 清空房屋相关缓存与表单数据
const clearHouseData = () => {
['communityId', 'communityName', 'buildingId', 'buildingName', 'unitId', 'unitName',
'floorId', 'floorName', 'houseNumberId', 'houseNumberName', 'houseStatus', 'houseIsDefault',
@@ -1057,9 +1057,6 @@
box-sizing: border-box;
}
/* 步骤条 */
.step-bar {
display: flex;

View File

@@ -116,9 +116,9 @@ const onSubmit = () => {
} else {
uni.showToast({ title: res.msg || '更换失败', icon: 'none' })
}
}).catch(() => {
}).catch((err) => {
uni.hideLoading()
uni.showToast({ title: '更换失败', icon: 'none' })
uni.showToast({ title: err.msg || '更换失败', icon: 'none' })
})
}

View File

@@ -124,9 +124,9 @@ const mapData = (data) => {
}
setStep(data.problemStatus)
// 三个步骤时间赋值
timeData.value.createTime = data.updateTime || ''
timeData.value.dispatchTime = data.updateTime || ''
timeData.value.finishTime = data.updateTime || ''
timeData.value.createTime = data.repairProcessList[0].submitTime || ''
timeData.value.dispatchTime = data.repairProcessList[0].allocateTime || ''
timeData.value.finishTime = data.repairProcessList[0].completeTime || ''
}
// 获取详情接口

View File

@@ -173,8 +173,8 @@
const addressModalRef = ref(null);
const genderModalRef = ref(null);
// 页面固定标志
const pageFixed = ref(false);
// 页面固定标志
const pageFixed = ref(false);
// 车牌号输入框聚焦索引
const carFocusIndex = ref(-1);
@@ -198,7 +198,7 @@ const pageFixed = ref(false);
if (res.code === 200) {
addressList.value = (res.data || []).map(item => ({
...item,
label: `${item.buildingName || ''}${item.unitNo}-${item.floorNo || ''}-${item.houseNo || ''}`.trim()
label: `${item.buildingName || ''}-${item.unitNo}-${item.houseNo || ''}`.trim()
}))
}
} catch (e) {