Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_wxcp_app into dev
393
src/apps/AppHomeRegistration/AppHomeRegistration.vue
Normal file
@@ -0,0 +1,393 @@
|
||||
<template>
|
||||
<div class="AppHomeRegistration">
|
||||
<AiTopFixed v-if="isGridMember">
|
||||
<div class="tab-select">
|
||||
<div class="item" :class="tabIndex == index ? 'active' : ''" v-for="(item, index) in tabs" :key="index" @click="tabClick(index)">{{item}}<span></span></div>
|
||||
</div>
|
||||
<div class="currentLeft-top">
|
||||
<div class="left">
|
||||
<AiAreaPicker v-model="areaId" :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" selectRoot>
|
||||
<span class="label" v-if="areaName">{{ areaName }}</span>
|
||||
<span v-else>请选择</span>
|
||||
<u-icon name="arrow-down" color="#666" size="24" style="margin-left: 4px" />
|
||||
</AiAreaPicker>
|
||||
</div>
|
||||
<u-search v-model="keyword" :clearabled="true" placeholder="请输入姓名/身份证号" :show-action="false" bg-color="#F5F5F5" search-icon-color="#ccc" color="#666" height="58" @search="getList" @clear="handerClear"></u-search>
|
||||
</div>
|
||||
</AiTopFixed>
|
||||
<div class="user-list" v-if="isGridMember">
|
||||
<div class="item" @click="toDetail(item)" v-for="(item,index) in list" :key="index">
|
||||
<h2 class="name">{{ item.name }}<span class="status" v-if="item.status == 0">有异常</span></h2>
|
||||
<p class="color-999">{{ item.idNumber }}</p>
|
||||
<p><img src="./components/img/org-icon.png" alt=""><span class="start-name">{{ item.startAreaName }}</span></p>
|
||||
<p><img src="./components/img/blue-icon.png" alt=""><span class="start-name">{{ item.arriveAreaName }}</span>
|
||||
</p>
|
||||
<p><img src="./components/img/time-icon.png" alt="">{{ item.arriveTime }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<AiEmpty v-if="!list.length && isGridMember"></AiEmpty>
|
||||
<div v-if="!isGridMember" class="empty">
|
||||
<img src="./components/img/no-admin.png" alt="">
|
||||
<p>没有网格员权限<br/>无法查看返乡登记哦~</p>
|
||||
</div>
|
||||
<u-popup v-model="show" mode="bottom" border-radius="14">
|
||||
<div class="line-bg"></div>
|
||||
<div class="flex">
|
||||
<div class="item" @click="share">
|
||||
<img src="./components/img/zf.png" alt="">
|
||||
<p>转发</p>
|
||||
</div>
|
||||
<div class="item" @click="shareWechat">
|
||||
<img src="./components/img/wx.png" alt="">
|
||||
<p>分享到微信</p>
|
||||
</div>
|
||||
<div class="item" @click="copy">
|
||||
<img src="./components/img/lj.png" alt="">
|
||||
<p>获取链接</p>
|
||||
</div>
|
||||
<div class="item" @click="linkTo(`./Qrcode?girdId=${girdId}&girdName=${girdName}`)">
|
||||
<img src="./components/img/ewm.png" alt="">
|
||||
<p>保存二维码</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn" @click="show=false">取消</div>
|
||||
</u-popup>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapState} from 'vuex'
|
||||
import qs from "query-string"
|
||||
|
||||
export default {
|
||||
appName: '返乡登记',
|
||||
data() {
|
||||
return {
|
||||
tabs: ['新增报备', '历史数据'],
|
||||
tabIndex: 0,
|
||||
areaId: '',
|
||||
areaName: '',
|
||||
keyword: '',
|
||||
current: 1,
|
||||
list: [],
|
||||
name: '',
|
||||
totalInfo: {},
|
||||
show: false,
|
||||
girdName: '',
|
||||
girdId: '',
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
params() {
|
||||
return qs.parse(decodeURIComponent(location.search))
|
||||
},
|
||||
shareLink() {
|
||||
let {girdId, girdName, user: {corpId}} = this
|
||||
return location.origin + `/apps/AppAppHomeRegistration/add?corpId=${corpId}&arriveGirdId=${girdId}&arriveGirdName=${encodeURIComponent(girdName)}`
|
||||
},
|
||||
isGridMember() {
|
||||
return this.user.girdCheckType > 0
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.girdId = this.user.girdId
|
||||
uni.$on('updateBackList', () => {
|
||||
this.getListInit()
|
||||
})
|
||||
this.areaId = this.user.areaId
|
||||
this.areaName = this.user.areaName
|
||||
this.getListInit()
|
||||
},
|
||||
onShow() {
|
||||
document.title = '返乡登记'
|
||||
},
|
||||
methods: {
|
||||
tabClick(index) {
|
||||
this.tabIndex = index
|
||||
this.getListInit()
|
||||
},
|
||||
areaSelect(e) {
|
||||
this.areaId = e
|
||||
this.getList()
|
||||
},
|
||||
getListInit() {
|
||||
this.current = 1
|
||||
this.list = []
|
||||
this.getList()
|
||||
},
|
||||
getList() {
|
||||
var status = ''
|
||||
if (this.tabIndex == 1) {
|
||||
status = 0
|
||||
}
|
||||
this.$http.post(`/app/appepidemicbackhomerecord/list?current=${this.current}&size=10&status=${status}&name=${this.name}&arriveGirdId=${this.girdId}`)
|
||||
.then((res) => {
|
||||
if (res?.data) {
|
||||
res.data.records.map((item) => {
|
||||
item.idNumber = this.$idCardNoUtil.hideId(item.idNumber)
|
||||
})
|
||||
this.list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
|
||||
}
|
||||
})
|
||||
},
|
||||
toDetail(row) {
|
||||
uni.navigateTo({url: `./Detail?id=${row.id}`})
|
||||
},
|
||||
},
|
||||
onReachBottom() {
|
||||
this.current++
|
||||
this.getList()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.AppHomeRegistration {
|
||||
|
||||
.tab-select {
|
||||
width: 100%;
|
||||
height: 96px;
|
||||
line-height: 96px;
|
||||
background: #3975C6;
|
||||
display: flex;
|
||||
|
||||
.item{
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #CDDCF0;
|
||||
}
|
||||
|
||||
.active{
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
position: relative;
|
||||
color: #fff;
|
||||
span{
|
||||
width: 48px;
|
||||
height: 4px;
|
||||
background: #FFF;
|
||||
position: absolute;
|
||||
bottom: 14px;
|
||||
left: 50%;
|
||||
margin-left: -24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.currentLeft-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 32px;
|
||||
background-color: #fff;
|
||||
|
||||
.left {
|
||||
width: 40%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
img {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.user-list {
|
||||
padding: 32px 32px 0;
|
||||
background-color: #F3F6F9;
|
||||
|
||||
.item {
|
||||
padding: 32px 32px 24px;
|
||||
background-color: #fff;
|
||||
margin-bottom: 32px;
|
||||
border-radius: 16px;
|
||||
|
||||
.name {
|
||||
font-size: 36px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 50px;
|
||||
margin-bottom: 8px;
|
||||
|
||||
.status {
|
||||
float: right;
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #FF4466;
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
line-height: 40px;
|
||||
margin-bottom: 8px;
|
||||
|
||||
img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 18px;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
|
||||
.start-name {
|
||||
display: inline-block;
|
||||
width: calc(100% - 50px);
|
||||
}
|
||||
|
||||
.color-999 {
|
||||
margin-bottom: 24px;
|
||||
color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep .AiTopFixed {
|
||||
.placeholder {
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.fixed {
|
||||
margin: 0 !important;
|
||||
background-color: #f5f5f5 !important;
|
||||
|
||||
.content {
|
||||
padding: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pad-t32 {
|
||||
padding-top: 32px;
|
||||
}
|
||||
|
||||
.select-gird {
|
||||
width: calc(100% - 60px);
|
||||
padding: 24px 32px;
|
||||
background: #FFFFFF;
|
||||
border-radius: 16px;
|
||||
margin: 0 30px 32px;
|
||||
box-sizing: border-box;
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
vertical-align: middle;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.center {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.empty {
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
width: 282px;
|
||||
height: 306px;
|
||||
margin: 136px auto 0;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #999;
|
||||
line-height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.pad-b120 {
|
||||
padding-bottom: 120px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 112px;
|
||||
line-height: 110px;
|
||||
text-align: center;
|
||||
display: flex;
|
||||
font-size: 36px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
z-index: 99;
|
||||
|
||||
.bg-fff {
|
||||
flex: 1;
|
||||
color: #333;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.bg-blue {
|
||||
flex: 2;
|
||||
color: #fff;
|
||||
background-color: #3975C6;
|
||||
}
|
||||
}
|
||||
|
||||
.line-bg {
|
||||
width: 110px;
|
||||
height: 8px;
|
||||
background: #DCDDDE;
|
||||
border-radius: 4px;
|
||||
margin: 32px auto 82px;
|
||||
}
|
||||
|
||||
.flex {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
padding-bottom: 70px;
|
||||
|
||||
.item {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
|
||||
img {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
border-radius: 16px;
|
||||
background-color: #fff;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 26px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #666;
|
||||
line-height: 36px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
width: 100%;
|
||||
height: 96px;
|
||||
line-height: 96px;
|
||||
text-align: center;
|
||||
background: #FFF;
|
||||
font-size: 30px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
::v-deep .uni-scroll-view {
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
210
src/apps/AppHomeRegistration/Content.vue
Normal file
@@ -0,0 +1,210 @@
|
||||
<template>
|
||||
<div class="Content">
|
||||
<div class="form-item__group">
|
||||
<div class="form-item">
|
||||
<div class="form-item__wrapper">
|
||||
<div class="form-item__title">
|
||||
<i>*</i>
|
||||
<h2>防控措施</h2>
|
||||
</div>
|
||||
<div class="form-item__right">
|
||||
<AiSelect
|
||||
v-model="form.type"
|
||||
dict="epidemicRecentPersonType"
|
||||
class="select"
|
||||
></AiSelect>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-item__group">
|
||||
<div class="form-item form-item__textarea">
|
||||
<div class="form-item__wrapper">
|
||||
<div class="form-item__title">
|
||||
<i></i>
|
||||
<h2>备注说明</h2>
|
||||
</div>
|
||||
<div class="form-item__right">
|
||||
<textarea
|
||||
auto-height
|
||||
style="height: 180px"
|
||||
v-model="form.description"
|
||||
:maxlength="500"
|
||||
placeholder="请输入备注说明"
|
||||
placeholder-style="font-size: 16px"
|
||||
></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">确认</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {mapState} from "vuex";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
form: {
|
||||
type: "",
|
||||
description: "",
|
||||
id: ''
|
||||
},
|
||||
flag: false
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
computed: {
|
||||
...mapState(["user"]),
|
||||
},
|
||||
|
||||
onLoad(option) {
|
||||
this.form.id = option.id
|
||||
document.title = '添加防控措施'
|
||||
},
|
||||
|
||||
methods: {
|
||||
submit() {
|
||||
if (!this.form.type) {
|
||||
return this.$u.toast("请选择防控措施");
|
||||
}
|
||||
|
||||
if (this.flag) return;
|
||||
this.flag = true;
|
||||
|
||||
this.$loading();
|
||||
this.$http.post(`/app/appepidemicbackhomerecord/addOrUpdate`, {...this.form}).then((res) => {
|
||||
this.$hideLoading();
|
||||
if (res.code == 0) {
|
||||
uni.$emit("updateBackList");
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.Content {
|
||||
padding-bottom: 140px;
|
||||
|
||||
.form-item__group {
|
||||
margin-bottom: 24px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.form-item {
|
||||
padding-left: 32px;
|
||||
|
||||
.form-item__wrapper {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 128px;
|
||||
padding-right: 28px;
|
||||
border-bottom: 1px solid #dddddd;
|
||||
|
||||
input {
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
text-align: right;
|
||||
color: #333;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.form-item__right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 32px;
|
||||
|
||||
.select {
|
||||
._i {
|
||||
padding-left: 100px;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
max-width: 400px;
|
||||
margin-right: 8px;
|
||||
color: #333333;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
i {
|
||||
margin-right: 8px;
|
||||
color: #999999;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
.form-item__wrapper {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
|
||||
.form-item__title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
i {
|
||||
font-size: 32px;
|
||||
color: #ff4466;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 28px;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
h2 {
|
||||
padding: 0 4px;
|
||||
font-weight: 400;
|
||||
font-size: 32px;
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
|
||||
&.form-item__textarea {
|
||||
.form-item__wrapper {
|
||||
display: block;
|
||||
height: auto;
|
||||
padding-bottom: 32px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
width: 100%;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.form-item__title {
|
||||
padding: 32px 0;
|
||||
}
|
||||
|
||||
.form-item__right {
|
||||
padding-left: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.footer{
|
||||
width: 100%;
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
box-shadow: inset 0px 1px 0px 0px #EEEEEE;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background: #1365DD;
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
308
src/apps/AppHomeRegistration/Detail.vue
Normal file
@@ -0,0 +1,308 @@
|
||||
<template>
|
||||
<div class="Detail">
|
||||
<div class="user-list">
|
||||
<div class="item">
|
||||
<h2 class="name">{{info.name}}
|
||||
<span @click="callPhone(info.phone)">{{info.phone}}</span><img :src="$cdn + 'common/phone.png'" alt="" @click="callPhone(info.phone)" class="phone-icon" />
|
||||
</h2>
|
||||
<p><img src="./components/img/idnumber-icon.png" alt=""><span class="start-name">{{info.idNumber}}</span></p>
|
||||
<p><img src="./components/img/org-icon.png" alt=""><span class="start-name">{{info.startAreaName}}</span></p>
|
||||
<p><img src="./components/img/blue-icon.png" alt=""><span class="start-name">{{info.arriveAreaName}}</span></p>
|
||||
<p><img src="./components/img/time-icon.png" alt="">{{info.arriveTime}}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg"></div>
|
||||
<div class="info">
|
||||
<div class="title">行程信息</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">人员类别</div>
|
||||
<div class="value" :style="info.type == 0 ? 'color:#42D784;' : 'color:#f46;'">{{$dict.getLabel('epidemicMemberType', info.type)}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">返乡事由</div>
|
||||
<div class="value">{{info.description}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">出发地区</div>
|
||||
<div class="value" :style="{color: info.denger == 1 ? '#FF4466' : '#333'}">{{info.startAreaName}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">出发地址</div>
|
||||
<div class="value">{{info.startAddress}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">交通工具</div>
|
||||
<div class="value">{{$dict.getLabel('epidemicRecentTravel', info.travelType)}}</div>
|
||||
</div>
|
||||
<div class="item-flex border-none">
|
||||
<div class="label" style="width:100%;">火车车次/航班号/汽车出发地</div>
|
||||
</div>
|
||||
<p class="line-p">{{info.startAddress}}</p>
|
||||
<div class="item-flex">
|
||||
<div class="label">目的地</div>
|
||||
<div class="value">{{info.arriveAreaName}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">居住地址</div>
|
||||
<div class="value">{{info.arriveAddress}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">行程安排</div>
|
||||
<div class="value">{{info.arriveAddress}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">预期离开时间</div>
|
||||
<div class="value">{{info.startTime.substring(0, 16)}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">预计/实际抵达时间</div>
|
||||
<div class="value">{{info.arriveTime.substring(0, 16)}}</div>
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">填报时间</div>
|
||||
<div class="value">{{info.arriveTime.substring(0, 16)}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg" style="padding-bottom: 56px;"></div>
|
||||
<div class="footer">
|
||||
<div @click="addHealth">纳入健康上报</div>
|
||||
<div class="confirm" @click="toContent">防控措施</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
id: '',
|
||||
info: {},
|
||||
list: []
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
onShow() {
|
||||
document.title = '返乡人员信息'
|
||||
},
|
||||
onLoad(option) {
|
||||
this.$dict.load('epidemicMemberType', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicRecentTestResult', 'epidemicRecentHealth').then(() => {
|
||||
this.id = option.id
|
||||
this.getDetail()
|
||||
})
|
||||
uni.$on('updateDetail', () => {
|
||||
this.getDetail()
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
getDetail() {
|
||||
this.$http.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${this.id}`).then((res) => {
|
||||
if (res.data && res.code == 0) {
|
||||
if(res.data.checkTime) {
|
||||
res.data.checkTime = res.data.checkTime.substring(0, 10)
|
||||
}
|
||||
this.info = res.data
|
||||
this.info.checkPhoto = JSON.parse(this.info.checkPhoto)
|
||||
this.info.health = this.info.health.split(',')
|
||||
this.info.idNumber = res.data.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")
|
||||
}
|
||||
})
|
||||
},
|
||||
callPhone(phone) {
|
||||
uni.makePhoneCall({phoneNumber: phone})
|
||||
},
|
||||
toContent() {
|
||||
uni.navigateTo({url: `./Content?id=${this.id}`})
|
||||
},
|
||||
addHealth() {
|
||||
this.$confirm("是否将当前人员纳入健康上报监测 ?").then(() => {
|
||||
// this.$http.post("/app/appvillagerintegralshoporder/confirmExchange", null, {
|
||||
// params: {orderId}
|
||||
// }).then(res => {
|
||||
// if (res?.code == 0) {
|
||||
// this.$u.toast("操作成功!")
|
||||
// this.getDetail()
|
||||
// }
|
||||
// })
|
||||
}).catch(() => 0)
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.Detail {
|
||||
.user-list{
|
||||
margin-bottom: 24px;
|
||||
.item{
|
||||
padding: 32px 64px 24px;
|
||||
background-color: #fff;
|
||||
.name{
|
||||
font-size: 36px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 50px;
|
||||
margin-bottom: 36px;
|
||||
span {
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
color: #4181ff;
|
||||
line-height: 44px;
|
||||
margin: 0 20px 0 32px;
|
||||
}
|
||||
img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
p{
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #333;
|
||||
line-height: 40px;
|
||||
margin-bottom: 8px;
|
||||
img{
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
margin-right: 18px;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
.color-999{
|
||||
margin-bottom: 24px;
|
||||
color: #999;
|
||||
}
|
||||
.start-name{
|
||||
display: inline-block;
|
||||
width: calc(100% - 50px);
|
||||
}
|
||||
}
|
||||
}
|
||||
.info{
|
||||
background-color: #fff;
|
||||
padding: 0 32px;
|
||||
.title{
|
||||
line-height: 116px;
|
||||
background: #FFF;
|
||||
font-size: 38px;
|
||||
font-family: PingFangSC-Semibold, PingFang SC;
|
||||
font-weight: 600;
|
||||
color: #333;
|
||||
}
|
||||
.item-flex{
|
||||
padding: 34px 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
line-height: 44px;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
.label{
|
||||
width: 206px;
|
||||
color: #999;
|
||||
}
|
||||
.value{
|
||||
width: calc(100% - 206px);
|
||||
word-break: break-all;
|
||||
color: #333;
|
||||
text-align: right;
|
||||
}
|
||||
.color-0{
|
||||
color: #42D784;
|
||||
}
|
||||
.color-1{
|
||||
color: #f46;
|
||||
}
|
||||
.color-2{
|
||||
color: #f46;
|
||||
}
|
||||
}
|
||||
.line-p{
|
||||
line-height: 44px;
|
||||
color: #333;
|
||||
padding: 18px 0;
|
||||
border-bottom: 1px solid #ddd;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
}
|
||||
.img-list{
|
||||
padding-bottom: 32px;
|
||||
img{
|
||||
width: 320px;
|
||||
height: 320px;
|
||||
}
|
||||
}
|
||||
.item-flex:nth-last-of-type(1){
|
||||
border-bottom: 0;
|
||||
}
|
||||
.error-list {
|
||||
.item {
|
||||
width: 100%;
|
||||
background: #f4f7fe;
|
||||
border-radius: 8px;
|
||||
padding: 24px 24px 18px 24px;
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 16px;
|
||||
p {
|
||||
font-size: 28px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #343d65;
|
||||
line-height: 40px;
|
||||
word-break: break-all;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
div {
|
||||
font-size: 24px;
|
||||
font-family: PingFangSC-Regular, PingFang SC;
|
||||
color: #666;
|
||||
line-height: 34px;
|
||||
span {
|
||||
display: inline-block;
|
||||
margin-left: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.text-p{
|
||||
line-height: 44px;
|
||||
color: #333;
|
||||
padding-bottom: 16px;
|
||||
}
|
||||
}
|
||||
.line-bg{
|
||||
width: 100%;
|
||||
height: 24px;
|
||||
background-color: #F3F6F9;
|
||||
}
|
||||
.footer{
|
||||
width: 100%;
|
||||
height: 112px;
|
||||
line-height: 112px;
|
||||
box-shadow: inset 0px 1px 0px 0px #EEEEEE;
|
||||
font-size: 32px;
|
||||
font-family: PingFangSC-Medium, PingFang SC;
|
||||
font-weight: 500;
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: flex;
|
||||
div{
|
||||
flex: 1;
|
||||
color: #333;
|
||||
background-color: #fff;
|
||||
}
|
||||
.confirm{
|
||||
background: #1365DD;
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
.border-none{
|
||||
border-bottom: 0!important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
BIN
src/apps/AppHomeRegistration/components/img/big-user.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
src/apps/AppHomeRegistration/components/img/blue-icon.png
Normal file
|
After Width: | Height: | Size: 282 B |
BIN
src/apps/AppHomeRegistration/components/img/down-icon.png
Normal file
|
After Width: | Height: | Size: 314 B |
BIN
src/apps/AppHomeRegistration/components/img/ewm.png
Normal file
|
After Width: | Height: | Size: 625 B |
BIN
src/apps/AppHomeRegistration/components/img/fail.png
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
src/apps/AppHomeRegistration/components/img/fxry.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
BIN
src/apps/AppHomeRegistration/components/img/gird-icon.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
src/apps/AppHomeRegistration/components/img/header.png
Normal file
|
After Width: | Height: | Size: 161 KiB |
BIN
src/apps/AppHomeRegistration/components/img/idnumber-icon.png
Normal file
|
After Width: | Height: | Size: 494 B |
BIN
src/apps/AppHomeRegistration/components/img/jkjc.png
Normal file
|
After Width: | Height: | Size: 48 KiB |
BIN
src/apps/AppHomeRegistration/components/img/jujue.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
src/apps/AppHomeRegistration/components/img/lj.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
src/apps/AppHomeRegistration/components/img/local-icon.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
src/apps/AppHomeRegistration/components/img/map-icon-active.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/apps/AppHomeRegistration/components/img/map-icon.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/apps/AppHomeRegistration/components/img/no-admin.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
src/apps/AppHomeRegistration/components/img/org-icon-active.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
src/apps/AppHomeRegistration/components/img/org-icon.png
Normal file
|
After Width: | Height: | Size: 277 B |
BIN
src/apps/AppHomeRegistration/components/img/phone-icon.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
src/apps/AppHomeRegistration/components/img/phone2@.png
Normal file
|
After Width: | Height: | Size: 978 B |
BIN
src/apps/AppHomeRegistration/components/img/qrcode-header.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
src/apps/AppHomeRegistration/components/img/right-icon.png
Normal file
|
After Width: | Height: | Size: 373 B |
BIN
src/apps/AppHomeRegistration/components/img/search-icon.png
Normal file
|
After Width: | Height: | Size: 766 B |
|
After Width: | Height: | Size: 1.7 KiB |
BIN
src/apps/AppHomeRegistration/components/img/statistics-icon.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
src/apps/AppHomeRegistration/components/img/success.png
Normal file
|
After Width: | Height: | Size: 18 KiB |
BIN
src/apps/AppHomeRegistration/components/img/time-icon.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
src/apps/AppHomeRegistration/components/img/tx@2x.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
src/apps/AppHomeRegistration/components/img/user-img.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
src/apps/AppHomeRegistration/components/img/wx.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
src/apps/AppHomeRegistration/components/img/xz.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
src/apps/AppHomeRegistration/components/img/xzh.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
src/apps/AppHomeRegistration/components/img/zf.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |