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
026cc4a8
Commit
026cc4a8
authored
Aug 20, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出经纪人
parent
e2856a51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
agent.js
public/resource/js/agent.js
+10
-1
No files found.
public/resource/js/agent.js
View file @
026cc4a8
...
@@ -106,7 +106,10 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
...
@@ -106,7 +106,10 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
$
(
'#search'
).
click
(
function
(
pageNo
)
{
$
(
'#search'
).
click
(
function
(
pageNo
)
{
agent
.
getList
(
1
);
agent
.
getList
(
1
);
});
});
//经纪人列表 导出报表
_doc
.
on
(
"click"
,
"#export"
,
function
()
{
agent
.
maintableExport
();
});
$
(
"#reset"
).
click
(
function
()
{
//重置
$
(
"#reset"
).
click
(
function
()
{
//重置
document
.
getElementById
(
"form_search"
).
reset
();
document
.
getElementById
(
"form_search"
).
reset
();
});
});
...
@@ -1027,6 +1030,8 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
...
@@ -1027,6 +1030,8 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
params
.
store_id
=
$
(
"#guest_stores"
).
val
();
params
.
store_id
=
$
(
"#guest_stores"
).
val
();
// params.site_id = $("#district_id2_city").val();//站点筛选
// params.site_id = $("#district_id2_city").val();//站点筛选
params
.
status
=
$
(
"select[name=agent_status]"
).
val
();
params
.
status
=
$
(
"select[name=agent_status]"
).
val
();
params
.
id_card
=
$
(
"#identity_id"
).
val
();
$
.
ajax
({
$
.
ajax
({
url
:
'/index/AgentList'
,
url
:
'/index/AgentList'
,
type
:
'GET'
,
type
:
'GET'
,
...
@@ -1062,6 +1067,10 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
...
@@ -1062,6 +1067,10 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
}
}
});
});
},
},
//导出经纪人列表
maintableExport
:
function
(
pageNo
)
{
window
.
open
(
'/index/AgentList?excel=1'
+
'&'
+
'search='
+
$
(
"input[name='search']"
).
val
()
+
'&group_name='
+
$
(
"input[name='groupname']"
).
val
()
+
'&district_id='
+
$
(
"#district_id2"
).
val
()
+
'&store_id='
+
$
(
"#guest_stores"
).
val
()
+
'&status='
+
$
(
"select[name=agent_status]"
).
val
()
+
'&id_card='
+
$
(
"#identity_id"
).
val
());
},
spandelList
:
function
(
n
)
{
//删除已经保存的图片都调用
spandelList
:
function
(
n
)
{
//删除已经保存的图片都调用
$
.
ajax
({
$
.
ajax
({
'type'
:
'POST'
,
'type'
:
'POST'
,
...
...
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