Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
e9e0fb76
Commit
e9e0fb76
authored
Jun 28, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ef53c452
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
41 deletions
+36
-41
daily_achieve_mdzj.js
public/app/js/daily_achieve_mdzj.js
+36
-41
No files found.
public/app/js/daily_achieve_mdzj.js
View file @
e9e0fb76
...
...
@@ -129,14 +129,13 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
_this
.
userId
=
localStorage
.
getItem
(
'userid'
);
$
.
ajax
({
type
:
'POST'
,
url
:
ServerHostTempC
+
'/broker/dayStatement'
,
//url: '/broker/dayStatement',
url
:
ServerHostTempC
+
'/broker/dayOrWeekStatement'
,
data
:
{
'AuthToken'
:
_this
.
token
,
// 'agent_id': _this.userId
,
'type'
:
0
,
'agent_id'
:
id
,
'time_start'
:
_this
.
dateNow
,
'time_end'
:
_this
.
dateNow
//
'time_start': _this.dateNow,
//
'time_end': _this.dateNow
},
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -144,11 +143,11 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
_this
.
peopleNum
=
Number
(
_data
.
data
.
agent_total
);
_this
.
peopleNum
=
Number
(
_data
.
data
.
district_team_num
);
_this
.
yeji_yue_wancheng
=
_data
.
data
.
di
rector_performance_month
;
_this
.
chengjiao_yue_wancheng
=
_data
.
data
.
di
rector_bargain_sum_store
;
_this
.
shishou_yue_wancheng
=
_data
.
data
.
practical_money_for_month
;
_this
.
yeji_yue_wancheng
=
_data
.
data
.
di
strict_month_performance
;
_this
.
chengjiao_yue_wancheng
=
_data
.
data
.
di
strict_month_bargain_sum
;
_this
.
shishou_yue_wancheng
=
_data
.
data
.
district_month_real_performance
;
}
else
{
...
...
@@ -178,13 +177,12 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
$
.
ajax
({
type
:
'POST'
,
url
:
ServerHostTempC
+
'/broker/dayStatement'
,
//url: '/broker/dayStatement',
data
:
{
'AuthToken'
:
_this
.
token
,
// 'agent_id': _this.userId
,
'type'
:
0
,
'agent_id'
:
id
,
'time_start'
:
_this
.
dateNow
,
'time_end'
:
_this
.
dateNow
//
'time_start': _this.dateNow,
//
'time_end': _this.dateNow
},
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -192,11 +190,11 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
_this
.
peopleNumHZ
=
Number
(
_data
.
data
.
agent_total
);
_this
.
peopleNumHZ
=
Number
(
_data
.
data
.
district_team_num
);
_this
.
yeji_yue_wanchengHZ
=
_data
.
data
.
di
rector_performance_month
;
_this
.
chengjiao_yue_wanchengHZ
=
_data
.
data
.
di
rector_bargain_sum_store
;
_this
.
shishou_yue_wanchengHZ
=
_data
.
data
.
practical_money_for_month
;
_this
.
yeji_yue_wanchengHZ
=
_data
.
data
.
di
strict_month_performance
;
_this
.
chengjiao_yue_wanchengHZ
=
_data
.
data
.
di
strict_month_bargain_sum
;
_this
.
shishou_yue_wanchengHZ
=
_data
.
data
.
district_month_real_performance
;
}
else
{
layerTipsX
(
_data
[
'msg'
]);
...
...
@@ -225,13 +223,12 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
$
.
ajax
({
type
:
'POST'
,
url
:
ServerHostTempC
+
'/broker/dayStatement'
,
//url: '/broker/dayStatement',
data
:
{
'AuthToken'
:
_this
.
token
,
// 'agent_id': _this.userId
,
'type'
:
0
,
'agent_id'
:
id
,
'time_start'
:
_this
.
dateNow
,
'time_end'
:
_this
.
dateNow
//
'time_start': _this.dateNow,
//
'time_end': _this.dateNow
},
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -239,11 +236,11 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
_this
.
peopleNumSZ
=
Number
(
_data
.
data
.
agent_total
);
_this
.
peopleNumSZ
=
Number
(
_data
.
data
.
district_team_num
);
_this
.
yeji_yue_wanchengSZ
=
_data
.
data
.
di
rector_performance_month
;
_this
.
chengjiao_yue_wanchengSZ
=
_data
.
data
.
di
rector_bargain_sum_store
;
_this
.
shishou_yue_wanchengSZ
=
_data
.
data
.
practical_money_for_month
;
_this
.
yeji_yue_wanchengSZ
=
_data
.
data
.
di
strict_month_performance
;
_this
.
chengjiao_yue_wanchengSZ
=
_data
.
data
.
di
strict_month_bargain_sum
;
_this
.
shishou_yue_wanchengSZ
=
_data
.
data
.
district_month_real_performance
;
}
else
{
layerTipsX
(
_data
[
'msg'
]);
...
...
@@ -272,13 +269,12 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
$
.
ajax
({
type
:
'POST'
,
url
:
ServerHostTempC
+
'/broker/dayStatement'
,
//url: '/broker/dayStatement',
data
:
{
'AuthToken'
:
_this
.
token
,
// 'agent_id': _this.userId
,
'type'
:
0
,
'agent_id'
:
id
,
'time_start'
:
_this
.
dateNow
,
'time_end'
:
_this
.
dateNow
//
'time_start': _this.dateNow,
//
'time_end': _this.dateNow
},
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -286,11 +282,11 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
_this
.
peopleNumGZ
=
Number
(
_data
.
data
.
agent_total
);
_this
.
peopleNumGZ
=
Number
(
_data
.
data
.
district_team_num
);
_this
.
yeji_yue_wanchengGZ
=
_data
.
data
.
di
rector_performance_month
;
_this
.
chengjiao_yue_wanchengGZ
=
_data
.
data
.
di
rector_bargain_sum_store
;
_this
.
shishou_yue_wanchengGZ
=
_data
.
data
.
practical_money_for_month
;
_this
.
yeji_yue_wanchengGZ
=
_data
.
data
.
di
strict_month_performance
;
_this
.
chengjiao_yue_wanchengGZ
=
_data
.
data
.
di
strict_month_bargain_sum
;
_this
.
shishou_yue_wanchengGZ
=
_data
.
data
.
district_month_real_performance
;
}
else
{
layerTipsX
(
_data
[
'msg'
]);
...
...
@@ -319,13 +315,12 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
$
.
ajax
({
type
:
'POST'
,
url
:
ServerHostTempC
+
'/broker/dayStatement'
,
//url: '/broker/dayStatement',
data
:
{
'AuthToken'
:
_this
.
token
,
// 'agent_id': _this.userId
,
'type'
:
0
,
'agent_id'
:
id
,
'time_start'
:
_this
.
dateNow
,
'time_end'
:
_this
.
dateNow
//
'time_start': _this.dateNow,
//
'time_end': _this.dateNow
},
timeout
:
30000
,
dataType
:
'json'
,
...
...
@@ -333,11 +328,11 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
_this
.
peopleNumBJ
=
Number
(
_data
.
data
.
agent_total
);
_this
.
peopleNumBJ
=
Number
(
_data
.
data
.
district_team_num
);
_this
.
yeji_yue_wanchengBJ
=
_data
.
data
.
di
rector_performance_month
;
_this
.
chengjiao_yue_wanchengBJ
=
_data
.
data
.
di
rector_bargain_sum_store
;
_this
.
shishou_yue_wanchengBJ
=
_data
.
data
.
practical_money_for_month
;
_this
.
yeji_yue_wanchengBJ
=
_data
.
data
.
di
strict_month_performance
;
_this
.
chengjiao_yue_wanchengBJ
=
_data
.
data
.
di
strict_month_bargain_sum
;
_this
.
shishou_yue_wanchengBJ
=
_data
.
data
.
district_month_real_performance
;
}
else
{
layerTipsX
(
_data
[
'msg'
]);
...
...
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