Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 b03334fd
authored
Feb 14, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
广汇新增权益样式修改
1 parent
82ac366a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
28 deletions
src/views/ghPreSale/editEquity.vue
src/views/ghPreSale/equityList.vue
src/views/ghPreSale/financeIndex.vue
src/views/ghPreSale/serviceSet.vue
src/views/ghPreSale/editEquity.vue
View file @
b03334f
<!-- 编辑权益 -->
<
template
>
<div
class=
"before-sale edit-equity"
>
<div
class=
"before-sale edit-equity edit-order"
>
<div
style=
"padding: 17px 0 55px;"
>
<div
class=
"help-service"
>
<img
class=
"service-img"
src=
"./image/code.png"
/>
<p>
提单及服务咨询
</p>
...
...
@@ -81,11 +82,13 @@
<p
class=
"edit-title"
>
其他信息
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRefOther"
labelWidth=
"160px"
defaultWidth=
"320px"
formRef=
"editChildRefOther"
:formObj=
"editForm"
:formData=
"editFormDataOther"
:formRules=
"editRuleOther"
></glsx-combi-form>
</div>
</div>
<!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> -->
<div
class=
"footer"
:style=
"{ width: '100%' }"
>
<div
class=
"footer"
>
<el-button
v-show=
"routeInfo.addOrEdit == '1'"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
v-show=
"!['3', '5'].includes(routeInfo.addOrEdit)"
class=
"plain"
@
click=
"handleDraft"
>
草稿
</el-button>
<el-button
v-show=
"routeInfo.addOrEdit != '5'"
type=
"primary"
@
click=
"handleConfirm"
>
{{routeInfo.addOrEdit != '3' ? '提单' : '确定'}}
</el-button>
<el-button
v-show=
"routeInfo.addOrEdit == '1'"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
v-show=
"!['3', '5'].includes(routeInfo.addOrEdit)"
type=
"primary"
@
click=
"handleDraft"
>
草稿
</el-button>
<el-button
type=
"default"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
...
...
@@ -402,8 +405,7 @@ export default {
{
label
:
'实际销售人员'
,
name
:
'actualSalesPerson'
,
type
:
'input'
,
maxlength
:
100
type
:
'select'
}
],
// 公共数据
...
...
@@ -497,7 +499,9 @@ export default {
mounted
()
{
// this.footerLeft = document.querySelector('.base-container-right').offsetLeft
// this.footerWidth = document.documentElement.clientWidth - this.footerLeft
this
.
routeInfo
=
this
.
$route
.
params
// this.routeInfo = this.$route.params
const
urlParam
=
this
.
$route
.
params
this
.
routeInfo
=
JSON
.
parse
(
decodeURIComponent
(
urlParam
.
id
))
this
.
disabled
=
this
.
routeInfo
.
addOrEdit
==
'5'
// 提单成功 - 修改
if
(
this
.
routeInfo
.
isSuper
!=
'true'
)
{
...
...
@@ -1012,6 +1016,13 @@ export default {
border
:
1px
solid
rgb
(
220
,
223
,
230
,
0.5
);
box-shadow
:
0px
3px
6px
-4px
rgba
(
0
,
0
,
0
,
0.12
);
}
.edit-order
{
padding-top
:
0
!important
;
height
:
100%
;
overflow-y
:
auto
;
}
.help-service
.service-img
{
width
:
124px
;
height
:
124px
;
...
...
@@ -1029,11 +1040,11 @@ export default {
color
:
#5850ff
;
}
/* 客服 - end */
.
before-sale
.container
{
.
edit-order
.container
{
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
padding
:
20px
;
margin-bottom
:
2
0px
;
padding
:
0
!important
;
margin-bottom
:
1
0px
;
}
.before-sale
.edit-container
{
...
...
@@ -1049,11 +1060,11 @@ export default {
}
.before-sale
.footer
{
/* position: absolute;
bottom: 0; */
width
:
100%
;
position
:
absolute
;
bottom
:
0
;
height
:
64px
;
/* left: 320px; */
left
:
0
;
text-align
:
center
;
line-height
:
64px
;
background
:
#ffffff
;
...
...
@@ -1069,11 +1080,12 @@ export default {
flex
:
1
;
}
.before-sale
.edit-title
{
.edit-order
.edit-title
{
padding
:
0
20px
;
font-size
:
16px
;
font-weight
:
bold
;
height
:
4
8px
;
line-height
:
4
8px
;
height
:
5
8px
;
line-height
:
5
8px
;
border-bottom
:
1px
solid
#e7eaec
;
margin
:
0
0
;
}
...
...
@@ -1175,5 +1187,10 @@ export default {
color
:
#eb4e4e
;
cursor
:
pointer
;
}
.plain
{
border
:
1px
solid
#5850ff
;
color
:
#5850ff
;
}
/* 表格 */
</
style
>
src/views/ghPreSale/equityList.vue
View file @
b03334f
...
...
@@ -11,7 +11,7 @@
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
:size=
"size"
@
click=
"handleExport"
>
导出
</el-button>
</span>
</glsx-combi-form>
</div>
...
...
@@ -669,7 +669,15 @@ export default {
})
return
true
}
addOrEdit
==
1
?
this
.
$router
.
push
(
'/beforeSale/editEquity/'
+
addOrEdit
+
'/'
+
this
.
userInfo
.
admin
+
'/'
+
-
1
)
:
this
.
$router
.
push
(
'/beforeSale/editEquity/'
+
addOrEdit
+
'/'
+
this
.
userInfo
.
admin
+
'/'
+
row
.
contractNo
)
let
paraFormat
=
{
addOrEdit
,
contractNo
:
addOrEdit
==
1
?
-
1
:
row
.
contractNo
,
isSuper
:
this
.
userInfo
.
admin
}
const
urlpara
=
encodeURIComponent
(
JSON
.
stringify
(
paraFormat
))
console
.
log
(
paraFormat
,
888
)
addOrEdit
==
1
?
this
.
$router
.
push
(
'/ghPreSale/editEquity/'
+
urlpara
)
:
this
.
$router
.
push
(
'/ghPreSale/editEquity/'
+
urlpara
)
// addOrEdit == 1 ? this.$router.push('/beforeSale/editEquity/' + addOrEdit + '/' + this.userInfo.admin + '/' + -1) : this.$router.push('/beforeSale/editEquity/' + addOrEdit + '/' + this.userInfo.admin + '/' + row.contractNo)
},
handlePdfClose
()
{
...
...
@@ -845,6 +853,10 @@ export default {
display
:
flex
;
justify-content
:
flex-end
;
margin-bottom
:
20px
;
.
el-button
:
first-child
{
border
:
1px
solid
#5850ff
;
color
:
#5850ff
;
}
}
}
...
...
src/views/ghPreSale/financeIndex.vue
View file @
b03334f
<!-- 财务 - 权益订单列表 -->
<
template
>
<div
class=
"before-sale"
>
<div
class=
"container"
>
<div
class=
"container
finance
"
>
<div
class=
"number"
>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"100px"
defaultWidth=
"210px"
:formObj=
"searchForm"
:searchSelectObj=
"searchSelectObj"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
:size=
"size"
@
click=
"handleExport"
>
导出
</el-button>
</span>
</glsx-combi-form>
</div>
<!-- 表格区域 开始 -->
<GLTable
ref=
"equityRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"equityRef"
:pageSizes=
"sizeList"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
class=
"table-btns"
slot=
"table-btns"
slot-scope=
"scope"
>
<!--
<el-button
v-if=
"[2].includes(scope.scope.orderStatus)"
type=
"text"
@
click=
"handleAudit(scope.scope)"
>
{{
scope
.
scope
.
auditStatus
?
'撤销'
:
'财务已收款'
}}
</el-button>
-->
<el-button
v-if=
"[2].includes(scope.scope.orderStatus) && !scope.scope.auditStatus"
type=
"text"
@
click=
"handleAudit(scope.scope)"
>
财务已收款
</el-button>
...
...
@@ -423,6 +423,7 @@ export default {
}
]
},
sizeList
:
[
5
,
10
,
20
,
30
,
40
],
pageConf
:
{
pageSize
:
'pageCount'
,
pageNum
:
'pageSize'
,
totalCount
:
'total'
},
// 公共数据
baseData
:
{
...
...
@@ -660,6 +661,10 @@ export default {
margin-bottom
:
20px
;
}
.before-sale
{
padding-top
:
17px
;
}
.before-sale
.table-top-tips
{
/* position: relative; */
box-sizing
:
border-box
;
...
...
@@ -702,7 +707,7 @@ export default {
line-height
:
16px
;
}
.before-sale
.table-btns
.el-button
{
.before-sale
.
finance
.
table-btns
.el-button
{
padding
:
0
0
0
5px
;
margin-left
:
5px
;
border-left
:
1px
solid
#dcdfe6
;
...
...
@@ -753,6 +758,10 @@ export default {
display
:
flex
;
justify-content
:
flex-end
;
margin-bottom
:
20px
;
.
el-button
:
first-child
{
border
:
1px
solid
#5850ff
;
color
:
#5850ff
;
}
}
}
</
style
>
src/views/ghPreSale/serviceSet.vue
View file @
b03334f
...
...
@@ -6,23 +6,23 @@
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
labelWidth=
"144px"
:isBlock=
"isBlock"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
></glsx-combi-form>
<glsx-combi-form
ref=
"editFormRefBrand"
labelWidth=
"144px"
defaultWidth=
"215px"
formRef=
"editChildRefBrand"
:formObj
.
sync=
"editForm"
:formData=
"editFormDataCar"
>
<template
slot=
"vehicleBrandId"
>
<el-select
v-model=
"editForm.vehicleBrandId"
placeholder=
"请选择品牌"
filterable
@
change=
"handleChangeBrand(editForm.vehicleBrandId)"
style=
"width:
16
0px;"
clearable
>
<el-select
v-model=
"editForm.vehicleBrandId"
placeholder=
"请选择品牌"
filterable
@
change=
"handleChangeBrand(editForm.vehicleBrandId)"
style=
"width:
32
0px;"
clearable
>
<el-option
v-for=
"item in baseData.carBrandOptions"
:key=
"item.id"
:value=
"item.id"
:label=
"item.name"
/>
</el-select>
</
template
>
<
template
slot=
"vehicleSubBrandId"
>
<el-select
v-model=
"editForm.vehicleSubBrandId"
placeholder=
"请选择子品牌"
filterable
style=
"width:
16
0px;"
clearable
>
<el-select
v-model=
"editForm.vehicleSubBrandId"
placeholder=
"请选择子品牌"
filterable
style=
"width:
32
0px;"
clearable
>
<el-option
v-for=
"item in baseData.carChildOptions"
:key=
"item.id"
:value=
"item.id"
:label=
"item.name"
/>
</el-select>
</
template
>
</glsx-combi-form>
<div
style=
"margin-left: 140px"
>
<p>
针对包含“车主生活权益服务”的服务套餐,提供通过扫描小程序码进行领取“车主生活权益服务”。
</p>
<img
class=
"qrcodeImg"
:src=
"qrcodeUrl"
/>
<img
style=
"margin-top: 20px;"
class=
"qrcodeImg"
:src=
"qrcodeUrl"
/>
</div>
</div>
<!-- <div class="footer" :style="{ left: footerLeft + 'px', width: footerWidth + 'px' }"> -->
<div
class=
"footer"
:style=
"{ width: '100%' }"
>
<div
class=
"footer"
>
<el-button
type=
"primary"
style=
"width:88px;"
@
click=
"handleConfirm"
>
确定
</el-button>
</div>
</div>
...
...
@@ -159,6 +159,10 @@ export default {
padding
:
20px
;
}
.before-sale
{
padding-top
:
17px
;
}
.before-sale
.edit-container
{
margin-bottom
:
84px
;
}
...
...
@@ -172,11 +176,11 @@ export default {
}
.before-sale
.footer
{
width
:
calc
(
100%
+
40px
);
position
:
absolute
;
bottom
:
0
;
width
:
100%
;
height
:
64px
;
/* left: 220px; */
left
:
-40px
;
text-align
:
center
;
line-height
:
64px
;
background
:
#ffffff
;
...
...
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