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
93165a34
Commit
93165a34
authored
Mar 25, 2020
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/crm
parents
3c08caad
0158aeb9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
264 additions
and
144 deletions
+264
-144
customerManage.vue
src/components/customerManage/customerManage.vue
+13
-0
sceneBox.vue
src/components/dialogModel/sceneBox.vue
+1
-1
guestManagement.vue
src/components/guestManagement/guestManagement.vue
+87
-8
gaoxiao.vue
src/components/statistics/gaoxiao.vue
+1
-1
job.vue
src/components/statistics/job.vue
+1
-1
marital.vue
src/components/statistics/marital.vue
+3
-3
marriage.vue
src/components/statistics/marriage.vue
+15
-8
discussBox.vue
src/components/statistics/model/discussBox.vue
+114
-107
old.vue
src/components/statistics/old.vue
+12
-5
sex.vue
src/components/statistics/sex.vue
+14
-7
tourType.vue
src/components/statistics/tourType.vue
+1
-1
index.js
src/plugins/index.js
+2
-2
No files found.
src/components/customerManage/customerManage.vue
View file @
93165a34
...
...
@@ -252,6 +252,13 @@
v-if=
"queryType[6].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"GuestCount"
label=
"交客数"
sortable
v-if=
"queryType[19].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"OrderMoney"
label=
"交易金额"
...
...
@@ -529,6 +536,9 @@ export default {
},{
label
:
'创建时间'
,
show
:
true
,
},{
label
:
'交客数'
,
show
:
true
,
},
],
queryType
:
[
...
...
@@ -589,6 +599,9 @@ export default {
},{
label
:
'创建时间'
,
show
:
true
,
},{
label
:
'交客数'
,
show
:
true
,
},
],
CustomerId
:
0
,
...
...
src/components/dialogModel/sceneBox.vue
View file @
93165a34
...
...
@@ -502,7 +502,7 @@ export default {
x
.
region
=
this
.
optionsNames
.
filter
(
item
=>
{
return
!
item
.
t
})
}
else
if
(
x
.
Name
===
'负责人'
||
x
.
Name
===
'创建人'
||
x
.
Name
===
'线索来源'
||
x
.
Name
===
'客户来源'
||
x
.
Name
===
'客人级别'
||
x
.
Name
===
'经营场所'
||
x
.
Name
===
'性别'
||
x
.
Name
===
'是否关键决策人'
||
x
.
Name
===
'职务'
||
x
.
Name
===
'商机状态组'
)
{
}
else
if
(
x
.
Name
===
'负责人'
||
x
.
Name
===
'创建人'
||
x
.
Name
===
'线索来源'
||
x
.
Name
===
'客户来源'
||
x
.
Name
===
'客人级别'
||
x
.
Name
===
'经营场所'
||
x
.
Name
===
'性别'
||
x
.
Name
===
'是否关键决策人'
||
x
.
Name
===
'职务'
||
x
.
Name
===
'商机状态组'
||
x
.
Name
===
'交客数'
||
x
.
Name
===
'优惠券数'
||
x
.
Name
===
'交易金额'
||
x
.
Name
===
'幸福存折'
)
{
x
.
region
=
this
.
optionsNames
.
filter
(
item
=>
{
return
(
item
.
c
===
'等于'
||
item
.
c
===
'不等于'
)
&&
item
.
t
})
...
...
src/components/guestManagement/guestManagement.vue
View file @
93165a34
...
...
@@ -141,17 +141,59 @@
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"CustomerLevelStr"
label=
"客户级别"
width=
"120"
prop=
"TraveNum"
label=
"参团数"
sortable
v-if=
"queryType[4].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"OrderCount"
label=
"订单交易数"
sortable
v-if=
"queryType[24].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"
TraveNum
"
label=
"
参团数
"
prop=
"
OrderMoney
"
label=
"
交易金额
"
sortable
v-if=
"queryType[4].show"
v-if=
"queryType[25].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"BirthdayAddress"
label=
"出生地点"
sortable
v-if=
"queryType[28].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"AddressDetail"
label=
"家庭详细地址"
sortable
v-if=
"queryType[27].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"HistoryRecord"
label=
"出境记录"
sortable
v-if=
"queryType[26].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"EconomicCapability"
label=
"经济能力确认"
sortable
v-if=
"queryType[29].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"IsRecommendStr"
label=
"是否推存"
sortable
v-if=
"queryType[30].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
...
...
@@ -485,7 +527,25 @@ export default {
label
:
'备注'
,
show
:
true
,
},{
label
:
'客户等级'
,
label
:
'订单交易数'
,
show
:
true
,
},{
label
:
'订单金额'
,
show
:
true
,
},{
label
:
'出境记录'
,
show
:
true
,
},{
label
:
'家庭详细地址 '
,
show
:
true
,
},{
label
:
'出生地点'
,
show
:
true
,
},{
label
:
'经济能力确认'
,
show
:
true
,
},{
label
:
'是否推存'
,
show
:
true
,
}
],
...
...
@@ -572,7 +632,25 @@ export default {
label
:
'备注'
,
show
:
true
,
},{
label
:
'客户等级'
,
label
:
'订单交易数'
,
show
:
true
,
},{
label
:
'交易金额'
,
show
:
true
,
},{
label
:
'出境记录'
,
show
:
true
,
},{
label
:
'家庭详细地址 '
,
show
:
true
,
},{
label
:
'出生地点'
,
show
:
true
,
},{
label
:
'经济能力确认'
,
show
:
true
,
},{
label
:
'是否推存'
,
show
:
true
,
}
],
...
...
@@ -637,6 +715,7 @@ export default {
},
mounted
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
console
.
log
(
this
.
queryType
)
this
.
getList
()
this
.
Employee
()
let
$this
=
this
...
...
src/components/statistics/gaoxiao.vue
View file @
93165a34
...
...
@@ -161,7 +161,7 @@
:visible
.
sync=
"drawer"
direction=
"rtl"
:with-header=
"false"
>
<discussBox
:
id
=
"discussID"
/>
<discussBox
:
type
=
"discussID"
/>
</el-drawer>
</div>
</
template
>
...
...
src/components/statistics/job.vue
View file @
93165a34
...
...
@@ -156,7 +156,7 @@
:visible
.
sync=
"drawer"
direction=
"rtl"
:with-header=
"false"
>
<discussBox
:
id
=
"discussID"
/>
<discussBox
:
type
=
"discussID"
/>
</el-drawer>
</div>
</
template
>
...
...
src/components/statistics/marital.vue
View file @
93165a34
...
...
@@ -63,10 +63,10 @@
</div>
<div
class=
"situ"
>
<div
class=
"c"
>
根据对客户年龄段的统计可以,更好的了解不同年龄段客人的喜好,消费能力的判读,从而快速的推荐团队给客人等等等
</div>
<
!--
<
div
class=
"bot"
@
click=
"drawer = true"
>
<div
class=
"bot"
@
click=
"drawer = true"
>
查看更多,参与讨论(19)
<i
class=
"el-icon-d-arrow-right"
></i>
</div>
-->
</div>
</div>
</el-card>
</div>
...
...
@@ -78,7 +78,7 @@
:visible
.
sync=
"drawer"
direction=
"rtl"
:with-header=
"false"
>
<discussBox
:
id
=
"discussID"
/>
<discussBox
:
type
=
"discussID"
/>
</el-drawer>
</div>
</
template
>
...
...
src/components/statistics/marriage.vue
View file @
93165a34
...
...
@@ -135,16 +135,16 @@
<el-col
:span=
"12"
size=
"30"
>
推荐解答
</el-col>
<el-col
:span=
"12"
class=
"right-title"
>
<
!--
<
el-col
:span=
"12"
class=
"right-title"
>
<i
class=
"iconfont icondianzan1"
></i>
点赞
</el-col>
</el-col>
-->
</el-row>
</div>
<div
class=
"situ"
>
<div
class=
"c"
>
根据对客户年龄段的统计可以,更好的了解不同年龄段客人的喜好,消费能力的判读,从而快速的推荐团队给客人等等等
</div>
<div
class=
"c"
>
{{
BbsList
.
length
?
BbsList
[
0
].
Content
:
'暂无'
}}
</div>
<div
class=
"bot"
@
click=
"drawer = true"
>
查看更多,参与讨论(19)
<i
class=
"el-icon-d-arrow-right"
></i>
{{
BbsList
.
length
?
'查看更多,参与讨论('
+
BbsList
.
length
+
')'
:
'暂时还没有讨论,快来发起讨论吧~'
}}
<i
class=
"el-icon-d-arrow-right"
></i>
</div>
</div>
</el-card>
...
...
@@ -156,7 +156,7 @@
:visible
.
sync=
"drawer"
direction=
"rtl"
:with-header=
"false"
>
<discussBox
:
id
=
"discussID"
/>
<discussBox
:
type
=
"discussID"
/>
</el-drawer>
</div>
</
template
>
...
...
@@ -174,21 +174,28 @@ export default {
},
data
()
{
return
{
discussID
:
0
,
discussID
:
1
,
drawer
:
false
,
chartData
:
[
50
,
30
,
20
,
10
,
60
],
shopChartData
:
[
50
,
30
,
20
,
10
,
60
],
SexOrder
:
[],
loading
:
false
,
strArr
:
[
'亲子'
,
'蜜月'
,
'夕阳红'
,
'暑期'
,
'寒假'
]
strArr
:
[
'亲子'
,
'蜜月'
,
'夕阳红'
,
'暑期'
,
'寒假'
],
BbsList
:
[],
};
},
watch
:{
},
mounted
()
{
// this.GetSexOrderList()
this
.
GetBbsListByType
()
},
methods
:
{
GetBbsListByType
(){
this
.
apipost
(
"/api/Customer/GetBbsListByType"
,
{
t
:
1
},
res
=>
{
this
.
BbsList
=
res
.
data
.
data
});
},
GetSexOrderList
(){
this
.
loading
=
true
this
.
apipost
(
"/api/Statistic/GetSexOrderList"
,
{},
res
=>
{
...
...
src/components/statistics/model/discussBox.vue
View file @
93165a34
This diff is collapsed.
Click to expand it.
src/components/statistics/old.vue
View file @
93165a34
...
...
@@ -64,9 +64,9 @@
</el-row>
</div>
<div
class=
"situ"
>
<div
class=
"c"
>
根据对客户年龄段的统计可以,更好的了解不同年龄段客人的喜好,消费能力的判读,从而快速的推荐团队给客人等等等
</div>
<div
class=
"c"
>
{{
BbsList
.
length
?
BbsList
[
0
].
Content
:
'暂无'
}}
</div>
<div
class=
"bot"
@
click=
"drawer = true"
>
查看更多,参与讨论(1)
{{
BbsList
.
length
?
'查看更多,参与讨论('
+
BbsList
.
length
+
')'
:
'暂时还没有讨论,快来发起讨论吧~'
}}
<i
class=
"el-icon-d-arrow-right"
></i>
</div>
</div>
...
...
@@ -101,7 +101,7 @@
:visible
.
sync=
"drawer"
direction=
"rtl"
:with-header=
"false"
>
<discussBox
:
id
=
"discussID"
/>
<discussBox
:
type
=
"discussID"
/>
</el-drawer>
</div>
</
template
>
...
...
@@ -118,7 +118,7 @@ export default {
},
data
()
{
return
{
discussID
:
0
,
discussID
:
2
,
drawer
:
false
,
scaleData
:
[],
showChats
:
[],
...
...
@@ -141,13 +141,20 @@ export default {
"壮年(36-45岁)"
,
"中年(46-69岁)"
,
"老年(70岁以上)"
]
],
BbsList
:
[],
};
},
mounted
()
{
this
.
init
();
this
.
GetBbsListByType
()
},
methods
:
{
GetBbsListByType
(){
this
.
apipost
(
"/api/Customer/GetBbsListByType"
,
{
t
:
2
},
res
=>
{
this
.
BbsList
=
res
.
data
.
data
});
},
init
()
{
this
.
apipost
(
"/api/Statistic/GetAgeShopList"
,
{},
res
=>
{
res
.
data
.
data
.
forEach
(
x
=>
{
...
...
src/components/statistics/sex.vue
View file @
93165a34
...
...
@@ -152,11 +152,11 @@
</el-row>
</div>
<div
class=
"situ"
>
<div
class=
"c"
>
根据对客户年龄段的统计可以,更好的了解不同年龄段客人的喜好,消费能力的判读,从而快速的推荐团队给客人等等等
</div>
<
!--
<
div
class=
"bot"
@
click=
"drawer = true"
>
查看更多,参与讨论(19)
<i
class=
"el-icon-d-arrow-right"
></i>
</div>
-->
<div
class=
"c"
>
{{
BbsList
.
length
?
BbsList
[
0
].
Content
:
'暂无'
}}
</div>
<div
class=
"bot"
@
click=
"drawer = true"
>
{{
BbsList
.
length
?
'查看更多,参与讨论('
+
BbsList
.
length
+
')'
:
'暂时还没有讨论,快来发起讨论吧~'
}}
<i
class=
"el-icon-d-arrow-right"
></i>
</div>
</div>
</el-card>
</el-col>
...
...
@@ -167,7 +167,7 @@
:visible
.
sync=
"drawer"
direction=
"rtl"
:with-header=
"false"
>
<discussBox
:
id
=
"discussID"
/>
<discussBox
:
type
=
"discussID"
/>
</el-drawer>
</div>
</
template
>
...
...
@@ -183,21 +183,28 @@ export default {
},
data
()
{
return
{
discussID
:
0
,
discussID
:
3
,
drawer
:
false
,
chartData
:
[
0
,
0
],
shopChartData
:
[],
SexOrder
:
[],
loading
:
false
,
strArr
:
[
'男'
,
'女'
],
BbsList
:
[],
};
},
watch
:{
},
mounted
()
{
this
.
GetSexOrderList
()
this
.
GetBbsListByType
()
},
methods
:
{
GetBbsListByType
(){
this
.
apipost
(
"/api/Customer/GetBbsListByType"
,
{
t
:
2
},
res
=>
{
this
.
BbsList
=
res
.
data
.
data
});
},
GetSexOrderList
(){
this
.
loading
=
true
this
.
apipost
(
"/api/Statistic/GetSexOrderList"
,
{},
res
=>
{
...
...
src/components/statistics/tourType.vue
View file @
93165a34
...
...
@@ -206,7 +206,7 @@
:visible
.
sync=
"drawer"
direction=
"rtl"
:with-header=
"false"
>
<discussBox
:
id
=
"discussID"
/>
<discussBox
:
type
=
"discussID"
/>
</el-drawer>
</div>
</
template
>
...
...
src/plugins/index.js
View file @
93165a34
...
...
@@ -15,9 +15,9 @@ export default {
let
locationName
=
window
.
location
.
hostname
;
let
domainPostUrl
=
"http://testapi.oytour.com"
if
(
this
.
isOnline
())
{
if
(
window
.
location
.
host
.
indexOf
(
'crmyx.oytour.com'
)
!=
-
1
)
if
(
window
.
location
.
host
.
indexOf
(
'
f
crmyx.oytour.com'
)
!=
-
1
)
{
domainUrl
=
"http://
test
crm.oytour.com"
domainUrl
=
"http://crm.oytour.com"
domainPostUrl
=
"http://reborn.oytour.com"
}
else
...
...
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