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 6d09535d
authored
Dec 07, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
2 parents
8e12c8df
d4b1543c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
89 additions
and
80 deletions
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/components/welcomeWords.vue
src/views/customerTransform/detailCustomer.vue
src/views/customerTransform/addCustomer.vue
View file @
6d09535
...
...
@@ -187,7 +187,7 @@
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>
</div>
<SelectLabel
ref=
"selectLabel"
@
tagSelected=
"handleSelect"
:dialogVisible=
"dialogVisible"
></SelectLabel>
...
...
@@ -254,6 +254,7 @@ export default {
}
}
return
{
addLoading
:
false
,
eventBus
:
new
Vue
(),
basicForm
:
{
condition
:
{}
...
...
@@ -376,6 +377,7 @@ export default {
params
.
sendTimeStr
=
this
.
basicForm
.
sendTime
+
' '
+
this
.
basicForm
.
sendDate
}
console
.
log
(
params
)
this
.
addLoading
=
true
this
.
$apis
.
customerTransform
.
insert
(
params
)
.
then
(
res
=>
{
...
...
@@ -387,12 +389,14 @@ export default {
})
this
.
handleCancel
()
}
this
.
addLoading
=
false
})
.
catch
(
err
=>
{
this
.
$message
({
type
:
'error'
,
message
:
err
.
message
})
this
.
addLoading
=
false
})
}
})
...
...
src/views/customerTransform/addCustomerGroup.vue
View file @
6d09535
...
...
@@ -80,7 +80,7 @@
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>
</div>
<glsx-dialog
...
...
@@ -152,6 +152,7 @@ export default {
}
}
return
{
addLoading
:
false
,
eventBus
:
new
Vue
(),
basicForm
:
{},
basicRules
:
{
...
...
@@ -248,6 +249,7 @@ export default {
if
(
params
.
sendType
==
2
)
{
params
.
sendTimeStr
=
this
.
basicForm
.
sendTime
+
' '
+
this
.
basicForm
.
sendDate
}
this
.
addLoading
=
true
console
.
log
(
params
)
this
.
$apis
.
customerTransform
.
insert
(
params
)
...
...
@@ -260,12 +262,14 @@ export default {
})
this
.
handleCancel
()
}
this
.
addLoading
=
false
})
.
catch
(
err
=>
{
this
.
$message
({
type
:
'error'
,
message
:
err
.
message
})
this
.
addLoading
=
false
})
})
}
...
...
src/views/customerTransform/components/welcomeWords.vue
View file @
6d09535
...
...
@@ -326,89 +326,90 @@ export default {
<
style
lang=
"scss"
scoped
>
.welcome-box
{
}
.content-bg
{
background-color
:
#f7f7f7
;
}
.content
{
display
:
inline-block
;
vertical-align
:
text-top
;
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
;
}
.el-icon-loading
{
font-size
:
24px
;
}
&
: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
;
.content
{
display
:
inline-block
;
vertical-align
:
text-top
;
width
:
calc
(
100%
-
103px
);
margin-left
:
12px
;
.welcome-file
{
display
:
flex
;
align-items
:
center
;
padding-right
:
25px
;
font-size
:
16px
;
color
:
#666
;
cursor
:
pointer
;
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
;
margin-left
:
5px
;
}
input
{
position
:
absolute
;
width
:
100%
;
cursor
:
pointer
;
font-size
:
0
;
height
:
40px
;
i
{
font-size
:
16px
;
}
img
{
width
:
16px
;
height
:
16px
;
cursor
:
pointer
;
.el-icon-loading
{
font-size
:
24px
;
}
.el-link
{
position
:
absolute
;
width
:
100%
;
&
:last-child
{
margin-bottom
:
0
;
}
}
}
.date-picker
{
margin-top
:
10px
;
font-size
:
14px
;
color
:
#999
;
.btn-group
{
padding
:
6px
0
6px
20px
;
border
:
1px
solid
#dcdfe6
;
border-top
:
0
;
.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
{
display
:
inline-block
;
line-height
:
40px
;
...
...
src/views/customerTransform/detailCustomer.vue
View file @
6d09535
...
...
@@ -30,7 +30,7 @@
{{
item
.
staffName
}}
<span
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
{{
item
.
status
==
0
?
'未
'
:
'已'
}}
发送
</span>
>
{{
item
.
status
==
0
?
'未
发送'
:
item
.
status
==
1
?
'已发送'
:
'发送失败'
}}
</span>
</div>
<div
class=
"info-num"
>
共
{{
item
.
customerCount
?
item
.
customerCount
:
0
}}
个客户
</div>
</div>
...
...
@@ -60,9 +60,9 @@
@
select=
"handleCustomSelect"
>
<el-menu-item
index
>
全部
</el-menu-item>
<el-menu-item
index=
"1"
>
已
发送
客户
</el-menu-item>
<el-menu-item
index=
"0"
>
未
发送
客户
</el-menu-item>
<el-menu-item
index=
"2"
>
客户
接受
失败
</el-menu-item>
<el-menu-item
index=
"1"
>
已
送达
客户
</el-menu-item>
<el-menu-item
index=
"0"
>
未
送达
客户
</el-menu-item>
<el-menu-item
index=
"2"
>
客户
送达
失败
</el-menu-item>
</el-menu>
<div
class=
"detail-total"
>
共
{{
customerlist
.
length
||
0
}}
人
</div>
<div
v-if=
"customerlist.length != 0"
class=
"info-list"
>
...
...
@@ -79,7 +79,7 @@
<div
class=
"customer-table"
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
{{
item
.
status
==
0
?
'未
'
:
'已'
}}
送达
</div>
>
{{
item
.
status
==
0
?
'未
送达'
:
item
.
status
==
1
?
'已送达'
:
'送达失败'
}}
</div>
</div>
</div>
<div
class=
"info-right"
>
...
...
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