diff --git a/src/views/modules/monitoring/equipmenFile.vue b/src/views/modules/monitoring/equipmenFile.vue index b93d70c..4c55b89 100644 --- a/src/views/modules/monitoring/equipmenFile.vue +++ b/src/views/modules/monitoring/equipmenFile.vue @@ -79,7 +79,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenfile/page'), + url: this.$http.adornUrl('/monitoring/equipmentFile/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -132,8 +132,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenfile/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmentFile'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmenGroup.vue b/src/views/modules/monitoring/equipmenGroup.vue index be299c9..62986d6 100644 --- a/src/views/modules/monitoring/equipmenGroup.vue +++ b/src/views/modules/monitoring/equipmenGroup.vue @@ -76,7 +76,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmengroup/page'), + url: this.$http.adornUrl('/monitoring/equipmentGroup/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -129,8 +129,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmengroup/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmentGroup'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmenalarmlog-add-or-update.vue b/src/views/modules/monitoring/equipmenalarmlog-add-or-update.vue index ce0731e..387e2a4 100644 --- a/src/views/modules/monitoring/equipmenalarmlog-add-or-update.vue +++ b/src/views/modules/monitoring/equipmenalarmlog-add-or-update.vue @@ -94,7 +94,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenalarmlog/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentAlarmLog/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -122,7 +122,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenalarmlog/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentAlarmLog/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/equipmenattr-add-or-update.vue b/src/views/modules/monitoring/equipmenattr-add-or-update.vue index e371f7e..a605795 100644 --- a/src/views/modules/monitoring/equipmenattr-add-or-update.vue +++ b/src/views/modules/monitoring/equipmenattr-add-or-update.vue @@ -89,7 +89,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenattr/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentAttr/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -116,7 +116,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenattr/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentAttr/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/equipmenfile-add-or-update.vue b/src/views/modules/monitoring/equipmenfile-add-or-update.vue index 8034600..ee1a5b0 100644 --- a/src/views/modules/monitoring/equipmenfile-add-or-update.vue +++ b/src/views/modules/monitoring/equipmenfile-add-or-update.vue @@ -109,7 +109,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenfile/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentFile/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -140,7 +140,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenfile/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentFile/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/equipmengroup-add-or-update.vue b/src/views/modules/monitoring/equipmengroup-add-or-update.vue index b9379bd..ae1bd3f 100644 --- a/src/views/modules/monitoring/equipmengroup-add-or-update.vue +++ b/src/views/modules/monitoring/equipmengroup-add-or-update.vue @@ -94,7 +94,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmengroup/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentGroup/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -122,7 +122,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmengroup/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentGroup/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/equipmengroupalarm-add-or-update.vue b/src/views/modules/monitoring/equipmengroupalarm-add-or-update.vue index a700283..68edc30 100644 --- a/src/views/modules/monitoring/equipmengroupalarm-add-or-update.vue +++ b/src/views/modules/monitoring/equipmengroupalarm-add-or-update.vue @@ -119,7 +119,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmengroupalarm/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentGroupAlarm/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -152,7 +152,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmengroupalarm/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentGroupAlarm/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/equipmenplc-add-or-update.vue b/src/views/modules/monitoring/equipmenplc-add-or-update.vue index 7d5db3b..2f39fb8 100644 --- a/src/views/modules/monitoring/equipmenplc-add-or-update.vue +++ b/src/views/modules/monitoring/equipmenplc-add-or-update.vue @@ -134,7 +134,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenplc/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentPlc/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -170,7 +170,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenplc/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentPlc/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/equipmenplcconnect-add-or-update.vue b/src/views/modules/monitoring/equipmenplcconnect-add-or-update.vue index c7edf67..6d8d3d6 100644 --- a/src/views/modules/monitoring/equipmenplcconnect-add-or-update.vue +++ b/src/views/modules/monitoring/equipmenplcconnect-add-or-update.vue @@ -89,7 +89,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenplcconnect/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentPlcConnect/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -116,7 +116,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenplcconnect/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentPlcConnect/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/equipmenplcparam-add-or-update.vue b/src/views/modules/monitoring/equipmenplcparam-add-or-update.vue index 769ad6f..f77d44a 100644 --- a/src/views/modules/monitoring/equipmenplcparam-add-or-update.vue +++ b/src/views/modules/monitoring/equipmenplcparam-add-or-update.vue @@ -159,7 +159,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenplcparam/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentPlcParam/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -200,7 +200,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenplcparam/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentPlcParam/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/equipmenquantity-add-or-update.vue b/src/views/modules/monitoring/equipmenquantity-add-or-update.vue index e69e804..c23eb1f 100644 --- a/src/views/modules/monitoring/equipmenquantity-add-or-update.vue +++ b/src/views/modules/monitoring/equipmenquantity-add-or-update.vue @@ -114,7 +114,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenquantity/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentQuantity/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -146,7 +146,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenquantity/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentQuantity/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/equipmenstatuslog-add-or-update.vue b/src/views/modules/monitoring/equipmenstatuslog-add-or-update.vue index 739ccc6..cd8cfcf 100644 --- a/src/views/modules/monitoring/equipmenstatuslog-add-or-update.vue +++ b/src/views/modules/monitoring/equipmenstatuslog-add-or-update.vue @@ -109,7 +109,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenstatuslog/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentStatusLog/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -140,7 +140,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmenstatuslog/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentStatusLog/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/equipment.vue b/src/views/modules/monitoring/equipment.vue index ea1f3cd..e85d18a 100644 --- a/src/views/modules/monitoring/equipment.vue +++ b/src/views/modules/monitoring/equipment.vue @@ -148,8 +148,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipment/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipment'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmentAlarmLog.vue b/src/views/modules/monitoring/equipmentAlarmLog.vue index eefb9eb..8eab9f4 100644 --- a/src/views/modules/monitoring/equipmentAlarmLog.vue +++ b/src/views/modules/monitoring/equipmentAlarmLog.vue @@ -76,7 +76,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenalarmlog/page'), + url: this.$http.adornUrl('/monitoring/equipmentAlarmLog/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -129,8 +129,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenalarmlog/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmentAlarmLog'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmentGroupAlarm.vue b/src/views/modules/monitoring/equipmentGroupAlarm.vue index c349e91..6792275 100644 --- a/src/views/modules/monitoring/equipmentGroupAlarm.vue +++ b/src/views/modules/monitoring/equipmentGroupAlarm.vue @@ -82,7 +82,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmengroupalarm/page'), + url: this.$http.adornUrl('/monitoring/equipmentGroupAlarm/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -135,8 +135,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmengroupalarm/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmentGroupAlarm'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmentPlc.vue b/src/views/modules/monitoring/equipmentPlc.vue index e6e7135..8496ad9 100644 --- a/src/views/modules/monitoring/equipmentPlc.vue +++ b/src/views/modules/monitoring/equipmentPlc.vue @@ -84,7 +84,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenplc/page'), + url: this.$http.adornUrl('/monitoring/equipmentPlc/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -137,8 +137,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenplc/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmentPlc'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmentPlcConnect.vue b/src/views/modules/monitoring/equipmentPlcConnect.vue index 1b85dec..e732566 100644 --- a/src/views/modules/monitoring/equipmentPlcConnect.vue +++ b/src/views/modules/monitoring/equipmentPlcConnect.vue @@ -77,7 +77,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenplcconnect/page'), + url: this.$http.adornUrl('/monitoring/equipmentPlcConnect/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -130,8 +130,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenplcconnect/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmentPlcConnect'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmentPlcParam.vue b/src/views/modules/monitoring/equipmentPlcParam.vue index 48784eb..499e597 100644 --- a/src/views/modules/monitoring/equipmentPlcParam.vue +++ b/src/views/modules/monitoring/equipmentPlcParam.vue @@ -89,7 +89,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenplcparam/page'), + url: this.$http.adornUrl('/monitoring/equipmentPlcParam/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -142,8 +142,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenplcparam/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmentPlcParam'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmentQuantity.vue b/src/views/modules/monitoring/equipmentQuantity.vue index 9aae8c4..25c2b61 100644 --- a/src/views/modules/monitoring/equipmentQuantity.vue +++ b/src/views/modules/monitoring/equipmentQuantity.vue @@ -80,7 +80,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenquantity/page'), + url: this.$http.adornUrl('/monitoring/equipmentQuanity/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -133,8 +133,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenquantity/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmentQuanity'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmentStatusLog.vue b/src/views/modules/monitoring/equipmentStatusLog.vue index 82d934f..31cd63f 100644 --- a/src/views/modules/monitoring/equipmentStatusLog.vue +++ b/src/views/modules/monitoring/equipmentStatusLog.vue @@ -81,7 +81,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenstatuslog/page'), + url: this.$http.adornUrl('/monitoring/equipmenStatusLog/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -134,8 +134,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenstatuslog/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmenStatusLog'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmentType.vue b/src/views/modules/monitoring/equipmentType.vue index e518f52..537313d 100644 --- a/src/views/modules/monitoring/equipmentType.vue +++ b/src/views/modules/monitoring/equipmentType.vue @@ -78,7 +78,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmentype/page'), + url: this.$http.adornUrl('/monitoring/equipmentType/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -131,8 +131,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmentype/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmentType'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmentTypeFile.vue b/src/views/modules/monitoring/equipmentTypeFile.vue index 6251ce9..5ca10e0 100644 --- a/src/views/modules/monitoring/equipmentTypeFile.vue +++ b/src/views/modules/monitoring/equipmentTypeFile.vue @@ -79,7 +79,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmentypefile/page'), + url: this.$http.adornUrl('/monitoring/equipmentTypeFile/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -132,8 +132,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmentypefile/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmentTypeFile'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmentattr.vue b/src/views/modules/monitoring/equipmentattr.vue index 8fcd17e..e281729 100644 --- a/src/views/modules/monitoring/equipmentattr.vue +++ b/src/views/modules/monitoring/equipmentattr.vue @@ -75,7 +75,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenattr/page'), + url: this.$http.adornUrl('/monitoring/equipmentAttr/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -128,8 +128,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/equipmenattr/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/equipmentAttr'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/equipmentype-add-or-update.vue b/src/views/modules/monitoring/equipmentype-add-or-update.vue index 68c056a..8a6113b 100644 --- a/src/views/modules/monitoring/equipmentype-add-or-update.vue +++ b/src/views/modules/monitoring/equipmentype-add-or-update.vue @@ -104,7 +104,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmentype/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentType/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -134,7 +134,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmentype/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentType/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/equipmentypefile-add-or-update.vue b/src/views/modules/monitoring/equipmentypefile-add-or-update.vue index efa89c1..3cd5a2f 100644 --- a/src/views/modules/monitoring/equipmentypefile-add-or-update.vue +++ b/src/views/modules/monitoring/equipmentypefile-add-or-update.vue @@ -109,7 +109,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmentypefile/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/equipmentTypeFile/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -140,7 +140,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/equipmentypefile/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/equipmentTypeFile/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/factory-add-or-update.vue b/src/views/modules/monitoring/factory-add-or-update.vue index 2f9433c..b33ba1c 100644 --- a/src/views/modules/monitoring/factory-add-or-update.vue +++ b/src/views/modules/monitoring/factory-add-or-update.vue @@ -104,7 +104,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/factory/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/factory/{this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { diff --git a/src/views/modules/monitoring/factory.vue b/src/views/modules/monitoring/factory.vue index 94d23ae..bf7391c 100644 --- a/src/views/modules/monitoring/factory.vue +++ b/src/views/modules/monitoring/factory.vue @@ -131,8 +131,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/factory/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/factory'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/producArrt.vue b/src/views/modules/monitoring/producArrt.vue index c58cbeb..089efc9 100644 --- a/src/views/modules/monitoring/producArrt.vue +++ b/src/views/modules/monitoring/producArrt.vue @@ -79,7 +79,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/producarrt/page'), + url: this.$http.adornUrl('/monitoring/productArrt/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -132,8 +132,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/producarrt/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/productArrt'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/producarrt-add-or-update.vue b/src/views/modules/monitoring/producarrt-add-or-update.vue index f55ba9d..cda5a00 100644 --- a/src/views/modules/monitoring/producarrt-add-or-update.vue +++ b/src/views/modules/monitoring/producarrt-add-or-update.vue @@ -109,7 +109,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/producarrt/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/productArrt/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -140,7 +140,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/producarrt/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/productArrt/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/product-add-or-update.vue b/src/views/modules/monitoring/product-add-or-update.vue index 63ab854..29b8a2f 100644 --- a/src/views/modules/monitoring/product-add-or-update.vue +++ b/src/views/modules/monitoring/product-add-or-update.vue @@ -124,7 +124,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/product/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/product/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { diff --git a/src/views/modules/monitoring/product.vue b/src/views/modules/monitoring/product.vue index 6b13813..97202f4 100644 --- a/src/views/modules/monitoring/product.vue +++ b/src/views/modules/monitoring/product.vue @@ -134,8 +134,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/product/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/product'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/productionLine.vue b/src/views/modules/monitoring/productionLine.vue index 478839d..8553e8f 100644 --- a/src/views/modules/monitoring/productionLine.vue +++ b/src/views/modules/monitoring/productionLine.vue @@ -80,7 +80,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/productionline/page'), + url: this.$http.adornUrl('/monitoring/productionLine/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -133,8 +133,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/productionline/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/productionLine'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/productionLineRecSch.vue b/src/views/modules/monitoring/productionLineRecSch.vue index 88ec87b..21328fa 100644 --- a/src/views/modules/monitoring/productionLineRecSch.vue +++ b/src/views/modules/monitoring/productionLineRecSch.vue @@ -72,7 +72,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/productionlinerecsch/page'), + url: this.$http.adornUrl('/monitoring/productionLineRecSch/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -125,8 +125,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/productionlinerecsch/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/productionLineRecSch'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/productionline-add-or-update.vue b/src/views/modules/monitoring/productionline-add-or-update.vue index fdf0cca..cb19afa 100644 --- a/src/views/modules/monitoring/productionline-add-or-update.vue +++ b/src/views/modules/monitoring/productionline-add-or-update.vue @@ -114,7 +114,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/productionline/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/productionLine/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -146,7 +146,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/productionline/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/productionLine/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/productionlinerecsch-add-or-update.vue b/src/views/modules/monitoring/productionlinerecsch-add-or-update.vue index 4e13e8f..61509a2 100644 --- a/src/views/modules/monitoring/productionlinerecsch-add-or-update.vue +++ b/src/views/modules/monitoring/productionlinerecsch-add-or-update.vue @@ -64,7 +64,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/productionlinerecsch/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/productionLineRecSch/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -86,7 +86,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/productionlinerecsch/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/productionLineRecSch/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/qualityInspectionDet.vue b/src/views/modules/monitoring/qualityInspectionDet.vue index 864b87e..e522aea 100644 --- a/src/views/modules/monitoring/qualityInspectionDet.vue +++ b/src/views/modules/monitoring/qualityInspectionDet.vue @@ -77,7 +77,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/qualityinspectiondet/page'), + url: this.$http.adornUrl('/monitoring/qualityInspectionDet/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -130,8 +130,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/qualityinspectiondet/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/qualityInspectionDet'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/qualityInspectionRecord.vue b/src/views/modules/monitoring/qualityInspectionRecord.vue index 6be86c9..f54d297 100644 --- a/src/views/modules/monitoring/qualityInspectionRecord.vue +++ b/src/views/modules/monitoring/qualityInspectionRecord.vue @@ -82,7 +82,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/qualityinspectionrecord/page'), + url: this.$http.adornUrl('/monitoring/qualityInspectionRecord/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -135,8 +135,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/qualityinspectionrecord/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/qualityInspectionRecord'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/qualityInspectionType.vue b/src/views/modules/monitoring/qualityInspectionType.vue index ec6625c..023781c 100644 --- a/src/views/modules/monitoring/qualityInspectionType.vue +++ b/src/views/modules/monitoring/qualityInspectionType.vue @@ -76,7 +76,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/qualityinspectiontype/page'), + url: this.$http.adornUrl('/monitoring/qualityInspectionType/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -129,8 +129,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/qualityinspectiontype/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/qualityInspectionType'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/qualityinspectiondet-add-or-update.vue b/src/views/modules/monitoring/qualityinspectiondet-add-or-update.vue index 5286dd0..b0ae8a9 100644 --- a/src/views/modules/monitoring/qualityinspectiondet-add-or-update.vue +++ b/src/views/modules/monitoring/qualityinspectiondet-add-or-update.vue @@ -89,7 +89,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/qualityinspectiondet/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/qualityInspectionDet/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -116,7 +116,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/qualityinspectiondet/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/qualityInspectionDet/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/qualityinspectionrecord-add-or-update.vue b/src/views/modules/monitoring/qualityinspectionrecord-add-or-update.vue index fbccd27..7567531 100644 --- a/src/views/modules/monitoring/qualityinspectionrecord-add-or-update.vue +++ b/src/views/modules/monitoring/qualityinspectionrecord-add-or-update.vue @@ -114,7 +114,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/qualityinspectionrecord/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/qualityInspectionRecord/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -146,7 +146,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/qualityinspectionrecord/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/qualityInspectionRecord/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/qualityinspectiontype-add-or-update.vue b/src/views/modules/monitoring/qualityinspectiontype-add-or-update.vue index e4f1558..3a130fc 100644 --- a/src/views/modules/monitoring/qualityinspectiontype-add-or-update.vue +++ b/src/views/modules/monitoring/qualityinspectiontype-add-or-update.vue @@ -84,7 +84,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/qualityinspectiontype/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/qualityInspectionType/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -110,7 +110,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/qualityinspectiontype/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/qualityInspectionType/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/reporsheecategory-add-or-update.vue b/src/views/modules/monitoring/reporsheecategory-add-or-update.vue index 8040d9a..d8de149 100644 --- a/src/views/modules/monitoring/reporsheecategory-add-or-update.vue +++ b/src/views/modules/monitoring/reporsheecategory-add-or-update.vue @@ -99,7 +99,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/reporsheecategory/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/reportSheetCategory/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -128,7 +128,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/reporsheecategory/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/reportSheetCategory/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/reporsheet-add-or-update.vue b/src/views/modules/monitoring/reporsheet-add-or-update.vue index 1195395..80ba6de 100644 --- a/src/views/modules/monitoring/reporsheet-add-or-update.vue +++ b/src/views/modules/monitoring/reporsheet-add-or-update.vue @@ -114,7 +114,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/reporsheet/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/reportSheet/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -146,7 +146,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/reporsheet/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/reportSheet/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/reportSheet.vue b/src/views/modules/monitoring/reportSheet.vue index 7b2a9a2..15751a6 100644 --- a/src/views/modules/monitoring/reportSheet.vue +++ b/src/views/modules/monitoring/reportSheet.vue @@ -80,7 +80,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/reporsheet/page'), + url: this.$http.adornUrl('/monitoring/reportSheet/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -133,8 +133,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/reporsheet/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/reportSheet'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/reportSheetCategory.vue b/src/views/modules/monitoring/reportSheetCategory.vue index 246b533..f710606 100644 --- a/src/views/modules/monitoring/reportSheetCategory.vue +++ b/src/views/modules/monitoring/reportSheetCategory.vue @@ -79,7 +79,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/reporsheecategory/page'), + url: this.$http.adornUrl('/monitoring/reportSheetCategory/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -132,8 +132,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/reporsheecategory/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/reportSheetCategory'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/sysfile-add-or-update.vue b/src/views/modules/monitoring/sysfile-add-or-update.vue index 7a376a7..2639d72 100644 --- a/src/views/modules/monitoring/sysfile-add-or-update.vue +++ b/src/views/modules/monitoring/sysfile-add-or-update.vue @@ -94,7 +94,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/sysfile/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/sysFile/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -122,7 +122,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/sysfile/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/sysFile/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/sysfile.vue b/src/views/modules/monitoring/sysfile.vue index d7799d2..fef9373 100644 --- a/src/views/modules/monitoring/sysfile.vue +++ b/src/views/modules/monitoring/sysfile.vue @@ -76,7 +76,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/sysfile/page'), + url: this.$http.adornUrl('/monitoring/sysFile/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -129,8 +129,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/sysfile/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/sysFile'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/sysfileType.vue b/src/views/modules/monitoring/sysfileType.vue index 69044cd..bda84d5 100644 --- a/src/views/modules/monitoring/sysfileType.vue +++ b/src/views/modules/monitoring/sysfileType.vue @@ -74,7 +74,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/sysfiletype/page'), + url: this.$http.adornUrl('/monitoring/sysFileType/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -127,8 +127,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/sysfiletype/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/sysFileType'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/sysfiletype-add-or-update.vue b/src/views/modules/monitoring/sysfiletype-add-or-update.vue index dec9cec..7a64e19 100644 --- a/src/views/modules/monitoring/sysfiletype-add-or-update.vue +++ b/src/views/modules/monitoring/sysfiletype-add-or-update.vue @@ -84,7 +84,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/sysfiletype/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/sysFileType/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -110,7 +110,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/sysfiletype/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/sysFileType/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/workShopSection.vue b/src/views/modules/monitoring/workShopSection.vue index 3861363..b75642a 100644 --- a/src/views/modules/monitoring/workShopSection.vue +++ b/src/views/modules/monitoring/workShopSection.vue @@ -79,7 +79,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/workshopsection/page'), + url: this.$http.adornUrl('/monitoring/workShopSection/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -132,8 +132,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/workshopsection/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/workShopSection'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/workShopSectionEquipment.vue b/src/views/modules/monitoring/workShopSectionEquipment.vue index 6b0d70c..4231222 100644 --- a/src/views/modules/monitoring/workShopSectionEquipment.vue +++ b/src/views/modules/monitoring/workShopSectionEquipment.vue @@ -77,7 +77,7 @@ export default { getDataList() { this.dataListLoading = true this.$http({ - url: this.$http.adornUrl('/monitoring/workshopsectionequipment/page'), + url: this.$http.adornUrl('/monitoring/workShopSectionEquipment/page'), method: 'get', params: this.$http.adornParams({ page: this.pageIndex, @@ -130,8 +130,8 @@ export default { type: 'warning' }).then(() => { this.$http({ - url: this.$http.adornUrl('/monitoring/workshopsectionequipment/delete'), - method: 'post', + url: this.$http.adornUrl('/monitoring/workShopSectionEquipment'), + method: 'delete', data: this.$http.adornData(ids, false) }).then(({ data }) => { if (data && data.code === 0) { diff --git a/src/views/modules/monitoring/workshopsection-add-or-update.vue b/src/views/modules/monitoring/workshopsection-add-or-update.vue index 5ae5a60..343d9d9 100644 --- a/src/views/modules/monitoring/workshopsection-add-or-update.vue +++ b/src/views/modules/monitoring/workshopsection-add-or-update.vue @@ -109,7 +109,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/workshopsection/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/workShopSection/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -140,7 +140,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/workshopsection/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/workShopSection/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined, diff --git a/src/views/modules/monitoring/workshopsectionequipment-add-or-update.vue b/src/views/modules/monitoring/workshopsectionequipment-add-or-update.vue index 809901f..2fc8b69 100644 --- a/src/views/modules/monitoring/workshopsectionequipment-add-or-update.vue +++ b/src/views/modules/monitoring/workshopsectionequipment-add-or-update.vue @@ -89,7 +89,7 @@ export default { this.$refs['dataForm'].resetFields() if (this.dataForm.id) { this.$http({ - url: this.$http.adornUrl(`/monitoring/workshopsectionequipment/info/${this.dataForm.id}`), + url: this.$http.adornUrl(`/monitoring/workShopSectionEquipment/${this.dataForm.id}`), method: 'get', params: this.$http.adornParams() }).then(({ data }) => { @@ -116,7 +116,7 @@ export default { this.$refs['dataForm'].validate(valid => { if (valid) { this.$http({ - url: this.$http.adornUrl(`/monitoring/workshopsectionequipment/${!this.dataForm.id ? 'save' : 'update'}`), + url: this.$http.adornUrl(`/monitoring/workShopSectionEquipment/${!this.dataForm.id ? 'save' : 'update'}`), method: 'post', data: this.$http.adornData({ id: this.dataForm.id || undefined,