Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
46ae43c3
Commit
46ae43c3
authored
Jul 15, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d0db51f1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
25 deletions
+38
-25
CustomerAnalysis.vue
src/components/SalesModule/CustomerAnalysis.vue
+1
-1
HappyPassbook.vue
src/components/SalesModule/HappyPassbook.vue
+32
-20
MyCustomer.vue
src/components/SalesModule/MyCustomer.vue
+5
-4
No files found.
src/components/SalesModule/CustomerAnalysis.vue
View file @
46ae43c3
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
<div
v-for=
"(item,index) in datainfo.LineIdList"
:key=
"index+100"
class=
"circleItem"
>
<div
v-for=
"(item,index) in datainfo.LineIdList"
:key=
"index+100"
class=
"circleItem"
>
<div
style=
"height:126px;position:relative"
>
<div
style=
"height:126px;position:relative"
>
<div
class=
"Linetext"
>
<div
class=
"Linetext"
>
<p
style=
"font-size:34px"
>
{{
Number
(
item
.
Total
)
}}
<span
style=
"font-size:14px"
>
‰
</span></p>
<p
style=
"font-size:34px"
>
{{
Number
(
item
.
Total
)
}}
<span
style=
"font-size:14px"
>
%
</span></p>
<p
style=
"font-size:14px"
>
{{
item
.
TypeName
}}
</p>
<p
style=
"font-size:14px"
>
{{
item
.
TypeName
}}
</p>
</div>
</div>
<el-progress
:color=
"item.color"
:show-text=
"false"
type=
"circle"
:stroke-width=
"16"
:percentage=
"Number(item.Total)"
></el-progress>
<el-progress
:color=
"item.color"
:show-text=
"false"
type=
"circle"
:stroke-width=
"16"
:percentage=
"Number(item.Total)"
></el-progress>
...
...
src/components/SalesModule/HappyPassbook.vue
View file @
46ae43c3
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
<el-select
filterable
v-model=
'msg.Type'
placeholder=
"请选择"
>
<el-select
filterable
v-model=
'msg.Type'
placeholder=
"请选择"
>
<el-option
label=
"不限"
value=
'0'
></el-option>
<el-option
label=
"不限"
value=
'0'
></el-option>
<el-option
label=
'收入'
value=
'1'
></el-option>
<el-option
label=
'收入'
value=
'1'
></el-option>
<el-option
label=
'
折
扣'
value=
'2'
></el-option>
<el-option
label=
'
抵
扣'
value=
'2'
></el-option>
</el-select>
</el-select>
</span>
</span>
</li>
</li>
...
@@ -123,7 +123,6 @@
...
@@ -123,7 +123,6 @@
<li>
<li>
<span><em>
公司
</em>
<span><em>
公司
</em>
<el-select
filterable
v-model=
'msg.RB_Branch_Id'
placeholder=
"请选择"
>
<el-select
filterable
v-model=
'msg.RB_Branch_Id'
placeholder=
"请选择"
>
<el-option
label=
"不限"
value=
""
></el-option>
<el-option
<el-option
v-for=
"item in companyList"
v-for=
"item in companyList"
:label=
"item.BName"
:label=
"item.BName"
...
@@ -175,7 +174,7 @@
...
@@ -175,7 +174,7 @@
<td>
{{
item
.
CustomerName
}}
(
{{
item
.
Contact
}}
)
</td>
<td>
{{
item
.
CustomerName
}}
(
{{
item
.
Contact
}}
)
</td>
<td>
<td>
<span>
{{
item
.
Type
==
1
?
"收入"
:
"
折
扣"
}}
</span>
<span>
{{
item
.
Type
==
1
?
"收入"
:
"
抵
扣"
}}
</span>
</td>
</td>
<td>
{{
item
.
Money
}}
</td>
<td>
{{
item
.
Money
}}
</td>
<td><span
style=
"cursor:pointer"
@
click=
"Gourl(item)"
>
{{
item
.
TCNUM
}}
</span></td>
<td><span
style=
"cursor:pointer"
@
click=
"Gourl(item)"
>
{{
item
.
TCNUM
}}
</span></td>
...
@@ -185,7 +184,7 @@
...
@@ -185,7 +184,7 @@
</tr>
</tr>
<tr
v-if=
'DataList.length==0'
>
<tr
v-if=
'DataList.length==0'
>
<td
colspan=
"
6"
align=
"
center"
>
暂无数据
</td>
<td
colspan=
"
7"
align=
"center"
style=
"text-align:
center"
>
暂无数据
</td>
</tr>
</tr>
</table>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
<el-pagination
background
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
...
@@ -239,10 +238,36 @@
...
@@ -239,10 +238,36 @@
this
.
getList
();
this
.
getList
();
this
.
getLineList
();
this
.
getLineList
();
this
.
getCompany
();
this
.
getCompany
List
();
this
.
getEmployee
();
this
.
getEmployee
();
},
},
methods
:
{
methods
:
{
getCompanyList
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
RB_Group_id
=
userInfo
.
RB_Group_id
;
let
msg
=
{
Status
:
0
,
is_show
:
0
,
RB_Group_Id
:
RB_Group_id
}
this
.
apipost
(
'admin_get_BranchGetList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
[{
Id
:
'-1'
,
BName
:
'不限'
}];
res
.
data
.
data
.
forEach
(
x
=>
{
var
obj
=
{
Id
:
''
,
BName
:
''
}
obj
.
Id
=
x
.
Id
.
toString
();
obj
.
BName
=
x
.
BName
;
this
.
companyList
.
push
(
obj
);
})
}
},
err
=>
{})
},
Gourl
(
item
){
Gourl
(
item
){
this
.
$router
.
push
({
name
:
"groupTourOrderByTuan"
,
query
:{
"id"
:
item
.
TCID
,
"tcmun"
:
item
.
TCNUM
,
blank
:
'y'
}
})
this
.
$router
.
push
({
name
:
"groupTourOrderByTuan"
,
query
:{
"id"
:
item
.
TCID
,
"tcmun"
:
item
.
TCNUM
,
blank
:
'y'
}
})
},
},
...
@@ -255,27 +280,14 @@
...
@@ -255,27 +280,14 @@
}
}
},
null
);
},
null
);
},
},
getCompany
()
{
this
.
apipost
(
"admin_get_BranchGetList"
,
this
.
getCompanyMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
res
.
data
.
data
;
}
else
{
}
},
err
=>
{}
);
},
//获取线路列表
getLineList
()
{
getLineList
()
{
this
.
apipost
(
"line_post_Get
LineListExt"
,
{
},
res
=>
{
this
.
apipost
(
"line_post_Get
AllList_V2"
,
{
LineDirection
:
0
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
LineList
=
res
.
data
.
data
;
this
.
LineList
=
res
.
data
.
data
;
}
}
});
});
},
},
getList
()
{
//获取数据
getList
()
{
//获取数据
if
(
this
.
dateList
){
if
(
this
.
dateList
){
this
.
msg
.
StartTime
=
this
.
dateList
[
0
];
this
.
msg
.
StartTime
=
this
.
dateList
[
0
];
...
...
src/components/SalesModule/MyCustomer.vue
View file @
46ae43c3
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
z-index
:
50
;
bottom
:
0
;
left
:
0
;
border-top
:
3px
solid
#38425d
;
background-color
:
#f9f9f9
;
padding
:
10px
;
width
:
100%
;
min-width
:
1146px
;}
z-index
:
50
;
bottom
:
0
;
left
:
0
;
border-top
:
3px
solid
#38425d
;
background-color
:
#f9f9f9
;
padding
:
10px
;
width
:
100%
;
min-width
:
1146px
;}
.page_MyCustomer
.edHeightOne
{
display
:
block
!important
;
height
:
450px
;}
.page_MyCustomer
.edHeightOne
{
display
:
block
!important
;
height
:
450px
;}
.page_MyCustomer
._mc_list
{
overflow-x
:
auto
;
background
:
#fff
;
padding-top
:
20px
;
padding-left
:
15px
;}
.page_MyCustomer
._mc_list
{
overflow-x
:
auto
;
background
:
#fff
;
padding-top
:
20px
;
padding-left
:
15px
;}
.page_MyCustomer
._mc_list
>
ul
>
li
{
padding
:
20px
20px
0
20px
;
width
:
260px
;
box-sizing
:
border-box
;
height
:
3
70
px
;
.page_MyCustomer
._mc_list
>
ul
>
li
{
padding
:
20px
20px
0
20px
;
width
:
260px
;
box-sizing
:
border-box
;
height
:
3
86
px
;
float
:
left
;
border
:
1px
solid
#F1F2F5
;
background
:
#fff
;
margin-right
:
10px
;
margin-bottom
:
20px
;
border-radius
:
10px
;
position
:
relative
;
cursor
:
pointer
;}
float
:
left
;
border
:
1px
solid
#F1F2F5
;
background
:
#fff
;
margin-right
:
10px
;
margin-bottom
:
20px
;
border-radius
:
10px
;
position
:
relative
;
cursor
:
pointer
;}
.page_MyCustomer
._mc_list
>
ul
>
li
:hover
{
box-shadow
:
0px
0px
10px
rgba
(
191
,
191
,
191
,
1
);
transition
:
all
linear
0.3s
;}
.page_MyCustomer
._mc_list
>
ul
>
li
:hover
{
box-shadow
:
0px
0px
10px
rgba
(
191
,
191
,
191
,
1
);
transition
:
all
linear
0.3s
;}
.page_MyCustomer
._mc_list
>
ul
>
li
.iconDelete
{
cursor
:
pointer
;
display
:
none
;
position
:
absolute
;
top
:
-4px
;
right
:
0
;
color
:
#E95252
;
z-index
:
5
;
}
.page_MyCustomer
._mc_list
>
ul
>
li
.iconDelete
{
cursor
:
pointer
;
display
:
none
;
position
:
absolute
;
top
:
-4px
;
right
:
0
;
color
:
#E95252
;
z-index
:
5
;
}
...
@@ -77,8 +77,8 @@
...
@@ -77,8 +77,8 @@
display
:
inline-block
;
display
:
inline-block
;
border-radius
:
4px
;
border-radius
:
4px
;
font-size
:
14px
;
font-size
:
14px
;
height
:
23
px
;
height
:
38
px
;
line-height
:
23
px
;
line-height
:
38
px
;
text-align
:
center
;
text-align
:
center
;
}
}
</
style
>
</
style
>
...
@@ -136,19 +136,20 @@
...
@@ -136,19 +136,20 @@
<p
class=
"_other"
v-if=
"item.customerVisitList[1]"
>
最近拜访:
{{
item
.
customerVisitList
[
1
].
visitDateTime
}}
</p>
<p
class=
"_other"
v-if=
"item.customerVisitList[1]"
>
最近拜访:
{{
item
.
customerVisitList
[
1
].
visitDateTime
}}
</p>
<p
class=
"_other"
v-else
>
最近拜访:暂无
</p>
<p
class=
"_other"
v-else
>
最近拜访:暂无
</p>
<p
class=
"_other"
>
累计拜访:
{{
item
.
visiteCount
}}
</p>
<p
class=
"_other"
>
累计拜访:
{{
item
.
visiteCount
}}
</p>
<p
class=
"_fist_n"
>
幸福存折
<span>
{{
item
.
cL_Balance
}}
</span></p>
</div>
</div>
<div
class=
"_record"
v-else
>
<div
class=
"_record"
v-else
>
<p
class=
"_fist_n"
v-if=
"item.customerVisitList.length>0"
>
近期约访:
{{
item
.
customerVisitList
[
0
].
visitDateTime
}}
</p>
<p
class=
"_fist_n"
v-if=
"item.customerVisitList.length>0"
>
近期约访:
{{
item
.
customerVisitList
[
0
].
visitDateTime
}}
</p>
<p
class=
"_fist_n"
v-else
>
近期约访:暂无
</p>
<p
class=
"_fist_n"
v-else
>
近期约访:暂无
</p>
<p
class=
"_other_n"
v-if=
"item.customerVisitList[1]"
>
最近拜访:
{{
item
.
customerVisitList
[
1
].
visitDateTime
}}
</p>
<p
class=
"_other_n"
v-if=
"item.customerVisitList[1]"
>
最近拜访:
{{
item
.
customerVisitList
[
1
].
visitDateTime
}}
</p>
<p
class=
"_other_n"
v-else
>
最近拜访:暂无
</p>
<p
class=
"_other_n"
v-else
>
最近拜访:暂无
</p>
<p
class=
"_fist_n"
>
幸福存折
<span>
{{
item
.
cL_Balance
}}
</span></p>
</div>
</div>
<div
class=
"_bt"
>
<div
class=
"_bt"
>
<el-row
:gutter=
"24"
>
<el-row
:gutter=
"24"
>
<el-col
:span=
"18"
>
<el-col
:span=
"18"
>
<p>
累计交易额度
<span>
{{
item
.
tradeTotal
}}
</span></p>
<p>
累计交易额度
<span>
{{
item
.
tradeTotal
}}
</span></p>
<p>
询价与需求
<span>
{{
item
.
inquireCount
}}
</span></p>
<p>
询价与需求
<span>
{{
item
.
inquireCount
}}
</span></p>
<p>
幸福存折
<span>
{{
item
.
cL_Balance
}}
</span></p>
</el-col>
</el-col>
<el-col
:span=
"6"
style=
"text-align:right;padding:0"
>
<el-col
:span=
"6"
style=
"text-align:right;padding:0"
>
<span
class=
"xqBtn"
@
click
.
stop=
"goUrC('CustomerAnalysis',item.customerId)"
>
详情
</span>
<span
class=
"xqBtn"
@
click
.
stop=
"goUrC('CustomerAnalysis',item.customerId)"
>
详情
</span>
...
...
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