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
35df5085
Commit
35df5085
authored
Mar 18, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出
parent
5e261d1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
getCollection.js
public/resource/js/getCollection.js
+7
-4
No files found.
public/resource/js/getCollection.js
View file @
35df5085
...
@@ -24,6 +24,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -24,6 +24,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
receipt_number
:
''
,
receipt_number
:
''
,
agent_id_phone
:
''
,
agent_id_phone
:
''
,
houseNumber_new
:
''
,
houseNumber_new
:
''
,
buildSearchParamsLiu
:
''
,
init
:
function
()
{
init
:
function
()
{
//初始化dot
//初始化dot
$
(
document
.
body
).
append
(
template
);
$
(
document
.
body
).
append
(
template
);
...
@@ -1137,9 +1138,10 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1137,9 +1138,10 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
// var is_selt = $('#is_type').val();
// var is_selt = $('#is_type').val();
// var get_id = $('#get_id').val();
// var get_id = $('#get_id').val();
// var status = refund.check_status;
// var status = refund.check_status;
receiv
.
buildSearchParams
();
var
_url
=
'/index/getCollection'
+
'?'
;
var
_url
=
'/index/getCollection'
+
'?'
+
'excel'
+
'='
+
'excel&'
;
window
.
open
(
_url
+
receiv
.
buildSearchParams
(
excel
));
window
.
open
(
_url
+
receiv
.
buildSearchParamsLiu
);
console
.
log
(
receiv
.
buildSearchParamsLiu
);
},
},
...
@@ -1164,7 +1166,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1164,7 +1166,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
var
commit_shop
=
$
(
'#commit_shop'
).
val
();
var
commit_shop
=
$
(
'#commit_shop'
).
val
();
var
comit_name
=
that
.
agent_id_phone
;
//$('#comit_name').val();
var
comit_name
=
that
.
agent_id_phone
;
//$('#comit_name').val();
var
params
=
{};
var
params
=
{};
var
paramsStr
=
"
?
"
;
var
paramsStr
=
""
;
if
(
commite_time_start
)
{
if
(
commite_time_start
)
{
params
.
start_time
=
commite_time_start
;
params
.
start_time
=
commite_time_start
;
paramsStr
+=
"income_start_time="
+
commite_time_start
+
"&"
paramsStr
+=
"income_start_time="
+
commite_time_start
+
"&"
...
@@ -1226,6 +1228,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1226,6 +1228,7 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
params
.
agent_id
=
comit_name
;
params
.
agent_id
=
comit_name
;
paramsStr
+=
"agent_name="
+
comit_name
+
"&"
paramsStr
+=
"agent_name="
+
comit_name
+
"&"
}
}
receiv
.
buildSearchParamsLiu
=
paramsStr
.
substr
(
0
,
paramsStr
.
length
-
1
);
if
(
excel
)
{
if
(
excel
)
{
return
paramsStr
.
substr
(
0
,
paramsStr
.
length
-
1
)
return
paramsStr
.
substr
(
0
,
paramsStr
.
length
-
1
)
}
else
{
}
else
{
...
...
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