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
d4f13de2
Commit
d4f13de2
authored
Oct 09, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
意向金预警 导出
parent
e5e1a607
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
77 deletions
+47
-77
intentions_warning.html
application/index/view/pay_log/intentions_warning.html
+1
-1
noRansferEarnest.js
public/resource/js/noRansferEarnest.js
+46
-76
No files found.
application/index/view/pay_log/intentions_warning.html
View file @
d4f13de2
...
@@ -378,7 +378,7 @@
...
@@ -378,7 +378,7 @@
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"search"
style=
"float:left"
>
搜索
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"search"
style=
"float:left"
>
搜索
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"reset"
style=
"float:left"
>
重置
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"reset"
style=
"float:left"
>
重置
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"export"
style=
"float:left"
>
导出报表
</span>
</form>
</form>
</td>
</td>
</tr>
</tr>
...
...
public/resource/js/noRansferEarnest.js
View file @
d4f13de2
...
@@ -1483,6 +1483,7 @@ define(['doT', 'text!temp/noRansferEarnest_template_tpl.html', 'css!style/home.c
...
@@ -1483,6 +1483,7 @@ define(['doT', 'text!temp/noRansferEarnest_template_tpl.html', 'css!style/home.c
//收款记录 导出
//收款记录 导出
exportExcel
:
function
()
{
exportExcel
:
function
()
{
var
_url
=
'/index/getCollectionExcel?'
;
var
_url
=
'/index/getCollectionExcel?'
;
receiv
.
buildSearchParams
()
window
.
open
(
_url
+
receiv
.
buildSearchParamsLiu
);
window
.
open
(
_url
+
receiv
.
buildSearchParamsLiu
);
},
},
...
@@ -1492,98 +1493,66 @@ define(['doT', 'text!temp/noRansferEarnest_template_tpl.html', 'css!style/home.c
...
@@ -1492,98 +1493,66 @@ define(['doT', 'text!temp/noRansferEarnest_template_tpl.html', 'css!style/home.c
*/
*/
buildSearchParams
:
function
(
excel
){
buildSearchParams
:
function
(
excel
){
var
that
=
receiv
;
var
that
=
receiv
;
var
transfer_start_time
=
$
(
'#
comit
_time_start'
).
val
();
var
transfer_start_time
=
$
(
'#
pass
_time_start'
).
val
();
var
transfer_end_time
=
$
(
'#
comit
_time_end'
).
val
();
var
transfer_end_time
=
$
(
'#
pass
_time_end'
).
val
();
var
get
_id
=
$
(
'#get_id'
).
val
();
var
pay
_id
=
$
(
'#get_id'
).
val
();
var
report_id
=
$
(
'#report
_id'
).
val
();
var
order_id
=
$
(
'#order
_id'
).
val
();
var
shop
_id
=
$
(
'#shop_id'
).
val
();
var
house
_id
=
$
(
'#shop_id'
).
val
();
var
commit_home
=
$
(
'#commit_home'
).
val
();
var
district_id
=
$
(
'#commit_home'
).
val
();
var
commit_shop
=
$
(
'#commit_shop'
).
val
();
var
store_id
=
$
(
'#commit_shop'
).
val
();
var
comit_name
=
that
.
agent_id_phone
;
//$('#comit_name').val();
var
agent_id
=
that
.
agent_id_phone
;
//$('#comit_name').val();
var
params
=
{};
var
params
=
{};
var
paramsStr
=
""
;
var
paramsStr
=
""
;
var
is_open
=
$
(
'#is_open'
).
val
();
var
is_normality
=
$
(
'#is_normality'
).
val
();
params
.
transfer_start_time
=
$
(
'#pass_time_start'
).
val
();
params
.
transfer_end_time
=
$
(
'#pass_time_end'
).
val
();
params
.
pay_id
=
$
(
'#get_id'
).
val
();
params
.
order_id
=
$
(
'#order_id'
).
val
();
params
.
house_id
=
$
(
'#shop_id'
).
val
();
params
.
district_id
=
$
(
'#commit_home'
).
val
();
params
.
store_id
=
$
(
'#commit_shop'
).
val
();
params
.
agent_id
=
that
.
agent_id_phone
;
//$('#comit_name').val();
if
(
transfer_start_time
)
{
if
(
transfer_start_time
)
{
params
.
open_time_start
=
open_time_start
;
//
params.open_time_start = open_time_start;
paramsStr
+=
"
open_time_start="
+
open_time_start
+
"&"
paramsStr
+=
"
transfer_start_time="
+
transfer_start_time
+
"&"
}
}
if
(
open_time_end
)
{
if
(
transfer_end_time
)
{
params
.
open_time_end
=
open_time_end
;
//
params.open_time_end = open_time_end;
paramsStr
+=
"
open_time_end="
+
open_time_end
+
"&"
paramsStr
+=
"
transfer_end_time="
+
transfer_end_time
+
"&"
}
}
if
(
commite_time_start
)
{
if
(
pay_id
)
{
params
.
start_time
=
commite_time_start
;
// params.start_time = commite_time_start;
paramsStr
+=
"start_time="
+
commite_time_start
+
"&"
paramsStr
+=
"pay_id="
+
pay_id
+
"&"
}
if
(
commite_time_end
)
{
params
.
end_time
=
commite_time_end
;
paramsStr
+=
"end_time="
+
commite_time_end
+
"&"
}
if
(
into_time_start
)
{
params
.
income_start_time
=
into_time_start
;
paramsStr
+=
"income_start_time="
+
into_time_start
+
"&"
}
if
(
into_time_end
)
{
params
.
income_end_time
=
into_time_end
;
paramsStr
+=
"income_end_time="
+
into_time_end
+
"&"
}
if
(
maintable_deal_type
)
{
params
.
type
=
maintable_deal_type
;
paramsStr
+=
"type="
+
maintable_deal_type
+
"&"
}
if
(
maintable_pay_type
)
{
params
.
pay_type
=
maintable_pay_type
;
paramsStr
+=
"pay_type="
+
maintable_pay_type
+
"&"
}
if
(
come_from
)
{
params
.
source
=
come_from
;
paramsStr
+=
"source="
+
come_from
+
"&"
}
}
if
(
order_id
)
{
if
(
order_id
)
{
params
.
order_id
=
order_i
d
;
// params.end_time = commite_time_en
d;
paramsStr
+=
"order_id="
+
order_id
+
"&"
paramsStr
+=
"order_id="
+
order_id
+
"&"
}
}
if
(
get
_id
)
{
if
(
house
_id
)
{
params
.
pay_id
=
get_id
;
// params.income_start_time = into_time_start
;
paramsStr
+=
"
pay_id="
+
get
_id
+
"&"
paramsStr
+=
"
house_id="
+
house
_id
+
"&"
}
}
if
(
report_id
)
{
if
(
district_id
)
{
params
.
bargain_id
=
report_id
;
// params.income_end_time = into_time_end;
paramsStr
+=
"bargain_id="
+
report_id
+
"&"
paramsStr
+=
"district_id="
+
district_id
+
"&"
}
if
(
shop_addr
)
{
params
.
internal_address
=
shop_addr
;
paramsStr
+=
"internal_address="
+
shop_addr
+
"&"
}
if
(
shop_id
)
{
params
.
house_id
=
shop_id
;
paramsStr
+=
"house_id ="
+
shop_id
+
"&"
}
}
if
(
commit_home
)
{
if
(
store_id
)
{
params
.
district_id
=
commit_hom
e
;
// params.type = maintable_deal_typ
e;
paramsStr
+=
"
district_id="
+
commit_home
+
"&"
paramsStr
+=
"
store_id="
+
store_id
+
"&"
}
}
if
(
commit_shop
)
{
if
(
agent_id
)
{
params
.
store_id
=
commit_shop
;
// params.pay_type = maintable_pay_type;
paramsStr
+=
"store_id="
+
commit_shop
+
"&"
paramsStr
+=
"agent_id="
+
agent_id
+
"&"
}
if
(
comit_name
)
{
params
.
agent_id
=
comit_name
;
paramsStr
+=
"agent_id="
+
comit_name
+
"&"
}
if
(
is_open
>
-
1
)
{
params
.
is_open
=
is_open
;
paramsStr
+=
"is_open="
+
is_open
+
"&"
;
}
if
(
is_normality
>
-
1
)
{
params
.
is_normality
=
is_normality
;
paramsStr
+=
"is_normality="
+
is_normality
+
"&"
;
}
}
receiv
.
buildSearchParamsLiu
=
paramsStr
.
substr
(
0
,
paramsStr
.
length
-
1
);
receiv
.
buildSearchParamsLiu
=
paramsStr
.
substr
(
0
,
paramsStr
.
length
-
1
);
console
.
log
(
receiv
.
buildSearchParamsLiu
);
if
(
excel
)
{
if
(
excel
)
{
return
paramsStr
.
substr
(
0
,
paramsStr
.
length
-
1
)
return
paramsStr
.
substr
(
0
,
paramsStr
.
length
-
1
)
}
else
{
}
else
{
...
@@ -1608,6 +1577,7 @@ define(['doT', 'text!temp/noRansferEarnest_template_tpl.html', 'css!style/home.c
...
@@ -1608,6 +1577,7 @@ define(['doT', 'text!temp/noRansferEarnest_template_tpl.html', 'css!style/home.c
params
.
district_id
=
$
(
'#commit_home'
).
val
();
params
.
district_id
=
$
(
'#commit_home'
).
val
();
params
.
store_id
=
$
(
'#commit_shop'
).
val
();
params
.
store_id
=
$
(
'#commit_shop'
).
val
();
params
.
agent_id
=
that
.
agent_id_phone
;
//$('#comit_name').val();
params
.
agent_id
=
that
.
agent_id_phone
;
//$('#comit_name').val();
params
.
pageNo
=
that
.
pageNo
;
params
.
pageNo
=
that
.
pageNo
;
params
.
pageSize
=
that
.
pageSize
;
params
.
pageSize
=
that
.
pageSize
;
$
.
ajax
({
$
.
ajax
({
...
...
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