208 lines
4.9 KiB
Vue
208 lines
4.9 KiB
Vue
<template>
|
|
<div class="Add">
|
|
<p class="title">已采样<span class="num">3</span>次</p>
|
|
<div class="item mar-b16">
|
|
<div class="label">
|
|
<span class="tips">*</span>管理区域
|
|
</div>
|
|
<div class="value">
|
|
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" style="color: #666" selectRoot>
|
|
<span style="margin-left: 4px" v-if="areaName">{{ areaName }}</span>
|
|
<span v-else class="color-999">请选择</span>
|
|
<u-icon name="arrow-right" color="#999" size="16" style="margin-left: 4px" />
|
|
</AiAreaPicker>
|
|
</div>
|
|
</div>
|
|
<div class="info mar-b16">
|
|
<div class="item solid">
|
|
<div class="label">
|
|
<span class="tips">*</span>管理对象
|
|
</div>
|
|
<div class="value">自动获取</div>
|
|
</div>
|
|
<div class="item solid">
|
|
<div class="label">
|
|
<span class="tips">*</span>身份证号
|
|
</div>
|
|
<div class="value">自动获取</div>
|
|
</div>
|
|
<div class="item solid">
|
|
<div class="label">
|
|
<span class="tips">*</span>手机号码
|
|
</div>
|
|
<div class="value">自动获取</div>
|
|
</div>
|
|
<div class="item solid">
|
|
<div class="label">
|
|
<span class="tips">*</span>居家状态
|
|
</div>
|
|
<div class="value">
|
|
<span class="color-999">请选择</span>
|
|
<u-icon name="arrow-right" color="#999" size="16" style="margin-left: 4px" />
|
|
</div>
|
|
</div>
|
|
<div class="item solid">
|
|
<div class="label">
|
|
<span class="tips">*</span>隔离时间
|
|
</div>
|
|
<div class="value">
|
|
<span class="color-999">请选择</span>
|
|
<u-icon name="arrow-right" color="#999" size="16" style="margin-left: 4px" />
|
|
</div>
|
|
</div>
|
|
<div class="item">
|
|
<div class="label">
|
|
<span class="tips">*</span>隔离策略
|
|
</div>
|
|
<div class="value">
|
|
<span class="color-999">请选择</span>
|
|
<u-icon name="arrow-right" color="#999" size="16" style="margin-left: 4px" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="info mar-b16">
|
|
<div class="item solid">
|
|
<div class="label">
|
|
<span class="tips">*</span>采样人员
|
|
</div>
|
|
<div class="value">自动获取</div>
|
|
</div>
|
|
<div class="item solid">
|
|
<div class="label">
|
|
<span class="tips">*</span>联系方式
|
|
</div>
|
|
<div class="value">自动获取</div>
|
|
</div>
|
|
<div class="item solid">
|
|
<div class="label">
|
|
<span class="tips">*</span>采样时间
|
|
</div>
|
|
<div class="value">自动获取</div>
|
|
</div>
|
|
</div>
|
|
<div class="btn-height"></div>
|
|
<div class="footer">
|
|
<div class="confirm">保存</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapState } from 'vuex'
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
areaId: '',
|
|
areaName: '',
|
|
files: []
|
|
}
|
|
},
|
|
computed: {
|
|
...mapState(['user']),
|
|
},
|
|
onLoad() {
|
|
this.areaId = this.user.areaId
|
|
this.areaName = this.user.areaName
|
|
},
|
|
onShow() {
|
|
document.title = '核酸采样'
|
|
},
|
|
methods: {
|
|
areaSelect(e) {
|
|
this.areaId = e
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
.Add {
|
|
background-color: #F3F6F9;
|
|
.title {
|
|
line-height: 96px;
|
|
padding-left: 32px;
|
|
font-size: 30px;
|
|
color: #666;
|
|
.num {
|
|
font-size: 32px;
|
|
font-weight: 700;
|
|
color: #f46;
|
|
}
|
|
}
|
|
.item {
|
|
background-color: #fff;
|
|
display: flex;
|
|
padding: 40px 0 40px 32px;
|
|
.label {
|
|
width: 200px;
|
|
line-height: 48px;
|
|
font-family: PingFangSC-Medium;
|
|
font-weight: 500;
|
|
font-size: 34px;
|
|
color: #666;
|
|
.tips {
|
|
display: inline-block;
|
|
font-family: PingFangSC-Medium;
|
|
font-weight: 700;
|
|
font-size: 34px;
|
|
color: #F46;
|
|
margin-right: 8px;
|
|
vertical-align: text-top;
|
|
}
|
|
}
|
|
.value {
|
|
width: calc(100% - 200px);
|
|
padding-right: 32px;
|
|
text-align: right;
|
|
font-family: PingFangSC-Regular;
|
|
font-size: 34px;
|
|
color: #333;
|
|
.color-999 {
|
|
color: #999;
|
|
font-size: 30px;
|
|
}
|
|
}
|
|
textarea {
|
|
width: 100%;
|
|
}
|
|
}
|
|
::v-deep uni-textarea{
|
|
width: calc(100% - 32px);
|
|
}
|
|
.info {
|
|
padding-left: 32px;
|
|
background-color: #fff;
|
|
.item {
|
|
padding-left: 0;
|
|
}
|
|
.solid {
|
|
border-bottom: 1px solid #ddd;
|
|
box-sizing: border-box;
|
|
}
|
|
}
|
|
.mar-b16 {
|
|
margin-bottom: 16px;
|
|
}
|
|
.btn-height{
|
|
height: 130px;
|
|
}
|
|
.footer {
|
|
width: 100%;
|
|
height: 112px;
|
|
position: fixed;
|
|
bottom: 0;
|
|
.confirm {
|
|
width: 100%;
|
|
height: 112px;
|
|
line-height: 112px;
|
|
text-align: center;
|
|
font-family: PingFangSC-Regular;
|
|
font-size: 32px;
|
|
background-color: #1365DD;
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
</style>
|