发起流程修改

This commit is contained in:
MustangDeng 2022-06-27 18:01:30 +08:00
parent 0da6205159
commit 4d46a7ca90
2 changed files with 4 additions and 2 deletions

View File

@ -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");
})
}

View File

@ -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();
}