0.3.2 debug:任务提交
This commit is contained in:
parent
983cfeb78f
commit
44fff551dc
|
@ -50,7 +50,7 @@ export default {
|
|||
// 表单重置
|
||||
reset() {
|
||||
this.form = {
|
||||
id: this.id,
|
||||
id: null,
|
||||
submitAttaches: null,
|
||||
submitRemark: null,
|
||||
};
|
||||
|
@ -61,6 +61,7 @@ export default {
|
|||
this.$refs["form"].validate(valid => {
|
||||
if (valid) {
|
||||
this.submitLoading = true;
|
||||
this.form.id = this.id;
|
||||
submitTask(this.form).then(response => {
|
||||
this.$modal.msgSuccess("提交成功");
|
||||
this.reset();
|
||||
|
|
Loading…
Reference in New Issue
Block a user