plg-2023-01-01-男-2024年03月21日09时53分53秒-简明精神病量表.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>测试报告</title>
  8. <style>
  9. * {
  10. margin: 0;
  11. padding: 0;
  12. }
  13. .resultReport {
  14. width: 727px;
  15. margin: 0 auto;
  16. }
  17. .head {
  18. width: 727px;
  19. height: 88px;
  20. margin: 0 auto;
  21. }
  22. .head .title {
  23. width: 251px;
  24. line-height: 48px;
  25. font-size: 22px;
  26. font-family: PingFang SC;
  27. font-weight: bold;
  28. color: #000;
  29. text-align: center;
  30. margin: 0 auto;
  31. }
  32. .content {
  33. box-sizing: border-box;
  34. width: 730px;
  35. padding: 15px 30px 40px;
  36. background: #ffffff;
  37. margin: 0 auto;
  38. }
  39. .base_info {
  40. /*box-sizing: border-box;*/
  41. width: 100%;
  42. height: 30px;
  43. text-align: left;
  44. font-size: 14px;
  45. font-weight: bold;
  46. color: #000;
  47. border-bottom: 1px solid #8c939d;
  48. }
  49. .base_info p {
  50. width: 100%;
  51. height: 100%;
  52. line-height: 30px;
  53. text-align: left;
  54. /*padding-bottom: 5px;*/
  55. }
  56. .user_info {
  57. width: 100%;
  58. height: 30px;
  59. font-size: 14px;
  60. font-family: PingFang SC;
  61. /*font-weight: 500;*/
  62. color: #000;
  63. border-bottom: 1px solid #8c939d;
  64. display: flex;
  65. flex-direction: row;
  66. justify-content: flex-start;
  67. align-items: center;
  68. margin-top: 20px;
  69. }
  70. .user_info_item {
  71. text-align: left;
  72. /*padding-bottom: 5px;*/
  73. }
  74. .user_info_item_second {
  75. margin: 0 150px;
  76. }
  77. .user_info_item span:first-child{
  78. font-weight: bold;
  79. color: #000;
  80. margin-right: 10px;
  81. }
  82. .test_content {
  83. width: 100%;
  84. margin-top: 30px;
  85. }
  86. .test_result_first,.test_result_second {
  87. width: 100%;
  88. }
  89. .test_result_first_title,.test_result_second_title {
  90. width: 100%;
  91. height: 30px;
  92. text-align: left;
  93. font-size: 14px;
  94. font-weight: bold;
  95. color: #000;
  96. }
  97. .table_content {
  98. width: 100%;
  99. }
  100. .table_content table{
  101. width: 100%;
  102. border-left: 1px solid #000;
  103. border-top: 1px solid #000;
  104. margin: 0;
  105. padding: 0;
  106. border-spacing: unset;
  107. }
  108. .table_content table th {
  109. background: #e4e4e4;
  110. }
  111. .table_content table th,.table_content table td{
  112. border-right: 1px solid #000;
  113. border-bottom: 1px solid #000;
  114. width: 50%;
  115. line-height: 35px;
  116. text-align: left;
  117. font-size: 14px;
  118. }
  119. .table_content table tr td:first-child {
  120. font-weight: bold;
  121. }
  122. .desc_content {
  123. width: 100%;
  124. margin-top: 30px;
  125. }
  126. .desc_content_item {
  127. width: 100%;
  128. margin-bottom: 20px;
  129. }
  130. .desc_content_list {
  131. width: 100%;
  132. line-height: 22px;
  133. text-align: left;
  134. font-size: 14px;
  135. margin-bottom: 10px;
  136. }
  137. .desc_content_list span:first-child {
  138. font-weight: bold;
  139. }
  140. .pl {
  141. padding-left: 10px;
  142. }
  143. .mr {
  144. margin-right: 10px;
  145. }
  146. .footer {
  147. width: 100%;
  148. margin: 150px 0 20px;
  149. font-size: 14px;
  150. font-family: PingFang SC;
  151. box-sizing: border-box;
  152. padding: 0 30px;
  153. }
  154. .footer_info {
  155. width: 100%;
  156. display: flex;
  157. flex-direction: row;
  158. justify-content: flex-end;
  159. align-items: center;
  160. border-bottom: 1px solid #8c939d;
  161. padding: 10px 0;
  162. }
  163. .footer_info_title {
  164. font-weight: bold;
  165. }
  166. .footer_info_sign {
  167. width: 150px;
  168. height: 20px;
  169. margin: 0 20px 0 10px;
  170. border-bottom: 1px solid #000;
  171. }
  172. .footer_desc {
  173. text-align: center;
  174. margin-top: 10px;
  175. }
  176. </style>
  177. <!-- <script src="./js/echarts.js"></script>-->
  178. <script src="./js/vue@2"></script>
  179. <!-- 引入样式 -->
  180. <link rel="stylesheet" href="./css/index.css">
  181. <!-- 引入组件库 -->
  182. <script src="./js/index.js"></script>
  183. </head>
  184. <body>
  185. <div class="resultReport" id="app">
  186. <div class="head">
  187. <div class="title">心灵照相机</div>
  188. <div class="title">{{testResult.name}}</div>
  189. </div>
  190. <div class="content">
  191. <div class="base_info">
  192. <p>【基本信息】</p>
  193. </div>
  194. <div class="user_info">
  195. <div class="user_info_item user_info_item_first"><span>姓名:</span><span>{{testResult.userEntity.petName}}</span></div>
  196. <div class="user_info_item user_info_item_second"><span>性别:</span><span>{{testResult.userEntity.gender == 0 ? '男' : '女'}}</span></div>
  197. <div class="user_info_item user_info_item_third"><span>出生日期:</span><span>{{testResult.userEntity.birthday}}</span></div>
  198. </div>
  199. <div class="test_content">
  200. <div v-if="showTable" class="test_result_first">
  201. <p class="test_result_first_title">【测试结果】</p>
  202. <div class="table_content">
  203. <table>
  204. <tr>
  205. <th class="pl">项目</th>
  206. <th class="pl">结果</th>
  207. </tr>
  208. <tr v-for="(item ,index) in tableContext" :key="index">
  209. <td class="pl">{{ item.name }}</td>
  210. <td class="pl">{{ item.value[0] }}</td>
  211. </tr>
  212. </table>
  213. </div>
  214. </div>
  215. <div v-else class="test_result_second">
  216. <p class="test_result_second_title">【测试结果】</p>
  217. <div class="table_content">
  218. <table>
  219. <tr>
  220. <th class="pl">项目</th>
  221. <th class="pl">结果</th>
  222. </tr>
  223. <tr v-for="(item ,index) in result" :key="index">
  224. <td class="pl">{{ item.name }}</td>
  225. <td class="pl">{{ item.score }}</td>
  226. </tr>
  227. </table>
  228. </div>
  229. <div class="desc_content">
  230. <div class="desc_content_item" v-for="(item ,index) in result" :key="index">
  231. <div class="desc_content_list">
  232. <span class="desc_content_item_title">【维度名称】</span>
  233. <span class="desc_content_item_desc">{{ item.name }}</span>
  234. </div>
  235. <div class="desc_content_list">
  236. <span class="desc_content_item_title mr">得&ensp;&ensp;&ensp;&ensp;分:</span>
  237. <span class="desc_content_item_desc">{{ item.score }}</span>
  238. </div>
  239. <div v-if="item.symptom && item.symptom != '无'" class="desc_content_list">
  240. <span class="desc_content_item_title mr">症&ensp;&ensp;&ensp;&ensp;状:</span>
  241. <span class="desc_content_item_desc">{{ item.symptom }}</span>
  242. </div>
  243. <div v-if="item.improvementSuggestions && item.improvementSuggestions != '无'" class="desc_content_list">
  244. <span class="desc_content_item_title mr">维度说明:</span>
  245. <span class="desc_content_item_desc"> {{ item.improvementSuggestions }}</span>
  246. </div>
  247. <div v-if="item.nameExplain && item.nameExplain != '无'" class="desc_content_list">
  248. <span class="desc_content_item_title mr">维度解读:</span>
  249. <span class="desc_content_item_desc">{{ item.nameExplain }}</span>
  250. </div>
  251. <div v-if="item.suggestion && item.suggestion != '无'" class="desc_content_list">
  252. <span class="desc_content_item_title mr">建&ensp;&ensp;&ensp;&ensp;议:</span>
  253. <span class="desc_content_item_desc">{{ item.suggestion }}</span>
  254. </div>
  255. </div>
  256. </div>
  257. </div>
  258. </div>
  259. </div>
  260. <div class="footer">
  261. <div class="footer_info">
  262. <p class="footer_info_title">签名:</p>
  263. <p class="footer_info_sign"></p>
  264. <p class="footer_info_title">报告日期:</p>
  265. <p class="pl">{{testResult.reportTime}}</p>
  266. </div>
  267. <div class="footer_desc">(本报告仅供临床参考,不做诊断证明之用)</div>
  268. </div>
  269. </div>
  270. <!-- <script src="./js/vue@2"></script>-->
  271. <script>
  272. var app = new Vue({
  273. el: '#app',
  274. data() {
  275. return {
  276. id: "",
  277. userName: "",
  278. testDetail: {"userEntity":{"additionInfo":"","birthday":"2023-01-01","gId":"8af1788381046dc30181046df5890000","gender":"0","id":"ff8081818e559f83018e55ae8b450000","institutionName":"超级管理员","institutionNo":"LAN001","modelPhone":"0","password":"96e79218965eb72c92a549dd5a330112","petName":"plg","phone":"plg","profession":"","roleType":"1","userStatus":"2"},"userRecordEntity":{"fileName":"./心理检测/检测结果/2024-03-21/简明精神病量表/plg-2023-01-01-男-2024年03月21日09时53分53秒-简明精神病量表.xlsx","flag":"20210616235331","id":"ff8081818e5eb1d0018e5eb700780006","institutionNo":"LAN001","name":"简明精神病量表","phone":"plg","testDate":"2024年03月21日09时53分53秒","testPlanId":"ff8081818e5eb1d0018e5eb629e20000","testRecord":"[{\"answer\":\"关心身体健康\",\"checkItems\":\"可疑或很轻\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158713690015\",\"questionNo\":\"1\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"1\",\"weight\":\"\"},{\"answer\":\"焦虑\",\"checkItems\":\"可疑或很轻\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158713950016\",\"questionNo\":\"2\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"2\",\"weight\":\"\"},{\"answer\":\"情感交流障碍\",\"checkItems\":\"可疑或很轻\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158713c30017\",\"questionNo\":\"3\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"3\",\"weight\":\"\"},{\"answer\":\"概念混乱\",\"checkItems\":\"轻度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158713ed0018\",\"questionNo\":\"4\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"4\",\"weight\":\"\"},{\"answer\":\"罪恶观念\",\"checkItems\":\"轻度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158714220019\",\"questionNo\":\"5\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"5\",\"weight\":\"\"},{\"answer\":\"紧张\",\"checkItems\":\"中度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a1587144d001a\",\"questionNo\":\"6\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"6\",\"weight\":\"\"},{\"answer\":\"装相和作态\",\"checkItems\":\"中度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a15871478001b\",\"questionNo\":\"7\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"7\",\"weight\":\"\"},{\"answer\":\"夸大\",\"checkItems\":\"中度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158714a3001c\",\"questionNo\":\"8\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"8\",\"weight\":\"\"},{\"answer\":\"心境抑郁\",\"checkItems\":\"偏重\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158714cd001d\",\"questionNo\":\"9\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"9\",\"weight\":\"\"},{\"answer\":\"敌对性\",\"checkItems\":\"偏重\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158714f9001e\",\"questionNo\":\"10\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"10\",\"weight\":\"\"},{\"answer\":\"猜疑\",\"checkItems\":\"重度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a15871524001f\",\"questionNo\":\"11\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"11\",\"weight\":\"\"},{\"answer\":\"幻觉\",\"checkItems\":\"重度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a1587154f0020\",\"questionNo\":\"12\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"12\",\"weight\":\"\"},{\"answer\":\"动作迟缓\",\"checkItems\":\"重度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158715790021\",\"questionNo\":\"13\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"13\",\"weight\":\"\"},{\"answer\":\"不合作\",\"checkItems\":\"重度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158715a50022\",\"questionNo\":\"14\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"14\",\"weight\":\"\"},{\"answer\":\"异常思维内容\",\"checkItems\":\"极重\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158715d10023\",\"questionNo\":\"15\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"15\",\"weight\":\"\"},{\"answer\":\"情感平淡\",\"checkItems\":\"极重\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158715fd0024\",\"questionNo\":\"16\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"16\",\"weight\":\"\"},{\"answer\":\"兴奋\",\"checkItems\":\"重度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158716290025\",\"questionNo\":\"17\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"17\",\"weight\":\"\"},{\"answer\":\"定向障碍\",\"checkItems\":\"重度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158716550026\",\"questionNo\":\"18\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"18\",\"weight\":\"\"},{\"answer\":\"自知力障碍\",\"checkItems\":\"偏重\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158716810027\",\"questionNo\":\"19\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"19\",\"weight\":\"\"},{\"answer\":\"不能工作\",\"checkItems\":\"中度\",\"flag\":\"20210616235331\",\"id\":\"2c91f37d7a135392017a158716af0028\",\"questionNo\":\"20\",\"questionParam\":\"\",\"questionType\":\"0\",\"score\":\"\",\"scoreDirection\":\"1\",\"serialNo\":\"20\",\"weight\":\"\"}]","testResult":"[{\"version\":1.0,\"newTableContext\":\"\",\"colNames\":[\"项目\",\"内容\"],\"tableContext\":[{\"name\":\"总分\",\"value\":[\"93.0\"]},{\"name\":\"结论\",\"value\":[\"病情较重\"]},{\"name\":\"焦虑忧郁得分\",\"value\":[\"12.0\"]},{\"name\":\"缺乏活力得分\",\"value\":[\"21.0\"]},{\"name\":\"思维障碍得分\",\"value\":[\"20.0\"]},{\"name\":\"激活性得分\",\"value\":[\"14.0\"]},{\"name\":\"敌对猜疑得分\",\"value\":[\"17.0\"]}]}]","testResults":"总分:93.0;结论:病情较重;焦虑忧郁得分:12.0;缺乏活力得分:21.0;思维障碍得分:20.0;激活性得分:14.0;敌对猜疑得分:17.0","type":"0"},"fileName":"plg-2023-01-01-男-2024年03月21日09时53分53秒-简明精神病量表","name":"简明精神病量表","reportTime":"2024-03-21 15:18:39","subject":{"description":"本量表是一个评定精神病性症状严重程度的量表,适用于具有精神病性症状的大多数重性精神病患者,尤其适宜于精神分裂症患者,请您按照最近一周的精神状况及现状进行选择。","eName":"Brief Psychiatric Rating Scale,BPRS","fileName":"简明精神病量表.xlsx","flag":"20210616235331","iconInfo":"无","id":"2c91f37d7a135392017a158716da0029","imageUrl":"./images/lbcs_pic14.png","isHot":"1","isNew":1,"men":"","name":"简明精神病量表","no":0,"reference":"张明圆.简明精神病量表(BPRS)[J].上海精神医学,1984(02):58-60.//梁建华,张海音,张永华,颜文伟.简明精神病量表的可靠性[J].上海精神医学,1989(01):41-42.//张明园,周天骍,梁建华,王征宇,汤毓华,迟玉芬,夏美丽.简明精神病量表中译本的应用——(2)真实性检验[J].中国神经精神疾病杂志,1984(02):74-77.张明圆.简明精神病量表(BPRS)[J].上海精神医学,1984(02):58-60.//梁建华,张海音,张永华,颜文伟.简明精神病量表的可靠性[J].上海精神医学,1989(01):41-42.//张明园,周天骍,梁建华,王征宇,汤毓华,迟玉芬,夏美丽.简明精神病量表中译本的应用——(2)真实性检验[J].中国神经精神疾病杂志,1984(02):74-77.张明圆.简明精神病量表(BPRS)[J].上海精神医学,1984(02):58-60.//梁建华,张海音,张永华,颜文伟.简明精神病量表的可靠性[J].上海精神医学,1989(01):41-42.//张明园,周天骍,梁建华,王征宇,汤毓华,迟玉芬,夏美丽.简明精神病量表中译本的应用——(2)真实性检验[J].中国神经精神疾病杂志,1984(02):74-77.张明圆.简明精神病量表(BPRS)[J].上海精神医学,1984(02):58-60.//梁建华,张海音,张永华,颜文伟.简明精神病量表的可靠性[J].上海精神医学,1989(01):41-42.//张明园,周天骍,梁建华,王征宇,汤毓华,迟玉芬,夏美丽.简明精神病量表中译本的应用——(2)真实性检验[J].中国神经精神疾病杂志,1984(02):74-77.张明圆.简明精神病量表(BPRS)[J].上海精神医学,1984(02):58-60.//梁建华,张海音,张永华,颜文伟.简明精神病量表的可靠性[J].上海精神医学,1989(01):41-42.//张明园,周天骍,梁建华,王征宇,汤毓华,迟玉芬,夏美丽.简明精神病量表中译本的应用——(2)真实性检验[J].中国神经精神疾病杂志,1984(02):74-77.","reportReference":"","reportVersion":1,"scaleLimit":"public","status":0,"testNum":2,"type":"0","uploader":"彭兴"},"tableContext":[{"name":"总分","value":["93.0"]},{"name":"结论","value":["病情较重"]},{"name":"焦虑忧郁得分","value":["12.0"]},{"name":"缺乏活力得分","value":["21.0"]},{"name":"思维障碍得分","value":["20.0"]},{"name":"激活性得分","value":["14.0"]},{"name":"敌对猜疑得分","value":["17.0"]}]},
  279. testResult: {},
  280. tableContext: [], //旧数据结构
  281. result: [], //新数据结构
  282. showTable: false, //显示旧数据还是新数据
  283. };
  284. },
  285. created() {
  286. this.getDetail();
  287. },
  288. computed: {
  289. },
  290. mounted() { },
  291. methods: {
  292. getDetail() {
  293. this.testResult = this.testDetail;
  294. console.log(this.testResult,'数据')
  295. this.tableContext = this.testResult?.tableContext ? this.testResult.tableContext : [];
  296. this.showTable = this.testResult?.tableContext ? true : false;
  297. this.result = this.testResult?.result ? this.testResult.result : [];
  298. },
  299. }
  300. })
  301. </script>
  302. </body>
  303. </html>