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
892f8d5f
Commit
892f8d5f
authored
Sep 21, 2018
by
agping
Committed by
hujun
Sep 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台修改
parent
dbe50609
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
45 deletions
+3
-45
share_detail.html
application/app/view/index/share_detail.html
+1
-1
user.js
public/resource/js/user.js
+2
-44
No files found.
application/app/view/index/share_detail.html
View file @
892f8d5f
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
<!--底部联系人浮窗部分-->
<!--底部联系人浮窗部分-->
<div
class=
"fix_area_bottom"
>
<div
class=
"fix_area_bottom"
>
<div>
<div>
<div>
购房
请联系:
<span
id=
"fix_name"
></span></div>
<div>
找铺
请联系:
<span
id=
"fix_name"
></span></div>
<div>
<div>
<p><img
src=
"/app/images/tele_icon@2x.png"
/>
<p><img
src=
"/app/images/tele_icon@2x.png"
/>
<a
id=
"fix_tel"
href=
"javascript:;"
></a>
<a
id=
"fix_tel"
href=
"javascript:;"
></a>
...
...
public/resource/js/user.js
View file @
892f8d5f
...
@@ -84,8 +84,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -84,8 +84,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
var
d
=
myDate
.
getDate
();
var
d
=
myDate
.
getDate
();
var
day_end
=
y
+
'-'
+
(
m
<
10
?
(
'0'
+
m
)
:
m
)
+
'-'
+
(
d
<
10
?
(
'0'
+
d
)
:
d
);
var
day_end
=
y
+
'-'
+
(
m
<
10
?
(
'0'
+
m
)
:
m
)
+
'-'
+
(
d
<
10
?
(
'0'
+
d
)
:
d
);
var
day_start
=
getPreMonth
(
day_end
);
var
day_start
=
getPreMonth
(
day_end
);
$
(
'#start_date'
).
val
(
day_start
);
//
$('#start_date').val(day_start);
$
(
'#end_date'
).
val
(
day_end
);
//客户列表 进来 默认时间 一个月
//
$('#end_date').val(day_end);//客户列表 进来 默认时间 一个月
//默认 筛选求租客户
//默认 筛选求租客户
$
(
"select[name=public_status]"
).
val
(
'0'
);
$
(
"select[name=public_status]"
).
val
(
'0'
);
...
@@ -286,50 +286,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -286,50 +286,8 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
BrowseServer
(
'cover_image'
);
BrowseServer
(
'cover_image'
);
});
});
$
(
"#search"
).
click
(
function
()
{
$
(
"#search"
).
click
(
function
()
{
// 客户编号 客户姓名 客户手机号 搜索 创建时间不受限制
if
((
$
.
trim
(
$
(
"#start_date"
).
val
())
&&
$
.
trim
(
$
(
"#end_date"
).
val
()))
||
(
$
.
trim
(
$
(
"input[name='user']"
).
val
())
||
$
.
trim
(
$
(
"input[name='phone']"
).
val
())
||
$
.
trim
(
$
(
"input[name='userID']"
).
val
()))
){
}
else
{
// 初始化时间 两个月
function
getPreMonthTwo
(
date
)
{
var
arr
=
date
.
split
(
'-'
);
var
year
=
arr
[
0
];
var
month
=
arr
[
1
];
var
day
=
arr
[
2
];
var
days
=
new
Date
(
year
,
month
,
0
);
days
=
days
.
getDate
();
var
year2
=
year
;
var
month2
=
parseInt
(
month
)
-
2
;
if
(
month2
==
0
)
{
year2
=
parseInt
(
year2
)
-
1
;
month2
=
12
;
}
var
day2
=
day
;
var
days2
=
new
Date
(
year2
,
month2
,
0
);
days2
=
days2
.
getDate
();
if
(
day2
>
days2
)
{
day2
=
days2
;
}
if
(
month2
<
10
)
{
month2
=
'0'
+
month2
;
}
var
t2
=
year2
+
'-'
+
month2
+
'-'
+
day2
;
return
t2
;
}
//初始化时间
var
myDate
=
new
Date
();
var
y
=
myDate
.
getFullYear
();
var
m
=
myDate
.
getMonth
()
+
1
;
var
d
=
myDate
.
getDate
();
var
day_end
=
y
+
'-'
+
(
m
<
10
?
(
'0'
+
m
)
:
m
)
+
'-'
+
(
d
<
10
?
(
'0'
+
d
)
:
d
);
var
day_start
=
getPreMonthTwo
(
day_end
);
$
(
'#start_date'
).
val
(
day_start
);
$
(
'#end_date'
).
val
(
day_end
);
//客户列表 搜索 默认时间 2个月
}
user
.
getList
(
1
);
user
.
getList
(
1
);
});
});
$
(
"#reset"
).
click
(
function
()
{
$
(
"#reset"
).
click
(
function
()
{
document
.
getElementById
(
"form_search"
).
reset
();
document
.
getElementById
(
"form_search"
).
reset
();
$
(
'#guest_stores'
).
html
(
''
);
$
(
'#guest_stores'
).
html
(
''
);
...
...
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