Commit 9de7869d authored by songrui's avatar songrui

工作台弹窗修改

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