Ver código fonte

文件修改

林旭祥 10 meses atrás
pai
commit
dd897716e9
2 arquivos alterados com 124 adições e 127 exclusões
  1. 0 127
      src/utils/dataDictionary.js
  2. 124 0
      src/utils/dataDictionary.ts

+ 0 - 127
src/utils/dataDictionary.js

@@ -1,127 +0,0 @@
-let data = {
-	grade: ['一年级', '二年级', '三年级', '四年级', '五年级', '六年级', '初一', '初二', '初三', '高一', '高二', '高三', '大一', '大二', '大三',
-		'大四'
-	],
-	gradeObj: {
-		one: '一年级',
-		two: '二年级',
-		three: '三年级',
-		four: '四年级',
-		five: '五年级',
-		six: '六年级',
-		m_one: '初一',
-		m_two: '初二',
-		m_three: '初三',
-		h_one: '高一',
-		h_two: '高二',
-		h_three: '高三',
-		u_one: '大一',
-		u_two: '大二',
-		u_three: '大三',
-		u_four: '大四'
-	},
-	project: {
-		jump: '立定跳远',
-		longjump: '急行跳远',
-		verticaljump: '纵跳摸高',
-		pullup: '引体向上',
-		situp: '仰卧起坐',
-		solidball: '实心球',
-		shotput: '铅球',
-		trijump: '三级蛙跳',
-		sidepullup: '斜身引体',
-		jumprope: '跳绳',
-		jumpingjack: '开合跳',
-		run50: '50米',
-		run60: '60米',
-		run70: '70米',
-		run100: '100米',
-		run200: '200米',
-		run400: '400米',
-		run800: '800米',
-		runa800: '脚环800',
-		runa1000: '脚环1000',
-		run1000: '1000米',
-		skiprope: '智慧跳绳',
-		heartbeat: '心率监测',
-		bmi: 'BMI',
-		sitforbend: '坐位体前屈',
-		vitalcap: '肺活量',
-		run15x4: '15x4往返跑',
-		run50x8: '50x8往返跑',
-		run10x4: '10x4往返跑',
-		swim100: '游泳100米',
-		swim200: '游泳200米',
-		footballv1: '足球v1',
-		basketballv1: '篮球v1',
-		volleyball: '排球',
-		pingpong: '乒乓球',
-		badminton: '羽毛球',
-		tennis: '网球',
-		wushu: '武术',
-		gymnastic: '体操',
-		grip: '肌力',
-	},
-	unit: {
-		jump: '厘米',
-		longjump: '米',
-		verticaljump: '厘米',
-		solidball: '米',
-		shotput: '米',
-		trijump: '米',
-		run50: '秒',
-		run70: '秒',
-		run100: '秒',
-		run200: '秒',
-		run400: '秒',
-		run800: '秒',
-		run1000: '秒',
-		runa800: '秒',
-		runa1000: '秒',
-		situp: '个',
-		pullup: '个',
-		sidepullup: '个',
-		jumprope: '个',
-		jumpingjack: '个',
-		skiprope: '个',
-		heartbeat: '次/分',
-		bmi: '',
-		sitforbend: '厘米',
-		vitalcap: '毫升',
-		grip: '千克力',
-	},
-	// 如果没有统一的结果key,  以下每个项目的结果key  .  如: 立定跳远 jump 的结果key为distance
-	typeResultKey: {
-		jump: 'distance',
-		longjump: 'distance',
-		verticaljump: 'height',
-		trijump: 'distance',
-		pullup: 'counts',
-		situp: 'counts',
-		sidepullup: 'counts',
-		solidball: 'distance',
-		shotput: 'distance',
-		run50: 'times',
-		run70: 'times',
-		run100: 'times',
-		run200: 'times',
-		run400: 'times',
-		run800: 'time',
-		run1000: 'time',
-		jumprope: 'counts',
-		jumpingjack: 'counts',
-		skiprope: 'counts',
-		heartbeat: 'counts',
-		bmi: 'bmi',
-		sitforbend: 'result',
-		vitalcap: 'result',
-		footballv1: 'result',
-		basketballv1: 'result',
-		volleyball: 'result',
-		pingpong: 'result',
-		badminton: 'result',
-		runa800: 'result',
-		runa1000: 'result'
-	}
-};
-export default data;

+ 124 - 0
src/utils/dataDictionary.ts

@@ -0,0 +1,124 @@
+let data = {
+  gradeObj: {
+    one: '一年级',
+    two: '二年级',
+    three: '三年级',
+    four: '四年级',
+    five: '五年级',
+    six: '六年级',
+    m_one: '初一',
+    m_two: '初二',
+    m_three: '初三',
+    h_one: '高一',
+    h_two: '高二',
+    h_three: '高三',
+    u_one: '大一',
+    u_two: '大二',
+    u_three: '大三',
+    u_four: '大四'
+  },
+  project: {
+    jump: '立定跳远',
+    longjump: '急行跳远',
+    verticaljump: '纵跳摸高',
+    pullup: '引体向上',
+    situp: '仰卧起坐',
+    solidball: '实心球',
+    shotput: '铅球',
+    trijump: '三级蛙跳',
+    sidepullup: '斜身引体',
+    jumprope: '跳绳',
+    jumpingjack: '开合跳',
+    run50: '50米',
+    run60: '60米',
+    run70: '70米',
+    run100: '100米',
+    run200: '200米',
+    run400: '400米',
+    run800: '800米',
+    runa800: '脚环800',
+    runa1000: '脚环1000',
+    run1000: '1000米',
+    skiprope: '智慧跳绳',
+    heartbeat: '心率监测',
+    bmi: 'BMI',
+    sitforbend: '坐位体前屈',
+    vitalcap: '肺活量',
+    run15x4: '15x4往返跑',
+    run50x8: '50x8往返跑',
+    run10x4: '10x4往返跑',
+    swim100: '游泳100米',
+    swim200: '游泳200米',
+    footballv1: '足球v1',
+    basketballv1: '篮球v1',
+    volleyball: '排球',
+    pingpong: '乒乓球',
+    badminton: '羽毛球',
+    tennis: '网球',
+    wushu: '武术',
+    gymnastic: '体操',
+    grip: '肌力'
+  },
+  unit: {
+    jump: '厘米',
+    longjump: '米',
+    verticaljump: '厘米',
+    solidball: '米',
+    shotput: '米',
+    trijump: '米',
+    run50: '秒',
+    run70: '秒',
+    run100: '秒',
+    run200: '秒',
+    run400: '秒',
+    run800: '秒',
+    run1000: '秒',
+    runa800: '秒',
+    runa1000: '秒',
+    situp: '个',
+    pullup: '个',
+    sidepullup: '个',
+    jumprope: '个',
+    jumpingjack: '个',
+    skiprope: '个',
+    heartbeat: '次/分',
+    bmi: '',
+    sitforbend: '厘米',
+    vitalcap: '毫升',
+    grip: '千克力'
+  },
+  // 如果没有统一的结果key,  以下每个项目的结果key  .  如: 立定跳远 jump 的结果key为distance
+  typeResultKey: {
+    jump: 'distance',
+    longjump: 'distance',
+    verticaljump: 'height',
+    trijump: 'distance',
+    pullup: 'counts',
+    situp: 'counts',
+    sidepullup: 'counts',
+    solidball: 'distance',
+    shotput: 'distance',
+    run50: 'times',
+    run70: 'times',
+    run100: 'times',
+    run200: 'times',
+    run400: 'times',
+    run800: 'time',
+    run1000: 'time',
+    jumprope: 'counts',
+    jumpingjack: 'counts',
+    skiprope: 'counts',
+    heartbeat: 'counts',
+    bmi: 'bmi',
+    sitforbend: 'result',
+    vitalcap: 'result',
+    footballv1: 'result',
+    basketballv1: 'result',
+    volleyball: 'result',
+    pingpong: 'result',
+    badminton: 'result',
+    runa800: 'result',
+    runa1000: 'result'
+  }
+};
+export default data;