From 69bd626366306c04977fe23ad14c09dcad6c136f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Wed, 15 Feb 2023 13:54:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=84=E8=AE=AF=E4=BF=A1=E6=81=AF=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/informationInfo/index.vue | 25 ++++++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/views/system/informationInfo/index.vue b/src/views/system/informationInfo/index.vue index 6228f17..0e9084e 100644 --- a/src/views/system/informationInfo/index.vue +++ b/src/views/system/informationInfo/index.vue @@ -221,7 +221,6 @@ :rules="rules" label-width="140px" :inline="true" - > @@ -336,7 +335,10 @@ @click="informationInfoinfo" >搜索 - 重置 @@ -530,6 +532,7 @@ export default { innerVisiblecancel() { this.innerVisible = false; }, + //重置 addresetQuery() { this.nurseStationqueryParams = { pageNum: 1, @@ -539,6 +542,15 @@ export default { }; this.getList(); }, + addresetQuerylist() { + this.nurseStationqueryParams = { + pageNum: 1, + pageSize: 10, + informationCategoryCode: "", + informationCategoryName: "", + }; + this.informationInfoinfo(); + }, informationInfoinfo() { listInformationCategory(this.nurseStationqueryParams).then((response) => { this.infolist = response.rows; @@ -556,7 +568,6 @@ export default { // this.nnerVisibleindex = index; // console.log(this.nnerVisibleindex); this.innerVisible = true; - }, imgUrl(imgUrl) { this.form.leadThumbnailUrl = imgUrl; @@ -586,7 +597,7 @@ export default { // this.form.hospitalName = row.hospitalName; // this.form.hospitalId = row.id; // } else { - this.form.informationCategoryId = row.id; + this.form.informationCategoryId = row.id; this.form.informationCategoryName = row.informationCategoryName; // } @@ -635,7 +646,7 @@ export default { handleAdd() { this.reset(); this.open = true; - this.form.informationCategoryName="请选择资讯分类"; + this.form.informationCategoryName = "请选择资讯分类"; this.title = "添加资讯信息管理"; }, /** 修改按钮操作 */