vue2-client 1.16.81 → 1.16.82

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/index.js +3 -3
  11. package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +394 -379
  12. package/src/base-client/components/common/HIS/HTab/HTab.vue +418 -418
  13. package/src/base-client/components/common/XCollapse/XCollapse.vue +833 -833
  14. package/src/base-client/components/common/XInput/XInput.vue +194 -194
  15. package/src/base-client/components/common/XReport/XReportHospitalizationDemo.vue +45 -0
  16. package/src/base-client/components/common/XTable/XTable.vue +1610 -1610
  17. package/src/base-client/components/common/XTimeline/XTimeline.vue +454 -454
  18. package/src/base-client/components/his/XCheckbox/XCheckbox.vue +31 -2
  19. package/src/base-client/components/his/XHDescriptions/XHDescriptions.vue +1031 -1022
  20. package/src/base-client/components/his/XHisEditor/XHisEditor.vue +705 -705
  21. package/src/base-client/components/his/XIcon/XIcon.vue +73 -73
  22. package/src/base-client/components/his/XIcon/index.js +3 -3
  23. package/src/base-client/components/his/XIcon/index.md +177 -177
  24. package/src/base-client/components/his/XList/XList.vue +829 -829
  25. package/src/base-client/components/his/XRadio/XRadio.vue +1 -1
  26. package/src/base-client/components/his/XSimpleTable/XSimpleTable.vue +159 -159
  27. package/src/base-client/components/his/XTitle/XTitle.vue +255 -255
  28. package/src/base-client/components/his/XTreeRows/XTreeRows.vue +341 -341
  29. package/src/base-client/components/his/threeTestOrders/editor.vue +113 -113
  30. package/src/pages/userInfoDetailManage/ExceptionRecordQuery/index.vue +45 -45
  31. package/src-base-client/components/his/XCharge/XCharge.vue +0 -0
  32. /package/src-base-client/components/{common/XCollapse/XCollapse.vue → his/XCharge/README.md} +0 -0
@@ -313,7 +313,7 @@ export default {
313
313
  display: flex;
314
314
  justify-content: space-between;
315
315
  }
316
- :deep(.ant-radio-wrapper-checked) > span:last-child {
316
+ :deep(.x-radio-item) > span:last-child {
317
317
  padding-right: 2px;
318
318
  padding-left: 2px;
319
319
  }
@@ -1,159 +1,159 @@
1
- <template>
2
- <div class="table-container" :style="{ height: tableHeight }">
3
- <a-table
4
- :columns="processedColumns"
5
- :dataSource="tableData"
6
- :pagination="false"
7
- :bordered="false"
8
- :rowKey="rowKey"
9
- :scroll="{ y: scrollY }"
10
- />
11
- </div>
12
- </template>
13
-
14
- <script>
15
- import { getConfigByName, runLogic } from '@vue2-client/services/api/common'
16
-
17
- export default {
18
- props: {
19
- queryParamsName: String,
20
- rowKey: {
21
- type: String,
22
- default: 'id'
23
- },
24
- parameter: {
25
- type: Object,
26
- default: () => ({})
27
- }
28
- },
29
- data () {
30
- return {
31
- columns: [],
32
- tableData: [],
33
- tableHeight: 'auto', // 默认高度
34
- scrollY: undefined
35
- }
36
- },
37
- watch: {
38
- queryParamsName: {
39
- immediate: true,
40
- handler (val) {
41
- val && this.init(val, this.parameter)
42
- }
43
- }
44
- },
45
- computed: {
46
- processedColumns () {
47
- return this.columns.map(column => ({
48
- ...column,
49
- customHeaderCell: column.headerStyle
50
- ? () => ({ style: column.headerStyle })
51
- : undefined
52
- }))
53
- }
54
- },
55
- methods: {
56
- init (config, parameterData) {
57
- getConfigByName(config, 'af-his', res => {
58
- // 从配置中获取表格高度
59
- this.tableHeight = res.tableHeight || '400px' // 默认400px
60
- this.columns = res.columns || []
61
-
62
- runLogic(res.logicName, parameterData, 'af-his').then(result => {
63
- this.tableData = result.map((item, index) => ({
64
- ...item,
65
- key: item[this.rowKey] || `row_${index}`
66
- }))
67
-
68
- this.$nextTick(() => {
69
- this.scrollY = this.tableHeight
70
- })
71
- })
72
- })
73
- }
74
- }
75
- }
76
- </script>
77
-
78
- <style scoped>
79
- /* 表格容器 */
80
- .table-container {
81
- overflow: hidden;
82
- display: flex;
83
- flex-direction: column;
84
- padding-left: 13px; /* 整体左边距 */
85
- }
86
-
87
- /* 基础无边框样式 */
88
- /deep/ .ant-table {
89
- border: none !important;
90
- flex: 1;
91
- display: flex;
92
- flex-direction: column;
93
- }
94
-
95
- /deep/ .ant-table-content {
96
- flex: 1;
97
- display: flex;
98
- flex-direction: column;
99
- }
100
-
101
- /deep/ .ant-table-body {
102
- flex: 1;
103
- overflow-y: auto !important;
104
- padding-top: 5px; /* 表头与第一行的间距 */
105
- }
106
-
107
- /* 自定义滚动条样式 */
108
- /deep/ .ant-table-body {
109
- /* Firefox */
110
- scrollbar-width: thin; /* auto | thin | none */
111
- scrollbar-color: #E5E5E5 transparent; /* thumb track */
112
- }
113
- /deep/ .ant-table-body::-webkit-scrollbar {
114
- width: 8px;
115
- height: 8px;
116
- }
117
- /deep/ .ant-table-body::-webkit-scrollbar-track {
118
- background: transparent;
119
- }
120
- /deep/ .ant-table-body::-webkit-scrollbar-thumb {
121
- background: #E5E5E5;
122
- border-radius: 25px;
123
- }
124
-
125
- /deep/ .ant-table-tbody > tr > td {
126
- border-bottom: none !important;
127
- padding: 6px !important;
128
- /* 表体字体样式 */
129
- font-family: 'Source Han Sans', sans-serif;
130
- font-size: 14px;
131
- font-weight: 400; /* normal */
132
- line-height: 18px;
133
- letter-spacing: 0em;
134
- font-optical-sizing: auto; /* 替代 font-variation-settings:"opsz" auto */
135
- font-feature-settings: 'kern' on;
136
- color: #5D5C5C;
137
- }
138
-
139
- /deep/ .ant-table-thead > tr > th {
140
- border-bottom: none !important;
141
- background: none !important;
142
- padding: 8px 6px !important;
143
- position: sticky;
144
- top: 0;
145
- z-index: 1;
146
- background-color: white !important;
147
- /* 头部字体样式 */
148
- height: 20px;
149
- opacity: 1;
150
- font-family: 'Source Han Sans', sans-serif;
151
- font-size: 14px;
152
- font-weight: 700; /* bold */
153
- line-height: normal;
154
- letter-spacing: 0em;
155
- font-optical-sizing: auto; /* 替代 font-variation-settings:"opsz" auto 以通过校验 */
156
- font-feature-settings: 'kern' on;
157
- color: #5D5C5C;
158
- }
159
- </style>
1
+ <template>
2
+ <div class="table-container" :style="{ height: tableHeight }">
3
+ <a-table
4
+ :columns="processedColumns"
5
+ :dataSource="tableData"
6
+ :pagination="false"
7
+ :bordered="false"
8
+ :rowKey="rowKey"
9
+ :scroll="{ y: scrollY }"
10
+ />
11
+ </div>
12
+ </template>
13
+
14
+ <script>
15
+ import { getConfigByName, runLogic } from '@vue2-client/services/api/common'
16
+
17
+ export default {
18
+ props: {
19
+ queryParamsName: String,
20
+ rowKey: {
21
+ type: String,
22
+ default: 'id'
23
+ },
24
+ parameter: {
25
+ type: Object,
26
+ default: () => ({})
27
+ }
28
+ },
29
+ data () {
30
+ return {
31
+ columns: [],
32
+ tableData: [],
33
+ tableHeight: 'auto', // 默认高度
34
+ scrollY: undefined
35
+ }
36
+ },
37
+ watch: {
38
+ queryParamsName: {
39
+ immediate: true,
40
+ handler (val) {
41
+ val && this.init(val, this.parameter)
42
+ }
43
+ }
44
+ },
45
+ computed: {
46
+ processedColumns () {
47
+ return this.columns.map(column => ({
48
+ ...column,
49
+ customHeaderCell: column.headerStyle
50
+ ? () => ({ style: column.headerStyle })
51
+ : undefined
52
+ }))
53
+ }
54
+ },
55
+ methods: {
56
+ init (config, parameterData) {
57
+ getConfigByName(config, 'af-his', res => {
58
+ // 从配置中获取表格高度
59
+ this.tableHeight = res.tableHeight || '400px' // 默认400px
60
+ this.columns = res.columns || []
61
+
62
+ runLogic(res.logicName, parameterData, 'af-his').then(result => {
63
+ this.tableData = result.map((item, index) => ({
64
+ ...item,
65
+ key: item[this.rowKey] || `row_${index}`
66
+ }))
67
+
68
+ this.$nextTick(() => {
69
+ this.scrollY = this.tableHeight
70
+ })
71
+ })
72
+ })
73
+ }
74
+ }
75
+ }
76
+ </script>
77
+
78
+ <style scoped>
79
+ /* 表格容器 */
80
+ .table-container {
81
+ overflow: hidden;
82
+ display: flex;
83
+ flex-direction: column;
84
+ padding-left: 13px; /* 整体左边距 */
85
+ }
86
+
87
+ /* 基础无边框样式 */
88
+ /deep/ .ant-table {
89
+ border: none !important;
90
+ flex: 1;
91
+ display: flex;
92
+ flex-direction: column;
93
+ }
94
+
95
+ /deep/ .ant-table-content {
96
+ flex: 1;
97
+ display: flex;
98
+ flex-direction: column;
99
+ }
100
+
101
+ /deep/ .ant-table-body {
102
+ flex: 1;
103
+ overflow-y: auto !important;
104
+ padding-top: 5px; /* 表头与第一行的间距 */
105
+ }
106
+
107
+ /* 自定义滚动条样式 */
108
+ /deep/ .ant-table-body {
109
+ /* Firefox */
110
+ scrollbar-width: thin; /* auto | thin | none */
111
+ scrollbar-color: #E5E5E5 transparent; /* thumb track */
112
+ }
113
+ /deep/ .ant-table-body::-webkit-scrollbar {
114
+ width: 8px;
115
+ height: 8px;
116
+ }
117
+ /deep/ .ant-table-body::-webkit-scrollbar-track {
118
+ background: transparent;
119
+ }
120
+ /deep/ .ant-table-body::-webkit-scrollbar-thumb {
121
+ background: #E5E5E5;
122
+ border-radius: 25px;
123
+ }
124
+
125
+ /deep/ .ant-table-tbody > tr > td {
126
+ border-bottom: none !important;
127
+ padding: 6px !important;
128
+ /* 表体字体样式 */
129
+ font-family: 'Source Han Sans', sans-serif;
130
+ font-size: 14px;
131
+ font-weight: 400; /* normal */
132
+ line-height: 18px;
133
+ letter-spacing: 0em;
134
+ font-optical-sizing: auto; /* 替代 font-variation-settings:"opsz" auto */
135
+ font-feature-settings: 'kern' on;
136
+ color: #5D5C5C;
137
+ }
138
+
139
+ /deep/ .ant-table-thead > tr > th {
140
+ border-bottom: none !important;
141
+ background: none !important;
142
+ padding: 8px 6px !important;
143
+ position: sticky;
144
+ top: 0;
145
+ z-index: 1;
146
+ background-color: white !important;
147
+ /* 头部字体样式 */
148
+ height: 20px;
149
+ opacity: 1;
150
+ font-family: 'Source Han Sans', sans-serif;
151
+ font-size: 14px;
152
+ font-weight: 700; /* bold */
153
+ line-height: normal;
154
+ letter-spacing: 0em;
155
+ font-optical-sizing: auto; /* 替代 font-variation-settings:"opsz" auto 以通过校验 */
156
+ font-feature-settings: 'kern' on;
157
+ color: #5D5C5C;
158
+ }
159
+ </style>