From bf939e22baf1f26c8f477f3a77e4bdde43ad1a68 Mon Sep 17 00:00:00 2001 From: miaojiale <1123971748@qq.com> Date: Fri, 7 Apr 2023 15:03:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/followupquery/index.vue | 40 ++++++++++++++-------------- src/views/followupresearch/index.vue | 1 + 2 files changed, 21 insertions(+), 20 deletions(-) diff --git a/src/views/followupquery/index.vue b/src/views/followupquery/index.vue index 580b388..5af14c3 100644 --- a/src/views/followupquery/index.vue +++ b/src/views/followupquery/index.vue @@ -146,26 +146,26 @@ export default { } }, }, - // { - // isIndex: true, - // func: this.handleEdit, - // formatter(row) { - // if (row.checkStatus != 3 && row.checkStatus != 4) { - // return { - // label: "修改", - // type: "text", - // } - // } else { - // return { - // label: "", - // type: "text", - // style: { - // display: "none", - // }, - // } - // } - // }, - // }, + { + isIndex: true, + func: this.handleEdit, + formatter(row) { + if (row.checkStatus != 3 && row.checkStatus != 4) { + return { + label: "修改", + type: "text", + } + } else { + return { + label: "", + type: "text", + style: { + display: "none", + }, + } + } + }, + }, ], }, ], diff --git a/src/views/followupresearch/index.vue b/src/views/followupresearch/index.vue index 5b25922..15aa4a2 100644 --- a/src/views/followupresearch/index.vue +++ b/src/views/followupresearch/index.vue @@ -281,6 +281,7 @@ export default { onSearch(form) { sessionStorage.setItem("followResearch-form", JSON.stringify(form)) this.formEdit = form + this.pageIndex = 1 this.handleSearch() }, rowOpration(data, i) { -- 2.22.0