Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 7d72605e
authored
Dec 21, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.1' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
into v1.0.1
2 parents
1ce06d61
b2956a0b
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
54 additions
and
59 deletions
src/components/relate-store-dialog/index.vue
src/components/selectSingleProDialog/index.vue
src/views/homeSet/index.vue
src/views/memberCenter/center.vue
src/views/memberCenter/orderDetail.vue
src/views/memberCenter/record.vue
src/views/memberCenter/service.vue
src/views/memberCenter/serviceAddUpdateLook.vue
src/views/memberCenter/setmeal.vue
src/views/orderShare/index.vue
src/views/zoneList/editZone.vue
src/components/relate-store-dialog/index.vue
View file @
7d72605
...
@@ -139,7 +139,8 @@ export default {
...
@@ -139,7 +139,8 @@ export default {
this
.
$message
({
this
.
$message
({
message
:
'请选择关联门店'
,
message
:
'请选择关联门店'
,
type
:
'warning'
,
type
:
'warning'
,
showClose
:
true
showClose
:
true
,
customClass
:
'message-Z-zinde'
})
})
return
true
return
true
}
}
...
...
src/components/selectSingleProDialog/index.vue
View file @
7d72605
...
@@ -100,7 +100,11 @@ export default {
...
@@ -100,7 +100,11 @@ export default {
},
},
handleSingleSelectConfirm
()
{
handleSingleSelectConfirm
()
{
if
(
!
this
.
infoId
)
{
if
(
!
this
.
infoId
)
{
this
.
$message
.
error
(
'请选择商品'
)
this
.
$message
({
message
:
'请选择商品'
,
type
:
'error'
,
customClass
:
'message-Z-zinde'
})
return
true
return
true
}
}
var
selectInfo
=
this
.
productList
.
find
(
item
=>
item
.
id
===
this
.
infoId
)
var
selectInfo
=
this
.
productList
.
find
(
item
=>
item
.
id
===
this
.
infoId
)
...
...
src/views/homeSet/index.vue
View file @
7d72605
...
@@ -185,7 +185,7 @@ export default {
...
@@ -185,7 +185,7 @@ export default {
editForm
:
{
editForm
:
{
merchantQrcode
:
''
,
merchantQrcode
:
''
,
noticeContent
:
''
,
noticeContent
:
''
,
preferentialPolicy
:
''
,
//
preferentialPolicy: '',
customerServerUserId
:
''
,
customerServerUserId
:
''
,
bannerList
:
[]
bannerList
:
[]
},
},
...
@@ -249,19 +249,19 @@ export default {
...
@@ -249,19 +249,19 @@ export default {
}
}
]
]
},
},
{
//
{
title
:
'新车优惠政策'
,
//
title: '新车优惠政策',
editFormData
:
[
//
editFormData: [
{
//
{
label
:
'优惠政策'
,
//
label: '优惠政策',
name
:
'preferentialPolicy'
,
//
name: 'preferentialPolicy',
type
:
'input'
,
//
type: 'input',
rows
:
'4'
,
//
rows: '4',
inputType
:
'textarea'
,
//
inputType: 'textarea',
maxlength
:
'300'
//
maxlength: '300'
}
//
}
]
//
]
},
//
},
{
{
title
:
'在线客服'
,
title
:
'在线客服'
,
editFormData
:
[
editFormData
:
[
...
@@ -324,7 +324,7 @@ export default {
...
@@ -324,7 +324,7 @@ export default {
this
.
editForm
.
bannerList
=
[]
this
.
editForm
.
bannerList
=
[]
this
.
editForm
.
noticeContent
=
res
.
noticeContent
this
.
editForm
.
noticeContent
=
res
.
noticeContent
this
.
editForm
.
merchantQrcode
=
res
.
merchantQrcode
this
.
editForm
.
merchantQrcode
=
res
.
merchantQrcode
this
.
editForm
.
preferentialPolicy
=
res
.
preferentialPolicy
//
this.editForm.preferentialPolicy = res.preferentialPolicy
this
.
editForm
.
customerServerUserId
=
''
this
.
editForm
.
customerServerUserId
=
''
// 在线客服
// 在线客服
this
.
customerServerList
=
[]
this
.
customerServerList
=
[]
...
@@ -397,9 +397,9 @@ export default {
...
@@ -397,9 +397,9 @@ export default {
}
}
},
},
handleBannerAdd
()
{
handleBannerAdd
()
{
if
(
this
.
editForm
.
bannerList
.
length
>=
4
)
{
if
(
this
.
editForm
.
bannerList
.
length
>=
6
)
{
this
.
$message
({
this
.
$message
({
message
:
'最多只能新增
4
个banner'
,
message
:
'最多只能新增
6
个banner'
,
type
:
'error'
type
:
'error'
})
})
return
true
return
true
...
@@ -446,7 +446,6 @@ export default {
...
@@ -446,7 +446,6 @@ export default {
case
'2'
:
case
'2'
:
break
;
break
;
case
'3'
:
case
'3'
:
console
.
log
(
'视频介绍'
)
break
;
break
;
}
}
},
},
...
@@ -528,9 +527,9 @@ export default {
...
@@ -528,9 +527,9 @@ export default {
// },
// },
getConsultant
()
{
getConsultant
()
{
this
.
$apis
.
homeSet
.
getConsultantListApi
({
merchantId
:
this
.
userInfo
.
merchantId
,
followTypes
:
[
3
]
}).
then
(
res
=>
{
this
.
$apis
.
homeSet
.
getConsultantListApi
({
merchantId
:
this
.
userInfo
.
merchantId
,
followTypes
:
[
3
]
}).
then
(
res
=>
{
// console.log(res)
this
.
baseData
.
consultantList
=
res
this
.
baseData
.
consultantList
=
res
this
.
externalFormList
[
4
].
editFormData
[
0
].
optionList
=
res
var
idx
=
this
.
externalFormList
.
findIndex
(
item
=>
item
.
title
==
'在线客服'
)
this
.
externalFormList
[
idx
].
editFormData
[
0
].
optionList
=
res
})
})
},
},
// 在线客服-end
// 在线客服-end
...
@@ -576,27 +575,10 @@ export default {
...
@@ -576,27 +575,10 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
>
/* .home-set .container {
padding: 20px 24px 20px 0;
} */
.home-set
.home-img-w-h
{
.home-set
.home-img-w-h
{
width
:
264px
;
width
:
264px
;
height
:
108px
;
height
:
108px
;
}
}
/* .wechat-container {
width: 375px;
margin-right: 45px;
background: #ffffff;
position: relative;
}
.wechat-container .w-100-per {
width: 100%;
}
.wechat-container .wechat-box {
border: 1px solid #cecece;
width: 100%;
border-radius: 2px;
} */
.home-set
.wechat-container
.wechat-box
.wechant-back
{
.home-set
.wechat-container
.wechat-box
.wechant-back
{
width
:
252px
;
width
:
252px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
@@ -648,7 +630,6 @@ export default {
...
@@ -648,7 +630,6 @@ export default {
.home-set
.img-56
{
.home-set
.img-56
{
width
:
56px
;
width
:
56px
;
height
:
56px
;
height
:
56px
;
/* margin-right: 12px; */
}
}
.home-set
.m-t-8
{
.home-set
.m-t-8
{
margin-top
:
8px
;
margin-top
:
8px
;
...
...
src/views/memberCenter/center.vue
View file @
7d72605
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
</el-form-item>
</el-form-item>
</el-row>
</el-row>
</el-form>
</el-form>
<GLTable
ref=
"memberCenterRef"
v-if=
"isReload"
@
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"
>
<span
slot=
"accountName"
slot-scope=
"scope"
>
<span
slot=
"accountName"
slot-scope=
"scope"
>
<div>
{{ scope.scope.accountName }}
</div>
<div>
{{ scope.scope.accountName }}
</div>
<div>
{{ scope.scope.mobile }}
</div>
<div>
{{ scope.scope.mobile }}
</div>
...
@@ -142,7 +142,6 @@ export default {
...
@@ -142,7 +142,6 @@ export default {
// }, 1000)
// }, 1000)
}
}
return
{
return
{
isReload
:
true
,
pickerOptions
:
{
pickerOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
return
time
.
getTime
()
>
Date
.
now
()
||
time
.
getTime
()
<
new
Date
(
'2017-12-31'
).
getTime
()
...
@@ -361,20 +360,20 @@ mounted () {
...
@@ -361,20 +360,20 @@ mounted () {
})
})
},
},
handleReset
()
{
handleReset
()
{
this
.
isReload
=
false
this
.
searchForm
=
{}
this
.
searchForm
=
{}
this
.
$nextTick
(()
=>
{
this
.
handleSearch
()
this
.
isReload
=
true
})
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
memberCenterRef
.
refreshTable
()
this
.
$refs
.
memberCenterRef
.
refreshTable
()
},
},
setTableFinishFun
()
{
setTableFinishFun
()
{
//接收到的数据为空
//接收到的数据为空
if
(
!
this
.
$refs
.
memberCenterRef
.
data
.
length
)
{
// if (!this.$refs.memberCenterRef.data.length) {
this
.
$refs
.
memberCenterRef
.
setTableHeightFun
()
// this.$refs.memberCenterRef.setTableHeightFun()
}
// }
this
.
$refs
.
memberCenterRef
.
data
.
length
?
(
this
.
$refs
.
memberCenterRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
memberCenterRef
.
setTableHeightFun
()
},
},
handleClose
()
{
handleClose
()
{
this
.
isDialogVisible
=
!
this
.
isDialogVisible
this
.
isDialogVisible
=
!
this
.
isDialogVisible
...
...
src/views/memberCenter/orderDetail.vue
View file @
7d72605
...
@@ -180,7 +180,7 @@ export default {
...
@@ -180,7 +180,7 @@ export default {
.midMsgContent
{
.midMsgContent
{
padding-left
:
50px
;
padding-left
:
50px
;
display
:
flex
;
display
:
flex
;
height
:
150px
;
min-
height
:
150px
;
.item
{
.item
{
padding-top
:
20px
;
padding-top
:
20px
;
font-size
:
14px
;
font-size
:
14px
;
...
...
src/views/memberCenter/record.vue
View file @
7d72605
...
@@ -265,8 +265,8 @@ export default {
...
@@ -265,8 +265,8 @@ export default {
padding-bottom
:
20px
;
padding-bottom
:
20px
;
}
}
/
deep
/
.el-dialog__body
{
/
deep
/
.el-dialog__body
{
border-bottom
:
1px
solid
#e6e6e6
;
//
border-bottom
:
1px
solid
#e6e6e6
;
border-top
:
1px
solid
#e6e6e6
;
//
border-top
:
1px
solid
#e6e6e6
;
padding
:
30px
20px
;
padding
:
30px
20px
;
.content-body
{
.content-body
{
...
...
src/views/memberCenter/service.vue
View file @
7d72605
...
@@ -184,9 +184,10 @@ export default {
...
@@ -184,9 +184,10 @@ export default {
setTableFinishFun
(
content
)
{
setTableFinishFun
(
content
)
{
// console.log(content, this.$refs.memberServiceRef.data.length, '获取数据')
// console.log(content, this.$refs.memberServiceRef.data.length, '获取数据')
//接收到的数据为空
//接收到的数据为空
if
(
!
this
.
$refs
.
memberServiceRef
.
data
.
length
)
{
// if (!this.$refs.memberServiceRef.data.length) {
this
.
$refs
.
memberServiceRef
.
setTableHeightFun
()
// this.$refs.memberServiceRef.setTableHeightFun()
}
// }
this
.
$refs
.
memberServiceRef
.
data
.
length
?
(
this
.
$refs
.
memberServiceRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
memberServiceRef
.
setTableHeightFun
()
},
},
//创建服务
//创建服务
handleCreate
()
{
handleCreate
()
{
...
...
src/views/memberCenter/serviceAddUpdateLook.vue
View file @
7d72605
...
@@ -362,7 +362,6 @@ export default {
...
@@ -362,7 +362,6 @@ export default {
params
.
merchantName
=
this
.
merchantName
params
.
merchantName
=
this
.
merchantName
createService
(
params
).
then
(
res
=>
{
createService
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
// console.log(res, '提交内容')
this
.
$message
.
success
(
'创建服务成功'
)
this
.
$message
.
success
(
'创建服务成功'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
...
...
src/views/memberCenter/setmeal.vue
View file @
7d72605
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-plus"
>
创建套餐
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleCreate"
icon=
"el-icon-plus"
>
创建套餐
</el-button>
<!--
<GLButton
type=
"primary"
@
click=
"handleCreate"
size=
"small"
icon=
"el-icon-plus"
fn=
"创建套餐"
mode=
"el-button"
>
创建套餐
</GLButton>
-->
<!--
<GLButton
type=
"primary"
@
click=
"handleCreate"
size=
"small"
icon=
"el-icon-plus"
fn=
"创建套餐"
mode=
"el-button"
>
创建套餐
</GLButton>
-->
<el-button
:size=
"size"
@
click=
"showViewer=true"
>
查看示例效果
</el-button>
<el-button
:size=
"size"
@
click=
"showViewer=true"
>
查看示例效果
</el-button>
<el-image-viewer
v-if=
"showViewer"
:on-close=
"()=>
{showViewer=false}" :url-list="srcList"/>
<el-image-viewer
v-if=
"showViewer"
:on-close=
"()=>
{showViewer=false}" :url-list="srcList"
style="padding:4%;"
/>
</div>
</div>
<GLTable
ref=
"memberSetMealRef"
:noDataImg=
"url"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"memberSetMealRef"
:noDataImg=
"url"
@
setTableFinishFun=
"setTableFinishFun"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:getListApi=
"getListApi"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
>
<span
slot=
"list"
slot-scope=
"scope"
>
<span
slot=
"list"
slot-scope=
"scope"
>
...
@@ -293,4 +293,14 @@ export default {
...
@@ -293,4 +293,14 @@ export default {
text-align
:
center
;
text-align
:
center
;
padding
:
20px
;
padding
:
20px
;
}
}
/* 大图预览的关闭图标 改为大一点的白色 */
/
deep
/
.el-image-viewer__btn.el-image-viewer__close
{
color
:
#5850ff
;
opacity
:
unset
;
top
:
50px
;
right
:
50px
;
width
:
40px
;
height
:
40px
;
font-size
:
40px
;
}
</
style
>
</
style
>
src/views/orderShare/index.vue
View file @
7d72605
...
@@ -157,7 +157,7 @@ export default {
...
@@ -157,7 +157,7 @@ export default {
if
(
action
==
'confirm'
)
{
if
(
action
==
'confirm'
)
{
this
.
$apis
[
apiModule
][
apiName
](
apiParams
).
then
(
res
=>
{
this
.
$apis
[
apiModule
][
apiName
](
apiParams
).
then
(
res
=>
{
this
.
$message
({
this
.
$message
({
message
:
res
.
code
==
'0'
?
'操作成功'
:
res
.
message
,
message
:
res
.
code
==
'0'
?
'操作成功'
:
'操作失败'
,
type
:
res
.
code
==
'0'
?
'success'
:
'error'
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
})
if
(
res
.
code
==
'0'
)
{
if
(
res
.
code
==
'0'
)
{
...
...
src/views/zoneList/editZone.vue
View file @
7d72605
...
@@ -191,7 +191,7 @@ export default {
...
@@ -191,7 +191,7 @@ export default {
merchantAccountLevel
:
item
.
merchantAccountLevel
merchantAccountLevel
:
item
.
merchantAccountLevel
})
})
})
})
console
.
log
(
params
)
//
console.log(params)
this
.
$apis
.
zoneList
.
insertZoneApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
zoneList
.
insertZoneApi
(
params
).
then
(
res
=>
{
this
.
$message
({
this
.
$message
({
message
:
res
.
code
==
'0'
?
'操作成功'
:
'操作失败'
,
message
:
res
.
code
==
'0'
?
'操作成功'
:
'操作失败'
,
...
...
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