vue2-client 1.16.70 → 1.16.72
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/.claude/settings.local.json +20 -20
- package/.cursor/commands/release.md +39 -0
- package/.cursorrules +19 -19
- package/.env.apply +19 -19
- package/.env.gaslink +19 -19
- package/.env.his +19 -19
- package/.env.liuli +20 -20
- package/.env.scada +19 -19
- package/.eslintrc.js +90 -90
- package/CHANGELOG.md +830 -824
- package/CLAUDE.md +97 -97
- package/Components.md +60 -60
- package/docs/LowCode/lowcode.md +155 -155
- package/docs/LowCode/lowcodeForDeveloper.md +230 -230
- package/docs/index.md +30 -30
- package/index.js +31 -31
- package/jest-transform-stub.js +8 -8
- package/jest.setup.js +7 -7
- package/jsconfig.json +19 -19
- package/package.json +1 -1
- package/public/his/editor/editor.html +51 -51
- package/public/his/editor/mock/bind_data.html +779 -779
- package/public/his/editor/mock/data_table.html +40 -40
- package/public/his/editor/mock/sign.html +75 -75
- package/public/his/editor/vender/JsBarcode.all.js +3669 -3669
- package/public/his/editor/vender/date97/My97DatePicker.htm +65 -65
- package/public/his/editor/vender/date97/WdatePicker.js +677 -677
- package/public/his/editor/vender/date97/calendar.js +4 -4
- package/public/his/editor/vender/date97/lang/en.js +13 -13
- package/public/his/editor/vender/date97/lang/zh-cn.js +13 -13
- package/public/his/editor/vender/date97/lang/zh-tw.js +13 -13
- package/public/his/editor/vender/date97/skin/WdatePicker.css +10 -10
- package/public/his/editor/vender/date97/skin/default/datepicker.css +328 -328
- package/public/his/editor/vender/date97/skin/ext/datepicker.css +308 -308
- package/public/his/editor/vender/date97/skin/whyGreen/datepicker.css +255 -255
- package/public/his/editor/vender/diff.js +1627 -1627
- package/public/his/editor/vender/editor.js +1 -1
- package/public/his/editor/vender/fabric.js +31187 -31187
- package/public/his/editor/vender/jquery/jquery.base64.js +190 -190
- package/public/his/editor/vender/jquery/jquery.js +10872 -10872
- package/public/his/editor/vender/jquery/jquery.print.js +255 -255
- package/public/his/editor/vender/jquery/zTreeStyle/zTreeStyle.css +96 -96
- package/public/his/editor/vender/mui/mui.min.css +4 -4
- package/public/his/editor/vender/mui/mui.min.js +5 -5
- package/public/his/editor/vender/mui/mui.picker.min.css +6 -6
- package/public/his/editor/vender/mui/mui.picker.min.js +6 -6
- package/public/his/editor/vender/qrcode.js +7 -7
- package/public/his/editor/vender/requirejs/require.js +2145 -2145
- package/public/his/editor/vender/signature/jSignature.CompressorSVG.js +518 -518
- package/public/his/editor/vender/signature/jSignature.UndoButton.js +164 -164
- package/public/his/editor/vender/signature/jSignature.js +1486 -1486
- package/public/his/editor/vender/validator.js +5094 -5094
- package/public/his/editor/vender/weui/weui.css +5659 -5659
- package/public/his/editor/vender/weui/weui.min.css +4 -4
- package/public/his/editor/vender/weui/weui.min.js +11 -11
- package/src/ReportView.js +1 -1
- package/src/assets/img/querySlotDemo.svg +15 -15
- package/src/assets/svg/badtwo.svg +1 -1
- package/src/assets/svg/goodtwo.svg +1 -1
- package/src/base-client/components/AI/AskAiBtn.vue +136 -136
- package/src/base-client/components/AI/demo.vue +31 -31
- package/src/base-client/components/common/AddressSearchCombobox/IcMapIcon.vue +16 -16
- package/src/base-client/components/common/AddressSearchCombobox/demo.vue +36 -36
- package/src/base-client/components/common/AddressSearchCombobox/ic_map.svg +6 -6
- package/src/base-client/components/common/AmapMarker/AmapPointRendering.vue +120 -120
- package/src/base-client/components/common/CitySelect/index.js +3 -3
- package/src/base-client/components/common/CitySelect/index.md +109 -109
- package/src/base-client/components/common/CreateQuery/CreateQuery.vue +669 -669
- package/src/base-client/components/common/CreateQuery/CreateQueryItem.vue +1014 -1014
- package/src/base-client/components/common/CreateQuery/index.js +3 -3
- package/src/base-client/components/common/CreateQuery/index.md +42 -42
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQuery.vue +452 -452
- package/src/base-client/components/common/CreateSimpleFormQuery/CreateSimpleFormQueryItem.vue +511 -511
- package/src/base-client/components/common/CreateSimpleFormQuery/index.js +3 -3
- package/src/base-client/components/common/CreateSimpleFormQuery/index.md +42 -42
- package/src/base-client/components/common/FormGroupEdit/index.js +3 -3
- package/src/base-client/components/common/FormGroupEdit/index.md +43 -43
- package/src/base-client/components/common/FormGroupQuery/FormGroupQuery.vue +166 -166
- package/src/base-client/components/common/FormGroupQuery/index.js +3 -3
- package/src/base-client/components/common/FormGroupQuery/index.md +43 -43
- package/src/base-client/components/common/HIS/HButtons/HButtons.vue +1 -1
- package/src/base-client/components/common/HIS/demo.vue +61 -61
- package/src/base-client/components/common/JSONToTree/jsontotree.vue +271 -271
- package/src/base-client/components/common/LowCodeComponent/LowCodeEditorModal.vue +108 -108
- package/src/base-client/components/common/LowCodeComponent/LowCodeEditorPanel.vue +413 -413
- package/src/base-client/components/common/LowCodeComponent/LowCodePageOrganization.vue +502 -502
- package/src/base-client/components/common/LowCodeComponent/LowCodeRender.vue +728 -728
- package/src/base-client/components/common/LowCodeComponent/LowCodeRenderEnter.vue +29 -29
- package/src/base-client/components/common/LowCodeComponent/LowCodeUIStore.vue +219 -219
- package/src/base-client/components/common/LowCodeComponent/modal/lowCodeAddPageModal.vue +117 -117
- package/src/base-client/components/common/LowCodeComponent/modal/lowCodeCustomJSModal.vue +80 -80
- package/src/base-client/components/common/LowCodeComponent/modal/lowCodeEventEditorModal.vue +398 -398
- package/src/base-client/components/common/LowCodeComponent/modal/lowCodeLifeCycleModal.vue +65 -65
- package/src/base-client/components/common/LowCodeComponent/modal/lowCodeLogicCallbackModal.vue +64 -64
- package/src/base-client/components/common/LowCodeComponent/modal/lowCodeLogicParamModal.vue +73 -73
- package/src/base-client/components/common/LowCodeComponent/modal/lowCodeRunFunctionParamModal.vue +76 -76
- package/src/base-client/components/common/PersonSetting/PersonSetting.vue +208 -208
- package/src/base-client/components/common/PersonSetting/index.js +3 -3
- package/src/base-client/components/common/Recording/Recording.vue +243 -243
- package/src/base-client/components/common/Recording/index.js +3 -3
- package/src/base-client/components/common/Tree/Tree.vue +149 -149
- package/src/base-client/components/common/Tree/index.js +2 -2
- package/src/base-client/components/common/Upload/Upload.vue +334 -334
- package/src/base-client/components/common/Upload/index.js +3 -3
- package/src/base-client/components/common/XAddForm/XAddForm.vue +113 -113
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +79 -5
- package/src/base-client/components/common/XAddNativeForm/demo.vue +1 -1
- package/src/base-client/components/common/XAddNativeForm/index.md +146 -146
- package/src/base-client/components/common/XAddNativeFormOA/XAddNativeFormOA.vue +304 -303
- package/src/base-client/components/common/XAddNativeFormOA/index.js +3 -3
- package/src/base-client/components/common/XAddNativeFormOA/index.md +146 -146
- package/src/base-client/components/common/XAddReport/index.js +3 -3
- package/src/base-client/components/common/XAddReport/index.md +56 -56
- package/src/base-client/components/common/XBadge/XBadge.vue +94 -94
- package/src/base-client/components/common/XButtons/XButtonDemo.vue +28 -28
- package/src/base-client/components/common/XButtons/index.js +3 -3
- package/src/base-client/components/common/XButtons/index.md +61 -61
- package/src/base-client/components/common/XCalendar/XCalendar.vue +30 -26
- package/src/base-client/components/common/XCard/XCard.vue +64 -64
- package/src/base-client/components/common/XCheckList/XCheckList.vue +106 -106
- package/src/base-client/components/common/XCheckList/XCheckListDemo.vue +41 -41
- package/src/base-client/components/common/XCollapse/XCollapse.vue +21 -21
- package/src/base-client/components/common/XDataCard/index.js +3 -3
- package/src/base-client/components/common/XDataCard/index.md +1 -1
- package/src/base-client/components/common/XDataDrawer/XDataDrawer.vue +180 -180
- package/src/base-client/components/common/XDataDrawer/index.js +3 -3
- package/src/base-client/components/common/XDataDrawer/index.md +41 -41
- package/src/base-client/components/common/XDatePicker/demo.vue +153 -153
- package/src/base-client/components/common/XDescriptions/XDescriptions.vue +174 -174
- package/src/base-client/components/common/XDescriptions/index.js +3 -3
- package/src/base-client/components/common/XDescriptions/index.md +83 -83
- package/src/base-client/components/common/XDetailsView/XDetailsView.vue +238 -238
- package/src/base-client/components/common/XDetailsView/index.js +3 -3
- package/src/base-client/components/common/XForm/XFormItem.vue +1 -0
- package/src/base-client/components/common/XForm/XStatusButton.vue +54 -54
- package/src/base-client/components/common/XForm/index.md +178 -178
- package/src/base-client/components/common/XForm/itemComponent/XClickChangeBtn/index.vue +49 -49
- package/src/base-client/components/common/XFormGroup/index.js +3 -3
- package/src/base-client/components/common/XFormGroup/index.md +38 -38
- package/src/base-client/components/common/XFormGroupDetails/XFormGroupDetails.vue +72 -72
- package/src/base-client/components/common/XFormGroupDetails/index.js +3 -3
- package/src/base-client/components/common/XFormTable/index.md +92 -92
- package/src/base-client/components/common/XLabelSelect/XLabelSelect.vue +110 -110
- package/src/base-client/components/common/XLabelSelect/XLabelSelectDemo.vue +35 -35
- package/src/base-client/components/common/XLicensePlate/XLicensePlate.vue +193 -193
- package/src/base-client/components/common/XLicensePlate/XLicensePlateDemo.vue +48 -48
- package/src/base-client/components/common/XPrint/OpenInvoice.vue +21 -21
- package/src/base-client/components/common/XPrint/PrintHtml.js +98 -98
- package/src/base-client/components/common/XPrint/css/hiPrintCss.js +359 -359
- package/src/base-client/components/common/XPrint/css/lodopCss.js +26 -26
- package/src/base-client/components/common/XPrint/css/print-lock.css +351 -351
- package/src/base-client/components/common/XPrint/index.vue +97 -97
- package/src/base-client/components/common/XReport/XReportDesign.vue +463 -463
- package/src/base-client/components/common/XReport/XReportJsonRender.vue +381 -381
- package/src/base-client/components/common/XReport/index.js +3 -3
- package/src/base-client/components/common/XReport/print.js +186 -186
- package/src/base-client/components/common/XReportDrawer/index.js +3 -3
- package/src/base-client/components/common/XReportGrid/index.js +3 -3
- package/src/base-client/components/common/XReportGrid/index.md +44 -44
- package/src/base-client/components/common/XReportSlot/XReportSlot.vue +110 -110
- package/src/base-client/components/common/XReportSlot/index.js +3 -3
- package/src/base-client/components/common/XReportSlot/index.md +48 -48
- package/src/base-client/components/common/XSimpleDescriptions/index.js +3 -3
- package/src/base-client/components/common/XSimpleDescriptions/index.md +7 -7
- package/src/base-client/components/common/XStepView/XStepView.vue +252 -252
- package/src/base-client/components/common/XStepView/index.js +3 -3
- package/src/base-client/components/common/XStepView/index.md +31 -31
- package/src/base-client/components/common/XTab/XTabDemo.vue +22 -22
- package/src/base-client/components/common/XTab/index.js +3 -3
- package/src/base-client/components/common/XTable/CustomFuncCel.vue +51 -51
- package/src/base-client/components/common/XTable/TableCellRenderer.vue +161 -161
- package/src/base-client/components/common/XTable/index.md +255 -255
- package/src/base-client/components/common/XTagGroup/index.vue +52 -52
- package/src/base-client/components/common/XTree/XTree.vue +424 -424
- package/src/base-client/components/common/XTree/index.js +3 -3
- package/src/base-client/components/common/XTree/index.md +36 -36
- package/src/base-client/components/common/XTreeOne/XTreeOne.vue +113 -113
- package/src/base-client/components/common/XTreeOne/XTreeOnePro.vue +128 -128
- package/src/base-client/components/common/richTextModal/index.vue +56 -56
- package/src/base-client/components/common/richTextModal/richDemo.vue +48 -48
- package/src/base-client/components/his/XCharge/XChargeDemo.vue +145 -145
- package/src/base-client/components/his/XCharge/testConfig.js +238 -238
- package/src/base-client/components/his/XHisEditor/index.js +3 -3
- package/src/base-client/components/his/XRadio/XRadio.vue +9 -8
- package/src/base-client/components/index.js +51 -51
- package/src/base-client/components/layout/XTreeView/XTreeView.vue +130 -130
- package/src/base-client/components/layout/XTreeView/index.js +3 -3
- package/src/base-client/components/layout/XTreeView/index.md +46 -46
- package/src/base-client/components/system/DictionaryDetailsView/DictionaryDetailsView.vue +232 -232
- package/src/base-client/components/system/LogDetailsView/LogDetailsView.vue +2 -2
- package/src/base-client/components/system/QueryParamsDetailsView/QueryParamsDetailsView.vue +281 -281
- package/src/base-client/plugins/Config.js +19 -19
- package/src/base-client/plugins/GetLoginInfoService.js +183 -183
- package/src/base-client/plugins/Recording.js +258 -258
- package/src/base-client/plugins/index.js +23 -23
- package/src/base-client/plugins/tabs-page-plugin.js +39 -39
- package/src/components/Charts/Bar.vue +62 -62
- package/src/components/Charts/ChartCard.vue +134 -134
- package/src/components/Charts/Liquid.vue +67 -67
- package/src/components/Charts/MiniArea.vue +39 -39
- package/src/components/Charts/MiniBar.vue +39 -39
- package/src/components/Charts/MiniProgress.vue +75 -75
- package/src/components/Charts/MiniSmoothArea.vue +40 -40
- package/src/components/Charts/Radar.vue +68 -68
- package/src/components/Charts/RankList.vue +77 -77
- package/src/components/Charts/TagCloud.vue +113 -113
- package/src/components/Charts/TransferBar.vue +64 -64
- package/src/components/Charts/Trend.vue +82 -82
- package/src/components/Charts/chart.less +12 -12
- package/src/components/Charts/smooth.area.less +13 -13
- package/src/components/CodeMirror/inedx.vue +118 -118
- package/src/components/CodeMirror/setting.js +40 -40
- package/src/components/NumberInfo/NumberInfo.vue +54 -54
- package/src/components/NumberInfo/index.js +3 -3
- package/src/components/NumberInfo/index.less +54 -54
- package/src/components/NumberInfo/index.md +43 -43
- package/src/components/card/ChartCard.vue +79 -79
- package/src/components/chart/Bar.vue +60 -60
- package/src/components/chart/MiniArea.vue +67 -67
- package/src/components/chart/MiniBar.vue +59 -59
- package/src/components/chart/MiniProgress.vue +57 -57
- package/src/components/chart/Radar.vue +80 -80
- package/src/components/chart/RankingList.vue +60 -60
- package/src/components/chart/Trend.vue +79 -79
- package/src/components/chart/index.less +9 -9
- package/src/components/checkbox/ColorCheckbox.vue +157 -157
- package/src/components/checkbox/ImgCheckbox.vue +117 -117
- package/src/components/checkbox/ImgCheckboxGroup.vue +76 -76
- package/src/components/checkbox/index.js +9 -9
- package/src/components/exception/ExceptionPage.vue +70 -70
- package/src/components/g2Charts/constants.js +202 -202
- package/src/components/g2Charts/demo.vue +808 -808
- package/src/components/g2Charts/designer.vue +228 -228
- package/src/components/g2Charts/designerBaseConfig.vue +61 -61
- package/src/components/g2Charts/designerDataConfig.vue +259 -259
- package/src/components/g2Charts/designerStyleConfig.vue +16 -16
- package/src/components/g2Charts/index.vue +397 -397
- package/src/components/index.js +36 -36
- package/src/components/input/IInput.vue +66 -66
- package/src/components/menu/SideMenu.vue +75 -75
- package/src/components/menu/menu.js +273 -273
- package/src/components/setting/Setting.vue +234 -234
- package/src/components/tool/AStepItem.vue +60 -60
- package/src/config/default/antd.config.js +89 -89
- package/src/config/default/setting.config.js +55 -55
- package/src/font-style/font.css +60 -60
- package/src/layouts/CommonLayout.vue +56 -56
- package/src/layouts/PageLayout.vue +151 -151
- package/src/layouts/SinglePageView.vue +136 -136
- package/src/layouts/header/AdminHeader.vue +132 -132
- package/src/layouts/header/HeaderNotice.vue +177 -177
- package/src/layouts/header/InstitutionDetail.vue +181 -181
- package/src/layouts/tabs/TabsHead.vue +189 -189
- package/src/lib.js +1 -1
- package/src/mock/extend/index.js +84 -84
- package/src/mock/goods/index.js +108 -108
- package/src/pages/DefaultExample/index.vue +77 -77
- package/src/pages/DynamicStatistics/ChartSelector.vue +331 -331
- package/src/pages/DynamicStatistics/DataTabs.vue +83 -83
- package/src/pages/DynamicStatistics/DynamicTable.vue +128 -128
- package/src/pages/DynamicStatistics/EvaluationArea.vue +69 -69
- package/src/pages/DynamicStatistics/FavoriteList.vue +50 -50
- package/src/pages/DynamicStatistics/QuestionHistoryAndFavorites.vue +591 -591
- package/src/pages/DynamicStatistics/SearchBar.vue +192 -192
- package/src/pages/DynamicStatistics/index.vue +282 -282
- package/src/pages/Example/childIndex.vue +15 -15
- package/src/pages/Example/index.vue +30 -30
- package/src/pages/NewDynamicStatistics/ChartSelector.vue +331 -331
- package/src/pages/NewDynamicStatistics/DataTabs.vue +122 -122
- package/src/pages/NewDynamicStatistics/DynamicTable.vue +128 -128
- package/src/pages/NewDynamicStatistics/EvaluationArea.vue +69 -69
- package/src/pages/NewDynamicStatistics/FavoriteList.vue +50 -50
- package/src/pages/NewDynamicStatistics/QuestionHistoryAndFavorites.vue +289 -289
- package/src/pages/NewDynamicStatistics/SearchBar.vue +193 -193
- package/src/pages/NewDynamicStatistics/index.vue +258 -258
- package/src/pages/Recording/index.vue +77 -77
- package/src/pages/ServiceReview/index.vue +284 -284
- package/src/pages/SubExample/index.vue +26 -26
- package/src/pages/WorkflowDetail/WorkflowPageDetail/TrimTextTail.vue +23 -23
- package/src/pages/XReportView/index.vue +64 -64
- package/src/pages/dashboard/index.vue +25 -0
- package/src/pages/dashboard/workplace/WorkPlace.vue +141 -141
- package/src/pages/login/Login.vue +379 -379
- package/src/pages/login/LoginV3.vue +389 -389
- package/src/pages/lowCode/lowCodeEditor.vue +1219 -1219
- package/src/pages/lowCode/lowCodeRenderPage.vue +43 -43
- package/src/pages/report/ReportTable.js +124 -124
- package/src/pages/resourceManage/orgListManage.vue +98 -98
- package/src/pages/system/dictionary/index.vue +44 -44
- package/src/pages/system/monitor/loginInfor/index.vue +37 -37
- package/src/pages/system/monitor/operLog/index.vue +37 -37
- package/src/pages/system/settings/modifyPassword.vue +117 -117
- package/src/pages/system/ticket/index.vue +480 -480
- package/src/pages/system/ticket/submitTicketSuccess.vue +484 -484
- package/src/pages/userInfoDetailManage/ChangeMeterRecordQuery/index.vue +64 -64
- package/src/pages/userInfoDetailManage/InfoChangeRecordQuery/index.vue +64 -64
- package/src/pages/userInfoDetailManage/InstructRecordQuery/index.vue +64 -64
- package/src/pages/userInfoDetailManage/MeterParamRecordQuery/index.vue +64 -64
- package/src/pages/userInfoDetailManage/TransferRecordQuery/index.vue +66 -66
- package/src/pages/userInfoDetailManage/WatchCollectionRecordQuery/index.vue +64 -64
- package/src/plugins/EventLogPlugin.js +33 -33
- package/src/plugins/FindParentsData.js +17 -17
- package/src/router/async/config.async.js +1 -0
- package/src/router/async/router.map.js +2 -0
- package/src/router/index.js +1 -1
- package/src/services/DataModel.js +30 -30
- package/src/services/LodopFuncs.js +137 -137
- package/src/services/api/TicketDetailsViewApi.js +46 -46
- package/src/services/api/cas.js +79 -79
- package/src/services/api/entity.js +18 -18
- package/src/services/api/index.js +17 -17
- package/src/store/modules/account.js +115 -115
- package/src/store/modules/index.js +5 -5
- package/src/store/modules/lowCode.js +33 -33
- package/src/store/modules/setting.js +119 -119
- package/src/theme/default/style.less +58 -58
- package/src/utils/authority-utils.js +85 -85
- package/src/utils/errorCode.js +6 -6
- package/src/utils/formatter.js +74 -74
- package/src/utils/htmlToPDF.js +108 -108
- package/src/utils/htmlToPDFApi.js +5 -5
- package/src/utils/login.js +188 -188
- package/src/utils/lowcode/lowcodeComponentMixin.js +120 -120
- package/src/utils/lowcode/lowcodeLog.js +29 -29
- package/src/utils/lowcode/lowcodeUtils.js +373 -373
- package/src/utils/lowcode/registerComponentForEditor.js +1 -1
- package/src/utils/lowcode/registerComponentForRender.js +11 -11
- package/src/utils/map-utils.js +47 -47
- package/src/utils/reg.js +95 -95
- package/src/utils/runEvalFunction.js +14 -14
- package/src/utils/theme-color-replacer-extend.js +92 -92
- package/src/utils/util.js +329 -329
- package/src/utils/waterMark.js +31 -31
- package//350/277/201/347/247/273/346/227/245/345/277/227.md +15 -15
|
@@ -3,260 +3,260 @@
|
|
|
3
3
|
|
|
4
4
|
// 1. 完整功能配置 - 混合支付手动模式(带图标和徽章)
|
|
5
5
|
export const testChargeConfig = {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
title: '结算-收费方式', // 使用XTitle组件显示标题
|
|
7
|
+
amountFields: [
|
|
8
8
|
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
field: 'f_amount',
|
|
10
|
+
disabled: false,
|
|
11
|
+
label: '费用总额'
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
field: 'f_insurance_amount',
|
|
15
|
+
disabled: true,
|
|
16
|
+
label: '医保支付'
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
field: 'f_self_amount',
|
|
20
|
+
disabled: true,
|
|
21
|
+
label: '自费金额'
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
field: 'out_of_pocket_amount',
|
|
25
|
+
disabled: true,
|
|
26
|
+
label: '自付金额'
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
field: 'biscount_amount',
|
|
30
|
+
disabled: true,
|
|
31
|
+
label: '折扣金额'
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
field: 'billing_amount',
|
|
35
|
+
disabled: true,
|
|
36
|
+
label: '记账金额'
|
|
37
37
|
}
|
|
38
38
|
],
|
|
39
|
-
|
|
39
|
+
paymentMethods: [
|
|
40
40
|
{
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
key: '医保卡',
|
|
42
|
+
label: '医保卡',
|
|
43
|
+
icon: '/img/paymentMethod/medical-card.png'
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
key: '微信/支付宝',
|
|
47
|
+
label: '微信/支付宝',
|
|
48
|
+
icon: '/img/paymentMethod/wechat-alipay.png'
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
key: '银行卡',
|
|
52
|
+
label: '银行卡',
|
|
53
|
+
icon: '/img/paymentMethod/bank-card.png'
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
key: '现金',
|
|
57
|
+
label: '现金',
|
|
58
|
+
icon: '/img/paymentMethod/cash.png'
|
|
59
59
|
}
|
|
60
60
|
],
|
|
61
|
-
|
|
61
|
+
bottomFields: [
|
|
62
62
|
{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
field: 'f_balance',
|
|
64
|
+
label: '账户余额',
|
|
65
|
+
disabled: false
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
field: 'received',
|
|
69
|
+
label: '实收',
|
|
70
|
+
disabled: false
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
field: 'change',
|
|
74
|
+
label: '找零',
|
|
75
|
+
disabled: false
|
|
76
76
|
}
|
|
77
77
|
],
|
|
78
|
-
|
|
78
|
+
actionButtons: [
|
|
79
79
|
{
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
key: 'charge',
|
|
81
|
+
label: '收费',
|
|
82
|
+
icon: 'check'
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
key: 'refund',
|
|
86
|
+
label: '退费',
|
|
87
|
+
icon: 'undo'
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
key: 'print',
|
|
91
|
+
label: '打印',
|
|
92
|
+
icon: 'printer'
|
|
93
93
|
}
|
|
94
94
|
],
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
enableMixedPayment: true, // 启用混合支付
|
|
96
|
+
mixedPaymentMode: 'manual', // 混合支付模式:'manual'手动输入,'auto'自动模式
|
|
97
97
|
// 可配置事件名,参考 fronImport 风格
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
98
|
+
eventNames: {
|
|
99
|
+
method: 'method',
|
|
100
|
+
methods: 'methods',
|
|
101
|
+
totalPaymentAmount: 'totalPaymentAmount',
|
|
102
|
+
action: 'action'
|
|
103
103
|
},
|
|
104
|
-
|
|
104
|
+
dataSourceConfig: 'testChargeLogic'
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
// 2. 混合支付自动模式配置(外部控制金额分配)
|
|
108
108
|
export const testAutoMixedChargeConfig = {
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
title: '自动收费管理',
|
|
110
|
+
amountFields: [
|
|
111
111
|
{
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
field: 'f_amount',
|
|
113
|
+
disabled: false,
|
|
114
|
+
label: '费用总额'
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
field: 'f_insurance_amount',
|
|
118
|
+
disabled: true,
|
|
119
|
+
label: '医保支付'
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
field: 'f_self_amount',
|
|
123
|
+
disabled: true,
|
|
124
|
+
label: '自费金额'
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
127
|
+
field: 'out_of_pocket_amount',
|
|
128
|
+
disabled: true,
|
|
129
|
+
label: '自付金额'
|
|
130
130
|
}
|
|
131
131
|
],
|
|
132
|
-
|
|
132
|
+
paymentMethods: [
|
|
133
133
|
{
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
key: '医保卡',
|
|
135
|
+
label: '医保卡',
|
|
136
|
+
icon: 'icon1'
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
key: '微信/支付宝',
|
|
140
|
+
label: '微信/支付宝',
|
|
141
|
+
icons: ['icon1', 'icon1']
|
|
142
142
|
},
|
|
143
143
|
{
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
key: '银行卡',
|
|
145
|
+
label: '银行卡',
|
|
146
|
+
icon: 'icon1'
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
149
|
+
key: '现金',
|
|
150
|
+
label: '现金',
|
|
151
|
+
icon: 'icon1'
|
|
152
152
|
}
|
|
153
153
|
],
|
|
154
|
-
|
|
154
|
+
bottomFields: [
|
|
155
155
|
{
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
field: 'f_balance',
|
|
157
|
+
label: '账户余额',
|
|
158
|
+
disabled: false
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
field: 'received',
|
|
162
|
+
label: '实收',
|
|
163
|
+
disabled: false
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
166
|
+
field: 'change',
|
|
167
|
+
label: '找零',
|
|
168
|
+
disabled: false
|
|
169
169
|
}
|
|
170
170
|
],
|
|
171
|
-
|
|
171
|
+
actionButtons: [
|
|
172
172
|
{
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
key: 'charge',
|
|
174
|
+
label: '收费',
|
|
175
|
+
icon: 'check'
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
178
|
+
key: 'refund',
|
|
179
|
+
label: '退费',
|
|
180
|
+
icon: 'undo'
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
key: 'print',
|
|
184
|
+
label: '打印',
|
|
185
|
+
icon: 'printer'
|
|
186
186
|
}
|
|
187
187
|
],
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
188
|
+
enableMixedPayment: true, // 启用混合支付
|
|
189
|
+
mixedPaymentMode: 'auto', // 自动模式:不需要手动输入金额,由外部控制
|
|
190
|
+
eventNames: {
|
|
191
|
+
method: 'method',
|
|
192
|
+
methods: 'methods',
|
|
193
|
+
totalPaymentAmount: 'totalPaymentAmount',
|
|
194
|
+
action: 'action'
|
|
195
195
|
},
|
|
196
|
-
|
|
196
|
+
dataSourceConfig: 'testChargeLogic'
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
// 3. 单选模式配置(传统单选支付方式)
|
|
200
200
|
export const testSingleChargeConfig = {
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
title: '简单收费',
|
|
202
|
+
amountFields: [
|
|
203
203
|
{
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
field: 'f_amount',
|
|
205
|
+
disabled: false,
|
|
206
|
+
label: '费用总额'
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
209
|
+
field: 'f_insurance_amount',
|
|
210
|
+
disabled: true,
|
|
211
|
+
label: '医保支付'
|
|
212
212
|
}
|
|
213
213
|
],
|
|
214
|
-
|
|
214
|
+
paymentMethods: [
|
|
215
215
|
{
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
216
|
+
key: '医保卡',
|
|
217
|
+
label: '医保卡',
|
|
218
|
+
icon: 'icon2'
|
|
219
219
|
},
|
|
220
220
|
{
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
221
|
+
key: '现金',
|
|
222
|
+
label: '现金',
|
|
223
|
+
icon: 'icon1'
|
|
224
224
|
}
|
|
225
225
|
],
|
|
226
|
-
|
|
226
|
+
bottomFields: [
|
|
227
227
|
{
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
field: 'received',
|
|
229
|
+
label: '实收',
|
|
230
|
+
disabled: false
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
field: 'change',
|
|
234
|
+
label: '找零',
|
|
235
|
+
disabled: false
|
|
236
236
|
}
|
|
237
237
|
],
|
|
238
|
-
|
|
238
|
+
actionButtons: [
|
|
239
239
|
{
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
240
|
+
key: 'charge',
|
|
241
|
+
label: '收费',
|
|
242
|
+
icon: 'check'
|
|
243
243
|
}
|
|
244
244
|
],
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
245
|
+
enableMixedPayment: false, // 禁用混合支付(单选模式)
|
|
246
|
+
eventNames: {
|
|
247
|
+
method: 'method',
|
|
248
|
+
methods: 'methods',
|
|
249
|
+
totalPaymentAmount: 'totalPaymentAmount',
|
|
250
|
+
action: 'action'
|
|
251
251
|
},
|
|
252
|
-
|
|
252
|
+
dataSourceConfig: 'testChargeLogic'
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
// 4. 最小配置示例(仅必需字段)
|
|
256
256
|
export const testMinimalConfig = {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
257
|
+
title: '最小配置',
|
|
258
|
+
enableMixedPayment: true,
|
|
259
|
+
paymentMethods: [
|
|
260
260
|
{
|
|
261
261
|
key: '医保卡',
|
|
262
262
|
label: '医保卡',
|
|
@@ -268,164 +268,164 @@ export const testMinimalConfig = {
|
|
|
268
268
|
icon: 'icon1'
|
|
269
269
|
}
|
|
270
270
|
],
|
|
271
|
-
|
|
271
|
+
amountFields: [
|
|
272
272
|
{ field: 'f_amount', label: '费用总额' }
|
|
273
273
|
],
|
|
274
|
-
|
|
274
|
+
bottomFields: [
|
|
275
275
|
{ field: 'received', label: '实收' },
|
|
276
276
|
{ field: 'change', label: '找零' }
|
|
277
277
|
],
|
|
278
|
-
|
|
278
|
+
actionButtons: [
|
|
279
279
|
{ key: 'charge', label: '收费' }
|
|
280
280
|
]
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
// 5. 高级配置示例(包含所有可选字段)
|
|
284
284
|
export const testAdvancedConfig = {
|
|
285
|
-
|
|
286
|
-
|
|
285
|
+
title: '高级收费管理',
|
|
286
|
+
amountFields: [
|
|
287
287
|
{
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
288
|
+
field: 'f_amount',
|
|
289
|
+
disabled: false,
|
|
290
|
+
label: '费用总额'
|
|
291
291
|
},
|
|
292
292
|
{
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
293
|
+
field: 'f_insurance_amount',
|
|
294
|
+
disabled: true,
|
|
295
|
+
label: '医保支付'
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
298
|
+
field: 'f_self_amount',
|
|
299
|
+
disabled: true,
|
|
300
|
+
label: '自费金额'
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
303
|
+
field: 'out_of_pocket_amount',
|
|
304
|
+
disabled: true,
|
|
305
|
+
label: '自付金额'
|
|
306
306
|
},
|
|
307
307
|
{
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
308
|
+
field: 'biscount_amount',
|
|
309
|
+
disabled: true,
|
|
310
|
+
label: '折扣金额'
|
|
311
311
|
},
|
|
312
312
|
{
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
313
|
+
field: 'billing_amount',
|
|
314
|
+
disabled: true,
|
|
315
|
+
label: '记账金额'
|
|
316
316
|
}
|
|
317
317
|
],
|
|
318
|
-
|
|
318
|
+
paymentMethods: [
|
|
319
319
|
{
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
320
|
+
key: '医保卡',
|
|
321
|
+
label: '医保卡',
|
|
322
|
+
icon: '/img/paymentMethod/medical-card.png'
|
|
323
323
|
},
|
|
324
324
|
{
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
325
|
+
key: '微信',
|
|
326
|
+
label: '微信支付',
|
|
327
|
+
icon: '/img/paymentMethod/wechat.png'
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
330
|
+
key: '支付宝',
|
|
331
|
+
label: '支付宝',
|
|
332
|
+
icon: '/img/paymentMethod/alipay.png'
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
335
|
+
key: '银行卡',
|
|
336
|
+
label: '银行卡',
|
|
337
|
+
icon: '/img/paymentMethod/bank-card.png'
|
|
338
338
|
},
|
|
339
339
|
{
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
340
|
+
key: '现金',
|
|
341
|
+
label: '现金',
|
|
342
|
+
icon: '/img/paymentMethod/cash.png'
|
|
343
343
|
},
|
|
344
344
|
{
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
345
|
+
key: '其他',
|
|
346
|
+
label: '其他方式',
|
|
347
|
+
icon: '/img/paymentMethod/other.png'
|
|
348
348
|
}
|
|
349
349
|
],
|
|
350
|
-
|
|
350
|
+
bottomFields: [
|
|
351
351
|
{
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
352
|
+
field: 'f_balance',
|
|
353
|
+
label: '账户余额',
|
|
354
|
+
disabled: false
|
|
355
355
|
},
|
|
356
356
|
{
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
357
|
+
field: 'received',
|
|
358
|
+
label: '实收',
|
|
359
|
+
disabled: false
|
|
360
360
|
},
|
|
361
361
|
{
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
362
|
+
field: 'change',
|
|
363
|
+
label: '找零',
|
|
364
|
+
disabled: false
|
|
365
365
|
},
|
|
366
366
|
{
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
367
|
+
field: 'discount',
|
|
368
|
+
label: '优惠金额',
|
|
369
|
+
disabled: false
|
|
370
370
|
}
|
|
371
371
|
],
|
|
372
|
-
|
|
372
|
+
actionButtons: [
|
|
373
373
|
{
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
374
|
+
key: 'charge',
|
|
375
|
+
label: '收费',
|
|
376
|
+
icon: 'check'
|
|
377
377
|
},
|
|
378
378
|
{
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
379
|
+
key: 'refund',
|
|
380
|
+
label: '退费',
|
|
381
|
+
icon: 'undo'
|
|
382
382
|
},
|
|
383
383
|
{
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
384
|
+
key: 'print',
|
|
385
|
+
label: '打印',
|
|
386
|
+
icon: 'printer'
|
|
387
387
|
},
|
|
388
388
|
{
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
389
|
+
key: 'save',
|
|
390
|
+
label: '保存',
|
|
391
|
+
icon: 'save'
|
|
392
392
|
}
|
|
393
393
|
],
|
|
394
|
-
|
|
395
|
-
|
|
394
|
+
enableMixedPayment: true,
|
|
395
|
+
mixedPaymentMode: 'manual',
|
|
396
396
|
// 自定义事件名
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
397
|
+
eventNames: {
|
|
398
|
+
method: 'onPaymentMethodChange',
|
|
399
|
+
methods: 'onPaymentMethodsChange',
|
|
400
|
+
totalPaymentAmount: 'onTotalAmountChange',
|
|
401
|
+
action: 'onActionClick'
|
|
402
402
|
},
|
|
403
|
-
|
|
403
|
+
dataSourceConfig: 'advancedChargeLogic'
|
|
404
404
|
}
|
|
405
405
|
|
|
406
406
|
// 6. 无图标配置示例(测试占位符功能)
|
|
407
407
|
export const testNoIconConfig = {
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
408
|
+
title: '无图标测试',
|
|
409
|
+
enableMixedPayment: true,
|
|
410
|
+
paymentMethods: [
|
|
411
411
|
{
|
|
412
|
-
|
|
413
|
-
|
|
412
|
+
key: '方式一',
|
|
413
|
+
label: '方式一'
|
|
414
414
|
// 无icon配置,将显示首字母占位符
|
|
415
415
|
},
|
|
416
416
|
{
|
|
417
|
-
|
|
418
|
-
|
|
417
|
+
key: '方式二',
|
|
418
|
+
label: '方式二'
|
|
419
419
|
// 无icon配置,将显示首字母占位符
|
|
420
420
|
}
|
|
421
421
|
],
|
|
422
|
-
|
|
422
|
+
amountFields: [
|
|
423
423
|
{ field: 'f_amount', label: '费用总额' }
|
|
424
424
|
],
|
|
425
|
-
|
|
425
|
+
bottomFields: [
|
|
426
426
|
{ field: 'received', label: '实收' }
|
|
427
427
|
],
|
|
428
|
-
|
|
428
|
+
actionButtons: [
|
|
429
429
|
{ key: 'charge', label: '收费' }
|
|
430
430
|
]
|
|
431
431
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import XHisEditor from './XHisEditor.vue'
|
|
2
|
-
|
|
3
|
-
export default XHisEditor
|
|
1
|
+
import XHisEditor from './XHisEditor.vue'
|
|
2
|
+
|
|
3
|
+
export default XHisEditor
|