vue2-client 1.18.35 → 1.18.36
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 +1 -1
- package/src/base-client/components/common/AmapMarker/index.js +3 -3
- package/src/base-client/components/common/CitySelect/CitySelect.vue +9 -1
- package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +22 -0
- package/src/base-client/components/common/XAddNativeForm/demo.vue +2 -7
- package/src/base-client/components/common/XDescriptions/XDescriptions.vue +174 -174
- package/src/base-client/components/common/XDetailsView/index.js +3 -3
- package/src/base-client/components/common/XFormGroupDetails/index.js +3 -3
- package/src/base-client/components/common/XSimpleDescriptions/XSimpleDescriptions.vue +166 -166
- package/src/config/CreateQueryConfig.js +325 -325
- package/src/pages/WorkflowDetail/WorkFlowDemo.vue +1 -1
- package/src/pages/XTreeOneProExample/index.vue +67 -67
- package/src/router/async/router.map.js +2 -2
- package/tests/unit/a.log +0 -0
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<x-tree-view ref="xTreeView" @itemChecked="itemChecked">
|
|
3
|
-
<x-add-native-form ref="nativeForm" />
|
|
4
|
-
</x-tree-view>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
|
|
9
|
-
import XTreeView from '@vue2-client/base-client/components/layout/XTreeView'
|
|
10
|
-
import { mapState } from 'vuex'
|
|
11
|
-
import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
|
|
12
|
-
import { getConfigByName } from '@vue2-client/services/api/common'
|
|
13
|
-
|
|
14
|
-
export default {
|
|
15
|
-
components: {
|
|
16
|
-
XAddNativeForm,
|
|
17
|
-
XTreeView,
|
|
18
|
-
},
|
|
19
|
-
data () {
|
|
20
|
-
return {
|
|
21
|
-
currentItem: undefined,
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
computed: {
|
|
25
|
-
...mapState('account', { currUser: 'user' }),
|
|
26
|
-
...mapState('setting', ['isMobile'])
|
|
27
|
-
},
|
|
28
|
-
mounted () {
|
|
29
|
-
this.initView()
|
|
30
|
-
},
|
|
31
|
-
methods: {
|
|
32
|
-
// 初始化组件
|
|
33
|
-
initView () {
|
|
34
|
-
this.$refs.xTreeView.init({
|
|
35
|
-
configName: 'templateTreeConfig',
|
|
36
|
-
serviceName: 'af-his',
|
|
37
|
-
env: 'dev',
|
|
38
|
-
})
|
|
39
|
-
},
|
|
40
|
-
itemChecked (node) {
|
|
41
|
-
this.currentItem = node
|
|
42
|
-
if (node.type === 'all' || node.type === 'folder') {
|
|
43
|
-
this.$refs.nativeForm.close()
|
|
44
|
-
return
|
|
45
|
-
}
|
|
46
|
-
getConfigByName('编辑模板数据Form', 'af-his', (res) => {
|
|
47
|
-
this.$refs.nativeForm.init({
|
|
48
|
-
serviceName: 'af-his',
|
|
49
|
-
formItems: res.formJson,
|
|
50
|
-
showSubmitBtn: false,
|
|
51
|
-
title: '收费',
|
|
52
|
-
businessType: '新增',
|
|
53
|
-
getDataParams: {
|
|
54
|
-
content: {
|
|
55
|
-
pms_patient_id: 1,
|
|
56
|
-
template_id: node.id
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
})
|
|
60
|
-
})
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
</script>
|
|
65
|
-
|
|
66
|
-
<style>
|
|
67
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<x-tree-view ref="xTreeView" @itemChecked="itemChecked">
|
|
3
|
+
<x-add-native-form ref="nativeForm" />
|
|
4
|
+
</x-tree-view>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
|
|
9
|
+
import XTreeView from '@vue2-client/base-client/components/layout/XTreeView'
|
|
10
|
+
import { mapState } from 'vuex'
|
|
11
|
+
import XAddNativeForm from '@vue2-client/base-client/components/common/XAddNativeForm/XAddNativeForm.vue'
|
|
12
|
+
import { getConfigByName } from '@vue2-client/services/api/common'
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
components: {
|
|
16
|
+
XAddNativeForm,
|
|
17
|
+
XTreeView,
|
|
18
|
+
},
|
|
19
|
+
data () {
|
|
20
|
+
return {
|
|
21
|
+
currentItem: undefined,
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
computed: {
|
|
25
|
+
...mapState('account', { currUser: 'user' }),
|
|
26
|
+
...mapState('setting', ['isMobile'])
|
|
27
|
+
},
|
|
28
|
+
mounted () {
|
|
29
|
+
this.initView()
|
|
30
|
+
},
|
|
31
|
+
methods: {
|
|
32
|
+
// 初始化组件
|
|
33
|
+
initView () {
|
|
34
|
+
this.$refs.xTreeView.init({
|
|
35
|
+
configName: 'templateTreeConfig',
|
|
36
|
+
serviceName: 'af-his',
|
|
37
|
+
env: 'dev',
|
|
38
|
+
})
|
|
39
|
+
},
|
|
40
|
+
itemChecked (node) {
|
|
41
|
+
this.currentItem = node
|
|
42
|
+
if (node.type === 'all' || node.type === 'folder') {
|
|
43
|
+
this.$refs.nativeForm.close()
|
|
44
|
+
return
|
|
45
|
+
}
|
|
46
|
+
getConfigByName('编辑模板数据Form', 'af-his', (res) => {
|
|
47
|
+
this.$refs.nativeForm.init({
|
|
48
|
+
serviceName: 'af-his',
|
|
49
|
+
formItems: res.formJson,
|
|
50
|
+
showSubmitBtn: false,
|
|
51
|
+
title: '收费',
|
|
52
|
+
businessType: '新增',
|
|
53
|
+
getDataParams: {
|
|
54
|
+
content: {
|
|
55
|
+
pms_patient_id: 1,
|
|
56
|
+
template_id: node.id
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
})
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
</script>
|
|
65
|
+
|
|
66
|
+
<style>
|
|
67
|
+
</style>
|
|
@@ -56,12 +56,12 @@ path: 'example',
|
|
|
56
56
|
// component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
|
|
57
57
|
// component: () => import('@vue2-client/base-client/components/his/HChart/demo.vue'),
|
|
58
58
|
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
|
59
|
-
|
|
59
|
+
component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
|
60
60
|
// component: () => import('@vue2-client/components/xScrollBox/example.vue'),
|
|
61
61
|
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
|
62
62
|
// component: () => import('@vue2-client/pages/addressSelect/addressDemo.vue'),
|
|
63
63
|
// component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
|
|
64
|
-
component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
|
64
|
+
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
|
65
65
|
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
|
66
66
|
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
|
67
67
|
// component: () => import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo.vue'),
|
package/tests/unit/a.log
DELETED
|
File without changes
|