拓恒飞手平台小程序
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.

пре 1 година
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // 任务状态
  2. export const statusList = {
  3. 10: {status: 10, text: '待接单', color: 'rgba(42, 130, 228, 1)'},
  4. 15: {status: 15, text: '已接单', color: 'rgba(6, 138, 58, 1)'},
  5. 20: {status: 20, text: '飞行中', color: 'rgba(255, 141, 26, 1)'},
  6. 25: {status: 25, text: '已完成', color: '#666666'}
  7. }
  8. // 任务详情展示信息
  9. export const messageList = [
  10. [
  11. {label: '任务执行时间', value: "taskStartTime", icon: ""},
  12. {label: '任务地点', value: "patrolLocation", icon: ""},
  13. {label: '任务发起人', value: "taskName", icon: ""},
  14. {label: '租户名称', value: "tenantName", icon: ""},
  15. {label: '备注', value: "createTime", icon: ""}
  16. ],
  17. [
  18. {label: '任务执行时间', value: "taskStartTime", icon: ""},
  19. {label: '任务地点', value: "patrolLocation", icon: ""},
  20. {label: '任务发起人', value: "taskName", icon: ""},
  21. {label: '租户名称', value: "tenantName", icon: ""},
  22. {label: '需要直播', value: "isLive", icon: ""},
  23. {label: '备注', value: "createTime", icon: ""}
  24. ]
  25. ]
  26. // 表单验证
  27. export const baseRules = {
  28. equipmentId: {
  29. name: '执飞无人机',
  30. rangeKey: 'label',
  31. value: 'equipmentId',
  32. validator: function (value) {
  33. return value;
  34. },
  35. placeholder: '请选择执飞无人机',
  36. warning: false
  37. },
  38. equipmentMountId: {
  39. name: '挂载设备',
  40. rangeKey: 'label',
  41. value: 'equipmentMountId',
  42. validator: function (value) {
  43. return value;
  44. },
  45. placeholder: '请选择挂载',
  46. warning: false
  47. },
  48. photographyWay: {
  49. name: '拍摄方式',
  50. rangeKey: 'label',
  51. value: 'photographyWay',
  52. validator: function (value) {
  53. return value;
  54. },
  55. placeholder: '请选择拍摄方式',
  56. warning: false
  57. }
  58. }
  59. export const orderRules = {
  60. cloudBoxId: {
  61. name: '盒子名称',
  62. rangeKey: 'label',
  63. value: 'cloudBoxId',
  64. validator: function (value) {
  65. return value;
  66. },
  67. placeholder: '请选择盒子名称',
  68. warning: false
  69. }
  70. }