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
daae17f7
Commit
daae17f7
authored
Apr 12, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩查询bug
parent
4cbbf5ea
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
20 deletions
+30
-20
daily_achieve_dz.html
application/app_broker/view/index/daily_achieve_dz.html
+1
-1
achieve_region.js
public/app/js/achieve_region.js
+13
-9
achieve_ywy.js
public/app/js/achieve_ywy.js
+16
-10
No files found.
application/app_broker/view/index/daily_achieve_dz.html
View file @
daae17f7
...
...
@@ -13,7 +13,7 @@
<div
id=
"app"
>
<header
id=
"header"
>
<a
class=
"ps-back"
href=
"javascript:
(history.length>1?history.go(-1):window.location='/');
"
></a>
<a
class=
"ps-back"
href=
"javascript:
;"
@
click
.
stop
.
prevent=
"pageBack
"
></a>
<h2
id=
"title"
>
业绩日报
</h2>
<a
class=
"word-link"
:href=
"reportLink"
>
我的日报
</a>
</header>
...
...
public/app/js/achieve_region.js
View file @
daae17f7
...
...
@@ -141,15 +141,19 @@ require(['vue', 'css!style/achieve_temp.css', 'jquery0325', 'common'], function(
var
_tempTimeNow
=
new
Date
(
_this
.
nowDate
).
getTime
(),
_tempTimeStart
=
new
Date
(
_this
.
startDate
).
getTime
(),
_tempTimeEnd
=
new
Date
(
_this
.
endDate
).
getTime
();
if
(
_tempTimeStart
>
_tempTimeEnd
||
_tempTimeEnd
>=
_tempTimeNow
){
layer
.
open
({
content
:
'开始时间不能大于结束时间,且搜索日期需要小于今天。请重新选择日期'
,
btn
:
[
'确定'
,
'取消'
],
yes
:
function
(
_index
){
layer
.
close
(
_index
);
}
});
return
false
;
if
(
_tempTimeNow
===
_tempTimeStart
&&
_tempTimeNow
===
_tempTimeEnd
){
console
.
log
(
'搜索为今天'
);
}
else
{
if
(
_tempTimeStart
>
_tempTimeEnd
||
_tempTimeEnd
>=
_tempTimeNow
){
layer
.
open
({
content
:
'开始时间不能大于结束时间,且搜索日期需要小于今天。请重新选择日期'
,
btn
:
[
'确定'
,
'取消'
],
yes
:
function
(
_index
){
layer
.
close
(
_index
);
}
});
return
false
;
};
};
};
sessionStorage
.
setItem
(
'achieve_search_start_date'
,
_this
.
startDate
);
...
...
public/app/js/achieve_ywy.js
View file @
daae17f7
...
...
@@ -120,7 +120,9 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
var
_this
=
this
;
Vue
.
set
(
vm
.
tabsMain
[
1
],
'houseDataInit'
,
obj
);
_this
.
resetSomeData
(
2
);
_this
.
ajaxUl
();
_this
.
ajaxMainNum
(
function
(){
_this
.
ajaxUl
();
});
},
resetSomeData
:
function
(
type
)
{
var
_this
=
this
;
...
...
@@ -238,15 +240,19 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
var
_tempTimeNow
=
new
Date
(
_this
.
nowDate
).
getTime
(),
_tempTimeStart
=
new
Date
(
_this
.
startDate
).
getTime
(),
_tempTimeEnd
=
new
Date
(
_this
.
endDate
).
getTime
();
if
(
_tempTimeStart
>
_tempTimeEnd
||
_tempTimeEnd
>=
_tempTimeNow
){
layer
.
open
({
content
:
'开始时间不能大于结束时间,且搜索日期需要小于今天。请重新选择日期'
,
btn
:
[
'确定'
,
'取消'
],
yes
:
function
(
_index
){
layer
.
close
(
_index
);
}
});
return
false
;
if
(
_tempTimeNow
===
_tempTimeStart
&&
_tempTimeNow
===
_tempTimeEnd
){
console
.
log
(
'搜索为今天'
);
}
else
{
if
(
_tempTimeStart
>
_tempTimeEnd
||
_tempTimeEnd
>=
_tempTimeNow
){
layer
.
open
({
content
:
'开始时间不能大于结束时间,且搜索日期需要小于今天。请重新选择日期'
,
btn
:
[
'确定'
,
'取消'
],
yes
:
function
(
_index
){
layer
.
close
(
_index
);
}
});
return
false
;
};
};
};
_this
.
resetSomeData
(
1
);
...
...
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