|
|
@@ -116,8 +116,8 @@ export default { |
|
|
|
this.$refs['dataForm'].validate(valid => { |
|
|
|
if (valid) { |
|
|
|
this.$http({ |
|
|
|
url: this.$http.adornUrl(`/monitoring/workShopSectionEquipment/${!this.dataForm.id ? 'save' : 'update'}`), |
|
|
|
method: 'post', |
|
|
|
url: this.$http.adornUrl(`/monitoring/workShopSectionEquipment/${!this.dataForm.id ? '' : this.dataForm.id}`), |
|
|
|
method: this.dataForm.id ? 'put' : 'post', |
|
|
|
data: this.$http.adornData({ |
|
|
|
id: this.dataForm.id || undefined, |
|
|
|
workshopSectionId: this.dataForm.workshopSectionId, |
|
|
|