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
b1d67998
Commit
b1d67998
authored
May 28, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
总监日报
parent
7f2e459f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
282 additions
and
0 deletions
+282
-0
daily_achieve_mdzj.html
application/app_broker/view/index/daily_achieve_mdzj.html
+96
-0
daily_achieve_mdzj.js
public/app/js/daily_achieve_mdzj.js
+186
-0
No files found.
application/app_broker/view/index/daily_achieve_mdzj.html
View file @
b1d67998
...
@@ -164,6 +164,102 @@
...
@@ -164,6 +164,102 @@
<td>
人数差额
</td>
<td>
人数差额
</td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_chaeSZ"
/></td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_chaeSZ"
/></td>
</tr>
</tr>
<!--广州市-->
<tr
class=
"table-tr-single guangzhou"
>
<td
colspan=
"5"
>
广州市-今日总结
</td>
</tr>
<tr
class=
"table-tr-header guangzhou"
>
<td></td>
<td>
月目标
</td>
<td>
月完成
</td>
<td>
差额
</td>
<td>
人均
</td>
</tr>
<tr
class=
"guangzhou"
>
<td>
业绩(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiaoGZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_wanchengGZ"
/></td>
<td>
{{chae(yeji_yue_mubiaoGZ, yeji_yue_wanchengGZ)}}
</td>
<td>
{{renjun(yeji_yue_wanchengGZ)}}
</td>
</tr>
<tr
class=
"guangzhou"
>
<td>
实收(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiaoGZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wanchengGZ"
/></td>
<td>
{{chae(shishou_yue_mubiaoGZ, shishou_yue_wanchengGZ)}}
</td>
<td>
{{renjun(shishou_yue_wanchengGZ)}}
</td>
</tr>
<tr
class=
"guangzhou"
>
<td>
成交单数
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiaoGZ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_wanchengGZ"
/></td>
<td>
{{chae(chengjiao_yue_mubiaoGZ, chengjiao_yue_wanchengGZ)}}
</td>
<td>
{{renjun(chengjiao_yue_wanchengGZ)}}
</td>
</tr>
<tr
class=
"table-tr-single guangzhou"
>
<td
colspan=
"5"
>
广州市-人员汇报
</td>
</tr>
<tr
class=
"guangzhou"
>
<td>
人员目标
</td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiaoGZ"
/></td>
</tr>
<tr
class=
"guangzhou"
>
<td>
现在人数
</td>
<td
id=
"renshu_now"
colspan=
"4"
>
{{peopleNumGZ}}
</td>
</tr>
<tr
class=
"guangzhou"
>
<td>
人数差额
</td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_chaeGZ"
/></td>
</tr>
<!--北京市-->
<tr
class=
"table-tr-single beijing"
>
<td
colspan=
"5"
>
北京市-今日总结
</td>
</tr>
<tr
class=
"table-tr-header beijing"
>
<td></td>
<td>
月目标
</td>
<td>
月完成
</td>
<td>
差额
</td>
<td>
人均
</td>
</tr>
<tr
class=
"beijing"
>
<td>
业绩(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_mubiaoBJ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"yeji_yue_wanchengSZ"
/></td>
<td>
{{chae(yeji_yue_mubiaoBJ, yeji_yue_wanchengBJ)}}
</td>
<td>
{{renjun(yeji_yue_wanchengBJ)}}
</td>
</tr>
<tr
class=
"beijing"
>
<td>
实收(元)
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_mubiaoBJ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"shishou_yue_wanchengBJ"
/></td>
<td>
{{chae(shishou_yue_mubiaoBJ, shishou_yue_wanchengBJ)}}
</td>
<td>
{{renjun(shishou_yue_wanchengBJ)}}
</td>
</tr>
<tr
class=
"beijing"
>
<td>
成交单数
</td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_mubiaoBJ"
/></td>
<td><input
type=
"number"
placeholder=
"填写"
v-model
.
number=
"chengjiao_yue_wanchengBJ"
/></td>
<td>
{{chae(chengjiao_yue_mubiaoBJ, chengjiao_yue_wanchengBJ)}}
</td>
<td>
{{renjun(chengjiao_yue_wanchengBJ)}}
</td>
</tr>
<tr
class=
"table-tr-single beijing"
>
<td
colspan=
"5"
>
北京市-人员汇报
</td>
</tr>
<tr
class=
"beijing"
>
<td>
人员目标
</td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_mubiaoBJ"
/></td>
</tr>
<tr
class=
"beijing"
>
<td>
现在人数
</td>
<td
id=
"renshu_now"
colspan=
"4"
>
{{peopleNumBJ}}
</td>
</tr>
<tr
class=
"beijing"
>
<td>
人数差额
</td>
<td
colspan=
"4"
><input
type=
"number"
placeholder=
"填写"
id=
"renshu_chaeBJ"
/></td>
</tr>
<!--不同城市 共用-->
<!--不同城市 共用-->
<tr
class=
"table-tr-single"
>
<tr
class=
"table-tr-single"
>
<td
colspan=
"5"
>
当月商场和街铺成交情况
</td>
<td
colspan=
"5"
>
当月商场和街铺成交情况
</td>
...
...
public/app/js/daily_achieve_mdzj.js
View file @
b1d67998
...
@@ -10,6 +10,9 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
...
@@ -10,6 +10,9 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
$
(
'.shanghai'
).
hide
();
$
(
'.shanghai'
).
hide
();
$
(
'.hangzhou'
).
hide
();
$
(
'.hangzhou'
).
hide
();
$
(
'.shenzhen'
).
hide
();
$
(
'.shenzhen'
).
hide
();
$
(
'.guangzhou'
).
hide
();
$
(
'.beijing'
).
hide
();
var
vm
=
new
Vue
({
var
vm
=
new
Vue
({
el
:
'#app'
,
el
:
'#app'
,
data
:
{
data
:
{
...
@@ -36,10 +39,24 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
...
@@ -36,10 +39,24 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
shishou_yue_wanchengSZ
:
''
,
shishou_yue_wanchengSZ
:
''
,
chengjiao_yue_mubiaoSZ
:
''
,
chengjiao_yue_mubiaoSZ
:
''
,
chengjiao_yue_wanchengSZ
:
0
,
chengjiao_yue_wanchengSZ
:
0
,
yeji_yue_mubiaoBJ
:
''
,
yeji_yue_wanchengBJ
:
0
,
shishou_yue_mubiaoBJ
:
''
,
shishou_yue_wanchengBJ
:
''
,
chengjiao_yue_mubiaoBJ
:
''
,
chengjiao_yue_wanchengBJ
:
0
,
yeji_yue_mubiaoGZ
:
''
,
yeji_yue_wanchengGZ
:
0
,
shishou_yue_mubiaoGZ
:
''
,
shishou_yue_wanchengGZ
:
''
,
chengjiao_yue_mubiaoGZ
:
''
,
chengjiao_yue_wanchengGZ
:
0
,
reportLink
:
'daily_my'
,
reportLink
:
'daily_my'
,
peopleNum
:
1
,
peopleNum
:
1
,
peopleNumHZ
:
1
,
peopleNumHZ
:
1
,
peopleNumSZ
:
1
,
peopleNumSZ
:
1
,
peopleNumGZ
:
1
,
peopleNumBJ
:
1
,
nowDayNum
:
parseInt
(
new
Date
().
getDate
()),
nowDayNum
:
parseInt
(
new
Date
().
getDate
()),
canClickFlag
:
true
canClickFlag
:
true
},
},
...
@@ -233,6 +250,96 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
...
@@ -233,6 +250,96 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
}
}
});
});
},
},
//广州 总监日报
loadMainGZ
:
function
(
id
)
{
var
_this
=
this
;
_this
.
token
=
localStorage
.
getItem
(
'token'
);
_this
.
userName
=
localStorage
.
getItem
(
'username'
);
_this
.
userId
=
localStorage
.
getItem
(
'userid'
);
$
.
ajax
({
type
:
'POST'
,
url
:
ServerHostTempC
+
'/broker/dayStatement'
,
//url: '/broker/dayStatement',
data
:
{
'AuthToken'
:
_this
.
token
,
// 'agent_id': _this.userId,
'agent_id'
:
id
,
'time_start'
:
_this
.
dateNow
,
'time_end'
:
_this
.
dateNow
},
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
_this
.
peopleNumGZ
=
Number
(
_data
.
data
.
agent_total
);
_this
.
yeji_yue_wanchengGZ
=
_data
.
data
.
director_performance_month
;
_this
.
chengjiao_yue_wanchengGZ
=
_data
.
data
.
director_bargain_sum_store
;
}
else
{
layerTipsX
(
_data
[
'msg'
]);
}
}
else
{
layerTipsX
(
'data type error'
);
};
},
error
:
function
()
{
layerTipsX
(
'enter error'
);
},
complete
:
function
(
xhr
,
textStatus
)
{
if
(
textStatus
===
'timeout'
)
{
//处理超时的逻辑
layerTipsX
(
'overtime'
);
};
}
});
},
//北京 总监日报
loadMainBJ
:
function
(
id
)
{
var
_this
=
this
;
_this
.
token
=
localStorage
.
getItem
(
'token'
);
_this
.
userName
=
localStorage
.
getItem
(
'username'
);
_this
.
userId
=
localStorage
.
getItem
(
'userid'
);
$
.
ajax
({
type
:
'POST'
,
url
:
ServerHostTempC
+
'/broker/dayStatement'
,
//url: '/broker/dayStatement',
data
:
{
'AuthToken'
:
_this
.
token
,
// 'agent_id': _this.userId,
'agent_id'
:
id
,
'time_start'
:
_this
.
dateNow
,
'time_end'
:
_this
.
dateNow
},
timeout
:
30000
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
success
:
function
(
_data
)
{
if
(
typeof
_data
===
'object'
)
{
if
(
_data
[
'code'
]
==
'200'
)
{
_this
.
peopleNumBJ
=
Number
(
_data
.
data
.
agent_total
);
_this
.
yeji_yue_wanchengBJ
=
_data
.
data
.
director_performance_month
;
_this
.
chengjiao_yue_wanchengBJ
=
_data
.
data
.
director_bargain_sum_store
;
}
else
{
layerTipsX
(
_data
[
'msg'
]);
}
}
else
{
layerTipsX
(
'data type error'
);
};
},
error
:
function
()
{
layerTipsX
(
'enter error'
);
},
complete
:
function
(
xhr
,
textStatus
)
{
if
(
textStatus
===
'timeout'
)
{
//处理超时的逻辑
layerTipsX
(
'overtime'
);
};
}
});
},
getAgentId
:
function
()
{
getAgentId
:
function
()
{
var
_this
=
this
;
var
_this
=
this
;
_this
.
token
=
localStorage
.
getItem
(
'token'
);
_this
.
token
=
localStorage
.
getItem
(
'token'
);
...
@@ -266,6 +373,15 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
...
@@ -266,6 +373,15 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
$
(
'.shenzhen'
).
show
();
$
(
'.shenzhen'
).
show
();
_this
.
loadMainSZ
(
_data
.
data
[
0
].
id
);
_this
.
loadMainSZ
(
_data
.
data
[
0
].
id
);
};
};
if
(
lengthID
>
0
&&
_data
.
data
[
0
].
site_id
==
10004
){
$
(
'.guangzhou'
).
show
();
_this
.
loadMainGZ
(
_data
.
data
[
0
].
id
);
};
if
(
lengthID
>
0
&&
_data
.
data
[
0
].
site_id
==
10005
){
$
(
'.beijing'
).
show
();
_this
.
loadMainBJ
(
_data
.
data
[
0
].
id
);
};
//_data.data[1]
//_data.data[1]
if
(
lengthID
>
1
&&
_data
.
data
[
1
].
site_id
==
10001
){
if
(
lengthID
>
1
&&
_data
.
data
[
1
].
site_id
==
10001
){
$
(
'.shanghai'
).
show
();
$
(
'.shanghai'
).
show
();
...
@@ -280,6 +396,14 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
...
@@ -280,6 +396,14 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
$
(
'.shenzhen'
).
show
();
$
(
'.shenzhen'
).
show
();
_this
.
loadMainSZ
(
_data
.
data
[
1
].
id
);
_this
.
loadMainSZ
(
_data
.
data
[
1
].
id
);
};
};
if
(
lengthID
>
1
&&
_data
.
data
[
1
].
site_id
==
10004
){
$
(
'.guangzhou'
).
show
();
_this
.
loadMainGZ
(
_data
.
data
[
1
].
id
);
};
if
(
lengthID
>
1
&&
_data
.
data
[
1
].
site_id
==
10005
){
$
(
'.beijing'
).
show
();
_this
.
loadMainBJ
(
_data
.
data
[
1
].
id
);
};
//_data.data[2]
//_data.data[2]
if
(
lengthID
>
2
&&
_data
.
data
[
2
].
site_id
==
10001
){
if
(
lengthID
>
2
&&
_data
.
data
[
2
].
site_id
==
10001
){
$
(
'.shanghai'
).
show
();
$
(
'.shanghai'
).
show
();
...
@@ -293,6 +417,68 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
...
@@ -293,6 +417,68 @@ require(['vue', 'vconsole', 'html2canvas', 'css!style/report_achieve.css', 'jque
$
(
'.shenzhen'
).
show
();
$
(
'.shenzhen'
).
show
();
_this
.
loadMainSZ
(
_data
.
data
[
2
].
id
);
_this
.
loadMainSZ
(
_data
.
data
[
2
].
id
);
}
}
if
(
lengthID
>
2
&&
_data
.
data
[
2
].
site_id
==
10004
){
$
(
'.guangzhou'
).
show
();
_this
.
loadMainGZ
(
_data
.
data
[
2
].
id
);
};
if
(
lengthID
>
2
&&
_data
.
data
[
2
].
site_id
==
10005
){
$
(
'.beijing'
).
show
();
_this
.
loadMainBJ
(
_data
.
data
[
2
].
id
);
};
//_data.data[3]
if
(
lengthID
>
3
&&
_data
.
data
[
3
].
site_id
==
10001
){
$
(
'.shanghai'
).
show
();
_this
.
loadMainSH
(
_data
.
data
[
3
].
id
);
}
if
(
lengthID
>
3
&&
_data
.
data
[
3
].
site_id
==
10002
){
$
(
'.hangzhou'
).
show
();
_this
.
loadMainHZ
(
_data
.
data
[
3
].
id
);
}
if
(
lengthID
>
3
&&
_data
.
data
[
3
].
site_id
==
10003
){
$
(
'.shenzhen'
).
show
();
_this
.
loadMainSZ
(
_data
.
data
[
3
].
id
);
}
if
(
lengthID
>
3
&&
_data
.
data
[
3
].
site_id
==
10004
){
$
(
'.guangzhou'
).
show
();
_this
.
loadMainGZ
(
_data
.
data
[
3
].
id
);
};
if
(
lengthID
>
3
&&
_data
.
data
[
3
].
site_id
==
10005
){
$
(
'.beijing'
).
show
();
_this
.
loadMainBJ
(
_data
.
data
[
3
].
id
);
};
//_data.data[4]
if
(
lengthID
>
4
&&
_data
.
data
[
4
].
site_id
==
10001
){
$
(
'.shanghai'
).
show
();
_this
.
loadMainSH
(
_data
.
data
[
4
].
id
);
}
if
(
lengthID
>
4
&&
_data
.
data
[
4
].
site_id
==
10002
){
$
(
'.hangzhou'
).
show
();
_this
.
loadMainHZ
(
_data
.
data
[
4
].
id
);
}
if
(
lengthID
>
4
&&
_data
.
data
[
4
].
site_id
==
10003
){
$
(
'.shenzhen'
).
show
();
_this
.
loadMainSZ
(
_data
.
data
[
4
].
id
);
}
if
(
lengthID
>
4
&&
_data
.
data
[
4
].
site_id
==
10004
){
$
(
'.guangzhou'
).
show
();
_this
.
loadMainGZ
(
_data
.
data
[
4
].
id
);
};
if
(
lengthID
>
4
&&
_data
.
data
[
4
].
site_id
==
10005
){
$
(
'.beijing'
).
show
();
_this
.
loadMainBJ
(
_data
.
data
[
4
].
id
);
};
}
else
{
}
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