首选项-通用设置.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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": "dropdown",
  61. "options": ["MM/dd/yyyy", "dd/MM/yyyy", "yyyy-MM-dd"],
  62. "value": "MM/dd/yyyy"
  63. },
  64. {
  65. "label": "时间格式",
  66. "type": "dropdown",
  67. "options": ["HH:mm", "hh:mm a"],
  68. "value": "HH:mm"
  69. }
  70. ]
  71. },
  72. {
  73. "title": "字体和大小",
  74. "subGroups": [
  75. {
  76. "title": "四角信息字体",
  77. "fields": [
  78. {
  79. "label": "字体",
  80. "type": "dropdown",
  81. "value": "Arial Unicode MS",
  82. "options": ["Arial Unicode MS", "Arial", "Times New Roman"]
  83. },
  84. {
  85. "label": "大小",
  86. "type": "numberInput",
  87. "unit": "%",
  88. "value": 100
  89. },
  90. {
  91. "label": "示例",
  92. "type": "textExample",
  93. "content": "ABCabc1234"
  94. }
  95. ]
  96. },
  97. {
  98. "title": "Mark字体",
  99. "fields": [
  100. {
  101. "label": "字体",
  102. "type": "dropdown",
  103. "value": "Arial",
  104. "options": ["Arial", "Tahoma", "Verdana"]
  105. },
  106. {
  107. "label": "大小",
  108. "type": "numberInput",
  109. "unit": "%",
  110. "value": 100
  111. },
  112. {
  113. "label": "示例",
  114. "type": "textExample",
  115. "content": "ABCabc1234"
  116. }
  117. ]
  118. }
  119. ]
  120. },
  121. {
  122. "title": "打印四角信息字体",
  123. "fields": [
  124. {
  125. "label": "字体",
  126. "type": "dropdown",
  127. "value": "Arial",
  128. "options": ["Arial", "Calibri", "Times New Roman"]
  129. },
  130. {
  131. "label": "字号等级",
  132. "type": "dropdown",
  133. "value": "8",
  134. "options": ["6", "7", "8", "9", "10", "11", "12"]
  135. }
  136. ]
  137. }
  138. ]
  139. },
  140. "footer": {
  141. "buttons": [
  142. { "label": "取消", "action": "cancel" },
  143. { "label": "保存", "action": "save" }
  144. ]
  145. }
  146. }
  147. }
  148. }