diff --git a/src/api/bst/fault.js b/src/api/bst/fault.js index b1a54e3..edaa7d8 100644 --- a/src/api/bst/fault.js +++ b/src/api/bst/fault.js @@ -35,6 +35,14 @@ export function updateFault(data) { }) } +export function handleAudit(data){ + return request({ + url: '/bst/fault/handle', + method: 'put', + data: data + }) +} + // 删除故障 export function delFault(id) { return request({ diff --git a/src/views/bst/ad/index.vue b/src/views/bst/ad/index.vue index 6da679c..6fb3477 100644 --- a/src/views/bst/ad/index.vue +++ b/src/views/bst/ad/index.vue @@ -6,6 +6,7 @@ v-model="queryParams.url" placeholder="请输入跳转链接" clearable + @input="handleQuery" @keyup.enter.native="handleQuery" /> diff --git a/src/views/bst/article/index.vue b/src/views/bst/article/index.vue index c8dfef6..1262844 100644 --- a/src/views/bst/article/index.vue +++ b/src/views/bst/article/index.vue @@ -1,36 +1,13 @@