vue2-client 1.16.60 → 1.16.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/package.json +112 -112
  2. package/src/assets/svg/female.svg +1 -1
  3. package/src/assets/svg/male.svg +1 -1
  4. package/src/base-client/components/common/HIS/HFormGroup/index.js +3 -3
  5. package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +379 -379
  6. package/src/base-client/components/common/HIS/demo.vue +61 -61
  7. package/src/base-client/components/common/XCollapse/XCollapse.vue +708 -461
  8. package/src/base-client/components/common/XInput/XInput.vue +147 -147
  9. package/src/base-client/components/common/XTable/XTable.vue +1610 -1610
  10. package/src/base-client/components/common/XTimeline/XTimeline.vue +454 -454
  11. package/src/base-client/components/his/XHDescriptions/XHDescriptions.vue +95 -1
  12. package/src/base-client/components/his/XHisEditor/XHisEditor.vue +705 -705
  13. package/src/base-client/components/his/XList/XList.vue +829 -829
  14. package/src/base-client/components/his/threeTestOrders/editor.vue +113 -113
  15. package/src/pages/userInfoDetailManage/ExceptionRecordQuery/index.vue +45 -45
  16. package/src/router/async/router.map.js +129 -131
  17. package/src/assets/img/paymentMethod/icon1.png +0 -0
  18. package/src/assets/img/paymentMethod/icon2.png +0 -0
  19. package/src/assets/img/paymentMethod/icon3.png +0 -0
  20. package/src/assets/img/paymentMethod/icon4.png +0 -0
  21. package/src/assets/img/paymentMethod/icon5.png +0 -0
  22. package/src/assets/img/paymentMethod/icon6.png +0 -0
  23. package/src/base-client/components/common/XReport/XReportHospitalizationDemo.vue +0 -45
  24. package/src-base-client/components/his/XCharge/XCharge.vue +0 -0
  25. /package/src-base-client/components/{his/XCharge/README.md → common/XCollapse/XCollapse.vue} +0 -0
@@ -116,6 +116,32 @@
116
116
  </template>
117
117
  </div>
118
118
  </template>
119
+
120
+ <!-- 可选:底部区域(分割线 + 三列内容) -->
121
+ <div v-if="config && config.footer && Array.isArray(config.footer.items) && data" class="xhdesc-footer">
122
+ <div class="xhdesc-divider" />
123
+ <div class="footer-grid">
124
+ <div
125
+ v-for="(item, idx) in config.footer.items"
126
+ :key="item.field || idx"
127
+ class="description-item">
128
+ <div class="label-wrapper"><span class="label-text">{{ item.label }}:</span></div>
129
+ <div class="content-wrapper">{{ data[item.field] }}</div>
130
+ </div>
131
+ </div>
132
+ <!-- 右侧信息:换到下一行并靠右对齐(如 医生 / 医嘱日期) -->
133
+ <div
134
+ v-if="Array.isArray(config.footer.rightItems) && config.footer.rightItems.length"
135
+ class="footer-right">
136
+ <div
137
+ v-for="(item, ridx) in config.footer.rightItems"
138
+ :key="item.field || ridx"
139
+ class="footer-right-item">
140
+ <div class="label-wrapper"><span class="label-text">{{ item.label }}:</span></div>
141
+ <div class="content-wrapper">{{ data[item.field] }}</div>
142
+ </div>
143
+ </div>
144
+ </div>
119
145
  </div>
120
146
  </div>
121
147
  </template>
@@ -313,6 +339,8 @@ export default {
313
339
 
314
340
  .label-text {
315
341
  white-space: nowrap;
342
+ color: #313131; // 统一深灰
343
+ text-decoration: none !important; // 移除下划线
316
344
  }
317
345
 
318
346
  .content-wrapper {
@@ -321,12 +349,20 @@ export default {
321
349
  margin-left: 4px;
322
350
  font-size: v-bind('(config && config.style && config.style.fontSize) || "14px"');
323
351
  color: rgba(0, 0, 0, 0.85);
352
+ text-decoration: none !important; // 移除可能的下划线
324
353
  max-width: 300px;
325
354
  overflow: hidden;
326
355
  text-overflow: ellipsis;
327
356
  white-space: nowrap;
328
357
  }
329
358
 
359
+ /* 强制移除任何链接样式(如接口返回含 <a>) */
360
+ ::v-deep a,
361
+ ::deep a {
362
+ color: #313131 !important;
363
+ text-decoration: none !important;
364
+ }
365
+
330
366
  .detail-button-wrapper {
331
367
  position: absolute;
332
368
  right: 0;
@@ -337,6 +373,40 @@ export default {
337
373
  background-color: #fff;
338
374
  }
339
375
 
376
+ /* 底部区域:分割线 + 三列内容 */
377
+ .xhdesc-footer {
378
+ margin-top: 12px;
379
+ }
380
+
381
+ .xhdesc-divider {
382
+ width: 100%;
383
+ height: 0;
384
+ border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
385
+ margin: 8px 0 12px;
386
+ }
387
+
388
+ .footer-grid {
389
+ display: grid;
390
+ grid-template-columns: 1fr; // 单列
391
+ gap: 8px 24px; // 与上方描述项间距保持一致
392
+ align-items: start; // 左上对齐
393
+ }
394
+
395
+ /* footer 区域的每项直接沿用通用 .description-item/.label-wrapper/.content-wrapper 样式 */
396
+
397
+ .footer-right {
398
+ margin-top: 8px;
399
+ display: flex;
400
+ justify-content: flex-end;
401
+ align-items: center;
402
+ gap: 16px;
403
+ }
404
+
405
+ .footer-right-item {
406
+ display: inline-flex;
407
+ align-items: center;
408
+ }
409
+
340
410
  /* Ant Design 描述列表样式覆盖 */
341
411
  :deep(.ant-descriptions-row) {
342
412
  display: flex;
@@ -457,7 +527,7 @@ export default {
457
527
  height: 0;
458
528
  border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
459
529
  }
460
- /* 加边框 */
530
+
461
531
  /* 加边框 */
462
532
  .xhdesc-description {
463
533
  padding: 4px 4px 4px 4px;
@@ -634,5 +704,29 @@ export default {
634
704
  :deep(.ant-descriptions-table) {
635
705
  table-layout: auto !important;
636
706
  }
707
+
708
+ /* 医疗病史模式下:footer 区域恢复与上方描述项一致的横向样式 */
709
+ .xhdesc-footer {
710
+ .description-item {
711
+ display: inline-flex;
712
+ flex-direction: row;
713
+ align-items: center;
714
+ width: 100%;
715
+ }
716
+ .label-wrapper {
717
+ display: inline-flex;
718
+ margin-right: 4px;
719
+ margin-bottom: 0;
720
+ font-weight: 600; // 与上方保持一致
721
+ }
722
+ .content-wrapper {
723
+ display: inline-flex;
724
+ margin-left: 0;
725
+ max-width: 300px;
726
+ overflow: hidden;
727
+ text-overflow: ellipsis;
728
+ white-space: nowrap;
729
+ }
730
+ }
637
731
  }
638
732
  </style>