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
f18bfce5
Commit
f18bfce5
authored
Mar 14, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台优化
parent
c580b5d8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
62 additions
and
29 deletions
+62
-29
getCollection.html
application/index/view/finance/getCollection.html
+1
-1
refundList.html
application/index/view/finance/refundList.html
+1
-1
cashAccountList.html
application/index/view/redEnvelope/cashAccountList.html
+4
-4
cashAccountList.js
public/resource/js/cashAccountList.js
+6
-0
getCollection.js
public/resource/js/getCollection.js
+27
-18
cash_account_list_template_tpl.html
public/resource/template/cash_account_list_template_tpl.html
+23
-5
No files found.
application/index/view/finance/getCollection.html
View file @
f18bfce5
...
@@ -407,7 +407,7 @@
...
@@ -407,7 +407,7 @@
<ul
class=
"user-ul"
style=
"display:none"
></ul>
<ul
class=
"user-ul"
style=
"display:none"
></ul>
<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>
<!--<span class="money_total_two fore-span ld-Marheight ">实付总额:</span><span id="money_total" class="money_total_two_shifu fore-span ld-Marheight">1268</span>元-->
<!--<span class="money_total_two fore-span ld-Marheight ">实付总额:</span><span id="money_total" class="money_total_two_shifu fore-span ld-Marheight">1268</span>元-->
<!--<span class="btn btn-info btn3 ld-Marheight" id="export" style="float:left">导出报表</span>-->
<!--<span class="btn btn-info btn3 ld-Marheight" id="export" style="float:left">导出报表</span>-->
<!--<span class="btn btn-info btn3 ld-Marheight" id="count" style="float:left">统计</span>-->
<!--<span class="btn btn-info btn3 ld-Marheight" id="count" style="float:left">统计</span>-->
...
...
application/index/view/finance/refundList.html
View file @
f18bfce5
...
@@ -357,7 +357,7 @@
...
@@ -357,7 +357,7 @@
</select>
</select>
<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"
>
导出报表
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"export"
style=
"float: left;"
>
导出报表
</span>
<!--<span class="btn btn-info btn3 ld-Marheight" id="export" style="float:left">导出excel</span>-->
<!--<span class="btn btn-info btn3 ld-Marheight" id="export" style="float:left">导出excel</span>-->
<!--<span class="btn btn-info btn3 ld-Marheight" id="count" style="float:left">统计</span>-->
<!--<span class="btn btn-info btn3 ld-Marheight" id="count" style="float:left">统计</span>-->
<!--<span class="money_total_two ld-Marheight " style="float:left">退意向金:</span><span style="float:left" id="back_yixiang" class="money_total_two_shifu fore-span ld-Marheight">0元</span>-->
<!--<span class="money_total_two ld-Marheight " style="float:left">退意向金:</span><span style="float:left" id="back_yixiang" class="money_total_two_shifu fore-span ld-Marheight">0元</span>-->
...
...
application/index/view/redEnvelope/cashAccountList.html
View file @
f18bfce5
...
@@ -30,17 +30,17 @@
...
@@ -30,17 +30,17 @@
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_start"
name=
"start_date1"
type=
"date"
>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_start"
name=
"start_date1"
type=
"date"
>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_end"
name=
"end_date1"
type=
"date"
>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"create_time_end"
name=
"end_date1"
type=
"date"
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
industry_type"
placeholder=
"客户ID"
type=
"text"
value=
""
name=
"groupname
"
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
user_id"
placeholder=
"客户ID"
type=
"text"
value=
"
"
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
dish"
placeholder=
"客户手机号"
type=
"text"
value=
""
name=
"store_name
"
>
<input
class=
"form-control btn2 ld-Marheight"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"
user_phone"
placeholder=
"客户手机号"
type=
"text"
value=
"
"
>
<!-- <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="dish" placeholder="客户昵称" type="text" value="" name="store_name">-->
<!-- <input class="form-control btn2 ld-Marheight" data-rule-phoneus="false" data-rule-required="false" id="dish" placeholder="客户昵称" type="text" value="" name="store_name">-->
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"search"
>
搜索
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"search"
>
搜索
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"reset"
>
重置
</span>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"reset"
>
重置
</span>
<div
style=
"margin-left: 8px;font-size: 18px;font-weight: 600;"
>
<
!--<
div style="margin-left: 8px;font-size: 18px;font-weight: 600;">
<span>待审核金额:</span><span>50000元</span>
<span>待审核金额:</span><span>50000元</span>
<span>提现成功金额:</span><span>4500元</span>
<span>提现成功金额:</span><span>4500元</span>
<span>未提现总额:</span><span>4500元</span>
<span>未提现总额:</span><span>4500元</span>
</div>
</div>
-->
</form>
</form>
</td>
</td>
</tr>
</tr>
...
...
public/resource/js/cashAccountList.js
View file @
f18bfce5
...
@@ -33,6 +33,12 @@ define (['doT', 'text!temp/cash_account_list_template_tpl.html', 'css!style/home
...
@@ -33,6 +33,12 @@ define (['doT', 'text!temp/cash_account_list_template_tpl.html', 'css!style/home
var
params
=
{};
var
params
=
{};
params
.
pageNo
=
redEnvelope
.
pageNo
;
params
.
pageNo
=
redEnvelope
.
pageNo
;
params
.
pageSize
=
redEnvelope
.
pageSize
;
params
.
pageSize
=
redEnvelope
.
pageSize
;
params
.
create_time_start
=
$
(
'#create_time_start'
).
val
();
params
.
create_time_end
=
$
(
'#create_time_end'
).
val
();
params
.
user_phone
=
$
(
'#user_phone'
).
val
();
params
.
user_id
=
$
(
'#user_id'
).
val
();
$
.
ajax
({
$
.
ajax
({
url
:
'/index/userAccountBalanceList'
,
//获取列表
url
:
'/index/userAccountBalanceList'
,
//获取列表
type
:
'GET'
,
type
:
'GET'
,
...
...
public/resource/js/getCollection.js
View file @
f18bfce5
...
@@ -67,6 +67,10 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -67,6 +67,10 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
(
'.pic-con1'
).
hide
();
$
(
'.pic-con1'
).
hide
();
}
}
});
});
//导出报表
$
(
document
).
on
(
'click'
,
'#export'
,
function
(
e
){
that
.
exportExcel
();
});
$
(
'#file_input_pic'
).
on
(
'change'
,
function
(){
$
(
'#file_input_pic'
).
on
(
'change'
,
function
(){
var
_this
=
$
(
this
);
var
_this
=
$
(
this
);
var
formData
=
new
FormData
();
var
formData
=
new
FormData
();
...
@@ -375,10 +379,6 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -375,10 +379,6 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
$
(
document
).
on
(
'click'
,
'#reset'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'#reset'
,
function
(
e
){
that
.
resetAll
();
that
.
resetAll
();
});
});
//导出报表
$
(
document
).
on
(
'click'
,
'#export'
,
function
(
e
){
that
.
exportExcel
();
});
//统计
//统计
$
(
document
).
on
(
'click'
,
'#count'
,
function
(
e
){
$
(
document
).
on
(
'click'
,
'#count'
,
function
(
e
){
//that.countValue();
//that.countValue();
...
@@ -1118,22 +1118,31 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
...
@@ -1118,22 +1118,31 @@ define(['doT', 'text!temp/receivables_template_tpl.html', 'css!style/home.css',
var
comit_name
=
$
(
'#comit_name'
).
val
(
""
);
var
comit_name
=
$
(
'#comit_name'
).
val
(
""
);
},
},
/**
//收款记录 导出
* 导出报表
exportExcel
:
function
()
{
*/
// var commite_time_start = $('#comit_time_start').val();
exportExcel
:
function
(){
// var commite_time_end = $('#comit_time_end').val();
var
that
=
receiv
;
// var into_time_start = $('#into_time_start').val();
var
params
=
that
.
buildSearchParams
(
true
);
// var into_time_end = $('#into_time_end').val();
$
.
post
(
''
,
params
,
function
(
data
){
// var changed_type = $('#changed_type').val();
if
(
data
.
code
==
200
)
{
// var changed_id = $('#changed_id').val();
// var back_id_money = $('#back_id_money').val();
}
else
{
// var shoped_id = $('#shoped_id').val();
alert
(
data
.
msg
);
// var shoped_addr = $('#shoped_addr').val();
}
// var commit_home = $('#commit_home').val();
})
// var commit_shop = $('#commit_shop').val();
window
.
open
(
'/index/getCollection'
+
params
);
// 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/getCollection'
+
'?'
;
window
.
open
(
_url
+
receiv
.
buildSearchParams
(
excel
));
},
},
/**
/**
* 获取查询参数
* 获取查询参数
*/
*/
...
...
public/resource/template/cash_account_list_template_tpl.html
View file @
f18bfce5
...
@@ -3,13 +3,31 @@
...
@@ -3,13 +3,31 @@
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
class
=
"text-center"
>
<
tr
class
=
"text-center"
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
[
%
if
(
it
[
item
][
'is_essay'
]
==
1
)
{
%
]
<
td
>
[
%=
it
[
item
][
'status'
]
%
]
<
/td
>
<
td
>+
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
[
%
}
else
{
%
]
<
td
>-
[
%=
it
[
item
][
'money'
]
%
]
<
/td
>
[
%
}
%
]
[
%
if
(
it
[
item
][
'is_essay'
]
==
1
)
{
%
]
<
td
>
[
%=
it
[
item
][
'title'
]
%
]
<
/td
>
[
%
}
else
{
%
]
[
%
if
(
it
[
item
][
'status'
]
==
0
){
%
]
<
td
>
提现(审核中)
<
/td
>
[
%
}
else
if
(
it
[
item
][
'status'
]
==
1
){
%
]
<
td
>
申请提现(成功)
<
/td
>
[
%
}
else
{
%
]
<
td
>
申请提现(拒绝)
<
/td
>
[
%
}
%
]
[
%
}
%
]
<
td
>
[
%=
it
[
item
][
'user_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'user_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
create_time1
'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
user_phone
'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
create_time1
'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'
operator_name
'
]
%
]
<
/td
>
<
td
>
<
td
>
<
a
class
=
"btn1 btn-success is_show"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
target
=
"#modal-show"
>
审核通过
<
/a
>
[
%
if
(
it
[
item
][
'status'
]
==
0
&&
it
[
item
][
'is_essay'
]
==
2
){
%
]
<
a
class
=
"btn1 btn-success is_show"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
data
-
target
=
"#modal-show"
>
审核通过
<
/a
>
[
%
}
%
]
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
...
...
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