提交 569fc7b4 authored 作者: 杨斌基's avatar 杨斌基

feat(上报内容): 城市不文明行为举报,标题“实名上报”改为“举报人信息”

上级 e13afdae
...@@ -313,7 +313,7 @@ ...@@ -313,7 +313,7 @@
<view class="real"> <view class="real">
<view class="real-header"> <view class="real-header">
<image src="/static/icon/ic_smsb@2x.png" /> <image src="/static/icon/ic_smsb@2x.png" />
<view>实名上报</view> <view>{{ activeMap.realNameTitle || '实名上报' }}</view>
</view> </view>
<view class="real-content"> <view class="real-content">
<!-- <!--
...@@ -383,6 +383,13 @@ import UploadActionSheet from '@/pages/record-content/UploadActionSheet'; ...@@ -383,6 +383,13 @@ import UploadActionSheet from '@/pages/record-content/UploadActionSheet';
import CertificateTypeActionSheet from '@/pages/record-content/CertificateTypeActionSheet'; import CertificateTypeActionSheet from '@/pages/record-content/CertificateTypeActionSheet';
import { baseEncode } from '@/utils/util'; import { baseEncode } from '@/utils/util';
const typeMap = {
illegality: '交通违法举报',
incivility: '城市不文明行为举报',
fault: '交通设施故障上报',
}
export default { export default {
components: { CertificateTypeActionSheet, UploadActionSheet }, components: { CertificateTypeActionSheet, UploadActionSheet },
data() { data() {
...@@ -432,12 +439,30 @@ export default { ...@@ -432,12 +439,30 @@ export default {
number_plate: '', // 号牌种类 number_plate: '', // 号牌种类
license_plate: '', // 车牌号码 license_plate: '', // 车牌号码
}, },
map: {
[typeMap.illegality]: {
},
[typeMap.incivility]: {
realNameTitle: '举报人信息'
},
[typeMap.fault]: {
}
}
}; };
}, },
computed: { computed: {
activeItem() { activeItem() {
return this.typeList.find(v => v.id === this.id) return this.typeList.find(v => v.id === this.id)
},
activeParent() {
return this.activeItem?.parent
},
activeMap() {
return this.map[this.activeParent?.name] || {}
} }
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论