lb #1

Merged
gtz217 merged 128 commits from lb into develop 2022-09-20 14:53:17 +08:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 43f33be189 - Show all commits

View File

@ -159,7 +159,7 @@ export default {
this.$refs['dataForm'].resetFields()
if (this.dataForm.id) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipment/info/${this.dataForm.id}`),
url: this.$http.adornUrl(`/monitoring/equipment/${this.dataForm.id}`),
method: 'get',
params: this.$http.adornParams()
}).then(({ data }) => {

View File

@ -118,6 +118,7 @@ export default {
this.$http({
url: this.$http.adornUrl(`/monitoring/qualityInspectionDet/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
headers: { 'Content-Type': 'application/json' },
data: this.$http.adornData({
id: this.dataForm.id || undefined,
typeId: this.dataForm.typeId,