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
4039d0f3
Commit
4039d0f3
authored
Sep 03, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暂存
parent
ead04370
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
21 deletions
+37
-21
edit.html
application/index/view/houses/edit.html
+15
-1
shop_edit.js
public/resource/js/shop_edit.js
+22
-20
No files found.
application/index/view/houses/edit.html
View file @
4039d0f3
...
@@ -43,6 +43,20 @@
...
@@ -43,6 +43,20 @@
<option
value=
"1"
>
是
</option>
<option
value=
"1"
>
是
</option>
</select>
</select>
</div>
</div>
<div
class=
"form-group"
>
<label
for=
"exclusiveType"
>
来源
</label>
<select
class=
"form-control"
name=
"exclusiveType"
id=
"laiyuan"
data-alert=
"请选择是否独家"
>
<option
value=
""
>
请选择
</option>
<option
value=
"0"
>
无
</option>
<option
value=
"1"
>
网络
</option>
<option
value=
"2"
>
客户介绍
</option>
<option
value=
"3"
>
朋友介绍
</option>
<option
value=
"4"
>
上门挂牌
</option>
<option
value=
"5"
>
打跟进
</option>
<option
value=
"6"
>
驻守
</option>
<option
value=
"7"
>
其它
</option>
</select>
</div>
</li>
</li>
<!-- 案场人电话添加多个手机号-->
<!-- 案场人电话添加多个手机号-->
<!--<li class="list-group-item" id="li_acr_phone">
<!--<li class="list-group-item" id="li_acr_phone">
...
@@ -207,7 +221,7 @@
...
@@ -207,7 +221,7 @@
<li
class=
"list-group-item"
>
<li
class=
"list-group-item"
>
<div
class=
"col-xs-12 form-group"
>
<div
class=
"col-xs-12 form-group"
>
<div
class=
"col-xs-3 p-t-10"
>
<div
class=
"col-xs-3 p-t-10"
>
<label
>
面
宽
:
</label>
<label
>
面
宽
:
</label>
<input
type=
"text"
class=
"form-control half"
id=
"miankuan"
>
米
<input
type=
"text"
class=
"form-control half"
id=
"miankuan"
>
米
</div>
</div>
...
...
public/resource/js/shop_edit.js
View file @
4039d0f3
...
@@ -78,6 +78,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -78,6 +78,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_exclusiveTelObj
=
$
(
'#exclusiveTel'
),
//独家方电话
_exclusiveTelObj
=
$
(
'#exclusiveTel'
),
//独家方电话
_imgUploadDujia
=
$
(
'#dujia_pic_ul'
),
//独家合同ul
_imgUploadDujia
=
$
(
'#dujia_pic_ul'
),
//独家合同ul
_imgMaskObj
=
$
(
'#img_mask_area'
);
//预览大图的mask
_imgMaskObj
=
$
(
'#img_mask_area'
);
//预览大图的mask
_laiyuanObj
=
$
(
'#laiyuan'
);
// 来源
//对商户显示的装让费默认隐藏
//对商户显示的装让费默认隐藏
_foreignZhuanrangPriceObj
.
closest
(
'.form-group'
).
hide
();
_foreignZhuanrangPriceObj
.
closest
(
'.form-group'
).
hide
();
...
@@ -294,18 +295,17 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -294,18 +295,17 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_qianyueNianxianObj
.
val
(
_data
[
'age_limit'
]);
//签约年限
_qianyueNianxianObj
.
val
(
_data
[
'age_limit'
]);
//签约年限
_weilouLinkObj
.
val
(
_data
[
'tiny_brochure_url'
]);
//微楼书
_weilouLinkObj
.
val
(
_data
[
'tiny_brochure_url'
]);
//微楼书
/*_miankuanObj.val(_data['is_has_gas']);//面宽
_miankuanObj
.
val
(
_data
[
'area_width'
]);
//面宽
_jinshenObj.val(_data['is_has_gas']);//进深
_jinshenObj
.
val
(
_data
[
'depth'
]);
//进深
_dianliangObj.val(_data['is_has_gas']);//电量
_dianliangObj
.
val
(
_data
[
'electric_quantity'
]);
//电量
_dianyaObj.val(_data['is_has_gas']);//电压
_dianyaObj
.
val
(
_data
[
'voltage'
]);
//电压
_hasGasObj.val(_data['is_has_gas']);//是否有燃气
_yanguandaoObj
.
val
(
_data
[
'exhaust_fume'
]);
//是否有烟管道
_yanguandaoObj.val(_data['is_has_gas']);//是否有烟管道
_shangshuiObj
.
val
(
_data
[
'running_water'
]);
//是否有上水
_shangshuiObj.val(_data['is_has_gas']); //是否有上水
_xiashuiObj
.
val
(
_data
[
'downriver'
]);
//是否有下水
_xiashuiObj.val(_data['is_has_gas']); //是否有下水
_zuhangxiuObj
.
val
(
_data
[
'decoration'
]);
//交付装修状态
_zuhangxiuObj.val(_data['is_has_gas']);//交付装修状态
_idRunRoundObj
.
val
(
_data
[
'business_scope'
]);
//目前证照经营范围
_idRunRoundObj.val(_data['is_has_gas']);//目前证照经营范围*/
_laiyuanObj
.
val
(
_data
[
'source'
]);
//来源
//大讲堂调用共用方法赋值与取值
//大讲堂调用共用方法赋值与取值
setCKeditorValue
(
'da_jiang_tang'
,
_data
[
'auditorium'
]);
//大讲堂
setCKeditorValue
(
'da_jiang_tang'
,
_data
[
'auditorium'
]);
//大讲堂
...
@@ -1140,15 +1140,17 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -1140,15 +1140,17 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
'auditorium'
:
_dajiangtangVal
,
'auditorium'
:
_dajiangtangVal
,
'industry_type'
:
_yetaiArr
.
join
(
','
),
'industry_type'
:
_yetaiArr
.
join
(
','
),
'shop_sign'
:
_roomTagArr
.
join
(
','
),
'shop_sign'
:
_roomTagArr
.
join
(
','
),
/*'':_miankuanObj.val(),
'':_jinshenObj.val(),
'area_width'
:
_miankuanObj
.
val
(),
'':_dianliangObj.val(),
'depth'
:
_jinshenObj
.
val
(),
'':_dianyaObj.val(),
'electric_quantity'
:
_dianliangObj
.
val
(),
'':_yanguandaoObj.val(),
'voltage'
:
_dianyaObj
.
val
(),
'':_shangshuiObj.val(),
'exhaust_fume'
:
_yanguandaoObj
.
val
(),
'':_xiashuiObj.val(),
'running_water'
:
_shangshuiObj
.
val
(),
'':_zuhangxiuObj.val(),
'downriver'
:
_xiashuiObj
.
val
(),
'':_idRunRoundObj.val(),*/
'decoration'
:
_zuhangxiuObj
.
val
(),
'business_scope'
:
_idRunRoundObj
.
val
(),
'source'
:
_laiyuanObj
.
val
()
};
};
if
(
_shangpuTypeObj
.
val
()
==
'0'
)
{
if
(
_shangpuTypeObj
.
val
()
==
'0'
)
{
_data
[
'shop_area_end'
]
=
_roomArea2Obj
.
val
();
_data
[
'shop_area_end'
]
=
_roomArea2Obj
.
val
();
...
...
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