You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1062 lines
39 KiB

2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
2 years ago
3 years ago
  1. <template>
  2. <div style="background: #F4F8FF">
  3. <el-container style="background: ">
  4. <el-header
  5. style="background-color: ; line-height: 56px"
  6. class="principalheader"
  7. >
  8. <div class="navs">
  9. <img
  10. src="@/assets/images/logo2.png"
  11. alt=""
  12. style="width: 24px; height: 24px"
  13. />
  14. <div class="maintitle">神豚体检管理系统</div>
  15. <div style="margin-left: 5%" :class="className==='userlist'?'actived userlist':'userlist'">
  16. <el-dropdown
  17. @command="handleCommand"
  18. >
  19. <span class="el-dropdown-link">
  20. <span style="margin-top: 10px">
  21. <!-- <img
  22. class="iconimg titleimg"
  23. src="@/assets/images/usericon.png"
  24. alt=""
  25. style="width: 20px; line-height: 150px; padding-top: 5px"
  26. /> -->
  27. </span>
  28. <!-- <span style="width: 20px">1</span> -->
  29. 权限管理</span
  30. >
  31. <el-dropdown-menu slot="dropdown">
  32. <el-dropdown-item
  33. :command="beforeHandleCommand('userlist', 'organization-units')"
  34. class="dropdownmain"
  35. >科室设置</el-dropdown-item
  36. >
  37. <el-dropdown-item :command="beforeHandleCommand('userlist', 'role')" class="dropdownmain"
  38. >角色管理</el-dropdown-item
  39. >
  40. <el-dropdown-item :command="beforeHandleCommand('userlist', 'user-list')" class="dropdownmain"
  41. >用户管理</el-dropdown-item
  42. >
  43. <el-dropdown-item :command="beforeHandleCommand('userlist', 'audit-log')" class="dropdownmain"
  44. >安全日志</el-dropdown-item
  45. >
  46. <el-dropdown-item :command="beforeHandleCommand('userlist', 'menuPage')" class="dropdownmain">菜单与页面</el-dropdown-item>
  47. </el-dropdown-menu>
  48. </el-dropdown>
  49. </div>
  50. <!-- 基础字典 -->
  51. <div
  52. style="margin-left: 10px; padding: 0 5px"
  53. :class="className==='basicdictionany'?'actived basicdictionany':'basicdictionany'"
  54. >
  55. <el-dropdown
  56. @command="handleCommand"
  57. >
  58. <span class="el-dropdown-link" style="margin-left: 10px">
  59. <!-- <img
  60. src="@/assets/images/feesettings.png"
  61. alt=""
  62. style="width: 20px; height: 20px"
  63. class="basicimg titleimg"
  64. /> -->
  65. 基础字典</span
  66. >
  67. <el-dropdown-menu slot="dropdown">
  68. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'guide-type')" class="dropdownmain"
  69. >导引类别</el-dropdown-item
  70. >
  71. <el-dropdown-item
  72. :command="beforeHandleCommand('basicdictionany', 'medical-report-type')"
  73. class="dropdownmain"
  74. >体检报告类别</el-dropdown-item
  75. >
  76. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'sex')" class="dropdownmain"
  77. >性别</el-dropdown-item
  78. >
  79. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'marital-status')" class="dropdownmain"
  80. >婚姻状况</el-dropdown-item
  81. >
  82. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'nation')" class="dropdownmain"
  83. >民族</el-dropdown-item
  84. >
  85. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'birth-place')" class="dropdownmain"
  86. >籍贯</el-dropdown-item
  87. >
  88. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'result-status')" class="dropdownmain"
  89. >结果状态</el-dropdown-item
  90. >
  91. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'edical-type')" class="dropdownmain"
  92. >体检类别</el-dropdown-item
  93. >
  94. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'personnel-type')" class="dropdownmain"
  95. >人员类别</el-dropdown-item
  96. >
  97. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'device-type')" class="dropdownmain"
  98. >仪器类别</el-dropdown-item
  99. >
  100. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'sample-type')" class="dropdownmain"
  101. >标本类型</el-dropdown-item
  102. >
  103. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'unit')" class="dropdownmain"
  104. >计量单位</el-dropdown-item
  105. >
  106. <el-dropdown-item
  107. :command="beforeHandleCommand('basicdictionany', 'diagnosis-postfix')"
  108. class="dropdownmain"
  109. >诊断后缀</el-dropdown-item
  110. >
  111. <el-dropdown-item
  112. :command="beforeHandleCommand('basicdictionany', 'medical-conclusion-type')"
  113. class="dropdownmain"
  114. >体检结论类别</el-dropdown-item
  115. >
  116. <el-dropdown-item
  117. :command="beforeHandleCommand('basicdictionany', 'medical-conclusion')"
  118. class="dropdownmain"
  119. >体检结论</el-dropdown-item
  120. >
  121. <el-dropdown-item
  122. :command="beforeHandleCommand('basicdictionany', 'sample-container')"
  123. class="dropdownmain"
  124. >标本容器</el-dropdown-item
  125. >
  126. <el-dropdown-item
  127. :command="beforeHandleCommand('basicdictionany', 'common-char-type')"
  128. class="dropdownmain"
  129. >常用字符类别</el-dropdown-item
  130. >
  131. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'common-char')" class="dropdownmain"
  132. >常用字符</el-dropdown-item
  133. >
  134. <el-dropdown-item
  135. :command="beforeHandleCommand('basicdictionany', 'customer-org-type')"
  136. class="dropdownmain"
  137. >客户单位类别</el-dropdown-item
  138. >
  139. <el-dropdown-item
  140. :command="beforeHandleCommand('basicdictionany', 'item-default-result')"
  141. class="dropdownmain"
  142. >项目默认结果</el-dropdown-item
  143. >
  144. <el-dropdown-item :command="beforeHandleCommand('basicdictionany', 'diagnosis-level')" class="dropdownmain"
  145. >诊断级别</el-dropdown-item
  146. >
  147. </el-dropdown-menu>
  148. </el-dropdown>
  149. </div>
  150. <!-- 收费设置 -->
  151. <div :class="className==='charge'?'actived charge':'charge'" style="margin-left: 20px">
  152. <el-dropdown
  153. @command="handleCommand"
  154. >
  155. <span class="el-dropdown-link">
  156. <!-- <img
  157. src="@/assets/images/chargeimg.png"
  158. alt=""
  159. style="width: 20px; height: 20px"
  160. class="chargeimg titleimg"
  161. /> -->
  162. 收费设置</span
  163. >
  164. <el-dropdown-menu slot="dropdown">
  165. <el-dropdown-item
  166. :command="beforeHandleCommand('charge', 'invoice-item-type')"
  167. class="dropdownmain"
  168. >发票项目类别</el-dropdown-item
  169. >
  170. <el-dropdown-item :command="beforeHandleCommand('charge', 'pay-mode')" class="dropdownmain"
  171. >支付方式</el-dropdown-item
  172. >
  173. <el-dropdown-item :command="beforeHandleCommand('charge', 'cardType')" class="dropdownmain"
  174. >会员卡类别</el-dropdown-item
  175. >
  176. <el-dropdown-item :command="beforeHandleCommand('charge', 'cardRegister')" class="dropdownmain"
  177. >会员卡管理</el-dropdown-item
  178. >
  179. <el-dropdown-item :command="beforeHandleCommand('charge', 'cardBill')" class="dropdownmain"
  180. >会员卡记账</el-dropdown-item
  181. >
  182. </el-dropdown-menu>
  183. </el-dropdown>
  184. </div>
  185. <!--常用设置 -->
  186. <div :class="className==='fee-settings'?'actived fee-settings':'fee-settings'" style="margin-left: 20px">
  187. <el-dropdown
  188. @command="handleCommand"
  189. >
  190. <span class="el-dropdown-link">
  191. <!-- <img
  192. src="@/assets/images/commonsetting.png"
  193. alt=""
  194. class="commonsettingimg titleimg"
  195. /> -->
  196. 常用设置</span
  197. >
  198. <el-dropdown-menu slot="dropdown">
  199. <el-dropdown-item :command="beforeHandleCommand('fee-settings', 'item-type')" class="dropdownmain"
  200. >项目类别</el-dropdown-item
  201. >
  202. <el-dropdown-item :command="beforeHandleCommand('fee-settings', 'item')" class="dropdownmain"
  203. >项目设置</el-dropdown-item
  204. >
  205. <el-dropdown-item :command="beforeHandleCommand('fee-settings', 'asbitem')" class="dropdownmain"
  206. >组合项目</el-dropdown-item
  207. >
  208. <el-dropdown-item :command="beforeHandleCommand('fee-settings', 'sample-group')" class="dropdownmain"
  209. >条码分组</el-dropdown-item
  210. >
  211. <!-- <el-dropdown-item
  212. @click.native="$router.push({ path: '/reference-range' })"
  213. >参考范围</el-dropdown-item
  214. > -->
  215. <!-- <el-dropdown-item
  216. @click.native="
  217. $router.push({ path: '/sex-hormone-reference-range' })
  218. "
  219. >性激素参考范围</el-dropdown-item
  220. > -->
  221. <el-dropdown-item :command="beforeHandleCommand('fee-settings', 'diagnosisSet')" class="dropdownmain"
  222. >诊断建议设置</el-dropdown-item
  223. >
  224. <el-dropdown-item
  225. :command="beforeHandleCommand('fee-settings', 'diagnosis-template')"
  226. class="dropdownmain"
  227. >诊断模板</el-dropdown-item
  228. >
  229. <!--
  230. <el-dropdown-item
  231. command="item-result-template"
  232. class="dropdownmain"
  233. >项目结果模板</el-dropdown-item
  234. >
  235. <el-dropdown-item
  236. command="item-result-match"
  237. class="dropdownmain"
  238. >项目结果匹配</el-dropdown-item
  239. >
  240. -->
  241. <el-dropdown-item :command="beforeHandleCommand('fee-settings', 'item-template')" class="dropdownmain"
  242. >项目模板</el-dropdown-item
  243. >
  244. <el-dropdown-item :command="beforeHandleCommand('fee-settings', 'medicalPackage')" class="dropdownmain"
  245. >套餐设置</el-dropdown-item
  246. >
  247. <el-dropdown-item :command="beforeHandleCommand('fee-settings', 'sys-parm-type')" class="dropdownmain"
  248. >系统参数</el-dropdown-item
  249. >
  250. </el-dropdown-menu>
  251. </el-dropdown>
  252. </div>
  253. <!-- 体检登记 -->
  254. <div :class="className==='examinationregistration'?'actived examinationregistration':'examinationregistration'" style="margin-left: 20px">
  255. <el-dropdown
  256. @command="handleCommand"
  257. class="dropdowncolor"
  258. >
  259. <span class="el-dropdown-link">
  260. <!-- <img
  261. src="@/assets/images/registrationimg.png"
  262. alt=""
  263. class="registrationimgimges"
  264. /> -->
  265. 体检登记</span
  266. >
  267. <el-dropdown-menu slot="dropdown">
  268. <el-dropdown-item :command="beforeHandleCommand('examinationregistration', 'customerOrg')" class="dropdownmain"
  269. >体检单位设置</el-dropdown-item
  270. >
  271. <el-dropdown-item
  272. :command="beforeHandleCommand('examinationregistration', 'customerOrgGroup')"
  273. class="dropdownmain"
  274. >单位分组设置</el-dropdown-item
  275. >
  276. <el-dropdown-item :command="beforeHandleCommand('examinationregistration', 'patientRegister')" class="dropdownmain"
  277. >体检人员登记</el-dropdown-item
  278. >
  279. <el-dropdown-item :command="beforeHandleCommand('examinationregistration', 'patientRegisterBatch')" class="dropdownmain"
  280. >人员批量登记</el-dropdown-item
  281. >
  282. <el-dropdown-item
  283. :command="beforeHandleCommand('examinationregistration', 'patientRegisterSign')"
  284. class="dropdownmain"
  285. >体检人员签到</el-dropdown-item
  286. >
  287. <el-dropdown-item
  288. :command="beforeHandleCommand('examinationregistration', 'patientRegisterRecover')"
  289. class="dropdownmain"
  290. >体检表回收</el-dropdown-item
  291. >
  292. <el-dropdown-item
  293. :command="beforeHandleCommand('examinationregistration', 'patientRegisterRefuse')"
  294. class="dropdownmain"
  295. >弃检登记</el-dropdown-item
  296. >
  297. <el-dropdown-item :command="beforeHandleCommand('examinationregistration', 'charge')" class="dropdownmain"
  298. >体检收费</el-dropdown-item
  299. >
  300. </el-dropdown-menu>
  301. </el-dropdown>
  302. </div>
  303. <!-- 体检 -->
  304. <div :class="className==='physicalexamination'?'actived physicalexamination':'physicalexamination'" style="margin-left: 10px">
  305. <el-dropdown
  306. @command="handleCommand"
  307. >
  308. <span class="el-dropdown-link">体检</span>
  309. <el-dropdown-menu slot="dropdown">
  310. <el-dropdown-item :command="beforeHandleCommand('physicalexamination', 'doctorCheck')" class="dropdownmain"
  311. >体检医生诊台</el-dropdown-item
  312. >
  313. <el-dropdown-item :command="beforeHandleCommand('physicalexamination', 'sumDoctorCheck')" class="dropdownmain"
  314. >总检医生诊台</el-dropdown-item
  315. >
  316. </el-dropdown-menu>
  317. </el-dropdown>
  318. </div>
  319. <!-- 体检查询 -->
  320. <div style="margin-left: 10px" :class="className==='examinationquery'?'actived examinationquery':'examinationquery'" >
  321. <el-dropdown
  322. @command="handleCommand"
  323. >
  324. <span class="el-dropdown-link">体检查询</span>
  325. <el-dropdown-menu slot="dropdown" style="width: 180px">
  326. <el-dropdown-item :command="beforeHandleCommand('examinationquery', 'report')" class="dropdownmain"
  327. >体检报告</el-dropdown-item
  328. >
  329. <el-dropdown-item :command="beforeHandleCommand('examinationquery', 'checkStatus')" class="dropdownmain"
  330. >组合项目检查状态</el-dropdown-item
  331. >
  332. <el-dropdown-item :command="beforeHandleCommand('examinationquery', 'chargeAsbitem')" class="dropdownmain"
  333. >人员费用组合项目</el-dropdown-item
  334. >
  335. <el-dropdown-item :command="beforeHandleCommand('examinationquery', 'unCheckAsbitem')" class="dropdownmain"
  336. >人员未检组合项目</el-dropdown-item
  337. >
  338. <el-dropdown-item
  339. :command="beforeHandleCommand('examinationquery', 'patientRegisterRecover')"
  340. class="dropdownmain"
  341. >回收表格查询</el-dropdown-item
  342. >
  343. </el-dropdown-menu>
  344. </el-dropdown>
  345. </div>
  346. <!-- 客户报表 -->
  347. <div :class="className==='reportforms'?'actived reportforms':'reportforms'" style="margin-left: 15px">
  348. <el-dropdown
  349. @command="handleCommand"
  350. >
  351. <span class="el-dropdown-link"> 客户报表 </span>
  352. <el-dropdown-menu slot="dropdown" style="width: 200px">
  353. <el-dropdown-item
  354. :command="beforeHandleCommand('reportforms', 'diseaseStatistics')"
  355. class="dropdownmain"
  356. >疾病人数统计</el-dropdown-item
  357. >
  358. <el-dropdown-item :command="beforeHandleCommand('reportforms', 'positiveResultsList')" class="dropdownmain"
  359. >阳性结果人员</el-dropdown-item
  360. >
  361. <el-dropdown-item
  362. :command="beforeHandleCommand('reportforms', 'unitphysicalexamination')"
  363. class="dropdownmain"
  364. >单位体检报表</el-dropdown-item
  365. >
  366. <el-dropdown-item
  367. :command="beforeHandleCommand('reportforms', 'personnelPositive')"
  368. class="dropdownmain"
  369. >人员阳性结果</el-dropdown-item
  370. >
  371. <el-dropdown-item
  372. :command="beforeHandleCommand('reportforms', 'combinationDetails')"
  373. class="dropdownmain"
  374. >组合项目具体结果统计</el-dropdown-item
  375. >
  376. </el-dropdown-menu>
  377. </el-dropdown>
  378. </div>
  379. <!-- 收费 -->
  380. <div :class="className==='workload'?'actived workload':'workload'" style="margin-left: 15px">
  381. <el-dropdown
  382. @command="handleCommand"
  383. >
  384. <span class="el-dropdown-link"> 工作量统计 </span>
  385. <el-dropdown-menu slot="dropdown" style="width: 170px">
  386. <el-dropdown-item :command="beforeHandleCommand('workload', 'registrar')" class="dropdownmain"
  387. >登记员工作量</el-dropdown-item
  388. >
  389. <el-dropdown-item
  390. :command="beforeHandleCommand('workload', 'doctorstaionworkload')"
  391. class="dropdownmain"
  392. >医生站工作量</el-dropdown-item
  393. >
  394. <el-dropdown-item :command="beforeHandleCommand('workload', 'directordoctor')" class="dropdownmain"
  395. >总检工作量</el-dropdown-item
  396. >
  397. <el-dropdown-item :command="beforeHandleCommand('workload', 'examinedoctor')" class="dropdownmain"
  398. >审核工作量</el-dropdown-item
  399. >
  400. <el-dropdown-item :command="beforeHandleCommand('workload', 'peisworkload')" class="dropdownmain"
  401. >体检工作量</el-dropdown-item
  402. >
  403. <el-dropdown-item :command="beforeHandleCommand('workload', 'deskwork')" class="dropdownmain"
  404. >科室工作量</el-dropdown-item
  405. >
  406. <el-dropdown-item :command="beforeHandleCommand('workload', 'collectionbloodnurse')" class="dropdownmain"
  407. >采血护士工作量</el-dropdown-item
  408. >
  409. </el-dropdown-menu>
  410. </el-dropdown>
  411. </div>
  412. <!-- -->
  413. <!-- 收费 -->
  414. <div :class="className==='feereport'?'actived feereport':'feereport'" style="margin-left: 15px">
  415. <el-dropdown
  416. @command="handleCommand"
  417. >
  418. <span class="el-dropdown-link"> 收费 </span>
  419. <el-dropdown-menu slot="dropdown">
  420. <el-dropdown-item :command="beforeHandleCommand('feereport', 'tollcollector')" class="dropdownmain"
  421. >收费员报表</el-dropdown-item
  422. >
  423. <el-dropdown-item
  424. :command="beforeHandleCommand('feereport', 'individualfeedetails')"
  425. class="dropdownmain"
  426. >个人收费明细</el-dropdown-item
  427. >
  428. <el-dropdown-item :command="beforeHandleCommand('feereport', 'membershipcard')" class="dropdownmain"
  429. >会员卡分类</el-dropdown-item
  430. >
  431. </el-dropdown-menu>
  432. </el-dropdown>
  433. </div>
  434. <!-- -->
  435. <div class="btn">
  436. <img
  437. src="@/assets/images/me.png"
  438. alt=""
  439. class="currentuser"
  440. />
  441. <!-- <i class="el-icon-arrow-down el-icon--right"></i> -->
  442. <el-dropdown>
  443. <span class="el-dropdown-link" style="color:#222531;font-weight: 700;">
  444. <!-- <img
  445. src="@/assets/images/frame.png"
  446. alt=""
  447. style="width: 20px; height: 20px"
  448. class="operateimg"
  449. /> -->
  450. {{ user }} <i class="el-icon-arrow-down el-icon--right"></i>
  451. </span>
  452. <el-dropdown-menu slot="dropdown">
  453. <el-dropdown-item @click.native="logout"
  454. >退出登录</el-dropdown-item
  455. >
  456. <el-dropdown-item @click.native="editpassword"
  457. >修改密码</el-dropdown-item
  458. >
  459. <el-dropdown-item @click.native="toggleDevTools"
  460. >调试工具</el-dropdown-item
  461. >
  462. </el-dropdown-menu>
  463. </el-dropdown>
  464. </div>
  465. </div>
  466. </el-header>
  467. <!-- 修改密码弹框 -->
  468. <el-dialog
  469. title="修改密码"
  470. :visible.sync="dialogVisible"
  471. width="30%"
  472. :close-on-click-modal="false"
  473. >
  474. <el-form
  475. :model="form"
  476. :rules="rules"
  477. ref="ruleForm"
  478. label-width="100px"
  479. >
  480. <el-form-item label="旧密码" prop="oldPassWord">
  481. <el-input
  482. v-model="form.oldPassWord"
  483. autocomplete="new-password"
  484. show-password
  485. ></el-input>
  486. </el-form-item>
  487. <el-form-item label="新密码" prop="newPassWord">
  488. <el-input
  489. v-model="form.newPassWord"
  490. autocomplete="new-password"
  491. show-password
  492. ></el-input>
  493. </el-form-item>
  494. <el-form-item label="确认密码" prop="newPassWord">
  495. <el-input
  496. v-model="confirmpassword"
  497. type="password"
  498. autocomplete="new-password"
  499. show-password
  500. ></el-input>
  501. </el-form-item>
  502. </el-form>
  503. <span slot="footer" class="dialog-footer">
  504. <el-button @click="dialogVisible = false"> </el-button>
  505. <el-button type="primary" @click="determine"> </el-button>
  506. </span>
  507. </el-dialog>
  508. <el-container>
  509. <!-- <el-aside :width="isCollapse ? '64px' : '220px'">
  510. <el-menu
  511. style="height: 100%"
  512. default-active="2"
  513. class="el-menu-vertical-demo"
  514. background-color="#545c64"
  515. router
  516. active-text-color="#fff"
  517. :unique-opened="true"
  518. text-color="#000"
  519. @select="aa"
  520. :collapse="isCollapse"
  521. :collapse-transition="false"
  522. >
  523. <div class="collapseandunfoled" @click="isCollapse = !isCollapse">
  524. <i class="el-icon-s-operation"></i>
  525. </div>
  526. <el-submenu index="1">
  527. <template slot="title">
  528. <i class="el-icon-document"></i>
  529. <span>用户权限管理</span>
  530. </template>
  531. <el-menu-item index="role">
  532. <i class="el-icon-menu"></i> <span slot="title">角色管理</span>
  533. </el-menu-item>
  534. <el-menu-item index="user-list">
  535. <i class="el-icon-menu"></i> <span slot="title">用户管理</span>
  536. </el-menu-item>
  537. <el-menu-item index="organization-units"
  538. ><i class="el-icon-menu"></i><span slot="title">组织架构</span>
  539. </el-menu-item>
  540. <el-menu-item index="audit-log">
  541. <i class="el-icon-menu"></i> <span slot="title">安全日志</span>
  542. </el-menu-item>
  543. </el-submenu>
  544. <el-submenu index="2">
  545. <template slot="title">
  546. <i class="el-icon-s-tools"></i>
  547. <span>基础字典</span>
  548. </template>
  549. <el-menu-item index="guide-type"
  550. ><i class="el-icon-menu"></i>导引类别</el-menu-item
  551. >
  552. <el-menu-item index="medical-report-type"
  553. ><i class="el-icon-menu"></i>体检报告类别</el-menu-item
  554. >
  555. <el-menu-item index="sex"
  556. ><i class="el-icon-menu"></i>性别</el-menu-item
  557. >
  558. <el-menu-item index="marital-status"
  559. ><i class="el-icon-menu"></i>婚姻状况</el-menu-item
  560. >
  561. <el-menu-item index="nation"
  562. ><i class="el-icon-menu"></i>民族</el-menu-item
  563. >
  564. <el-menu-item index="birth-place"
  565. ><i class="el-icon-menu"></i>籍贯</el-menu-item
  566. >
  567. <el-menu-item index="result-status"
  568. ><i class="el-icon-menu"></i>结果状态</el-menu-item
  569. >
  570. <el-menu-item index="medical-type"
  571. ><i class="el-icon-menu"></i>体检类别</el-menu-item
  572. >
  573. <el-menu-item index="personnel-type"
  574. ><i class="el-icon-menu"></i>人员类别</el-menu-item
  575. >
  576. <el-menu-item index="device-type"
  577. ><i class="el-icon-menu"></i>仪器类别</el-menu-item
  578. >
  579. <el-menu-item index="sample-type"
  580. ><i class="el-icon-menu"></i>标本类型</el-menu-item
  581. >
  582. <el-menu-item index="unit"
  583. ><i class="el-icon-menu"></i>单位</el-menu-item
  584. >
  585. <el-menu-item index="diagnosis-postfix"
  586. ><i class="el-icon-menu"></i>诊断后缀</el-menu-item
  587. >
  588. <el-menu-item index="medical-conclusion-type"
  589. ><i class="el-icon-menu"></i>体检结论类别</el-menu-item
  590. >
  591. <el-menu-item index="medical-conclusion"
  592. ><i class="el-icon-menu"></i>体检结论</el-menu-item
  593. >
  594. <el-menu-item index="sample-container"
  595. ><i class="el-icon-menu"></i>标本容器</el-menu-item
  596. >
  597. <el-menu-item index="common-char-type"
  598. ><i class="el-icon-menu"></i>常用字符类别</el-menu-item
  599. >
  600. <el-menu-item index="common-char"
  601. ><i class="el-icon-menu"></i>常用字符</el-menu-item
  602. >
  603. <el-menu-item index="customer-org-type"
  604. ><i class="el-icon-menu"></i>客户单位类别</el-menu-item
  605. >
  606. <el-menu-item index="item-default-result"
  607. ><i class="el-icon-menu"></i>项目默认结果</el-menu-item
  608. >
  609. <el-menu-item index="diagnosis-level"
  610. ><i class="el-icon-menu"></i>诊断级别</el-menu-item
  611. >
  612. </el-submenu>
  613. <el-submenu index="3">
  614. <template slot="title">
  615. <i class="el-icon-s-tools"></i>
  616. <span>收费设置</span>
  617. </template>
  618. <el-menu-item index="invoice-item-type"
  619. ><i class="el-icon-menu"></i>发票项目类别</el-menu-item
  620. >
  621. <el-menu-item index="pay-mode"
  622. ><i class="el-icon-menu"></i>支付方式</el-menu-item
  623. >
  624. </el-submenu>
  625. <el-submenu index="4">
  626. <template slot="title">
  627. <i class="el-icon-s-tools"></i>
  628. <span>常用设置</span>
  629. </template>
  630. <el-menu-item index="item-type"
  631. ><i class="el-icon-menu"></i>项目类别</el-menu-item
  632. >
  633. <el-menu-item index="sample-group"
  634. ><i class="el-icon-menu"></i>条码分组</el-menu-item
  635. >
  636. <el-menu-item index="asbitem"
  637. ><i class="el-icon-menu"></i>组和项目</el-menu-item
  638. >
  639. <el-menu-item index="item"
  640. ><i class="el-icon-menu"></i>项目</el-menu-item
  641. >
  642. <el-menu-item index="reference-range"
  643. ><i class="el-icon-menu"></i>参考范围</el-menu-item
  644. >
  645. <el-menu-item index="sex-hormone-reference-range"
  646. ><i class="el-icon-menu"></i>性激素参考范围</el-menu-item
  647. >
  648. <el-menu-item index="diagnosis"
  649. ><i class="el-icon-menu"></i>诊断</el-menu-item
  650. >
  651. <el-menu-item index="diagnosis-template"
  652. ><i class="el-icon-menu"></i>诊断模板</el-menu-item
  653. >
  654. <el-menu-item index="item-result-template"
  655. ><i class="el-icon-menu"></i>项目结果模板</el-menu-item
  656. >
  657. <el-menu-item index="item-result-match"
  658. ><i class="el-icon-menu"></i>项目结果匹配</el-menu-item
  659. >
  660. <el-menu-item index="item-template"
  661. ><i class="el-icon-menu"></i>项目模板</el-menu-item
  662. >
  663. <el-menu-item index="medical-package"
  664. ><i class="el-icon-menu"></i>套餐</el-menu-item
  665. >
  666. <el-menu-item index="sys-parm-type"
  667. ><i class="el-icon-menu"></i>系统参数</el-menu-item
  668. >
  669. </el-submenu>
  670. <el-submenu index="5">
  671. <template slot="title">
  672. <i class="el-icon-document"></i>
  673. <span>体检登记</span>
  674. </template>
  675. <el-menu-item index="customerOrg">
  676. <i class="el-icon-menu"></i>
  677. <span slot="title">体检单位设置</span>
  678. </el-menu-item>
  679. <el-menu-item index="customerOrgGroup">
  680. <i class="el-icon-menu"></i>
  681. <span slot="title">单位分组设置</span>
  682. </el-menu-item>
  683. <el-menu-item index="patientRegister">
  684. <i class="el-icon-menu"></i>
  685. <span slot="title">体检人员登记</span>
  686. </el-menu-item>
  687. <el-menu-item index="patientRegisterSign">
  688. <i class="el-icon-menu"></i>
  689. <span slot="title">体检人员签到</span>
  690. </el-menu-item>
  691. <el-menu-item index="patientRegisterRecover">
  692. <i class="el-icon-menu"></i>
  693. <span slot="title">体检表回收</span>
  694. </el-menu-item>
  695. <el-menu-item index="patientRegisterRefuse">
  696. <i class="el-icon-menu"></i> <span slot="title">弃检登记</span>
  697. </el-menu-item>
  698. </el-submenu>
  699. <el-submenu index="6">
  700. <template slot="title">
  701. <i class="el-icon-document"></i>
  702. <span>体检</span>
  703. </template>
  704. <el-menu-item index="doctorCheck">
  705. <i class="el-icon-menu"></i>
  706. <span slot="title">体检医生诊台</span>
  707. </el-menu-item>
  708. <el-menu-item index="sumDoctorCheck">
  709. <i class="el-icon-menu"></i>
  710. <span slot="title">总检医生诊台</span>
  711. </el-menu-item>
  712. </el-submenu>
  713. </el-menu>
  714. </el-aside> -->
  715. <el-main>
  716. <router-view></router-view>
  717. </el-main>
  718. </el-container>
  719. </el-container>
  720. </div>
  721. </template>
  722. <script>
  723. ///api/app/item/in-filter
  724. import router from "@/router";
  725. import { postapi } from "@/api/api";
  726. import { mapState } from "vuex";
  727. export default {
  728. data() {
  729. return {
  730. className:'',
  731. index: 1,
  732. isCollapse: false,
  733. user: "",
  734. dialogVisible: false,
  735. password: "",
  736. form: {
  737. oldPassWord: "",
  738. newPassWord: "",
  739. },
  740. confirmpassword: "",
  741. rules: {
  742. oldPassWord: [
  743. { required: true, message: "请输入旧密码", trigger: "blur" },
  744. ],
  745. newPassWord: [
  746. { required: true, message: "请输入新密码", trigger: "blur" },
  747. ],
  748. },
  749. };
  750. },
  751. computed: {
  752. ...mapState(["changepassword", "router"]),
  753. },
  754. created() {
  755. let expires_in = parseInt(window.sessionStorage.getItem("expires_in"))
  756. //console.log("dqtime / expires_in",dqtime,expires_in)
  757. if(!expires_in){
  758. router.push({ path: "/Login" });
  759. return;
  760. }
  761. this.password = this.changepassword;
  762. // console.log(this.password);
  763. // console.log(this.$store.state.changepassword, "ssssssssssss");
  764. this.user = window.sessionStorage.getItem("user");
  765. },
  766. methods: {
  767. handleCommand(val) {
  768. this.className=val.flag
  769. if (this.router.path != val.command) {
  770. this.router.path = val.command;
  771. this.$router.push({ path: val.command }).catch(() => {});
  772. }
  773. // let menuId = arguments[1].$parent.$el.id
  774. // let menuList = document.getElementById(menuId)
  775. // console.log(menuList)
  776. },
  777. beforeHandleCommand(flag, command) {
  778. return {
  779. 'flag': flag,
  780. 'command': command
  781. }
  782. },
  783. //确定修改密码按钮
  784. determine() {
  785. this.$refs.ruleForm.validate((valid) => {
  786. if (valid) {
  787. if (this.form.oldPassWord != this.password) {
  788. this.$message.warning("旧密码输入错误");
  789. } else if (this.confirmpassword != this.form.newPassWord) {
  790. this.$message.warning("二次输入的密码不一致");
  791. } else {
  792. postapi("/api/identity/users/updatepassword", this.form).then(
  793. (res) => {
  794. console.log("修改成功");
  795. this.dialogVisible = false;
  796. }
  797. );
  798. }
  799. }
  800. });
  801. },
  802. //修改密码
  803. editpassword() {
  804. this.dialogVisible = true;
  805. console.log(this.password);
  806. },
  807. //退出登录
  808. logout() {
  809. // window.sessionStorage.removeItem("tokentype");
  810. // window.sessionStorage.removeItem("token");
  811. // window.sessionStorage.removeItem(['expires_in','tokentype','refresh_token','user','token'])
  812. window.sessionStorage.clear();
  813. this.$router.push({ path: "/login" });
  814. },
  815. aa(aa) {
  816. console.log(aa);
  817. },
  818. //打开客户端调试工具
  819. toggleDevTools() {
  820. if(!this.$peisAPI) {
  821. this.$message.info("此功能,需要在壳客户端才可运行!")
  822. return
  823. }
  824. this.$peisAPI.toggleDevTools();
  825. },
  826. },
  827. components: { router },
  828. };
  829. </script>
  830. <style scoped>
  831. @import '../assets/css/global_card.css';
  832. .dropdownmain:hover {
  833. background-color: rgb(204, 249, 203);
  834. color: rgb(30, 150, 63);
  835. /* color: #2BCA84; */
  836. font-weight: 700;
  837. }
  838. .titleimg :hover {
  839. width: 30px;
  840. background-color: rgb(34, 149, 98);
  841. z-index: 99;
  842. }
  843. .el-dropdown-link:hover {
  844. /* background-color: rgb(202, 249, 203); */
  845. color: #396FFA;
  846. font-weight: 700;
  847. /* background-color: ; */
  848. /* border-top-left-radius: 5px;
  849. border-top-right-radius: 5px; */
  850. font-family: "NotoSansSC-Bold";
  851. }
  852. ::v-deep .el-menu--horizontal > .el-submenu .el-submenu__title {
  853. font-size: 16px;
  854. }
  855. .dropdowncolor {
  856. font-size: 12px;
  857. }
  858. .el-dropdown {
  859. color: rgb(140, 135, 134);
  860. font-size: 12px;
  861. }
  862. .currentuser {
  863. width: 32px;
  864. height: 32px;
  865. position: relative;
  866. right: 2%;
  867. top: 10px;
  868. color: #000;
  869. font-size: 18px;
  870. z-index: 99;
  871. }
  872. .registrationimgimges {
  873. width: 20px;
  874. height: 20px;
  875. position: absolute;
  876. left: -15px;
  877. top: 15px;
  878. }
  879. .commonsettingimg {
  880. width: 20px;
  881. height: 20px;
  882. position: absolute;
  883. left: -15px;
  884. top: 15px;
  885. }
  886. .chargeimg {
  887. position: absolute;
  888. left: -15px;
  889. top: 15px;
  890. }
  891. .basicimg {
  892. position: absolute;
  893. left: -17px;
  894. top: 15px;
  895. }
  896. .iconimg {
  897. position: absolute;
  898. left: 0px;
  899. top: 10px;
  900. }
  901. .el-dropdown-link {
  902. font-size: 14px;
  903. margin: 0 5px;
  904. font-weight: 400;
  905. color: #52555F;
  906. font-family: "NotoSansSC-Regular";
  907. }
  908. .principalheader {
  909. background-color: #fff;
  910. opacity: 1;
  911. /* opacity: 0.8;
  912. opacity: 0.8; */
  913. color: #ccc;
  914. border: 1px solid #ccc;
  915. }
  916. .el-dropdown-item {
  917. text-align: center;
  918. }
  919. .el-dropdown-menu {
  920. text-align: center;
  921. overflow: scroll;
  922. max-height: 500px;
  923. width: 150px;
  924. overflow-x: hidden;
  925. /* margin-left: 5%; */
  926. }
  927. .el-header {
  928. position: fixed;
  929. /* top:0;
  930. left: 0; */
  931. width: 100%;
  932. overflow: hidden;
  933. overflow: auto;
  934. z-index: 999;
  935. }
  936. .el-container {
  937. /* position: fixed; */
  938. width: 100%;
  939. }
  940. .el-dropdown-link {
  941. width: 100%;
  942. display: block;
  943. position: relative;
  944. text-align: center;
  945. }
  946. .el-menu {
  947. border-right: none;
  948. }
  949. .expandend {
  950. text-align: center;
  951. margin-right: 5%;
  952. }
  953. .navs {
  954. display: flex;
  955. align-items: center;
  956. /* justify-content: space-between; */
  957. flex-flow: 1;
  958. }
  959. ::v-deep .el-card__body {
  960. /* height: 90vh; */
  961. height: 100%;
  962. overflow-y: auto;
  963. }
  964. .maintitle {
  965. font-size: 20px;
  966. font-weight: 600;
  967. color: #232748;
  968. margin-left: 10px;
  969. font-family: "NotoSansSC-Bold";
  970. }
  971. ::v-deep .el-dropdown-menu item:not(.is-disabled) {
  972. color: #fff;
  973. }
  974. .el-header {
  975. height: 70px;
  976. }
  977. ::v-deep .el-select-dropdown {
  978. background: #ccc;
  979. }
  980. .operateimg {
  981. position: relative;
  982. left: 0;
  983. top: 5px;
  984. }
  985. .el-aside {
  986. /* height: calc(100vh, -70px); */
  987. height: calc(100vh - 0px);
  988. /* height: 100%; */
  989. height: 91.5vh;
  990. /* height: 100%; */
  991. /* height: calc(100vh, -0px); */
  992. }
  993. .el-main {
  994. margin-top: 60px;
  995. height: calc(100vh, -70px);
  996. }
  997. .el-menu-vertical-demo .el-menu {
  998. /* min-height: 100vh; */
  999. height: calc(100vh, -70px);
  1000. }
  1001. .btn {
  1002. color: #000;
  1003. font-weight: 700;
  1004. /* margin-left: 60%; */
  1005. /* position: relative;
  1006. right: -70%; */
  1007. margin-left: auto;
  1008. }
  1009. .collapseandunfoled {
  1010. text-align: center;
  1011. line-height: 40px;
  1012. display: block;
  1013. font-size: 18px;
  1014. font-weight: 700;
  1015. color: #fff;
  1016. }
  1017. /* .actived {
  1018. color: #396FFA!important;
  1019. border-bottom: 4px solid #396FFA;
  1020. font-weight: 700;
  1021. } */
  1022. .actived .el-dropdown-link{
  1023. color: #396FFA!important;
  1024. font-weight: 700;
  1025. font-family: "NotoSansSC-Bold";
  1026. }
  1027. .actived .el-dropdown-link:after{
  1028. content:'';
  1029. width: 100%;
  1030. height: 3px;
  1031. background-color: #396FFA;
  1032. position: absolute;
  1033. bottom:4px;
  1034. left:0;
  1035. }
  1036. </style>