Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
fenzhan_zsb
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
esf
fenzhan_zsb
Commits
dedbb982
Commit
dedbb982
authored
Dec 23, 2019
by
zhangkuanguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
芜湖放心看
parent
8c439449
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
15 deletions
+30
-15
realHouse.php
new_admincp/applications/zsb/controllers/realHouse.php
+4
-0
realHouse_marginAccount.php
...ncp/applications/zsb/views/nj/realHouse_marginAccount.php
+2
-1
index.js
new_admincp/source/zsb/js/v1.0/real/index.js
+24
-14
No files found.
new_admincp/applications/zsb/controllers/realHouse.php
View file @
dedbb982
...
...
@@ -175,6 +175,9 @@ class realHouse extends MY_Controller {
$uid
=
$info
[
'uid'
];
$realHouseMoney
=
$this
->
real_house_model
->
getBrokerRealHouseMoney
(
$uid
);
$brokerLog
=
$this
->
real_house_model
->
getBrokerLog
(
$uid
);
//放心看的数量
$count
=
$this
->
real_house_model
->
getRealSell
(
$uid
);
$this
->
load
->
model
(
'zsb_api_model'
);
$info
=
$this
->
zsb_api_model
->
getRequrstData
(
'realInfo'
);
...
...
@@ -194,6 +197,7 @@ class realHouse extends MY_Controller {
$money
=
$data
[
'money'
];
$real_house_money
=
$data
[
'real_house_money'
];
$data_page
[
'real_status'
]
=
$real_status
;
$data_page
[
'real_count'
]
=
$count
;
$data_page
[
'is_applay'
]
=
$is_applay
;
$data_page
[
'real_money'
]
=
$money
;
$data_page
[
'brokerLog'
]
=
$brokerLog
;
...
...
new_admincp/applications/zsb/views/nj/realHouse_marginAccount.php
View file @
dedbb982
...
...
@@ -116,7 +116,7 @@
<script
src=
"/source/zsb/js/avalon/avalon_gbk.js"
></script>
<script
src=
"/source/zsb/js/layer-v3.1.1/layer/layer_gbk.js"
></script>
<script
type=
"application/javascript"
>
var
real_count
=
<?=
$real_count
?>
;
</script>
<script
src=
"/source/zsb/js/v1.0/real/index.js"
></script>
\ No newline at end of file
new_admincp/source/zsb/js/v1.0/real/index.js
View file @
dedbb982
...
...
@@ -67,22 +67,32 @@ var avaVm = avalon.define({
//提现
remit
:
function
()
{
var
_this
=
this
;
$
.
ajax
({
type
:
'post'
,
url
:
'/realHouse/realHouseRemit'
,
data
:
{},
dataType
:
'json'
,
success
:
function
(
re
)
{
if
(
re
.
result
!=
1
){
_this
.
waringOpen
(
re
.
msg
);
return
false
;
layer
.
confirm
(
'您的账户中仍有'
+
real_count
+
'条"放心房"在线展示,提现后"放心房"标签将被去除哦!'
,
{
btn
:
[
'继续提现'
,
'取消'
]
//按钮
},
function
(){
var
index
=
layer
.
load
(
2
,
{
shade
:
false
});
$
.
ajax
({
type
:
'POST'
,
url
:
'/realHouse/realHouseRemit'
,
data
:
{},
dataType
:
'JSON'
,
success
:
function
(
re
)
{
if
(
re
.
result
!=
1
){
_this
.
waringOpen
(
re
.
msg
);
return
false
;
}
layer
.
alert
(
'您的提现申请已提交成功,预计15工作日内将保证金原路退回,请您注意余额变动'
,
function
()
{
window
.
location
.
href
=
'/realHouse/marginAccount/'
;
});
},
complete
:
function
()
{
layer
.
close
(
index
);
}
lay
.
msg
(
'已成功申请提现'
);
setTimeout
(
function
()
{
window
.
location
.
href
=
'/realHouse/marginAccount/'
;
},
1000
);
}
});
});
}
});
...
...
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