From 12a2f18a968c29b3502a50c4f0a9f49c27c9f3f6 Mon Sep 17 00:00:00 2001 From: jazz <jazzxhunter@163.com> Date: 星期三, 03 一月 2024 19:10:25 +0800 Subject: [PATCH] update_202401031910_单个治疗室多个客人的逻辑编写v2 --- src/components/xio_room_off_narcosis_notice/index.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/xio_room_off_narcosis_notice/index.vue b/src/components/xio_room_off_narcosis_notice/index.vue index f233407..cc70c4d 100644 --- a/src/components/xio_room_off_narcosis_notice/index.vue +++ b/src/components/xio_room_off_narcosis_notice/index.vue @@ -1,7 +1,7 @@ <template> <div v-if="isShow" class="mask" @click="hideDialog"> <div class="xio_room_status_chg_dialog" @click.stop="noop"> - <div class="title">MIC閫氱煡鍗搁夯锛�</div> + <div class="title">MIC閫氱煡{{ info.appellationName }}鍗搁夯锛�</div> <div class="btn_box flex flex-center"> <div class="btn_box_item flex flex-center" @click="confirm"> <div class="flex flex-ver"> @@ -24,7 +24,8 @@ }, data() { return { - isShow: false + isShow: false, + info: {} } }, methods: { @@ -40,6 +41,10 @@ showDialog() { this.isShow = true }, + // 鏁版嵁澶勭悊 + dataInit(data) { + this.info = { ...data } + }, // 鍏抽棴寮圭獥 hideDialog() { this.isShow = false -- Gitblit v1.8.0