From 031e2529b3179bd9f81fd63a7f84d1b511138083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Fri, 17 Feb 2023 19:14:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/poser/index.vue | 74 +++++++++++++++++++++++++------- 1 file changed, 58 insertions(+), 16 deletions(-) diff --git a/src/views/system/poser/index.vue b/src/views/system/poser/index.vue index 94e67dd..a609fa7 100644 --- a/src/views/system/poser/index.vue +++ b/src/views/system/poser/index.vue @@ -6,17 +6,25 @@ size="small" :inline="true" v-show="showSearch" - label-width="110px" + label-width="100px" > - {{ - queryParams.nurseStationName - }} + + + + {{ aa }} + + - {{ - queryParams.nurseItemName - }} + {{bb}} + + + + + - - - + @@ -589,11 +602,15 @@ import { import { list } from "@/api/system/nurseItem"; import stationAcatar from "../stationAvatar/index.vue"; import editor from "@/components/Editor"; +import { blob } from "stream/consumers"; export default { name: "Poser", components: { stationAcatar, editor }, data() { return { + aa: "", + bb:"", + // 遮罩层 loading: true, getListByUserquery: { @@ -795,6 +812,7 @@ export default { //选中护理项目 choicenurseItem(e) { this.nurseitemid = e.id; + if (this.homenumber) { this.queryParams.nurseItemName = e.nurseItemName; this.queryParams.nurseItemId = e.id; @@ -839,6 +857,7 @@ export default { this.nurseItemlistInfo(); this.homenumber = item; this.nurseItemshow = true; + this.bb = item.nurseItemName; if (this.homenumber) { this.nurseitemid = this.queryParams.nurseItemId; } else { @@ -871,6 +890,8 @@ export default { }, //护理站页面 =》选择护理站 choicestationid(item) { + this.aa = item.nurseStationName; + // console.error(this.aa); if (this.homenumber) { this.queryParams.nurseStationName = item.nurseStationName; this.queryParams.nurseStationId = item.id; @@ -932,6 +953,9 @@ export default { }, ], id: null, + + aa:"", + bb:"", poserName: null, posterPictureUrl: null, posterVideoUrl: null, @@ -954,6 +978,8 @@ export default { pageNum: 1, pageSize: 10, }; + this.aa=""; + this.bb=""; this.stationid = ""; this.nurseitemid = ""; this.queryParams = { @@ -1042,6 +1068,22 @@ export default { `poser_${new Date().getTime()}.xlsx` ); }, + + clearTest(e) { + this.aa = ""; + this.queryParams.nurseStationName = ""; + this.queryParams.nurseStationId = undefined; + this.$set(this.queryParams, "nurseStationName", ""); + console.error(this.queryParams); + }, + clearTest1(e) { + this.bb = ""; + this.queryParams.nurseItemName = ""; + this.queryParams.nurseItemId = undefined; + this.$set(this.queryParams, "nurseItemName", ""); + console.error(this.queryParams); + }, + }, };