Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
micro-customization-system
/
micro-trialrun
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 858ac8c6
authored
May 31, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
合并
2 parents
daf1384a
11db8732
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
49 additions
and
21 deletions
src/config/config.js
src/views/alarmCenter/removeAlarm.vue
src/views/reportManage/index.vue
src/views/specialShop/addShop/index.vue
src/views/specialShop/index.vue
src/views/testDrive/checkList.vue
src/views/vehicleSubmit/vehicleCheck/index.vue
src/config/config.js
View file @
858ac8c
...
...
@@ -24,7 +24,8 @@ const SPECIALSHOP_API = {
SHOP_SEARCH
:
'/trialdrive/specialshop/search'
,
GET_FENCE_DETAIL
:
'/trialdrive/specialshop/info'
,
SAVE_FENCE
:
'/trialdrive/specialshop/add'
,
UPDATE_FENCE
:
'/trialdrive/specialshop/edit'
UPDATE_FENCE
:
'/trialdrive/specialshop/edit'
,
EXPORT_TABLE
:
'/trialdrive/specialshop/export'
}
// 试驾报表
const
REPORT_API
=
{
...
...
src/views/alarmCenter/removeAlarm.vue
View file @
858ac8c
...
...
@@ -61,7 +61,7 @@ export default {
label
:
'关键字:'
,
type
:
'input'
,
inputType
:
'text'
,
prop
:
'key
Word
'
,
prop
:
'key
words
'
,
placeholder
:
'特约店编码|店名称 | 设备号 | 车型'
,
},
{
...
...
@@ -149,7 +149,7 @@ export default {
this
.
searchDataForm
.
startTime
=
this
.
searchForm
.
daterange
[
0
]
this
.
searchDataForm
.
endTime
=
this
.
searchForm
.
daterange
[
1
]
}
if
(
this
.
searchForm
.
key
Word
)
this
.
searchDataForm
.
keyWord
=
this
.
searchForm
.
keyWord
if
(
this
.
searchForm
.
key
words
)
this
.
searchDataForm
.
keywords
=
this
.
searchForm
.
keywords
resolve
()
})
},
...
...
src/views/reportManage/index.vue
View file @
858ac8c
...
...
@@ -57,7 +57,7 @@ export default {
{
type
:
'input'
,
inputType
:
'text'
,
prop
:
'key
Word
'
,
prop
:
'key
words
'
,
placeholder
:
'特约店编码|店名称'
,
},
{
...
...
@@ -126,7 +126,7 @@ export default {
this
.
searchDataForm
.
year
=
this
.
searchForm
.
date
.
split
(
'-'
)[
0
]
this
.
searchDataForm
.
month
=
this
.
searchForm
.
date
.
split
(
'-'
)[
1
]
}
if
(
this
.
searchForm
.
key
Word
)
this
.
searchDataForm
.
keyWord
=
this
.
searchForm
.
keyWord
if
(
this
.
searchForm
.
key
words
)
this
.
searchDataForm
.
keywords
=
this
.
searchForm
.
keywords
resolve
()
})
},
...
...
src/views/specialShop/addShop/index.vue
View file @
858ac8c
...
...
@@ -424,18 +424,18 @@ export default {
//params.endTime = form.endTime;
// params.shopName = form.specialShopName;
params
.
specialShopId
=
form
.
specialShopId
;
params
.
shopLevel
=
form
.
shopLevel
;
params
.
shapeType
=
form
.
shapeType
;
params
.
shopLevel
=
form
.
shopLevel
;
//
params.shapeType = form.shapeType;
// params.des = form.des;
// params.timeType = form.timeType;
if
(
params
.
shapeType
==
4
){
if
(
form
.
shapeType
==
4
){
params
.
areaCode
=
form
.
areaCode
;
params
.
areaString
=
form
.
areaString
;
}
else
if
(
params
.
shapeType
==
1
){
}
else
if
(
form
.
shapeType
==
1
){
params
.
lnglat
=
`
${
form
.
lng
}
,
${
form
.
lat
}
`
;
params
.
radius
=
form
.
radius
;
params
.
address
=
form
.
analysisAddress
;
}
else
if
(
params
.
shapeType
==
3
){
}
else
if
(
form
.
shapeType
==
3
){
params
.
lnglat
=
this
.
polygonPath
.
join
(
'|'
)
}
// params.bizFenceType = form.bizFenceType
...
...
src/views/specialShop/index.vue
View file @
858ac8c
...
...
@@ -111,6 +111,8 @@
<
script
>
import
{
getList
}
from
'services/specialshop'
import
{
getSimpleRoot
,
getSimpleList
}
from
'services/common'
import
{
SPECIALSHOP_API
}
from
'@/config/config'
import
store
from
'@/store'
export
default
{
data
()
{
return
{
...
...
@@ -184,15 +186,15 @@ export default {
type
:
'primary'
,
pType
:
'create'
},
{
id
:
2
,
name
:
'批量删除'
,
type
:
'default'
,
pType
:
'delete'
},
//
{
//
id: 2,
//
name: '批量删除',
//
type: 'default',
//
pType: 'delete'
//
},
{
id
:
3
,
name
:
'导出'
,
name
:
'导出
Excel
'
,
type
:
'default'
,
pType
:
'export'
}
...
...
@@ -213,12 +215,20 @@ export default {
this
.
searchForm
=
{}
},
btnClick
(
pType
,
scope
)
{
console
.
log
(
scope
)
const
{
shopId
}
=
scope
;
if
(
scope
)
{
const
{
shopId
}
=
scope
;
}
switch
(
pType
)
{
case
'create'
:
this
.
$router
.
push
({
name
:
'addShop'
})
break
case
'export'
:
this
.
$Common
.
exportExcel
({
url
:
`
${
store
.
state
.
baseURL
}${
SPECIALSHOP_API
.
EXPORT_TABLE
}
`
,
method
:
'GET'
,
data
:
this
.
searchForm
})
break
case
'edit'
:
this
.
$router
.
push
({
name
:
'addShop'
,
...
...
src/views/testDrive/checkList.vue
View file @
858ac8c
...
...
@@ -54,7 +54,17 @@
@
click=
"btnClick(j.pType, scope.scope)"
>
{{
j
.
name
}}
</el-button>
</
template
>
<
template
v-if=
"(j.pType !== 'pass' && j.pType !== 'reject') && scope.scope.approvalStatus != 1"
>
<
template
v-if=
"(j.pType !== 'pass' && j.pType !== 'reject') && scope.scope.approvalStatus != 1 && scope.scope.isAdd == 2"
>
<el-button
:key=
"idx"
:type=
"j.type || 'text'"
size=
"mini"
plain
@
click=
"btnClick(j.pType, scope.scope)"
>
{{
j
.
name
}}
</el-button>
</
template
>
<!-- isAdd => 1: 只展示查看原围栏 2: 展示查看原围栏和修改后的围栏 -->
<
template
v-if=
"(j.remark == 'viewOrigin') && scope.scope.approvalStatus != 1 && scope.scope.isAdd == 1"
>
<el-button
:key=
"idx"
:type=
"j.type || 'text'"
...
...
@@ -134,6 +144,9 @@ export default {
},
{
label
:
'审核结果'
,
prop
:
'approvalResult'
},
{
label
:
'审核结果备注'
,
prop
:
'remark'
}
],
tableOption
:
{
...
...
@@ -142,18 +155,22 @@ export default {
{
name
:
'查看原围栏'
,
pType
:
'view'
,
remark
:
'viewOrigin'
},
{
name
:
'查看修改后围栏'
,
pType
:
'view'
,
remark
:
'viewUpdated'
},
{
name
:
'通过'
,
pType
:
'pass'
,
remark
:
''
},
{
name
:
'驳回'
,
pType
:
'reject'
,
remark
:
''
}
]
}
...
...
src/views/vehicleSubmit/vehicleCheck/index.vue
View file @
858ac8c
...
...
@@ -84,7 +84,7 @@ export default {
label
:
'关键字:'
,
type
:
'input'
,
inputType
:
'text'
,
prop
:
'keyword'
,
prop
:
'keyword
s
'
,
placeholder
:
'特约店编码|店名称|围栏名称'
,
},
{
...
...
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