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
9b71f70a
Commit
9b71f70a
authored
Mar 14, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
2e7b5974
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
15 deletions
+24
-15
redEnvelopeList.js
public/resource/js/redEnvelopeList.js
+1
-2
refundList.js
public/resource/js/refundList.js
+23
-13
No files found.
public/resource/js/redEnvelopeList.js
View file @
9b71f70a
...
...
@@ -130,14 +130,13 @@ define (['doT', 'text!temp/red_envelope_list_template_tpl.html', 'css!style/home
data
:
params
,
dataType
:
'json'
,
success
:
function
(
data
)
{
$
(
'#activity-title'
).
val
(
data
.
data
.
list
[
0
].
title
);
$
(
"input[name='return_type'][value='"
+
data
.
data
.
list
[
0
].
return_type
+
"']"
).
prop
(
"checked"
,
"checked"
);
$
(
'#activity-money'
).
val
(
data
.
data
.
list
[
0
].
money
);
$
(
"input[name='return_action'][value='"
+
data
.
data
.
list
[
0
].
return_action
+
"']"
).
prop
(
"checked"
,
"checked"
);
$
(
'#activity_start_date'
).
val
(
data
.
data
.
list
[
0
].
activity_start_time
);
$
(
'#activity_end_date'
).
val
(
data
.
data
.
list
[
0
].
activity_end_time
);
$
(
'#activity-day'
).
val
(
data
.
data
.
list
[
0
].
use_period
);
$
(
'#activity-title'
).
val
(
data
.
data
.
list
[
0
].
t
otal
);
$
(
'#activity-title'
).
val
(
data
.
data
.
list
[
0
].
t
itle
);
$
(
'#activity-bag-num'
).
val
(
data
.
data
.
list
[
0
].
available
);
$
(
'#activity-rule'
).
val
(
data
.
data
.
list
[
0
].
activity_rule
);
//奖励的有效期
...
...
public/resource/js/refundList.js
View file @
9b71f70a
...
...
@@ -533,20 +533,30 @@ define(['doT', 'text!temp/refund_template_tpl.html', 'css!style/home.css', 'ckfi
that
.
agent_id_phone
=
""
;
},
/**
* 导出报表
*/
exportExcel
:
function
(){
var
that
=
refund
;
var
params
=
that
.
buildSearchParams
();
$
.
get
(
'/index/refundListExcel'
,
params
,
function
(
data
){
if
(
data
.
code
==
200
)
{
}
else
{
alert
(
data
.
msg
);
}
})
},
//退款 审核
exportExcel
:
function
()
{
var
commite_time_start
=
$
(
'#comit_time_start'
).
val
();
var
commite_time_end
=
$
(
'#comit_time_end'
).
val
();
var
into_time_start
=
$
(
'#into_time_start'
).
val
();
var
into_time_end
=
$
(
'#into_time_end'
).
val
();
var
changed_type
=
$
(
'#changed_type'
).
val
();
var
changed_id
=
$
(
'#changed_id'
).
val
();
var
back_id_money
=
$
(
'#back_id_money'
).
val
();
var
shoped_id
=
$
(
'#shoped_id'
).
val
();
var
shoped_addr
=
$
(
'#shoped_addr'
).
val
();
var
commit_home
=
$
(
'#commit_home'
).
val
();
var
commit_shop
=
$
(
'#commit_shop'
).
val
();
var
comit_name
=
refund
.
agent_id_phone
;
var
comit_phone
=
$
(
'#comit_phone'
).
val
();
var
choose_type
=
$
(
'.btn-group'
).
find
(
'.btn-info'
).
html
();
var
is_selt
=
$
(
'#is_type'
).
val
();
var
get_id
=
$
(
'#get_id'
).
val
();
var
status
=
refund
.
check_status
;
var
_url
=
'/index/refundListExcel'
+
'?'
;
window
.
open
(
_url
+
'commite_time_start='
+
commite_time_start
+
'&commite_time_end='
+
commite_time_end
+
'&into_time_start='
+
into_time_start
+
'&into_time_end='
+
into_time_end
+
'&changed_type='
+
changed_type
+
'&changed_id='
+
changed_id
+
'&back_id_money='
+
back_id_money
+
'&shoped_id='
+
shoped_id
+
'&shoped_addr='
+
shoped_addr
+
'&commit_home='
+
commit_home
+
'&commit_shop='
+
commit_shop
+
'&comit_name='
+
comit_name
+
'&comit_phone='
+
comit_phone
+
'&choose_type='
+
choose_type
+
'&is_selt='
+
is_selt
+
'&get_id='
+
get_id
+
'&status='
+
status
);
},
/**
* 获取查询参数
*/
...
...
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