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
b723b102
Commit
b723b102
authored
Apr 10, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug处理
parent
150d4915
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
2 deletions
+25
-2
achieve_fork.html
application/app_broker/view/index/achieve_fork.html
+1
-1
achieve_fork.js
public/app/js/achieve_fork.js
+19
-0
weekly_achieve_dz.js
public/app/js/weekly_achieve_dz.js
+4
-1
weekly_achieve_mdzj.js
public/app/js/weekly_achieve_mdzj.js
+1
-0
No files found.
application/app_broker/view/index/achieve_fork.html
View file @
b723b102
...
...
@@ -11,7 +11,7 @@
<body
style=
"display: none;"
>
<div
id=
"app"
>
<header
id=
"header"
>
<a
class=
"ps-back"
href=
"javascript:
(history.length>1?history.go(-1):window.location='/');
"
id=
"back_btn"
></a>
<a
class=
"ps-back"
href=
"javascript:
;"
@
click
.
prevent
.
stop=
"pageBack
"
id=
"back_btn"
></a>
<h2
id=
"title"
>
本周业绩
</h2>
</header>
<div
class=
"header_seat"
></div>
...
...
public/app/js/achieve_fork.js
View file @
b723b102
...
...
@@ -34,6 +34,25 @@ require(['vue', 'css!style/achieve_fork.css', 'jquery0325', 'common'],function(V
var
_this
=
this
;
clearInterval
(
_this
.
testBtn
);
},
pageBack
:
function
()
{
if
(
_appToken
!==
null
)
{
Compatible
({
hrefIos
:
'abcd'
,
paraIos
:
{
'route'
:
"aabb"
,
'url'
:
'back'
},
fnAndroid
:
function
()
{
window
.
android
.
onBackPressed
();
},
fn
:
function
()
{
console
.
warn
(
'error'
);
}
});
}
else
{
history
.
go
(
-
1
);
}
},
loadMain
:
function
(){
var
_this
=
this
;
this
.
userLevel
=
localStorage
.
getItem
(
'level'
);
...
...
public/app/js/weekly_achieve_dz.js
View file @
b723b102
...
...
@@ -25,7 +25,8 @@ require(['vue', 'html2canvas', 'css!style/report_achieve.css', 'jquery0325', 'co
'titlename'
:
'本月实收(元)'
,
'titlename2'
:
'人均实收(元)'
,
}],
peopleNum
:
1
peopleNum
:
1
,
token
:
''
},
components
:
{
'my-tr1'
:
{
...
...
@@ -51,6 +52,7 @@ require(['vue', 'html2canvas', 'css!style/report_achieve.css', 'jquery0325', 'co
methods
:
{
loadMain
:
function
()
{
var
_vueThis
=
this
;
_vueThis
.
token
=
localStorage
.
getItem
(
'token'
);
//一些信息自动填写
_titleBeforeObj
.
html
(
_weekly_data
[
'startdate'
]
+
' 至 '
+
_weekly_data
[
'enddate'
]);
_titleTempObj
.
html
(
'汇报人:'
+
localStorage
.
getItem
(
'username'
));
...
...
@@ -59,6 +61,7 @@ require(['vue', 'html2canvas', 'css!style/report_achieve.css', 'jquery0325', 'co
type
:
"POST"
,
url
:
ServerHostTempC
+
'/broker/dayStatement'
,
data
:
{
'AuthToken'
:
_vueThis
.
token
,
'agent_id'
:
_userInfo
[
'id'
],
'time_start'
:
_weekly_data
[
'startdate'
],
'time_end'
:
_weekly_data
[
'enddate'
]
...
...
public/app/js/weekly_achieve_mdzj.js
View file @
b723b102
...
...
@@ -266,6 +266,7 @@ $(function() {
type
:
"POST"
,
url
:
ServerHostTempC
+
'/broker/dayStatement'
,
data
:
{
'AuthToken'
:
_token
,
'agent_id'
:
_id
,
'time_start'
:
_weekly_data
[
'startdate'
],
'time_end'
:
_weekly_data
[
'enddate'
]
...
...
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