Commit 9de7869d authored by songrui's avatar songrui

工作台弹窗修改

parent bc60ff3d
......@@ -57,7 +57,7 @@
style="position: absolute;transition: none"
:overlay-style="{ position: 'absolute' }"
transition="viewer-fade"
:teleport="listDom">
:teleport="$refs.list">
<div class="h-full flex flex-col workbench-search-box">
<div class="px-4 py-3 grow overflow-y-auto">
<div class="mb-3">身份证号</div>
......@@ -80,7 +80,7 @@
class="doc-input"
@click="() => { dateShow = true, dateMark = 2 }"/>
</div>
<van-popup v-model:show="dateShow" position="bottom" :teleport="listDom">
<van-popup v-model:show="dateShow" position="bottom" :teleport="$refs.list">
<van-date-picker @confirm="onDateConfirm" @cancel="dateShow = false" />
</van-popup>
<div class="my-3">数据来源</div>
......@@ -150,11 +150,6 @@ export default {
form: { ...DefaultForm },
}
},
computed: {
listDom() {
return this.$refs.list
}
},
created() {
this.load()
},
......
......@@ -61,7 +61,7 @@
style="position: absolute;transition: none"
:overlay-style="{ position: 'absolute' }"
transition="viewer-fade"
:teleport="listDom">
:teleport="$refs.list">
<div class="h-full flex flex-col workbench-search-box">
<div class="px-4 py-3 grow overflow-y-auto">
<div class="mb-3">身份证号</div>
......@@ -84,7 +84,7 @@
class="doc-input"
@click="() => { dateShow = true, dateMark = 2 }"/>
</div>
<van-popup v-model:show="dateShow" position="bottom" :teleport="listDom">
<van-popup v-model:show="dateShow" position="bottom" :teleport="$refs.list">
<van-date-picker @confirm="onDateConfirm" @cancel="dateShow = false" />
</van-popup>
<div class="my-3">数据来源</div>
......@@ -169,9 +169,6 @@ export default {
activeTabItem() {
return this.tabList[this.activeTab] || {}
},
listDom() {
return this.$refs.list
},
isValidArray() {
return [
{ name: '是', value: 1 },
......
......@@ -61,7 +61,7 @@
style="position: absolute;transition: none"
:overlay-style="{ position: 'absolute' }"
transition="viewer-fade"
:teleport="listDom">
:teleport="$refs.list">
<div class="h-full flex flex-col workbench-search-box">
<div class="px-4 py-3 grow overflow-y-auto" style="">
<div class="mb-3">身份证号</div>
......@@ -80,7 +80,7 @@
class="doc-input">
</van-field>
<DocUnit v-model:show='unitShow' v-model:value='form.outUnitId' @change='e => form._unitName = e.unitName'
:teleport="listDom"/>
:teleport="$refs.list"/>
<div class="my-3">创建日期</div>
<div class="flex items-center">
<van-field v-model="form.startDate" placeholder="开始日期" readonly
......@@ -91,7 +91,7 @@
class="doc-input"
@click="() => { dateShow = true, dateMark = 2 }"/>
</div>
<van-popup v-model:show="dateShow" position="bottom" :teleport="listDom">
<van-popup v-model:show="dateShow" position="bottom" :teleport="$refs.list">
<van-date-picker @confirm="onDateConfirm" @cancel="dateShow = false" />
</van-popup>
<div class="my-3">转诊类型</div>
......@@ -166,11 +166,6 @@ export default {
form: { ...DefaultForm },
}
},
computed: {
listDom() {
return this.$refs.list
}
},
created() {
this.load()
},
......
......@@ -74,7 +74,7 @@
style="position: absolute;transition: none"
:overlay-style="{ position: 'absolute' }"
transition="viewer-fade"
:teleport="listDom">
:teleport="$refs.list">
<div class="h-full flex flex-col workbench-search-box">
<div class="px-4 py-3 grow overflow-y-auto" style="">
<div class="mb-3">身份证号</div>
......@@ -97,7 +97,7 @@
class="doc-input"
@click="() => { dateShow = true, dateMark = 2 }"/>
</div>
<van-popup v-model:show="dateShow" position="bottom" :teleport="listDom">
<van-popup v-model:show="dateShow" position="bottom" :teleport="$refs.list">
<van-date-picker @confirm="onDateConfirm" @cancel="dateShow = false"/>
</van-popup>
<div class="my-3">数据来源</div>
......@@ -187,9 +187,6 @@ export default {
activeTabItem() {
return this.tabList[this.activeTab] || {}
},
listDom() {
return this.$refs.list
},
isOverdueArray() {
return [
{ name: '是', value: 1 },
......
......@@ -59,7 +59,7 @@
style="position: absolute;transition: none"
:overlay-style="{ position: 'absolute' }"
transition="viewer-fade"
:teleport="listDom">
:teleport="$refs.list">
<div class="h-full flex flex-col workbench-search-box">
<div class="px-4 py-3 grow overflow-y-auto" style="">
<div class="mb-3">身份证号</div>
......@@ -83,7 +83,7 @@
class="doc-input"
@click="() => { dateShow = true, dateMark = 2 }"/>
</div>
<van-popup v-model:show="dateShow" position="bottom" :teleport="listDom">
<van-popup v-model:show="dateShow" position="bottom" :teleport="$refs.list">
<van-date-picker @confirm="onDateConfirm" @cancel="dateShow = false"/>
</van-popup>
<div class="my-3">数据来源</div>
......@@ -156,11 +156,6 @@ export default {
form: { ...DefaultForm }
}
},
computed: {
listDom() {
return this.$refs.list
}
},
created() {
this.load()
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment