diff --git a/src/apps/AppWarningMonitoring/detail.vue b/src/apps/AppWarningMonitoring/detail.vue index a9a59be6..763a2a1c 100644 --- a/src/apps/AppWarningMonitoring/detail.vue +++ b/src/apps/AppWarningMonitoring/detail.vue @@ -57,8 +57,8 @@ - -
+ +
走访核实 疑似风险 @@ -74,7 +74,7 @@
- 17964042574 + {{ data.visitUserPhone }}
@@ -93,29 +93,30 @@
处理结果 - 解除风险 + 解除风险 + 纳入监测
- 李怡 + {{ data.auditUserName }}
- 2021-10-10 10:10:10 + {{ data.auditTime }}
- 17964042574 + {{ data.auditUserPhone }}
- 经现场了解,该人员家庭有多出房产,无返贫风险倾向。 + {{ data.auditOpinion }}
- +
@@ -123,8 +124,8 @@
-
- 走访核实 +
+ 走访核实 处理结果
@@ -139,6 +140,7 @@ export default { id: '', data: {}, checkType: '', + tabIndex: '' } }, computed: { @@ -147,6 +149,7 @@ export default { onLoad(o) { this.$dict.load('fpRiskPersonStatus','fpRiskType','fpRiskPersonOperation1','fpRiskPersonOperation2').then(()=>{ this.id = o.id; + this.tabIndex = o.tabIndex; this.getDetail() this.getCheckType() }) diff --git a/src/apps/AppWarningMonitoring/result.vue b/src/apps/AppWarningMonitoring/result.vue index 0e12cc44..1a0c9ef4 100644 --- a/src/apps/AppWarningMonitoring/result.vue +++ b/src/apps/AppWarningMonitoring/result.vue @@ -74,7 +74,7 @@ export default { if (res.code == 0) { this.$u.toast('提交成功') setTimeout(() => { - uni,navigateBack() + uni.navigateBack({delta: 2}) },600) } }) diff --git a/src/apps/AppWarningMonitoring/riskList.vue b/src/apps/AppWarningMonitoring/riskList.vue index 8788d5c8..24a9a32a 100644 --- a/src/apps/AppWarningMonitoring/riskList.vue +++ b/src/apps/AppWarningMonitoring/riskList.vue @@ -6,16 +6,18 @@
@@ -58,6 +60,10 @@ export default { this.$dict.load('fpRiskPersonStatus','fpRiskType').then(()=>{ this.areaId = this.user.areaId this.areaName = this.user.areaName + uni.$on('update',()=>{ + this.current = 1 + this.getList() + }) this.getList() }) }, @@ -67,8 +73,13 @@ export default { this.getList() }, areaSelect(v) { + console.log(v); this.areaId = v + console.log(this.areaId); + this.$forceUpdate() this.current = 1 + this.getList() + }, searchHandler() { this.list = [] @@ -88,7 +99,7 @@ export default { }) }, toDetail(id) { - uni.navigateTo({url:`./detail?id=${id}`}) + uni.navigateTo({url:`./detail?id=${id}&tabIndex=${this.tabIndex}`}) } }, onReachBottom() { @@ -98,27 +109,18 @@ export default { onShow() { document.title = "风险预警" }, - // filter() { - // format(num) { - // if(num==0) { - // return '' - // } - // } - // } }