Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
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
esf
fenzhan_zsb
Commits
6ab9919a
Commit
6ab9919a
authored
Dec 25, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
芜湖放心看
parent
fc85c82b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
51 additions
and
32 deletions
+51
-32
sell.php
new_admincp/applications/zsb/controllers/sell.php
+16
-3
broker_model.php
new_admincp/applications/zsb/models/broker_model.php
+1
-1
sell_add_ext.php
new_admincp/applications/zsb/views/nj/sell_add_ext.php
+0
-21
sell_manage.php
new_admincp/applications/zsb/views/nj/sell_manage.php
+1
-1
sell_modify.php
new_admincp/applications/zsb/views/nj/sell_modify.php
+20
-0
house.js
new_admincp/source/zsb/js/v1.0/house.js
+13
-6
No files found.
new_admincp/applications/zsb/controllers/sell.php
View file @
6ab9919a
...
...
@@ -737,7 +737,10 @@ class Sell extends MY_Controller {
}
$real_house_set
=
$this
->
input
->
post
(
'real_house_set'
,
true
);
$infotype
=
$fields_values
[
'infotype'
];
if
(
!
in_array
(
$infotype
,
array
(
1
,
2
))){
$real_house_set
=
0
;
}
if
(
$real_house_set
>
0
)
{
$url_manage
=
$this
->
sell_model
->
find_func_url
(
'add'
);
...
...
@@ -2594,6 +2597,10 @@ class Sell extends MY_Controller {
$real_house_set
=
$this
->
input
->
post
(
'real_house_set'
,
true
);
$infotype
=
$fields_values
[
'infotype'
];
if
(
!
in_array
(
$infotype
,
array
(
1
,
2
))){
$real_house_set
=
0
;
}
if
(
$real_house_set
>
0
)
{
...
...
@@ -4033,8 +4040,8 @@ class Sell extends MY_Controller {
//经纪人额外的信息
$broker
_info_1
=
$this
->
broker_model
->
get_broker_info_by_uid
(
$uid
);
$broker
=
$this
->
broker_model
->
get_broker_info_by_uid
(
$uid
);
$real_status
=
empty
(
$broker
[
0
][
'real_status'
])
?
0
:
$broker
[
0
][
'real_status'
];
//客户经理
if
(
isset
(
$broker_info
)
&&
isset
(
$broker_info
[
'master'
])
&&
$broker_info
[
'master'
]
!=
''
)
{
...
...
@@ -4200,6 +4207,12 @@ class Sell extends MY_Controller {
$data_info
[
$key
][
'vr_applay_show'
]
=
1
;
}
$infotype
=
$value
[
'infotype'
];
$is_show_real
=
0
;
if
(
$realHouse
&&
in_array
(
$infotype
,
array
(
1
,
2
))
&&
$real_status
){
$is_show_real
=
1
;
}
$data_info
[
$key
][
'is_show_real'
]
=
$is_show_real
;
}
}
...
...
new_admincp/applications/zsb/models/broker_model.php
View file @
6ab9919a
...
...
@@ -991,7 +991,7 @@ class Broker_model extends Broker_base_model {
if
(
GB_CITY
==
'wh'
)
{
$this
->
db
->
select
(
'usetime,starlevel,freeze_num,upgrade_time,mistake_time,writes_date,package_id'
);
$this
->
db
->
select
(
'usetime,starlevel,freeze_num,upgrade_time,mistake_time,writes_date,package_id
,real_status
'
);
}
else
{
...
...
new_admincp/applications/zsb/views/nj/sell_add_ext.php
View file @
6ab9919a
...
...
@@ -51,27 +51,6 @@ if (isset($infotype)) {
<div
class=
"branchCommon radius5 "
id=
"js_bcxx"
style=
"margin:0;"
>
<div
class=
"hd "
>
<h3
class=
"h3"
>
补充信息
</h3>
<?php
if
(
$is_show_real
){
?>
<?php
if
(
!
$house_detail
[
'id'
])
:
?>
<div
class=
"fgInput zsbnum4 fxk"
>
<label
for=
"jsAllcheckbox"
class=
"textFg3 textFg5"
>
<input
id=
"jsAllcheckbox"
name=
"real_house_set"
class=
"input_c"
type=
"checkbox"
value=
0
>
<span
class=
"tex"
>
放心看
</span>
</label>
</div>
<?php
else
:
?>
<div
class=
"fgInput zsbnum4 fxk"
style=
"display: none;"
>
<label
for=
"jsAllcheckbox"
class=
"textFg3 textFg5"
>
<input
id=
"jsAllcheckbox"
name=
"real_house_set"
class=
"input_c"
type=
"checkbox"
value=
<?php
echo
$house_detail
[
'is_real_house'
];
?>
<?php
if
(
$house_detail
[
'is_real_house'
]
==
1
){
?>
checked
<?php
}
?>
>
<span
class=
"tex"
>
放心看
</span>
</label>
</div>
<?php
endif
;
?>
<?php
}
?>
<div
id=
"jsStitle"
class=
"funSZ"
>
<p
class=
"jsSQ funSZInner"
title=
"收起"
style=
"display: block;"
>
收起
</p>
<p
class=
"jsZK funSZInner funSZInner2"
title=
"展开"
style=
"display: none;"
>
展开
</p>
...
...
new_admincp/applications/zsb/views/nj/sell_manage.php
View file @
6ab9919a
...
...
@@ -460,7 +460,7 @@
<?php
}
?>
<?php
}
?>
<?php
if
(
(
$realHouse
==
1
)
&&
(
$value
[
'infotype'
]
==
1
||
$value
[
'infotype'
]
==
2
))
{
?>
<?php
if
(
!
empty
(
$value
[
'is_show_real'
]
))
{
?>
<?php
if
(
$value
[
'is_real_house'
]
==
1
){
?>
<div
class=
"pic"
onClick=
"set_real(
<?php
echo
$value
[
'id'
];
?>
,0)"
>
...
...
new_admincp/applications/zsb/views/nj/sell_modify.php
View file @
6ab9919a
...
...
@@ -512,6 +512,26 @@
<div
class=
"branchCommon radius5 "
id=
"js_xxxx"
style=
"margin:0;"
>
<div
class=
"hd "
>
<h3
class=
"h3"
>
详细信息
</h3>
<?php
if
(
$is_show_real
){
?>
<?php
if
(
!
$house_detail
[
'id'
])
:
?>
<div
class=
"fgInput zsbnum4 fxk"
>
<label
for=
"jsAllcheckbox"
class=
"textFg3 textFg5"
>
<input
id=
"jsAllcheckbox"
name=
"real_house_set"
class=
"input_c"
type=
"checkbox"
value=
0
>
<span
class=
"tex"
>
放心看
</span>
</label>
</div>
<?php
else
:
?>
<div
class=
"fgInput zsbnum4 fxk"
>
<label
for=
"jsAllcheckbox"
class=
"textFg3 textFg5"
>
<input
id=
"jsAllcheckbox"
name=
"real_house_set"
class=
"input_c"
type=
"checkbox"
value=
<?php
echo
$house_detail
[
'is_real_house'
];
?>
<?php
if
(
$house_detail
[
'is_real_house'
]
==
1
){
?>
checked
<?php
}
?>
>
<span
class=
"tex"
>
放心看
</span>
</label>
</div>
<?php
endif
;
?>
<?php
}
?>
</div>
<div
class=
"mod"
>
<div
class=
"modInner"
>
...
...
new_admincp/source/zsb/js/v1.0/house.js
View file @
6ab9919a
...
...
@@ -503,6 +503,12 @@ $(function() {
$
(
".blockPBox"
).
css
(
'display'
,
'none'
);
$
(
"#blockPrice"
).
html
(
""
);
}
//隐藏放心看按钮
if
(
infotype
==
1
||
infotype
==
2
){
$
(
"#js_xxxx .fxk"
).
show
();
}
else
{
$
(
"#js_xxxx .fxk"
).
hide
();
}
var
all_rent_allow_release
=
$
(
"#all_rent_allow_release"
).
html
();
$
.
ajax
({
type
:
'get'
,
...
...
@@ -526,8 +532,8 @@ $(function() {
}
else
{
$
(
"#roomshow"
).
show
();
}
if
(
infotype
==
6
)
if
(
infotype
==
6
)
{
$
(
'#buildyearShow'
).
hide
();
$
(
'#buildyearShow1'
).
show
();
...
...
@@ -535,14 +541,15 @@ $(function() {
$
(
"#floorshow"
).
hide
();
$
(
"#housekindShow"
).
css
(
'display'
,
'block'
);
}
else
{
$
(
'#buildyearShow'
).
show
();
$
(
'#buildyearShow'
).
show
();
$
(
'#buildyearShow1'
).
hide
();
$
(
"#fitmentshow"
).
show
();
$
(
"#floorshow"
).
show
();
$
(
"#housekindShow"
).
css
(
'display'
,
'none'
);
$
(
"#housekindShow"
).
css
(
'display'
,
'none'
);
}
$
(
"#infotypeblock"
).
html
(
msg
);
if
(
$
(
"input[name='renttype']:checked"
).
val
()
!=
''
)
{
$
(
"#infotypeblock"
).
html
(
msg
);
if
(
$
(
"input[name='renttype']:checked"
).
val
()
!=
''
)
{
changePriceUnit
(
$
(
"input[name='renttype']:checked"
).
val
(),
$
(
"input[name='infotype']"
).
val
());
}
//多图数值的控制 住宅为5 非住宅为3
...
...
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