Commit 8dd33568 authored by xinzhedeai's avatar xinzhedeai

fix:待整改响应信息添加

parent 0f5c478a
...@@ -685,12 +685,21 @@ window.onload = function () { ...@@ -685,12 +685,21 @@ window.onload = function () {
} }
// var url = "/gq/checkRecord/safeCheckRecord" // var url = "/gq/checkRecord/safeCheckRecord"
http3.post('/gq/hiddenDanger/rectification', reqParam).then((res) => { http3.post('/gq/hiddenDanger/rectification', reqParam).then((result) => {
console.log('添加结果', res) console.log('添加结果', result)
vant.Toast({ if(result.code === 200){
message: '操作成功', vant.Toast({
}) message: '操作成功',
gemhoUtil.navigatePage(`${this.pageName}.html${window.location.search}`, '操作完成,跳转中...') })
// history.back()
setTimeout(() => {
gemhoUtil.navigatePage(`${this.pageName}.html${window.location.search}`, '操作完成,跳转中...')
}, 1000);
}else{
vant.Toast({
message: result.msg || '操作失败',
})
}
}) })
}, },
// add4DSH_XQ(auditStatus) { // 隐患详情 审核通过或拒绝 // add4DSH_XQ(auditStatus) { // 隐患详情 审核通过或拒绝
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment