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
158d0bfc
Commit
158d0bfc
authored
Sep 04, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
eb0691b7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
8 deletions
+44
-8
edit.html
application/index/view/houses/edit.html
+5
-5
shop_edit.js
public/resource/js/shop_edit.js
+39
-3
No files found.
application/index/view/houses/edit.html
View file @
158d0bfc
...
@@ -300,10 +300,10 @@
...
@@ -300,10 +300,10 @@
<label
for=
"internalName"
>
对内商铺名称
</label>
<label
for=
"internalName"
>
对内商铺名称
</label>
<input
type=
"text"
class=
"form-control"
placeholder=
"请输入"
name=
"internalName"
id=
"internalName"
data-alert=
"请填写对内商铺名称!"
>
<input
type=
"text"
class=
"form-control"
placeholder=
"请输入"
name=
"internalName"
id=
"internalName"
data-alert=
"请填写对内商铺名称!"
>
</div>
</div>
<div
class=
"form-group show-c-part"
>
<
!--<
div class="form-group show-c-part">
<label for="foreignName">对商户显示的商铺名称</label>
<label for="foreignName">对商户显示的商铺名称</label>
<input type="text" class="form-control" placeholder="请输入" name="foreignName" id="foreignName" data-alert="请填写对外商铺名称!">
<input type="text" class="form-control" placeholder="请输入" name="foreignName" id="foreignName" data-alert="请填写对外商铺名称!">
</div>
</div>
-->
</li>
</li>
<li
class=
"list-group-item"
>
<li
class=
"list-group-item"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
@@ -406,13 +406,13 @@
...
@@ -406,13 +406,13 @@
</div>
</div>
</li>
</li>
<li
class=
"list-group-item show-c-part"
>
<li
class=
"list-group-item show-c-part"
>
<div
class=
"form-group"
>
<
!--<
div class="form-group">
<label for="">对商户显示的地址</label>
<label for="">对商户显示的地址</label>
<input type="text" class="form-control input-100-width address-relate" data-toggle="modal" data-target=".bs-example-modal-lg" title="与对内地址一致,通过地址定位获取" readonly="readonly" id="province_external" />
<input type="text" class="form-control input-100-width address-relate" data-toggle="modal" data-target=".bs-example-modal-lg" title="与对内地址一致,通过地址定位获取" readonly="readonly" id="province_external" />
<input type="text" class="form-control input-100-width address-relate" data-toggle="modal" data-target=".bs-example-modal-lg" title="与对内地址一致,通过地址定位获取" readonly="readonly" id="city_external" />
<input type="text" class="form-control input-100-width address-relate" data-toggle="modal" data-target=".bs-example-modal-lg" title="与对内地址一致,通过地址定位获取" readonly="readonly" id="city_external" />
<input type="text" class="form-control input-100-width address-relate" data-toggle="modal" data-target=".bs-example-modal-lg" title="与对内地址一致,通过地址定位获取" readonly="readonly" id="disc_external" />
<input type="text" class="form-control input-100-width address-relate" data-toggle="modal" data-target=".bs-example-modal-lg" title="与对内地址一致,通过地址定位获取" readonly="readonly" id="disc_external" />
<input type="text" class="form-control" id="address_external" placeholder="请输入详细地址" data-alert="请填写对外详细地址!">
<input type="text" class="form-control" id="address_external" placeholder="请输入详细地址" data-alert="请填写对外详细地址!">
</div>
</div>
-->
</li>
</li>
<li
class=
"list-group-item"
>
<li
class=
"list-group-item"
>
<div
class=
"form-group full-width-100"
>
<div
class=
"form-group full-width-100"
>
...
@@ -456,7 +456,7 @@
...
@@ -456,7 +456,7 @@
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"internalYoushi"
data-alert=
"请输入该商铺周边配套、所处地段和该商铺的优势!"
></textarea>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"internalYoushi"
data-alert=
"请输入该商铺周边配套、所处地段和该商铺的优势!"
></textarea>
</div>
</div>
<div
class=
"form-group full-width-100 show-c-part"
>
<div
class=
"form-group full-width-100 show-c-part"
>
<label
for=
""
>
对商户显示的项目优势
经纪人对本铺的评价
</label>
<label
for=
""
>
经纪人对本铺的评价
</label>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"foreignYoushi"
data-alert=
"请输入该商铺周边配套、所处地段和该商铺的优势!"
></textarea>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"foreignYoushi"
data-alert=
"请输入该商铺周边配套、所处地段和该商铺的优势!"
></textarea>
</div>
</div>
</li>
</li>
...
...
public/resource/js/shop_edit.js
View file @
158d0bfc
...
@@ -265,6 +265,42 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -265,6 +265,42 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
};
};
});
});
$
.
ajax
({
type
:
'GET'
,
url
:
'getBusinessAll'
,
data
:
{
"disc"
:
_data
[
'disc'
]},
timeout
:
30000
,
// traditional: true,
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
var
tag
=
""
;
$
.
each
(
data
.
data
,
function
(
i
,
target
){
tag
+=
'<option value="'
+
target
.
id
+
'">'
+
target
.
name
+
'</option>'
});
$
(
'#business_rong'
).
append
(
tag
);
user
.
initShopRong
=
false
;
}
else
{
alert
(
data
[
'msg'
]);
};
}
else
{
alert
(
'数据错误'
);
};
},
error
:
function
()
{
alert
(
'error'
);
},
complete
:
function
(
xhr
,
textStatus
)
{
_loadMainItem
.
hide
();
if
(
textStatus
===
'timeout'
)
{
alert
(
'请求超时'
);
};
}
});
user
.
del_value_anchang
=
''
;
user
.
del_value_anchang
=
''
;
user
.
del_value_panfang
=
''
;
user
.
del_value_panfang
=
''
;
_landlordPhoneObj
.
val
(
_data
[
'landlord_phone'
]);
//房东手机号
_landlordPhoneObj
.
val
(
_data
[
'landlord_phone'
]);
//房东手机号
...
@@ -314,7 +350,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -314,7 +350,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
//大讲堂调用共用方法赋值与取值
//大讲堂调用共用方法赋值与取值
setCKeditorValue
(
'da_jiang_tang'
,
_data
[
'auditorium'
]);
//大讲堂
setCKeditorValue
(
'da_jiang_tang'
,
_data
[
'auditorium'
]);
//大讲堂
$
(
'#business_rong'
).
val
(
_data
[
'business_district_id'
]);
//列表页封面图
//列表页封面图
if
(
_data
[
'cover'
]){
if
(
_data
[
'cover'
]){
_imgUploadLiebiao
.
html
(
'<li><img title="点击查看大图" src="{0}" /><a href="javascript:;" class="delet-pic-btn">删除</a></li>'
.
stringFormatObj
({
_imgUploadLiebiao
.
html
(
'<li><img title="点击查看大图" src="{0}" /><a href="javascript:;" class="delet-pic-btn">删除</a></li>'
.
stringFormatObj
({
...
@@ -1051,7 +1087,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -1051,7 +1087,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
//多个input输入框验证
//多个input输入框验证
$
.
each
([
$
.
each
([
_internalNameObj
,
//对内商铺名称
_internalNameObj
,
//对内商铺名称
_foreignNameObj
,
//对外商铺名称
//
_foreignNameObj, //对外商铺名称
_moonPriceObj
,
//月租均价
_moonPriceObj
,
//月租均价
_wuyePriceObj
,
//物业管理费
_wuyePriceObj
,
//物业管理费
_jinchangPriceObj
,
//进场费
_jinchangPriceObj
,
//进场费
...
@@ -1064,7 +1100,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -1064,7 +1100,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_addressInternalObj
,
//对内地址详细地址
_addressInternalObj
,
//对内地址详细地址
_longitudeObj
,
//经度
_longitudeObj
,
//经度
_latitudeObj
,
//纬度
_latitudeObj
,
//纬度
_addressExternalObj
,
//对外地址详细地址
//
_addressExternalObj, //对外地址详细地址
_trafficObj
,
//交通
_trafficObj
,
//交通
_hasMovedObj
,
//已入住
_hasMovedObj
,
//已入住
_yingyeTimeObj
,
//营业时间
_yingyeTimeObj
,
//营业时间
...
...
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