diff --git a/pages/apply/viewCheck.vue b/pages/apply/viewCheck.vue index eb90e25..a87083c 100644 --- a/pages/apply/viewCheck.vue +++ b/pages/apply/viewCheck.vue @@ -176,6 +176,7 @@ }, doTrueOrFalse() { + this.pageIndex = 0 if (this.model.RISK_AREA_ID != undefined && this.model.RISK_AREA_ID.length > 0) this.PagedCheckMain(); }, @@ -208,6 +209,7 @@ this.handleShowSheet(p) }, async handleShowSheet(p) { + this.pageIndex = 0 var defaultChecked = [] const json = initFilter(this.OrgId, null, "NAME", 0, (p.pageIndex ?? 1)); json.IgnoreDataRule = true diff --git a/pages/apply/viewEvaluation.vue b/pages/apply/viewEvaluation.vue index 852f331..b1f539b 100644 --- a/pages/apply/viewEvaluation.vue +++ b/pages/apply/viewEvaluation.vue @@ -31,19 +31,20 @@ - - - + + + - + - + @@ -117,11 +118,11 @@ } }, onLoad(option) { - if (option.RISK_AREA_ID&&option.RISK_AREA_ID!=undefined) + if (option.RISK_AREA_ID && option.RISK_AREA_ID != undefined) this.model.RISK_AREA_ID = option.RISK_AREA_ID // 'FA89F8DA-0B46-4665-A8DD-3675829F6D6F' this.OrgId = option.OrgId // 'B043B28B-BBC3-C452-6052-4FBA1457ABFA' if (this.model.RISK_AREA_ID != undefined && this.model.RISK_AREA_ID != '') { - this.PagedEvaluateRisk()//扫二维码 默认赋值 + this.PagedEvaluateRisk() //扫二维码 默认赋值 const json = initFilter(this.OrgId, null, "NAME", 0, 1); json.IgnoreDataRule = true @@ -145,7 +146,7 @@ this.model.ISDOWN == '否' || this.model.ISDOWN == '') ? false : true)) json.IgnoreDataRule = true json.Limit = this.pageSize - json.SelectField = ["NAME",'EVALUATE_LEVEL', 'Nav_Type.NAME' ] + json.SelectField = ["Nav_RiskName.NAME", 'EVALUATE_LEVEL', 'Nav_Type.NAME'] PagedEvaluateRisk(json).then(res => { if (res.IsSuccessful) { this.total = res.TotalCount @@ -155,7 +156,7 @@ } else { this.model.ListShow = res.Data } - + if (res.TotalCount == 0) uni.$showMsg("未获取到数据", 'none') } else { @@ -168,6 +169,7 @@ }, doTrueOrFalse() { + this.pageIndex = 0 if (this.model.RISK_AREA_ID != undefined && this.model.RISK_AREA_ID.length > 0) this.PagedEvaluateRisk(); }, @@ -200,6 +202,7 @@ this.handleShowSheet(p) }, async handleShowSheet(p) { + this.pageIndex = 0 var defaultChecked = [] const json = initFilter(this.OrgId, null, "NAME", 0, (p.pageIndex ?? 1)); json.IgnoreDataRule = true diff --git a/pages/apply/viewRisk.vue b/pages/apply/viewRisk.vue index d1ec821..47b1dfa 100644 --- a/pages/apply/viewRisk.vue +++ b/pages/apply/viewRisk.vue @@ -176,6 +176,7 @@ }, doTrueOrFalse() { + this.pageIndex = 0 if (this.model.RISK_AREA_ID != undefined && this.model.RISK_AREA_ID.length > 0) { this.pageIndex = 0 this.PagedRisk(); @@ -210,6 +211,7 @@ this.handleShowSheet(p) }, async handleShowSheet(p) { + this.pageIndex = 0 var defaultChecked = [] const json = initFilter(this.OrgId, null, "NAME", 0, (p.pageIndex ?? 1)); json.IgnoreDataRule = true diff --git a/pages/apply/viewVideo.vue b/pages/apply/viewVideo.vue index 79c4a98..e8971f3 100644 --- a/pages/apply/viewVideo.vue +++ b/pages/apply/viewVideo.vue @@ -172,6 +172,7 @@ }, doTrueOrFalse() { + this.pageIndex = 0 if (this.model.RISK_AREA_ID != undefined && this.model.RISK_AREA_ID.length > 0) this.PagedCheckMain(); }, @@ -204,6 +205,7 @@ this.handleShowSheet(p) }, async handleShowSheet(p) { + this.pageIndex = 0 var defaultChecked = [] const json = initFilter(this.OrgId, null, "NAME", 0, (p.pageIndex ?? 1)); json.IgnoreDataRule = true