|
|
@@ -95,11 +95,13 @@
|
|
|
},
|
|
|
|
|
|
async handleAudit(status, type) {
|
|
|
- let value=await this.getTableValue()
|
|
|
- if (!value) {
|
|
|
- return;
|
|
|
+ if (!!status) {
|
|
|
+ let value = await this.getTableValue();
|
|
|
+ if (!value) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
this._approveTaskWithVariables(status);
|
|
|
},
|
|
|
async _approveTaskWithVariables(status) {
|