Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-scene
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 01960592
authored
Oct 25, 2023
by
zhangquan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
69fc68ab
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
8 deletions
src/views/leadManage/collision.vue
src/views/leadManage/sendRepairList.vue
src/views/leadManage/snManageList.vue
src/views/leadManage/collision.vue
View file @
0196059
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
</div>
</div>
</
template
>
</
template
>
<div
class=
"empty-wrap"
v-else
>
<div
class=
"empty-wrap"
v-else
>
<img
class=
"empty-img"
src=
"@/images/empty-file.png"
alt=
""
@
click=
"previewFile(item)"
>
<img
class=
"empty-img"
src=
"@/images/empty-file.png"
alt=
""
>
<p>
暂无碰撞视频、暂无碰撞图片
</p>
<p>
暂无碰撞视频、暂无碰撞图片
</p>
</div>
</div>
</div>
</div>
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<span
class=
"title"
>
事故地点
</span>
<span
class=
"title"
>
事故地点
</span>
<div
v-if=
"showMap"
id=
"mapContainer"
></div>
<div
v-if=
"showMap"
id=
"mapContainer"
></div>
<div
class=
"empty-wrap"
v-else
>
<div
class=
"empty-wrap"
v-else
>
<img
class=
"empty-img"
style=
"height: 60px;"
src=
"@/images/empty-addr.png"
alt=
""
@
click=
"previewFile(item)"
>
<img
class=
"empty-img"
style=
"height: 60px;"
src=
"@/images/empty-addr.png"
alt=
""
>
<p>
未获取到设备定位
</p>
<p>
未获取到设备定位
</p>
</div>
</div>
</div>
</div>
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<span
class=
"title"
>
行车速度趋势(Km/h)
</span>
<span
class=
"title"
>
行车速度趋势(Km/h)
</span>
<div
v-if=
"showMap"
class=
"eChart-box"
id=
"echarts"
></div>
<div
v-if=
"showMap"
class=
"eChart-box"
id=
"echarts"
></div>
<div
class=
"empty-wrap"
v-else
>
<div
class=
"empty-wrap"
v-else
>
<img
class=
"empty-img"
style=
"height: 142px;width: 338px;"
src=
"@/images/empty-speed.png"
alt=
""
@
click=
"previewFile(item)"
>
<img
class=
"empty-img"
style=
"height: 142px;width: 338px;"
src=
"@/images/empty-speed.png"
alt=
""
>
<p>
未获取到行车速度趋势
</p>
<p>
未获取到行车速度趋势
</p>
</div>
</div>
</div>
</div>
...
...
src/views/leadManage/sendRepairList.vue
View file @
0196059
...
@@ -78,7 +78,7 @@
...
@@ -78,7 +78,7 @@
<i
v-if=
"basicForm.pushPhonesList.length>1"
@
click=
"delPhoneFn(index)"
class=
"el-icon-delete del"
></i>
<i
v-if=
"basicForm.pushPhonesList.length>1"
@
click=
"delPhoneFn(index)"
class=
"el-icon-delete del"
></i>
</div>
</div>
<div
v-if=
"basicForm.pushPhonesList.length<5"
class=
"add-btn"
@
click=
"addPhoneInputFn"
>
<div
v-if=
"basicForm.pushPhonesList.length<5"
class=
"add-btn"
@
click=
"addPhoneInputFn"
>
<img
src=
"@/assets/add.png"
/>
新增
标签
<img
src=
"@/assets/add.png"
/>
新增
手机号
</div>
</div>
</div>
</div>
</glsx-combi-form>
</glsx-combi-form>
...
@@ -112,10 +112,13 @@ export default {
...
@@ -112,10 +112,13 @@ export default {
validator
:
(
rule
,
value
,
callback
)
=>
{
validator
:
(
rule
,
value
,
callback
)
=>
{
const
list
=
this
.
basicForm
.
pushPhonesList
||
[]
const
list
=
this
.
basicForm
.
pushPhonesList
||
[]
const
emptyValIdx
=
this
.
basicForm
.
pushPhonesList
?.
findIndex
(
item
=>
!
item
)
const
emptyValIdx
=
this
.
basicForm
.
pushPhonesList
?.
findIndex
(
item
=>
!
item
)
const
copylist
=
[...
new
Set
(
JSON
.
parse
(
JSON
.
stringify
(
list
)))]
if
(
list
?.
length
<
1
||
emptyValIdx
>-
1
)
{
if
(
list
?.
length
<
1
||
emptyValIdx
>-
1
)
{
callback
(
new
Error
(
'请填写手机号'
))
callback
(
new
Error
(
'请填写手机号'
))
}
else
if
(
list
?.
length
>
5
)
{
}
else
if
(
list
?.
length
>
5
)
{
callback
(
new
Error
(
'手机号最多填写5个'
))
callback
(
new
Error
(
'手机号最多填写5个'
))
}
else
if
(
copylist
.
length
!==
list
.
length
){
callback
(
new
Error
(
'手机号不能重复'
))
}
else
{
}
else
{
callback
()
callback
()
}
}
...
@@ -331,8 +334,7 @@ export default {
...
@@ -331,8 +334,7 @@ export default {
{
{
label
:
'车架号'
,
label
:
'车架号'
,
prop
:
'standNo'
,
prop
:
'standNo'
,
width
:
200
,
width
:
230
line
:
1
},
},
{
{
label
:
'车型'
,
label
:
'车型'
,
...
...
src/views/leadManage/snManageList.vue
View file @
0196059
...
@@ -332,8 +332,7 @@ export default {
...
@@ -332,8 +332,7 @@ export default {
{
{
label
:
'车架号'
,
label
:
'车架号'
,
prop
:
'standNo'
,
prop
:
'standNo'
,
width
:
220
,
width
:
230
line
:
1
},
},
{
{
label
:
'车型'
,
label
:
'车型'
,
...
@@ -403,6 +402,7 @@ export default {
...
@@ -403,6 +402,7 @@ export default {
methods
:
{
methods
:
{
openImportDialog
(){
openImportDialog
(){
this
.
leadIntoDialogVisible
=
!
this
.
leadIntoDialogVisible
this
.
leadIntoDialogVisible
=
!
this
.
leadIntoDialogVisible
this
.
searchTable
()
},
},
handleOk
()
{
handleOk
()
{
this
.
$refs
.
deviceRef
.
$refs
.
formRef
.
validate
(
valid
=>
{
this
.
$refs
.
deviceRef
.
$refs
.
formRef
.
validate
(
valid
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment