|
@@ -64,8 +64,8 @@
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
- form:{
|
|
|
|
|
- reason:''
|
|
|
|
|
|
|
+ form: {
|
|
|
|
|
+ reason: ''
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
@@ -88,10 +88,13 @@
|
|
|
variables: {
|
|
variables: {
|
|
|
pass: !!status
|
|
pass: !!status
|
|
|
}
|
|
}
|
|
|
- });
|
|
|
|
|
- this.$emit('handleAudit', {
|
|
|
|
|
- status,
|
|
|
|
|
- title: status === 0 ? '驳回' : ''
|
|
|
|
|
|
|
+ }).then((res) => {
|
|
|
|
|
+ if (res.data.code != '-1') {
|
|
|
|
|
+ this.$emit('handleAudit', {
|
|
|
|
|
+ status,
|
|
|
|
|
+ title: status === 0 ? '驳回' : ''
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
rejectTask(status) {
|
|
rejectTask(status) {
|
|
@@ -101,10 +104,13 @@
|
|
|
variables: {
|
|
variables: {
|
|
|
pass: !!status
|
|
pass: !!status
|
|
|
}
|
|
}
|
|
|
- });
|
|
|
|
|
- this.$emit('handleAudit', {
|
|
|
|
|
- status,
|
|
|
|
|
- title: status === 0 ? '驳回' : ''
|
|
|
|
|
|
|
+ }).then((res) => {
|
|
|
|
|
+ if (res.data.code != '-1') {
|
|
|
|
|
+ this.$emit('handleAudit', {
|
|
|
|
|
+ status,
|
|
|
|
|
+ title: '驳回'
|
|
|
|
|
+ });
|
|
|
|
|
+ }
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
|
|
|