|
|
|
@ -288,6 +288,7 @@ class CompetitionContentspdfpeopledata extends Component {
|
|
|
|
|
if (!err) {
|
|
|
|
|
let url = `/competitions/${this.props.match.params.identifier}/prize_leader_account.json`;
|
|
|
|
|
axios.patch(url, {
|
|
|
|
|
user_id:this.state.userdata.id,
|
|
|
|
|
bank: values.openingbank,
|
|
|
|
|
second_bank: values.subbranchs,
|
|
|
|
|
card_no: values.subbranch
|
|
|
|
@ -296,7 +297,7 @@ class CompetitionContentspdfpeopledata extends Component {
|
|
|
|
|
try {
|
|
|
|
|
if (result.data.status == 0) {
|
|
|
|
|
// console.log(JSON.stringify(result));
|
|
|
|
|
this.props.showNotification(`提交成功成功`);
|
|
|
|
|
this.props.showNotification(`提交成功`);
|
|
|
|
|
this.getdata(this.state.userdata.id);
|
|
|
|
|
this.GetawardinformationAPI();
|
|
|
|
|
}
|
|
|
|
|