update 更新接口大小写,和rest格式

This commit is contained in:
lb
2022-08-05 09:25:15 +08:00
parent 4bd6ad1f47
commit cf28335d9e
53 changed files with 128 additions and 128 deletions

View File

@@ -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) {