vue2-client 1.13.26 → 1.13.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.
Files changed (23) hide show
  1. package/package.json +107 -107
  2. package/src/base-client/components/common/XDescriptions/XDescriptions.vue +174 -174
  3. package/src/base-client/components/common/XDescriptions/XDescriptionsGroup.vue +314 -314
  4. package/src/base-client/components/common/XFormTable/XFormTable.vue +874 -874
  5. package/src/base-client/components/common/XFormTable/demo.vue +1 -1
  6. package/src/base-client/components/common/XReportGrid/XReport.vue +1 -1
  7. package/src/base-client/components/common/XReportGrid/XReportDemo.vue +44 -44
  8. package/src/base-client/components/common/XSimpleDescriptions/XSimpleDescriptions.vue +166 -166
  9. package/src/base-client/components/common/XTable/XTable.vue +19 -1
  10. package/src/base-client/components/common/XTable/XTableWrapper.vue +144 -7
  11. package/src/base-client/components/his/XSelect/XSelect.vue +72 -72
  12. package/src/base-client/components/his/XTimeSelect/XTimeSelect.vue +131 -131
  13. package/src/base-client/components/his/XTitle/XTitle.vue +62 -62
  14. package/src/base-client/components/layout/XPageView/XPageView.vue +155 -155
  15. package/src/base-client/plugins/AppData.js +126 -126
  16. package/src/config/CreateQueryConfig.js +325 -325
  17. package/src/pages/AMisDemo/AMisDemo2.vue +74 -91
  18. package/src/pages/ReportGrid/index.vue +76 -76
  19. package/src/pages/WorkflowDetail/WorkflowPageDetail/WorkFlowHandle.vue +875 -876
  20. package/src/pages/XTreeOneProExample/index.vue +67 -67
  21. package/src/router/async/router.map.js +119 -127
  22. package/src/base-client/components/common/XCollapse/XCollapseDemo.vue +0 -15
  23. package/vue2-client.iml +0 -9
@@ -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>
@@ -1,127 +1,119 @@
1
- const { homePage } = require('../../config')
2
- // 视图组件
3
- const view = {
4
- tabs: () => import('@vue2-client/layouts/tabs'),
5
- blank: () => import('@vue2-client/layouts/BlankView'),
6
- page: () => import('@vue2-client/layouts/PageView'),
7
- // his-web$ceshiGrid?type=GridView&configName=RxPreparedMed
8
- gridView: () => import('@vue2-client/layouts/GridView'),
9
- login: () => import('@vue2-client/pages/login/Login'),
10
- loginv3: () => import('@vue2-client/pages/login/LoginV3')
11
- }
12
- // 动态路由对象定义
13
- const routerResource = {}
14
- // --------------------------------------基本视图组件--------------------------------------
15
- // 空白视图
16
- routerResource.blank = view.blank
17
- // 单页面视图
18
- routerResource.singlePage = view.blank
19
- // 栅格配置视图
20
- routerResource.gridView = view.gridView
21
-
22
- // --------------------------------------仪表盘--------------------------------------
23
- routerResource.dashboard = view.blank
24
- // 工作台
25
- routerResource.workplace = () =>
26
- import('@vue2-client/pages/dashboard/workplace')
27
- // --------------------------------------系统配置--------------------------------------
28
- routerResource.system = view.blank
29
- // 字典管理
30
- routerResource.dictionaryManage = () => import('@vue2-client/pages/system/dictionary')
31
- // 文件管理
32
- routerResource.fileManager = () => import('@vue2-client/pages/system/file')
33
- // 登录日志
34
- routerResource.loginInfor = () => import('@vue2-client/pages/system/monitor/loginInfor')
35
- // 操作日志
36
- routerResource.operLog = () => import('@vue2-client/pages/system/monitor/operLog')
37
- // 系统问题反馈工单
38
- routerResource.submitTicket = () => import('@vue2-client/pages/system/ticket')
39
- // 通用服务评价
40
- routerResource.ServiceReview = () => import('@vue2-client/pages/ServiceReview')
41
- // 系统设置
42
- routerResource.settings = () => import('@vue2-client/pages/system/settings')
43
- // AMIS示例页面
44
- routerResource.amisDemo = () => import('@vue2-client/pages/AMisDemo/AMisDemo')
45
- // 页面编辑器
46
- routerResource.editablePage = () => import('@vue2-client/pages/lowCode/lowCodeEditor.vue')
47
- // 数据检索
48
- routerResource.dynamicStatistics = () => import('@vue2-client/pages/DynamicStatistics')
49
- // 数据检索(新)
50
- routerResource.newDynamicStatistics = () => import('@vue2-client/pages/NewDynamicStatistics')
51
- // 示例页面
52
- routerResource.example = {
53
- path: 'example',
54
- name: '示例主页面',
55
- // component: () => import('@vue2-client/base-client/components/his/XTimeSelect/XTimeSelect.vue'),
56
- // component: () => import('@vue2-client/base-client/components/common/XInput/XInput.vue'),
57
- component: () => import('@vue2-client/base-client/components/his/XTitle/XTitle.vue'),
58
- // component: () => import('@vue2-client/base-client/components/his/XSelect/XSelect.vue'),
59
- // component: () => import('@vue2-client/base-client/components/his/XRadio/XRadio.vue'),
60
- // component: () => import('@vue2-client/base-client/components/his/XList/XList.vue'),
61
- // component: () => import('@vue2-client/base-client/components/common/XCollapse/XCollapse.vue'),
62
- // component: () => import('@vue2-client/base-client/components/common/XDataCard/XDataCard.vue'),
63
- // component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
64
- // component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
65
- // component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
66
- // component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
67
- // component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
68
- // component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
69
- // component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
70
- // component: () => import('@vue2-client/base-client/components/common/XRate/demo.vue'),
71
- // component: () => import('@vue2-client/base-client/components/common/XForm/demo.vue'),
72
- // component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
73
- // component: () => import('@vue2-client/base-client/components/common/XConversation/XConversationDemo.vue'),
74
- // component: () => import('@vue2-client/base-client/components/common/XButtons/XButtonDemo.vue'),
75
- // component: () => import('@vue2-client/base-client/components/common/XLabelSelect/XLabelSelectDemo.vue'),
76
- // component: () => import('@vue2-client/base-client/components/common/XCheckList/XCheckList.vue'),
77
- // component: () => import('@vue2-client/base-client/components/common/XPrint/Demo.vue'),
78
- // component: () => import('@vue2-client/base-client/components/AI/demo.vue'),
79
- // component: () => import('@vue2-client/components/g2Charts/demo.vue'),
80
- // component: () => import('@vue2-client/pages/LogicCallExample/index.vue'),
81
- // component: () => import('@vue2-client/components/FilePreview/FilePreviewDemo.vue'),
82
- // component: () => import('@vue2-client/pages/ReportGrid/index.vue')
83
- }
84
- // routerResource.example = () =>
85
- // import('@vue2-client/pages/Example')
86
- routerResource.XReportView = () => import('@vue2-client/pages/XReportView')
87
-
88
- routerResource.XReportGrid = () => import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo')
89
-
90
- routerResource.XTab = () => import('@vue2-client/base-client/components/common/XTab/XTabDemo')
91
-
92
- // 基础路由组件注册
93
- const routerMap = {
94
- login: {
95
- authority: '*',
96
- path: '/login',
97
- component: process.env.VUE_APP_LOGIN_VERSION === 'V3'
98
- ? view.loginv3 : view.login
99
- },
100
- root: {
101
- path: '/',
102
- name: '首页',
103
- redirect: homePage,
104
- component: process.env.VUE_APP_SINGLE_PAPER === 'TRUE' ? view.blank : view.tabs,
105
- },
106
- exp403: {
107
- authority: '*',
108
- name: 'exp403',
109
- path: '403',
110
- component: () =>
111
- import('@vue2-client/pages/exception/403')
112
- },
113
- exp404: {
114
- name: 'exp404',
115
- path: '404',
116
- component: () =>
117
- import('@vue2-client/pages/exception/404')
118
- },
119
- exp500: {
120
- name: 'exp500',
121
- path: '500',
122
- component: () =>
123
- import('@vue2-client/pages/exception/500')
124
- }
125
- }
126
- Object.assign(routerMap, routerResource)
127
- export default routerMap
1
+ const { homePage } = require('../../config')
2
+ // 视图组件
3
+ const view = {
4
+ tabs: () => import('@vue2-client/layouts/tabs'),
5
+ blank: () => import('@vue2-client/layouts/BlankView'),
6
+ page: () => import('@vue2-client/layouts/PageView'),
7
+ // his-web$ceshiGrid?type=GridView&configName=RxPreparedMed
8
+ gridView: () => import('@vue2-client/layouts/GridView'),
9
+ login: () => import('@vue2-client/pages/login/Login'),
10
+ loginv3: () => import('@vue2-client/pages/login/LoginV3')
11
+ }
12
+ // 动态路由对象定义
13
+ const routerResource = {}
14
+ // --------------------------------------基本视图组件--------------------------------------
15
+ // 空白视图
16
+ routerResource.blank = view.blank
17
+ // 单页面视图
18
+ routerResource.singlePage = view.blank
19
+ // 栅格配置视图
20
+ routerResource.gridView = view.gridView
21
+
22
+ // --------------------------------------仪表盘--------------------------------------
23
+ routerResource.dashboard = view.blank
24
+ // 工作台
25
+ routerResource.workplace = () =>
26
+ import('@vue2-client/pages/dashboard/workplace')
27
+ // --------------------------------------系统配置--------------------------------------
28
+ routerResource.system = view.blank
29
+ // 字典管理
30
+ routerResource.dictionaryManage = () => import('@vue2-client/pages/system/dictionary')
31
+ // 文件管理
32
+ routerResource.fileManager = () => import('@vue2-client/pages/system/file')
33
+ // 登录日志
34
+ routerResource.loginInfor = () => import('@vue2-client/pages/system/monitor/loginInfor')
35
+ // 操作日志
36
+ routerResource.operLog = () => import('@vue2-client/pages/system/monitor/operLog')
37
+ // 系统问题反馈工单
38
+ routerResource.submitTicket = () => import('@vue2-client/pages/system/ticket')
39
+ // 通用服务评价
40
+ routerResource.ServiceReview = () => import('@vue2-client/pages/ServiceReview')
41
+ // 系统设置
42
+ routerResource.settings = () => import('@vue2-client/pages/system/settings')
43
+ // AMIS示例页面
44
+ routerResource.amisDemo = () => import('@vue2-client/pages/AMisDemo/AMisDemo')
45
+ // 页面编辑器
46
+ routerResource.editablePage = () => import('@vue2-client/pages/lowCode/lowCodeEditor.vue')
47
+ // 数据检索
48
+ routerResource.dynamicStatistics = () => import('@vue2-client/pages/DynamicStatistics')
49
+ // 数据检索(新)
50
+ routerResource.newDynamicStatistics = () => import('@vue2-client/pages/NewDynamicStatistics')
51
+ // 示例页面
52
+ routerResource.example = {
53
+ path: 'example',
54
+ name: '示例主页面',
55
+ // component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
56
+ // component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
57
+ // component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
58
+ // component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
59
+ component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
60
+ // component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
61
+ // component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
62
+ // component: () => import('@vue2-client/base-client/components/common/XRate/demo.vue'),
63
+ // component: () => import('@vue2-client/base-client/components/common/XForm/demo.vue'),
64
+ // component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
65
+ // component: () => import('@vue2-client/base-client/components/common/XConversation/XConversationDemo.vue'),
66
+ // component: () => import('@vue2-client/base-client/components/common/XButtons/XButtonDemo.vue'),
67
+ // component: () => import('@vue2-client/base-client/components/common/XLabelSelect/XLabelSelectDemo.vue'),
68
+ // component: () => import('@vue2-client/base-client/components/common/XCheckList/XCheckList.vue'),
69
+ // component: () => import('@vue2-client/base-client/components/common/XPrint/Demo.vue'),
70
+ // component: () => import('@vue2-client/base-client/components/AI/demo.vue'),
71
+ // component: () => import('@vue2-client/components/g2Charts/demo.vue'),
72
+ // component: () => import('@vue2-client/pages/LogicCallExample/index.vue'),
73
+ // component: () => import('@vue2-client/components/FilePreview/FilePreviewDemo.vue'),
74
+ // component: () => import('@vue2-client/pages/ReportGrid/index.vue'),
75
+ }
76
+ // routerResource.example = () =>
77
+ // import('@vue2-client/pages/Example')
78
+ routerResource.XReportView = () => import('@vue2-client/pages/XReportView')
79
+
80
+ routerResource.XReportGrid = () => import('@vue2-client/base-client/components/common/XReportGrid/XReportDemo')
81
+
82
+ routerResource.XTab = () => import('@vue2-client/base-client/components/common/XTab/XTabDemo')
83
+
84
+ // 基础路由组件注册
85
+ const routerMap = {
86
+ login: {
87
+ authority: '*',
88
+ path: '/login',
89
+ component: process.env.VUE_APP_LOGIN_VERSION === 'V3'
90
+ ? view.loginv3 : view.login
91
+ },
92
+ root: {
93
+ path: '/',
94
+ name: '首页',
95
+ redirect: homePage,
96
+ component: process.env.VUE_APP_SINGLE_PAPER === 'TRUE' ? view.blank : view.tabs,
97
+ },
98
+ exp403: {
99
+ authority: '*',
100
+ name: 'exp403',
101
+ path: '403',
102
+ component: () =>
103
+ import('@vue2-client/pages/exception/403')
104
+ },
105
+ exp404: {
106
+ name: 'exp404',
107
+ path: '404',
108
+ component: () =>
109
+ import('@vue2-client/pages/exception/404')
110
+ },
111
+ exp500: {
112
+ name: 'exp500',
113
+ path: '500',
114
+ component: () =>
115
+ import('@vue2-client/pages/exception/500')
116
+ }
117
+ }
118
+ Object.assign(routerMap, routerResource)
119
+ export default routerMap
@@ -1,15 +0,0 @@
1
- <template>
2
- <x-collapse :query-params-name="openPrescriptionConfig" />
3
- </template>
4
-
5
- <script>
6
- import XCollapse from '@vue2-client/base-client/components/common/XCollapse/XCollapse.vue'
7
- export default {
8
- name: 'Demo',
9
- components: { XCollapse }
10
- }
11
- </script>
12
-
13
- <style scoped>
14
-
15
- </style>
package/vue2-client.iml DELETED
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
6
- <orderEntry type="inheritedJdk" />
7
- <orderEntry type="sourceFolder" forTests="false" />
8
- </component>
9
- </module>