提交 60aa169d authored 作者: 杨斌基's avatar 杨斌基

feat(上报内容): 城市管理违法举报下的文字修改

上级 225eb474
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<view class="step_box"> <view class="step_box">
<view class="tep_one"> <view class="tep_one">
<image mode="aspectFill" class="tep_icon" src="/static/icon/ic_rw_didian@2x.png" /> <image mode="aspectFill" class="tep_icon" src="/static/icon/ic_rw_didian@2x.png" />
<view class="one">{{ '违法地点' }}</view> <view class="one">{{ activeMap.address }}</view>
</view> </view>
<view class="photo_list"> <view class="photo_list">
<view v-if="address === '点击授权获取位置信息'" class="address" @click="getAddress">{{ address }}</view> <view v-if="address === '点击授权获取位置信息'" class="address" @click="getAddress">{{ address }}</view>
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
<view class="step_box"> <view class="step_box">
<view class="tep_one"> <view class="tep_one">
<image mode="aspectFill" class="tep_icon" src="/static/icon/ic_rw_didian@2x.png" /> <image mode="aspectFill" class="tep_icon" src="/static/icon/ic_rw_didian@2x.png" />
<view class="one">{{ !showActive ? null : '拍摄地点' }}</view> <view class="one">{{ !showActive ? null : activeMap.address }}</view>
</view> </view>
<view class="photo_list"> <view class="photo_list">
<view v-if="address === '点击授权获取位置信息'" class="address" @click="getAddress">{{ !showActive ? null : address }}</view> <view v-if="address === '点击授权获取位置信息'" class="address" @click="getAddress">{{ !showActive ? null : address }}</view>
...@@ -329,10 +329,10 @@ ...@@ -329,10 +329,10 @@
<view v-if="isDispersion" class="step_box"> <view v-if="isDispersion" class="step_box">
<view class="tep_one"> <view class="tep_one">
<image mode="aspectFill" class="tep_icon" src="/static/icon/ic_rw_neirong@2x.png" /> <image mode="aspectFill" class="tep_icon" src="/static/icon/ic_rw_neirong@2x.png" />
<view class="one">{{ '车牌号码' }}</view> <view class="one">{{ '涉事车牌号牌' }}</view>
</view> </view>
<view class="report_title"> <view class="report_title">
<input :maxlength="20" :placeholder="'车牌号码'" v-model="IllegalForm.license_plate" class="title_input" /> <input :maxlength="20" :placeholder="'涉事车辆号牌'" v-model="IllegalForm.license_plate" class="title_input" />
<view class="clear"> <view class="clear">
<text style="float: right; font-size: 28rpx; font-weight: 400; color: #656565; margin-right: 5px">{{ IllegalForm.license_plate.length }}/{{ maxWord }}</text> <text style="float: right; font-size: 28rpx; font-weight: 400; color: #656565; margin-right: 5px">{{ IllegalForm.license_plate.length }}/{{ maxWord }}</text>
<image v-if="IllegalForm.license_plate" @click="IllegalForm.license_plate = ''" mode="aspectFill" class="tep_icon" src="/static/icon/ic_bt_del@2x.png" /> <image v-if="IllegalForm.license_plate" @click="IllegalForm.license_plate = ''" mode="aspectFill" class="tep_icon" src="/static/icon/ic_bt_del@2x.png" />
...@@ -552,17 +552,19 @@ export default { ...@@ -552,17 +552,19 @@ export default {
mustUploadImageCount, mustUploadImageCount,
map: { map: {
[typeMap.illegality]: { [typeMap.illegality]: {
address: '违法地点',
}, },
[typeMap.incivility]: { [typeMap.incivility]: {
realNameTitle: '举报人信息', realNameTitle: '举报人信息',
content: '违法行为描述', content: '涉事行为描述',
time: '违法时间', time: '涉事时间',
address: '涉事地点',
}, },
[typeMap.fault]: { [typeMap.fault]: {
content: '申报行为描述', content: '申报行为描述',
realNameTitle: '申报人信息', realNameTitle: '申报人信息',
time: '申报时间', time: '申报时间',
address: '拍摄地点',
} }
}, },
...@@ -777,8 +779,10 @@ export default { ...@@ -777,8 +779,10 @@ export default {
}, },
}); });
const myAddress = `${'拍摄地点:' + ' '}${this.address}`; const { isIncivility, activeMap } = this
const myDay = `${'拍摄时间:' + ' '}${uni.$u.timeFormat(new Date(), 'yyyy-mm-dd hh:MM:ss')}`;
const myAddress = `${isIncivility ? activeMap.address : '拍摄地点'}: ${this.address}`;
const myDay = `${isIncivility ? activeMap.time : '拍摄时间'}: ${uni.$u.timeFormat(new Date(), 'yyyy-mm-dd hh:MM:ss')}`;
const { key } = JSON.parse(res); const { key } = JSON.parse(res);
...@@ -901,7 +905,7 @@ export default { ...@@ -901,7 +905,7 @@ export default {
// if (!this.IllegalForm.IllegalType) return t('请输入违法类型'); // if (!this.IllegalForm.IllegalType) return t('请输入违法类型');
} }
if (isDispersion) { if (isDispersion) {
if (!this.IllegalForm.license_plate) return t('请输入车牌号码'); if (!this.IllegalForm.license_plate) return t('请输入涉事车辆号牌');
} }
// if (!this.title && !this.isIncivility) return t('请输入标题'); // if (!this.title && !this.isIncivility) return t('请输入标题');
if (!this.content) return t('请输入' + activeMap.content); if (!this.content) return t('请输入' + activeMap.content);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论