From 1fc3fe586a17f5ddf6717f58d1fb1e5a0a9c48f7 Mon Sep 17 00:00:00 2001 From: qinxianzhangyao <11053546+qinxianzhangyao@user.noreply.gitee.com> Date: 星期五, 08 三月 2024 14:19:44 +0800 Subject: [PATCH] qxtj --- src/views/doctor/check/index.vue | 20 +++++++++++++++++--- 1 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index 8f6ff14..9df16d9 100644 --- a/src/views/doctor/check/index.vue +++ b/src/views/doctor/check/index.vue @@ -22,7 +22,7 @@ v-model="queryParams.tjNumber" style="width: 240px" placeholder="璇疯緭鍏ヤ綋妫�鍙�" - @blur="submitForm" + @blur="hb" @keyup.enter.native="submitForm" ></el-input> </el-form-item> @@ -223,7 +223,7 @@ <el-select v-model="form.hzDeptId" multiple - filterable + filterable569-0= style="width: 100%" > <el-option @@ -1105,6 +1105,11 @@ type: "", name: null, }, + queryParam: { + page: 1, + pageSize: 1000, + + }, rules: { hzType: [ { required: true, message: "浼氳瘖绉戝涓哄繀濉」", trigger: "change" }, @@ -1140,7 +1145,7 @@ methods: { /** 鏌ヨ鐢ㄦ埛鍒楄〃 */ getListUser() { - listUser(this.addDateRange(this.queryParams, this.dateRange)).then( + listUser(this.addDateRange(this.queryParam, this.dateRange)).then( (response) => { this.userList = response.rows; this.userList.forEach((element) => { @@ -1315,11 +1320,17 @@ } }); }, + hb() { + if (this.queryParams.tjNumber != "") { + this.submitForm(); + } + }, // 鎼滅储 submitForm() { this.queryParams.page = 1; this.getList(); + // this.loading = true; // (this.queryParams = { // page: 1, @@ -1351,6 +1362,9 @@ resetQuery() { this.resetForm("tableList"); this.submitForm(); + this.$nextTick(() => { + this.$refs.inputName.focus(); + }); }, Changeapplyfor(row) { -- Gitblit v1.8.0