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
285ea72a
Commit
285ea72a
authored
Oct 17, 2019
by
zw
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
6a87ce98
6f73314a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
19 deletions
+7
-19
Refund.php
application/index/controller/Refund.php
+3
-15
footer_tpl.html
application/index/view/global/footer_tpl.html
+1
-1
user_genjing_modal.html
application/index/view/member/user_genjing_modal.html
+2
-2
user_genjing_modal.js
public/resource/js/user_genjing_modal.js
+1
-1
No files found.
application/index/controller/Refund.php
View file @
285ea72a
...
...
@@ -221,16 +221,10 @@ class Refund extends Basic
$where
[
'a.status'
]
=
[
'in'
,
'0,1'
];
}
else
{
$where
[
'a.status'
]
=
$this
->
params
[
'status'
];
if
(
$this
->
params
[
'status'
]
==
'0'
)
{
$where
[
'c.site_id'
]
=
$this
->
siteId
;
}
}
}
else
{
$where
[
'c.site_id'
]
=
$this
->
params
[
'site_id'
];
}
if
(
$this
->
params
[
'status'
]
>
0
&&
isset
(
$this
->
params
[
'site_id'
]))
{
if
(
!
empty
(
$this
->
params
[
'site_id'
]))
{
$where
[
'c.site_id'
]
=
$this
->
params
[
'site_id'
];
}
...
...
@@ -355,7 +349,7 @@ class Refund extends Basic
}
$data
[
'data'
][
'list'
]
=
$list
;
$data
[
'data'
][
'total_money'
]
=
$refund
->
getSumMoney
(
$where
);
$data
[
'data'
][
'total_money'
]
=
$refund
->
getSumMoney
(
$where
)
.
''
;
$data
[
'data'
][
'total'
]
=
$refund
->
getCheckRefundListTotal
(
$where
);
return
$this
->
response
(
$data
[
'code'
],
$data
[
'msg'
],
$data
[
'data'
]);
...
...
@@ -383,16 +377,10 @@ class Refund extends Basic
$where
[
'a.status'
]
=
[
'in'
,
'0,1'
];
}
else
{
$where
[
'a.status'
]
=
$this
->
params
[
'status'
];
if
(
$this
->
params
[
'status'
]
==
'0'
)
{
$where
[
'c.site_id'
]
=
$this
->
siteId
;
}
}
}
else
{
$where
[
'c.site_id'
]
=
$this
->
params
[
'site_id'
];
}
if
(
$this
->
params
[
'status'
]
>
0
&&
isset
(
$this
->
params
[
'site_id'
]))
{
if
(
!
empty
(
$this
->
params
[
'site_id'
]))
{
$where
[
'c.site_id'
]
=
$this
->
params
[
'site_id'
];
}
...
...
application/index/view/global/footer_tpl.html
View file @
285ea72a
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=2019080
711216616
6'
charset=
'utf-8'
></script>
<script
src=
'/resource/lib/js/require.min.js'
data-main=
'/resource/js/main?version=20190806'
charset=
'utf-8'
></script>
application/index/view/member/user_genjing_modal.html
View file @
285ea72a
...
...
@@ -23,7 +23,7 @@
width
:
50%
;
}
.user-detail-relational
>
div
>
span
,
.user-detail-relational
>
div
>
a
{
margin-left
:
5
px
;
margin-left
:
2
px
;
cursor
:
pointer
;
}
.user-ul-liu
{
...
...
@@ -468,7 +468,7 @@
}
.public-box-noleft-73
{
display
:
inline-block
;
width
:
60
px
;
width
:
56
px
;
height
:
26px
;
line-height
:
26px
;
text-align
:
center
;
...
...
public/resource/js/user_genjing_modal.js
View file @
285ea72a
...
...
@@ -1392,7 +1392,7 @@ define(['doT', 'text!temp/user_model_template_tpl.html','css!style/home.css', 'c
var
yuanpan
=
'<a class="public-box-noleft-73 heavyPlates6" href="#modal-heavyPlates" data-toggle="modal" data-id="'
+
item
.
user_id
+
'">重盘</a>'
}
user_bind_list
+=
'<div>'
+
item
.
user_name
+
'
,ID:'
+
item
.
user_id
+
',
'
+
hideTel
(
item
.
user_phone
)
+
'<span class="public-box-noleft-73 del-relational" data-id="'
+
item
.
user_id
+
'">解除关联</span>'
+
'<a class="public-box-noleft-73 user-detail" href="#modal-userDetail" data-toggle="modal" data-id="'
+
item
.
user_id
+
'">客户详情</a>'
+
yuanpan
+
'</div>'
;
user_bind_list
+=
'<div>'
+
item
.
user_name
+
'
,ID:'
+
item
.
user_id
+
',
'
+
hideTel
(
item
.
user_phone
)
+
'<span class="public-box-noleft-73 del-relational" data-id="'
+
item
.
user_id
+
'">解除关联</span>'
+
'<a class="public-box-noleft-73 user-detail" href="#modal-userDetail" data-toggle="modal" data-id="'
+
item
.
user_id
+
'">客户详情</a>'
+
yuanpan
+
'</div>'
;
});
if
(
user_bind_list
){
$
(
".user-detail-relational"
).
html
(
user_bind_list
);
...
...
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