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
7f8188a8
Commit
7f8188a8
authored
Dec 17, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
7b15f999
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
157 additions
and
103 deletions
+157
-103
daily_details.html
application/index/view/finance/daily_details.html
+9
-78
financial_manager_daily_list.js
public/resource/js/financial_manager_daily_list.js
+25
-19
financial_manager_daily_list_template_tpl.html
...e/template/financial_manager_daily_list_template_tpl.html
+123
-6
No files found.
application/index/view/finance/daily_details.html
View file @
7f8188a8
...
@@ -111,24 +111,7 @@
...
@@ -111,24 +111,7 @@
</tr>
</tr>
</thead>
</thead>
<tbody
class=
"text-center"
id=
"maintable_list_a"
>
<tbody
class=
"text-center"
id=
"maintable_list_a"
>
<tr>
<td
class=
"text-center"
>
11
</td>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center"
>
666
</td>
<td
class=
"text-center"
>
888
</td>
<td
class=
"text-center"
>
888
</td>
<td
class=
"text-center"
>
999
</td>
<td
class=
"text-center text-primary"
>
资料
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
@@ -156,24 +139,8 @@
...
@@ -156,24 +139,8 @@
<th
class=
"text-center"
>
附件
</th>
<th
class=
"text-center"
>
附件
</th>
</tr>
</tr>
</thead>
</thead>
<tbody
class=
"text-center"
id=
"maintable_list_a"
>
<tbody
class=
"text-center"
id=
"maintable_list_b"
>
<tr>
<td
class=
"text-center"
>
11
</td>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center"
>
666
</td>
<td
class=
"text-center"
>
888
</td>
<td
class=
"text-center"
>
888
</td>
<td
class=
"text-center text-primary"
>
资料
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
@@ -199,21 +166,8 @@
...
@@ -199,21 +166,8 @@
<th
class=
"text-center"
>
附件
</th>
<th
class=
"text-center"
>
附件
</th>
</tr>
</tr>
</thead>
</thead>
<tbody
class=
"text-center"
id=
"maintable_list_a"
>
<tbody
class=
"text-center"
id=
"maintable_list_c"
>
<tr>
<td
class=
"text-center"
>
11
</td>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center"
>
666
</td>
<td
class=
"text-center text-primary"
>
资料
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
@@ -238,20 +192,8 @@
...
@@ -238,20 +192,8 @@
<th
class=
"text-center"
>
附件
</th>
<th
class=
"text-center"
>
附件
</th>
</tr>
</tr>
</thead>
</thead>
<tbody
class=
"text-center"
id=
"maintable_list_a"
>
<tbody
class=
"text-center"
id=
"maintable_list_d"
>
<tr>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center"
>
666
</td>
<td
class=
"text-center text-primary"
>
资料
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
@@ -275,19 +217,8 @@
...
@@ -275,19 +217,8 @@
<th
class=
"text-center"
>
附件
</th>
<th
class=
"text-center"
>
附件
</th>
</tr>
</tr>
</thead>
</thead>
<tbody
class=
"text-center"
id=
"maintable_list_a"
>
<tbody
class=
"text-center"
id=
"maintable_list_e"
>
<tr>
<td
class=
"text-center"
>
555
</td>
<td
class=
"text-center"
>
5
</td>
<td
class=
"text-center"
>
6
</td>
<td
class=
"text-center"
>
3
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
2
</td>
<td
class=
"text-center"
>
33
</td>
<td
class=
"text-center"
>
22
</td>
<td
class=
"text-center"
>
15517301736
</td>
<td
class=
"text-center text-primary"
>
资料
</td>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
...
...
public/resource/js/financial_manager_daily_list.js
View file @
7f8188a8
define
([
'doT'
,
'text!temp/financial_manager_daily_list_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
,
template_maid_sub1
)
{
define
([
'doT'
,
'text!temp/financial_manager_daily_list_template_tpl.html'
,
'css!style/home.css'
,
'css!style/report_list.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
,
template_tax
,
template_maid
,
template_maid_sub1
)
{
var
user_info_obj
=
JSON
.
parse
(
decodeURIComponent
(
localStorage
.
getItem
(
'pcUserInfo'
)));
//读取缓存
bargain
=
{
bargain
=
{
pageNo
:
1
,
pageNo
:
1
,
/*第几页*/
/*第几页*/
...
@@ -91,26 +92,15 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
...
@@ -91,26 +92,15 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
getList
:
function
(
pageNo
){
getList
:
function
(
pageNo
){
console
.
count
(
'bar'
);
console
.
count
(
'bar'
);
var
params
=
{
var
params
=
{
'pageNo'
:
pageNo
,
'AuthToken'
:
'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjo1Nzc1LCJuYW1lIjoiXHU2ZDRiXHU4YmQ1MiIsInBob25lIjoiMTU2MDE2NTIzNTIiLCJsZXZlbCI6MjB9LCJ0aW1lU3RhbXBfIjoxNTQ1MDQ1Mjc3fQ.xo7hqzw-eeWaLeP6xxbu9xJrynPC4krNBa4U-QUcM-U'
,
'pageSize'
:
bargain
.
pageSize
,
'store_id'
:
730
,
'shop_type'
:
$
(
'#maintable_shop_type'
).
val
(),
'is_store'
:
0
,
'create_time'
:
$
.
trim
(
$
(
'#maintable_create_time'
).
val
()),
'daily_data'
:
'2018-12-01'
,
'end_time'
:
$
.
trim
(
$
(
'#maintable_end_time'
).
val
()),
'internal_address'
:
$
.
trim
(
$
(
'#maintable_internal_address'
).
val
()),
'user_phone'
:
$
.
trim
(
$
(
'#maintable_user_phone'
).
val
()),
'house_number'
:
$
.
trim
(
$
(
'#maintable_shop_num'
).
val
()),
'district_id'
:
$
(
"select[name='district_id'] option:selected"
).
val
(),
'store_id'
:
$
(
"select[name='store_id'] option:selected"
).
val
(),
'agent_name'
:
$
.
trim
(
$
(
'#agent_name'
).
val
()),
'agent_phone'
:
$
.
trim
(
$
(
'#agent_phone'
).
val
()),
'bargain_id'
:
$
.
trim
(
$
(
'#bargain_id'
).
val
()),
'partial_id'
:
bargain
.
agent_id_phone
,
'user_id'
:
$
(
'#maintable_user_ID'
).
val
(),
};
};
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
url
:
bargain
.
switchUrl
(),
// url: bargain.switchUrl(),
url
:
'/index/dailyDetail'
,
data
:
params
,
data
:
params
,
timeout
:
30000
,
timeout
:
30000
,
dataType
:
'json'
,
dataType
:
'json'
,
...
@@ -120,8 +110,24 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
...
@@ -120,8 +110,24 @@ define(['doT', 'text!temp/financial_manager_daily_list_template_tpl.html', 'css!
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
typeof
data
===
'object'
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
code
==
200
)
{
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'financial_daily_list_tpl'
).
innerHTML
);
//中介费
$
(
"#maintable_list"
).
html
(
doTtmpl
(
data
.
data
.
list
));
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'a_financial_daily_list_tpl'
).
innerHTML
);
$
(
"#maintable_list_a"
).
html
(
doTtmpl
(
data
.
data
.
list
.
agency_fee
));
//案场费
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'b_financial_daily_list_tpl'
).
innerHTML
);
$
(
"#maintable_list_b"
).
html
(
doTtmpl
(
data
.
data
.
list
.
case_fee
));
//意向金
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'c_financial_daily_list_tpl'
).
innerHTML
);
$
(
"#maintable_list_c"
).
html
(
doTtmpl
(
data
.
data
.
list
.
earnest_money
));
//保管金
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'd_financial_daily_list_tpl'
).
innerHTML
);
$
(
"#maintable_list_d"
).
html
(
doTtmpl
(
data
.
data
.
list
.
custody_money
));
//调整出账
var
doTtmpl
=
doT
.
template
(
document
.
getElementById
(
'e_financial_daily_list_tpl'
).
innerHTML
);
$
(
"#maintable_list_e"
).
html
(
doTtmpl
(
data
.
data
.
list
.
adjustment
));
/*分页代码*/
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
add_page
(
data
.
data
.
total
,
pageNo
,
bargain
.
pageSize
,
bargain
.
getList
);
...
...
public/resource/template/financial_manager_daily_list_template_tpl.html
View file @
7f8188a8
<script
id=
"financial_daily_list_tpl"
type=
"text/template"
>
<!--中介费-->
<script
id=
"a_financial_daily_list_tpl"
type=
"text/template"
>
[
%
if
(
it
.
length
)
{
%
]
[
%
if
(
it
.
length
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
tr
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'bargain_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'phone'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'pay_type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'transfer_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'is_open'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'is_dividend'
]
%
]
<
/td
>
<
td
>
<
td
>
<
a
class
=
"btn1 btn-info"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
审核
<
/a
>
<
a
class
=
"btn1 btn-info"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
资料
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
<!--案场费-->
<script
id=
"b_financial_daily_list_tpl"
type=
"text/template"
>
[
%
if
(
it
.
length
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'bargain_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'pay_type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'transfer_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'store_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'is_open'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-info"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
资料
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
<!--意向金-->
<script
id=
"c_financial_daily_list_tpl"
type=
"text/template"
>
[
%
if
(
it
.
length
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'bargain_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'pay_type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'transfer_name'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'agent_name'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-info"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
资料
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
<!--保管金-->
<script
id=
"d_financial_daily_list_tpl"
type=
"text/template"
>
[
%
if
(
it
.
length
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'bargain_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'pay_type'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'transfer_name'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-info"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
资料
<
/a
>
<
/td
>
<
/tr
>
[
%
}
%
]
[
%
}
else
{
%
]
<
tr
>
<
td
colspan
=
"8"
style
=
"text-align:center;"
>
暂无数据
<
/td
>
<
/tr
>
[
%
}
%
]
</script>
<!--调整出账-->
<script
id=
"e_financial_daily_list_tpl"
type=
"text/template"
>
[
%
if
(
it
.
length
)
{
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
td
>
[
%=
it
[
item
][
'id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'bargain_id'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'house_address'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'price'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'pay_type'
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-info"
href
=
"#modal_financial"
data
-
recordid
=
"[%= it[item]['id'] %]"
data
-
toggle
=
"modal"
>
资料
<
/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