南京部队项目
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.

36 lines
623 B

6 months ago
  1. import request from '@/utils/request'
  2. export function getDicts() {
  3. return request({
  4. url: 'api/dict/all',
  5. method: 'get'
  6. })
  7. }
  8. export function add(data) {
  9. return request({
  10. url: 'api/field/edit',
  11. method: 'post',
  12. data
  13. })
  14. }
  15. export function edit(data) {
  16. return request({
  17. url: 'api/field/edit',
  18. method: 'post',
  19. data
  20. })
  21. }
  22. export function verifyMaintenance(passWord) {
  23. const params = {
  24. passWord
  25. }
  26. return request({
  27. url: 'api/field/verifyMaintenance',
  28. method: 'get',
  29. params
  30. })
  31. }
  32. export default { add, edit, verifyMaintenance }