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
2310d009
Commit
2310d009
authored
Dec 27, 2017
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改时间
parent
df0b1f6e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
AppointmentTime.php
application/api/controller/AppointmentTime.php
+1
-1
WatchShop.php
application/index/controller/WatchShop.php
+4
-3
watch_shop.js
public/resource/js/watch_shop.js
+1
-1
No files found.
application/api/controller/AppointmentTime.php
View file @
2310d009
...
...
@@ -70,7 +70,7 @@ class AppointmentTime extends Basic
return
$this
->
response
(
"101"
,
"预约时间为空,或者小于当前时间"
);
}
$addPrams
=
array
(
'expect_time'
=>
date
(
"Y-m-d H:i:s"
,
strtotime
(
$params
[
"expect_time"
]
/
1000
)
),
'expect_time'
=>
date
(
"Y-m-d H:i:s"
,
$params
[
"expect_time"
]
/
1000
),
'phone'
=>
$params
[
"phone"
],
'house_title'
=>
$params
[
"house_title"
],
'house_id'
=>
$params
[
"house_id"
],
...
...
application/index/controller/WatchShop.php
View file @
2310d009
...
...
@@ -56,7 +56,7 @@ class WatchShop extends Basic
$applies
=
new
AppointWatchShop
();
$data
[
'list'
]
=
$applies
->
getAppointWatchShopList
(
$pageNo
,
$pageSize
,
''
,
'*'
,
$where
);
$data
[
'list'
]
=
$applies
->
getAppointWatchShopList
(
$pageNo
,
$pageSize
,
'
id DESC
'
,
'*'
,
$where
);
$data
[
'total'
]
=
$applies
->
getAppointWatchShopListTotal
(
$where
);
return
$this
->
response
(
$data
[
'status'
],
$data
[
'msg'
],
$data
);
}
...
...
@@ -80,11 +80,12 @@ class WatchShop extends Basic
'house_id'
=>
$apponit_data
[
'house_id'
],
'customer'
=>
$apponit_data
[
'appellation'
],
'phpone'
=>
$apponit_data
[
'phone'
],
'go_off'
=>
$apponit_data
[
'expect_time'
]
,
'go_off'
=>
date
(
'Y-m-d H:i:s'
,
strtotime
(
$apponit_data
[
'expect_time'
]))
,
'agent_shop_id'
=>
$params
[
'shop_id'
],
'transaction_status'
=>
0
,
'invite_id'
=>
0
,
'marketgroup_id'
=>
0
'marketgroup_id'
=>
0
,
'created'
=>
date
(
"Y-m-d H:i:s"
)
])
->
save
();
$remark
=
new
Remarks
();
...
...
public/resource/js/watch_shop.js
View file @
2310d009
...
...
@@ -84,7 +84,7 @@ define (['doT', 'text!temp/watch_template_tpl.html', 'css!style/home.css',"datet
_html
+=
'<li class="addphone"><span class="id">'
+
data
[
'id'
]
+
'-</span><span class="phone_name">'
+
data
[
'realname'
]
+
'</span><span class="phone_span">-</span><span class="phone-phone">'
+
data
[
'phone'
]
+
'</span><span class="father_id">'
+
data
[
'phone'
]
+
'</span><span class="
hidden
father_id">'
+
data
[
'father_id'
]
+
'</span></li>'
;
});
$
(
"#agents_list"
).
html
(
_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