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
b85f7d6b
Commit
b85f7d6b
authored
Mar 01, 2018
by
刘丹
Committed by
hujun
Mar 05, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通话记录
parent
572edda2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
257 additions
and
79 deletions
+257
-79
agentIndex.html
application/index/view/cell_phone/agentIndex.html
+75
-11
index.html
application/index/view/cell_phone/index.html
+2
-2
navigation.html
application/index/view/global/navigation.html
+3
-0
agentindex.js
public/resource/js/agentindex.js
+68
-0
callPhoneIndex.js
public/resource/js/callPhoneIndex.js
+70
-0
cellPhoneIndex.js
public/resource/js/cellPhoneIndex.js
+0
-0
agentIndex_template_tpl.html
public/resource/template/agentIndex_template_tpl.html
+17
-0
callPhone_template_tpl.html
public/resource/template/callPhone_template_tpl.html
+22
-0
cellPhoneIndex_template_tpl.html
public/resource/template/cellPhoneIndex_template_tpl.html
+0
-66
No files found.
application/index/view/cell_phone/agentIndex.html
View file @
b85f7d6b
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<title>
Title
</title>
</head>
<body>
1111
</body>
</html>
\ No newline at end of file
{layout name="global/frame_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"agentIndex"
/>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-lg-10 col-lg-offset-0"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li><a
href=
"#"
>
通话记录
</a></li>
</div>
<div
class=
"panel-body"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr>
<td
colspan=
"9"
>
<form
id=
"form_search"
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"industry_type"
placeholder=
"经纪人姓名"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"dish"
placeholder=
"经纪人手机号"
type=
"phone"
value=
""
>
<span
class=
"fore-span ld-Marheight"
>
时间:
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"start_date"
name=
"start_date"
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"end_date"
name=
"end_date"
type=
"date"
>
<span
class=
"btn btn-default btn3 ld-Marheight"
id=
"search"
>
搜索
</span>
<span
class=
"btn btn-default btn3 ld-Marheight"
id=
"reset"
>
重置
</span>
</form>
</td>
</tr>
<tr>
<th
class=
"text-center"
>
姓名
</th>
<th
class=
"text-center"
>
手机号
</th>
<th
class=
"text-center"
>
通话时长
</th>
<th
class=
"text-center"
>
花费
</th>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"agentIndex_list"
>
<!--<tr>-->
<!--<td>212</td>-->
<!--<td>商场</td>-->
<!--<td>长兴</td>-->
<!--<td>1000</td>-->
<!--<td>是</td>-->
<!--<td>2018-01-16 17:02:00</td>-->
<!--<td>已租</td>-->
<!--<td>张娜张-->
<!--<a data-toggle="modal" data-id="77" href="#modal-watch" class="btn1 btn-danger add_applies">修改</a>-->
<!--</td>-->
<!--<td>-->
<!--<a class="btn1 btn-success " href="#modal-process" data-toggle="modal" data-id="77" onclick="alertFollow(this)">编辑</a>-->
<!--<a class="btn1 btn-success " href="#modal-process" data-toggle="modal" data-id="77" onclick="alertFollow(this)">推荐至首页</a>-->
<!--<a class="btn1 btn-success " href="#modal-process" data-toggle="modal" data-id="77" onclick="alertFollow(this)">设置案场权限人</a>-->
<!--<a class="btn1 btn-success " href="#modal-process" data-toggle="modal" data-id="77" onclick="alertFollow(this)">是否独家</a>-->
<!--<a class="btn1 btn-success " href="#modal-process" data-toggle="modal" data-id="77" onclick="alertFollow(this)">操作记录</a>-->
<!--<a data-toggle="modal" data-id="77" href="#modal-watch" class="btn1 btn-danger add_applies" onclick="delete_house(4720)">删除</a>-->
<!--</td>-->
<!--</tr>-->
</table>
</div>
<!-- /#page-content-wrapper -->
<div
class=
"text-right"
id=
"pagediv"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
application/index/view/cell_phone/index.html
View file @
b85f7d6b
{layout name="global/frame_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"
houseList
"
/>
<input
type=
"hidden"
class=
"page-load"
id=
"
callPhoneIndex
"
/>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"row"
>
...
...
@@ -42,7 +42,7 @@
<th
class=
"text-center"
>
操作
</th>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"call
p
hone_list"
>
<tbody
class=
"text-center"
id=
"call
P
hone_list"
>
<!--<tr>-->
<!--<td>212</td>-->
<!--<td>商场</td>-->
...
...
application/index/view/global/navigation.html
View file @
b85f7d6b
...
...
@@ -81,6 +81,9 @@
</li>
<li
role=
"presentation"
>
<a
href=
"/admin.php/index/bindPhoneListIndex.html"
>
号码绑定列表
</a>
</li>
<li
role=
"presentation"
>
<a
href=
"/admin.php/index/CellPhoneIndex.html"
>
通话记录
</a>
</li>
</ul>
</nav>
...
...
public/resource/js/agentindex.js
0 → 100644
View file @
b85f7d6b
/**
* Created by 刘丹 on 2018/3/1.
*/
define
([
'doT'
,
'text!temp/agentIndex_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
)
{
agentIndex
=
{
pageNo
:
1
,
/*第几页*/
pageSize
:
10
,
/*每页显示多少条*/
id
:
''
,
house_id
:
''
,
type
:
''
,
valueCurrent
:
''
,
ajaxObj
:
''
,
stopstatus
:
true
,
boxphoto
:
''
,
init
:
function
()
{
//初始化dot
$
(
"body"
).
append
(
template
);
agentIndex
.
getList
();
agentIndex
.
event
();
},
event
:
function
()
{
$
(
"#search"
).
click
(
function
()
{
agentIndex
.
getList
(
1
);
});
$
(
"#reset"
).
click
(
function
()
{
//重置
document
.
getElementById
(
"form_search"
).
reset
();
});
},
getList
:
function
(
pageNo
)
{
agentIndex
.
pageNo
=
pageNo
;
var
params
=
{};
params
.
pageNo
=
agentIndex
.
pageNo
;
params
.
pageSize
=
agentIndex
.
pageSize
;
params
.
agents_name
=
$
(
'#industry_type'
)
.
val
();
//经纪人姓名
params
.
phone
=
$
(
'#dish'
)
.
val
();
//经纪人手机号
params
.
start_date
=
$
(
'#start_date'
)
.
val
();
//时间1
params
.
end_date
=
$
(
'#end_date'
)
.
val
();
//时间2
$
.
ajax
({
url
:
'/index/callCollectList'
,
//获取列表
type
:
'GET'
,
async
:
true
,
data
:
params
,
dataType
:
'json'
,
success
:
function
(
data
)
{
var
temp
=
document
.
getElementById
(
'agentIndex_list_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#agentIndex_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
/*分页代码*/
$
(
"#pagediv"
).
pagination
({
length
:
data
.
data
.
total
,
current
:
pageNo
,
every
:
agentIndex
.
pageSize
,
onClick
:
function
(
el
)
{
agentIndex
.
getList
(
el
.
num
.
current
);
}
});
}
});
}
};
return
agentIndex
;
});
\ No newline at end of file
public/resource/js/callPhoneIndex.js
0 → 100644
View file @
b85f7d6b
/**
* Created by 刘丹 on 2018/3/1.
*/
define
([
'doT'
,
'text!temp/callPhone_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
)
{
callphone
=
{
pageNo
:
1
,
/*第几页*/
pageSize
:
10
,
/*每页显示多少条*/
id
:
''
,
house_id
:
''
,
type
:
''
,
valueCurrent
:
''
,
ajaxObj
:
''
,
stopstatus
:
true
,
boxphoto
:
''
,
init
:
function
()
{
//初始化dot
$
(
"body"
).
append
(
template
);
callphone
.
getList
();
callphone
.
event
();
},
event
:
function
()
{
$
(
"#search"
).
click
(
function
()
{
callphone
.
getList
(
1
);
});
$
(
"#reset"
).
click
(
function
()
{
//重置
document
.
getElementById
(
"form_search"
).
reset
();
});
},
getList
:
function
(
pageNo
)
{
callphone
.
pageNo
=
pageNo
;
var
params
=
{};
params
.
pageNo
=
callphone
.
pageNo
;
params
.
pageSize
=
callphone
.
pageSize
;
params
.
call_name
=
$
(
'#industry_type'
)
.
val
();
//拨打人姓名
params
.
call_phone
=
$
(
'#dish'
)
.
val
();
//拨打人手机号
params
.
user_nick
=
$
(
'id'
)
.
val
();
//被拨打人姓名
params
.
client_phone
=
$
(
'#dish-phone'
)
.
val
();
//拨打人手机号
params
.
start_date
=
$
(
'#start_date'
)
.
val
();
//时间1
params
.
end_date
=
$
(
'#end_date'
)
.
val
();
//时间2
$
.
ajax
({
url
:
'/index/callLog.html'
,
//获取列表
type
:
'GET'
,
async
:
true
,
data
:
params
,
dataType
:
'json'
,
success
:
function
(
data
)
{
var
temp
=
document
.
getElementById
(
'callPhone_list_tpl'
).
innerHTML
;
var
doTtmpl
=
doT
.
template
(
temp
);
$
(
"#callPhone_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
/*分页代码*/
$
(
"#pagediv"
).
pagination
({
length
:
data
.
data
.
total
,
current
:
pageNo
,
every
:
callphone
.
pageSize
,
onClick
:
function
(
el
)
{
callphone
.
getList
(
el
.
num
.
current
);
}
});
}
});
}
};
return
callphone
;
});
\ No newline at end of file
public/resource/js/cellPhoneIndex.js
deleted
100644 → 0
View file @
572edda2
This diff is collapsed.
Click to expand it.
public/resource/template/agentIndex_template_tpl.html
0 → 100644
View file @
b85f7d6b
<script
id=
"agentIndex_list_tpl"
type=
"text/template"
>
[
%
if
(
it
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'agents_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'phone'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
\ No newline at end of file
public/resource/template/callPhone_template_tpl.html
0 → 100644
View file @
b85f7d6b
<script
id=
"callPhone_list_tpl"
type=
"text/template"
>
[
%
if
(
it
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'call_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agents_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'user_nick'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'follow_up'
]
%
]
<
/td
>
<
td
>
<
video
id
=
"media"
src
=
"[%= it[item]['voice_file'] %]"
controls
width
=
"200px"
height
=
"38px"
><
/video
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
\ No newline at end of file
public/resource/template/cellPhoneIndex_template_tpl.html
deleted
100644 → 0
View file @
572edda2
<script
id=
"callphone_list_tpl"
type=
"text/template"
>
[
%
if
(
it
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"shop_type"
]
==
0
)
{
%
]
商场
[
%
}
else
{
%
]
街铺
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'internal_title'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"rent_price"
]
==
0
)
{
%
]
30000
以上
[
%
}
else
if
(
it
[
item
][
"rent_price"
]
==
1
)
{
%
]
10000
-
30000
[
%
}
else
{
%
]
10000
以下
[
%
}
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"is_show"
]
==
0
)
{
%
]
是
[
%
}
else
{
%
]
否
[
%
}
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"leased"
]
==
0
)
{
%
]
已租
[
%
}
else
{
%
]
待租
[
%
}
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"dish_name"
]
==
""
)
{
%
]
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-anch"
class
=
"btn1 btn-danger add_applies"
>
修改
<
/a
>
[
%
}
else
{
%
]
[
%=
it
[
item
][
'dish_name'
]
%
]
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-anch"
class
=
"btn1 btn-danger add_applies"
>
修改
<
/a
>
[
%
}
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success "
href
=
"/admin.php/index/callphoneEdit?id=[%= it[item]['id']%]"
data
-
toggle
=
"modal"
>
编辑
<
/a
>
<
a
class
=
"btn1 btn-success is_show"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
推荐至首页
<
/a
>
<
a
class
=
"btn1 btn-success anch"
data
-
target
=
"#modal-anch"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
设置案场权限人
<
/a
>
<
a
class
=
"btn1 btn-success dujia"
href
=
"#modal-dujia"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
是否独家
<
/a
>
<
a
class
=
"btn1 btn-success caozuo"
href
=
"#modal-record"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
操作记录
<
/a
>
<
a
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
href
=
"#modal-delete"
class
=
"btn1 btn-danger add_applies del_modal"
>
删除
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
\ No newline at end of file
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