Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-presale
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 13dbc771
authored
Aug 16, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
UI修改
1 parent
7d465e41
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
68 deletions
src/views/beforeSale/equityList.vue
src/views/config/index.vue
src/views/worryFree/index.vue
src/views/beforeSale/equityList.vue
View file @
13dbc77
...
@@ -350,17 +350,14 @@ export default {
...
@@ -350,17 +350,14 @@ export default {
label
:
'车主姓名'
,
label
:
'车主姓名'
,
prop
:
'customerName'
,
prop
:
'customerName'
,
line
:
1
,
line
:
1
,
width
:
'200px'
,
width
:
'200px'
formatter
:
cellValue
=>
{
return
cellValue
.
customerName
||
'-'
}
},
},
{
{
label
:
'合同号'
,
label
:
'合同号'
,
prop
:
'contractNo'
,
prop
:
'contractNo'
,
width
:
250
,
width
:
250
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
[
2
,
4
,
5
].
includes
(
cellValue
.
orderStatus
)
?
cellValue
.
contractNo
||
'-
'
:
'
-'
return
[
2
,
4
,
5
].
includes
(
cellValue
.
orderStatus
)
?
cellValue
.
contractNo
||
'-
-'
:
'-
-'
}
}
},
},
{
{
...
@@ -369,7 +366,7 @@ export default {
...
@@ -369,7 +366,7 @@ export default {
prop
:
'successDate'
,
prop
:
'successDate'
,
width
:
200
,
width
:
200
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
successDate
?
dayjs
(
cellValue
.
successDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
return
cellValue
.
successDate
?
dayjs
(
cellValue
.
successDate
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-
-
'
}
}
},
},
{
{
...
@@ -378,76 +375,56 @@ export default {
...
@@ -378,76 +375,56 @@ export default {
prop
:
'billingDate'
,
prop
:
'billingDate'
,
width
:
'130px'
,
width
:
'130px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
billingDate
?
dayjs
(
cellValue
.
billingDate
).
format
(
'YYYY-MM-DD'
)
:
'-'
return
cellValue
.
billingDate
?
dayjs
(
cellValue
.
billingDate
).
format
(
'YYYY-MM-DD'
)
:
'-
-
'
}
}
},
},
{
{
label
:
'店面名称'
,
label
:
'店面名称'
,
line
:
1
,
line
:
1
,
prop
:
'merchantName'
,
prop
:
'merchantName'
,
width
:
'160px'
,
width
:
'160px'
formatter
:
cellValue
=>
{
return
cellValue
.
merchantName
||
'-'
}
},
},
{
{
label
:
'车品牌'
,
label
:
'车品牌'
,
line
:
1
,
line
:
1
,
prop
:
'vehicleBrandName'
,
prop
:
'vehicleBrandName'
,
width
:
'160px'
,
width
:
'160px'
formatter
:
cellValue
=>
{
return
cellValue
.
vehicleBrandName
||
'-'
}
},
},
{
{
label
:
'车系'
,
label
:
'车系'
,
line
:
1
,
line
:
1
,
width
:
'160px'
,
width
:
'160px'
,
prop
:
'vehicleSeriesName'
,
prop
:
'vehicleSeriesName'
formatter
:
cellValue
=>
{
return
cellValue
.
vehicleSeriesName
||
'-'
}
},
},
{
{
label
:
'无忧卡卡号'
,
label
:
'无忧卡卡号'
,
line
:
1
,
line
:
1
,
prop
:
'cardSeqNo'
,
prop
:
'cardSeqNo'
,
width
:
'200px'
,
width
:
'200px'
formatter
:
cellValue
=>
{
return
cellValue
.
cardSeqNo
||
'-'
}
},
},
{
{
label
:
'车架号'
,
label
:
'车架号'
,
prop
:
'vin'
,
prop
:
'vin'
,
width
:
'200px'
,
width
:
'200px'
formatter
:
cellValue
=>
{
return
cellValue
.
vin
||
'-'
}
},
},
{
{
label
:
'电话'
,
label
:
'电话'
,
prop
:
'customerPhone'
,
prop
:
'customerPhone'
,
width
:
'160px'
,
width
:
'160px'
formatter
:
cellValue
=>
{
return
cellValue
.
customerPhone
||
'-'
}
},
},
{
{
label
:
'产品名称'
,
label
:
'产品名称'
,
prop
:
'packageName'
,
prop
:
'packageName'
,
width
:
'200px'
,
width
:
'200px'
formatter
:
cellValue
=>
{
return
cellValue
.
packageName
||
'-'
}
},
},
{
{
label
:
'无忧保障服务费'
,
label
:
'无忧保障服务费'
,
line
:
1
,
line
:
1
,
align
:
'right'
,
prop
:
'actualSalesPrice'
,
prop
:
'actualSalesPrice'
,
width
:
'160px'
,
width
:
'160px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
actualSalesPrice
?
(
cellValue
.
actualSalesPrice
/
100
).
toFixed
(
2
)
:
'
-
'
return
cellValue
.
actualSalesPrice
?
(
cellValue
.
actualSalesPrice
/
100
).
toFixed
(
2
)
:
'
0
'
}
}
},
},
// {
// {
...
@@ -474,7 +451,7 @@ export default {
...
@@ -474,7 +451,7 @@ export default {
width
:
130
,
width
:
130
,
prop
:
'servicePeriod'
,
prop
:
'servicePeriod'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
servicePeriod
?
`
${
cellValue
.
servicePeriod
}
年`
:
'-'
return
cellValue
.
servicePeriod
?
`
${
cellValue
.
servicePeriod
}
年`
:
'-
-
'
}
}
},
},
{
{
...
@@ -483,7 +460,7 @@ export default {
...
@@ -483,7 +460,7 @@ export default {
prop
:
'effectiveDate'
,
prop
:
'effectiveDate'
,
width
:
'130px'
,
width
:
'130px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
effectiveDate
?
dayjs
(
cellValue
.
effectiveDate
).
format
(
'YYYY-MM-DD'
)
:
'-'
return
cellValue
.
effectiveDate
?
dayjs
(
cellValue
.
effectiveDate
).
format
(
'YYYY-MM-DD'
)
:
'-
-
'
}
}
},
},
{
{
...
@@ -491,7 +468,7 @@ export default {
...
@@ -491,7 +468,7 @@ export default {
prop
:
'orderStatus'
,
prop
:
'orderStatus'
,
width
:
'170px'
,
width
:
'170px'
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
this
.
baseData
.
orderStatusList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
orderStatus
)
?
this
.
baseData
.
orderStatusList
.
find
(
item
=>
item
.
confId
==
cellValue
.
orderStatus
).
confName
:
'-'
return
this
.
baseData
.
orderStatusList
.
map
(
item
=>
item
.
confId
).
includes
(
cellValue
.
orderStatus
)
?
this
.
baseData
.
orderStatusList
.
find
(
item
=>
item
.
confId
==
cellValue
.
orderStatus
).
confName
:
'-
-
'
}
}
},
},
// {
// {
...
@@ -572,27 +549,18 @@ export default {
...
@@ -572,27 +549,18 @@ export default {
{
{
label
:
'省代'
,
label
:
'省代'
,
width
:
150
,
width
:
150
,
prop
:
'provinceMerchantName'
,
prop
:
'provinceMerchantName'
formatter
:
cellValue
=>
{
return
cellValue
.
provinceMerchantName
||
'-'
}
},
},
{
{
label
:
'市代'
,
label
:
'市代'
,
width
:
150
,
width
:
150
,
prop
:
'cityMerchantName'
,
prop
:
'cityMerchantName'
formatter
:
cellValue
=>
{
return
cellValue
.
cityMerchantName
||
'-'
}
},
},
{
{
label
:
'操作人'
,
label
:
'操作人'
,
line
:
1
,
line
:
1
,
prop
:
'updatedBy'
,
prop
:
'updatedBy'
,
width
:
'140px'
,
width
:
'140px'
formatter
:
cellValue
=>
{
return
cellValue
.
updatedBy
||
'-'
}
},
},
{
{
label
:
'操作'
,
label
:
'操作'
,
...
...
src/views/config/index.vue
View file @
13dbc77
...
@@ -7,8 +7,9 @@
...
@@ -7,8 +7,9 @@
<div
class=
"row-btns"
style=
"margin-top: 20px"
>
<div
class=
"row-btns"
style=
"margin-top: 20px"
>
<!--
<el-button
size=
"small"
@
click=
"toggleAll"
>
全选
</el-button>
-->
<!--
<el-button
size=
"small"
@
click=
"toggleAll"
>
全选
</el-button>
-->
<!--
<el-checkbox
v-model=
"checkbox"
@
change=
"toggleAll"
style=
"margin-left:20px"
>
全选
</el-checkbox>
-->
<!--
<el-checkbox
v-model=
"checkbox"
@
change=
"toggleAll"
style=
"margin-left:20px"
>
全选
</el-checkbox>
-->
<div
style=
"float: right"
>
<div
style=
"float: right;"
class=
"primary_plain_btn"
>
<el-button
size=
"small"
@
click=
"batchOperation(1)"
>
批量开通
</el-button>
<el-button
size=
"small"
plain
@
click=
"exportTable"
>
导出
</el-button>
<el-button
size=
"small"
plain
@
click=
"batchOperation(1)"
>
批量开通
</el-button>
<el-button
size=
"small"
@
click=
"batchOperation(2)"
>
批量关闭
</el-button>
<el-button
size=
"small"
@
click=
"batchOperation(2)"
>
批量关闭
</el-button>
</div>
</div>
</div>
</div>
...
...
src/views/worryFree/index.vue
View file @
13dbc77
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
</GLTable>
</GLTable>
</div>
</div>
<!-- 详情弹窗 -->
<!-- 详情弹窗 -->
<
el-dialog
title=
"修改无忧卡"
v-if=
"detailDialog"
:visible
.
sync=
"detailDialog"
width=
"712px"
:before-close=
"handleClose"
class=
"detailDialog
"
>
<
GLDialog
title=
"修改无忧卡"
v-if=
"detailDialog"
:visible
.
sync=
"detailDialog"
mode=
"mid"
:before-close=
"handleClose
"
>
<el-form
:inline=
"true"
:model=
"detailDialogForm"
:rules=
"detailDialogRules"
ref=
"detailForm"
label-width=
"120px"
class=
"detailForm"
>
<el-form
:inline=
"true"
:model=
"detailDialogForm"
:rules=
"detailDialogRules"
ref=
"detailForm"
label-width=
"120px"
class=
"detailForm"
>
<div
class=
"form"
>
<div
class=
"form"
>
<el-row>
<el-row>
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
<el-button
size=
"small"
@
click=
"cancelDetailDialog"
>
取 消
</el-button>
<el-button
size=
"small"
@
click=
"cancelDetailDialog"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"submitForm('detailForm')"
>
确 定
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"submitForm('detailForm')"
>
确 定
</el-button>
</span>
</span>
</
el-d
ialog>
</
GLD
ialog>
</div>
</div>
</
template
>
</
template
>
...
@@ -405,8 +405,8 @@ export default {
...
@@ -405,8 +405,8 @@ export default {
PC0007
:
'整车全损无忧'
,
PC0007
:
'整车全损无忧'
,
PC0008
:
'碰撞无忧'
PC0008
:
'碰撞无忧'
}[
cellValue
.
packageCode
]
}[
cellValue
.
packageCode
]
}
}
,
// minWidth: '200'
width
:
220
},
},
{
{
label
:
'使用时间'
,
label
:
'使用时间'
,
...
@@ -417,22 +417,20 @@ export default {
...
@@ -417,22 +417,20 @@ export default {
}
else
{
}
else
{
return
''
return
''
}
}
}
},
width
:
220
},
},
{
{
label
:
'使用者'
,
label
:
'使用者'
,
prop
:
'useMerchantName'
prop
:
'useMerchantName'
// minWidth: '200'
},
},
{
{
label
:
'使用年限'
,
label
:
'使用年限'
,
prop
:
'servicePeriod'
prop
:
'servicePeriod'
// minWidth: '200'
},
},
{
{
label
:
'具体价格'
,
label
:
'具体价格'
,
prop
:
'actualPrice'
prop
:
'actualPrice'
// minWidth: '200'
}
}
]
]
}
}
...
@@ -597,13 +595,6 @@ export default {
...
@@ -597,13 +595,6 @@ export default {
margin-top
:
5px
;
margin-top
:
5px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
/
deep
/
.el-dialog__footer
{
padding
:
16px
20px
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
border-top
:
1px
solid
#e6e6e6
;
text-align
:
center
;
}
/
deep
/
.el-alert
{
/
deep
/
.el-alert
{
height
:
40px
;
height
:
40px
;
background
:
#e6e9ff
;
background
:
#e6e9ff
;
...
...
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