|
|
|
@ -148,7 +148,7 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<div slot="footer" class="dialog-footer"> |
|
|
|
<el-button @click="addFormVisible = false">取 消</el-button> |
|
|
|
<el-button @click="handleCancel">关闭</el-button> |
|
|
|
<el-button type="primary" @click="addXmTask">确 定</el-button> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
@ -322,7 +322,6 @@ export default { |
|
|
|
if(tips.isOk){ |
|
|
|
this.$emit('submit',res.data.data);// @submit="afterAddSubmit" |
|
|
|
this.xmTasks.push(res.data.data) |
|
|
|
this.addFormVisible=false; |
|
|
|
} |
|
|
|
this.$notify({position:'bottom-left',showClose:true,message: tips.msg, type: tips.isOk?'success':'error' }); |
|
|
|
}).catch( err => this.load.edit=false); |
|
|
|
|