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 01d09a6c
authored
Jul 21, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
344f4981
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
46 deletions
src/views/memberCenter/center.vue
src/views/memberCenter/orderDetail.vue
src/views/memberCenter/serviceAddUpdateLook.vue
src/views/memberCenter/setmeal.vue
src/views/memberCenter/setmealAddUpdate.vue
src/views/memberCenter/center.vue
View file @
01d09a6
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
<GLTable
ref=
"memberCenterRef"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"memberCenterRef"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchFormTable"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"cardInfo"
slot-scope=
"scope"
>
<div
slot=
"cardInfo"
slot-scope=
"scope"
>
<GLTable
ref=
"cardListRef"
:hasNum=
"false"
:hasPage=
"false"
:noDataImg=
"url"
:tableParams=
"cardParams"
:tableData=
"scope.scope.list"
></GLTable>
<GLTable
class=
"centerTable"
ref=
"cardListRef"
:hasNum=
"false"
:hasPage=
"false"
:noDataImg=
"url"
:tableParams=
"cardParams"
:tableData=
"scope.scope.list"
></GLTable>
</div>
</div>
<span
slot=
"accountName"
slot-scope=
"scope"
>
<span
slot=
"accountName"
slot-scope=
"scope"
>
<div>
{{ scope.scope.accountName }}
</div>
<div>
{{ scope.scope.accountName }}
</div>
...
@@ -132,9 +132,6 @@
...
@@ -132,9 +132,6 @@
</div>
</div>
</div>
</div>
</GLDialog>
</GLDialog>
<!-- <glsx-dialog title="权益详情" width="712px" :noBtnOk="true" :noCancel="true" :noClose="false" typeName="primary" btnCancelLabel="关闭" btnSize="small" :isVisible="isDialogVisible" :showClose="false" @closeDialog="handleClose" @confirmDialog="handleClose">
</glsx-dialog> -->
<!-- 推广弹窗 -->
<!-- 推广弹窗 -->
<GLDialog
:mode=
"mode"
title=
"试用推广"
:hasFooter=
"hasFooter"
:type=
"'error'"
@
onOk=
"handleQRConfirm"
@
onCancel=
"handleQRClose"
:visible
.
sync=
"isQRVisible"
>
<GLDialog
:mode=
"mode"
title=
"试用推广"
:hasFooter=
"hasFooter"
:type=
"'error'"
@
onOk=
"handleQRConfirm"
@
onCancel=
"handleQRClose"
:visible
.
sync=
"isQRVisible"
>
<el-form
class=
"proForm"
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"68px"
>
<el-form
class=
"proForm"
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"68px"
>
...
@@ -164,7 +161,6 @@ const cloneText = message => {
...
@@ -164,7 +161,6 @@ const cloneText = message => {
input
.
setSelectionRange
(
0
,
input
.
value
.
length
),
document
.
execCommand
(
'Copy'
)
input
.
setSelectionRange
(
0
,
input
.
value
.
length
),
document
.
execCommand
(
'Copy'
)
document
.
body
.
removeChild
(
input
)
document
.
body
.
removeChild
(
input
)
}
}
import
glsxDialog
from
'@/components/glsx-dialog'
import
{
getCenterListApi
,
getMoreMerchant
,
getCardContent
,
updateCardContent
,
memberExportApi
,
getQrUrl
,
getCardtypeList
}
from
'@/api/modules/center'
import
{
getCenterListApi
,
getMoreMerchant
,
getCardContent
,
updateCardContent
,
memberExportApi
,
getQrUrl
,
getCardtypeList
}
from
'@/api/modules/center'
import
{
statusList
,
memberTypeList
,
exportFn
}
from
'@/common/constant'
import
{
statusList
,
memberTypeList
,
exportFn
}
from
'@/common/constant'
export
default
{
export
default
{
...
@@ -173,9 +169,6 @@ export default {
...
@@ -173,9 +169,6 @@ export default {
return
data
return
data
}
}
},
},
components
:
{
// glsxDialog
},
data
()
{
data
()
{
return
{
return
{
mode
:
'mid'
,
mode
:
'mid'
,
...
@@ -289,15 +282,18 @@ export default {
...
@@ -289,15 +282,18 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'开通门店'
,
label
:
'开通门店'
,
prop
:
'merchantName'
prop
:
'merchantName'
,
width
:
300
},
},
{
{
label
:
'开通方式'
,
label
:
'开通方式'
,
prop
:
'activeTypeDesc'
prop
:
'activeTypeDesc'
,
width
:
200
},
},
{
{
label
:
'开通日期'
,
label
:
'开通日期'
,
prop
:
'activeTime'
prop
:
'activeTime'
,
width
:
300
}
}
]
]
},
},
...
@@ -582,6 +578,9 @@ export default {
...
@@ -582,6 +578,9 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.centerTable
{
padding-left
:
10px
;
}
/
deep
/
.el-input-number--small
{
/
deep
/
.el-input-number--small
{
width
:
53px
;
width
:
53px
;
margin
:
0
3px
;
margin
:
0
3px
;
...
...
src/views/memberCenter/orderDetail.vue
View file @
01d09a6
...
@@ -40,11 +40,11 @@
...
@@ -40,11 +40,11 @@
</glsx-descriptions>
</glsx-descriptions>
</div>
</div>
<
template
v-if=
"detailData.orderType == 1"
>
<
template
v-if=
"detailData.orderType == 1"
>
<div
class=
"order-info
m-b-7
"
>
<div
class=
"order-info"
>
<div
class=
"order-info-title"
>
套餐使用详情
</div>
<div
class=
"order-info-title"
>
套餐使用详情
</div>
<GLTable
class=
"meal-table"
ref=
"mealRef"
:searchForm=
"tableSearchForm"
:getListApi=
"getListApi"
:hasPage=
"false"
:tableParams=
"tableParams"
>
<GLTable
class=
"meal-table"
ref=
"mealRef"
:searchForm=
"tableSearchForm"
:getListApi=
"getListApi"
:hasPage=
"false"
:tableParams=
"tableParams"
>
<div
slot=
"verification"
slot-scope=
"scope"
>
<div
slot=
"verification"
slot-scope=
"scope"
>
<GLTable
:hasNum=
"false"
:hasPage=
"false"
:noDataImg=
"url"
:tableParams=
"verificationParams"
:tableData=
"scope.scope.verificationPackageCouponList"
>
<GLTable
:hasNum=
"false"
class=
"verificationTable"
:hasPage=
"false"
:noDataImg=
"url"
:tableParams=
"verificationParams"
:tableData=
"scope.scope.verificationPackageCouponList"
>
<span
slot=
"verificationDate"
slot-scope=
"scope"
>
<span
slot=
"verificationDate"
slot-scope=
"scope"
>
{{
dateFormatFun
(
scope
.
scope
.
verificationDate
)
}}
{{
dateFormatFun
(
scope
.
scope
.
verificationDate
)
}}
</span>
</span>
...
@@ -61,11 +61,9 @@
...
@@ -61,11 +61,9 @@
</div>
</div>
</
template
>
</
template
>
</div>
</div>
<div
class=
"footer-panel"
>
<GLFooter>
<div>
<el-button
type=
"primary"
@
click=
"goBack"
>
返回
</el-button>
<el-button
type=
"primary"
@
click=
"goBack"
>
返回
</el-button>
</GLFooter>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -223,12 +221,14 @@ export default {
...
@@ -223,12 +221,14 @@ export default {
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'核销门店'
,
label
:
'核销门店'
,
prop
:
'verificationMerchantName'
prop
:
'verificationMerchantName'
,
width
:
300
},
},
{
{
label
:
'核销日期'
,
label
:
'核销日期'
,
prop
:
'verificationDate'
,
prop
:
'verificationDate'
,
addHtml
:
'verificationDate'
addHtml
:
'verificationDate'
,
width
:
300
}
}
]
]
},
},
...
@@ -290,6 +290,7 @@ export default {
...
@@ -290,6 +290,7 @@ export default {
padding
:
15px
0
15px
20px
;
padding
:
15px
0
15px
20px
;
border-bottom
:
1px
solid
#d8d8d8
;
border-bottom
:
1px
solid
#d8d8d8
;
}
}
&
-wrap
{
&
-wrap
{
padding
:
32px
68px
;
padding
:
32px
68px
;
}
}
...
@@ -299,6 +300,9 @@ export default {
...
@@ -299,6 +300,9 @@ export default {
}
}
.meal-table
{
.meal-table
{
padding
:
20px
;
padding
:
20px
;
.verificationTable
{
padding-left
:
10px
;
}
.content-meal-logo
{
.content-meal-logo
{
width
:
58px
;
width
:
58px
;
height
:
22px
;
height
:
22px
;
...
...
src/views/memberCenter/serviceAddUpdateLook.vue
View file @
01d09a6
...
@@ -164,18 +164,11 @@
...
@@ -164,18 +164,11 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
<GLFooter>
class=
"footer-panel"
:style=
"{
left: footerLeft + 'px',
width: footerWidth + 'px'
}"
>
<el-button
type=
"primary"
@
click=
"submitForm('ruleForm')"
size=
"medium"
:loading=
"sloading"
v-if=
"showSubmit"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"goBack"
size=
"medium"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"goBack"
size=
"medium"
>
取消
</el-button>
</div
>
<el-button
type=
"primary"
@
click=
"submitForm('ruleForm')"
size=
"medium"
:loading=
"sloading"
v-if=
"showSubmit"
>
确定
</el-button
>
<
GLDialog
mode=
"small"
:hasFooter=
"hasFooter"
type=
"warning"
content=
"当前有内容信息未保存,是否继续返回?"
@
onOk=
"handleConfirm"
@
onCancel=
"handleClose"
:visible
.
sync=
"isDialogVisible"
>
<
/GLFooter
>
</GLDialog>
<
GLDialog
mode=
"small"
:hasFooter=
"hasFooter"
type=
"warning"
content=
"当前有内容信息未保存,是否继续返回?"
@
onOk=
"handleConfirm"
@
onCancel=
"handleClose"
:visible
.
sync=
"isDialogVisible"
><
/GLDialog>
</div>
</div>
</template>
</template>
...
@@ -183,9 +176,6 @@
...
@@ -183,9 +176,6 @@
import
{
limitPrice
}
from
'@/common/constant'
import
{
limitPrice
}
from
'@/common/constant'
import
{
createService
,
detailService
,
updateService
}
from
'@/api/modules/service'
import
{
createService
,
detailService
,
updateService
}
from
'@/api/modules/service'
export
default
{
export
default
{
components
:
{
// glsxDialog
},
data
()
{
data
()
{
var
checkZero
=
(
rule
,
value
,
callback
)
=>
{
var
checkZero
=
(
rule
,
value
,
callback
)
=>
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
@@ -560,7 +550,7 @@ export default {
...
@@ -560,7 +550,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.live-room
{
.live-room
{
/deep/
.el-icon-warning
{
/deep/
.el-icon-warning
{
color
:
#5850ff
!important
;
color
:
#5850ff
!important
;
}
}
.topMsg
{
.topMsg
{
...
@@ -584,7 +574,7 @@ export default {
...
@@ -584,7 +574,7 @@ export default {
}
}
}
}
.container
{
.container
{
margin
:
0
0px
1
00
px
;
margin
:
0
0px
1
6
px
;
position
:
relative
;
position
:
relative
;
/deep/
.el-form-item__content
{
/deep/
.el-form-item__content
{
...
@@ -697,7 +687,6 @@ export default {
...
@@ -697,7 +687,6 @@ export default {
z-index
:
999
;
z-index
:
999
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0.1
);
}
}
}
}
.right_show
{
.right_show
{
position
:
absolute
;
position
:
absolute
;
...
...
src/views/memberCenter/setmeal.vue
View file @
01d09a6
...
@@ -263,7 +263,6 @@ export default {
...
@@ -263,7 +263,6 @@ export default {
}
}
},
},
created
()
{
created
()
{
console
.
log
(
this
.
$route
.
query
.
activetab
)
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
//运行在qiankun容器中
//运行在qiankun容器中
this
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
this
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
...
...
src/views/memberCenter/setmealAddUpdate.vue
View file @
01d09a6
...
@@ -65,12 +65,10 @@
...
@@ -65,12 +65,10 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<div
class=
"footer-panel"
>
<GLFooter>
<div>
<el-button
@
click=
"goBack"
size=
"medium"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm()"
size=
"medium"
:loading=
"sloading"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm()"
size=
"medium"
:loading=
"sloading"
>
提交
</el-button>
<el-button
@
click=
"goBack"
size=
"medium"
>
取消
</el-button>
</GLFooter>
</div>
</div>
<GLDialog
mode=
"small"
type=
"warning"
@
onOk=
"handleTipConfirm"
content=
"当前有内容信息未保存,是否继续返回?"
@
onCancel=
"handleTipClose"
:visible
.
sync=
"isTipDialogVisible"
></GLDialog>
<GLDialog
mode=
"small"
type=
"warning"
@
onOk=
"handleTipConfirm"
content=
"当前有内容信息未保存,是否继续返回?"
@
onCancel=
"handleTipClose"
:visible
.
sync=
"isTipDialogVisible"
></GLDialog>
<select-gift-dialog
v-if=
"isSelectGiftVisible"
:isSelectGiftVisible=
"isSelectGiftVisible"
:selectedGiftList=
"selectedMealList"
@
handleGiftConfirm=
"handleGiftConfirm"
@
handleGiftClose=
"handleGiftClose"
></select-gift-dialog>
<select-gift-dialog
v-if=
"isSelectGiftVisible"
:isSelectGiftVisible=
"isSelectGiftVisible"
:selectedGiftList=
"selectedMealList"
@
handleGiftConfirm=
"handleGiftConfirm"
@
handleGiftClose=
"handleGiftClose"
></select-gift-dialog>
</div>
</div>
...
@@ -460,7 +458,7 @@ export default {
...
@@ -460,7 +458,7 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.live-room
{
.live-room
{
/deep/
.el-icon-warning{
/deep/
.el-icon-warning
{
color
:
#5850ff
!important
;
color
:
#5850ff
!important
;
}
}
.topMsg
{
.topMsg
{
...
@@ -484,7 +482,7 @@ export default {
...
@@ -484,7 +482,7 @@ export default {
}
}
}
}
.container
{
.container
{
margin
:
0
0px
1
00
px
;
margin
:
0
0px
1
6
px
;
position
:
relative
;
position
:
relative
;
min-height
:
calc
(
100vh
-
300px
);
min-height
:
calc
(
100vh
-
300px
);
.allChoseWrap
{
.allChoseWrap
{
...
...
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