|
@@ -140,6 +140,7 @@
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
async created() {
|
|
async created() {
|
|
|
|
|
+ console.log('taskDefinitionKey~~~~~~~~~~', this.taskDefinitionKey);
|
|
|
this.userOptions = [];
|
|
this.userOptions = [];
|
|
|
listAllUserBind().then((data) => {
|
|
listAllUserBind().then((data) => {
|
|
|
this.userOptions.push(...data);
|
|
this.userOptions.push(...data);
|
|
@@ -500,6 +501,10 @@
|
|
|
variables[this.submitParams[this.taskDefinitionKey]] =
|
|
variables[this.submitParams[this.taskDefinitionKey]] =
|
|
|
this.form.userId;
|
|
this.form.userId;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ // 质检主管审核 不自动跳过 autoApproval 0-不自动跳过 1-自动跳过
|
|
|
|
|
+ variables['autoApproval'] = this.taskDefinitionKey === 'QCLeader' ? 0 : 1;
|
|
|
|
|
+
|
|
|
approveTaskWithVariablesAPI({
|
|
approveTaskWithVariablesAPI({
|
|
|
id: this.taskId,
|
|
id: this.taskId,
|
|
|
reason: this.form.reason,
|
|
reason: this.form.reason,
|