vue2-client 1.16.54 → 1.16.57

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 (32) hide show
  1. package/package.json +112 -112
  2. package/src/assets/img/paymentMethod/icon1.png +0 -0
  3. package/src/assets/img/paymentMethod/icon2.png +0 -0
  4. package/src/assets/img/paymentMethod/icon3.png +0 -0
  5. package/src/assets/img/paymentMethod/icon4.png +0 -0
  6. package/src/assets/img/paymentMethod/icon5.png +0 -0
  7. package/src/assets/img/paymentMethod/icon6.png +0 -0
  8. package/src/assets/svg/female.svg +1 -1
  9. package/src/assets/svg/male.svg +1 -1
  10. package/src/base-client/components/common/HIS/HFormGroup/HFormGroup.vue +120 -120
  11. package/src/base-client/components/common/HIS/HFormGroup/index.js +3 -3
  12. package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +379 -379
  13. package/src/base-client/components/common/HIS/HTab/HTab.vue +37 -3
  14. package/src/base-client/components/common/HIS/demo.vue +61 -61
  15. package/src/base-client/components/common/XCollapse/XCollapse.vue +461 -461
  16. package/src/base-client/components/common/XInput/XInput.vue +147 -147
  17. package/src/base-client/components/common/XReport/XReportHospitalizationDemo.vue +45 -0
  18. package/src/base-client/components/common/XReportGrid/XReportTrGroup.vue +828 -824
  19. package/src/base-client/components/common/XTable/XTable.vue +1610 -1610
  20. package/src/base-client/components/common/XTimeline/XTimeline.vue +454 -454
  21. package/src/base-client/components/his/XCharge/XCharge.vue +245 -93
  22. package/src/base-client/components/his/XCharge/XChargeDemo.vue +99 -3
  23. package/src/base-client/components/his/XCharge/testConfig.js +439 -0
  24. package/src/base-client/components/his/XHisEditor/XHisEditor.vue +705 -705
  25. package/src/base-client/components/his/XList/XList.vue +829 -829
  26. package/src/base-client/components/his/XSidebar/XSidebar.vue +113 -25
  27. package/src/base-client/components/his/XTitle/XTitle.vue +16 -0
  28. package/src/base-client/components/his/threeTestOrders/editor.vue +113 -113
  29. package/src/pages/userInfoDetailManage/ExceptionRecordQuery/index.vue +45 -45
  30. package/src/router/async/router.map.js +132 -129
  31. package/src-base-client/components/his/XCharge/README.md +0 -0
  32. package/src-base-client/components/his/XCharge/XCharge.vue +0 -0
@@ -8,6 +8,11 @@ const props = defineProps({
8
8
  tabBarExtraConfig: {
9
9
  type: String,
10
10
  default: undefined
11
+ },
12
+ // 控制标签间距,覆盖内部 XTab 的默认 10px;默认置 0 清除外边距
13
+ tabBarGutter: {
14
+ type: Number,
15
+ default: 0
11
16
  }
12
17
  })
13
18
 
@@ -19,7 +24,7 @@ const wrapperClassObject = computed(() => {
19
24
 
20
25
  // 通用布尔样式开关(以存在/空字符串/'true' 为真)
21
26
  const booleanStyleKeys = [
22
- 'hasTopMargin', 'useStyle7', 'useCycle', 'useStyle8'
27
+ 'hasTopMargin', 'useStyle7', 'useCycle', 'useStyle8', 'ant-tabs-bar-left0'
23
28
  ]
24
29
  for (const key of booleanStyleKeys) {
25
30
  const val = a[key]
@@ -88,6 +93,7 @@ defineExpose({
88
93
  :class="[wrapperClassObject, extraItems.length > 1 ? 'h-tab-extra-wrapper-multiple' : '']">
89
94
  <x-tab
90
95
  ref="xTabRef"
96
+ :tabBarGutter="props.tabBarGutter"
91
97
  v-bind="$attrs"
92
98
  v-on="$listeners"
93
99
  >
@@ -125,6 +131,20 @@ defineExpose({
125
131
  }
126
132
 
127
133
  :deep(.ant-tabs-nav) {
134
+ // 去除导航容器默认左右内边距,避免收缩时左侧多出一截
135
+ .ant-tabs-nav-container,
136
+ .ant-tabs-nav-scroll {
137
+ margin-left: 0 !important;
138
+ margin-right: 0 !important;
139
+ }
140
+
141
+ // 移除左右切换箭头带来的占位
142
+ .ant-tabs-tab-prev,
143
+ .ant-tabs-tab-next {
144
+ display: none !important;
145
+ width: 0 !important;
146
+ }
147
+
128
148
  .ant-tabs-tab-next-icon {
129
149
  display: none;
130
150
  }
@@ -132,7 +152,7 @@ defineExpose({
132
152
  .ant-tabs-tab {
133
153
  background-color: transparent;
134
154
  border-radius: 6px 6px 0 0;
135
- color: #5D5C5C;
155
+ color: #313131;
136
156
  font-weight: bold;
137
157
  width: 134px;
138
158
  font-size: 18px;
@@ -155,6 +175,13 @@ defineExpose({
155
175
 
156
176
  :deep(.ant-tabs-bar) {
157
177
  border-bottom: 2px solid #0057FE;
178
+ margin: 20px 10px 0 10px;
179
+ }
180
+
181
+ // 滚动状态下的容器左右内边距清零,避免左侧多出一截
182
+ :deep(.ant-tabs-nav-container-scrolling) {
183
+ padding-left: 0 !important;
184
+ padding-right: 0 !important;
158
185
  }
159
186
 
160
187
  :deep(.ant-tabs-tab-arrow-show) {
@@ -375,7 +402,14 @@ defineExpose({
375
402
  padding-top: 2px;
376
403
  }
377
404
  :deep(.ant-tabs-extra-content){
378
- line-height: 0px !important;
405
+ line-height: 0px !important;
406
+ }
407
+ }
408
+ // 侧边栏tab页签移除左侧空白区域
409
+ &.t-tab-ant-tabs-bar-left0 {
410
+ :deep(.ant-tabs-bar) {
411
+ border-bottom: 2px solid #0057FE;
412
+ margin: 20px 0px 0 4px;
379
413
  }
380
414
  }
381
415
  }
@@ -1,61 +1,61 @@
1
- <template>
2
- <div class="h-tab-demo">
3
- <!-- &lt;!&ndash; XTab &ndash;&gt;-->
4
- <!-- <a-card title="XTab">-->
5
- <!-- <h-tab-->
6
- <!-- configName="openPrescriptionTab"-->
7
- <!-- serverName="af-his"-->
8
- <!-- />-->
9
- <!-- </a-card>-->
10
-
11
- <!-- HFormTable -->
12
- <a-card title="HFormTable" style="margin-top: 20px;">
13
- <h-form-table
14
- queryParamsName="outpatientAdviceAllCRUD"
15
- serviceName="af-his"
16
- />
17
- </a-card>
18
-
19
- <!-- HForm -->
20
- <a-card title="HAddNativeForm" style="margin-top: 20px;">
21
- <h-add-native-form
22
- queryParamsName="TCMAdviceFormConfig"
23
- serviceName="af-his"
24
- />
25
- </a-card>
26
- <!-- <a-card title="HFormGroup" style="margin-top: 20px;">-->
27
- <!-- <h-form-group-->
28
- <!-- queryParamsName="surgeryApplicationFormGroup"-->
29
- <!-- serviceName="af-his"-->
30
- <!-- :left-hide="true"-->
31
- <!-- />-->
32
- <!-- </a-card>-->
33
- <!-- &lt;!&ndash; HButtons &ndash;&gt;-->
34
- <!-- <a-card title="HButtons" style="margin-top: 20px;">-->
35
- <!-- <h-buttons-->
36
- <!-- queryParamsName="outpatientAdviceGroup"-->
37
- <!-- serviceName="af-his"-->
38
- <!-- />-->
39
- <!-- </a-card>-->
40
- </div>
41
- </template>
42
-
43
- <script setup>
44
- // import HTab from './HTab/HTab.vue'
45
- import HFormTable from './HFormTable/HFormTable.vue'
46
- // import HButtons from './HButtons/HButtons.vue'
47
- import HAddNativeForm from '@vue2-client/base-client/components/common/HIS/HAddNativeForm/HAddNativeForm.vue'
48
- // import HFormGroup from './HFormGroup/HFormGroup.vue'
49
- </script>
50
-
51
- <style scoped lang="less">
52
- .h-tab-demo {
53
- padding: 20px;
54
-
55
- h4 {
56
- color: #333;
57
- margin-bottom: 10px;
58
- font-size: 14px;
59
- }
60
- }
61
- </style>
1
+ <template>
2
+ <div class="h-tab-demo">
3
+ <!-- &lt;!&ndash; XTab &ndash;&gt;-->
4
+ <!-- <a-card title="XTab">-->
5
+ <!-- <h-tab-->
6
+ <!-- configName="openPrescriptionTab"-->
7
+ <!-- serverName="af-his"-->
8
+ <!-- />-->
9
+ <!-- </a-card>-->
10
+
11
+ <!-- HFormTable -->
12
+ <a-card title="HFormTable" style="margin-top: 20px;">
13
+ <h-form-table
14
+ queryParamsName="outpatientAdviceAllCRUD"
15
+ serviceName="af-his"
16
+ />
17
+ </a-card>
18
+
19
+ <!-- HForm -->
20
+ <a-card title="HAddNativeForm" style="margin-top: 20px;">
21
+ <h-add-native-form
22
+ queryParamsName="TCMAdviceFormConfig"
23
+ serviceName="af-his"
24
+ />
25
+ </a-card>
26
+ <!-- <a-card title="HFormGroup" style="margin-top: 20px;">-->
27
+ <!-- <h-form-group-->
28
+ <!-- queryParamsName="surgeryApplicationFormGroup"-->
29
+ <!-- serviceName="af-his"-->
30
+ <!-- :left-hide="true"-->
31
+ <!-- />-->
32
+ <!-- </a-card>-->
33
+ <!-- &lt;!&ndash; HButtons &ndash;&gt;-->
34
+ <!-- <a-card title="HButtons" style="margin-top: 20px;">-->
35
+ <!-- <h-buttons-->
36
+ <!-- queryParamsName="outpatientAdviceGroup"-->
37
+ <!-- serviceName="af-his"-->
38
+ <!-- />-->
39
+ <!-- </a-card>-->
40
+ </div>
41
+ </template>
42
+
43
+ <script setup>
44
+ // import HTab from './HTab/HTab.vue'
45
+ import HFormTable from './HFormTable/HFormTable.vue'
46
+ // import HButtons from './HButtons/HButtons.vue'
47
+ import HAddNativeForm from '@vue2-client/base-client/components/common/HIS/HAddNativeForm/HAddNativeForm.vue'
48
+ // import HFormGroup from './HFormGroup/HFormGroup.vue'
49
+ </script>
50
+
51
+ <style scoped lang="less">
52
+ .h-tab-demo {
53
+ padding: 20px;
54
+
55
+ h4 {
56
+ color: #333;
57
+ margin-bottom: 10px;
58
+ font-size: 14px;
59
+ }
60
+ }
61
+ </style>