BUG 27621

This commit is contained in:
aixianling
2022-02-23 15:16:23 +08:00
parent 92ffbc1231
commit 8ab0d46eaf
46 changed files with 1057 additions and 1000 deletions

View File

@@ -40,6 +40,7 @@ import {mapState} from 'vuex'
export default {
name: "add",
appName:"活动报名",
computed: {
...mapState(['user'])
},

View File

@@ -26,6 +26,7 @@ import {mapState} from 'vuex'
export default {
name: "addContent",
appName: "填写活动日志",
computed: {
...mapState(['user'])
},

View File

@@ -25,6 +25,7 @@ import {mapState} from 'vuex'
export default {
name: 'logDetail',
appName:"活动日志",
computed: {
...mapState(['user']),
},

View File

@@ -17,6 +17,7 @@
export default {
name: "userList",
appName: "活动报名情况",
data() {
return {
id: '',

View File

@@ -74,6 +74,7 @@
export default {
name: "agAdd",
appName:"发布晒农产品",
data() {
return {
show: false,

View File

@@ -34,6 +34,7 @@
<script>
export default {
name: "agDetail",
appName: "农产品详情",
data() {
return {
id: null,

View File

@@ -87,7 +87,7 @@ export default {
params: {names: this.names}
}).then(res => {
if (res?.data) {
this.categorys = res.data[0]["categoryList"];
this.categorys = res.data?.[0]?.categoryList || [];
this.search.moduleId = res.data?.[0]?.id;
this.search.categoryId = res.data?.[0]?.categoryList?.[0]?.id;
this.getCategoryList();

View File

@@ -8,6 +8,7 @@
export default {
name: "contentDetail",
appName:"内容详情",
data() {
return {
detail: {title: "内容详情"},
@@ -37,7 +38,7 @@ export default {
onShareAppMessage() {
return {
title: detail.title,
title: this.detail.title,
path: '/mods/AppContent/contentDetail?id=' + this.id
};
}

View File

@@ -19,6 +19,7 @@ import {mapState} from "vuex";
export default {
name: "contentManager",
appName: "搜索结果",
computed: {
...mapState(['user']),
loadmore() {

View File

@@ -9,6 +9,7 @@
<script>
export default {
appName:"提交",
data() {
return {
type: '0'

View File

@@ -41,6 +41,7 @@
<script>
export default {
appName: "结算",
data() {
return {
total: 0,

View File

@@ -60,7 +60,7 @@ import {mapState} from 'vuex'
export default {
name: 'supermarket',
appName: "信用好超市",
data() {
return {
numList: [],

View File

@@ -35,6 +35,7 @@
<script>
export default {
name: "compJob",
appName: "企业招工详情",
data() {
return {
id: null,

View File

@@ -32,6 +32,7 @@
<script>
export default {
name: "persJob",
appName:"个人求职详情",
data() {
return {
id: null,

View File

@@ -53,6 +53,7 @@
export default {
name: "pubJob",
appName: "我要找工作",
data() {
return {
form: {

View File

@@ -65,6 +65,7 @@
export default {
name: "marAdd",
appName: "我要上报",
data() {
return {
form: {

View File

@@ -40,6 +40,8 @@
<script>
export default {
name: "orderInfo",
appName: "订单详情",
data() {
return {
info: {},

View File

@@ -50,7 +50,8 @@
import {mapState} from 'vuex'
export default {
name: "my",
name: "add",
appName:"我要提问",
computed: {
...mapState(['global'])
},

View File

@@ -49,7 +49,8 @@
import {mapState} from 'vuex'
export default {
name: "my",
name: "questionList",
appName: "提问记录",
computed: {
...mapState(['user', 'token'])
},

View File

@@ -27,7 +27,8 @@
import {mapState} from 'vuex'
export default {
name: "my",
name: "reply",
appName: "发表回复",
computed: {
...mapState(['user', 'token'])
},

View File

@@ -14,6 +14,7 @@
<script>
export default {
name:"progressAnnex",
data() {
return {
img: '',

View File

@@ -148,6 +148,8 @@
<script>
export default {
name: "progressDetail",
appName: "进度详情",
data() {
return {
title: '',

View File

@@ -132,6 +132,7 @@
<script>
export default {
appName: "进度详情",
data() {
return {
title: '',

View File

@@ -172,6 +172,7 @@ import {mapState} from 'vuex'
import Handwriting from '@/utils/signature.js'
export default {
name:"serviceForm",
data() {
return {
pageShow: false,

View File

@@ -18,6 +18,7 @@
<script>
export default {
appName:"网上办事",
data () {
return {
id: '',

View File

@@ -1,6 +1,6 @@
<template>
<div class="service-result">
<image src="/static/img/service-success.png" />
<image src="/static/img/service-success.png"/>
<h2> 申请成功等待审批</h2>
<div class="text">
<span>可在</span>
@@ -12,31 +12,29 @@
</template>
<script>
export default {
data () {
return {
}
export default {
appName: "个人人员参保申报",
data() {
return {}
},
onLoad (query) {
onLoad(query) {
uni.setNavigationBarTitle({
title: query.title
})
},
methods: {
back () {
back() {
uni.reLaunch({
url: '/pages/home/home'
})
}
}
}
}
</script>
<style lang="scss" scoped>
.service-result {
.service-result {
min-height: 100vh;
padding-top: 96px;
text-align: center;
@@ -79,5 +77,5 @@
width: 192px;
height: 192px;
}
}
}
</style>

View File

@@ -15,6 +15,7 @@
<script>
export default {
appName:"网上办事",
data() {
return {
id: '',

View File

@@ -13,6 +13,7 @@
<script>
export default {
appName: "个人人员参保申报",
data() {
return {}
},

View File

@@ -48,6 +48,7 @@
export default {
name: 'balance',
appName:"订单结算",
data() {
return {
selected: null,

View File

@@ -22,6 +22,7 @@
export default {
name: "search",
appName:"积分超市搜索",
data() {
return {
keyword: "",

View File

@@ -35,6 +35,7 @@
<script>
export default {
appName: "话题详情",
data() {
return {
info: {},

View File

@@ -1,7 +1,8 @@
<template>
<section class="monitorDetail">
<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>
</section>
</template>
@@ -9,6 +10,7 @@
<script>
export default {
name: 'monitorDetail',
appName: "监控详情",
data() {
return {
style: {},
@@ -30,7 +32,7 @@ export default {
deviceId &&
this.$instance
.post('/app/appzyvideoequipment/getWebSdkUrl', null, {
params: { deviceId },
params: {deviceId},
})
.then((res) => {
if (res?.data) {

View File

@@ -88,6 +88,7 @@
import { mapState } from 'vuex'
export default {
appName:"活动详情",
data () {
return {
currIndex: 0,

View File

@@ -32,6 +32,7 @@
<script>
export default {
appName: "添加活动动态",
data() {
return {
content: '',

View File

@@ -7,7 +7,7 @@
<span>{{ info.createTime }}</span>
</div>
<div class="images">
<image v-for="(img, i) in info.images" :key="i" :src="img.url" @click="preview(img.url)" />
<image v-for="(img, i) in info.images" :key="i" :src="img.url" @click="preview(img.url)"/>
</div>
</div>
<div class="detail-list">
@@ -19,7 +19,7 @@
<div class="user-list" :style="{paddingBottom: !list.length ? '20px' : '0px'}" v-if="info.type === '0'">
<div class="user-item" v-for="(item, index) in list" :key="index">
<div class="user-item__top">
<image :src="item.avatar" />
<image :src="item.avatar"/>
<div class="user-item__top--right">
<div class="top">
<div class="left">
@@ -27,7 +27,7 @@
<span v-if="info.createUserId === item.createUserId">话事人</span>
</div>
<div class="right" @click="like(item.id)">
<image :src="item.isSuport ? '/static/img/like-active.png' : '/static/img/like.png'" />
<image :src="item.isSuport ? '/static/img/like-active.png' : '/static/img/like.png'"/>
<span>{{ item.suport }}</span>
</div>
</div>
@@ -64,7 +64,10 @@
<div class="input" @click="show = true">我来说两句...</div>
</div>
<div class="btn-wrapper" v-if="info.type === '1' && !info.isTimeout && info.status === '0'">
<div class="btn" :class="[info.myVote ? 'disabled' : '']" @click="signUp" hover-class="text-hover">{{ buttonText }}</div>
<div class="btn" :class="[info.myVote ? 'disabled' : '']" @click="signUp" hover-class="text-hover">{{
buttonText
}}
</div>
</div>
<!-- 弹框 -->
<u-popup v-model="show" mode="bottom">
@@ -90,9 +93,11 @@
</template>
<script>
import { mapState } from 'vuex'
export default {
data () {
import {mapState} from 'vuex'
export default {
appName: "详情",
data() {
return {
content: '',
currIndex: 0,
@@ -116,7 +121,7 @@
computed: {
...mapState(['user']),
buttonText () {
buttonText() {
if (this.info.myVote) {
return '已投票'
}
@@ -129,7 +134,7 @@
}
},
onLoad (query) {
onLoad(query) {
this.id = query.id
this.getInfo(query.id)
this.$nextTick(() => {
@@ -138,7 +143,7 @@
},
methods: {
choose (index) {
choose(index) {
if (this.info.status !== '0') {
return false
}
@@ -159,7 +164,7 @@
}
},
like (id) {
like(id) {
this.$loading()
this.$instance.post(`/app/appvillagediscussmessage/suport?id=${id}&userId=${this.user.id}`).then(res => {
if (res.code === 0) {
@@ -178,12 +183,12 @@
})
},
getInfo (id) {
getInfo(id) {
this.$loading()
this.$instance.post(`/app/appvillagediscuss/queryDetailById?id=${id}&userId=${this.user.id}`).then(res => {
if (res.code === 0) {
this.info = res.data
this.info.images = res.data.images ? JSON.parse(res.data.images): []
this.info.images = res.data.images ? JSON.parse(res.data.images) : []
if (res.data.myVote && this.info.status === '0') {
const myVote = res.data.myVote.split(',')
@@ -207,7 +212,7 @@
})
},
signUp () {
signUp() {
if (this.info.myVote) {
return
}
@@ -258,7 +263,7 @@
return {
...v,
typeName: this.$dict.getLabel('discussType', v.type),
images: v.images ? JSON.parse(v.images): [],
images: v.images ? JSON.parse(v.images) : [],
isSuport: v.suportUser ? v.suportUser.indexOf(this.user.id) > -1 : false
}
})
@@ -267,7 +272,7 @@
return {
...v,
typeName: this.$dict.getLabel('discussType', v.type),
images: v.images ? JSON.parse(v.images): [],
images: v.images ? JSON.parse(v.images) : [],
isSuport: v.suportUser ? v.suportUser.indexOf(this.user.id) > -1 : false
}
})
@@ -293,7 +298,7 @@
this.content = ''
},
confirm () {
confirm() {
if (!this.content) {
return this.$toast('留言不能为空')
}
@@ -325,7 +330,7 @@
this.height = e.detail.height
},
countdown (time) {
countdown(time) {
this.timer = setInterval(() => {
if (new Date(time.replace(/-/g, '/')).getTime() < new Date().getTime()) {
this.isTimeout = true
@@ -341,7 +346,7 @@
}, 1000)
},
preview (url) {
preview(url) {
uni.previewImage({
urls: this.info.images.map(v => v.url),
current: url
@@ -352,11 +357,11 @@
onReachBottom() {
this.getList()
}
}
}
</script>
<style lang="scss" scoped>
.detail {
.detail {
padding-bottom: 140px;
.vote-list {
@@ -626,5 +631,5 @@
}
}
}
}
}
</style>

View File

@@ -1,7 +1,7 @@
<template>
<div class="user">
<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="left">
<h2>{{ anonymous === '1' ? '居民' : item.userName }}</h2>
@@ -15,8 +15,9 @@
</template>
<script>
export default {
data () {
export default {
appName: "投票详情",
data() {
return {
pageShow: false,
id: '',
@@ -28,7 +29,7 @@
}
},
onLoad (query) {
onLoad(query) {
this.$loading()
this.anonymous = query.anonymous
this.getList(query.id)
@@ -72,11 +73,11 @@
onReachBottom() {
this.getList()
}
}
}
</script>
<style lang="scss" socped>
.user {
.user {
padding: 32px 32px 40px;
.user-item {
@@ -119,5 +120,5 @@
}
}
}
}
}
</style>

View File

@@ -135,6 +135,7 @@
import {mapState} from 'vuex'
export default {
appName:"今日上报",
data() {
return {
isShowDate: false,

View File

@@ -75,6 +75,7 @@
import {mapState} from 'vuex'
export default {
appName:"添加上报人员",
data() {
return {
form: {

View File

@@ -75,6 +75,7 @@
<script>
export default {
appName:"上报详情",
data () {
return {
info: {},

View File

@@ -1,6 +1,7 @@
<template>
<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="right">
<i v-if="item.status === '0'">健康数据异常</i>
@@ -12,8 +13,9 @@
</template>
<script>
export default {
data () {
export default {
appName: "上报记录",
data() {
return {
list: [],
pageShow: false,
@@ -23,7 +25,7 @@
}
},
onLoad (query) {
onLoad(query) {
this.$loading()
this.getList(query)
},
@@ -66,11 +68,11 @@
onReachBottom() {
this.getList()
}
}
}
</script>
<style lang="scss">
.record {
.record {
padding: 32px 0;
.record-item {
@@ -110,5 +112,5 @@
align-items: center;
}
}
}
}
</style>

View File

@@ -57,6 +57,7 @@
<script>
export default {
appName:"个人信息",
data () {
return {
info: {},

View File

@@ -1,7 +1,9 @@
<template>
<div class="photo-detail" v-if="pageShow">
<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__item">
<i>事件类型</i>
@@ -18,7 +20,7 @@
<div class="photo-detail__img" style="border: none;">
<i>照片</i>
<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>
<span v-if="info.files && !info.files.length">暂无照片</span>
</div>
@@ -32,7 +34,7 @@
<div class="photo-detail__img" v-if="result.files.length">
<i>照片</i>
<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>
@@ -40,8 +42,9 @@
</template>
<script>
export default {
data () {
export default {
appName: "随手拍详情",
data() {
return {
pageShow: false,
info: {},
@@ -49,7 +52,7 @@
}
},
onLoad (query) {
onLoad(query) {
this.$loading()
this.$dict.load(['clapEventStatus']).then(() => {
this.getInfo(query.id)
@@ -57,7 +60,7 @@
},
methods: {
getInfo (id) {
getInfo(id) {
this.$instance.post(`/app/appclapeventinfo/queryDetailById?id=${id}`).then(res => {
if (res.code === 0) {
this.info = res.data
@@ -75,25 +78,25 @@
})
},
previewResult (url) {
previewResult(url) {
uni.previewImage({
urls: this.result.files.map(v => v.url),
current: url
})
},
preview (url) {
preview(url) {
uni.previewImage({
urls: this.info.files.map(v => v.url),
current: url
})
}
}
}
}
</script>
<style lang="scss">
.photo-detail {
.photo-detail {
padding: 32px;
margin-bottom: 60px;
background: #fff;
@@ -201,5 +204,5 @@
}
}
}
}
}
</style>

View File

@@ -104,6 +104,7 @@
import {mapState} from 'vuex'
export default {
appName:"上报随手拍",
data() {
return {
isShowType: false,

View File

@@ -8,6 +8,7 @@
<script>
export default {
appName:"上报随手拍",
data () {
return {
id: ''

View File

@@ -261,6 +261,7 @@
import {mapState} from 'vuex'
export default {
appName:"添加返乡记录",
data() {
return {
isShowType: false,

View File

@@ -4,15 +4,15 @@
<h2>{{ info.name }}的返乡登记信息</h2>
<div class="item-info">
<div class="item-info__item">
<image src="/static/img/from-icon.png" />
<image src="/static/img/from-icon.png"/>
<span>{{ info.startAreaName }}</span>
</div>
<div class="item-info__item">
<image src="/static/img/to-icon.png" />
<image src="/static/img/to-icon.png"/>
<span>{{ info.arriveAreaName }}</span>
</div>
<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>
</div>
</div>
@@ -40,7 +40,7 @@
<label>手机号码</label>
</div>
<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>
</div>
</div>
@@ -49,7 +49,9 @@
<label>人员类别</label>
</div>
<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>
@@ -135,7 +137,9 @@
<label>核酸检测结果</label>
</div>
<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 class="detail-info__item detail-info__item--img">
@@ -143,7 +147,7 @@
<label>本人健康码截图或核酸检测报告</label>
</div>
<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>
@@ -162,7 +166,9 @@
<label>14天内是否接触新冠确诊或疑似患者</label>
</div>
<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 class="detail-info__item">
@@ -178,15 +184,16 @@
</template>
<script>
export default {
data () {
export default {
appName: "返乡登记详情",
data() {
return {
info: {},
pageShow: false
}
},
onLoad (query) {
onLoad(query) {
this.$loading()
this.$dict.load(['epidemicRecentHealth', 'epidemicRecentTravel', 'epidemicTouchInFourteen', 'epidemicMemberType', 'epidemicRecentTestResult']).then(() => {
this.getInfo(query.id)
@@ -194,14 +201,14 @@
},
methods: {
preview (url) {
preview(url) {
uni.previewImage({
urls: this.info.checkPhoto.map(v => v.url),
current: url
})
},
getInfo (id) {
getInfo(id) {
this.$instance.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${id}`).then(res => {
if (res.code === 0) {
this.info = res.data
@@ -225,17 +232,17 @@
})
},
call (phone) {
call(phone) {
uni.makePhoneCall({
phoneNumber: phone
})
}
}
}
}
</script>
<style lang="scss">
.detail {
.detail {
padding-bottom: 40px;
.detail-header {
@@ -345,5 +352,5 @@
}
}
}
}
}
</style>