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
933d8866
Commit
933d8866
authored
Jun 01, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分佣提成汇总修改
parent
ddda474a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
commissionTotal.js
public/resource/js/commissionTotal.js
+11
-11
No files found.
public/resource/js/commissionTotal.js
View file @
933d8866
...
@@ -324,7 +324,7 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
...
@@ -324,7 +324,7 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
params
.
deal_end_date
=
$
(
'#end_dealtime'
).
val
();
params
.
deal_end_date
=
$
(
'#end_dealtime'
).
val
();
params
.
operation_start_date
=
$
(
'#create_ticketTime'
).
val
();
params
.
operation_start_date
=
$
(
'#create_ticketTime'
).
val
();
params
.
operation_end_date
=
$
(
'#end_ticketTime'
).
val
();
params
.
operation_end_date
=
$
(
'#end_ticketTime'
).
val
();
params
.
district_id
=
$
(
"#qx-store option:selected"
).
val
();
//部门id 添加字段
params
.
district_id
=
$
(
"#qx-store option:selected"
).
val
();
//部门id 添加字段
params
.
store_name
=
$
(
'#store_name'
).
val
();
params
.
store_name
=
$
(
'#store_name'
).
val
();
$
.
ajax
({
$
.
ajax
({
...
@@ -350,13 +350,15 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
...
@@ -350,13 +350,15 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
url
:
'/index/getDistrictListByName'
,
url
:
'/index/getDistrictListByName'
,
type
:
'GET'
,
type
:
'GET'
,
async
:
true
,
async
:
true
,
data
:
{
"pageSize"
:
50
},
data
:
{
"pageSize"
:
50
},
dataType
:
'json'
,
dataType
:
'json'
,
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
var
_html
=
''
;
var
_html
=
''
;
$
.
each
(
data
.
data
,
function
(
i
,
n
)
{
$
.
each
(
data
.
data
,
function
(
i
,
n
)
{
if
(
n
.
district_name
==
name
&&
(
typeof
name
!=
undefined
))
{
if
(
n
.
district_name
==
name
&&
(
typeof
name
!=
undefined
))
{
_html
+=
'<option value="'
+
n
.
id
+
'">'
+
n
.
district_name
+
'</option>'
;
_html
+=
'<option value="'
+
n
.
id
+
'">'
+
n
.
district_name
+
'</option>'
;
}
else
{
}
else
{
_html
+=
'<option value="'
+
n
.
id
+
'">'
+
n
.
district_name
+
'</option>'
;
_html
+=
'<option value="'
+
n
.
id
+
'">'
+
n
.
district_name
+
'</option>'
;
...
@@ -365,7 +367,7 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
...
@@ -365,7 +367,7 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
$
(
"#ss-store"
).
html
(
_html
);
$
(
"#ss-store"
).
html
(
_html
);
$
(
"#qx-store"
).
append
(
_html
);
$
(
"#qx-store"
).
append
(
_html
);
// $("#qx-store").html(_html);
// $("#qx-store").html(_html);
}
else
{
}
else
{
alert
(
'获取部门信息失败'
);
alert
(
'获取部门信息失败'
);
...
@@ -385,13 +387,11 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
...
@@ -385,13 +387,11 @@ define(['doT', 'text!temp/commissionTotal_template_tpl.html', 'css!style/home.cs
var
deal_end_date
=
$
(
'#end_dealtime'
).
val
();
var
deal_end_date
=
$
(
'#end_dealtime'
).
val
();
var
operation_start_date
=
$
(
'#create_ticketTime'
).
val
();
var
operation_start_date
=
$
(
'#create_ticketTime'
).
val
();
var
operation_end_date
=
$
(
'#end_ticketTime'
).
val
();
var
operation_end_date
=
$
(
'#end_ticketTime'
).
val
();
// var district_id = $('#user_phone').val();
var
district_id
=
$
(
"#qx-store option:selected"
).
val
();
//部门id 添加字段
var
district_id
=
$
(
"#qx-store option:selected"
).
val
();
//部门id 添加字段
var
store_name
=
$
(
'#store_name'
).
val
();
var
store_name
=
$
(
'#store_name'
).
val
();
window
.
open
(
'/index/getCommissionTotalList?'
+
window
.
open
(
'/index/getCommissionTotalList?'
+
'excel = '
+
excel_two
+
' &name = '
+
name
+
' &phone = '
+
phone
+
' &commission_start_date = '
+
commission_start_date
+
'& commission_end_date = '
+
commission_end_date
+
' &deal_start_date = '
+
deal_start_date
+
' &deal_end_date = '
+
deal_end_date
+
' &operation_start_date = '
+
operation_start_date
+
' &operation_end_date = '
+
operation_end_date
+
' &district_id = '
+
district_id
+
' &store_name =
'
+
store_name
);
'excel='
+
excel_two
+
'&name='
+
name
+
'&phone='
+
phone
+
'&commission_start_date='
+
commission_start_date
+
'&commission_end_date='
+
commission_end_date
+
'&deal_start_date='
+
deal_start_date
+
'&deal_end_date='
+
deal_end_date
+
'&operation_start_date='
+
operation_start_date
+
'&operation_end_date='
+
operation_end_date
+
'&district_id='
+
district_id
+
'&store_name=
'
+
store_name
);
},
},
};
};
return
business
;
return
business
;
});
});
\ No newline at end of file
\ 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