forked from mt-fe-group/mt-yd-ui
update 更新接口大小写,和rest格式
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user