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 7253dfcc
authored
Dec 07, 2021
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
BUG修复
2 parents
f3e803db
702bb019
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
214 additions
and
157 deletions
src/api/modules/customerTransform.js
src/components/glsx-dialog/index.vue
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/components/welcomeWords.vue
src/views/customerTransform/detaiCustomeGroup.vue
src/views/customerTransform/detailCustomer.vue
src/views/customerTransform/index.vue
src/views/home/components/barChart.vue
src/views/home/index.vue
src/views/memberCenter/center.vue
src/views/memberCenter/order.vue
src/views/memberCenter/service.vue
src/views/memberCenter/setmeal.vue
src/views/orderComment/commentDetail.vue
src/views/orderManage/index.vue
src/views/zoneList/editZone.vue
src/api/modules/customerTransform.js
View file @
7253dfc
...
@@ -144,7 +144,7 @@ const groupDetailList = params => {
...
@@ -144,7 +144,7 @@ const groupDetailList = params => {
})
})
}
}
//
详情页客户群提醒
//
根据id提醒用户 ,列表
const
listRemindOperate
=
params
=>
{
const
listRemindOperate
=
params
=>
{
params
.
method
=
`
${
path
}
listRemindOperate`
params
.
method
=
`
${
path
}
listRemindOperate`
return
http
({
return
http
({
...
@@ -154,7 +154,7 @@ const listRemindOperate = params => {
...
@@ -154,7 +154,7 @@ const listRemindOperate = params => {
sign
:
true
sign
:
true
})
})
}
}
//
根据id提醒用户
//
详情页客户群提醒
const
remindUserGroup
=
params
=>
{
const
remindUserGroup
=
params
=>
{
params
.
method
=
`
${
path
}
remindUserGroup`
params
.
method
=
`
${
path
}
remindUserGroup`
return
http
({
return
http
({
...
...
src/components/glsx-dialog/index.vue
View file @
7253dfc
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
<
template
>
<
template
>
<div>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"isVisible"
:show-close=
"showClose"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
:modal-append-to-body=
"false"
:width=
"width"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"isVisible"
:show-close=
"showClose"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
:modal-append-to-body=
"false"
:width=
"width"
>
<!--
<div
class=
"el-dialog-div"
>
-->
<div
:style=
"
{height:height,overflow:'auto'}">
<div
:style=
"
{height:height,overflow:'auto'}">
<el-scrollbar
v-if=
"hasScroll"
>
<el-scrollbar
v-if=
"hasScroll"
>
<span
slot=
"title"
>
<span
slot=
"title"
>
...
@@ -23,7 +22,6 @@
...
@@ -23,7 +22,6 @@
<slot></slot>
<slot></slot>
</
template
>
</
template
>
</div>
</div>
<div
slot=
"footer"
>
<div
slot=
"footer"
>
<slot
name=
"btn-start"
></slot>
<slot
name=
"btn-start"
></slot>
...
@@ -87,6 +85,10 @@ export default {
...
@@ -87,6 +85,10 @@ export default {
type
:
String
,
type
:
String
,
default
:
''
default
:
''
},
},
// modalAppendToBody:{
// type: Boolean,
// default: false
// },
width
:
{
width
:
{
type
:
String
,
type
:
String
,
default
:
'580px'
default
:
'580px'
...
@@ -121,8 +123,9 @@ export default {
...
@@ -121,8 +123,9 @@ export default {
//
border-bottom
:
1px
solid
#e6e6e6
;
//
border-bottom
:
1px
solid
#e6e6e6
;
//
padding
:
20px
25px
;
//
padding
:
20px
25px
;
//
}
//
}
.el-dialog-div
{
height
:
60vh
;
//
.el-dialog-div
{
overflow
:
auto
;
//
height
:
60vh
;
}
//
overflow
:
auto
;
//
}
</
style
>
</
style
>
src/views/customerTransform/addCustomer.vue
View file @
7253dfc
...
@@ -187,7 +187,7 @@
...
@@ -187,7 +187,7 @@
width: footerWidth + 'px'
width: footerWidth + 'px'
}"
}"
>
>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
type=
"primary"
v-loading=
"addLoading"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
<SelectLabel
ref=
"selectLabel"
@
tagSelected=
"handleSelect"
:dialogVisible=
"dialogVisible"
></SelectLabel>
<SelectLabel
ref=
"selectLabel"
@
tagSelected=
"handleSelect"
:dialogVisible=
"dialogVisible"
></SelectLabel>
...
@@ -254,6 +254,7 @@ export default {
...
@@ -254,6 +254,7 @@ export default {
}
}
}
}
return
{
return
{
addLoading
:
false
,
eventBus
:
new
Vue
(),
eventBus
:
new
Vue
(),
basicForm
:
{
basicForm
:
{
condition
:
{}
condition
:
{}
...
@@ -376,6 +377,7 @@ export default {
...
@@ -376,6 +377,7 @@ export default {
params
.
sendTimeStr
=
this
.
basicForm
.
sendTime
+
' '
+
this
.
basicForm
.
sendDate
params
.
sendTimeStr
=
this
.
basicForm
.
sendTime
+
' '
+
this
.
basicForm
.
sendDate
}
}
console
.
log
(
params
)
console
.
log
(
params
)
this
.
addLoading
=
true
this
.
$apis
.
customerTransform
this
.
$apis
.
customerTransform
.
insert
(
params
)
.
insert
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -387,12 +389,14 @@ export default {
...
@@ -387,12 +389,14 @@ export default {
})
})
this
.
handleCancel
()
this
.
handleCancel
()
}
}
this
.
addLoading
=
false
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
message
:
err
.
message
message
:
err
.
message
})
})
this
.
addLoading
=
false
})
})
}
}
})
})
...
...
src/views/customerTransform/addCustomerGroup.vue
View file @
7253dfc
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
width: footerWidth + 'px'
width: footerWidth + 'px'
}"
}"
>
>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
type=
"primary"
v-loading=
"addLoading"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
<glsx-dialog
<glsx-dialog
...
@@ -152,6 +152,7 @@ export default {
...
@@ -152,6 +152,7 @@ export default {
}
}
}
}
return
{
return
{
addLoading
:
false
,
eventBus
:
new
Vue
(),
eventBus
:
new
Vue
(),
basicForm
:
{},
basicForm
:
{},
basicRules
:
{
basicRules
:
{
...
@@ -248,6 +249,7 @@ export default {
...
@@ -248,6 +249,7 @@ export default {
if
(
params
.
sendType
==
2
)
{
if
(
params
.
sendType
==
2
)
{
params
.
sendTimeStr
=
this
.
basicForm
.
sendTime
+
' '
+
this
.
basicForm
.
sendDate
params
.
sendTimeStr
=
this
.
basicForm
.
sendTime
+
' '
+
this
.
basicForm
.
sendDate
}
}
this
.
addLoading
=
true
console
.
log
(
params
)
console
.
log
(
params
)
this
.
$apis
.
customerTransform
this
.
$apis
.
customerTransform
.
insert
(
params
)
.
insert
(
params
)
...
@@ -260,12 +262,14 @@ export default {
...
@@ -260,12 +262,14 @@ export default {
})
})
this
.
handleCancel
()
this
.
handleCancel
()
}
}
this
.
addLoading
=
false
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
message
:
err
.
message
message
:
err
.
message
})
})
this
.
addLoading
=
false
})
})
})
})
}
}
...
...
src/views/customerTransform/components/welcomeWords.vue
View file @
7253dfc
...
@@ -28,25 +28,26 @@
...
@@ -28,25 +28,26 @@
style=
"-webkit-user-modify: read-write-plaintext-only !important;"
style=
"-webkit-user-modify: read-write-plaintext-only !important;"
placeholder=
"请输入内容"
placeholder=
"请输入内容"
></el-input>
-->
></el-input>
-->
<div
v-for=
"
itm
in previewList"
:key=
"itm.id"
>
<div
v-for=
"
(itm, index)
in previewList"
:key=
"itm.id"
>
<div
class=
"welcome-file"
v-if=
"itm.attType != 1"
>
<div
class=
"welcome-file"
v-if=
"itm.attType != 1"
>
<template
v-if=
"itm.attType == 2"
>
<template
v-if=
"itm.attType == 2"
>
<img
src=
"@/assets/guestCustom/icon-img.png"
alt
/>
<i
v-show=
"index == (previewList.length -1) && loading"
class=
"el-icon-loading"
></i>
<span>
{{
itm
.
attContent
}}
</span>
<img
v-show=
"!loading"
src=
"@/assets/guestCustom/icon-img.png"
alt
/>
<span
:title=
"itm.attContent"
>
{{
itm
.
attContent
}}
</span>
</
template
>
</
template
>
<
template
v-else-if=
"itm.attType == 3"
>
<
template
v-else-if=
"itm.attType == 3"
>
<img
src=
"@/assets/guestCustom/icon-img.png"
alt
/>
<img
src=
"@/assets/guestCustom/icon-img.png"
alt
/>
<span>
{{
itm
.
attContent
}}
</span>
<span
:title=
"itm.attContent"
>
{{
itm
.
attContent
}}
</span>
</
template
>
</
template
>
<
template
v-else-if=
"itm.attType == 7"
>
<
template
v-else-if=
"itm.attType == 7"
>
<img
src=
"@/assets/guestCustom/icon-applet.png"
alt
/>
<img
src=
"@/assets/guestCustom/icon-applet.png"
alt
/>
<span>
{{
itm
.
attContent
.
marketingName
}}
</span>
<span
:title=
"itm.attContent.marketingName"
>
{{
itm
.
attContent
.
marketingName
}}
</span>
</
template
>
</
template
>
<
template
v-else-if=
"itm.attType == 5"
>
<
template
v-else-if=
"itm.attType == 5"
>
<img
src=
"@/assets/guestCustom/icon-applet.png"
alt
/>
<img
src=
"@/assets/guestCustom/icon-applet.png"
alt
/>
<span>
{{
itm
.
attContent
.
title
}}
</span>
<span
:title=
"itm.attContent.title"
>
{{
itm
.
attContent
.
title
}}
</span>
</
template
>
</
template
>
<i
class=
"el-icon-circle-close"
@
click=
"close(index)"
></i>
<i
class=
"el-icon-circle-close"
style=
"cursor: pointer;"
@
click=
"close(index)"
></i>
</div>
</div>
</div>
</div>
<div
class=
"btn-group"
>
<div
class=
"btn-group"
>
...
@@ -60,7 +61,7 @@
...
@@ -60,7 +61,7 @@
style=
"opacity: 0"
style=
"opacity: 0"
:id=
"item.name + 'file'"
:id=
"item.name + 'file'"
ref=
"file"
ref=
"file"
class=
"welcome-input"
class=
"welcome-input
upload-img
"
:accept=
"item.accept || 'image/png, image/jpeg, image/jpg'"
:accept=
"item.accept || 'image/png, image/jpeg, image/jpg'"
@
change=
"e => handleImgChange(e, item)"
@
change=
"e => handleImgChange(e, item)"
/>
/>
...
@@ -109,6 +110,7 @@ export default {
...
@@ -109,6 +110,7 @@ export default {
props
:
{
eventBus
:
Object
},
props
:
{
eventBus
:
Object
},
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
btnList
:
[
btnList
:
[
// {
// {
// id: 1,
// id: 1,
...
@@ -175,7 +177,13 @@ export default {
...
@@ -175,7 +177,13 @@ export default {
this
.
$message
.
error
(
'上传图片大小不能超过'
+
limitSize
+
'MB!'
)
this
.
$message
.
error
(
'上传图片大小不能超过'
+
limitSize
+
'MB!'
)
return
true
return
true
}
}
this
.
loading
=
true
reader
.
readAsDataURL
(
file
)
reader
.
readAsDataURL
(
file
)
this
.
previewList
.
push
({
attType
:
ATT_TYPE
.
IMAGE
,
attContent
:
''
})
reader
.
onload
=
e
=>
{
reader
.
onload
=
e
=>
{
var
image
=
new
Image
()
var
image
=
new
Image
()
image
.
src
=
e
.
target
.
result
image
.
src
=
e
.
target
.
result
...
@@ -185,12 +193,14 @@ export default {
...
@@ -185,12 +193,14 @@ export default {
const
base64
=
file
.
name
.
split
(
'.'
)[
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
const
base64
=
file
.
name
.
split
(
'.'
)[
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
this
.
$apis
.
common
.
pictureUpload
({
file
:
base64
}).
then
(
res
=>
{
this
.
$apis
.
common
.
pictureUpload
({
file
:
base64
}).
then
(
res
=>
{
if
(
res
)
{
if
(
res
)
{
console
.
log
(
res
)
let
len
=
this
.
previewList
.
length
-
1
this
.
previewList
.
push
({
this
.
previewList
[
len
].
attContent
=
res
attType
:
ATT_TYPE
.
IMAGE
,
document
.
querySelector
(
'.upload-img'
).
value
=
''
attContent
:
res
}
else
{
})
let
len
=
this
.
previewList
.
length
-
1
this
.
previewList
.
splice
(
len
,
1
)
}
}
this
.
loading
=
false
})
})
}
}
}
}
...
@@ -217,6 +227,7 @@ export default {
...
@@ -217,6 +227,7 @@ export default {
attType
:
ATT_TYPE
.
VEDIO
,
attType
:
ATT_TYPE
.
VEDIO
,
attContent
:
res
attContent
:
res
})
})
document
.
querySelector
(
'.upload-img'
).
value
=
''
}
}
})
})
}
}
...
@@ -315,82 +326,90 @@ export default {
...
@@ -315,82 +326,90 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.welcome-box
{
.welcome-box
{
}
.content
{
.content-bg
{
display
:
inline-block
;
background-color
:
#f7f7f7
;
vertical-align
:
text-top
;
}
width
:
calc
(
100%
-
103px
);
.content
{
margin-left
:
12px
;
display
:
inline-block
;
.welcome-file
{
vertical-align
:
text-top
;
display
:
flex
;
width
:
calc
(
100%
-
103px
);
margin-left
:
12px
;
.welcome-file
{
display
:
flex
;
align-items
:
center
;
color
:
#999
;
line-height
:
20px
;
padding
:
10px
;
margin-bottom
:
10px
;
border-left
:
1px
solid
#dcdfe6
;
border-right
:
1px
solid
#dcdfe6
;
img
{
width
:
20px
;
height
:
20px
;
margin-right
:
5px
;
}
span
{
display
:
inline-block
;
margin-right
:
20px
;
max-width
:
200px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
font-size
:
14px
;
}
i
{
font-size
:
16px
;
}
&
:last-child
{
margin-bottom
:
0
;
}
}
.btn-group
{
padding
:
6px
0
6px
20px
;
border
:
1px
solid
#dcdfe6
;
border-top
:
0
;
.add-btn
{
display
:
inline-flex
;
position
:
relative
;
align-items
:
center
;
align-items
:
center
;
padding-right
:
25px
;
color
:
#999
;
font-size
:
16px
;
line-height
:
20px
;
color
:
#666
;
padding
:
10px
;
cursor
:
pointer
;
margin-bottom
:
10px
;
border-left
:
1px
solid
#dcdfe6
;
border-right
:
1px
solid
#dcdfe6
;
img
{
width
:
20px
;
height
:
20px
;
margin-right
:
5px
;
}
span
{
span
{
display
:
inline-block
;
margin-right
:
20px
;
max-width
:
200px
;
white-space
:
nowrap
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
font-size
:
14px
;
font-size
:
14px
;
margin-left
:
5px
;
}
}
input
{
i
{
position
:
absolute
;
font-size
:
16px
;
width
:
100%
;
cursor
:
pointer
;
}
}
img
{
.el-icon-loading
{
width
:
16px
;
font-size
:
24px
;
height
:
16px
;
}
}
.el-link
{
&
:last-child
{
position
:
absolute
;
margin-bottom
:
0
;
width
:
100%
;
}
}
}
}
}
.btn-group
{
.date-picker
{
padding
:
6px
0
6px
20px
;
margin-top
:
10px
;
border
:
1px
solid
#dcdfe6
;
font-size
:
14px
;
border-top
:
0
;
color
:
#999
;
.add-btn
{
display
:
inline-flex
;
position
:
relative
;
align-items
:
center
;
padding-right
:
25px
;
font-size
:
16px
;
color
:
#666
;
cursor
:
pointer
;
span
{
font-size
:
14px
;
margin-left
:
5px
;
}
input
{
position
:
absolute
;
width
:
100%
;
cursor
:
pointer
;
font-size
:
0
;
height
:
40px
;
}
img
{
width
:
16px
;
height
:
16px
;
cursor
:
pointer
;
}
.el-link
{
position
:
absolute
;
width
:
100%
;
}
}
}
.date-picker
{
margin-top
:
10px
;
font-size
:
14px
;
color
:
#999
;
}
}
}
}
}
.content-bg
{
background-color
:
#f7f7f7
;
}
.required
{
.required
{
display
:
inline-block
;
display
:
inline-block
;
line-height
:
40px
;
line-height
:
40px
;
...
...
src/views/customerTransform/detaiCustomeGroup.vue
View file @
7253dfc
...
@@ -111,11 +111,11 @@ export default {
...
@@ -111,11 +111,11 @@ export default {
},
},
{
{
label
:
'群主所在部门'
,
label
:
'群主所在部门'
,
prop
:
'
zone
Name'
prop
:
'
department
Name'
},
},
{
{
label
:
'群客户人数'
,
label
:
'群客户人数'
,
prop
:
'
departmentName
'
prop
:
'
customerCount
'
},
},
{
{
label
:
'消息送达状态'
,
label
:
'消息送达状态'
,
...
@@ -163,7 +163,7 @@ export default {
...
@@ -163,7 +163,7 @@ export default {
},
},
remind
(
data
)
{
remind
(
data
)
{
this
.
$apis
.
customerTransform
this
.
$apis
.
customerTransform
.
listRemindOperate
({
.
remindUserGroup
({
id
:
data
.
id
,
id
:
data
.
id
,
type
:
2
type
:
2
})
})
...
...
src/views/customerTransform/detailCustomer.vue
View file @
7253dfc
...
@@ -30,13 +30,14 @@
...
@@ -30,13 +30,14 @@
{{
item
.
staffName
}}
{{
item
.
staffName
}}
<span
<span
:class=
"[item.status == 0 ? 'unsend' : 'send']"
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
{{
item
.
status
==
0
?
'未
'
:
'已'
}}
发送
</span>
>
{{
item
.
status
==
0
?
'未
发送'
:
item
.
status
==
1
?
'已发送'
:
'发送失败'
}}
</span>
</div>
</div>
<div
class=
"info-num"
>
共
{{
item
.
customerCount
?
item
.
customerCount
:
0
}}
个客户
</div>
<div
class=
"info-num"
>
共
{{
item
.
customerCount
?
item
.
customerCount
:
0
}}
个客户
</div>
</div>
</div>
<div
class=
"info-right"
>
<div
class=
"info-right"
>
<div
v-if=
"item.remindStatus == 1"
>
已提醒
</div>
<div
v-if=
"item.
status != 0 || item.
remindStatus == 1"
>
已提醒
</div>
<el-button
<el-button
v-if=
"item.status == 0"
:disabled=
"item.remindStatus == 1"
:disabled=
"item.remindStatus == 1"
size=
"mini"
size=
"mini"
type=
"primary"
type=
"primary"
...
@@ -59,9 +60,9 @@
...
@@ -59,9 +60,9 @@
@
select=
"handleCustomSelect"
@
select=
"handleCustomSelect"
>
>
<el-menu-item
index
>
全部
</el-menu-item>
<el-menu-item
index
>
全部
</el-menu-item>
<el-menu-item
index=
"1"
>
已
发送
客户
</el-menu-item>
<el-menu-item
index=
"1"
>
已
送达
客户
</el-menu-item>
<el-menu-item
index=
"0"
>
未
发送
客户
</el-menu-item>
<el-menu-item
index=
"0"
>
未
送达
客户
</el-menu-item>
<el-menu-item
index=
"2"
>
客户
接受
失败
</el-menu-item>
<el-menu-item
index=
"2"
>
客户
送达
失败
</el-menu-item>
</el-menu>
</el-menu>
<div
class=
"detail-total"
>
共
{{
customerlist
.
length
||
0
}}
人
</div>
<div
class=
"detail-total"
>
共
{{
customerlist
.
length
||
0
}}
人
</div>
<div
v-if=
"customerlist.length != 0"
class=
"info-list"
>
<div
v-if=
"customerlist.length != 0"
class=
"info-list"
>
...
@@ -78,7 +79,7 @@
...
@@ -78,7 +79,7 @@
<div
<div
class=
"customer-table"
class=
"customer-table"
:class=
"[item.status == 0 ? 'unsend' : 'send']"
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
{{
item
.
status
==
0
?
'未
'
:
'已'
}}
送达
</div>
>
{{
item
.
status
==
0
?
'未
送达'
:
item
.
status
==
1
?
'已送达'
:
'送达失败'
}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"info-right"
>
<div
class=
"info-right"
>
...
@@ -144,7 +145,7 @@ export default {
...
@@ -144,7 +145,7 @@ export default {
remind
(
data
,
index
)
{
remind
(
data
,
index
)
{
if
(
!
data
.
remindStatus
)
{
if
(
!
data
.
remindStatus
)
{
this
.
$apis
.
customerTransform
this
.
$apis
.
customerTransform
.
listRemindOperate
({
.
remindUserGroup
({
id
:
data
.
id
,
id
:
data
.
id
,
type
:
1
type
:
1
})
})
...
@@ -164,14 +165,14 @@ export default {
...
@@ -164,14 +165,14 @@ export default {
this
.
basicInfo
=
res
this
.
basicInfo
=
res
})
})
},
},
getStaffList
(
status
=
0
)
{
getStaffList
(
status
=
null
)
{
const
id
=
this
.
$route
.
params
.
id
const
id
=
this
.
$route
.
params
.
id
this
.
$apis
.
customerTransform
.
staffList
({
id
,
status
}).
then
(
res
=>
{
this
.
$apis
.
customerTransform
.
staffList
({
id
,
status
}).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
this
.
employeelist
=
res
?
res
:
[]
this
.
employeelist
=
res
?
res
:
[]
})
})
},
},
getCustomerList
(
status
=
0
)
{
getCustomerList
(
status
=
null
)
{
const
id
=
this
.
$route
.
params
.
id
const
id
=
this
.
$route
.
params
.
id
this
.
$apis
.
customerTransform
.
customerDetailList
({
id
,
status
}).
then
(
res
=>
{
this
.
$apis
.
customerTransform
.
customerDetailList
({
id
,
status
}).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
...
@@ -318,4 +319,15 @@ export default {
...
@@ -318,4 +319,15 @@ export default {
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
40px
0
;
padding
:
40px
0
;
}
}
::-webkit-scrollbar
{
/*滚动条整体样式*/
width
:
6px
;
height
:
4px
;
}
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
border-radius
:
4px
;
background-color
:
rgba
(
144
,
147
,
153
,
0.3
);
}
</
style
>
</
style
>
src/views/customerTransform/index.vue
View file @
7253dfc
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<div
class=
"table-btns"
slot=
"optionBtns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"optionBtns"
slot-scope=
"scope"
>
<el-button
<el-button
type=
"text"
type=
"text"
:disabled=
"scope.scope.
isRemind == 1
"
:disabled=
"scope.scope.
unsendUserNum == 0 || (scope.scope.unsendUserNum != 0 && scope.scope.isRemind == 1)
"
@
click=
"btnClick('remind', 1, scope.scope)"
@
click=
"btnClick('remind', 1, scope.scope)"
>
提醒发送
</el-button>
>
提醒发送
</el-button>
<el-button
type=
"text"
@
click=
"btnClick('detail', 1, scope.scope)"
>
详情
</el-button>
<el-button
type=
"text"
@
click=
"btnClick('detail', 1, scope.scope)"
>
详情
</el-button>
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
<div
class=
"table-btns"
slot=
"optionBtns"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"optionBtns"
slot-scope=
"scope"
>
<el-button
<el-button
type=
"text"
type=
"text"
:disabled=
"scope.scope.
isRemind == 1
"
:disabled=
"scope.scope.
unsendUserNum == 0 || (scope.scope.unsendUserNum != 0 && scope.scope.isRemind == 1)
"
@
click=
"btnClick('remind', 2, scope.scope)"
@
click=
"btnClick('remind', 2, scope.scope)"
>
提醒发送
</el-button>
>
提醒发送
</el-button>
<el-button
type=
"text"
@
click=
"btnClick('detail', 2, scope.scope)"
>
详情
</el-button>
<el-button
type=
"text"
@
click=
"btnClick('detail', 2, scope.scope)"
>
详情
</el-button>
...
@@ -249,7 +249,7 @@ export default {
...
@@ -249,7 +249,7 @@ export default {
type
type
}
}
// if (type == 1) {
// if (type == 1) {
this
.
$apis
.
customerTransform
.
remindUserGroup
(
params
).
then
(
res
=>
{
this
.
$apis
.
customerTransform
.
listRemindOperate
(
params
).
then
(
res
=>
{
console
.
log
(
res
)
console
.
log
(
res
)
this
.
$message
({
this
.
$message
({
type
:
'success'
,
type
:
'success'
,
...
...
src/views/home/components/barChart.vue
View file @
7253dfc
...
@@ -67,12 +67,14 @@ export default {
...
@@ -67,12 +67,14 @@ export default {
},
},
watch
:
{
watch
:
{
list
(
val
)
{
list
(
val
)
{
const
yData
=
val
.
map
(
i
=>
i
.
packageName
)
if
(
val
)
{
const
data
=
val
.
map
(
i
=>
i
.
totalSales
)
const
yData
=
val
.
map
(
i
=>
i
.
packageName
)
this
.
option
.
yAxis
.
data
=
yData
const
data
=
val
.
map
(
i
=>
i
.
totalSales
)
this
.
option
.
series
[
0
].
data
=
data
this
.
option
.
yAxis
.
data
=
yData
console
.
log
(
this
.
option
)
this
.
option
.
series
[
0
].
data
=
data
this
.
option
&&
this
.
myChart
.
setOption
(
this
.
option
)
console
.
log
(
this
.
option
)
this
.
option
&&
this
.
myChart
.
setOption
(
this
.
option
)
}
}
}
},
},
methods
:
{
methods
:
{
...
...
src/views/home/index.vue
View file @
7253dfc
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
<div
class=
"marketing-content"
>
{{
item
.
content
}}
</div>
<div
class=
"marketing-content"
>
{{
item
.
content
}}
</div>
<div
class=
"marketing-btn"
>
<div
class=
"marketing-btn"
>
<el-button
<el-button
style=
"width: 118px;"
:disabled=
"!$globalState.routers.find(i => i.compath == item.path)"
:disabled=
"!$globalState.routers.find(i => i.compath == item.path)"
type=
"primary"
type=
"primary"
size=
"small"
size=
"small"
...
@@ -74,7 +75,7 @@
...
@@ -74,7 +75,7 @@
</div>
</div>
<div
class=
"data-item"
>
<div
class=
"data-item"
>
<span
class=
"data-title w-90"
>
<span
class=
"data-title w-90"
>
核销
率
核销
总数
<el-popover
<el-popover
placement=
"top-start"
placement=
"top-start"
title=
"核销总数"
title=
"核销总数"
...
@@ -91,7 +92,7 @@
...
@@ -91,7 +92,7 @@
</span>
</span>
</div>
</div>
<div
class=
"data-last"
>
<div
class=
"data-last"
>
<span
class=
"data-name"
>
核销
总数
</span>
<span
class=
"data-name"
>
核销
率
</span>
<span
class=
"data-percentage"
>
{{
coupon
.
verificationRate
}}
</span>
<span
class=
"data-percentage"
>
{{
coupon
.
verificationRate
}}
</span>
</div>
</div>
</div>
</div>
...
@@ -321,7 +322,7 @@ export default {
...
@@ -321,7 +322,7 @@ export default {
title
:
'商品销售'
,
title
:
'商品销售'
,
content
:
'管理上下架门店自有的商品,可配置带货商品活动商品销售分润。'
,
content
:
'管理上下架门店自有的商品,可配置带货商品活动商品销售分润。'
,
linkName
:
'上架商品'
,
linkName
:
'上架商品'
,
path
:
'/
homeSet
/index'
path
:
'/
productGroup
/index'
}
}
],
],
date
:
[],
date
:
[],
...
...
src/views/memberCenter/center.vue
View file @
7253dfc
...
@@ -65,12 +65,12 @@
...
@@ -65,12 +65,12 @@
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
size=
"small"
label=
"会员类型"
>
<el-form-item
size=
"small"
label=
"会员类型"
>
<el-select
size=
"small"
v-model=
"searchForm.memberType"
placeholder=
"请选择"
>
<el-select
size=
"small"
v-model=
"searchForm.memberType"
placeholder=
"请选择"
>
<el-option
v-for=
"item in memberTypeLists"
:key=
"item.dictValue"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
<el-option
v-for=
"item in memberTypeLists"
:key=
"item.dictValue"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"开通日期"
style=
"margin-left:-10px"
>
<el-form-item
size=
"small"
label=
"开通日期"
style=
"margin-left:
-10px"
>
<el-date-picker
:size=
"size"
v-model=
"searchForm.daterange"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:picker-options=
"pickerOptions || {}"
></el-date-picker>
<el-date-picker
:size=
"size"
v-model=
"searchForm.daterange"
type=
"daterange"
value-format=
"yyyy-MM-dd"
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
:picker-options=
"pickerOptions || {}"
></el-date-picker>
</el-form-item>
</el-form-item>
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,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"
v-if=
"isReload"
@
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>
...
@@ -89,26 +89,26 @@
...
@@ -89,26 +89,26 @@
</div>
</div>
<glsx-dialog
title=
"权益详情"
width=
"712px"
:noBtnOk=
"true"
:noCancel=
"true"
:noClose=
"false"
btnCancelLabel=
"关闭"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<glsx-dialog
title=
"权益详情"
width=
"712px"
:noBtnOk=
"true"
:noCancel=
"true"
:noClose=
"false"
btnCancelLabel=
"关闭"
btnSize=
"small"
:isVisible=
"isDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleClose"
@
confirmDialog=
"handleClose"
>
<!-- <el-scrollbar> -->
<!-- <el-scrollbar> -->
<div
class=
"modal-body"
>
<div
class=
"modal-body"
>
<div
class=
"equity-name"
>
汽车权益
</div>
<div
class=
"equity-name"
>
汽车权益
</div>
<div
class=
"equity-panel"
>
<div
class=
"equity-panel"
>
<div
class=
"equity-item"
v-for=
"(item, index) in merchantData.carServiceList"
:key=
"index"
>
<div
class=
"equity-item"
v-for=
"(item, index) in merchantData.carServiceList"
:key=
"index"
>
<div
class=
"equity-item-icon"
><img
:src=
"item.equityIcon"
/></div>
<div
class=
"equity-item-icon"
><img
:src=
"item.equityIcon"
/></div>
<div
class=
"equity-item-name"
>
{{ item.equityName }}
</div>
<div
class=
"equity-item-name"
>
{{ item.equityName }}
</div>
<div
class=
"equity-item-desc"
>
{{ item.equityDesc }}
</div>
<div
class=
"equity-item-desc"
>
{{ item.equityDesc }}
</div>
</div>
</div>
</div>
<div
v-for=
"(item, index) in merchantData.goodsServiceList"
:key=
"index"
>
</div
>
<div
class=
"equity-name"
>
{{ item.goodsCategory }}
</div
>
<div
v-for=
"(item, index) in merchantData.goodsServiceList"
:key=
"index"
>
<div
class=
"equity-panel"
>
<div
class=
"equity-name"
>
{{ item.goodsCategory }}
</div
>
<div
class=
"equity-item"
v-for=
"(v, xindex) in item.equityGoodsGroupDescDtos"
:key=
"xindex
"
>
<div
class=
"equity-panel
"
>
<div
class=
"equity-item-icon"
><img
:src=
"v.equityIcon"
/></div
>
<div
class=
"equity-item"
v-for=
"(v, xindex) in item.equityGoodsGroupDescDtos"
:key=
"xindex"
>
<div
class=
"equity-item-name"
>
{{ v.equityName }}
</div>
<div
class=
"equity-item-icon"
><img
:src=
"v.equityIcon"
/>
</div>
<div
class=
"equity-item-desc"
>
{{ v.equityDesc
}}
</div>
<div
class=
"equity-item-name"
>
{{ v.equityName
}}
</div>
</div>
<
div
class=
"equity-item-desc"
>
{{ v.equityDesc }}
<
/div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- </el-scrollbar> -->
<!-- </el-scrollbar> -->
</glsx-dialog>
</glsx-dialog>
</div>
</div>
...
@@ -140,7 +140,7 @@ export default {
...
@@ -140,7 +140,7 @@ export default {
// }, 1000)
// }, 1000)
}
}
return
{
return
{
isReload
:
true
,
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
()
...
@@ -152,10 +152,10 @@ export default {
...
@@ -152,10 +152,10 @@ export default {
userInfo
:
''
,
userInfo
:
''
,
status
:
''
,
status
:
''
,
merchantName
:
''
,
merchantName
:
''
,
memberType
:
''
memberType
:
''
},
},
searchFormTable
:
{},
searchFormTable
:
{},
memberTypeLists
:[
memberTypeLists
:
[
{
{
dictValue
:
''
,
dictValue
:
''
,
dictLabel
:
'全部'
dictLabel
:
'全部'
...
@@ -240,7 +240,7 @@ export default {
...
@@ -240,7 +240,7 @@ export default {
price
:
''
,
price
:
''
,
marketPrice
:
''
,
marketPrice
:
''
,
linkUrl
:
''
,
linkUrl
:
''
,
tryAble
:
''
tryAble
:
''
},
},
copyRuleForm
:
{},
copyRuleForm
:
{},
rules
:
{
rules
:
{
...
@@ -263,7 +263,7 @@ export default {
...
@@ -263,7 +263,7 @@ export default {
created
()
{
created
()
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
//运行在qiankun容器中
//运行在qiankun容器中
this
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
this
.
merchantId
=
this
.
$globalState
.
session
.
merchantId
}
}
this
.
getCardContentFun
()
this
.
getCardContentFun
()
},
},
...
@@ -301,13 +301,15 @@ export default {
...
@@ -301,13 +301,15 @@ export default {
},
},
getCardContentFun
()
{
getCardContentFun
()
{
getCardContent
({
merchantId
:
this
.
merchantId
}).
then
(
res
=>
{
getCardContent
({
merchantId
:
this
.
merchantId
}).
then
(
res
=>
{
this
.
ruleForm
.
equityId
=
res
[
0
].
id
if
(
!
(
res
&&
res
.
length
)){
return
}
this
.
ruleForm
.
equityId
=
res
[
0
].
id
this
.
ruleForm
.
cardName
=
res
[
0
].
cardClassName
this
.
ruleForm
.
cardName
=
res
[
0
].
cardClassName
this
.
ruleForm
.
price
=
res
[
0
].
price
this
.
ruleForm
.
price
=
res
[
0
].
price
this
.
ruleForm
.
marketPrice
=
res
[
0
].
marketPrice
this
.
ruleForm
.
marketPrice
=
res
[
0
].
marketPrice
this
.
ruleForm
.
linkUrl
=
res
[
0
].
url
this
.
ruleForm
.
linkUrl
=
res
[
0
].
url
this
.
ruleForm
.
tryAble
=
res
[
0
].
tryAble
this
.
ruleForm
.
tryAble
=
res
[
0
].
tryAble
})
})
},
},
openEditWrap
()
{
openEditWrap
()
{
...
@@ -330,7 +332,7 @@ export default {
...
@@ -330,7 +332,7 @@ export default {
params
.
cardClassName
=
this
.
ruleForm
.
cardName
params
.
cardClassName
=
this
.
ruleForm
.
cardName
params
.
price
=
this
.
ruleForm
.
price
params
.
price
=
this
.
ruleForm
.
price
params
.
marketPrice
=
this
.
ruleForm
.
marketPrice
params
.
marketPrice
=
this
.
ruleForm
.
marketPrice
params
.
tryAble
=
this
.
ruleForm
.
tryAble
params
.
tryAble
=
this
.
ruleForm
.
tryAble
updateCardContent
(
params
).
then
(
res
=>
{
updateCardContent
(
params
).
then
(
res
=>
{
if
(
!
res
)
{
if
(
!
res
)
{
return
return
...
@@ -420,7 +422,7 @@ export default {
...
@@ -420,7 +422,7 @@ export default {
.seeEquity
{
.seeEquity
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
bottom
:
1
0
px
;
bottom
:
1
4
px
;
}
}
.cancelBtn
{
.cancelBtn
{
position
:
absolute
;
position
:
absolute
;
...
@@ -458,7 +460,8 @@ export default {
...
@@ -458,7 +460,8 @@ export default {
}
}
.address
{
.address
{
display
:
inline-block
;
display
:
inline-block
;
max-width
:
600px
;
vertical-align
:
bottom
;
max-width
:
calc
(
100%
-
220px
);
color
:
#989898
;
color
:
#989898
;
}
}
}
}
...
...
src/views/memberCenter/order.vue
View file @
7253dfc
...
@@ -241,6 +241,7 @@ export default {
...
@@ -241,6 +241,7 @@ export default {
display
:
flex
;
display
:
flex
;
height
:
34px
;
height
:
34px
;
.choseItem
{
.choseItem
{
cursor
:
pointer
;
width
:
120px
;
width
:
120px
;
height
:
34px
;
height
:
34px
;
line-height
:
34px
;
line-height
:
34px
;
...
...
src/views/memberCenter/service.vue
View file @
7253dfc
...
@@ -171,7 +171,7 @@ export default {
...
@@ -171,7 +171,7 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
isReload
=
true
this
.
isReload
=
true
})
})
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
memberServiceRef
.
refreshTable
()
this
.
$refs
.
memberServiceRef
.
refreshTable
()
...
@@ -186,7 +186,10 @@ export default {
...
@@ -186,7 +186,10 @@ export default {
//创建服务
//创建服务
handleCreate
()
{
handleCreate
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/memberCenter/serviceAddUpdateLook'
path
:
'/memberCenter/serviceAddUpdateLook'
,
query
:{
$title
:
encodeURI
(
'创建服务'
)
}
})
})
},
},
//失效
//失效
...
@@ -227,7 +230,8 @@ export default {
...
@@ -227,7 +230,8 @@ export default {
path
:
'/memberCenter/serviceAddUpdateLook'
,
path
:
'/memberCenter/serviceAddUpdateLook'
,
query
:
{
query
:
{
couponId
:
row
.
id
,
couponId
:
row
.
id
,
title
:
'编辑'
title
:
'编辑'
,
$title
:
encodeURI
(
'编辑服务'
)
}
}
})
})
},
},
...
@@ -236,7 +240,8 @@ export default {
...
@@ -236,7 +240,8 @@ export default {
path
:
'/memberCenter/serviceAddUpdateLook'
,
path
:
'/memberCenter/serviceAddUpdateLook'
,
query
:
{
query
:
{
couponId
:
row
.
id
,
couponId
:
row
.
id
,
title
:
'查看'
title
:
'查看'
,
$title
:
encodeURI
(
'查看服务'
)
}
}
})
})
},
},
...
...
src/views/memberCenter/setmeal.vue
View file @
7253dfc
...
@@ -120,7 +120,7 @@ export default {
...
@@ -120,7 +120,7 @@ export default {
this
.
getLoginCountFun
()
this
.
getLoginCountFun
()
},
},
methods
:
{
methods
:
{
getLoginCountFun
()
{
getLoginCountFun
()
{
//loginType:5是查会员套餐浏览次数
//loginType:5是查会员套餐浏览次数
getLoginCount
({
loginType
:
5
}).
then
(
res
=>
{
getLoginCount
({
loginType
:
5
}).
then
(
res
=>
{
//获取是否第一次点击该页面
//获取是否第一次点击该页面
...
@@ -130,11 +130,11 @@ export default {
...
@@ -130,11 +130,11 @@ export default {
closePanel
()
{
closePanel
()
{
this
.
isFirstShow
=
false
this
.
isFirstShow
=
false
},
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
merchantId
:
44184606
merchantId
:
44184606
}
}
this
.
handleSearch
()
this
.
handleSearch
()
},
},
handleSearch
()
{
handleSearch
()
{
this
.
$refs
.
memberSetMealRef
.
refreshTable
()
this
.
$refs
.
memberSetMealRef
.
refreshTable
()
...
@@ -148,7 +148,9 @@ export default {
...
@@ -148,7 +148,9 @@ export default {
//创建套餐
//创建套餐
handleCreate
()
{
handleCreate
()
{
this
.
$router
.
push
(
'/memberCenter/setmealAddUpdate'
)
this
.
$router
.
push
({
path
:
'/memberCenter/setmealAddUpdate'
,
query
:{
$title
:
encodeURI
(
'创建套餐'
)
}})
},
},
handleClose
()
{
handleClose
()
{
this
.
isDialogVisible
=
!
this
.
isDialogVisible
this
.
isDialogVisible
=
!
this
.
isDialogVisible
...
@@ -192,7 +194,7 @@ export default {
...
@@ -192,7 +194,7 @@ export default {
})
})
},
},
handleEdit
(
row
)
{
handleEdit
(
row
)
{
this
.
$router
.
push
({
path
:
'/memberCenter/setmealAddUpdate'
,
query
:
{
id
:
row
.
id
}
})
this
.
$router
.
push
({
path
:
'/memberCenter/setmealAddUpdate'
,
query
:
{
id
:
row
.
id
,
$title
:
encodeURI
(
'编辑套餐'
)
}
})
},
},
// 查看示例效果
// 查看示例效果
handleLook
(
row
)
{},
handleLook
(
row
)
{},
...
...
src/views/orderComment/commentDetail.vue
View file @
7253dfc
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<p
class=
"edit-title"
>
{{
title
}}
</p>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<div
class=
"comment-container"
>
<div
class=
"comment-container"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<img
class=
"img-100"
:src=
"commentInfo.
customerImg
"
/>
<img
class=
"img-100"
:src=
"commentInfo.
goodsImage
"
/>
<span
class=
"good-name"
>
{{
commentInfo
.
goodsName
}}
</span>
<span
class=
"good-name"
>
{{
commentInfo
.
goodsName
}}
</span>
</div>
</div>
<div
class=
"flex m-t-24"
>
<div
class=
"flex m-t-24"
>
...
...
src/views/orderManage/index.vue
View file @
7253dfc
...
@@ -245,15 +245,15 @@ export default {
...
@@ -245,15 +245,15 @@ export default {
// 订单核销
// 订单核销
isWriteOffVisible
:
false
,
isWriteOffVisible
:
false
,
writeOffForm
:
{
writeOffForm
:
{
writeOff
Code
:
''
verification
Code
:
''
},
},
writeOffRules
:
{
writeOffRules
:
{
writeOff
Code
:
[{
required
:
true
,
message
:
'核销码是必填项'
,
trigger
:
'change'
}]
verification
Code
:
[{
required
:
true
,
message
:
'核销码是必填项'
,
trigger
:
'change'
}]
},
},
writeOffFormData
:
[
writeOffFormData
:
[
{
{
label
:
'核销码'
,
label
:
'核销码'
,
name
:
'
writeOff
Code'
,
name
:
'
verification
Code'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
32
maxlength
:
32
}
}
...
@@ -505,7 +505,7 @@ export default {
...
@@ -505,7 +505,7 @@ export default {
this
.
isWriteOffVisible
=
!
this
.
isWriteOffVisible
this
.
isWriteOffVisible
=
!
this
.
isWriteOffVisible
this
.
orderCode
=
''
this
.
orderCode
=
''
this
.
writeOffForm
=
{
this
.
writeOffForm
=
{
writeOff
Code
:
''
verification
Code
:
''
}
}
},
},
...
...
src/views/zoneList/editZone.vue
View file @
7253dfc
...
@@ -187,6 +187,7 @@ export default {
...
@@ -187,6 +187,7 @@ export default {
merchantAccountLevel
:
item
.
merchantAccountLevel
merchantAccountLevel
:
item
.
merchantAccountLevel
})
})
})
})
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