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
8e5e8b13
Commit
8e5e8b13
authored
Jul 18, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
约带看优化
parent
44437b60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
inspectionRecord.html
application/index/view/inspection/inspectionRecord.html
+2
-2
inspectionRecord.js
public/resource/js/inspectionRecord.js
+9
-9
No files found.
application/index/view/inspection/inspectionRecord.html
View file @
8e5e8b13
...
@@ -58,14 +58,14 @@
...
@@ -58,14 +58,14 @@
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_start"
name=
"start_date1"
type=
"date"
>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_start"
name=
"start_date1"
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_end"
name=
"end_date1"
type=
"date"
>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_end"
name=
"end_date1"
type=
"date"
>
<select
class=
"form-control btn4 ld-Marheight input"
name=
""
id=
"district_id"
>
<
!--<
select class="form-control btn4 ld-Marheight input" name="" id="district_id">
<option value="">约带看人所在部门</option>
<option value="">约带看人所在部门</option>
</select>
</select>
<select class="form-control btn4 ld-Marheight input" name="" id="guest_stores" value="">
<select class="form-control btn4 ld-Marheight input" name="" id="guest_stores" value="">
</select>
</select>
-->
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"user_name"
placeholder=
"约带看人姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"user_name"
placeholder=
"约带看人姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"user_phone"
placeholder=
"约带看人手机号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"user_phone"
placeholder=
"约带看人手机号"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"house_title"
placeholder=
"商铺名称"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"house_title"
placeholder=
"商铺名称"
type=
"text"
value=
""
>
...
...
public/resource/js/inspectionRecord.js
View file @
8e5e8b13
...
@@ -51,9 +51,9 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h
...
@@ -51,9 +51,9 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h
var
m
=
myDate
.
getMonth
()
+
1
;
var
m
=
myDate
.
getMonth
()
+
1
;
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);
$
(
'#create_time_start'
).
val
(
day_start
);
//
$('#create_time_start').val(day_start);
$
(
'#create_time_end'
).
val
(
day_end
);
//商铺跟进 添加 默认时间 一个月
//
$('#create_time_end').val(day_end);//商铺跟进 添加 默认时间 一个月
record
.
getList
(
0
);
record
.
getList
(
0
);
// 部门 门店 二级联动
// 部门 门店 二级联动
...
@@ -94,12 +94,12 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h
...
@@ -94,12 +94,12 @@ define(['doT', 'text!temp/inspectionRecord_list_template_tpl.html', 'css!style/h
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
console
.
log
(
user_info_obj
);
console
.
log
(
user_info_obj
);
console
.
log
(
user_info_obj
.
AuthToken
);
console
.
log
(
user_info_obj
.
AuthToken
);
// params.district_id = $('#district_id').val() * 1
;
params
.
create_time_start
=
$
(
'#create_time_start'
).
val
()
;
// params.store_id = $('#guest_stores').val() * 1
;
params
.
create_time_end
=
$
(
'#create_time_end'
).
val
()
;
// params.user
_name = $('#user_name').val();
params
.
report_agent
_name
=
$
(
'#user_name'
).
val
();
// params.user_
phone = $('#user_phone').val();
params
.
phone
=
$
(
'#user_phone'
).
val
();
// params.report_agent_phone = $('#report_agent_phon
e').val();
params
.
house_title
=
$
(
'#house_titl
e'
).
val
();
// params.house_title = $('#house_titl
e').val();
params
.
user_phone
=
$
(
'#report_agent_phon
e'
).
val
();
// var start_ = $('#create_time_start').val()+" 00:00:00";
// var start_ = $('#create_time_start').val()+" 00:00:00";
// date_start =new Date(Date.parse(start_.replace(/-/g, "/")));
// date_start =new Date(Date.parse(start_.replace(/-/g, "/")));
// params.start_time =date_start.getTime()*0.001;
// params.start_time =date_start.getTime()*0.001;
...
...
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