电表强控,工单跳转

This commit is contained in:
2025-11-12 14:12:01 +08:00
parent 7271c982d5
commit 422338f816
8 changed files with 141 additions and 60 deletions

View File

@@ -52,7 +52,7 @@ Page({
phone, building, feeType, park, editType, id, parkName,
} = this.data;
const { code, message } = await createBackTenement(park, { name, shortName, address, contact, phone, building, feeType })
const { code, message, tenement } = await createBackTenement(park, { name, shortName, address, contact, phone, building, feeType })
if (code !== OK) {
alertInfo(message)
return
@@ -60,7 +60,7 @@ Page({
alertSuccess("开户成功")
// wx.navigateBack()
wx.redirectTo({
url: `/pages/workBenchNew/components/workBenchTenement/index?park=${park}&parkName=${parkName}&name=${name}`,
url: `/pages/workBenchNew/components/workBenchTenement/index?park=${park}&parkName=${parkName}&name=${name}&id=${tenement}`,
})
},
handleBack() {