...
|
...
|
@@ -85,14 +85,6 @@ export default function native(platform) { |
|
|
store.dispatch(setHost(this.props.host));
|
|
|
store.dispatch(setServiceHost(this.props.serviceHost));
|
|
|
let channel = this.props.channel;
|
|
|
let days = this.props.days;
|
|
|
if (days && days !== '') {
|
|
|
store.dispatch(setQueryDays(days));
|
|
|
}
|
|
|
let repayOrderNo = this.props.repayOrderNo;
|
|
|
if (repayOrderNo && repayOrderNo !== '') {
|
|
|
store.dispatch(setRepayOrderNo(repayOrderNo));
|
|
|
}
|
|
|
channel && store.dispatch(setChannel(channel));
|
|
|
if (type == 'installmentHome') {
|
|
|
return (
|
...
|
...
|
@@ -117,12 +109,20 @@ export default function native(platform) { |
|
|
</Provider>
|
|
|
)
|
|
|
} else if (type == 'repayList') {
|
|
|
let days = this.props.days;
|
|
|
if (days && days !== '') {
|
|
|
store.dispatch(setQueryDays(days));
|
|
|
}
|
|
|
return (
|
|
|
<Provider store={store}>
|
|
|
<RepayListContainer />
|
|
|
</Provider>
|
|
|
);
|
|
|
} else if (type == 'repayDetail') {
|
|
|
let repayOrderNo = this.props.repayOrderNo;
|
|
|
if (repayOrderNo && repayOrderNo !== '') {
|
|
|
store.dispatch(setRepayOrderNo(repayOrderNo));
|
|
|
}
|
|
|
return (
|
|
|
<Provider store={store}>
|
|
|
<RepayDetailContainer />
|
...
|
...
|
|