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
fe49bf83
Commit
fe49bf83
authored
Sep 07, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台优化
parent
b4472bef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
19 deletions
+54
-19
edit.html
application/index/view/houses/edit.html
+11
-11
users_list.html
application/index/view/member/users_list.html
+1
-1
user.js
public/resource/js/user.js
+42
-7
No files found.
application/index/view/houses/edit.html
View file @
fe49bf83
...
@@ -183,20 +183,20 @@
...
@@ -183,20 +183,20 @@
<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"
placeholder=
"请输入"
>
米
</div>
</div>
<div
class=
"col-xs-3 p-t-10"
>
<div
class=
"col-xs-3 p-t-10"
>
<label
class=
""
>
进
深:
</label>
<label
class=
""
>
进
深:
</label>
<input
type=
"text"
class=
"form-control half"
id=
"jinshen"
>
米
<input
type=
"text"
class=
"form-control half"
id=
"jinshen"
placeholder=
"请输入"
>
米
</div>
</div>
<div
class=
"col-xs-3 p-t-10"
>
<div
class=
"col-xs-3 p-t-10"
>
<label
class=
""
>
电
量:
</label>
<label
class=
""
>
电
量:
</label>
<input
type=
"text"
class=
"form-control half"
id=
"dianliang"
>
瓦
<input
type=
"text"
class=
"form-control half"
id=
"dianliang"
placeholder=
"请输入"
>
瓦
</div>
</div>
<div
class=
"col-xs-3 p-t-10"
>
<div
class=
"col-xs-3 p-t-10"
>
<label
class=
""
>
电
压 :
</label>
<label
class=
""
>
电
压 :
</label>
<input
type=
"text"
class=
"form-control half"
id=
"dianya"
>
伏
<input
type=
"text"
class=
"form-control half"
id=
"dianya"
placeholder=
"请输入"
>
伏
</div>
</div>
<div
class=
"col-xs-3 p-t-10"
>
<div
class=
"col-xs-3 p-t-10"
>
<label
class=
""
>
燃
气:
</label>
<label
class=
""
>
燃
气:
</label>
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</div>
</div>
<div
class=
"col-xs-6 p-t-10"
>
<div
class=
"col-xs-6 p-t-10"
>
<label
class=
""
>
目前证照经营范围:
</label>
<label
class=
""
>
目前证照经营范围:
</label>
<input
type=
"text"
class=
"form-control "
id=
"id_run_round"
>
<input
type=
"text"
class=
"form-control "
id=
"id_run_round"
placeholder=
"请输入"
>
</div>
</div>
</div>
</div>
</li>
</li>
...
@@ -430,17 +430,17 @@
...
@@ -430,17 +430,17 @@
<li
class=
"list-group-item"
>
<li
class=
"list-group-item"
>
<div
class=
"form-group full-width-100"
>
<div
class=
"form-group full-width-100"
>
<label
for=
""
>
交通
</label>
<label
for=
""
>
交通
</label>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"traffic"
data-alert=
"请填写交通内容!"
></textarea>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"traffic"
data-alert=
"请填写交通内容!"
placeholder=
"请输入"
></textarea>
</div>
</div>
<div
class=
"form-group full-width-100"
>
<div
class=
"form-group full-width-100"
>
<label
for=
""
>
已入驻
</label>
<label
for=
""
>
已入驻
</label>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"hasMoved"
data-alert=
"请填写已入住内容!"
></textarea>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"hasMoved"
data-alert=
"请填写已入住内容!"
placeholder=
"请输入"
></textarea>
</div>
</div>
</li>
</li>
<li
class=
"list-group-item"
>
<li
class=
"list-group-item"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
for=
""
>
营业时间
</label>
<label
for=
""
>
营业时间
</label>
<input
type=
"text"
class=
"form-control"
id=
"yingyeTime"
data-alert=
"请填写营业时间!"
>
<input
type=
"text"
class=
"form-control"
id=
"yingyeTime"
data-alert=
"请填写营业时间!"
placeholder=
"请输入"
>
</div>
</div>
<div
class=
"form-group shangchang-show-part"
>
<div
class=
"form-group shangchang-show-part"
>
<label
for=
""
>
招商时间
</label>
<label
for=
""
>
招商时间
</label>
...
@@ -462,15 +462,15 @@
...
@@ -462,15 +462,15 @@
<li
class=
"list-group-item"
>
<li
class=
"list-group-item"
>
<div
class=
"form-group full-width-100"
>
<div
class=
"form-group full-width-100"
>
<label
for=
""
>
佣金规则
</label>
<label
for=
""
>
佣金规则
</label>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"yongjinRule"
data-alert=
"请填写佣金规则!"
></textarea>
<textarea
class=
"form-control textarea-500-width"
rows=
"3"
id=
"yongjinRule"
data-alert=
"请填写佣金规则!"
placeholder=
"请输入"
></textarea>
</div>
</div>
<div
class=
"form-group full-width-100"
>
<div
class=
"form-group full-width-100"
>
<label
for=
""
>
对内项目优势
</label>
<label
for=
""
>
对内项目优势
</label>
<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=
"请输入该商铺周边配套、所处地段和该商铺的优势!"
placeholder=
"请输入"
></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=
"请输入该商铺周边配套、所处地段和该商铺的优势!"
placeholder=
"请输入"
></textarea>
</div>
</div>
</li>
</li>
<!--<li class="list-group-item">-->
<!--<li class="list-group-item">-->
...
...
application/index/view/member/users_list.html
View file @
fe49bf83
...
@@ -548,7 +548,7 @@
...
@@ -548,7 +548,7 @@
<label
for=
"inputEmail3"
class=
"col-sm-3 control-label"
>
客户所属城市:
</label>
<label
for=
"inputEmail3"
class=
"col-sm-3 control-label"
>
客户所属城市:
</label>
<div
class=
"col-sm-9"
>
<div
class=
"col-sm-9"
>
<select
class=
"form-control btn5"
id=
"user_city_add"
>
<select
class=
"form-control btn5"
id=
"user_city_add"
>
<option
value=
"310100"
selected=
"selected"
>
上海市
</option>
<option
value=
"310100"
>
上海市
</option>
<option
value=
"330100"
>
杭州市
</option>
<option
value=
"330100"
>
杭州市
</option>
</select>
</select>
<select
class=
"form-control btn5"
id=
"user_area_add"
>
<select
class=
"form-control btn5"
id=
"user_area_add"
>
...
...
public/resource/js/user.js
View file @
fe49bf83
...
@@ -91,13 +91,14 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -91,13 +91,14 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
user
.
event
();
user
.
event
();
//新增 默认上海
//新增 默认上海
user
.
getCityAreaList
(
310100
,
function
(
_data
)
{
// user.getCityAreaList(310100, function(_data) {
var
_str
=
'<option value="">全部</option>'
;
// var _str = '<option value="">全部</option>';
$
.
each
(
_data
,
function
(
i
,
item
)
{
// $.each(_data, function(i, item) {
_str
+=
'<option value="'
+
item
.
fullName
+
'">'
+
item
.
fullName
+
'</option>'
;
// _str += '<option value="' + item.fullName + '">' + item.fullName + '</option>';
});
// });
$
(
'#user_area_add'
).
html
(
_str
);
// $('#user_area_add').html(_str);
});
// console.log('默认');
// });
//汉化实现
//汉化实现
...
@@ -402,6 +403,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -402,6 +403,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
$
(
document
).
delegate
(
".add-user-new"
,
"click"
,
function
()
{
//新增客户
$
(
document
).
delegate
(
".add-user-new"
,
"click"
,
function
()
{
//新增客户
user
.
agent_id
=
''
;
user
.
agent_id
=
''
;
user
.
initializationCityFunctionAdd
();
});
});
// 跟进的提交按钮 点击
// 跟进的提交按钮 点击
$
(
document
).
delegate
(
"#edit_add"
,
"click"
,
function
(
e
)
{
$
(
document
).
delegate
(
"#edit_add"
,
"click"
,
function
(
e
)
{
...
@@ -1868,9 +1870,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -1868,9 +1870,11 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
data
.
city
==
'上海市'
){
if
(
data
.
data
.
city
==
'上海市'
){
$
(
"#user_city_choose"
).
val
(
'310100'
);
$
(
"#user_city_choose"
).
val
(
'310100'
);
$
(
"#user_city_add"
).
val
(
'310100'
);
};
};
if
(
data
.
data
.
city
==
'杭州市'
){
if
(
data
.
data
.
city
==
'杭州市'
){
$
(
"#user_city_choose"
).
val
(
'330100'
);
$
(
"#user_city_choose"
).
val
(
'330100'
);
$
(
"#user_city_add"
).
val
(
'330100'
);
};
};
var
city_id
=
$
(
"#user_city_choose"
).
val
();
var
city_id
=
$
(
"#user_city_choose"
).
val
();
if
(
city_id
)
{
if
(
city_id
)
{
...
@@ -1880,12 +1884,43 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
...
@@ -1880,12 +1884,43 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
_str
+=
'<option value="'
+
item
.
fullName
+
'">'
+
item
.
fullName
+
'</option>'
;
_str
+=
'<option value="'
+
item
.
fullName
+
'">'
+
item
.
fullName
+
'</option>'
;
});
});
$
(
"#user_area_choose"
).
html
(
_str
);
$
(
"#user_area_choose"
).
html
(
_str
);
$
(
'#user_area_add'
).
html
(
_str
);
});
});
}
else
{};
}
else
{};
user
.
getList
();
user
.
getList
();
}
}
});
});
},
},
initializationCityFunctionAdd
:
function
(
params
)
{
$
.
ajax
({
url
:
'/index/getCurrentCity'
,
type
:
'GET'
,
async
:
true
,
data
:
params
,
dataType
:
'json'
,
success
:
function
(
data
)
{
if
(
data
.
data
.
city
==
'上海市'
){
$
(
"#user_city_add"
).
val
(
'310100'
);
};
if
(
data
.
data
.
city
==
'杭州市'
){
$
(
"#user_city_add"
).
val
(
'330100'
);
};
var
city_id
=
$
(
"#user_city_choose"
).
val
();
if
(
city_id
)
{
user
.
getCityAreaList
(
city_id
,
function
(
_data
)
{
var
_str
=
'<option value="">区域</option>'
;
$
.
each
(
_data
,
function
(
i
,
item
)
{
_str
+=
'<option value="'
+
item
.
fullName
+
'">'
+
item
.
fullName
+
'</option>'
;
});
$
(
'#user_area_add'
).
html
(
_str
);
});
}
else
{};
}
});
},
//设置 城市
//设置 城市
setUpCityFunction
:
function
(
city
)
{
setUpCityFunction
:
function
(
city
)
{
if
(
city
==
310100
){
if
(
city
==
310100
){
...
...
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