feat(checkType): 添加检查类型下拉选项功能
- 新增 getAllCheckTypes 接口用于获取所有检查类型列表 - 在前端组件中使用检查类型选项替换原有字典数据 - 实现套餐名称字段的下拉选择和模糊过滤功能 - 统一检查类型相关的标签显示逻辑 - 优化检查项目设置界面的表单交互体验
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询所有检查类型列表(不分页,用于下拉选项)
|
||||
export function getAllCheckTypes() {
|
||||
return request({
|
||||
url: '/system/check-type/all',
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 查询检查类型列表
|
||||
export function listCheckType(query) {
|
||||
return request({
|
||||
|
||||
Reference in New Issue
Block a user