首选项-新建检查.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "page": {
  3. "header": {
  4. "title": "Mgr",
  5. "menuBar": {
  6. "items": [
  7. "通用设置",
  8. "新建检查",
  9. "工作流",
  10. "四台供热",
  11. "添加备注",
  12. "查看和处理",
  13. "报告"
  14. ]
  15. },
  16. "topRightIcons": [
  17. "语言切换",
  18. "退出登录"
  19. ]
  20. },
  21. "sidebar": {
  22. "sections": [
  23. {
  24. "title": "系统之家",
  25. "icon": "home"
  26. },
  27. {
  28. "title": "首选项",
  29. "icon": "settings",
  30. "active": true
  31. },
  32. {
  33. "title": "硬件配置",
  34. "icon": "hardware"
  35. },
  36. {
  37. "title": "网络设置",
  38. "icon": "network"
  39. },
  40. {
  41. "title": "协议设置",
  42. "icon": "protocol"
  43. },
  44. {
  45. "title": "统计分析",
  46. "icon": "chart"
  47. }
  48. ]
  49. },
  50. "mainContent": {
  51. "section": "新建检查",
  52. "layout": {
  53. "leftPanel": {
  54. "groups": [
  55. {
  56. "title": "自动生成动物ID的设置",
  57. "fields": [
  58. {
  59. "label": "自动生成动物ID",
  60. "type": "toggle",
  61. "value": false
  62. },
  63. {
  64. "label": "自动生成动物ID的前缀",
  65. "type": "toggle",
  66. "value": false
  67. },
  68. {
  69. "label": "详细输入内容",
  70. "type": "textField",
  71. "value": ""
  72. }
  73. ]
  74. },
  75. {
  76. "title": "默认动物类型",
  77. "fields": [
  78. {
  79. "label": "默认连中的动物类型",
  80. "type": "dropdown",
  81. "value": "Cat",
  82. "options": ["Cat", "Dog", "Other"]
  83. }
  84. ]
  85. }
  86. ]
  87. },
  88. "rightPanel": {
  89. "table": {
  90. "columns": ["可见", "必填", "输入字段列表"],
  91. "rows": [
  92. { "field": "主人", "visible": true, "required": true },
  93. { "field": "动物名称", "visible": true, "required": true },
  94. { "field": "动物ID", "visible": true, "required": false },
  95. { "field": "芯片号", "visible": true, "required": false },
  96. { "field": "动物类型", "visible": true, "required": false },
  97. { "field": "出生日期", "visible": true, "required": true },
  98. { "field": "年龄", "visible": true, "required": false },
  99. { "field": "动物体型", "visible": true, "required": false },
  100. { "field": "性别", "visible": true, "required": false },
  101. { "field": "体重/体长", "visible": true, "required": false },
  102. { "field": "登记号", "visible": true, "required": true },
  103. { "field": "兽医师", "visible": true, "required": false },
  104. { "field": "操作技师", "visible": true, "required": false },
  105. { "field": "动物注意", "visible": true, "required": false },
  106. { "field": "麻醉", "visible": true, "required": false },
  107. { "field": "镇定", "visible": true, "required": false }
  108. ]
  109. }
  110. }
  111. },
  112. "footer": {
  113. "buttons": [
  114. { "label": "取消", "action": "cancel" },
  115. { "label": "保存", "action": "save" }
  116. ]
  117. }
  118. }
  119. }
  120. }