BUG 27621
This commit is contained in:
@@ -40,6 +40,7 @@ import {mapState} from 'vuex'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "add",
|
name: "add",
|
||||||
|
appName:"活动报名",
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user'])
|
...mapState(['user'])
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ import {mapState} from 'vuex'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "addContent",
|
name: "addContent",
|
||||||
|
appName: "填写活动日志",
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user'])
|
...mapState(['user'])
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ import {mapState} from 'vuex'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'logDetail',
|
name: 'logDetail',
|
||||||
|
appName:"活动日志",
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "userList",
|
name: "userList",
|
||||||
|
appName: "活动报名情况",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
id: '',
|
id: '',
|
||||||
|
|||||||
@@ -74,6 +74,7 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "agAdd",
|
name: "agAdd",
|
||||||
|
appName:"发布晒农产品",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
show: false,
|
show: false,
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "agDetail",
|
name: "agDetail",
|
||||||
|
appName: "农产品详情",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
id: null,
|
id: null,
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ export default {
|
|||||||
params: {names: this.names}
|
params: {names: this.names}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.categorys = res.data[0]["categoryList"];
|
this.categorys = res.data?.[0]?.categoryList || [];
|
||||||
this.search.moduleId = res.data?.[0]?.id;
|
this.search.moduleId = res.data?.[0]?.id;
|
||||||
this.search.categoryId = res.data?.[0]?.categoryList?.[0]?.id;
|
this.search.categoryId = res.data?.[0]?.categoryList?.[0]?.id;
|
||||||
this.getCategoryList();
|
this.getCategoryList();
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "contentDetail",
|
name: "contentDetail",
|
||||||
|
appName:"内容详情",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
detail: {title: "内容详情"},
|
detail: {title: "内容详情"},
|
||||||
@@ -37,7 +38,7 @@ export default {
|
|||||||
|
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
return {
|
return {
|
||||||
title: detail.title,
|
title: this.detail.title,
|
||||||
path: '/mods/AppContent/contentDetail?id=' + this.id
|
path: '/mods/AppContent/contentDetail?id=' + this.id
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ import {mapState} from "vuex";
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "contentManager",
|
name: "contentManager",
|
||||||
|
appName: "搜索结果",
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user']),
|
...mapState(['user']),
|
||||||
loadmore() {
|
loadmore() {
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
appName:"提交",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
type: '0'
|
type: '0'
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
appName: "结算",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
total: 0,
|
total: 0,
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ import {mapState} from 'vuex'
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'supermarket',
|
name: 'supermarket',
|
||||||
|
appName: "信用好超市",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
numList: [],
|
numList: [],
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "compJob",
|
name: "compJob",
|
||||||
|
appName: "企业招工详情",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
id: null,
|
id: null,
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "persJob",
|
name: "persJob",
|
||||||
|
appName:"个人求职详情",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
id: null,
|
id: null,
|
||||||
|
|||||||
@@ -53,6 +53,7 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "pubJob",
|
name: "pubJob",
|
||||||
|
appName: "我要找工作",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
form: {
|
form: {
|
||||||
|
|||||||
@@ -65,6 +65,7 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "marAdd",
|
name: "marAdd",
|
||||||
|
appName: "我要上报",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
form: {
|
form: {
|
||||||
|
|||||||
@@ -40,6 +40,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
name: "orderInfo",
|
||||||
|
appName: "订单详情",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
info: {},
|
info: {},
|
||||||
|
|||||||
@@ -50,7 +50,8 @@
|
|||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "my",
|
name: "add",
|
||||||
|
appName:"我要提问",
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['global'])
|
...mapState(['global'])
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -49,7 +49,8 @@
|
|||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "my",
|
name: "questionList",
|
||||||
|
appName: "提问记录",
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user', 'token'])
|
...mapState(['user', 'token'])
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -27,7 +27,8 @@
|
|||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "my",
|
name: "reply",
|
||||||
|
appName: "发表回复",
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user', 'token'])
|
...mapState(['user', 'token'])
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
name:"progressAnnex",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
img: '',
|
img: '',
|
||||||
|
|||||||
@@ -148,6 +148,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
name: "progressDetail",
|
||||||
|
appName: "进度详情",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title: '',
|
title: '',
|
||||||
|
|||||||
@@ -132,6 +132,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
appName: "进度详情",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
title: '',
|
title: '',
|
||||||
|
|||||||
@@ -172,6 +172,7 @@ import {mapState} from 'vuex'
|
|||||||
import Handwriting from '@/utils/signature.js'
|
import Handwriting from '@/utils/signature.js'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
name:"serviceForm",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
pageShow: false,
|
pageShow: false,
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
appName:"网上办事",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
id: '',
|
id: '',
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="service-result">
|
<div class="service-result">
|
||||||
<image src="/static/img/service-success.png" />
|
<image src="/static/img/service-success.png"/>
|
||||||
<h2> 申请成功,等待审批!</h2>
|
<h2> 申请成功,等待审批!</h2>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<span>可在</span>
|
<span>可在</span>
|
||||||
@@ -12,72 +12,70 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data () {
|
appName: "个人人员参保申报",
|
||||||
return {
|
data() {
|
||||||
|
return {}
|
||||||
|
},
|
||||||
|
onLoad(query) {
|
||||||
|
uni.setNavigationBarTitle({
|
||||||
|
title: query.title
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
}
|
methods: {
|
||||||
},
|
back() {
|
||||||
|
uni.reLaunch({
|
||||||
onLoad (query) {
|
url: '/pages/home/home'
|
||||||
uni.setNavigationBarTitle({
|
|
||||||
title: query.title
|
|
||||||
})
|
})
|
||||||
},
|
|
||||||
|
|
||||||
methods: {
|
|
||||||
back () {
|
|
||||||
uni.reLaunch({
|
|
||||||
url: '/pages/home/home'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.service-result {
|
.service-result {
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
padding-top: 96px;
|
padding-top: 96px;
|
||||||
|
text-align: center;
|
||||||
|
background: #fff;
|
||||||
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
.service-btn {
|
||||||
|
width: 558px;
|
||||||
|
height: 88px;
|
||||||
|
line-height: 88px;
|
||||||
|
margin: 120px auto 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background: #fff;
|
background: #197DF0;
|
||||||
box-sizing: border-box;
|
font-size: 36px;
|
||||||
|
color: #fff;
|
||||||
|
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.02);
|
||||||
|
border-radius: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
.service-btn {
|
h2 {
|
||||||
width: 558px;
|
margin-bottom: 32px;
|
||||||
height: 88px;
|
color: #333333;
|
||||||
line-height: 88px;
|
font-size: 36px;
|
||||||
margin: 120px auto 0;
|
font-weight: 600;
|
||||||
text-align: center;
|
}
|
||||||
background: #197DF0;
|
|
||||||
font-size: 36px;
|
|
||||||
color: #fff;
|
|
||||||
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.02);
|
|
||||||
border-radius: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
.text {
|
||||||
margin-bottom: 32px;
|
display: flex;
|
||||||
color: #333333;
|
align-items: center;
|
||||||
font-size: 36px;
|
justify-content: center;
|
||||||
font-weight: 600;
|
font-size: 28px;
|
||||||
}
|
color: #333;
|
||||||
|
|
||||||
.text {
|
i {
|
||||||
display: flex;
|
color: #467DFE;
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
font-size: 28px;
|
|
||||||
color: #333;
|
|
||||||
|
|
||||||
i {
|
|
||||||
color: #467DFE;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
image {
|
|
||||||
width: 192px;
|
|
||||||
height: 192px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 192px;
|
||||||
|
height: 192px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
appName:"网上办事",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
id: '',
|
id: '',
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
appName: "个人人员参保申报",
|
||||||
data() {
|
data() {
|
||||||
return {}
|
return {}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -48,6 +48,7 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'balance',
|
name: 'balance',
|
||||||
|
appName:"订单结算",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
selected: null,
|
selected: null,
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "search",
|
name: "search",
|
||||||
|
appName:"积分超市搜索",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
keyword: "",
|
keyword: "",
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
appName: "话题详情",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
info: {},
|
info: {},
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<section class="monitorDetail">
|
<section class="monitorDetail">
|
||||||
<div class="videoBox">
|
<div class="videoBox">
|
||||||
<iframe ref="monitorIns" :style="style" :src="monitor.url" allow="autoplay *; microphone *; fullscreen *" allowfullscreen allowtransparency allowusermedia frameBorder="no" />
|
<iframe ref="monitorIns" :style="style" :src="monitor.url" allow="autoplay *; microphone *; fullscreen *"
|
||||||
|
allowfullscreen allowtransparency allowusermedia frameBorder="no"/>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</template>
|
</template>
|
||||||
@@ -9,6 +10,7 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'monitorDetail',
|
name: 'monitorDetail',
|
||||||
|
appName: "监控详情",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
style: {},
|
style: {},
|
||||||
@@ -28,15 +30,15 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
getDetail(deviceId) {
|
getDetail(deviceId) {
|
||||||
deviceId &&
|
deviceId &&
|
||||||
this.$instance
|
this.$instance
|
||||||
.post('/app/appzyvideoequipment/getWebSdkUrl', null, {
|
.post('/app/appzyvideoequipment/getWebSdkUrl', null, {
|
||||||
params: { deviceId },
|
params: {deviceId},
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
this.monitor = JSON.parse(res.data)
|
this.monitor = JSON.parse(res.data)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
detectOrient() {
|
detectOrient() {
|
||||||
|
|||||||
@@ -88,6 +88,7 @@
|
|||||||
import { mapState } from 'vuex'
|
import { mapState } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
appName:"活动详情",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
currIndex: 0,
|
currIndex: 0,
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
<script>
|
<script>
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
appName: "添加活动动态",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
content: '',
|
content: '',
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="user">
|
<div class="user">
|
||||||
<div class="user-item" :key="i" v-for="(item, i) in list">
|
<div class="user-item" :key="i" v-for="(item, i) in list">
|
||||||
<image :src="anonymous === '1' ? '/static/img/avatar.png' : item.avatar" />
|
<image :src="anonymous === '1' ? '/static/img/avatar.png' : item.avatar"/>
|
||||||
<div class="user-item__right">
|
<div class="user-item__right">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<h2>{{ anonymous === '1' ? '居民' : item.userName }}</h2>
|
<h2>{{ anonymous === '1' ? '居民' : item.userName }}</h2>
|
||||||
@@ -15,109 +15,110 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data () {
|
appName: "投票详情",
|
||||||
return {
|
data() {
|
||||||
pageShow: false,
|
return {
|
||||||
id: '',
|
pageShow: false,
|
||||||
current: 1,
|
id: '',
|
||||||
list: [],
|
current: 1,
|
||||||
isMore: false,
|
list: [],
|
||||||
info: '',
|
isMore: false,
|
||||||
anonymous: ''
|
info: '',
|
||||||
}
|
anonymous: ''
|
||||||
},
|
|
||||||
|
|
||||||
onLoad (query) {
|
|
||||||
this.$loading()
|
|
||||||
this.anonymous = query.anonymous
|
|
||||||
this.getList(query.id)
|
|
||||||
},
|
|
||||||
|
|
||||||
methods: {
|
|
||||||
getList(id) {
|
|
||||||
if (this.isMore) return
|
|
||||||
|
|
||||||
this.$instance.post(`/app/appvillagediscussvote/list?discussId=${id}`, null, {
|
|
||||||
params: {
|
|
||||||
current: this.current,
|
|
||||||
size: 15
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
if (res.code == 0) {
|
|
||||||
this.total = res.data.total
|
|
||||||
if (this.current > 1) {
|
|
||||||
this.list = [...this.list, ...res.data.records]
|
|
||||||
} else {
|
|
||||||
this.list = res.data.records
|
|
||||||
}
|
|
||||||
uni.hideLoading()
|
|
||||||
this.pageShow = true
|
|
||||||
if (res.data.records.length < 15) {
|
|
||||||
this.isMore = true
|
|
||||||
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
this.current = this.current + 1
|
|
||||||
} else {
|
|
||||||
uni.hideLoading()
|
|
||||||
}
|
|
||||||
}).catch(() => {
|
|
||||||
uni.hideLoading()
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
onReachBottom() {
|
|
||||||
this.getList()
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
onLoad(query) {
|
||||||
|
this.$loading()
|
||||||
|
this.anonymous = query.anonymous
|
||||||
|
this.getList(query.id)
|
||||||
|
},
|
||||||
|
|
||||||
|
methods: {
|
||||||
|
getList(id) {
|
||||||
|
if (this.isMore) return
|
||||||
|
|
||||||
|
this.$instance.post(`/app/appvillagediscussvote/list?discussId=${id}`, null, {
|
||||||
|
params: {
|
||||||
|
current: this.current,
|
||||||
|
size: 15
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.total = res.data.total
|
||||||
|
if (this.current > 1) {
|
||||||
|
this.list = [...this.list, ...res.data.records]
|
||||||
|
} else {
|
||||||
|
this.list = res.data.records
|
||||||
|
}
|
||||||
|
uni.hideLoading()
|
||||||
|
this.pageShow = true
|
||||||
|
if (res.data.records.length < 15) {
|
||||||
|
this.isMore = true
|
||||||
|
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
this.current = this.current + 1
|
||||||
|
} else {
|
||||||
|
uni.hideLoading()
|
||||||
|
}
|
||||||
|
}).catch(() => {
|
||||||
|
uni.hideLoading()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
onReachBottom() {
|
||||||
|
this.getList()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" socped>
|
<style lang="scss" socped>
|
||||||
.user {
|
.user {
|
||||||
padding: 32px 32px 40px;
|
padding: 32px 32px 40px;
|
||||||
|
|
||||||
.user-item {
|
.user-item {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: 160px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
padding: 0 32px;
|
||||||
|
border-radius: 16px;
|
||||||
|
background-color: #fff;
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 96px;
|
||||||
|
height: 96px;
|
||||||
|
margin-right: 16px;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.user-item__right {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 160px;
|
flex: 1;
|
||||||
margin-bottom: 24px;
|
|
||||||
padding: 0 32px;
|
|
||||||
border-radius: 16px;
|
|
||||||
background-color: #fff;
|
|
||||||
|
|
||||||
image {
|
span {
|
||||||
width: 96px;
|
color: #999999;
|
||||||
height: 96px;
|
font-size: 28px;
|
||||||
margin-right: 16px;
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.user-item__right {
|
h2 {
|
||||||
display: flex;
|
margin-bottom: 10px;
|
||||||
align-items: center;
|
color: #333333;
|
||||||
justify-content: space-between;
|
font-size: 32px;
|
||||||
flex: 1;
|
}
|
||||||
|
|
||||||
span {
|
p {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
margin-bottom: 10px;
|
|
||||||
color: #333333;
|
|
||||||
font-size: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
color: #999999;
|
|
||||||
font-size: 28px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -135,6 +135,7 @@
|
|||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
appName:"今日上报",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
isShowDate: false,
|
isShowDate: false,
|
||||||
|
|||||||
@@ -75,6 +75,7 @@
|
|||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
appName:"添加上报人员",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
form: {
|
form: {
|
||||||
|
|||||||
@@ -75,6 +75,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
appName:"上报详情",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
info: {},
|
info: {},
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="record" v-if="pageShow">
|
<div class="record" v-if="pageShow">
|
||||||
<div class="record-item" v-for="(item, index) in list" :key="index" @click="$linkTo('./Detail?id=' + item.id)" hover-class="bg-hover">
|
<div class="record-item" v-for="(item, index) in list" :key="index" @click="$linkTo('./Detail?id=' + item.id)"
|
||||||
|
hover-class="bg-hover">
|
||||||
<div class="left">{{ item.createTime.split(' ')[0] }}的健康上报</div>
|
<div class="left">{{ item.createTime.split(' ')[0] }}的健康上报</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<i v-if="item.status === '0'">健康数据异常</i>
|
<i v-if="item.status === '0'">健康数据异常</i>
|
||||||
@@ -12,103 +13,104 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data () {
|
appName: "上报记录",
|
||||||
return {
|
data() {
|
||||||
list: [],
|
return {
|
||||||
pageShow: false,
|
list: [],
|
||||||
current: 1,
|
pageShow: false,
|
||||||
total: 0,
|
current: 1,
|
||||||
isMore: false
|
total: 0,
|
||||||
}
|
isMore: false
|
||||||
},
|
|
||||||
|
|
||||||
onLoad (query) {
|
|
||||||
this.$loading()
|
|
||||||
this.getList(query)
|
|
||||||
},
|
|
||||||
|
|
||||||
methods: {
|
|
||||||
getList(query) {
|
|
||||||
if (this.isMore) return
|
|
||||||
|
|
||||||
this.$instance.post(`/app/appepidemichealthreport/list?memberId=${query.id}`, null, {
|
|
||||||
params: {
|
|
||||||
current: this.current,
|
|
||||||
size: 15
|
|
||||||
}
|
|
||||||
}).then(res => {
|
|
||||||
if (res.code == 0) {
|
|
||||||
this.total = res.data.total
|
|
||||||
if (this.current > 1) {
|
|
||||||
this.list = [...this.list, ...res.data.records]
|
|
||||||
} else {
|
|
||||||
this.list = res.data.records
|
|
||||||
}
|
|
||||||
uni.hideLoading()
|
|
||||||
this.pageShow = true
|
|
||||||
if (res.data.records.length < 15) {
|
|
||||||
this.isMore = true
|
|
||||||
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
this.current = this.current + 1
|
|
||||||
} else {
|
|
||||||
uni.hideLoading()
|
|
||||||
}
|
|
||||||
}).catch(() => {
|
|
||||||
uni.hideLoading()
|
|
||||||
})
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
onReachBottom() {
|
|
||||||
this.getList()
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
onLoad(query) {
|
||||||
|
this.$loading()
|
||||||
|
this.getList(query)
|
||||||
|
},
|
||||||
|
|
||||||
|
methods: {
|
||||||
|
getList(query) {
|
||||||
|
if (this.isMore) return
|
||||||
|
|
||||||
|
this.$instance.post(`/app/appepidemichealthreport/list?memberId=${query.id}`, null, {
|
||||||
|
params: {
|
||||||
|
current: this.current,
|
||||||
|
size: 15
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.total = res.data.total
|
||||||
|
if (this.current > 1) {
|
||||||
|
this.list = [...this.list, ...res.data.records]
|
||||||
|
} else {
|
||||||
|
this.list = res.data.records
|
||||||
|
}
|
||||||
|
uni.hideLoading()
|
||||||
|
this.pageShow = true
|
||||||
|
if (res.data.records.length < 15) {
|
||||||
|
this.isMore = true
|
||||||
|
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
|
this.current = this.current + 1
|
||||||
|
} else {
|
||||||
|
uni.hideLoading()
|
||||||
|
}
|
||||||
|
}).catch(() => {
|
||||||
|
uni.hideLoading()
|
||||||
|
})
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
onReachBottom() {
|
||||||
|
this.getList()
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.record {
|
.record {
|
||||||
padding: 32px 0;
|
padding: 32px 0;
|
||||||
|
|
||||||
.record-item {
|
.record-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
width: 686px;
|
width: 686px;
|
||||||
height: 112px;
|
height: 112px;
|
||||||
margin: 0 auto 24px;
|
margin: 0 auto 24px;
|
||||||
padding: 0 28px 0 32px;
|
padding: 0 28px 0 32px;
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.02);
|
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.02);
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
|
|
||||||
.left {
|
.left {
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.right {
|
.right {
|
||||||
i {
|
i {
|
||||||
width: 158px;
|
width: 158px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
line-height: 36px;
|
line-height: 36px;
|
||||||
margin-right: 8px;
|
margin-right: 8px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 26px;
|
font-size: 26px;
|
||||||
color: #FF4466;
|
color: #FF4466;
|
||||||
background: #FFF5F7;
|
background: #FFF5F7;
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
& > div {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& > div {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -57,6 +57,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
appName:"个人信息",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
info: {},
|
info: {},
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="photo-detail" v-if="pageShow">
|
<div class="photo-detail" v-if="pageShow">
|
||||||
<h2>{{ info.content }}</h2>
|
<h2>{{ info.content }}</h2>
|
||||||
<div class="status-name" :class="'status-' + info.eventStatus">{{ $dict.getLabel('clapEventStatus', info.eventStatus) }}</div>
|
<div class="status-name" :class="'status-' + info.eventStatus">
|
||||||
|
{{ $dict.getLabel('clapEventStatus', info.eventStatus) }}
|
||||||
|
</div>
|
||||||
<div class="photo-detail__info">
|
<div class="photo-detail__info">
|
||||||
<div class="photo-detail__item">
|
<div class="photo-detail__item">
|
||||||
<i>事件类型</i>
|
<i>事件类型</i>
|
||||||
@@ -18,7 +20,7 @@
|
|||||||
<div class="photo-detail__img" style="border: none;">
|
<div class="photo-detail__img" style="border: none;">
|
||||||
<i>照片</i>
|
<i>照片</i>
|
||||||
<div class="photo-detail__img--imgs">
|
<div class="photo-detail__img--imgs">
|
||||||
<image v-for="(item, index) in info.files" @click="preview(item.url)" :key="index" :src="item.url" />
|
<image v-for="(item, index) in info.files" @click="preview(item.url)" :key="index" :src="item.url"/>
|
||||||
</div>
|
</div>
|
||||||
<span v-if="info.files && !info.files.length">暂无照片</span>
|
<span v-if="info.files && !info.files.length">暂无照片</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -32,7 +34,7 @@
|
|||||||
<div class="photo-detail__img" v-if="result.files.length">
|
<div class="photo-detail__img" v-if="result.files.length">
|
||||||
<i>照片</i>
|
<i>照片</i>
|
||||||
<div class="photo-detail__img--imgs">
|
<div class="photo-detail__img--imgs">
|
||||||
<image @click="previewResult(item.url)" v-for="(item, index) in result.files" :key="index" :src="item.url" />
|
<image @click="previewResult(item.url)" v-for="(item, index) in result.files" :key="index" :src="item.url"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -40,166 +42,167 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data () {
|
appName: "随手拍详情",
|
||||||
return {
|
data() {
|
||||||
pageShow: false,
|
return {
|
||||||
info: {},
|
pageShow: false,
|
||||||
result: {}
|
info: {},
|
||||||
}
|
result: {}
|
||||||
},
|
}
|
||||||
|
},
|
||||||
|
|
||||||
onLoad (query) {
|
onLoad(query) {
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.$dict.load(['clapEventStatus']).then(() => {
|
this.$dict.load(['clapEventStatus']).then(() => {
|
||||||
this.getInfo(query.id)
|
this.getInfo(query.id)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
methods: {
|
||||||
|
getInfo(id) {
|
||||||
|
this.$instance.post(`/app/appclapeventinfo/queryDetailById?id=${id}`).then(res => {
|
||||||
|
if (res.code === 0) {
|
||||||
|
this.info = res.data
|
||||||
|
if (res.data.eventStatus > 1) {
|
||||||
|
this.result = res.data.processList[0]
|
||||||
|
}
|
||||||
|
this.$nextTick(() => {
|
||||||
|
this.pageShow = true
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
this.$hideLoading()
|
||||||
|
}).catch(() => {
|
||||||
|
this.$hideLoading()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
previewResult(url) {
|
||||||
getInfo (id) {
|
uni.previewImage({
|
||||||
this.$instance.post(`/app/appclapeventinfo/queryDetailById?id=${id}`).then(res => {
|
urls: this.result.files.map(v => v.url),
|
||||||
if (res.code === 0) {
|
current: url
|
||||||
this.info = res.data
|
})
|
||||||
if (res.data.eventStatus > 1) {
|
},
|
||||||
this.result = res.data.processList[0]
|
|
||||||
}
|
|
||||||
this.$nextTick(() => {
|
|
||||||
this.pageShow = true
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
this.$hideLoading()
|
preview(url) {
|
||||||
}).catch(() => {
|
uni.previewImage({
|
||||||
this.$hideLoading()
|
urls: this.info.files.map(v => v.url),
|
||||||
})
|
current: url
|
||||||
},
|
})
|
||||||
|
|
||||||
previewResult (url) {
|
|
||||||
uni.previewImage({
|
|
||||||
urls: this.result.files.map(v => v.url),
|
|
||||||
current: url
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
preview (url) {
|
|
||||||
uni.previewImage({
|
|
||||||
urls: this.info.files.map(v => v.url),
|
|
||||||
current: url
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.photo-detail {
|
.photo-detail {
|
||||||
padding: 32px;
|
padding: 32px;
|
||||||
margin-bottom: 60px;
|
margin-bottom: 60px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
||||||
& > h2 {
|
& > h2 {
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
margin-bottom: 26px;
|
margin-bottom: 26px;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.status-name {
|
||||||
|
width: 96px;
|
||||||
|
height: 44px;
|
||||||
|
line-height: 44px;
|
||||||
|
margin-bottom: 20px;
|
||||||
|
text-align: center;
|
||||||
|
background: #FF883C;
|
||||||
|
color: #fff;
|
||||||
|
font-size: 26px;
|
||||||
|
border-radius: 8px;
|
||||||
|
|
||||||
|
&.status-1 {
|
||||||
|
background: #1AAAFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-name {
|
&.status-2 {
|
||||||
width: 96px;
|
background: #42D784;
|
||||||
height: 44px;
|
|
||||||
line-height: 44px;
|
|
||||||
margin-bottom: 20px;
|
|
||||||
text-align: center;
|
|
||||||
background: #FF883C;
|
|
||||||
color: #fff;
|
|
||||||
font-size: 26px;
|
|
||||||
border-radius: 8px;
|
|
||||||
|
|
||||||
&.status-1 {
|
|
||||||
background: #1AAAFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.status-2 {
|
|
||||||
background: #42D784;
|
|
||||||
}
|
|
||||||
|
|
||||||
&.status-3 {
|
|
||||||
background: #FF4466;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.photo-detail__item {
|
&.status-3 {
|
||||||
display: flex;
|
background: #FF4466;
|
||||||
align-items: center;
|
}
|
||||||
justify-content: space-between;
|
}
|
||||||
height: 112px;
|
|
||||||
|
.photo-detail__item {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
height: 112px;
|
||||||
|
font-size: 32px;
|
||||||
|
border-bottom: 1px solid #DDDDDD;
|
||||||
|
|
||||||
|
i {
|
||||||
|
color: #999999;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
border-bottom: 1px solid #DDDDDD;
|
|
||||||
|
|
||||||
i {
|
|
||||||
color: #999999;
|
|
||||||
font-size: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
span {
|
|
||||||
color: #333333;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.result {
|
span {
|
||||||
& > h2 {
|
color: #333333;
|
||||||
height: 116px;
|
|
||||||
line-height: 116px;
|
|
||||||
font-size: 38px;
|
|
||||||
color: #333;
|
|
||||||
font-weight: 600;
|
|
||||||
border-top: 1px solid #DDDDDD;
|
|
||||||
}
|
|
||||||
|
|
||||||
.result-info {
|
|
||||||
h2 {
|
|
||||||
height: 112px;
|
|
||||||
line-height: 112px;
|
|
||||||
color: #999999;
|
|
||||||
font-size: 32px;
|
|
||||||
}
|
|
||||||
|
|
||||||
p {
|
|
||||||
line-height: 1.3;
|
|
||||||
padding-bottom: 32px;
|
|
||||||
color: #333333;
|
|
||||||
font-size: 32px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.photo-detail__img {
|
.result {
|
||||||
|
& > h2 {
|
||||||
|
height: 116px;
|
||||||
|
line-height: 116px;
|
||||||
|
font-size: 38px;
|
||||||
|
color: #333;
|
||||||
|
font-weight: 600;
|
||||||
border-top: 1px solid #DDDDDD;
|
border-top: 1px solid #DDDDDD;
|
||||||
padding: 32px 0;
|
}
|
||||||
|
|
||||||
& > i {
|
.result-info {
|
||||||
display: block;
|
h2 {
|
||||||
margin-bottom: 32px;
|
height: 112px;
|
||||||
|
line-height: 112px;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.photo-detail__img--imgs {
|
p {
|
||||||
display: flex;
|
line-height: 1.3;
|
||||||
flex-wrap: wrap;
|
padding-bottom: 32px;
|
||||||
|
color: #333333;
|
||||||
|
font-size: 32px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
image {
|
.photo-detail__img {
|
||||||
width: 226px;
|
border-top: 1px solid #DDDDDD;
|
||||||
height: 226px;
|
padding: 32px 0;
|
||||||
margin: 0 9px 9px 0;
|
|
||||||
|
|
||||||
&:nth-of-type(3n) {
|
& > i {
|
||||||
margin-right: 0;
|
display: block;
|
||||||
}
|
margin-bottom: 32px;
|
||||||
|
color: #999999;
|
||||||
|
font-size: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.photo-detail__img--imgs {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 226px;
|
||||||
|
height: 226px;
|
||||||
|
margin: 0 9px 9px 0;
|
||||||
|
|
||||||
|
&:nth-of-type(3n) {
|
||||||
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -104,6 +104,7 @@
|
|||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
appName:"上报随手拍",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
isShowType: false,
|
isShowType: false,
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
|
appName:"上报随手拍",
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
id: ''
|
id: ''
|
||||||
|
|||||||
@@ -261,6 +261,7 @@
|
|||||||
import {mapState} from 'vuex'
|
import {mapState} from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
appName:"添加返乡记录",
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
isShowType: false,
|
isShowType: false,
|
||||||
|
|||||||
@@ -4,15 +4,15 @@
|
|||||||
<h2>{{ info.name }}的返乡登记信息</h2>
|
<h2>{{ info.name }}的返乡登记信息</h2>
|
||||||
<div class="item-info">
|
<div class="item-info">
|
||||||
<div class="item-info__item">
|
<div class="item-info__item">
|
||||||
<image src="/static/img/from-icon.png" />
|
<image src="/static/img/from-icon.png"/>
|
||||||
<span>{{ info.startAreaName }}</span>
|
<span>{{ info.startAreaName }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-info__item">
|
<div class="item-info__item">
|
||||||
<image src="/static/img/to-icon.png" />
|
<image src="/static/img/to-icon.png"/>
|
||||||
<span>{{ info.arriveAreaName }}</span>
|
<span>{{ info.arriveAreaName }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="item-info__item">
|
<div class="item-info__item">
|
||||||
<image src="/static/img/to-date.png" />
|
<image src="/static/img/to-date.png"/>
|
||||||
<span>{{ info.arriveTime && info.arriveTime.substr(0, info.arriveTime.length - 3) }} 到达</span>
|
<span>{{ info.arriveTime && info.arriveTime.substr(0, info.arriveTime.length - 3) }} 到达</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
<label>手机号码</label>
|
<label>手机号码</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="right" @click="call(info.phone)" hover-class="text-hover">
|
<div class="right" @click="call(info.phone)" hover-class="text-hover">
|
||||||
<image src="https://cdn.cunwuyun.cn/dvcp/h5/common/phone.png" />
|
<image src="https://cdn.cunwuyun.cn/dvcp/h5/common/phone.png"/>
|
||||||
<span style="color: #4181FF">{{ info.phone }}</span>
|
<span style="color: #4181FF">{{ info.phone }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -49,7 +49,9 @@
|
|||||||
<label>人员类别</label>
|
<label>人员类别</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<span :style="{color: info.type === '0' ? '#42D784' : '#FF4466'}">{{ $dict.getLabel('epidemicMemberType', info.type) }}</span>
|
<span :style="{color: info.type === '0' ? '#42D784' : '#FF4466'}">{{
|
||||||
|
$dict.getLabel('epidemicMemberType', info.type)
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -135,7 +137,9 @@
|
|||||||
<label>核酸检测结果</label>
|
<label>核酸检测结果</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<span :style="{color: info.checkResult === '0' ? '#42D784' : '#FF4466'}">{{ $dict.getLabel('epidemicRecentTestResult', info.checkResult) }}</span>
|
<span :style="{color: info.checkResult === '0' ? '#42D784' : '#FF4466'}">{{
|
||||||
|
$dict.getLabel('epidemicRecentTestResult', info.checkResult)
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-info__item detail-info__item--img">
|
<div class="detail-info__item detail-info__item--img">
|
||||||
@@ -143,7 +147,7 @@
|
|||||||
<label>本人健康码截图或核酸检测报告</label>
|
<label>本人健康码截图或核酸检测报告</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<image :src="item.url" @click="preview(item.url)" v-for="(item, index) in info.checkPhoto" :key="index" />
|
<image :src="item.url" @click="preview(item.url)" v-for="(item, index) in info.checkPhoto" :key="index"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -162,7 +166,9 @@
|
|||||||
<label>14天内是否接触新冠确诊或疑似患者</label>
|
<label>14天内是否接触新冠确诊或疑似患者</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<span :style="{color: info.touchInFourteen === '0' ? '#42D784' : '#FF4466'}">{{ $dict.getLabel('epidemicTouchInFourteen', info.touchInFourteen) }}</span>
|
<span :style="{color: info.touchInFourteen === '0' ? '#42D784' : '#FF4466'}">{{
|
||||||
|
$dict.getLabel('epidemicTouchInFourteen', info.touchInFourteen)
|
||||||
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-info__item">
|
<div class="detail-info__item">
|
||||||
@@ -178,172 +184,173 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
data () {
|
appName: "返乡登记详情",
|
||||||
return {
|
data() {
|
||||||
info: {},
|
return {
|
||||||
pageShow: false
|
info: {},
|
||||||
}
|
pageShow: false
|
||||||
},
|
}
|
||||||
|
},
|
||||||
|
|
||||||
onLoad (query) {
|
onLoad(query) {
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.$dict.load(['epidemicRecentHealth', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicMemberType', 'epidemicRecentTestResult']).then(() => {
|
this.$dict.load(['epidemicRecentHealth', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicMemberType', 'epidemicRecentTestResult']).then(() => {
|
||||||
this.getInfo(query.id)
|
this.getInfo(query.id)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
methods: {
|
||||||
|
preview(url) {
|
||||||
|
uni.previewImage({
|
||||||
|
urls: this.info.checkPhoto.map(v => v.url),
|
||||||
|
current: url
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
getInfo(id) {
|
||||||
preview (url) {
|
this.$instance.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${id}`).then(res => {
|
||||||
uni.previewImage({
|
if (res.code === 0) {
|
||||||
urls: this.info.checkPhoto.map(v => v.url),
|
this.info = res.data
|
||||||
current: url
|
this.info.checkPhoto = JSON.parse(res.data.checkPhoto)
|
||||||
})
|
let healthName = ''
|
||||||
},
|
this.info.isHealth = false
|
||||||
|
res.data.health.split(',').forEach(v => {
|
||||||
|
if (v > 0) {
|
||||||
|
this.info.isHealth = true
|
||||||
|
}
|
||||||
|
healthName = healthName + this.$dict.getLabel('epidemicRecentHealth', v)
|
||||||
|
})
|
||||||
|
this.info.healthName = healthName
|
||||||
|
|
||||||
getInfo (id) {
|
this.$nextTick(() => {
|
||||||
this.$instance.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${id}`).then(res => {
|
this.pageShow = true
|
||||||
if (res.code === 0) {
|
})
|
||||||
this.info = res.data
|
}
|
||||||
this.info.checkPhoto = JSON.parse(res.data.checkPhoto)
|
|
||||||
let healthName = ''
|
|
||||||
this.info.isHealth = false
|
|
||||||
res.data.health.split(',').forEach(v => {
|
|
||||||
if (v > 0) {
|
|
||||||
this.info.isHealth = true
|
|
||||||
}
|
|
||||||
healthName = healthName + this.$dict.getLabel('epidemicRecentHealth', v)
|
|
||||||
})
|
|
||||||
this.info.healthName = healthName
|
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$hideLoading()
|
||||||
this.pageShow = true
|
})
|
||||||
})
|
},
|
||||||
}
|
|
||||||
|
|
||||||
this.$hideLoading()
|
call(phone) {
|
||||||
})
|
uni.makePhoneCall({
|
||||||
},
|
phoneNumber: phone
|
||||||
|
})
|
||||||
call (phone) {
|
|
||||||
uni.makePhoneCall({
|
|
||||||
phoneNumber: phone
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.detail {
|
.detail {
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
|
|
||||||
.detail-header {
|
.detail-header {
|
||||||
padding: 32px;
|
padding: 32px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.item-info {
|
||||||
|
.item-info__item {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
margin-right: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span {
|
||||||
|
color: #333;
|
||||||
|
font-size: 28px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.detail-info {
|
||||||
|
margin-top: 24px;
|
||||||
|
padding: 0 32px;
|
||||||
|
background: #fff;
|
||||||
|
|
||||||
|
& > h2 {
|
||||||
|
height: 116px;
|
||||||
|
line-height: 116px;
|
||||||
|
font-size: 38px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.detail-info__item {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
padding: 34px 0;
|
||||||
|
border-bottom: 1px solid #DDDDDD;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item-info {
|
.left {
|
||||||
.item-info__item {
|
display: flex;
|
||||||
display: flex;
|
line-height: 1.3;
|
||||||
align-items: center;
|
max-width: 360px;
|
||||||
margin-bottom: 8px;
|
|
||||||
|
|
||||||
&:last-child {
|
label {
|
||||||
margin-bottom: 0;
|
position: relative;
|
||||||
}
|
color: #999999;
|
||||||
|
font-size: 32px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
image {
|
.right {
|
||||||
width: 32px;
|
display: flex;
|
||||||
height: 32px;
|
max-width: 450px;
|
||||||
margin-right: 16px;
|
|
||||||
}
|
|
||||||
|
|
||||||
span {
|
span {
|
||||||
color: #333;
|
color: #333333;
|
||||||
font-size: 28px;
|
font-size: 32px;
|
||||||
}
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 40px;
|
||||||
|
height: 40px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.detail-info {
|
.detail-info__item--img {
|
||||||
margin-top: 24px;
|
display: block;
|
||||||
padding: 0 32px;
|
|
||||||
background: #fff;
|
|
||||||
|
|
||||||
& > h2 {
|
.right {
|
||||||
height: 116px;
|
flex-wrap: wrap;
|
||||||
line-height: 116px;
|
max-width: 100%;
|
||||||
font-size: 38px;
|
margin-top: 34px;
|
||||||
font-weight: 600;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.detail-info__item {
|
image {
|
||||||
display: flex;
|
width: 226px;
|
||||||
justify-content: space-between;
|
height: 226px;
|
||||||
padding: 34px 0;
|
margin: 0 9px 9px 0;
|
||||||
border-bottom: 1px solid #DDDDDD;
|
|
||||||
|
|
||||||
&:last-child {
|
&:nth-of-type(3n) {
|
||||||
border: none;
|
margin-right: 0;
|
||||||
}
|
|
||||||
|
|
||||||
.left {
|
|
||||||
display: flex;
|
|
||||||
line-height: 1.3;
|
|
||||||
max-width: 360px;
|
|
||||||
|
|
||||||
label {
|
|
||||||
position: relative;
|
|
||||||
color: #999999;
|
|
||||||
font-size: 32px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.right {
|
|
||||||
display: flex;
|
|
||||||
max-width: 450px;
|
|
||||||
|
|
||||||
span {
|
|
||||||
color: #333333;
|
|
||||||
font-size: 32px;
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
|
|
||||||
image {
|
|
||||||
width: 40px;
|
|
||||||
height: 40px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.detail-info__item--img {
|
|
||||||
display: block;
|
|
||||||
|
|
||||||
.right {
|
|
||||||
flex-wrap: wrap;
|
|
||||||
max-width: 100%;
|
|
||||||
margin-top: 34px;
|
|
||||||
|
|
||||||
image {
|
|
||||||
width: 226px;
|
|
||||||
height: 226px;
|
|
||||||
margin: 0 9px 9px 0;
|
|
||||||
|
|
||||||
&:nth-of-type(3n) {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user