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
7ce61a4d
Commit
7ce61a4d
authored
Jun 26, 2018
by
hujun
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/wx0604' into wx0604
parents
a1bb8c85
5e5b3bfc
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
5 deletions
+15
-5
AppointmentTime.php
application/api/controller/AppointmentTime.php
+1
-1
OReportModel.php
application/model/OReportModel.php
+6
-2
customerinfo_details_new.js
public/app/js/customerinfo_details_new.js
+8
-2
No files found.
application/api/controller/AppointmentTime.php
View file @
7ce61a4d
...
@@ -212,7 +212,7 @@ class AppointmentTime extends Basic
...
@@ -212,7 +212,7 @@ class AppointmentTime extends Basic
public
function
getYetListV2
(
$pageNo
,
$pageSize
,
$params
)
public
function
getYetListV2
(
$pageNo
,
$pageSize
,
$params
)
{
{
$field
=
"a.id,a.report_agent_phone as phone,a.report_agent_id as agents_id,a.predict_see_time as expect_time,b.house_id,
$field
=
"a.id,a.report_agent_phone as phone,a.report_agent_id as agents_id,a.predict_see_time as expect_time,b.house_id,
d.external_title as house_title,d.residue_num as room_num_left"
;
d.external_title as house_title,d.residue_num as room_num_left
, d.is_show,d.status
"
;
$where_
[
"a.user_id"
]
=
$params
[
"user_id"
];
$where_
[
"a.user_id"
]
=
$params
[
"user_id"
];
// $result = $this->appointmentTimeModel->getHaveToSeeList($pageNo, $pageSize, "id desc", $field, $where_);
// $result = $this->appointmentTimeModel->getHaveToSeeList($pageNo, $pageSize, "id desc", $field, $where_);
$result
=
$this
->
reportModel
->
getHaveToSeeList
(
$pageNo
,
$pageSize
,
"id desc"
,
$field
,
$where_
);
$result
=
$this
->
reportModel
->
getHaveToSeeList
(
$pageNo
,
$pageSize
,
"id desc"
,
$field
,
$where_
);
...
...
application/model/OReportModel.php
View file @
7ce61a4d
...
@@ -539,7 +539,9 @@ class OReportModel extends Model
...
@@ -539,7 +539,9 @@ class OReportModel extends Model
a.predict_see_time AS expect_time,
a.predict_see_time AS expect_time,
`b`.`house_id`,
`b`.`house_id`,
d.external_title AS house_title,
d.external_title AS house_title,
d.residue_num AS room_num_left
d.residue_num AS room_num_left,
d.is_show,
d.status
FROM
FROM
`o_report` `a`
`o_report` `a`
LEFT JOIN `o_order` `b` ON `b`.`f_id` = `a`.`id`
LEFT JOIN `o_order` `b` ON `b`.`f_id` = `a`.`id`
...
@@ -558,7 +560,9 @@ class OReportModel extends Model
...
@@ -558,7 +560,9 @@ class OReportModel extends Model
a.house_id,
a.house_id,
a.user_id,
a.user_id,
b.external_title AS house_title,
b.external_title AS house_title,
b.residue_num AS room_num_left
b.residue_num AS room_num_left,
b.is_show,
b.status
FROM
FROM
u_appoint_watch_shop a
u_appoint_watch_shop a
LEFT JOIN g_houses b ON a.house_id = b.id
LEFT JOIN g_houses b ON a.house_id = b.id
...
...
public/app/js/customerinfo_details_new.js
View file @
7ce61a4d
...
@@ -71,12 +71,18 @@ function loadMain(){
...
@@ -71,12 +71,18 @@ function loadMain(){
if
(
typeof
data
===
'object'
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
$
(
'#customer_code'
).
html
(
data
[
'data'
][
'user_info'
][
'user_id'
]);
$
(
'#customer_code'
).
html
(
data
[
'data'
][
'user_info'
][
'user_id'
]);
$
(
'#customer_name, #name'
).
html
(
data
[
'data'
][
'user_info'
][
'user_name'
]
+
(
data
[
'data'
][
'user_info'
][
'user_nick'
]?(
'('
+
data
[
'data'
][
'user_info'
][
'user_nick'
]
+
')'
):
''
));
$
(
'#customer_name, #name'
).
html
(
(
data
[
'data'
][
'user_info'
][
'user_name'
]
==
null
?
''
:
data
[
'data'
][
'user_info'
][
'user_name'
])
+
(
data
[
'data'
][
'user_info'
][
'user_nick'
]?(
'('
+
data
[
'data'
][
'user_info'
][
'user_nick'
]
+
')'
):
''
));
if
(
data
[
'data'
][
'user_info'
][
'sex'
]
==
2
){
if
(
data
[
'data'
][
'user_info'
][
'sex'
]
==
2
){
$
(
'.sex-icon'
).
attr
(
'src'
,
'/app/images/girl_ic@2x.png'
);
$
(
'.sex-icon'
).
attr
(
'src'
,
'/app/images/girl_ic@2x.png'
);
};
};
$
(
'#industry_type'
).
html
(
data
[
'data'
][
'user_info'
][
'industry_type'
]);
//如果业态没有则隐藏这个span
if
(
data
[
'data'
][
'user_info'
][
'industry_type'
]){
$
(
'#industry_type'
).
html
(
data
[
'data'
][
'user_info'
][
'industry_type'
]);
}
else
{
$
(
'#industry_type'
).
hide
();
}
$
(
'#price_demand'
).
html
(
data
[
'data'
][
'user_info'
][
'price_demand'
]
+
'元/月'
);
$
(
'#price_demand'
).
html
(
data
[
'data'
][
'user_info'
][
'price_demand'
]
+
'元/月'
);
$
(
'#area_demand'
).
html
(
data
[
'data'
][
'user_info'
][
'area_demand'
]
+
'㎡'
);
$
(
'#area_demand'
).
html
(
data
[
'data'
][
'user_info'
][
'area_demand'
]
+
'㎡'
);
...
...
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