Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
csssp-xcx-h5
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
劳广强
csssp-xcx-h5
Commits
60aa169d
提交
60aa169d
authored
2月 21, 2023
作者:
杨斌基
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat(上报内容): 城市管理违法举报下的文字修改
上级
225eb474
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
14 行增加
和
10 行删除
+14
-10
index.vue
pages/record-content/index.vue
+14
-10
没有找到文件。
pages/record-content/index.vue
浏览文件 @
60aa169d
...
...
@@ -29,7 +29,7 @@
<view
class=
"step_box"
>
<view
class=
"tep_one"
>
<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
class=
"photo_list"
>
<view
v-if=
"address === '点击授权获取位置信息'"
class=
"address"
@
click=
"getAddress"
>
{{
address
}}
</view>
...
...
@@ -266,7 +266,7 @@
<
view
class
=
"step_box"
>
<
view
class
=
"tep_one"
>
<
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
class
=
"photo_list"
>
<
view
v
-
if
=
"address === '点击授权获取位置信息'"
class
=
"address"
@
click
=
"getAddress"
>
{{
!
showActive
?
null
:
address
}}
<
/view
>
...
...
@@ -329,10 +329,10 @@
<
view
v
-
if
=
"isDispersion"
class
=
"step_box"
>
<
view
class
=
"tep_one"
>
<
image
mode
=
"aspectFill"
class
=
"tep_icon"
src
=
"/static/icon/ic_rw_neirong@2x.png"
/>
<
view
class
=
"one"
>
{{
'
车牌号码
'
}}
<
/view
>
<
view
class
=
"one"
>
{{
'
涉事车牌号牌
'
}}
<
/view
>
<
/view
>
<
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"
>
<
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"
/>
...
...
@@ -552,17 +552,19 @@ export default {
mustUploadImageCount
,
map
:
{
[
typeMap
.
illegality
]:
{
address
:
'违法地点'
,
}
,
[
typeMap
.
incivility
]:
{
realNameTitle
:
'举报人信息'
,
content
:
'违法行为描述'
,
time
:
'违法时间'
,
content
:
'涉事行为描述'
,
time
:
'涉事时间'
,
address
:
'涉事地点'
,
}
,
[
typeMap
.
fault
]:
{
content
:
'申报行为描述'
,
realNameTitle
:
'申报人信息'
,
time
:
'申报时间'
,
address
:
'拍摄地点'
,
}
}
,
...
...
@@ -777,8 +779,10 @@ export default {
}
,
}
);
const
myAddress
=
`${'拍摄地点:' + ' '
}
${this.address
}
`
;
const
myDay
=
`${'拍摄时间:' + ' '
}
${uni.$u.timeFormat(new Date(), 'yyyy-mm-dd hh:MM:ss')
}
`
;
const
{
isIncivility
,
activeMap
}
=
this
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
);
...
...
@@ -901,7 +905,7 @@ export default {
// if (!this.IllegalForm.IllegalType) return t('请输入违法类型');
}
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.content) return t('请输入' + activeMap.content);
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论