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
11c9b048
Commit
11c9b048
authored
Mar 21, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
097110fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
16 deletions
+39
-16
dataCount.vue
src/components/rank/dataCount.vue
+39
-16
No files found.
src/components/rank/dataCount.vue
View file @
11c9b048
...
...
@@ -48,7 +48,7 @@
range-separator=
"至"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
value-format=
"yyyy
/MM/
dd"
value-format=
"yyyy
-MM-
dd"
:clearable=
"false"
:picker-options=
"pickerOptions"
>
...
...
@@ -66,7 +66,7 @@
{{ x.title }}
</div>
</div>
<div
class=
"sub-title q-my-md"
>
今日实时数据
</div>
<div
class=
"sub-title q-my-md"
>
今日实时数据
</div>
<div
class=
"card rounded big"
>
<div
style=
"margin: 0 12px;"
>
<div
class=
"sub-title"
>
今日客户数据
</div>
...
...
@@ -79,11 +79,12 @@
<div
class=
"data-items col NumCursorP"
@
click=
"goUrl(1)"
>
<div>
客户总数
</div>
<div
class=
"num"
style=
"margin: 6px 0;"
>
<span
class=
"datanum"
>
<
template
v-if=
"customerObj"
>
{{
customerObj
.
TotalCustomerCount
}}
</
template
>
<span
class=
"datanum"
style=
""
>
<
template
v-if=
"customerObj"
>
{{
customerObj
.
TotalCustomerCount
}}
</
template
>
</span>
<span
></span>
<span>
个
</span>
</div>
<div
class=
"text-info"
>
</div>
...
...
@@ -889,17 +890,39 @@ export default {
mounted
()
{},
methods
:
{
goUrl
(
type
)
{
let
query
=
{
CStartDate
:
this
.
parameters
.
dateRange
[
0
],
CEndDate
:
this
.
parameters
.
dateRange
[
1
],
BranchId
:
this
.
parameters
.
branchId
,
RB_Department_Id
:
this
.
parameters
.
RB_Department_Id
,
EmployeeId
:
this
.
parameters
.
empId
,
blank
:
"y"
,
}
if
(
this
.
parameters
.
CusType
==
0
){
this
.
OpenNewPage
(
'/salesVolumeRank'
,
query
);
if
(
this
.
parameters
.
CusType
==
1
&&
(
type
==
1
||
type
==
2
))
{
var
CStartTime
=
""
;
var
CEndDate
=
""
;
if
(
type
==
2
){
var
CStartTime
=
this
.
parameters
.
dateRange
[
0
];
var
CEndDate
=
this
.
parameters
.
dateRange
[
1
];
}
let
query
=
{
CStartTime
:
CStartTime
,
CEndDate
:
CEndDate
,
// EnterTime:this.parameters,
BranchId
:
this
.
parameters
.
branchId
+
""
,
// RB_Department_Id:this.parameters.RB_Department_Id,
EnterID
:
this
.
parameters
.
empId
,
blank
:
"y"
,
}
this
.
OpenNewPage
(
'/directCustomerList'
,
query
);
}
else
{
let
query
=
{
CStartDate
:
this
.
parameters
.
dateRange
[
0
],
CEndDate
:
this
.
parameters
.
dateRange
[
1
],
BranchId
:
this
.
parameters
.
branchId
,
RB_Department_Id
:
this
.
parameters
.
RB_Department_Id
,
EmployeeId
:
this
.
parameters
.
empId
,
blank
:
"y"
,
}
if
(
this
.
parameters
.
CusType
==
0
){
this
.
OpenNewPage
(
'/salesVolumeRank'
,
query
);
}
}
},
changeDepart
(
node
,
instanceId
){
this
.
parameters
.
RB_Department_Id
=
node
.
DepartmentId
;
...
...
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