vue2-client 1.16.22 → 1.16.24
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/base-client/components/common/HIS/HAddNativeForm/HAddNativeForm.vue +478 -478
- package/src/base-client/components/common/HIS/HAddNativeForm/index.js +3 -3
- package/src/base-client/components/common/HIS/HButtons/HButtons.vue +365 -365
- package/src/base-client/components/common/HIS/HFormTable/HFormTable.vue +219 -219
- package/src/base-client/components/common/HIS/HTab/HTab.vue +293 -293
- package/src/base-client/components/common/HIS/demo.vue +54 -54
- package/src/base-client/components/common/XReportGrid/XReportTrGroup.vue +813 -813
- package/src/base-client/components/his/XCharge/XCharge.vue +610 -610
- package/src/base-client/components/his/XSidebar/XSidebar.vue +283 -283
- package/src/base-client/components/his/XSimpleTable/XSimpleTable.vue +119 -119
- package/src/base-client/components/his/XTimeSelect/XTimeSelect.vue +200 -153
- package/src/base-client/components/his/threeTestOrders/threeTestOrders.vue +482 -481
- package/src/router/async/router.map.js +129 -130
- package/src/services/api/common.js +0 -1
- 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/his/XCharge/testConfig.js +0 -149
@@ -1,130 +1,129 @@
|
|
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 = () => import('@vue2-client/layouts/GridView')
|
21
|
-
// 测试
|
22
|
-
routerResource.businessQuery = view.blank
|
23
|
-
// 业务查询 - 收费查询
|
24
|
-
routerResource.chargeQuery = () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue')
|
25
|
-
// --------------------------------------仪表盘--------------------------------------
|
26
|
-
routerResource.dashboard = view.blank
|
27
|
-
// 工作台
|
28
|
-
routerResource.workplace = () =>
|
29
|
-
import('@vue2-client/pages/dashboard/workplace')
|
30
|
-
// --------------------------------------系统配置--------------------------------------
|
31
|
-
routerResource.system = view.blank
|
32
|
-
// 字典管理
|
33
|
-
routerResource.dictionaryManage = () => import('@vue2-client/pages/system/dictionary')
|
34
|
-
// 文件管理
|
35
|
-
routerResource.fileManager = () => import('@vue2-client/pages/system/file')
|
36
|
-
// 登录日志
|
37
|
-
routerResource.loginInfor = () => import('@vue2-client/pages/system/monitor/loginInfor')
|
38
|
-
// 操作日志
|
39
|
-
routerResource.operLog = () => import('@vue2-client/pages/system/monitor/operLog')
|
40
|
-
// 系统问题反馈工单
|
41
|
-
routerResource.submitTicket = () => import('@vue2-client/pages/system/ticket')
|
42
|
-
// 通用服务评价
|
43
|
-
routerResource.ServiceReview = () => import('@vue2-client/pages/ServiceReview')
|
44
|
-
// 系统设置
|
45
|
-
routerResource.settings = () => import('@vue2-client/pages/system/settings')
|
46
|
-
// 页面编辑器
|
47
|
-
routerResource.editablePage = () => import('@vue2-client/pages/lowCode/lowCodeEditor.vue')
|
48
|
-
// 数据检索
|
49
|
-
routerResource.dynamicStatistics = () => import('@vue2-client/pages/DynamicStatistics')
|
50
|
-
// 数据检索(新)
|
51
|
-
routerResource.newDynamicStatistics = () => import('@vue2-client/pages/NewDynamicStatistics')
|
52
|
-
// 示例页面
|
53
|
-
routerResource.example = {
|
54
|
-
path: 'example',
|
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
|
-
// component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
|
60
|
-
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
61
|
-
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
62
|
-
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
63
|
-
// component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
64
|
-
// component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
|
65
|
-
// component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
|
66
|
-
// component: () => import('@vue2-client/base-client/components/common/XRate/demo.vue'),
|
67
|
-
// component: () => import('@vue2-client/base-client/components/common/XForm/demo.vue'),
|
68
|
-
// component: () => import('@vue2-client/base-client/components/his/XTimeSelect/XTimeSelectDemo.vue'),
|
69
|
-
component: () => import('@vue2-client/base-client/components/his/
|
70
|
-
// component: () => import('@vue2-client/
|
71
|
-
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
72
|
-
// component: () => import('@vue2-client/pages/
|
73
|
-
// component: () => import('@vue2-client/
|
74
|
-
// component: () => import('@vue2-client/base-client/components/common/
|
75
|
-
// component: () => import('@vue2-client/base-client/components/common/
|
76
|
-
// component: () => import('@vue2-client/base-client/components/common/
|
77
|
-
// component: () => import('@vue2-client/base-client/components/
|
78
|
-
// component: () => import('@vue2-client/
|
79
|
-
// component: () => import('@vue2-client/
|
80
|
-
// component: () => import('@vue2-client/
|
81
|
-
// component: () => import('@vue2-client/
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
//
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
routerResource.
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
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 = () => import('@vue2-client/layouts/GridView')
|
21
|
+
// 测试
|
22
|
+
routerResource.businessQuery = view.blank
|
23
|
+
// 业务查询 - 收费查询
|
24
|
+
routerResource.chargeQuery = () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue')
|
25
|
+
// --------------------------------------仪表盘--------------------------------------
|
26
|
+
routerResource.dashboard = view.blank
|
27
|
+
// 工作台
|
28
|
+
routerResource.workplace = () =>
|
29
|
+
import('@vue2-client/pages/dashboard/workplace')
|
30
|
+
// --------------------------------------系统配置--------------------------------------
|
31
|
+
routerResource.system = view.blank
|
32
|
+
// 字典管理
|
33
|
+
routerResource.dictionaryManage = () => import('@vue2-client/pages/system/dictionary')
|
34
|
+
// 文件管理
|
35
|
+
routerResource.fileManager = () => import('@vue2-client/pages/system/file')
|
36
|
+
// 登录日志
|
37
|
+
routerResource.loginInfor = () => import('@vue2-client/pages/system/monitor/loginInfor')
|
38
|
+
// 操作日志
|
39
|
+
routerResource.operLog = () => import('@vue2-client/pages/system/monitor/operLog')
|
40
|
+
// 系统问题反馈工单
|
41
|
+
routerResource.submitTicket = () => import('@vue2-client/pages/system/ticket')
|
42
|
+
// 通用服务评价
|
43
|
+
routerResource.ServiceReview = () => import('@vue2-client/pages/ServiceReview')
|
44
|
+
// 系统设置
|
45
|
+
routerResource.settings = () => import('@vue2-client/pages/system/settings')
|
46
|
+
// 页面编辑器
|
47
|
+
routerResource.editablePage = () => import('@vue2-client/pages/lowCode/lowCodeEditor.vue')
|
48
|
+
// 数据检索
|
49
|
+
routerResource.dynamicStatistics = () => import('@vue2-client/pages/DynamicStatistics')
|
50
|
+
// 数据检索(新)
|
51
|
+
routerResource.newDynamicStatistics = () => import('@vue2-client/pages/NewDynamicStatistics')
|
52
|
+
// 示例页面
|
53
|
+
routerResource.example = {
|
54
|
+
path: 'example',
|
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
|
+
// component: () => import('@vue2-client/base-client/components/common/XDescriptions/demo.vue'),
|
60
|
+
// component: () => import('@vue2-client/base-client/components/common/XAddNativeForm/demo.vue'),
|
61
|
+
// component: () => import('@vue2-client/base-client/components/common/XFormGroup/demo.vue'),
|
62
|
+
// component: () => import('@vue2-client/base-client/components/common/XReport/XReportDemo.vue'),
|
63
|
+
// component: () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue'),
|
64
|
+
// component: () => import('@vue2-client/base-client/components/common/XDatePicker/demo.vue'),
|
65
|
+
// component: () => import('@vue2-client/base-client/components/common/XTab/XTabDemo.vue'),
|
66
|
+
// component: () => import('@vue2-client/base-client/components/common/XRate/demo.vue'),
|
67
|
+
// component: () => import('@vue2-client/base-client/components/common/XForm/demo.vue'),
|
68
|
+
// component: () => import('@vue2-client/base-client/components/his/XTimeSelect/XTimeSelectDemo.vue'),
|
69
|
+
// component: () => import('@vue2-client/base-client/components/his/XImportExcelButton/XFrontImportExcelDemo.vue'),
|
70
|
+
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
71
|
+
// component: () => import('@vue2-client/pages/WorkflowDetail/WorkFlowDemo.vue'),
|
72
|
+
// component: () => import('@vue2-client/pages/XPageViewExample/index.vue'),
|
73
|
+
// component: () => import('@vue2-client/base-client/components/common/XButtons/XButtonDemo.vue'),
|
74
|
+
// component: () => import('@vue2-client/base-client/components/common/XLabelSelect/XLabelSelectDemo.vue'),
|
75
|
+
// component: () => import('@vue2-client/base-client/components/common/XCheckList/XCheckList.vue'),
|
76
|
+
// component: () => import('@vue2-client/base-client/components/common/XPrint/Demo.vue'),
|
77
|
+
// component: () => import('@vue2-client/base-client/components/AI/demo.vue'),
|
78
|
+
// component: () => import('@vue2-client/components/g2Charts/demo.vue'),
|
79
|
+
// component: () => import('@vue2-client/pages/LogicCallExample/index.vue'),
|
80
|
+
// component: () => import('@vue2-client/components/FilePreview/FilePreviewDemo.vue'),
|
81
|
+
// component: () => import('@vue2-client/pages/ReportGrid/index.vue'),
|
82
|
+
component: () => import('@vue2-client/base-client/components/common/HIS/demo.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
|
+
routerResource.addressManage = () => import('@vue2-client/base-client/components/common/XFormTable/demo.vue')
|
92
|
+
|
93
|
+
// 基础路由组件注册
|
94
|
+
const routerMap = {
|
95
|
+
login: {
|
96
|
+
authority: '*',
|
97
|
+
path: '/login',
|
98
|
+
component: process.env.VUE_APP_LOGIN_VERSION === 'V3'
|
99
|
+
? view.loginv3 : view.login
|
100
|
+
},
|
101
|
+
root: {
|
102
|
+
path: '/',
|
103
|
+
name: '首页',
|
104
|
+
// 只有在非微前端环境下才进行重定向,或者通过环境变量控制
|
105
|
+
redirect: window.__MICRO_APP_ENVIRONMENT__ ? undefined : homePage,
|
106
|
+
component: process.env.VUE_APP_SINGLE_PAPER === 'TRUE' ? view.blank : view.tabs,
|
107
|
+
},
|
108
|
+
exp403: {
|
109
|
+
authority: '*',
|
110
|
+
name: 'exp403',
|
111
|
+
path: '403',
|
112
|
+
component: () =>
|
113
|
+
import('@vue2-client/pages/exception/403')
|
114
|
+
},
|
115
|
+
exp404: {
|
116
|
+
name: 'exp404',
|
117
|
+
path: '404',
|
118
|
+
component: () =>
|
119
|
+
import('@vue2-client/pages/exception/404')
|
120
|
+
},
|
121
|
+
exp500: {
|
122
|
+
name: 'exp500',
|
123
|
+
path: '500',
|
124
|
+
component: () =>
|
125
|
+
import('@vue2-client/pages/exception/500')
|
126
|
+
}
|
127
|
+
}
|
128
|
+
Object.assign(routerMap, routerResource)
|
129
|
+
export default routerMap
|
@@ -79,7 +79,6 @@ export function getConfig (content, configName, serviceName = process.env.VUE_AP
|
|
79
79
|
apiPre = '/devApi/'
|
80
80
|
}
|
81
81
|
const getConfigUrl = apiPre + serviceName + '/' + commonApi.getConfig
|
82
|
-
console.log('getConfigUrl', getConfigUrl)
|
83
82
|
indexedDB.getByWeb(configName, getConfigUrl, { configName: configName }, callback)
|
84
83
|
}
|
85
84
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,149 +0,0 @@
|
|
1
|
-
// 测试配置 - 用于演示混合支付功能
|
2
|
-
export const testChargeConfig = {
|
3
|
-
"amountFields": [
|
4
|
-
{
|
5
|
-
"field": 'f_amount',
|
6
|
-
"disabled": false,
|
7
|
-
"label": '费用总额'
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"field": 'f_insurance_amount',
|
11
|
-
"disabled": true,
|
12
|
-
"label": '医保支付'
|
13
|
-
},
|
14
|
-
{
|
15
|
-
"field": 'f_self_amount',
|
16
|
-
"disabled": true,
|
17
|
-
"label": '自费金额'
|
18
|
-
},
|
19
|
-
{
|
20
|
-
"field": 'out_of_pocket_amount',
|
21
|
-
"disabled": true,
|
22
|
-
"label": '自付金额'
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"field": 'biscount_amount',
|
26
|
-
"disabled": true,
|
27
|
-
"label": '折扣金额'
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"field": 'billing_amount',
|
31
|
-
"disabled": true,
|
32
|
-
"label": '记账金额'
|
33
|
-
}
|
34
|
-
],
|
35
|
-
"paymentMethods": [
|
36
|
-
{
|
37
|
-
"key": '医保卡',
|
38
|
-
"label": '医保卡'
|
39
|
-
},
|
40
|
-
{
|
41
|
-
"key": '微信/支付宝',
|
42
|
-
"label": '微信/支付宝'
|
43
|
-
},
|
44
|
-
{
|
45
|
-
"key": '银行卡',
|
46
|
-
"label": '银行卡'
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"key": '现金',
|
50
|
-
"label": '现金'
|
51
|
-
}
|
52
|
-
],
|
53
|
-
"bottomFields": [
|
54
|
-
{
|
55
|
-
"field": 'f_balance',
|
56
|
-
"label": '账户余额',
|
57
|
-
"disabled": false
|
58
|
-
},
|
59
|
-
{
|
60
|
-
"field": 'received',
|
61
|
-
"label": '实收',
|
62
|
-
"disabled": false
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"field": 'change',
|
66
|
-
"label": '找零',
|
67
|
-
"disabled": false
|
68
|
-
}
|
69
|
-
],
|
70
|
-
"actionButtons": [
|
71
|
-
{
|
72
|
-
"key": 'charge',
|
73
|
-
"label": '收费',
|
74
|
-
"icon": 'check'
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"key": 'refund',
|
78
|
-
"label": '退费',
|
79
|
-
"icon": 'undo'
|
80
|
-
},
|
81
|
-
{
|
82
|
-
"key": 'print',
|
83
|
-
"label": '打印',
|
84
|
-
"icon": 'printer'
|
85
|
-
}
|
86
|
-
],
|
87
|
-
"enableMixedPayment": true, // 启用混合支付
|
88
|
-
// 可配置事件名,参考 fronImport 风格
|
89
|
-
"eventNames": {
|
90
|
-
"method": 'method',
|
91
|
-
"methods": 'methods',
|
92
|
-
"totalPaymentAmount": 'totalPaymentAmount',
|
93
|
-
"action": 'action'
|
94
|
-
},
|
95
|
-
"dataSourceConfig": 'testChargeLogic'
|
96
|
-
}
|
97
|
-
|
98
|
-
// 单选模式测试配置
|
99
|
-
export const testSingleChargeConfig = {
|
100
|
-
"amountFields": [
|
101
|
-
{
|
102
|
-
"field": 'f_amount',
|
103
|
-
"disabled": false,
|
104
|
-
"label": '费用总额'
|
105
|
-
},
|
106
|
-
{
|
107
|
-
"field": 'f_insurance_amount',
|
108
|
-
"disabled": true,
|
109
|
-
"label": '医保支付'
|
110
|
-
}
|
111
|
-
],
|
112
|
-
"paymentMethods": [
|
113
|
-
{
|
114
|
-
"key": '医保卡',
|
115
|
-
"label": '医保卡'
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"key": '现金',
|
119
|
-
"label": '现金'
|
120
|
-
}
|
121
|
-
],
|
122
|
-
"bottomFields": [
|
123
|
-
{
|
124
|
-
"field": 'received',
|
125
|
-
"label": '实收',
|
126
|
-
"disabled": false
|
127
|
-
},
|
128
|
-
{
|
129
|
-
"field": 'change',
|
130
|
-
"label": '找零',
|
131
|
-
"disabled": false
|
132
|
-
}
|
133
|
-
],
|
134
|
-
"actionButtons": [
|
135
|
-
{
|
136
|
-
"key": 'charge',
|
137
|
-
"label": '收费',
|
138
|
-
"icon": 'check'
|
139
|
-
}
|
140
|
-
],
|
141
|
-
"enableMixedPayment": false, // 禁用混合支付(单选模式)
|
142
|
-
"eventNames": {
|
143
|
-
"method": 'method',
|
144
|
-
"methods": 'methods',
|
145
|
-
"totalPaymentAmount": 'totalPaymentAmount',
|
146
|
-
"action": 'action'
|
147
|
-
},
|
148
|
-
"dataSourceConfig": 'testChargeLogic'
|
149
|
-
}
|