vue2-client 1.16.52 → 1.16.54
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.
- package/package.json +112 -112
- package/src/assets/svg/female.svg +1 -1
- package/src/assets/svg/male.svg +1 -1
- package/src/base-client/components/common/HIS/HButtons/HButtons.vue +1 -1
- package/src/base-client/components/common/HIS/HForm/HForm.vue +18 -4
- package/src/base-client/components/common/HIS/HFormGroup/HFormGroup.vue +120 -120
- package/src/base-client/components/common/HIS/HFormGroup/index.js +3 -3
- package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +379 -379
- package/src/base-client/components/common/HIS/demo.vue +61 -61
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +18 -1
- package/src/base-client/components/common/XCollapse/XCollapse.vue +461 -461
- package/src/base-client/components/common/XInput/XInput.vue +147 -147
- package/src/base-client/components/common/XReportGrid/XReportTrGroup.vue +824 -824
- package/src/base-client/components/common/XTable/XTable.vue +1610 -1610
- package/src/base-client/components/common/XTable/XTableWrapper.vue +1 -0
- package/src/base-client/components/common/XTimeline/XTimeline.vue +454 -454
- package/src/base-client/components/his/XHisEditor/XHisEditor.vue +705 -705
- package/src/base-client/components/his/XList/XList.vue +829 -829
- package/src/base-client/components/his/threeTestOrders/editor.vue +113 -113
- package/src/pages/userInfoDetailManage/ExceptionRecordQuery/index.vue +45 -45
- package/src/router/async/router.map.js +129 -132
- package/src/assets/img/paymentMethod/icon1.png +0 -0
- package/src/assets/img/paymentMethod/icon2.png +0 -0
- package/src/assets/img/paymentMethod/icon3.png +0 -0
- package/src/assets/img/paymentMethod/icon4.png +0 -0
- package/src/assets/img/paymentMethod/icon5.png +0 -0
- package/src/assets/img/paymentMethod/icon6.png +0 -0
- package/src/base-client/components/common/XReport/XReportHospitalizationDemo.vue +0 -45
- package/src/base-client/components/his/XCharge/testConfig.js +0 -149
@@ -1,61 +1,61 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="h-tab-demo">
|
3
|
-
<!-- <!– XTab –>-->
|
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
|
-
<!-- <!– HButtons –>-->
|
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
|
+
<!-- <!– XTab –>-->
|
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
|
+
<!-- <!– HButtons –>-->
|
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>
|
@@ -186,7 +186,13 @@ export default {
|
|
186
186
|
default: null
|
187
187
|
}
|
188
188
|
},
|
189
|
-
props: {
|
189
|
+
props: {
|
190
|
+
// 是否启用 horizontal 模式的自定义配置
|
191
|
+
enableHorizontalCustom: {
|
192
|
+
type: Boolean,
|
193
|
+
default: false
|
194
|
+
}
|
195
|
+
},
|
190
196
|
data () {
|
191
197
|
return {
|
192
198
|
DEFAULT_GROUP_NAME,
|
@@ -324,6 +330,17 @@ export default {
|
|
324
330
|
},
|
325
331
|
formItemLayoutGen () {
|
326
332
|
if (this.layout === 'horizontal') {
|
333
|
+
// 如果启用了自定义配置,从 formItemLayout 读取(支持 0 值)
|
334
|
+
if (this.enableHorizontalCustom && this.formItemLayout) {
|
335
|
+
return {
|
336
|
+
labelCol: {
|
337
|
+
span: (this.formItemLayout.labelCol ?? 4),
|
338
|
+
offset: (this.formItemLayout.offset ?? 2)
|
339
|
+
},
|
340
|
+
wrapperCol: { span: (this.formItemLayout.wrapperCol ?? 14) },
|
341
|
+
}
|
342
|
+
}
|
343
|
+
// 默认配置
|
327
344
|
return {
|
328
345
|
labelCol: { span: 4, offset: 2 },
|
329
346
|
wrapperCol: { span: 14 },
|