赫艾前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
865 B

5 days ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /**
  2. * 现场动控模型配置维护 API
  3. */
  4. import { createAPI } from '@/utils/httpRequest.js'
  5. // 分页查询
  6. export const searchSceneControlPage = data =>
  7. createAPI('/sys/sceneDynamicControlModel/list', 'post', data)
  8. // 新增
  9. export const saveSceneControl = data =>
  10. createAPI('/sys/sceneDynamicControlModel/save', 'post', data)
  11. // 修改
  12. export const updateSceneControl = data =>
  13. createAPI('/sys/sceneDynamicControlModel/update', 'post', data)
  14. // 删除
  15. export const deleteSceneControl = data =>
  16. createAPI('/sys/sceneDynamicControlModel/delete', 'post', data)
  17. // 控制方式下拉选项
  18. export const searchControlStyleList = data =>
  19. createAPI('/sys/sceneDynamicControlModel/controlStyleList', 'post', data)
  20. // 状态下拉选项
  21. export const searchBaseDataList = data =>
  22. createAPI('/sys/sceneDynamicControlModel/baseDataList', 'post', data)