Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
CRM
Commits
9a331ec2
Commit
9a331ec2
authored
Mar 25, 2020
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自助营销
parent
93165a34
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
690 additions
and
14 deletions
+690
-14
customerManage.css
src/assets/css/customerManage.css
+1
-0
brithday.vue
src/components/sellevent/brithday.vue
+642
-0
index.vue
src/components/sellevent/index.vue
+38
-13
index.js
src/plugins/index.js
+1
-1
router.js
src/router.js
+8
-0
No files found.
src/assets/css/customerManage.css
View file @
9a331ec2
...
...
@@ -8,6 +8,7 @@
.customerManage
.tools
h1
{
font-weight
:
bold
;
font-size
:
18px
;
font-family
:
perfectFont
;
}
.customerManage
.tools
.rightmenu
{
display
:
flex
;
...
...
src/components/sellevent/brithday.vue
0 → 100644
View file @
9a331ec2
This diff is collapsed.
Click to expand it.
src/components/sellevent/index.vue
View file @
9a331ec2
...
...
@@ -7,8 +7,8 @@
<span>
直客营销事件
</span>
</div>
<div
class=
"events"
>
<el-badge
:value=
"
2"
:max=
"
99"
class=
"item"
>
<div
class=
"event"
>
<el-badge
:value=
"
r[0]"
:max=
"99
99"
class=
"item"
>
<div
class=
"event"
@
click=
"goBirth"
>
<img
src=
"../../assets/img/event/shengri.png"
/>
<div
class=
"content"
>
<div
class=
"ti"
>
生日事件
</div>
...
...
@@ -20,17 +20,19 @@
</div>
</div>
</el-badge>
<div
class=
"event"
>
<img
src=
"../../assets/img/event/biye.png"
/>
<div
class=
"content"
>
<div
class=
"ti"
>
毕业季事件
</div>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"进入毕业季6-8月份正值初中,高中,大学学生毕业的客户名单,可以向客户或在关联同行发出恭贺函,并且关联部分产品信息"
placement=
"top"
>
<div
class=
"desc"
>
进入毕业季6-8月份正值初中,高中,大学学生毕业的客户名单,可以向客户或在关联同行发出恭贺函,并且关联部分产品信息
</div>
</el-tooltip>
<el-badge
:value=
"r[1]"
:max=
"9999"
class=
"item"
>
<div
class=
"event"
>
<img
src=
"../../assets/img/event/biye.png"
/>
<div
class=
"content"
>
<div
class=
"ti"
>
毕业季事件
</div>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"进入毕业季6-8月份正值初中,高中,大学学生毕业的客户名单,可以向客户或在关联同行发出恭贺函,并且关联部分产品信息"
placement=
"top"
>
<div
class=
"desc"
>
推荐3-6月发送一次,为考试前的加油函,6-9月发送一次为考试后的毕业恭喜函,提供初中,高中,大学学生毕业的客户名单,可以向客户或在关联同行发出恭贺函,并且关联部分产品信息
</div>
</el-tooltip>
</div>
</div>
</
div
>
</
el-badge
>
<div
class=
"event"
>
<img
src=
"../../assets/img/event/jieri.png"
/>
<div
class=
"content"
>
...
...
@@ -75,6 +77,7 @@
</el-tooltip>
</div>
</div>
</div>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -128,6 +131,7 @@
</div>
</div>
</div>
<div
class=
"event"
style=
"cursor:default;"
>
</div>
</div>
</el-col>
</el-row>
...
...
@@ -136,7 +140,27 @@
<
script
>
export
default
{
data
()
{
return
{
r
:[
0
,
0
]
}
},
created
()
{
this
.
init
();
},
methods
:{
init
(){
this
.
apipost
(
"/api/SellEvent/GetSellEventToCCount"
,{},
r
=>
{
console
.
log
(
r
.
data
)
if
(
r
.
data
.
resultCode
==
1
){
this
.
r
=
r
.
data
.
data
}
})
},
goBirth
(){
this
.
$router
.
push
(
'/birthdayEvent'
);
}
}
}
</
script
>
...
...
@@ -170,6 +194,7 @@ export default {
height
:
370px
;
background
:
rgba
(
244
,
245
,
249
,
1
);
margin-bottom
:
30px
;
cursor
:
pointer
;
}
.event-box
.events
.event
img
{
width
:
100%
;
...
...
src/plugins/index.js
View file @
9a331ec2
...
...
@@ -11,7 +11,7 @@ export default {
},
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
"http
://testcrm.oytour.com
"
let
domainUrl
=
"http
s://localhost:5001
"
let
locationName
=
window
.
location
.
hostname
;
let
domainPostUrl
=
"http://testapi.oytour.com"
if
(
this
.
isOnline
())
{
...
...
src/router.js
View file @
9a331ec2
...
...
@@ -171,6 +171,14 @@ export default new Router({
title
:
"营销事件"
}
},
{
path
:
"/birthdayEvent"
,
name
:
"birthdayEvent"
,
component
:
()
=>
import
(
'./components/sellevent/brithday.vue'
),
meta
:
{
title
:
"生日事件"
}
},
{
path
:
"/gaoxiao"
,
name
:
"gaoxiao"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment