发起流程修改
This commit is contained in:
parent
0da6205159
commit
4d46a7ca90
|
|
@ -197,8 +197,10 @@ export default class PayrollGrant extends React.Component {
|
|||
const { payrollStore: {grantProxy} } = this.props;
|
||||
grantProxy({
|
||||
salarySendId: this.state.currentId
|
||||
}).then(() => {
|
||||
}).then((data) => {
|
||||
this.getSendBtnStatus(this.state.currentId)
|
||||
console.log(`/spa/workflow/static4form/index.html#/main/workflow/req?requestid=` + data.requestId)
|
||||
window.open(`/spa/workflow/static4form/index.html#/main/workflow/req?requestid=` + data.requestId, "_blank");
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -555,7 +555,7 @@ export class payrollStore {
|
|||
return new Promise((resolve, reject) => {
|
||||
API.grantProxy(params).then(res => {
|
||||
if (res.status) {
|
||||
resolve();
|
||||
resolve(res.data);
|
||||
} else {
|
||||
reject();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue