Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ai-yunshou-vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AI云守
ai-yunshou-vue
Commits
1294ebf8
Commit
1294ebf8
authored
Aug 06, 2024
by
胡占生
🇨🇳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:算法预警等级管理新增修改删除接口对接联调
parent
f268f589
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
152 additions
and
92 deletions
+152
-92
src/api/algorithmList/algorithmDown.js
src/api/algorithmList/algorithmDown.js
+55
-0
src/views/algorithmList/components/algorithmDown.vue
src/views/algorithmList/components/algorithmDown.vue
+97
-92
No files found.
src/api/algorithmList/algorithmDown.js
0 → 100644
View file @
1294ebf8
/**
* 新增告警等级配置
* @param {object} params 告警等级配置
* @param {string} params.alarmColor 告警颜色
* @param {string} params.alarmName 告警名称
* @param {string} params.alarmShowType 告警展示方式
* @param {number} params.id 主键
* @returns
*/
import
request
from
'
@/utils/request
'
// 查询算法列表
export
function
listAlgLevel
(
query
)
{
return
request
({
url
:
'
/system/alarmLevel/list
'
,
method
:
'
get
'
,
params
:
query
})
}
// 查询算法列表x详情
export
function
detailAlgLevel
(
id
)
{
return
request
({
url
:
`/system/alarmLevel/
${
id
}
`
,
method
:
'
get
'
,
})
}
// 新增算法列表
export
function
addAlgLevel
(
data
)
{
return
request
({
url
:
'
/system/alarmLevel
'
,
method
:
'
post
'
,
data
:
data
})
}
// 修改算法列表
export
function
updateAlgLevel
(
data
)
{
return
request
({
url
:
'
/system/alarmLevel
'
,
method
:
'
put
'
,
data
:
data
})
}
// 删除算法列表
export
function
deleteAlgLevel
(
ids
)
{
return
request
({
url
:
`/system/alarmLevel/
${
ids
}
`
,
method
:
'
delete
'
})
}
src/views/algorithmList/components/algorithmDown.vue
View file @
1294ebf8
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment