首选项-查看和处理.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. {
  2. "page": {
  3. "header": {
  4. "title": "Mgr",
  5. "menuBar": {
  6. "items": [
  7. "通用设置",
  8. "新建检查",
  9. "工作流",
  10. "四台信息",
  11. "添加备注",
  12. "查看和处理",
  13. "报告"
  14. ],
  15. "active": "查看和处理"
  16. },
  17. "topRightIcons": [
  18. "语言切换",
  19. "退出登录"
  20. ]
  21. },
  22. "sidebar": {
  23. "sections": [
  24. {
  25. "title": "系统之家",
  26. "icon": "home"
  27. },
  28. {
  29. "title": "首选项",
  30. "icon": "settings",
  31. "active": true
  32. },
  33. {
  34. "title": "硬件配置",
  35. "icon": "hardware"
  36. },
  37. {
  38. "title": "网络设置",
  39. "icon": "network"
  40. },
  41. {
  42. "title": "协议设置",
  43. "icon": "protocol"
  44. },
  45. {
  46. "title": "统计分析",
  47. "icon": "chart"
  48. }
  49. ]
  50. },
  51. "mainContent": {
  52. "section": "查看和处理",
  53. "layout": {
  54. "groups": [
  55. {
  56. "title": "裁剪和遮罩设置",
  57. "fields": [
  58. {
  59. "label": "显示裁剪框",
  60. "type": "checkbox",
  61. "checked": true
  62. },
  63. {
  64. "label": "裁剪后适应窗体",
  65. "type": "checkbox",
  66. "checked": true
  67. }
  68. ]
  69. },
  70. {
  71. "title": "放大镜移动模式",
  72. "fields": [
  73. {
  74. "label": "不移动",
  75. "type": "radio",
  76. "group": "magnifierMoveMode",
  77. "checked": true
  78. },
  79. {
  80. "label": "跟随鼠标移动",
  81. "type": "radio",
  82. "group": "magnifierMoveMode",
  83. "checked": false
  84. }
  85. ]
  86. },
  87. {
  88. "title": "图像保存",
  89. "fields": [
  90. {
  91. "label": "将测量结果录到图像数据中",
  92. "type": "checkbox",
  93. "checked": true
  94. }
  95. ]
  96. }
  97. ]
  98. },
  99. "footer": {
  100. "buttons": [
  101. { "label": "取消", "action": "cancel" },
  102. { "label": "保存", "action": "save" }
  103. ]
  104. }
  105. }
  106. }
  107. }