|
|
@@ -323,13 +323,19 @@ export default {
|
|
|
pass: !!status
|
|
|
};
|
|
|
let API = !!status ? approveTaskWithVariables : rejectTask;
|
|
|
-
|
|
|
- API({
|
|
|
+ const params = {
|
|
|
id: this.form.id,
|
|
|
reason: this.form.reason,
|
|
|
businessId: this.businessId,
|
|
|
variables
|
|
|
- }).then((res) => {
|
|
|
+ }
|
|
|
+ const isNonStandard = this.form?.valueJson?.is_non_standard
|
|
|
+ if(this.form.taskDefinitionKey == 'storemanAudit') {
|
|
|
+ params.push({
|
|
|
+ noStandard: isNonStandard == '是' ? true : false
|
|
|
+ })
|
|
|
+ }
|
|
|
+ API(params).then((res) => {
|
|
|
if (res.data.code != '-1') {
|
|
|
let params = {
|
|
|
status,
|