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
5535e2f3
Commit
5535e2f3
authored
Jul 09, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
约带看修改
parent
d015a348
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
195 additions
and
0 deletions
+195
-0
users_list.html
application/index/view/member/users_list.html
+173
-0
user.js
public/resource/js/user.js
+19
-0
user_template_tpl.html
public/resource/template/user_template_tpl.html
+3
-0
No files found.
application/index/view/member/users_list.html
View file @
5535e2f3
...
...
@@ -95,6 +95,100 @@
.bottom
{
margin-top
:
30px
;
}
/*新增商铺*/
.detail-modal-bargaininfo-main-left
{
float
:
left
;
width
:
340px
;
line-height
:
36px
;
}
#bargaininfo_is_open
,
#bargaininfo_type
{
width
:
100px
!important
;
display
:
inline-block
;
}
#bargaininfo_expect_payback_time
{
height
:
32px
;
}
.detail-modal-bargaininfo-main-right
{
line-height
:
36px
;
width
:
700px
;
}
#bargaininfo_yetai
{
width
:
150px
;
display
:
inline-block
;
height
:
26px
;
padding
:
3px
6px
}
#bargaininfo_chengjiao_price
,
#bargaininfo_total_commission
{
width
:
120px
;
display
:
inline-block
;
height
:
26px
;
padding
:
3px
6px
}
.detail-modal-bargaininfo-form
{
line-height
:
48px
;
width
:
620px
;
margin
:
0
auto
;
}
.detail-modal-bargaininfo-commission-inputpar
{
width
:
100%
;
overflow
:
hidden
;
clear
:
both
;
}
.detail-modal-bargaininfo-commission-sec
,
.addtax-modal-tax-commission-sec
{
overflow
:
hidden
;
}
.detail-modal-bargaininfo-commission-sec
>
label
,
.addtax-modal-tax-commission-sec
>
label
{
float
:
left
;
}
.detail-modal-bargaininfo-commission-sec
>
label
:nth-of-type
(
2
),
.addtax-modal-tax-commission-sec
>
label
:nth-of-type
(
2
)
{
margin-left
:
50px
;
}
.detail-modal-bargaininfo-commission-sec
>
div
,
.addtax-modal-tax-commission-sec
>
div
{
float
:
left
;
width
:
160px
;
}
.detail-modal-bargaininfo-commission-sec
>
mark
,
.addtax-modal-tax-commission-sec
>
mark
{
float
:
left
;
overflow
:
hidden
;
background-color
:
transparent
;
padding-top
:
5px
;
padding-left
:
10px
;
}
.detail-modal-bargaininfo-commission-sec
>
mark
>
img
,
.addtax-modal-tax-commission-sec
>
mark
>
img
{
float
:
left
;
width
:
20px
;
}
#bargaininfo_commission_add_btn
{
width
:
100%
;
margin-bottom
:
20px
;
}
#bargaininfo_commission_add_btn
>
img
{
display
:
block
;
margin
:
0
auto
;
}
</style>
<!--导航star-->
...
...
@@ -597,4 +691,82 @@
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<!--约带看-->
<div
class=
"modal fade"
id=
"modal-takeLook"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
约带看
</h4>
</div>
<div
class=
"modal-body"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
id=
" "
>
<thead>
<tr>
<td>
<form
id=
"form1"
>
<span
class=
"fore-span ld-Marheight"
>
姓名:
</span>
<span
class=
"fore-span ld-Marheight"
id=
"take_look_name"
></span>
<div
class=
"clear"
></div>
<span
class=
"fore-span ld-Marheight"
>
电话:
</span>
<span
class=
"fore-span ld-Marheight"
id=
"take_look_phone"
></span>
<div
class=
"clear"
></div>
<span
class=
"fore-span ld-Marheight"
>
客户编号:
</span>
<span
class=
"fore-span ld-Marheight"
id=
"take_look_id"
></span>
<div
class=
"clear"
></div>
<div
class=
"detail-modal-bargaininfo-commission-inputpar"
>
<div
class=
"detail-modal-bargaininfo-commission-addarea"
>
<div
class=
"form-group detail-modal-bargaininfo-commission-sec"
>
<span
class=
"fore-span ld-Marheight"
>
约带看商铺:
</span>
<div
class=
"input-group"
>
<input
type=
"text"
class=
"form-control btn6 ld-Marheight"
name=
" "
autocomplete=
"off"
id=
"look_shop"
placeholder=
"请输入商铺名称、商铺编号、商铺地址关键词"
>
<ul
class=
"look-shop-ul"
></ul>
</div>
<!--<mark href="javascript:;" class="detail-modal-bargaininfo-commission-cancel-pic"><img src="/resource/image/search_gb.png" /></mark>-->
</div>
</div>
<div
id=
"bargaininfo_commission_add_btn"
>
<img
src=
"/resource/image/jia2@2x.png"
/>
</div>
</div>
<!--<div class="form-group">
<span class="fore-span ld-Marheight">约带看商铺:</span>
<input type="text" class="form-control btn6 ld-Marheight" name=" " autocomplete="off" id="look_shop" placeholder="请输入商铺名称、商铺编号、商铺地址关键词">
<ul class="look-shop-ul"></ul>
</div>-->
<div
class=
"clear"
></div>
<span
class=
"fore-span ld-Marheight"
>
预计到场时间:
</span>
<input
class=
"form-control btn5 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"look_shop_date"
name=
" "
type=
"date"
>
<div
class=
"clear"
></div>
<div
class=
"textarea-con ld-Marheight"
>
<span
class=
"fore-span"
>
备注:
</span>
<textarea
name=
""
rows=
"5"
cols=
"50"
></textarea>
</div>
</form>
</td>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"caozuo_table"
>
</table>
</div>
<div
class=
"modal-footer"
>
<!--<button type="button" class="btn btn-default" data-dismiss="modal">关闭
</button>-->
<button
type=
"button"
class=
"btn btn-primary save_look"
data-dismiss=
"modal"
>
保存
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
\ No newline at end of file
public/resource/js/user.js
View file @
5535e2f3
...
...
@@ -22,6 +22,25 @@ define (['doT', 'text!temp/user_template_tpl.html','ckfinder','ckfinderStart', '
},
event
:
function
()
{
var
_doc
=
$
(
document
);
//详情弹出框,成交信息里的实收佣金相关的事件
var
_iYJAAObj
=
$
(
'.detail-modal-bargaininfo-commission-addarea'
);
_doc
.
on
(
'click'
,
'#bargaininfo_commission_add_btn>img'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
if
(
$
(
'.detail-modal-bargaininfo-commission-addarea>div'
).
length
>=
5
){
alert
(
'最多添加5条'
);
return
false
;
}
else
{
_iYJAAObj
.
append
(
'<div class="form-group detail-modal-bargaininfo-commission-sec"><span class="fore-span ld-Marheight">约带看商铺:</span><div class="input-group"><input type="number"class="form-control"placeholder="请输入"></div><mark href="javascript:;"class="detail-modal-bargaininfo-commission-cancel-pic"><img src="/resource/image/search_gb.png"/></mark></div>'
);
};
});
//详情弹出框,成交信息里的实收佣金相关的事件,点击x删除这条
_doc
.
on
(
'click'
,
'.detail-modal-bargaininfo-commission-cancel-pic'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
$
(
this
).
parent
().
remove
();
});
//二级联动
user
.
getDistrict
(
function
(){
_doc
.
on
(
'input'
,
'#district_id, #district_id2'
,
function
(){
...
...
public/resource/template/user_template_tpl.html
View file @
5535e2f3
...
...
@@ -48,6 +48,9 @@
<
a
class
=
"btn1 btn-success genj_ure"
href
=
"#modal-add"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
跟进
<
/a
>
<
a
class
=
"btn1 btn-success take-look"
href
=
"#modal-takeLook"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
约带看
<
/a
>
<!--<
a
class
=
"btn1 btn-danger "
href
=
"#modal-delete"
data
-
toggle
=
"modal"
onclick
=
"delete_user(this)"
data
-
id
=
'[%= it[item]["id"] %]'
>-->
<!--
删除
-->
<!--<
/a>--
>
...
...
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