|
|
@@ -161,6 +161,7 @@
|
|
|
this.loading = false;
|
|
|
this.$message.success('操作成功');
|
|
|
if (type == 'sub') {
|
|
|
+ console.log(res,';res')
|
|
|
this.approvalSubmit(data.id || res);
|
|
|
} else {
|
|
|
this.reload();
|
|
|
@@ -194,12 +195,12 @@
|
|
|
this.processSubmitDialogFlag = true;
|
|
|
this.$nextTick(() => {
|
|
|
let params = {
|
|
|
- businessId: res.id,
|
|
|
+ businessId: res.data.id,
|
|
|
businessKey: 'qms_certificate',
|
|
|
- formCreateUserId: res.createUserId,
|
|
|
+ formCreateUserId: res.data.createUserId,
|
|
|
variables: {
|
|
|
- businessCode: res.code,
|
|
|
- businessName: res.productName,
|
|
|
+ businessCode: res.data.code,
|
|
|
+ businessName: res.data.productName,
|
|
|
businessType: '合格证'
|
|
|
}
|
|
|
};
|