Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 ed6890d1
authored
Feb 25, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改showgh 字段初始值和判断
1 parent
badb0566
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
14 deletions
src/views/memberCenter/center.vue
src/views/memberCenter/order.vue
src/views/memberCenter/center.vue
View file @
ed6890d
This diff is collapsed.
Click to expand it.
src/views/memberCenter/order.vue
View file @
ed6890d
<
template
>
<
template
>
<div
class=
"live-room marketing"
>
<div
class=
"live-room marketing"
>
<div
class=
"live-room container"
>
<div
class=
"live-room container"
>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLCombiForm
ref=
"showSearch"
:rowNumber=
"1"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<!--
<div
class=
"flex"
>
<!--
<div
class=
"flex"
>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"70px"
label-position=
"right"
>
<el-form
:inline=
"true"
style=
"width: 100%"
:model=
"searchForm"
label-width=
"70px"
label-position=
"right"
>
<el-row>
<el-row>
...
@@ -46,12 +47,15 @@
...
@@ -46,12 +47,15 @@
</el-form>
</el-form>
</div>
-->
</div>
-->
<div
class=
"choseRow m-b-10"
>
<div
class=
"choseRow m-b-10"
>
<div
class=
"choseItem"
:class=
"
{ active: currentIndex == index + 1 }" v-for="(item, index) in choseList" :key="index" @click="tabClick(index + 1)">
<div
class=
"choseItem"
:class=
"
{ active: currentIndex == index + 1 }" v-for="(item, index) in choseList"
:key="index" @click="tabClick(index + 1)">
{{
item
}}
{{
item
}}
</div>
</div>
<el-button
:size=
"size"
class=
"default-blue-btn m-l-20"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
<el-button
:size=
"size"
class=
"default-blue-btn m-l-20"
type=
"default"
@
click=
"handleExport"
>
导出
</el-button>
</div>
</div>
<GLTable
ref=
"memberOrderRef"
v-if=
"isReload"
:noDataImg=
"url"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"memberOrderRef"
v-if=
"isReload"
:noDataImg=
"url"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"orderType"
slot-scope=
"scope"
style=
"width: 200px"
>
<div
slot=
"orderType"
slot-scope=
"scope"
style=
"width: 200px"
>
<template
v-if=
"scope.scope.orderType == 1"
>
<template
v-if=
"scope.scope.orderType == 1"
>
<span>
{{
scope
.
scope
.
packageType
==
1
?
'门店套餐'
:
'集团套餐'
}}
</span>
<span>
{{
scope
.
scope
.
packageType
==
1
?
'门店套餐'
:
'集团套餐'
}}
</span>
...
@@ -68,7 +72,8 @@
...
@@ -68,7 +72,8 @@
</span>
</span>
</GLTable>
</GLTable>
</div>
</div>
<GLDialog
class=
"refund-fill-boxss"
mode=
"small"
okText=
"确定"
title=
"提示"
:hasFooter=
"hasFooter"
:type=
"'error'"
@
onOk=
"isShow = false"
@
onCancel=
"isShow = false"
:visible
.
sync=
"isShow"
>
<GLDialog
class=
"refund-fill-boxss"
mode=
"small"
okText=
"确定"
title=
"提示"
:hasFooter=
"hasFooter"
:type=
"'error'"
@
onOk=
"isShow = false"
@
onCancel=
"isShow = false"
:visible
.
sync=
"isShow"
>
<div
class=
"dialog-refund"
>
<div
class=
"dialog-refund"
>
<img
class=
"img"
src=
"../../images/warn.png"
/>
<img
class=
"img"
src=
"../../images/warn.png"
/>
<div>
该会员在升级黑卡会员期间,已购买过生活权益
</div>
<div>
该会员在升级黑卡会员期间,已购买过生活权益
</div>
...
@@ -76,7 +81,8 @@
...
@@ -76,7 +81,8 @@
<div>
暂不支持退款
</div>
<div>
暂不支持退款
</div>
</div>
</div>
</GLDialog>
</GLDialog>
<GLDialog
class=
"refund-fill-box"
mode=
"mid"
title=
"退款确认"
:hasFooter=
"hasFooter"
:type=
"'error'"
@
onOk=
"refundConfirmDialog"
@
onCancel=
"refundVisible = false"
:visible
.
sync=
"refundVisible"
>
<GLDialog
class=
"refund-fill-box"
mode=
"mid"
title=
"退款确认"
:hasFooter=
"hasFooter"
:type=
"'error'"
@
onOk=
"refundConfirmDialog"
@
onCancel=
"refundVisible = false"
:visible
.
sync=
"refundVisible"
>
<div
class=
"dialog-form"
>
<div
class=
"dialog-form"
>
<label>
说明:
</label>
<label>
说明:
</label>
<el-input
v-model
.
trim=
"refund"
type=
"textarea"
:rows=
"3"
placeholder=
"请输入退款说明"
></el-input>
<el-input
v-model
.
trim=
"refund"
type=
"textarea"
:rows=
"3"
placeholder=
"请输入退款说明"
></el-input>
...
@@ -101,7 +107,7 @@ export default {
...
@@ -101,7 +107,7 @@ export default {
accountLevel
:
0
,
//1,2,3,4工厂,省代,市代,门店
accountLevel
:
0
,
//1,2,3,4工厂,省代,市代,门店
url
:
url
,
url
:
url
,
isReload
:
true
,
isReload
:
true
,
showGh
:
fals
e
,
showGh
:
tru
e
,
size
:
'small'
,
size
:
'small'
,
searchForm
:
{
searchForm
:
{
orderStatus
:
''
,
//默认查询全部
orderStatus
:
''
,
//默认查询全部
...
@@ -290,8 +296,9 @@ export default {
...
@@ -290,8 +296,9 @@ export default {
this
.
merchantModel
=
this
.
$globalState
.
session
.
merchantModel
this
.
merchantModel
=
this
.
$globalState
.
session
.
merchantModel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
}
}
this
.
showGh
=
window
.
location
.
host
.
indexOf
(
'cgacar'
)
!=
-
1
// 取消判断
if
(
this
.
showGh
)
this
.
judgeGh
()
// this.showGh = window.location.host.indexOf('cgacar') != -1
if
(
this
.
showGh
)
this
.
judgeGh
()
// if (this.$isGroupUp) {
// if (this.$isGroupUp) {
// let idx = this.tableParams.tableColumns.findIndex(item => item.label == '推荐人')
// let idx = this.tableParams.tableColumns.findIndex(item => item.label == '推荐人')
// this.tableParams.tableColumns.splice(idx, 1)
// this.tableParams.tableColumns.splice(idx, 1)
...
@@ -302,7 +309,8 @@ export default {
...
@@ -302,7 +309,8 @@ export default {
},
},
methods
:
{
methods
:
{
judgeGh
()
{
judgeGh
()
{
this
.
searchFormData
.
push
({
this
.
searchFormData
.
push
(
{
label
:
'收款商户'
,
label
:
'收款商户'
,
name
:
'payMerchantName'
,
name
:
'payMerchantName'
,
type
:
'input'
,
type
:
'input'
,
...
@@ -319,8 +327,10 @@ export default {
...
@@ -319,8 +327,10 @@ export default {
name
:
'standNo'
,
name
:
'standNo'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
100
maxlength
:
100
})
}
this
.
tableParams
.
tableColumns
.
push
({
)
this
.
tableParams
.
tableColumns
.
push
(
{
label
:
'收款商户'
,
label
:
'收款商户'
,
width
:
'140px'
,
width
:
'140px'
,
prop
:
'payMerchantName'
prop
:
'payMerchantName'
...
@@ -334,7 +344,8 @@ export default {
...
@@ -334,7 +344,8 @@ export default {
label
:
'车架号'
,
label
:
'车架号'
,
width
:
'140px'
,
width
:
'140px'
,
prop
:
'standNo'
prop
:
'standNo'
})
}
)
},
},
getOptionsList
(
formName
,
hasAll
=
true
,
refreshSigle
)
{
getOptionsList
(
formName
,
hasAll
=
true
,
refreshSigle
)
{
if
(
refreshSigle
)
{
if
(
refreshSigle
)
{
...
@@ -509,9 +520,11 @@ export default {
...
@@ -509,9 +520,11 @@ export default {
border-color
:
#5850ff
;
border-color
:
#5850ff
;
width
:
215px
;
width
:
215px
;
}
}
.el-range-editor--small.el-input__inner
{
.el-range-editor--small.el-input__inner
{
width
:
215px
;
width
:
215px
;
}
}
.container
{
.container
{
.choseRow
{
.choseRow
{
display
:
flex
;
display
:
flex
;
...
@@ -519,6 +532,7 @@ export default {
...
@@ -519,6 +532,7 @@ export default {
position
:
relative
;
position
:
relative
;
width
:
367px
;
width
:
367px
;
left
:
calc
(
100%
-
367px
);
left
:
calc
(
100%
-
367px
);
.choseItem
{
.choseItem
{
display
:
inline-block
;
display
:
inline-block
;
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -535,43 +549,50 @@ export default {
...
@@ -535,43 +549,50 @@ export default {
border-bottom
:
1px
solid
#d5d5d5
;
border-bottom
:
1px
solid
#d5d5d5
;
//
border-left
:
1px
solid
#d5d5d5
;
//
border-left
:
1px
solid
#d5d5d5
;
}
}
.active
{
.active
{
color
:
#ffffff
;
color
:
#ffffff
;
background
:
#5850ff
;
background
:
#5850ff
;
}
}
}
}
.choseItem
:nth-child
(
1
)
{
.choseItem
:nth-child
(
1
)
{
border-left
:
1px
solid
#d5d5d5
;
border-left
:
1px
solid
#d5d5d5
;
}
}
}
}
.refund-fill-box
{
.refund-fill-box
{
.dialog-form
{
.dialog-form
{
padding
:
26px
36px
46px
36px
;
padding
:
26px
36px
46px
36px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
display
:
flex
;
display
:
flex
;
label
{
label
{
white-space
:
nowrap
;
white-space
:
nowrap
;
}
}
}
}
}
}
.refund-fill-boxss
{
.refund-fill-boxss
{
/deep/
.btn-three
{
/deep/
.btn-three
{
display
:
none
;
display
:
none
;
}
}
.dialog-refund
{
.dialog-refund
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
flex-direction
:
column
;
flex-direction
:
column
;
padding-bottom
:
19px
;
padding-bottom
:
19px
;
img
{
img
{
width
:
32px
;
width
:
32px
;
height
:
32px
;
height
:
32px
;
padding-bottom
:
12px
;
padding-bottom
:
12px
;
}
}
}
}
//
::v-deep
.el-dialog__footer
{
//
::v-deep
.el-dialog__footer
{
//
text-align
:
center
;
//
text-align
:
center
;
//
}
//
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
}
</
style
>
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