This commit is contained in:
512song committed 2023-11-09 20:56:32 +08:00
1 parent ecbd0aba0a
commit bb45950ba6
3 files changed
+361 -453

No files matched your search

+232 -24
View File
@@ -4,7 +4,6 @@
"cell_type": "markdown", "cell_type": "markdown",
"id": "19280f5c-8e34-4a64-8dfb-6353cbf597d2", "id": "19280f5c-8e34-4a64-8dfb-6353cbf597d2",
"metadata": { "metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": [], "tags": [],
"toc-hr-collapsed": true "toc-hr-collapsed": true
}, },
@@ -558,16 +557,225 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 36,
"id": "b123ee6b-85d2-4660-b226-321832a6b796", "id": "b123ee6b-85d2-4660-b226-321832a6b796",
"metadata": { "metadata": {
"execution": {
"iopub.execute_input": "2023-11-09T10:50:53.885635Z",
"iopub.status.busy": "2023-11-09T10:50:53.885173Z",
"iopub.status.idle": "2023-11-09T10:51:56.863145Z",
"shell.execute_reply": "2023-11-09T10:51:56.862475Z",
"shell.execute_reply.started": "2023-11-09T10:50:53.885587Z"
},
"tags": [] "tags": []
}, },
"outputs": [], "outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"27\n",
"01731841 由慧敏 {\"errmsg\":\"ok\"}\n",
"01731897 张锦民 {\"errmsg\":\"ok\"}\n",
"03318722 高园苹 {\"errmsg\":\"ok\"}\n",
"03286622 高令臻 {\"errmsg\":\"ok\"}\n",
"01730872 于世建 {\"errmsg\":\"ok\"}\n",
"01732172 吕铁军 {\"errmsg\":\"ok\"}\n",
"01732111 于晓冬 {\"errmsg\":\"ok\"}\n",
"01731828 张宝群 {\"errmsg\":\"ok\"}\n",
"03417182 王品航 {\"errmsg\":\"ok\"}\n",
"03505733 冯佳怡 {\"errmsg\":\"ok\"}\n",
"01731811 张绍俊 {\"errmsg\":\"ok\"}\n",
"03532499 陈武 {\"errmsg\":\"ok\"}\n",
"03532486 常新浩 {\"errmsg\":\"ok\"}\n",
"03532452 梁衍鹏 {\"errmsg\":\"ok\"}\n",
"03532538 孔沫梵 {\"errmsg\":\"ok\"}\n",
"01732119 张魁强 {\"errmsg\":\"ok\"}\n",
"03416970 叶森 {\"errmsg\":\"ok\"}\n",
"01731941 袁令江 {\"errmsg\":\"ok\"}\n",
"01731872 高健 {\"errmsg\":\"ok\"}\n",
"01730751 仉越 {\"errmsg\":\"ok\"}\n",
"03440626 祝千慧 {\"errmsg\":\"ok\"}\n",
"03499403 王天来 {\"errmsg\":\"ok\"}\n",
"01730921 李卫东 {\"errmsg\":\"ok\"}\n",
"03499450 王文静 {\"errmsg\":\"ok\"}\n",
"01731009 李富来 {\"errmsg\":\"ok\"}\n",
"01730916 康静敏 {\"errmsg\":\"ok\"}\n",
"01730917 张长权 {\"errmsg\":\"ok\"}\n",
"03532462 杨子瑞 {\"errmsg\":\"ok\"}\n",
"01731580 程斌 {\"errmsg\":\"ok\"}\n",
"03318714 薛崇博 {\"errmsg\":\"ok\"}\n",
"01732150 张志成 {\"errmsg\":\"ok\"}\n",
"03499425 金添 {\"errmsg\":\"ok\"}\n",
"01730953 俎惠广 {\"errmsg\":\"ok\"}\n",
"03416977 田甜 {\"errmsg\":\"ok\"}\n",
"01732076 韦京山 {\"errmsg\":\"ok\"}\n",
"01731043 冯强 {\"errmsg\":\"ok\"}\n",
"03417334 刘凌羽 {\"errmsg\":\"ok\"}\n",
"03468273 康智皓 {\"errmsg\":\"ok\"}\n",
"03499370 纪旭 {\"errmsg\":\"ok\"}\n",
"01732063 于娜 {\"errmsg\":\"ok\"}\n",
"03505725 邢世成 {\"errmsg\":\"ok\"}\n",
"03417374 魏魁 {\"errmsg\":\"ok\"}\n",
"03468256 刘涛 {\"errmsg\":\"ok\"}\n",
"03417353 李强 {\"errmsg\":\"ok\"}\n",
"03532476 高泽文 {\"errmsg\":\"ok\"}\n",
"03417357 王宁 {\"errmsg\":\"ok\"}\n",
"03499380 程鑫锐 {\"errmsg\":\"ok\"}\n",
"03532480 马海涛 {\"errmsg\":\"ok\"}\n",
"03532509 隋雅婧 {\"errmsg\":\"ok\"}\n",
"01731268 满宝祥 {\"errmsg\":\"ok\"}\n",
"01739828 白云 {\"errmsg\":\"ok\"}\n",
"03417368 郑家宝 {\"errmsg\":\"ok\"}\n",
"01731598 李诚 {\"errmsg\":\"ok\"}\n",
"01739588 胡伟民 {\"errmsg\":\"ok\"}\n",
"03417365 赵欣磊 {\"errmsg\":\"ok\"}\n",
"03499356 李日笙 {\"errmsg\":\"ok\"}\n",
"03532442 马涛 {\"errmsg\":\"ok\"}\n",
"03417338 吕兆鑫 {\"errmsg\":\"ok\"}\n",
"03532834 孙纳川 {\"errmsg\":\"ok\"}\n",
"03532829 魏禹涵 {\"errmsg\":\"ok\"}\n",
"03468291 李强 {\"errmsg\":\"ok\"}\n",
"01730808 申玉红 {\"errmsg\":\"ok\"}\n",
"01731155 窦国生 {\"errmsg\":\"ok\"}\n",
"03131181 付中杰 {\"errmsg\":\"ok\"}\n",
"03468350 赵庆学 {\"errmsg\":\"ok\"}\n",
"01730960 刘淑敏 {\"errmsg\":\"ok\"}\n",
"01730675 高建军 {\"errmsg\":\"ok\"}\n",
"01739635 李刚 {\"errmsg\":\"ok\"}\n",
"01731900 宋斌 {\"errmsg\":\"ok\"}\n",
"03499398 潘瑾雯 {\"errmsg\":\"ok\"}\n",
"03172811 郭通 {\"errmsg\":\"ok\"}\n",
"03417217 安琪 {\"errmsg\":\"ok\"}\n",
"03318717 赵珊珊 {\"errmsg\":\"ok\"}\n",
"01730663 畅淮勇 {\"errmsg\":\"ok\"}\n",
"01730871 范炳凯 {\"errmsg\":\"ok\"}\n",
"01731855 高华贤 {\"errmsg\":\"ok\"}\n",
"01730753 赵彤芬 {\"errmsg\":\"ok\"}\n",
"01730737 张宝忠 {\"errmsg\":\"ok\"}\n",
"01731848 侯文靖 {\"errmsg\":\"ok\"}\n",
"01731930 薛少贤 {\"errmsg\":\"ok\"}\n",
"03499447 李佳瑶 {\"errmsg\":\"ok\"}\n",
"03499463 张明言 {\"errmsg\":\"ok\"}\n",
"03499373 曹金旭 {\"errmsg\":\"ok\"}\n",
"01731107 张长恒 {\"errmsg\":\"ok\"}\n",
"01730813 刘津 {\"errmsg\":\"ok\"}\n",
"01731868 冯庆军 {\"errmsg\":\"ok\"}\n",
"01101061 刘伟 {\"errmsg\":\"ok\"}\n",
"01730739 张长顺 {\"errmsg\":\"ok\"}\n",
"01732716 龚磊 {\"errmsg\":\"ok\"}\n",
"01731820 张劲松 {\"errmsg\":\"ok\"}\n",
"01732055 赵晓群 {\"errmsg\":\"ok\"}\n",
"01731036 董振民 {\"errmsg\":\"ok\"}\n",
"01730704 马龙 {\"errmsg\":\"ok\"}\n",
"03362196 符天说 {\"errmsg\":\"ok\"}\n",
"03468331 王蕾 {\"errmsg\":\"ok\"}\n",
"01731859 张伟 {\"errmsg\":\"ok\"}\n",
"01731641 王庆池 {\"errmsg\":\"ok\"}\n",
"01730720 吴俊斌 {\"errmsg\":\"ok\"}\n",
"03391162 杨佳坤 {\"errmsg\":\"ok\"}\n",
"01730818 杨宝强 {\"errmsg\":\"ok\"}\n",
"03391147 屈松 {\"errmsg\":\"ok\"}\n",
"01731255 宋清木 {\"errmsg\":\"ok\"}\n",
"01732083 周幸旗 {\"errmsg\":\"ok\"}\n",
"01731283 侯聚现 {\"errmsg\":\"ok\"}\n",
"03532456 黄蓓蓓 {\"errmsg\":\"ok\"}\n",
"01730934 周荣光 {\"errmsg\":\"ok\"}\n",
"01553958 李阳 {\"errmsg\":\"ok\"}\n",
"03391181 阎旭 {\"errmsg\":\"ok\"}\n",
"03505726 陈冰倩 {\"errmsg\":\"ok\"}\n",
"03468289 曲治儒 {\"errmsg\":\"ok\"}\n",
"03362168 张瑞 {\"errmsg\":\"ok\"}\n",
"03532474 商雨晴 {\"errmsg\":\"ok\"}\n",
"03532448 林子茹 {\"errmsg\":\"ok\"}\n",
"03532511 宋子扬 {\"errmsg\":\"ok\"}\n",
"01732190 赵超 {\"errmsg\":\"ok\"}\n",
"01731901 杨炳利 {\"errmsg\":\"ok\"}\n",
"01731007 张利民 {\"errmsg\":\"ok\"}\n",
"01731271 王建璋 {\"errmsg\":\"ok\"}\n",
"03362201 袁晓东 {\"errmsg\":\"ok\"}\n",
"01730670 丁树全 {\"errmsg\":\"ok\"}\n",
"01731627 石洪兴 {\"errmsg\":\"ok\"}\n",
"01732691 费楠 {\"errmsg\":\"ok\"}\n",
"03499384 马永才 {\"errmsg\":\"ok\"}\n",
"03417366 邹治美 {\"errmsg\":\"ok\"}\n",
"03499376 刘宇婷 {\"errmsg\":\"ok\"}\n",
"01731902 薛新亮 {\"errmsg\":\"ok\"}\n",
"01735421 姚庆麟 {\"errmsg\":\"ok\"}\n",
"01732273 李洪菊 {\"errmsg\":\"ok\"}\n",
"01731229 刘风松 {\"errmsg\":\"ok\"}\n",
"01731887 刘欣 {\"errmsg\":\"ok\"}\n",
"03499375 刘乃震 {\"errmsg\":\"ok\"}\n",
"03417373 魏文波 {\"errmsg\":\"ok\"}\n",
"01732706 袁守朝 {\"errmsg\":\"ok\"}\n",
"01730939 付秋杰 {\"errmsg\":\"ok\"}\n",
"03468345 薛婷婷 {\"errmsg\":\"ok\"}\n",
"03468253 刘宇乐 {\"errmsg\":\"ok\"}\n",
"01732688 刘山虎 {\"errmsg\":\"ok\"}\n",
"01732228 李文彬 {\"errmsg\":\"ok\"}\n",
"01732675 贾成龙 {\"errmsg\":\"ok\"}\n",
"03286615 王小康 {\"errmsg\":\"ok\"}\n",
"01732225 剧海峰 {\"errmsg\":\"ok\"}\n",
"01732179 张彬 {\"errmsg\":\"ok\"}\n",
"01730970 高川 {\"errmsg\":\"ok\"}\n",
"01730682 郝介华 {\"errmsg\":\"ok\"}\n",
"01732668 赵健 {\"errmsg\":\"ok\"}\n",
"01731657 张兆茹 {\"errmsg\":\"ok\"}\n",
"01731258 周玲 {\"errmsg\":\"ok\"}\n",
"01731893 王连喜 {\"errmsg\":\"ok\"}\n",
"03499428 王博 {\"errmsg\":\"ok\"}\n",
"03499353 闫馨雨 {\"errmsg\":\"ok\"}\n",
"01730738 张博宇 {\"errmsg\":\"ok\"}\n",
"01731669 蒋春 {\"errmsg\":\"ok\"}\n",
"01731246 张鸿志 {\"errmsg\":\"ok\"}\n",
"01731614 刘元春 {\"errmsg\":\"ok\"}\n",
"01731917 杨宝杰 {\"errmsg\":\"ok\"}\n",
"01731199 邓平 {\"errmsg\":\"ok\"}\n",
"01730680 韩永利 {\"errmsg\":\"ok\"}\n",
"03440611 张芮芮 {\"errmsg\":\"ok\"}\n",
"03505747 刘世尧 {\"errmsg\":\"ok\"}\n",
"03391105 黄婷婷 {\"errmsg\":\"ok\"}\n",
"03499420 秦学森 {\"errmsg\":\"ok\"}\n",
"01730807 郭强 {\"errmsg\":\"ok\"}\n",
"01731867 李津 {\"errmsg\":\"ok\"}\n",
"03499399 佟嘉航 {\"errmsg\":\"ok\"}\n",
"03499390 朱丽丽 {\"errmsg\":\"ok\"}\n",
"03417136 李智 {\"errmsg\":\"ok\"}\n",
"01730691 李树国 {\"errmsg\":\"ok\"}\n",
"01731197 刘佩志 {\"errmsg\":\"ok\"}\n",
"03499357 张泽贤 {\"errmsg\":\"ok\"}\n",
"03505738 杨柳 {\"errmsg\":\"ok\"}\n",
"03499417 王雪婧 {\"errmsg\":\"ok\"}\n",
"01730838 李占英 {\"errmsg\":\"ok\"}\n",
"01731865 韩勇 {\"errmsg\":\"ok\"}\n",
"01730834 张智超 {\"errmsg\":\"ok\"}\n",
"01739719 张颖 {\"errmsg\":\"ok\"}\n",
"03505740 王颖郅 {\"errmsg\":\"ok\"}\n",
"03505751 梁芳珍 {\"errmsg\":\"ok\"}\n",
"03505744 孙丽敏 {\"errmsg\":\"ok\"}\n",
"03505745 孙隆凯 {\"errmsg\":\"ok\"}\n",
"03362149 刘宏 {\"errmsg\":\"ok\"}\n",
"03499364 张启涵 {\"errmsg\":\"ok\"}\n",
"03417003 任绪龙 {\"errmsg\":\"ok\"}\n",
"03417172 宋超 {\"errmsg\":\"ok\"}\n",
"03505739 武林芳 {\"errmsg\":\"ok\"}\n",
"03468335 田思佳 {\"errmsg\":\"ok\"}\n",
"03468333 王鹏 {\"errmsg\":\"ok\"}\n",
"03145582 贾羽翀 {\"errmsg\":\"ok\"}\n",
"03417174 李金良 {\"errmsg\":\"ok\"}\n",
"01730935 石永新 {\"errmsg\":\"ok\"}\n",
"01731843 侯玉军 {\"errmsg\":\"ok\"}\n",
"03468309 杨政辰 {\"errmsg\":\"ok\"}\n",
"01731264 温丽强 {\"errmsg\":\"ok\"}\n",
"01739606 宋文生 {\"errmsg\":\"ok\"}\n",
"01731028 李连军 {\"errmsg\":\"ok\"}\n"
]
}
],
"source": [ "source": [
"import requests\n", "import requests\n",
"import json\n", "import json\n",
"\n", "import openpyxl\n",
"\n", "\n",
"\n", "\n",
"headers = {\n", "headers = {\n",
@@ -579,49 +787,49 @@
"list1 = []\n", "list1 = []\n",
"fiie_path ='./134/'\n", "fiie_path ='./134/'\n",
"list_item = ['lung','grip','flexion','jump','pushup','balance','reaction','step','situp','bmi']\n", "list_item = ['lung','grip','flexion','jump','pushup','balance','reaction','step','situp','bmi']\n",
"i = 27\n", "i=1\n",
"list2 = []\n", "list2 = []\n",
"filename = 'data/报告清单.json'\n", "for k, v in dict1.items():\n",
"with open(filename,'r') as fl:\n",
" dict2 = json.load(fl)\n",
"print(i)\n",
"for k in dict2[str(i)]:\n",
" \n",
" list1 = []\n", " list1 = []\n",
" mydata = {}\n", " mydata = {}\n",
" \n", " \n",
" id = str(k).rjust(8,\"0\")\n", " id = str(k).rjust(8,\"0\")\n",
" mydata['path'] = fiie_path+id+'-'+ dict1[k]['name']+'.pdf'\n", " mydata['path'] = fiie_path+id+'-'+ v['name']+'.pdf'\n",
" mydata['title'] = '中石化(天津)石油化工\\n有限公司'\n", " mydata['title'] = '中石化(天津)石油化工\\n有限公司'\n",
" mydata['subtitle'] = dict1[k]['unit']\n", " mydata['subtitle'] = v['unit']\n",
" mydata['id'] = id\n", " mydata['id'] = id\n",
" mydata['name'] = dict1[k]['name']\n", " mydata['name'] = v['name']\n",
" if v['sex'] == '男':\n", " if v['sex'] == '男':\n",
" mydata['gender'] = 'male'\n", " mydata['gender'] = 'male'\n",
" else:\n", " else:\n",
" mydata['gender'] = 'female'\n", " mydata['gender'] = 'female'\n",
" \n", " \n",
" mydata['month'] = dict1[k]['month']\n", " mydata['month'] = v['month']\n",
" mydata['fits'] = {}\n", " mydata['fits'] = {}\n",
" for item in list_item:\n", " for item in list_item:\n",
" if item in dict1[k].keys():\n", " if item in v.keys():\n",
" if item in ['lung','pushup','step','situp']:\n", " if item in ['lung','pushup','step','situp']:\n",
" mark = dict1[k][item]['成绩'].split()[0].split('.')[0]\n", " mark = v[item]['成绩'].split()[0].split('.')[0]\n",
" else:\n", " else:\n",
" mark = dict1[k][item]['成绩'].split()[0]\n", " mark = v[item]['成绩'].split()[0]\n",
" mydata['fits'][item] = {'mark':mark,'score':dict1[k][item]['score']}\n", " mydata['fits'][item] = {'mark':mark,'score':v[item]['score']}\n",
" if len(mydata['fits']) >2: \n", " if len(mydata['fits']) >2:\n",
" \n",
" list1.append(mydata)\n", " list1.append(mydata)\n",
" list2.append([k,dict1[k]['name']])\n", " list2.append([k,v['name']])\n",
" x = requests.post('http://192.168.31.163:3003', data = json.dumps(list1), headers=headers)\n", " i+=1\n",
" print(id,dict1[k]['name'],x.text)\n", " x = requests.post('http://localhost:3003', data = json.dumps(list1), headers=headers)\n",
" #x.close()\n" " #print(id,v['name'],x.text)\n",
" #x.close()\n",
"print(i)"
] ]
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "732161bb-98f2-4861-ab66-7a374678bcd8", "id": "732161bb-98f2-4861-ab66-7a374678bcd8",
"metadata": { "metadata": {
"jp-MarkdownHeadingCollapsed": true,
"tags": [],
"toc-hr-collapsed": true "toc-hr-collapsed": true
}, },
"source": [ "source": [
+16 -16
View File
@@ -1220,15 +1220,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 15,
"id": "1aa45b35-7376-4c50-8275-79b090a6c758", "id": "1aa45b35-7376-4c50-8275-79b090a6c758",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2023-11-08T13:04:51.428359Z", "iopub.execute_input": "2023-11-09T12:53:06.838265Z",
"iopub.status.busy": "2023-11-08T13:04:51.427883Z", "iopub.status.busy": "2023-11-09T12:53:06.837754Z",
"iopub.status.idle": "2023-11-08T13:04:51.489149Z", "iopub.status.idle": "2023-11-09T12:53:06.915213Z",
"shell.execute_reply": "2023-11-08T13:04:51.488092Z", "shell.execute_reply": "2023-11-09T12:53:06.914129Z",
"shell.execute_reply.started": "2023-11-08T13:04:51.428321Z" "shell.execute_reply.started": "2023-11-09T12:53:06.838227Z"
}, },
"tags": [] "tags": []
}, },
@@ -1237,8 +1237,8 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"347\n", "469\n",
"347\n" "469\n"
] ]
} }
], ],
@@ -1261,7 +1261,7 @@
"with open(filename,'r') as fl:\n", "with open(filename,'r') as fl:\n",
" dict1 = json.load(fl) \n", " dict1 = json.load(fl) \n",
"\n", "\n",
"filename = 'data/places_result_20231108.csv'\n", "filename = 'data/places_result_20231109.csv'\n",
"with open(filename,'r',newline='') as csv_file:\n", "with open(filename,'r',newline='') as csv_file:\n",
" fl = csv.reader(csv_file,delimiter=',')\n", " fl = csv.reader(csv_file,delimiter=',')\n",
" header = next(fl) \n", " header = next(fl) \n",
@@ -1300,15 +1300,15 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 16,
"id": "1172a79c-ec8f-4274-8c43-6ec11d95f8ca", "id": "1172a79c-ec8f-4274-8c43-6ec11d95f8ca",
"metadata": { "metadata": {
"execution": { "execution": {
"iopub.execute_input": "2023-11-08T13:12:25.253656Z", "iopub.execute_input": "2023-11-09T12:53:43.095567Z",
"iopub.status.busy": "2023-11-08T13:12:25.253181Z", "iopub.status.busy": "2023-11-09T12:53:43.095355Z",
"iopub.status.idle": "2023-11-08T13:12:25.338731Z", "iopub.status.idle": "2023-11-09T12:53:43.122482Z",
"shell.execute_reply": "2023-11-08T13:12:25.338208Z", "shell.execute_reply": "2023-11-09T12:53:43.121793Z",
"shell.execute_reply.started": "2023-11-08T13:12:25.253599Z" "shell.execute_reply.started": "2023-11-09T12:53:43.095552Z"
}, },
"tags": [] "tags": []
}, },
@@ -1334,7 +1334,7 @@
" list2 = [i,k,v['name'],v['unit']]\n", " list2 = [i,k,v['name'],v['unit']]\n",
" i+=1\n", " i+=1\n",
" list1.append(list2)\n", " list1.append(list2)\n",
"filename = f'data/北海炼化未测试人员名单.xlsx'\n", "filename = f'data/北海炼化未测试人员名单(截至20231109).xlsx'\n",
"title = ['序号','员工编号','姓名','部门']\n", "title = ['序号','员工编号','姓名','部门']\n",
"wb = openpyxl.Workbook()\n", "wb = openpyxl.Workbook()\n",
"sheet = wb.active\n", "sheet = wb.active\n",
+113 -413
View File
@@ -2172,7 +2172,7 @@
" \n", " \n",
" id = str(k).rjust(8,\"0\")\n", " id = str(k).rjust(8,\"0\")\n",
" mydata['path'] = fiie_path+id+'-'+ v['name']+'.pdf'\n", " mydata['path'] = fiie_path+id+'-'+ v['name']+'.pdf'\n",
" mydata['title'] = '中石化(天津)石油化工有限公司'\n", " mydata['title'] = '中石化(天津)石油化工\\n有限公司'\n",
" mydata['subtitle'] = v['unit']\n", " mydata['subtitle'] = v['unit']\n",
" mydata['id'] = id\n", " mydata['id'] = id\n",
" mydata['name'] = v['name']\n", " mydata['name'] = v['name']\n",
@@ -2195,7 +2195,7 @@
" list1.append(mydata)\n", " list1.append(mydata)\n",
" list2.append([k,v['name']])\n", " list2.append([k,v['name']])\n",
" i+=1\n", " i+=1\n",
" #x = requests.post('http://192.168.31.163:3003', data = json.dumps(list1), headers=headers)\n", " x = requests.post('http://localhost:3003', data = json.dumps(list1), headers=headers)\n",
" print(id,v['name'],x.text)\n", " print(id,v['name'],x.text)\n",
" #x.close()\n", " #x.close()\n",
"print(i)" "print(i)"
@@ -2250,9 +2250,16 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 244,
"id": "3fa6a1a9-63af-4f4e-9d30-b94f4357f7dc", "id": "3fa6a1a9-63af-4f4e-9d30-b94f4357f7dc",
"metadata": { "metadata": {
"execution": {
"iopub.execute_input": "2023-11-09T12:42:37.907963Z",
"iopub.status.busy": "2023-11-09T12:42:37.907493Z",
"iopub.status.idle": "2023-11-09T12:42:38.065986Z",
"shell.execute_reply": "2023-11-09T12:42:38.065489Z",
"shell.execute_reply.started": "2023-11-09T12:42:37.907926Z"
},
"tags": [] "tags": []
}, },
"outputs": [], "outputs": [],
@@ -2262,7 +2269,7 @@
"import glob\n", "import glob\n",
"from pathlib import Path\n", "from pathlib import Path\n",
"\n", "\n",
"fi_path = '/home/songyi/pdf-typescript-old2/134'\n", "fi_path = '/home/songyi/pdf-typescript/134'\n",
"new_path = 'file/134'\n", "new_path = 'file/134'\n",
"old = []\n", "old = []\n",
"dict2 = {}\n", "dict2 = {}\n",
@@ -2282,6 +2289,48 @@
" #print(n_name)" " #print(n_name)"
] ]
}, },
{
"cell_type": "code",
"execution_count": 245,
"id": "3f75763f-79bd-4a8c-9612-2eba89ce32f1",
"metadata": {
"execution": {
"iopub.execute_input": "2023-11-09T12:42:42.685877Z",
"iopub.status.busy": "2023-11-09T12:42:42.685491Z",
"iopub.status.idle": "2023-11-09T12:42:43.010658Z",
"shell.execute_reply": "2023-11-09T12:42:43.010150Z",
"shell.execute_reply.started": "2023-11-09T12:42:42.685846Z"
},
"tags": []
},
"outputs": [],
"source": [
"import os,sys,shutil\n",
"import json\n",
"import glob\n",
"from pathlib import Path\n",
"\n",
"fi_path = '/home/songyi/pdf-typescript/134'\n",
"new_path = 'file/134_2'\n",
"old = []\n",
"dict2 = {}\n",
"\n",
"filename = 'data/天津石化人员名单2023.json'\n",
"with open(filename,'r') as fl:\n",
" dict1 = json.load(fl)\n",
"fls = glob.glob(f'{fi_path}/*.pdf')\n",
"for fn in fls:\n",
" fi_name =Path(fn).stem.split('-')[0]\n",
" code = int(fi_name)\n",
" if dict1[str(code)]['sex'] =='女': \n",
" unit_path = Path(new_path,dict1[str(code)]['unit'])\n",
" unit_path.mkdir(parents = True, exist_ok = True)\n",
" n_name = Path(unit_path,Path(fn).stem+'.pdf')\n",
" if not os.path.exists(n_name):\n",
" shutil.copyfile(fn,n_name)\n",
" #print(n_name)"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "fdcd8ea1-21ab-48ab-b7cc-0dad65b06bf2", "id": "fdcd8ea1-21ab-48ab-b7cc-0dad65b06bf2",
@@ -2305,7 +2354,7 @@
"from pathlib import Path\n", "from pathlib import Path\n",
"import openpyxl\n", "import openpyxl\n",
"\n", "\n",
"fi_path = '/home/songyi/pdf-typescript-old2/134'\n", "fi_path = '/home/songyi/pdf-typescript/134'\n",
"\n", "\n",
"filename = 'data/天津石化人员名单2023.json'\n", "filename = 'data/天津石化人员名单2023.json'\n",
"with open(filename,'r') as fl:\n", "with open(filename,'r') as fl:\n",
@@ -2332,6 +2381,49 @@
"print('ok')" "print('ok')"
] ]
}, },
{
"cell_type": "code",
"execution_count": null,
"id": "91fbc553-da7c-4c1e-bcf3-944dc59204b6",
"metadata": {
"tags": []
},
"outputs": [],
"source": [
"import os,sys,shutil\n",
"import json\n",
"import glob\n",
"from pathlib import Path\n",
"import openpyxl\n",
"\n",
"fi_path = '/home/songyi/pdf-typescript/134'\n",
"\n",
"filename = 'data/天津石化人员名单2023.json'\n",
"with open(filename,'r') as fl:\n",
" dict1 = json.load(fl)\n",
"fls = glob.glob(f'{fi_path}/*.pdf')\n",
"list1 = []\n",
"for fn in fls:\n",
" list2 = []\n",
" fi_name =Path(fn).stem.split('-')[0] \n",
" code = int(fi_name)\n",
" if dict1[str(code)]['sex'] =='女':\n",
" unit = dict1[str(code)]['unit']\n",
" list2 = [fi_name,Path(fn).stem.split('-')[1],unit]\n",
" \n",
" list1.append(list2)\n",
"print(list1)\n",
"filename = 'data/天津石化体测报告打印明细表(修改).xlsx'\n",
"wb = openpyxl.Workbook()\n",
"sheet = wb.active\n",
"sheet.append(title)\n",
"for row in list1:\n",
" sheet.append(row)\n",
" \n",
"wb.save(filename) \n",
"print('ok')"
]
},
{ {
"cell_type": "markdown", "cell_type": "markdown",
"id": "4a075c1b-41d9-4ff5-8f0a-115127e5e155", "id": "4a075c1b-41d9-4ff5-8f0a-115127e5e155",
@@ -2412,34 +2504,19 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 209, "execution_count": null,
"id": "8397633f-fddb-4cfa-b9bd-e38f3fe6772c", "id": "8397633f-fddb-4cfa-b9bd-e38f3fe6772c",
"metadata": { "metadata": {
"execution": {
"iopub.execute_input": "2023-11-07T15:21:25.620601Z",
"iopub.status.busy": "2023-11-07T15:21:25.620142Z",
"iopub.status.idle": "2023-11-07T15:21:26.613442Z",
"shell.execute_reply": "2023-11-07T15:21:26.612982Z",
"shell.execute_reply.started": "2023-11-07T15:21:25.620564Z"
},
"tags": [] "tags": []
}, },
"outputs": [ "outputs": [],
{
"name": "stdout",
"output_type": "stream",
"text": [
"ok\n"
]
}
],
"source": [ "source": [
"import os,sys,shutil\n", "import os,sys,shutil\n",
"import json\n", "import json\n",
"import glob\n", "import glob\n",
"from pathlib import Path\n", "from pathlib import Path\n",
"\n", "\n",
"fi_path = '/home/songyi/pdf-typescript-old2/134'\n", "fi_path = '/home/songyi/pdf-typescript/134'\n",
"new_path = 'file/134_1'\n", "new_path = 'file/134_1'\n",
"old = []\n", "old = []\n",
"filename = 'data/result_天津231017.json'\n", "filename = 'data/result_天津231017.json'\n",
@@ -2568,31 +2645,12 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 210, "execution_count": null,
"id": "006afc6c-2b1f-4edf-be1b-5f60e2029ee8", "id": "006afc6c-2b1f-4edf-be1b-5f60e2029ee8",
"metadata": { "metadata": {
"execution": {
"iopub.execute_input": "2023-11-08T09:26:45.377399Z",
"iopub.status.busy": "2023-11-08T09:26:45.376933Z",
"iopub.status.idle": "2023-11-08T09:26:45.467443Z",
"shell.execute_reply": "2023-11-08T09:26:45.467001Z",
"shell.execute_reply.started": "2023-11-08T09:26:45.377362Z"
},
"tags": [] "tags": []
}, },
"outputs": [ "outputs": [],
{
"name": "stdout",
"output_type": "stream",
"text": [
"0~255分人数:2524人,男性:2056人,女性:468人\n",
"256~332分人数:2214人,男性:1400人,女性:814人\n",
"333~367分人数:495人,男性:274人,女性:221人\n",
"368~500分人数:150人,男性:58人,女性:92人\n",
"5383\n"
]
}
],
"source": [ "source": [
"import json\n", "import json\n",
"\n", "\n",
@@ -2844,30 +2902,10 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 216, "execution_count": null,
"id": "f8949993-7501-4359-aa7c-2cd5de348056", "id": "f8949993-7501-4359-aa7c-2cd5de348056",
"metadata": { "metadata": {},
"execution": { "outputs": [],
"iopub.execute_input": "2023-11-08T12:59:02.064806Z",
"iopub.status.busy": "2023-11-08T12:59:02.064358Z",
"iopub.status.idle": "2023-11-08T12:59:02.302186Z",
"shell.execute_reply": "2023-11-08T12:59:02.301753Z",
"shell.execute_reply.started": "2023-11-08T12:59:02.064771Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0~255分人数:2524人,男性:468人,女性:2056人\n",
"256~332分人数:2214人,男性:814人,女性:1400人\n",
"333~367分人数:495人,男性:221人,女性:274人\n",
"368~500分人数:150人,男性:92人,女性:58人\n",
"ok\n"
]
}
],
"source": [ "source": [
"import json\n", "import json\n",
"\n", "\n",
@@ -2919,47 +2957,12 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 225, "execution_count": null,
"id": "5e7c1c49-75bf-4238-9bd7-b8511687f639", "id": "5e7c1c49-75bf-4238-9bd7-b8511687f639",
"metadata": { "metadata": {
"execution": {
"iopub.execute_input": "2023-11-08T14:05:30.666811Z",
"iopub.status.busy": "2023-11-08T14:05:30.666354Z",
"iopub.status.idle": "2023-11-08T14:05:30.762473Z",
"shell.execute_reply": "2023-11-08T14:05:30.762012Z",
"shell.execute_reply.started": "2023-11-08T14:05:30.666775Z"
},
"tags": [] "tags": []
}, },
"outputs": [ "outputs": [],
{
"name": "stdout",
"output_type": "stream",
"text": [
"{'消防支队': {'应测': 93, '已测': 72}, '电仪部': {'应测': 352, '已测': 322}, '水务部': {'应测': 441, '已测': 396}, '烯烃部': {'应测': 359, '已测': 320}, '热电部': {'应测': 500, '已测': 412}, '炼油部': {'应测': 1276, '已测': 1191}, '化工部': {'应测': 609, '已测': 522}, '运输销售部': {'应测': 225, '已测': 199}, '化验计量部': {'应测': 549, '已测': 469}, '南港烯烃部': {'应测': 779, '已测': 681}, '公司机关': {'应测': 409, '已测': 112}, '信息档案管理中心': {'应测': 77, '已测': 60}, '装备研究院': {'应测': 57, '已测': 48}, '原油储运部': {'应测': 203, '已测': 178}, '党委党校(培训中心)': {'应测': 81, '已测': 48}, '研究院': {'应测': 110, '已测': 101}, '南港乙烯项目管理部': {'应测': 71, '已测': 15}, '行政事务中心': {'应测': 134, '已测': 41}, '聚醚部': {'应测': 153, '已测': 112}, '物资采购中心': {'应测': 198, '已测': 84}}\n",
"消防支队 93 72\n",
"电仪部 352 322\n",
"水务部 441 396\n",
"烯烃部 359 320\n",
"热电部 500 412\n",
"炼油部 1276 1191\n",
"化工部 609 522\n",
"运输销售部 225 199\n",
"化验计量部 549 469\n",
"南港烯烃部 779 681\n",
"公司机关 409 112\n",
"信息档案管理中心 77 60\n",
"装备研究院 57 48\n",
"原油储运部 203 178\n",
"党委党校(培训中心) 81 48\n",
"研究院 110 101\n",
"南港乙烯项目管理部 71 15\n",
"行政事务中心 134 41\n",
"聚醚部 153 112\n",
"物资采购中心 198 84\n"
]
}
],
"source": [ "source": [
"import json\n", "import json\n",
"\n", "\n",
@@ -3009,47 +3012,12 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 226, "execution_count": null,
"id": "d023724c-46b7-4b4e-bbcc-8b4f171590c5", "id": "d023724c-46b7-4b4e-bbcc-8b4f171590c5",
"metadata": { "metadata": {
"execution": {
"iopub.execute_input": "2023-11-08T14:05:37.421932Z",
"iopub.status.busy": "2023-11-08T14:05:37.421639Z",
"iopub.status.idle": "2023-11-08T14:05:37.428753Z",
"shell.execute_reply": "2023-11-08T14:05:37.428329Z",
"shell.execute_reply.started": "2023-11-08T14:05:37.421910Z"
},
"tags": [] "tags": []
}, },
"outputs": [ "outputs": [],
{
"name": "stdout",
"output_type": "stream",
"text": [
"{'消防支队': {'应测': 93, '已测': 72, '合格': 35, '不合格': 33, '良好': 3, '优秀': 1}, '电仪部': {'应测': 352, '已测': 322, '不合格': 182, '良好': 18, '合格': 118, '优秀': 4}, '水务部': {'应测': 441, '已测': 396, '不合格': 202, '合格': 150, '良好': 37, '优秀': 7}, '烯烃部': {'应测': 359, '已测': 320, '不合格': 143, '合格': 124, '良好': 37, '优秀': 16}, '热电部': {'应测': 500, '已测': 412, '不合格': 185, '良好': 51, '合格': 157, '优秀': 19}, '炼油部': {'应测': 1276, '已测': 1191, '合格': 514, '不合格': 518, '良好': 126, '优秀': 33}, '化工部': {'应测': 609, '已测': 522, '不合格': 243, '良好': 54, '合格': 206, '优秀': 19}, '运输销售部': {'应测': 225, '已测': 199, '合格': 63, '不合格': 120, '良好': 11, '优秀': 5}, '化验计量部': {'应测': 549, '已测': 469, '合格': 195, '良好': 39, '不合格': 226, '优秀': 9}, '南港烯烃部': {'应测': 779, '已测': 681, '不合格': 345, '良好': 28, '合格': 304, '优秀': 4}, '公司机关': {'应测': 409, '已测': 112, '合格': 44, '不合格': 47, '优秀': 3, '良好': 18}, '信息档案管理中心': {'应测': 77, '已测': 60, '不合格': 16, '合格': 32, '优秀': 2, '良好': 10}, '装备研究院': {'应测': 57, '已测': 48, '不合格': 20, '合格': 20, '良好': 6, '优秀': 2}, '原油储运部': {'应测': 203, '已测': 178, '不合格': 86, '良好': 10, '合格': 79, '优秀': 3}, '党委党校(培训中心)': {'应测': 81, '已测': 48, '不合格': 16, '良好': 11, '合格': 19, '优秀': 2}, '研究院': {'应测': 110, '已测': 101, '优秀': 7, '不合格': 35, '合格': 45, '良好': 14}, '南港乙烯项目管理部': {'应测': 71, '已测': 15, '不合格': 6, '合格': 8, '良好': 1}, '行政事务中心': {'应测': 134, '已测': 41, '不合格': 20, '良好': 5, '合格': 15, '优秀': 1}, '聚醚部': {'应测': 153, '已测': 112, '不合格': 48, '合格': 47, '良好': 10, '优秀': 7}, '物资采购中心': {'应测': 198, '已测': 84, '不合格': 33, '合格': 39, '优秀': 6, '良好': 6}}\n",
"消防支队 72 33\n",
"电仪部 322 182\n",
"水务部 396 202\n",
"烯烃部 320 143\n",
"热电部 412 185\n",
"炼油部 1191 518\n",
"化工部 522 243\n",
"运输销售部 199 120\n",
"化验计量部 469 226\n",
"南港烯烃部 681 345\n",
"公司机关 112 47\n",
"信息档案管理中心 60 16\n",
"装备研究院 48 20\n",
"原油储运部 178 86\n",
"党委党校(培训中心) 48 16\n",
"研究院 101 35\n",
"南港乙烯项目管理部 15 6\n",
"行政事务中心 41 20\n",
"聚醚部 112 48\n",
"物资采购中心 84 33\n"
]
}
],
"source": [ "source": [
"for k, v in dict1.items():\n", "for k, v in dict1.items():\n",
" unit = v['unit']\n", " unit = v['unit']\n",
@@ -3070,27 +3038,12 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 228, "execution_count": null,
"id": "1d93d58e-115a-44a4-988f-fa5353c5fd0e", "id": "1d93d58e-115a-44a4-988f-fa5353c5fd0e",
"metadata": { "metadata": {
"execution": {
"iopub.execute_input": "2023-11-08T14:26:34.150100Z",
"iopub.status.busy": "2023-11-08T14:26:34.149698Z",
"iopub.status.idle": "2023-11-08T14:26:34.216125Z",
"shell.execute_reply": "2023-11-08T14:26:34.215668Z",
"shell.execute_reply.started": "2023-11-08T14:26:34.150070Z"
},
"tags": [] "tags": []
}, },
"outputs": [ "outputs": [],
{
"name": "stdout",
"output_type": "stream",
"text": [
"{'化验计量部': {'BMI': {'score': 1724, 'count': 464}, '肺活量': {'score': 1482, 'count': 447}, '握力': {'score': 546, 'count': 445}, '坐位体前屈': {'score': 969, 'count': 373}, '纵跳': {'score': 659, 'count': 375}, '俯卧撑': {'score': 408, 'count': 165}, '一分钟仰卧起坐': {'score': 486, 'count': 131}, '单脚站立': {'score': 896, 'count': 443}, '选择反应时': {'score': 1266, 'count': 447}, '台阶指数': {'score': 366, 'count': 143}}, '南港烯烃部': {'BMI': {'score': 2220, 'count': 680}, '肺活量': {'score': 2389, 'count': 674}, '握力': {'score': 753, 'count': 664}, '坐位体前屈': {'score': 1747, 'count': 631}, '纵跳': {'score': 1324, 'count': 630}, '俯卧撑': {'score': 1140, 'count': 444}, '一分钟仰卧起坐': {'score': 548, 'count': 144}, '单脚站立': {'score': 1189, 'count': 665}, '选择反应时': {'score': 1770, 'count': 678}, '台阶指数': {'score': 802, 'count': 381}}, '消防支队': {'BMI': {'score': 258, 'count': 72}, '肺活量': {'score': 228, 'count': 72}, '握力': {'score': 92, 'count': 71}, '坐位体前屈': {'score': 169, 'count': 60}, '纵跳': {'score': 86, 'count': 62}, '俯卧撑': {'score': 154, 'count': 51}, '一分钟仰卧起坐': {'score': 22, 'count': 7}, '单脚站立': {'score': 129, 'count': 67}, '选择反应时': {'score': 213, 'count': 70}, '台阶指数': {'score': 69, 'count': 26}}, '炼油部': {'BMI': {'score': 4052, 'count': 1178}, '肺活量': {'score': 3865, 'count': 1181}, '握力': {'score': 2106, 'count': 1184}, '坐位体前屈': {'score': 3324, 'count': 1075}, '纵跳': {'score': 2208, 'count': 1044}, '俯卧撑': {'score': 1730, 'count': 761}, '一分钟仰卧起坐': {'score': 778, 'count': 210}, '单脚站立': {'score': 2154, 'count': 1155}, '选择反应时': {'score': 3554, 'count': 1175}, '台阶指数': {'score': 1441, 'count': 542}}, '化工部': {'BMI': {'score': 1824, 'count': 516}, '肺活量': {'score': 1578, 'count': 508}, '握力': {'score': 630, 'count': 517}, '坐位体前屈': {'score': 1323, 'count': 431}, '纵跳': {'score': 822, 'count': 430}, '俯卧撑': {'score': 699, 'count': 295}, '一分钟仰卧起坐': {'score': 367, 'count': 94}, '单脚站立': {'score': 1030, 'count': 499}, '选择反应时': {'score': 1535, 'count': 512}, '台阶指数': {'score': 508, 'count': 175}}, '电仪部': {'BMI': {'score': 1088, 'count': 322}, '肺活量': {'score': 1054, 'count': 317}, '握力': {'score': 394, 'count': 319}, '坐位体前屈': {'score': 734, 'count': 284}, '纵跳': {'score': 500, 'count': 299}, '俯卧撑': {'score': 561, 'count': 223}, '一分钟仰卧起坐': {'score': 183, 'count': 50}, '单脚站立': {'score': 575, 'count': 319}, '选择反应时': {'score': 827, 'count': 318}, '台阶指数': {'score': 452, 'count': 178}}, '物资采购中心': {'BMI': {'score': 289, 'count': 83}, '肺活量': {'score': 280, 'count': 83}, '握力': {'score': 93, 'count': 82}, '坐位体前屈': {'score': 207, 'count': 69}, '纵跳': {'score': 143, 'count': 79}, '俯卧撑': {'score': 96, 'count': 36}, '一分钟仰卧起坐': {'score': 108, 'count': 26}, '单脚站立': {'score': 184, 'count': 77}, '选择反应时': {'score': 260, 'count': 81}, '台阶指数': {'score': 76, 'count': 27}}, '水务部': {'BMI': {'score': 1381, 'count': 395}, '肺活量': {'score': 1242, 'count': 386}, '握力': {'score': 488, 'count': 394}, '坐位体前屈': {'score': 876, 'count': 313}, '纵跳': {'score': 556, 'count': 315}, '俯卧撑': {'score': 522, 'count': 199}, '一分钟仰卧起坐': {'score': 257, 'count': 65}, '单脚站立': {'score': 788, 'count': 382}, '选择反应时': {'score': 1182, 'count': 391}, '台阶指数': {'score': 305, 'count': 116}}, '运输销售部': {'BMI': {'score': 723, 'count': 197}, '肺活量': {'score': 570, 'count': 186}, '握力': {'score': 249, 'count': 192}, '坐位体前屈': {'score': 401, 'count': 138}, '纵跳': {'score': 236, 'count': 158}, '俯卧撑': {'score': 263, 'count': 123}, '一分钟仰卧起坐': {'score': 97, 'count': 23}, '单脚站立': {'score': 328, 'count': 183}, '选择反应时': {'score': 584, 'count': 195}, '台阶指数': {'score': 68, 'count': 24}}, '原油储运部': {'BMI': {'score': 600, 'count': 176}, '肺活量': {'score': 574, 'count': 175}, '握力': {'score': 215, 'count': 176}, '坐位体前屈': {'score': 378, 'count': 146}, '纵跳': {'score': 291, 'count': 154}, '俯卧撑': {'score': 268, 'count': 105}, '一分钟仰卧起坐': {'score': 133, 'count': 37}, '单脚站立': {'score': 355, 'count': 174}, '选择反应时': {'score': 503, 'count': 177}, '台阶指数': {'score': 193, 'count': 79}}, '聚醚部': {'BMI': {'score': 407, 'count': 109}, '肺活量': {'score': 378, 'count': 107}, '握力': {'score': 149, 'count': 109}, '坐位体前屈': {'score': 280, 'count': 100}, '纵跳': {'score': 176, 'count': 100}, '俯卧撑': {'score': 136, 'count': 56}, '一分钟仰卧起坐': {'score': 114, 'count': 27}, '单脚Line truncated
]
}
],
"source": [ "source": [
"import json\n", "import json\n",
"\n", "\n",
@@ -3128,265 +3081,12 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 236, "execution_count": null,
"id": "0cb7ff83-69a9-4c03-a539-bde7ffd4a8a8", "id": "0cb7ff83-69a9-4c03-a539-bde7ffd4a8a8",
"metadata": { "metadata": {
"execution": {
"iopub.execute_input": "2023-11-08T14:38:08.460607Z",
"iopub.status.busy": "2023-11-08T14:38:08.460149Z",
"iopub.status.idle": "2023-11-08T14:38:08.469922Z",
"shell.execute_reply": "2023-11-08T14:38:08.468874Z",
"shell.execute_reply.started": "2023-11-08T14:38:08.460571Z"
},
"tags": [] "tags": []
}, },
"outputs": [ "outputs": [],
{
"name": "stdout",
"output_type": "stream",
"text": [
"化验计量部\n",
"BMI 3.7155\n",
"肺活量 3.3154\n",
"握力 1.227\n",
"坐位体前屈 2.5979\n",
"纵跳 1.7573\n",
"俯卧撑 2.4727\n",
"一分钟仰卧起坐 3.7099\n",
"单脚站立 2.0226\n",
"选择反应时 2.8322\n",
"台阶指数 2.5594\n",
"\n",
"南港烯烃部\n",
"BMI 3.2647\n",
"肺活量 3.5445\n",
"握力 1.134\n",
"坐位体前屈 2.7686\n",
"纵跳 2.1016\n",
"俯卧撑 2.5676\n",
"一分钟仰卧起坐 3.8056\n",
"单脚站立 1.788\n",
"选择反应时 2.6106\n",
"台阶指数 2.105\n",
"\n",
"消防支队\n",
"BMI 3.5833\n",
"肺活量 3.1667\n",
"握力 1.2958\n",
"坐位体前屈 2.8167\n",
"纵跳 1.3871\n",
"俯卧撑 3.0196\n",
"一分钟仰卧起坐 3.1429\n",
"单脚站立 1.9254\n",
"选择反应时 3.0429\n",
"台阶指数 2.6538\n",
"\n",
"炼油部\n",
"BMI 3.4397\n",
"肺活量 3.2727\n",
"握力 1.7787\n",
"坐位体前屈 3.0921\n",
"纵跳 2.1149\n",
"俯卧撑 2.2733\n",
"一分钟仰卧起坐 3.7048\n",
"单脚站立 1.8649\n",
"选择反应时 3.0247\n",
"台阶指数 2.6587\n",
"\n",
"化工部\n",
"BMI 3.5349\n",
"肺活量 3.1063\n",
"握力 1.2186\n",
"坐位体前屈 3.0696\n",
"纵跳 1.9116\n",
"俯卧撑 2.3695\n",
"一分钟仰卧起坐 3.9043\n",
"单脚站立 2.0641\n",
"选择反应时 2.998\n",
"台阶指数 2.9029\n",
"\n",
"电仪部\n",
"BMI 3.3789\n",
"肺活量 3.3249\n",
"握力 1.2351\n",
"坐位体前屈 2.5845\n",
"纵跳 1.6722\n",
"俯卧撑 2.5157\n",
"一分钟仰卧起坐 3.66\n",
"单脚站立 1.8025\n",
"选择反应时 2.6006\n",
"台阶指数 2.5393\n",
"\n",
"物资采购中心\n",
"BMI 3.4819\n",
"肺活量 3.3735\n",
"握力 1.1341\n",
"坐位体前屈 3.0\n",
"纵跳 1.8101\n",
"俯卧撑 2.6667\n",
"一分钟仰卧起坐 4.1538\n",
"单脚站立 2.3896\n",
"选择反应时 3.2099\n",
"台阶指数 2.8148\n",
"\n",
"水务部\n",
"BMI 3.4962\n",
"肺活量 3.2176\n",
"握力 1.2386\n",
"坐位体前屈 2.7987\n",
"纵跳 1.7651\n",
"俯卧撑 2.6231\n",
"一分钟仰卧起坐 3.9538\n",
"单脚站立 2.0628\n",
"选择反应时 3.023\n",
"台阶指数 2.6293\n",
"\n",
"运输销售部\n",
"BMI 3.6701\n",
"肺活量 3.0645\n",
"握力 1.2969\n",
"坐位体前屈 2.9058\n",
"纵跳 1.4937\n",
"俯卧撑 2.1382\n",
"一分钟仰卧起坐 4.2174\n",
"单脚站立 1.7923\n",
"选择反应时 2.9949\n",
"台阶指数 2.8333\n",
"\n",
"原油储运部\n",
"BMI 3.4091\n",
"肺活量 3.28\n",
"握力 1.2216\n",
"坐位体前屈 2.589\n",
"纵跳 1.8896\n",
"俯卧撑 2.5524\n",
"一分钟仰卧起坐 3.5946\n",
"单脚站立 2.0402\n",
"选择反应时 2.8418\n",
"台阶指数 2.443\n",
"\n",
"聚醚部\n",
"BMI 3.7339\n",
"肺活量 3.5327\n",
"握力 1.367\n",
"坐位体前屈 2.8\n",
"纵跳 1.76\n",
"俯卧撑 2.4286\n",
"一分钟仰卧起坐 4.2222\n",
"单脚站立 1.9352\n",
"选择反应时 3.1364\n",
"台阶指数 2.9167\n",
"\n",
"公司机关\n",
"BMI 3.7143\n",
"肺活量 3.4018\n",
"握力 1.1574\n",
"坐位体前屈 2.6931\n",
"纵跳 2.2\n",
"俯卧撑 3.0189\n",
"一分钟仰卧起坐 4.0\n",
"单脚站立 2.1226\n",
"选择反应时 2.8182\n",
"台阶指数 2.6471\n",
"\n",
"南港乙烯项目管理部\n",
"BMI 4.3333\n",
"肺活量 3.8667\n",
"握力 1.0\n",
"坐位体前屈 2.6154\n",
"纵跳 1.8\n",
"俯卧撑 3.0\n",
"单脚站立 1.3333\n",
"选择反应时 2.6667\n",
"台阶指数 2.9\n",
"\n",
"党委党校(培训中心)\n",
"BMI 4.0\n",
"肺活量 3.6591\n",
"握力 1.0\n",
"坐位体前屈 2.975\n",
"纵跳 1.8182\n",
"俯卧撑 2.4444\n",
"一分钟仰卧起坐 3.9333\n",
"单脚站立 2.4048\n",
"选择反应时 3.3125\n",
"台阶指数 2.9444\n",
"\n",
"装备研究院\n",
"BMI 4.2083\n",
"肺活量 3.6458\n",
"握力 1.1875\n",
"坐位体前屈 2.6522\n",
"纵跳 2.0667\n",
"俯卧撑 2.28\n",
"一分钟仰卧起坐 4.5\n",
"单脚站立 2.1064\n",
"选择反应时 3.0208\n",
"台阶指数 2.5385\n",
"\n",
"热电部\n",
"BMI 3.545\n",
"肺活量 3.297\n",
"握力 1.457\n",
"坐位体前屈 2.7988\n",
"纵跳 2.0687\n",
"俯卧撑 2.702\n",
"一分钟仰卧起坐 3.9048\n",
"单脚站立 2.0026\n",
"选择反应时 3.0246\n",
"台阶指数 2.8593\n",
"\n",
"烯烃部\n",
"BMI 3.7003\n",
"肺活量 3.1226\n",
"握力 1.3396\n",
"坐位体前屈 3.043\n",
"纵跳 1.9135\n",
"俯卧撑 2.4788\n",
"一分钟仰卧起坐 3.9538\n",
"单脚站立 2.0804\n",
"选择反应时 3.1009\n",
"台阶指数 2.8376\n",
"\n",
"行政事务中心\n",
"BMI 3.8293\n",
"肺活量 3.0833\n",
"握力 1.325\n",
"坐位体前屈 2.4375\n",
"纵跳 1.7\n",
"俯卧撑 3.4211\n",
"一分钟仰卧起坐 4.2667\n",
"单脚站立 2.1282\n",
"选择反应时 2.9512\n",
"台阶指数 2.6842\n",
"\n",
"信息档案管理中心\n",
"BMI 4.1525\n",
"肺活量 3.7119\n",
"握力 1.05\n",
"坐位体前屈 3.0566\n",
"纵跳 1.8393\n",
"俯卧撑 2.92\n",
"一分钟仰卧起坐 4.0952\n",
"单脚站立 2.4746\n",
"选择反应时 3.2034\n",
"台阶指数 2.8824\n",
"\n",
"研究院\n",
"BMI 4.0099\n",
"肺活量 3.5306\n",
"握力 1.3069\n",
"坐位体前屈 2.8161\n",
"纵跳 1.9529\n",
"俯卧撑 3.1481\n",
"一分钟仰卧起坐 4.1818\n",
"单脚站立 2.1515\n",
"选择反应时 3.3366\n",
"台阶指数 2.975\n",
"\n"
]
}
],
"source": [ "source": [
"\n", "\n",
"for k ,v in dict3.items():\n", "for k ,v in dict3.items():\n",