| | |
| | | } |
| | | } |
| | | console.log('model', this.model.tableDetailList) |
| | | // |
| | | // httpAction(this.url.approval, this.model, 'put') |
| | | // .then((res) => { |
| | | // if (res.success) { |
| | | // that.$notification.success({ |
| | | // message: '消息', |
| | | // description: res.message |
| | | // }) |
| | | // that.$emit('modalFormOk') |
| | | // that.close() |
| | | // } else { |
| | | // that.$notification.warning({ |
| | | // message: '消息', |
| | | // description: res.message |
| | | // }) |
| | | // } |
| | | // }) |
| | | // .finally(() => { |
| | | // that.confirmLoading = that.spinning = false |
| | | // }) |
| | | |
| | | httpAction(this.url.approval, this.model, 'put') |
| | | .then((res) => { |
| | | if (res.success) { |
| | | that.$notification.success({ |
| | | message: '消息', |
| | | description: res.message |
| | | }) |
| | | that.$emit('modalFormOk') |
| | | that.close() |
| | | } else { |
| | | that.$notification.warning({ |
| | | message: '消息', |
| | | description: res.message |
| | | }) |
| | | } |
| | | }) |
| | | .finally(() => { |
| | | that.confirmLoading = that.spinning = false |
| | | }) |
| | | } else { |
| | | return false |
| | | } |