vue2-client 1.15.27 → 1.15.28
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/XDescriptions/XDescriptions.vue +174 -174
- package/src/base-client/components/common/XDescriptions/XDescriptionsGroup.vue +314 -314
- 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 +201 -37
- package/src/pages/WorkflowDetail/WorkFlowDemo2.vue +97 -169
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +22 -27
- package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowPreview.vue +5 -5
- package/src/pages/XTreeOneProExample/index.vue +67 -67
- package/src/router/async/router.map.js +7 -12
- package/vue.config.js +3 -4
@@ -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>
|
@@ -50,12 +50,9 @@ routerResource.dynamicStatistics = () => import('@vue2-client/pages/DynamicStati
|
|
50
50
|
// 数据检索(新)
|
51
51
|
routerResource.newDynamicStatistics = () => import('@vue2-client/pages/NewDynamicStatistics')
|
52
52
|
// 示例页面
|
53
|
-
routerResource.
|
54
|
-
path: '
|
53
|
+
routerResource.businessAudit = {
|
54
|
+
path: 'businessAudit',
|
55
55
|
name: '示例主页面',
|
56
|
-
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo2.vue'),
|
57
|
-
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
58
|
-
component: () => import('@vue2-client/pages/addressSelect/addressDemo.vue'),
|
59
56
|
// component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
|
60
57
|
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
61
58
|
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
@@ -66,10 +63,9 @@ path: 'example',
|
|
66
63
|
// component: () => import('@vue2-client/base-client/components/common/XRate/demo.vue'),
|
67
64
|
// component: () => import('@vue2-client/base-client/components/common/XForm/demo.vue'),
|
68
65
|
// component: () => import('@vue2-client/base-client/components/his/XTimeSelect/XTimeSelectDemo.vue'),
|
69
|
-
|
70
|
-
// component: () => import('@vue2-client/
|
71
|
-
// component: () => import('@vue2-client/
|
72
|
-
// component: () => import('@vue2-client/base-client/components/common/XButtons/XButtonDemo.vue'),
|
66
|
+
component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo2.vue'),
|
67
|
+
// component: () => import('@vue2-client/base-client/components/common/XConversation/XConversationDemo.vue'),
|
68
|
+
// component: () => import('@vue2-client/base-client/components/common/XButtons/XButtonexampleDemo.vue'),
|
73
69
|
// component: () => import('@vue2-client/base-client/components/common/XLabelSelect/XLabelSelectDemo.vue'),
|
74
70
|
// component: () => import('@vue2-client/base-client/components/common/XCheckList/XCheckList.vue'),
|
75
71
|
// component: () => import('@vue2-client/base-client/components/common/XPrint/Demo.vue'),
|
@@ -98,8 +94,7 @@ const routerMap = {
|
|
98
94
|
root: {
|
99
95
|
path: '/',
|
100
96
|
name: '首页',
|
101
|
-
|
102
|
-
redirect: window.__MICRO_APP_ENVIRONMENT__ ? undefined : homePage,
|
97
|
+
redirect: homePage,
|
103
98
|
component: process.env.VUE_APP_SINGLE_PAPER === 'TRUE' ? view.blank : view.tabs,
|
104
99
|
},
|
105
100
|
exp403: {
|
@@ -113,7 +108,7 @@ const routerMap = {
|
|
113
108
|
name: 'exp404',
|
114
109
|
path: '404',
|
115
110
|
component: () =>
|
116
|
-
import('@vue2-client/pages/
|
111
|
+
import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo2')
|
117
112
|
},
|
118
113
|
exp500: {
|
119
114
|
name: 'exp500',
|
package/vue.config.js
CHANGED
@@ -11,12 +11,12 @@ const productionGzipExtensions = ['js', 'css']
|
|
11
11
|
const isProd = process.env.NODE_ENV === 'production'
|
12
12
|
|
13
13
|
// v4 产品演示
|
14
|
-
const v3Server = 'http://
|
14
|
+
const v3Server = 'http://218.93.226.210:31467'
|
15
15
|
// const gateway = 'http://192.168.50.67:31467'
|
16
16
|
// const testUpload = 'http://123.60.214.109:8406'
|
17
|
-
const OSSServerDev = 'http://
|
17
|
+
const OSSServerDev = 'http://218.93.226.210:31467'
|
18
18
|
// const revenue = 'http://aote-office.8866.org:31567'
|
19
|
-
const revenue = 'http://
|
19
|
+
const revenue = 'http://218.93.226.210:31467'
|
20
20
|
// const OSSServerProd = 'http://192.168.50.67:31351'
|
21
21
|
// const testUploadLocal = 'http://127.0.0.1:9001'
|
22
22
|
// v3 铜川
|
@@ -53,7 +53,6 @@ module.exports = {
|
|
53
53
|
changeOrigin: true
|
54
54
|
},
|
55
55
|
'/api/af-apply': {
|
56
|
-
// pathRewrite: { '^/api/af-apply': '/' },
|
57
56
|
target: revenue,
|
58
57
|
changeOrigin: true
|
59
58
|
},
|