修改bug
This commit is contained in:
@@ -320,7 +320,8 @@
|
|||||||
phone: phoneNumber.value,
|
phone: phoneNumber.value,
|
||||||
smsCode: verifyCode.value,
|
smsCode: verifyCode.value,
|
||||||
username: account.value,
|
username: account.value,
|
||||||
password: password.value
|
password: password.value,
|
||||||
|
type:true
|
||||||
}
|
}
|
||||||
getRegisterUser(params).then(res => {
|
getRegisterUser(params).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
|
|||||||
@@ -470,7 +470,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// 清空房屋相关缓存与表单数据(新增房屋时避免回显上一次修改残留的数据)
|
// 清空房屋相关缓存与表单数据
|
||||||
const clearHouseData = () => {
|
const clearHouseData = () => {
|
||||||
['communityId', 'communityName', 'buildingId', 'buildingName', 'unitId', 'unitName',
|
['communityId', 'communityName', 'buildingId', 'buildingName', 'unitId', 'unitName',
|
||||||
'floorId', 'floorName', 'houseNumberId', 'houseNumberName', 'houseStatus', 'houseIsDefault',
|
'floorId', 'floorName', 'houseNumberId', 'houseNumberName', 'houseStatus', 'houseIsDefault',
|
||||||
@@ -1057,9 +1057,6 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* 步骤条 */
|
/* 步骤条 */
|
||||||
.step-bar {
|
.step-bar {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -116,9 +116,9 @@ const onSubmit = () => {
|
|||||||
} else {
|
} else {
|
||||||
uni.showToast({ title: res.msg || '更换失败', icon: 'none' })
|
uni.showToast({ title: res.msg || '更换失败', icon: 'none' })
|
||||||
}
|
}
|
||||||
}).catch(() => {
|
}).catch((err) => {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
uni.showToast({ title: '更换失败', icon: 'none' })
|
uni.showToast({ title: err.msg || '更换失败', icon: 'none' })
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -124,9 +124,9 @@ const mapData = (data) => {
|
|||||||
}
|
}
|
||||||
setStep(data.problemStatus)
|
setStep(data.problemStatus)
|
||||||
// 三个步骤时间赋值
|
// 三个步骤时间赋值
|
||||||
timeData.value.createTime = data.updateTime || ''
|
timeData.value.createTime = data.repairProcessList[0].submitTime || ''
|
||||||
timeData.value.dispatchTime = data.updateTime || ''
|
timeData.value.dispatchTime = data.repairProcessList[0].allocateTime || ''
|
||||||
timeData.value.finishTime = data.updateTime || ''
|
timeData.value.finishTime = data.repairProcessList[0].completeTime || ''
|
||||||
}
|
}
|
||||||
|
|
||||||
// 获取详情接口
|
// 获取详情接口
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ const pageFixed = ref(false);
|
|||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
addressList.value = (res.data || []).map(item => ({
|
addressList.value = (res.data || []).map(item => ({
|
||||||
...item,
|
...item,
|
||||||
label: `${item.buildingName || ''}${item.unitNo}-${item.floorNo || ''}-${item.houseNo || ''}`.trim()
|
label: `${item.buildingName || ''}-${item.unitNo}-${item.houseNo || ''}`.trim()
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user