From 835dc95bc59c4d8b9ce98a6b2a4eae6dfea7afc4 Mon Sep 17 00:00:00 2001 From: mch <1332099529@qq.com> Date: Wed, 2 Aug 2023 10:46:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=BB=98=E8=AE=A4=E5=90=8D?= =?UTF-8?q?=E7=A7=B0=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/common-settings/ItemType.vue | 11 ++- src/views/common-settings/SampleGroup.vue | 75 +++++++++++--------- src/views/fee-settings/Asbitem.vue | 5 +- src/views/fee-settings/Diagnosis.vue | 4 ++ src/views/fee-settings/DiagnosisTemplate.vue | 5 ++ src/views/fee-settings/Item.vue | 5 +- src/views/fee-settings/ItemTemplate.vue | 4 ++ src/views/fee-settings/MedicalPackage.vue | 6 +- 8 files changed, 77 insertions(+), 38 deletions(-) diff --git a/src/views/common-settings/ItemType.vue b/src/views/common-settings/ItemType.vue index f30a0d6..2349d6f 100644 --- a/src/views/common-settings/ItemType.vue +++ b/src/views/common-settings/ItemType.vue @@ -72,7 +72,10 @@ - + @@ -291,6 +294,9 @@ export default { this.form = {}; this.form.parentId = data.id; this.dialogVisible = true; + this.$nextTick(()=>{ + this.$refs.refinput.focus() + }) basicsetings().then((res) => { this.guideoptions = res.data.items; }); @@ -303,6 +309,9 @@ export default { this.form = {}; this.dialogVisible = true; this.title = 1; + this.$nextTick(()=>{ + this.$refs.refinput.focus() + }) basicsetings().then((res) => { console.log(res); this.guideoptions = res.data.items; diff --git a/src/views/common-settings/SampleGroup.vue b/src/views/common-settings/SampleGroup.vue index 93e9378..490edd1 100644 --- a/src/views/common-settings/SampleGroup.vue +++ b/src/views/common-settings/SampleGroup.vue @@ -64,7 +64,10 @@ - + @@ -128,40 +131,40 @@ 确 定 -
- 项目类别 - - + 项目类别 - - - - 搜索选择 - - - - + + + + + 搜索选择 + + + +
@@ -236,7 +239,7 @@
-
+
新增
编辑 @@ -647,6 +650,10 @@ export default { this.dialogVisible = true; this.title = 1; this.form = {}; + this.$nextTick(() => { + this.$refs.refinput.focus(); + }); + //获取标本类型id specimenlist(this.pages).then((res) => { this.sampleTypeId = res.data.items; diff --git a/src/views/fee-settings/Asbitem.vue b/src/views/fee-settings/Asbitem.vue index 2edaeb7..95ac362 100644 --- a/src/views/fee-settings/Asbitem.vue +++ b/src/views/fee-settings/Asbitem.vue @@ -65,7 +65,7 @@ - + @@ -925,6 +925,9 @@ export default { addll() { this.dialogVisible = true; this.title = 1; +this.$nextTick(()=>{ + this.$refs.refinput.focus() + }) //性别 examinationgender().then((res) => { diff --git a/src/views/fee-settings/Diagnosis.vue b/src/views/fee-settings/Diagnosis.vue index b323543..f72a0c5 100644 --- a/src/views/fee-settings/Diagnosis.vue +++ b/src/views/fee-settings/Diagnosis.vue @@ -146,6 +146,7 @@ { + this.$refs.refinput.focus() + }) //项目类别 projectlist().then((res) => { this.itemTypeId = res.data; diff --git a/src/views/fee-settings/DiagnosisTemplate.vue b/src/views/fee-settings/DiagnosisTemplate.vue index 1d733d7..351b3aa 100644 --- a/src/views/fee-settings/DiagnosisTemplate.vue +++ b/src/views/fee-settings/DiagnosisTemplate.vue @@ -146,6 +146,7 @@ { + this.$refs.refinput.focus() + }) + //项目类别 projectlist().then((res) => { this.itemTypeId = res.data.items; diff --git a/src/views/fee-settings/Item.vue b/src/views/fee-settings/Item.vue index bf08e26..c25d9c1 100644 --- a/src/views/fee-settings/Item.vue +++ b/src/views/fee-settings/Item.vue @@ -113,7 +113,7 @@ - + @@ -1706,6 +1706,9 @@ export default { this.title = 1; this.dialogVisible = true; this.form = {}; + this.$nextTick(()=>{ + this.$refs.refinput.focus() + }) this.addorgropdata(); }, //新增或者编辑弹框需要的下拉框接口数据 diff --git a/src/views/fee-settings/ItemTemplate.vue b/src/views/fee-settings/ItemTemplate.vue index aa3ed24..271e51a 100644 --- a/src/views/fee-settings/ItemTemplate.vue +++ b/src/views/fee-settings/ItemTemplate.vue @@ -155,6 +155,7 @@ @@ -586,6 +587,9 @@ export default { this.dialogVisible = true; this.title = 1; this.form = {}; + this.$nextTick(()=>{ + this.$refs.refinput.focus() + }) }, getlist() { getapi("/api/app/item-template/in-filter", this.pages).then((res) => { diff --git a/src/views/fee-settings/MedicalPackage.vue b/src/views/fee-settings/MedicalPackage.vue index e9a7720..db0ed5b 100644 --- a/src/views/fee-settings/MedicalPackage.vue +++ b/src/views/fee-settings/MedicalPackage.vue @@ -67,6 +67,7 @@ @@ -148,7 +149,7 @@ - 项目类别 { + this.$refs.refinput.focus() + }) }, getlist() { getapi("/api/app/medical-package/in-filter", this.pages).then((res) => {