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
a97dd824
Commit
a97dd824
authored
Dec 13, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周pk
parent
9591418f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
pkWeekList.js
public/resource/js/pkWeekList.js
+13
-4
No files found.
public/resource/js/pkWeekList.js
View file @
a97dd824
...
...
@@ -21,7 +21,13 @@ define(['doT', 'text!temp/pk_week_list_template_tpl.html.html', 'css!style/home.
var
day_end
=
y
+
'.'
+
(
m
<
10
?
(
'0'
+
m
)
:
m
)
+
'.'
+
(
d
<
10
?
(
'0'
+
d
)
:
d
);
$
(
'#start_date'
).
html
(
day_start
);
$
(
'#end_date'
).
html
(
day_end
);
// pkList.getPkTime();
pkList
.
getPkTime
();
//判断pk生成权限
if
(
check_auth
(
'index/configWeek'
)){
$
(
'.produce-pk'
).
show
();
}
else
{
$
(
'.produce-pk'
).
hide
();
}
pkList
.
getTeamList
(
0
);
pkList
.
event
();
},
...
...
@@ -221,13 +227,15 @@ define(['doT', 'text!temp/pk_week_list_template_tpl.html.html', 'css!style/home.
},
//显示 隐藏城市 默认显示 当前账号 所在城市
getPkTime
:
function
(){
console
.
log
(
5566
)
$
.
ajax
({
url
:
'/index/configWeek'
,
url
:
'/index/
get
configWeek'
,
type
:
'GET'
,
async
:
true
,
data
:
{
//
'site_id':user_info_obj.site_id,
'site_id'
:
10005
,
'site_id'
:
user_info_obj
.
site_id
,
//
'site_id':10005,
},
...
...
@@ -246,6 +254,7 @@ define(['doT', 'text!temp/pk_week_list_template_tpl.html.html', 'css!style/home.
},
//设置时间
setPkTime
:
function
(){
console
.
log
(
55
)
$
.
ajax
({
url
:
'/index/configWeek'
,
type
:
'POST'
,
...
...
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