sun-biz 0.0.4-beta.5 → 0.0.4-beta.6
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/dist/components/biz-select/index.d.ts +1 -0
- package/dist/components/biz-select/tag-select/api.d.ts +28 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +382 -27
- package/dist/components/static/css/index.css +3 -3
- package/dist/index.d.ts +1 -1
- package/dist/index.js +382 -27
- package/dist/static/css/index.css +3 -3
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -1450,7 +1450,8 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1450
1450
|
return {
|
|
1451
1451
|
...item,
|
|
1452
1452
|
...findObj || {},
|
|
1453
|
-
sortable: item.sortable
|
|
1453
|
+
sortable: item.sortable,
|
|
1454
|
+
ascendFlag: findObj?.ascendFlag
|
|
1454
1455
|
};
|
|
1455
1456
|
});
|
|
1456
1457
|
sourceData.value.sort((a, b)=>a.sort - b.sort);
|
|
@@ -1802,7 +1803,7 @@ function dbgrid_component_settingvue_type_script_setup_true_lang_tsx_isSlot(s) {
|
|
|
1802
1803
|
const dbgrid_component_setting_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(dbgrid_component_settingvue_type_script_setup_true_lang_tsx, [
|
|
1803
1804
|
[
|
|
1804
1805
|
'__scopeId',
|
|
1805
|
-
"data-v-
|
|
1806
|
+
"data-v-65b0a9d0"
|
|
1806
1807
|
]
|
|
1807
1808
|
]);
|
|
1808
1809
|
/* ESM default export */ const dbgrid_component_setting = dbgrid_component_setting_exports_;
|
|
@@ -1888,20 +1889,41 @@ const EXPORT_FILE = 'export-file';
|
|
|
1888
1889
|
});
|
|
1889
1890
|
return result;
|
|
1890
1891
|
});
|
|
1892
|
+
const getRenderedContent = (render, row, value, index)=>{
|
|
1893
|
+
const tempDiv = document.createElement('div');
|
|
1894
|
+
const app = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createApp)({
|
|
1895
|
+
render () {
|
|
1896
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)('div', {}, render(row, value, row, index));
|
|
1897
|
+
}
|
|
1898
|
+
});
|
|
1899
|
+
app.use(__WEBPACK_EXTERNAL_MODULE_element_sun__["default"]);
|
|
1900
|
+
app.mount(tempDiv);
|
|
1901
|
+
const content = tempDiv.textContent || '';
|
|
1902
|
+
app.unmount();
|
|
1903
|
+
return content;
|
|
1904
|
+
};
|
|
1891
1905
|
async function exportFile(value) {
|
|
1892
1906
|
let [, res] = await exportData2File({
|
|
1893
1907
|
fileTypeCode: value,
|
|
1894
1908
|
dataSource: JSON.stringify({
|
|
1895
|
-
columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES).map((item)=>({
|
|
1909
|
+
columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && '操作' !== cur.label).map((item)=>({
|
|
1896
1910
|
columnIndex: item.prop,
|
|
1897
1911
|
columnTitle: item.label
|
|
1898
1912
|
})),
|
|
1899
1913
|
rowList: props.tableData.map((item, index)=>({
|
|
1900
1914
|
rowSequenceNo: index,
|
|
1901
|
-
rowRecordList:
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1915
|
+
rowRecordList: props.columns.filter((col)=>col.prop && col.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && '操作' !== col.label).map((col)=>{
|
|
1916
|
+
let value = item[col.prop];
|
|
1917
|
+
if ('function' == typeof col.render) try {
|
|
1918
|
+
value = getRenderedContent(col.render, item, value, index) || value;
|
|
1919
|
+
} catch (error) {
|
|
1920
|
+
console.warn(`Render function error for column ${col.prop}:`, error);
|
|
1921
|
+
}
|
|
1922
|
+
return {
|
|
1923
|
+
columnIndex: col.prop,
|
|
1924
|
+
columnValue: value
|
|
1925
|
+
};
|
|
1926
|
+
})
|
|
1905
1927
|
}))
|
|
1906
1928
|
})
|
|
1907
1929
|
});
|
|
@@ -2023,7 +2045,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
2023
2045
|
const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(TableSettingButtonvue_type_script_setup_true_lang_tsx, [
|
|
2024
2046
|
[
|
|
2025
2047
|
'__scopeId',
|
|
2026
|
-
"data-v-
|
|
2048
|
+
"data-v-d83c7b5e"
|
|
2027
2049
|
]
|
|
2028
2050
|
]);
|
|
2029
2051
|
/* ESM default export */ const TableSettingButton = TableSettingButton_exports_;
|
|
@@ -2041,6 +2063,9 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
|
|
|
2041
2063
|
},
|
|
2042
2064
|
data: {},
|
|
2043
2065
|
componentNo: {},
|
|
2066
|
+
showSetting: {
|
|
2067
|
+
type: Boolean
|
|
2068
|
+
},
|
|
2044
2069
|
rowKey: {},
|
|
2045
2070
|
tableColumns: {},
|
|
2046
2071
|
commonColumns: {},
|
|
@@ -2060,7 +2085,7 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
|
|
|
2060
2085
|
return (_ctx, _cache)=>{
|
|
2061
2086
|
const _directive_loading = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective)("loading");
|
|
2062
2087
|
return (0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, [
|
|
2063
|
-
props.componentNo ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(TableSettingButton, {
|
|
2088
|
+
props.componentNo && props.showSetting ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(TableSettingButton, {
|
|
2064
2089
|
key: 0,
|
|
2065
2090
|
"table-data": selectedData.value,
|
|
2066
2091
|
componentDesc: props.componentDesc,
|
|
@@ -2285,6 +2310,9 @@ const SELECTION = 'selection';
|
|
|
2285
2310
|
layout: {
|
|
2286
2311
|
default: 'total, sizes, prev, pager, next'
|
|
2287
2312
|
},
|
|
2313
|
+
formDisabled: {
|
|
2314
|
+
type: Boolean
|
|
2315
|
+
},
|
|
2288
2316
|
dragTips: {
|
|
2289
2317
|
default: '温馨提示:您可通过拖动进行排序'
|
|
2290
2318
|
},
|
|
@@ -2309,6 +2337,7 @@ const SELECTION = 'selection';
|
|
|
2309
2337
|
const props = __props;
|
|
2310
2338
|
const sortFieldList = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(void 0);
|
|
2311
2339
|
const exportFileFlag = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO);
|
|
2340
|
+
const showSetting = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
|
|
2312
2341
|
const componentDesc = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)('文件');
|
|
2313
2342
|
let state = (0, __WEBPACK_EXTERNAL_MODULE_vue__.reactive)({
|
|
2314
2343
|
// 表格数据
|
|
@@ -2420,6 +2449,7 @@ const SELECTION = 'selection';
|
|
|
2420
2449
|
});
|
|
2421
2450
|
if (result?.success) {
|
|
2422
2451
|
exportFileFlag.value = result.data.exportFileFlag;
|
|
2452
|
+
showSetting.value = !!result.data.componentId;
|
|
2423
2453
|
componentDesc.value = result.data.componentDesc;
|
|
2424
2454
|
try {
|
|
2425
2455
|
let column = result.data.dbgridSettingValue && JSON.parse(result.data.dbgridSettingValue) || [];
|
|
@@ -2642,6 +2672,7 @@ const SELECTION = 'selection';
|
|
|
2642
2672
|
ref_key: "formRef",
|
|
2643
2673
|
ref: formRef,
|
|
2644
2674
|
editable: _ctx.editable,
|
|
2675
|
+
disabled: props.formDisabled,
|
|
2645
2676
|
model: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(state),
|
|
2646
2677
|
class: "flex flex-1 flex-col overflow-hidden"
|
|
2647
2678
|
}, {
|
|
@@ -2652,6 +2683,7 @@ const SELECTION = 'selection';
|
|
|
2652
2683
|
componentDesc: componentDesc.value,
|
|
2653
2684
|
"common-columns": commonColumns.value,
|
|
2654
2685
|
"component-no": props.componentNo,
|
|
2686
|
+
"show-setting": showSetting.value,
|
|
2655
2687
|
"columns-setting": props.columnsSetting,
|
|
2656
2688
|
loading: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(state).loading || props.loading,
|
|
2657
2689
|
onSuccess: fetchDbgridComponent,
|
|
@@ -2678,6 +2710,7 @@ const SELECTION = 'selection';
|
|
|
2678
2710
|
"componentDesc",
|
|
2679
2711
|
"common-columns",
|
|
2680
2712
|
"component-no",
|
|
2713
|
+
"show-setting",
|
|
2681
2714
|
"columns-setting",
|
|
2682
2715
|
"loading",
|
|
2683
2716
|
"data",
|
|
@@ -2689,6 +2722,7 @@ const SELECTION = 'selection';
|
|
|
2689
2722
|
_: 3
|
|
2690
2723
|
}, 8, [
|
|
2691
2724
|
"editable",
|
|
2725
|
+
"disabled",
|
|
2692
2726
|
"model"
|
|
2693
2727
|
]),
|
|
2694
2728
|
props.pagination ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", pro_tablevue_type_script_lang_ts_setup_true_name_ProTable_hoisted_2, [
|
|
@@ -2726,6 +2760,9 @@ const Tablevue_type_script_setup_true_lang_tsx_name_Table_hoisted_1 = {
|
|
|
2726
2760
|
type: Boolean
|
|
2727
2761
|
},
|
|
2728
2762
|
componentDesc: {},
|
|
2763
|
+
showSetting: {
|
|
2764
|
+
type: Boolean
|
|
2765
|
+
},
|
|
2729
2766
|
data: {},
|
|
2730
2767
|
componentNo: {},
|
|
2731
2768
|
rowKey: {},
|
|
@@ -2747,7 +2784,7 @@ const Tablevue_type_script_setup_true_lang_tsx_name_Table_hoisted_1 = {
|
|
|
2747
2784
|
return (_ctx, _cache)=>{
|
|
2748
2785
|
const _directive_loading = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective)("loading");
|
|
2749
2786
|
return (0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, [
|
|
2750
|
-
props.componentNo ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(TableSettingButton, {
|
|
2787
|
+
props.componentNo && props.showSetting ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(TableSettingButton, {
|
|
2751
2788
|
key: 0,
|
|
2752
2789
|
"table-data": selectedData.value,
|
|
2753
2790
|
componentDesc: props.componentDesc,
|
|
@@ -2971,6 +3008,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
2971
3008
|
setup (__props, { expose: __expose, emit: __emit }) {
|
|
2972
3009
|
const props = __props;
|
|
2973
3010
|
const exportFileFlag = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO);
|
|
3011
|
+
const showSetting = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
|
|
2974
3012
|
const componentDesc = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)('文件');
|
|
2975
3013
|
let state = (0, __WEBPACK_EXTERNAL_MODULE_vue__.reactive)({
|
|
2976
3014
|
tableData: props.data,
|
|
@@ -3071,6 +3109,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
3071
3109
|
});
|
|
3072
3110
|
if (result?.success) {
|
|
3073
3111
|
exportFileFlag.value = result.data.exportFileFlag;
|
|
3112
|
+
showSetting.value = !!result.data.componentId;
|
|
3074
3113
|
componentDesc.value = result.data.componentDesc;
|
|
3075
3114
|
try {
|
|
3076
3115
|
let column = result.data.dbgridSettingValue && JSON.parse(result.data.dbgridSettingValue) || [];
|
|
@@ -3288,6 +3327,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
3288
3327
|
"export-file-flag": exportFileFlag.value,
|
|
3289
3328
|
componentDesc: componentDesc.value,
|
|
3290
3329
|
"component-no": props.componentNo,
|
|
3330
|
+
"show-setting": showSetting.value,
|
|
3291
3331
|
"columns-setting": props.columnsSetting,
|
|
3292
3332
|
loading: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(state).loading || props.loading,
|
|
3293
3333
|
onSuccess: fetchDbgridComponent,
|
|
@@ -3304,6 +3344,7 @@ const pro_table_v2vue_type_script_lang_tsx_setup_true_name_ProTable_SELECTION =
|
|
|
3304
3344
|
"export-file-flag",
|
|
3305
3345
|
"componentDesc",
|
|
3306
3346
|
"component-no",
|
|
3347
|
+
"show-setting",
|
|
3307
3348
|
"columns-setting",
|
|
3308
3349
|
"loading",
|
|
3309
3350
|
"data",
|
|
@@ -3769,6 +3810,11 @@ const defaultMoreText = "更多";
|
|
|
3769
3810
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.watchEffect)(()=>{
|
|
3770
3811
|
if (__props.maxShowNum) setRealMaxNum(__props.maxShowNum);
|
|
3771
3812
|
});
|
|
3813
|
+
// 更多按钮 文案逻辑
|
|
3814
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.watchEffect)(()=>{
|
|
3815
|
+
const activeIndex = __props.wayList?.findIndex((item)=>item.searchTypeId === __props.activeAccessWay.searchTypeId);
|
|
3816
|
+
if (__props.wayList && void 0 !== activeIndex && -1 !== activeIndex) moreButtonText.value = activeIndex > realMaxNum.value ? __props.wayList[activeIndex].bizSearchTypeNameDisplay : defaultMoreText;
|
|
3817
|
+
});
|
|
3772
3818
|
return (_ctx, _cache)=>_ctx.wayList?.length ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", {
|
|
3773
3819
|
key: 0,
|
|
3774
3820
|
class: "flex-auto",
|
|
@@ -3850,6 +3896,7 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
|
|
|
3850
3896
|
},
|
|
3851
3897
|
emits: [
|
|
3852
3898
|
"change",
|
|
3899
|
+
"input-change",
|
|
3853
3900
|
"clear"
|
|
3854
3901
|
],
|
|
3855
3902
|
setup (__props, { expose: __expose, emit: __emit }) {
|
|
@@ -4015,7 +4062,10 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
|
|
|
4015
4062
|
"active-access-way": activeAccessWay.value,
|
|
4016
4063
|
"search-loading": searchLoading.value,
|
|
4017
4064
|
"input-change": inputChange.value,
|
|
4018
|
-
onInput: _cache[1] || (_cache[1] = ()=>
|
|
4065
|
+
onInput: _cache[1] || (_cache[1] = (val)=>{
|
|
4066
|
+
inputChange.value = true;
|
|
4067
|
+
emits('input-change', val);
|
|
4068
|
+
}),
|
|
4019
4069
|
onClear: _cache[2] || (_cache[2] = ()=>emits('clear')),
|
|
4020
4070
|
onEnter: _cache[3] || (_cache[3] = ()=>{
|
|
4021
4071
|
handleAccess(activeAccessWay.value);
|
|
@@ -4408,7 +4458,7 @@ const _hoisted_12 = {
|
|
|
4408
4458
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_3, [
|
|
4409
4459
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_4, [
|
|
4410
4460
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", {
|
|
4411
|
-
class: "text-lg w-full font-bold overflow-hidden text-ellipsis whitespace-nowrap leading-
|
|
4461
|
+
class: "text-lg w-full font-bold overflow-hidden text-ellipsis whitespace-nowrap leading-7",
|
|
4412
4462
|
onMouseenter: checkTextOverflow
|
|
4413
4463
|
}, [
|
|
4414
4464
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElTooltip), {
|
|
@@ -4416,7 +4466,7 @@ const _hoisted_12 = {
|
|
|
4416
4466
|
content: bannerInfo.value?.personName
|
|
4417
4467
|
}, {
|
|
4418
4468
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
4419
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.personName ??
|
|
4469
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.personName ?? "--"), 1)
|
|
4420
4470
|
]),
|
|
4421
4471
|
_: 1
|
|
4422
4472
|
}, 8, [
|
|
@@ -4425,16 +4475,16 @@ const _hoisted_12 = {
|
|
|
4425
4475
|
])
|
|
4426
4476
|
], 32),
|
|
4427
4477
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_5, [
|
|
4428
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_6, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.age ??
|
|
4429
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_7, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.genderDesc ??
|
|
4478
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_6, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.age ?? "--"), 1),
|
|
4479
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_7, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.genderDesc ?? "--"), 1)
|
|
4430
4480
|
])
|
|
4431
4481
|
])
|
|
4432
4482
|
])
|
|
4433
4483
|
]),
|
|
4434
4484
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", _hoisted_8, [
|
|
4435
4485
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(BANNER_COMPONENT_CONFIG)[_ctx.code].bizIdTypeCode === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.BIZ_ID_TYPE_CODE).IENC_ENCOUNTER ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", _hoisted_9, [
|
|
4436
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_10, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.inpatientStatusDesc ??
|
|
4437
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.inpatientDays ??
|
|
4486
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_10, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.inpatientStatusDesc ?? "--"), 1),
|
|
4487
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.inpatientDays ?? "--"), 1)
|
|
4438
4488
|
])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
|
|
4439
4489
|
])
|
|
4440
4490
|
]),
|
|
@@ -4462,7 +4512,7 @@ const _hoisted_12 = {
|
|
|
4462
4512
|
content: item.dataValue
|
|
4463
4513
|
}, {
|
|
4464
4514
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
4465
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_12, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.dataValue ||
|
|
4515
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_12, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.dataValue || "--"), 1)
|
|
4466
4516
|
]),
|
|
4467
4517
|
_: 2
|
|
4468
4518
|
}, 1032, [
|
|
@@ -5117,13 +5167,14 @@ const createPrint = ()=>{
|
|
|
5117
5167
|
/**
|
|
5118
5168
|
* 2.弹窗询问
|
|
5119
5169
|
*/ const dialogAsk = async ()=>{
|
|
5120
|
-
const { receiptPrintRuleCode, receiptPrintCategCode, receiptNameDisplay, menuXReceiptList } = defaultContext.receiptInfo || {};
|
|
5170
|
+
const { receiptPrintRuleCode, receiptPrintCategCode, redPrintCategCode, receiptNameDisplay, menuXReceiptList } = defaultContext.receiptInfo || {};
|
|
5121
5171
|
if (!receiptPrintRuleCode) return;
|
|
5122
5172
|
let code = receiptPrintCategCode;
|
|
5123
5173
|
if (receiptPrintRuleCode === constant_RECEIPT_PRINT_RULE_CODE.MENU) {
|
|
5124
5174
|
const menuReceiptInfo = menuXReceiptList?.find((item)=>item.menuId === defaultContext.printParams?.menuId);
|
|
5125
5175
|
code = menuReceiptInfo?.receiptPrintCategCode || receiptPrintCategCode;
|
|
5126
5176
|
}
|
|
5177
|
+
if (defaultContext?.printParams?.invoiceInfo?.invOperateTypeCode === constant_INV_OPERATE_TYPE_CODE.RED) code = redPrintCategCode;
|
|
5127
5178
|
const isConfirmed = await messageBoxAskJudge(code, receiptNameDisplay);
|
|
5128
5179
|
if (!isConfirmed) {
|
|
5129
5180
|
breakPrint = true; // 如果用户取消操作,设置 breakPrint 为 true
|
|
@@ -5217,9 +5268,10 @@ const createPrint = ()=>{
|
|
|
5217
5268
|
}
|
|
5218
5269
|
};
|
|
5219
5270
|
/** 6.组织票据分单 */ const splitInvoiceFn = async ()=>{
|
|
5220
|
-
if (defaultContext.printParams?.designFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.NO)
|
|
5221
|
-
|
|
5222
|
-
|
|
5271
|
+
if (defaultContext.printParams?.designFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.NO) {
|
|
5272
|
+
/** 退费使用红票打印类别代码,非红冲使用单据打印类别代码 */ const shouldPrint = defaultContext?.printParams?.invoiceInfo?.invOperateTypeCode === constant_INV_OPERATE_TYPE_CODE.RED ? defaultContext?.receiptInfo?.redPrintCategCode !== constant_RECEIPT_PRINT_CATEG_CODE.NO_PRINT : defaultContext?.receiptInfo?.receiptPrintCategCode !== constant_RECEIPT_PRINT_CATEG_CODE.NO_PRINT;
|
|
5273
|
+
//6
|
|
5274
|
+
if (defaultContext?.printParams?.invoiceInfo?.invoiceAllotId && defaultContext?.receiptInfo?.invoiceFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES && shouldPrint) {
|
|
5223
5275
|
const interfaceId = defaultContext?.printParams?.invoiceInfo?.invoiceInterfaceId ?? defaultContext?.receiptInfo?.invoiceInterfaceId;
|
|
5224
5276
|
if (!interfaceId) {
|
|
5225
5277
|
__WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.error("单据未配置票据接口,无法开票!");
|
|
@@ -5802,6 +5854,303 @@ const flag_select_exports_ = flag_selectvue_type_script_setup_true_lang_ts_name_
|
|
|
5802
5854
|
});
|
|
5803
5855
|
const hospital_select_exports_ = hospital_selectvue_type_script_setup_true_lang_tsx_name_HospitalSelect;
|
|
5804
5856
|
/* ESM default export */ const hospital_select = hospital_select_exports_;
|
|
5857
|
+
/**
|
|
5858
|
+
* [1-10473-1]根据条件查询标签分组V1(含标签)
|
|
5859
|
+
* @param params
|
|
5860
|
+
* @returns
|
|
5861
|
+
*/ const queryTagGroupByExampleV1 = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/tag/queryTagGroupByExampleV1', params);
|
|
5862
|
+
const tag_selectvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
5863
|
+
class: "flex flex-wrap gap-2"
|
|
5864
|
+
};
|
|
5865
|
+
const SELECT_WIDTH = 15; // rem
|
|
5866
|
+
const TAG_MARGIN = 1; // 1rem
|
|
5867
|
+
/* ESM default export */ const tag_selectvue_type_script_lang_ts_setup_true = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
|
|
5868
|
+
__name: 'index',
|
|
5869
|
+
props: {
|
|
5870
|
+
bizIdTypeCode: {},
|
|
5871
|
+
bizId: {},
|
|
5872
|
+
disabled: {
|
|
5873
|
+
type: Boolean
|
|
5874
|
+
}
|
|
5875
|
+
},
|
|
5876
|
+
emits: [
|
|
5877
|
+
'change'
|
|
5878
|
+
],
|
|
5879
|
+
setup (__props, { emit: __emit }) {
|
|
5880
|
+
const emit = __emit;
|
|
5881
|
+
const attrs = (0, __WEBPACK_EXTERNAL_MODULE_vue__.useAttrs)();
|
|
5882
|
+
const loading = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(true);
|
|
5883
|
+
const props = __props;
|
|
5884
|
+
const tableData = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)([]);
|
|
5885
|
+
const selectValue = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)('');
|
|
5886
|
+
const selectVisible = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
|
|
5887
|
+
const SelectRef = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
|
|
5888
|
+
const containerRef = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
|
|
5889
|
+
const moreButtonRef = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
|
|
5890
|
+
const realMaxNum = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(2);
|
|
5891
|
+
// 计算rem到px的转换
|
|
5892
|
+
const getRemValue = (rem)=>rem * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
|
5893
|
+
// 常量定义
|
|
5894
|
+
const MORE_BUTTON_WIDTH = 5 + TAG_MARGIN; // rem
|
|
5895
|
+
// 计算所有标签的映射,方便通过tagId查找tagNameDisplay
|
|
5896
|
+
const allTagsMap = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
|
|
5897
|
+
const map = new Map();
|
|
5898
|
+
tableData.value.forEach((group)=>{
|
|
5899
|
+
group.tagList.forEach((tag)=>{
|
|
5900
|
+
map.set(tag.tagId, tag.tagNameDisplay);
|
|
5901
|
+
});
|
|
5902
|
+
});
|
|
5903
|
+
return map;
|
|
5904
|
+
});
|
|
5905
|
+
const calcMaxNum = (wrapperNode)=>{
|
|
5906
|
+
if (!wrapperNode || !attrs.modelValue) return;
|
|
5907
|
+
const modelValue = Array.isArray(attrs.modelValue) ? attrs.modelValue : [
|
|
5908
|
+
attrs.modelValue
|
|
5909
|
+
];
|
|
5910
|
+
if (!modelValue.length) {
|
|
5911
|
+
realMaxNum.value = 0;
|
|
5912
|
+
return;
|
|
5913
|
+
}
|
|
5914
|
+
// 计算每个标签的宽度
|
|
5915
|
+
const tagWidths = modelValue.map((item)=>{
|
|
5916
|
+
// 为每个标签创建独立的容器
|
|
5917
|
+
const tagContainer = document.createElement('div');
|
|
5918
|
+
tagContainer.style.position = 'absolute';
|
|
5919
|
+
tagContainer.style.visibility = 'hidden';
|
|
5920
|
+
document.body.appendChild(tagContainer);
|
|
5921
|
+
const vnode = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElTag, {
|
|
5922
|
+
closable: !props.disabled,
|
|
5923
|
+
size: 'large',
|
|
5924
|
+
disableTransitions: true,
|
|
5925
|
+
class: 'mr-4'
|
|
5926
|
+
}, ()=>allTagsMap.value.get(item) || item);
|
|
5927
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.render)(vnode, tagContainer);
|
|
5928
|
+
const width = tagContainer.firstElementChild?.getBoundingClientRect().width || 0;
|
|
5929
|
+
document.body.removeChild(tagContainer);
|
|
5930
|
+
return width + getRemValue(TAG_MARGIN);
|
|
5931
|
+
});
|
|
5932
|
+
// 计算可用宽度
|
|
5933
|
+
const availableWidth = wrapperNode.offsetWidth - (props.disabled ? 0 : getRemValue(SELECT_WIDTH));
|
|
5934
|
+
const totalWidth = tagWidths.reduce((sum, width)=>sum + width, 0);
|
|
5935
|
+
// 如果所有标签都能显示,直接显示所有标签
|
|
5936
|
+
if (totalWidth <= availableWidth) {
|
|
5937
|
+
realMaxNum.value = modelValue.length;
|
|
5938
|
+
return;
|
|
5939
|
+
}
|
|
5940
|
+
// 如果放不下所有标签,需要显示更多按钮
|
|
5941
|
+
const availableWidthWithMore = availableWidth - getRemValue(MORE_BUTTON_WIDTH);
|
|
5942
|
+
// 计算可以显示多少个标签
|
|
5943
|
+
let currentWidth = 0;
|
|
5944
|
+
let count = 0;
|
|
5945
|
+
for (const width of tagWidths)if (currentWidth + width <= availableWidthWithMore) {
|
|
5946
|
+
currentWidth += width;
|
|
5947
|
+
count++;
|
|
5948
|
+
} else break;
|
|
5949
|
+
realMaxNum.value = count;
|
|
5950
|
+
};
|
|
5951
|
+
// Methods
|
|
5952
|
+
const handleClose = (bizId)=>{
|
|
5953
|
+
if (Array.isArray(attrs.modelValue)) {
|
|
5954
|
+
const newModelValue = attrs.modelValue.filter((id)=>id !== bizId);
|
|
5955
|
+
change(newModelValue);
|
|
5956
|
+
} else if (attrs.modelValue === bizId) change('');
|
|
5957
|
+
};
|
|
5958
|
+
const showSelect = ()=>{
|
|
5959
|
+
selectVisible.value = true;
|
|
5960
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.nextTick)(()=>{
|
|
5961
|
+
SelectRef.value?.focus();
|
|
5962
|
+
});
|
|
5963
|
+
};
|
|
5964
|
+
const handleSelectConfirm = ()=>{
|
|
5965
|
+
if (!selectValue.value) {
|
|
5966
|
+
selectVisible.value = false;
|
|
5967
|
+
return;
|
|
5968
|
+
}
|
|
5969
|
+
const currentValues = Array.isArray(attrs.modelValue) ? attrs.modelValue : attrs.modelValue ? [
|
|
5970
|
+
attrs.modelValue
|
|
5971
|
+
] : [];
|
|
5972
|
+
change([
|
|
5973
|
+
...currentValues,
|
|
5974
|
+
selectValue.value
|
|
5975
|
+
]);
|
|
5976
|
+
selectValue.value = '';
|
|
5977
|
+
selectVisible.value = false;
|
|
5978
|
+
};
|
|
5979
|
+
async function fetchData() {
|
|
5980
|
+
loading.value = true;
|
|
5981
|
+
let [, result] = await queryTagGroupByExampleV1({
|
|
5982
|
+
bizIdTypeCode: props.bizIdTypeCode,
|
|
5983
|
+
bizId: props.bizId,
|
|
5984
|
+
enabledFlag: 1
|
|
5985
|
+
});
|
|
5986
|
+
loading.value = false;
|
|
5987
|
+
if (result?.success) {
|
|
5988
|
+
tableData.value = result.data;
|
|
5989
|
+
calcMaxNum(containerRef.value);
|
|
5990
|
+
}
|
|
5991
|
+
}
|
|
5992
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.onMounted)(()=>{
|
|
5993
|
+
fetchData();
|
|
5994
|
+
// 等待所有标签渲染完成
|
|
5995
|
+
});
|
|
5996
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>attrs.modelValue, ()=>{
|
|
5997
|
+
const modelValue = Array.isArray(attrs.modelValue) ? attrs.modelValue : attrs.modelValue ? [
|
|
5998
|
+
attrs.modelValue
|
|
5999
|
+
] : [];
|
|
6000
|
+
if (modelValue.length) // 等待所有标签渲染完成
|
|
6001
|
+
{
|
|
6002
|
+
if (containerRef.value) calcMaxNum(containerRef.value);
|
|
6003
|
+
}
|
|
6004
|
+
});
|
|
6005
|
+
/**
|
|
6006
|
+
*
|
|
6007
|
+
* @param value 下拉框选择
|
|
6008
|
+
*/ function change(value) {
|
|
6009
|
+
if (attrs['onUpdate:modelValue']) attrs['onUpdate:modelValue'](value);
|
|
6010
|
+
emit('change', value);
|
|
6011
|
+
}
|
|
6012
|
+
return (_ctx, _cache)=>{
|
|
6013
|
+
const _component_el_button = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-button");
|
|
6014
|
+
const _component_el_popover = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-popover");
|
|
6015
|
+
const _component_el_option = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-option");
|
|
6016
|
+
const _component_el_option_group = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-option-group");
|
|
6017
|
+
const _component_el_select = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-select");
|
|
6018
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", {
|
|
6019
|
+
ref_key: "containerRef",
|
|
6020
|
+
ref: containerRef,
|
|
6021
|
+
class: "w-full"
|
|
6022
|
+
}, [
|
|
6023
|
+
((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)((Array.isArray((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue) ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue : (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue ? [
|
|
6024
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue
|
|
6025
|
+
] : []).slice(0, realMaxNum.value), (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElTag), {
|
|
6026
|
+
key: item,
|
|
6027
|
+
closable: !props.disabled,
|
|
6028
|
+
class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)([
|
|
6029
|
+
'mr-4'
|
|
6030
|
+
]),
|
|
6031
|
+
size: "large",
|
|
6032
|
+
"disable-transitions": true,
|
|
6033
|
+
onClose: ($event)=>handleClose(item)
|
|
6034
|
+
}, {
|
|
6035
|
+
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
6036
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(allTagsMap.value.get(item) || item), 1)
|
|
6037
|
+
]),
|
|
6038
|
+
_: 2
|
|
6039
|
+
}, 1032, [
|
|
6040
|
+
"closable",
|
|
6041
|
+
"onClose"
|
|
6042
|
+
]))), 128)),
|
|
6043
|
+
(Array.isArray((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue) ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue : (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue ? [
|
|
6044
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue
|
|
6045
|
+
] : []).length > realMaxNum.value ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_popover, {
|
|
6046
|
+
key: 0,
|
|
6047
|
+
placement: "bottom",
|
|
6048
|
+
trigger: "hover"
|
|
6049
|
+
}, {
|
|
6050
|
+
reference: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
6051
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_button, {
|
|
6052
|
+
ref_key: "moreButtonRef",
|
|
6053
|
+
ref: moreButtonRef,
|
|
6054
|
+
style: {
|
|
6055
|
+
"margin-left": "0"
|
|
6056
|
+
},
|
|
6057
|
+
class: "mr-4"
|
|
6058
|
+
}, {
|
|
6059
|
+
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
6060
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)("更多 +" + (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)((Array.isArray((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue) ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue : (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue ? [
|
|
6061
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue
|
|
6062
|
+
] : []).length - realMaxNum.value), 1)
|
|
6063
|
+
]),
|
|
6064
|
+
_: 1
|
|
6065
|
+
}, 512)
|
|
6066
|
+
]),
|
|
6067
|
+
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
6068
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", tag_selectvue_type_script_lang_ts_setup_true_hoisted_1, [
|
|
6069
|
+
((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)((Array.isArray((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue) ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue : (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue ? [
|
|
6070
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue
|
|
6071
|
+
] : []).slice(realMaxNum.value), (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElTag), {
|
|
6072
|
+
key: item,
|
|
6073
|
+
closable: !props.disabled,
|
|
6074
|
+
size: "large",
|
|
6075
|
+
"disable-transitions": true,
|
|
6076
|
+
onClose: ($event)=>handleClose(item)
|
|
6077
|
+
}, {
|
|
6078
|
+
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
6079
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(allTagsMap.value.get(item) || item), 1)
|
|
6080
|
+
]),
|
|
6081
|
+
_: 2
|
|
6082
|
+
}, 1032, [
|
|
6083
|
+
"closable",
|
|
6084
|
+
"onClose"
|
|
6085
|
+
]))), 128))
|
|
6086
|
+
])
|
|
6087
|
+
]),
|
|
6088
|
+
_: 1
|
|
6089
|
+
})) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
|
|
6090
|
+
selectVisible.value && !props.disabled ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_select, {
|
|
6091
|
+
key: 1,
|
|
6092
|
+
ref_key: "SelectRef",
|
|
6093
|
+
ref: SelectRef,
|
|
6094
|
+
modelValue: selectValue.value,
|
|
6095
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event)=>selectValue.value = $event),
|
|
6096
|
+
class: "w-60",
|
|
6097
|
+
filterable: "",
|
|
6098
|
+
placeholder: _ctx.$t('tagManage.range.select.bizId', '请选择'),
|
|
6099
|
+
onChange: handleSelectConfirm,
|
|
6100
|
+
onBlur: handleSelectConfirm
|
|
6101
|
+
}, {
|
|
6102
|
+
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
6103
|
+
((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)(tableData.value, (group)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_option_group, {
|
|
6104
|
+
key: group.tagGroupId,
|
|
6105
|
+
label: group.tagGroupNameDisplay,
|
|
6106
|
+
value: group.tagGroupId
|
|
6107
|
+
}, {
|
|
6108
|
+
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
6109
|
+
((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)(group.tagList, (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_option, {
|
|
6110
|
+
key: item.tagId,
|
|
6111
|
+
disabled: ((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue || []).includes(item.tagId),
|
|
6112
|
+
label: item.tagNameDisplay,
|
|
6113
|
+
value: item.tagId
|
|
6114
|
+
}, null, 8, [
|
|
6115
|
+
"disabled",
|
|
6116
|
+
"label",
|
|
6117
|
+
"value"
|
|
6118
|
+
]))), 128))
|
|
6119
|
+
]),
|
|
6120
|
+
_: 2
|
|
6121
|
+
}, 1032, [
|
|
6122
|
+
"label",
|
|
6123
|
+
"value"
|
|
6124
|
+
]))), 128))
|
|
6125
|
+
]),
|
|
6126
|
+
_: 1
|
|
6127
|
+
}, 8, [
|
|
6128
|
+
"modelValue",
|
|
6129
|
+
"placeholder"
|
|
6130
|
+
])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
|
|
6131
|
+
selectVisible.value || props.disabled ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_button, {
|
|
6132
|
+
key: 2,
|
|
6133
|
+
style: {
|
|
6134
|
+
"margin-left": "0"
|
|
6135
|
+
},
|
|
6136
|
+
class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)({
|
|
6137
|
+
'pointer-events-none': props.disabled
|
|
6138
|
+
}),
|
|
6139
|
+
onClick: showSelect
|
|
6140
|
+
}, {
|
|
6141
|
+
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[1] || (_cache[1] = [
|
|
6142
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" + ")
|
|
6143
|
+
])),
|
|
6144
|
+
_: 1
|
|
6145
|
+
}, 8, [
|
|
6146
|
+
"class"
|
|
6147
|
+
]))
|
|
6148
|
+
], 512);
|
|
6149
|
+
};
|
|
6150
|
+
}
|
|
6151
|
+
});
|
|
6152
|
+
const tag_select_exports_ = tag_selectvue_type_script_lang_ts_setup_true;
|
|
6153
|
+
/* ESM default export */ const tag_select = tag_select_exports_;
|
|
5805
6154
|
// 获取五笔简码
|
|
5806
6155
|
const wubiLib = [
|
|
5807
6156
|
'A鞴鞲鞣鞫鞯鞔鞒鞑鞅靼銎跫綦翳蛩颟鹳鹋鸫鸢慝觐觋贳瓯戡檠迓甙忒弋撖摁廾蘼蘖蘩蘅蘧藿藜藁藓薰薷薹薅薜薮蕹薏薇薨薤蕻蕲蕃瞢蕺蕞蕤蕨蕈蕙蓼蓿蔻蕖蔺蔟蔹蓰蔸甍蔌蓣蓥蒗蒴蒹蒡蓠蒺蒿蓊蓓蒽蓦蓐蓍蓁葭萱蒎蒌葶葩葆萼葸蒉葺蒈蒇葳葙葚葑葜菡菰萦菀菅菪菹菸萃萏菟菔萆萑萸萜菖菽菝萋萘堇菘菥萁菁莼莺莨莞莘荻莸荽莩莶荼莅莜莓莪莠莴莳荸莰荮荭荪荬荩茛荨荥荦茳茺茭荠茗荀荟荃荇荏茯荞莛茱茴茼莒茈荜荛荑茜苕苠茕茔茆茚茑苓苻茌苘苒苴苜茇茏苤苷茉苡芤苎苄芟芪芡芴芩苁苌苋芮芷芘苣苊苈芰芾芸芫芙芗芑芎芄芨芊芏艿艽艹鄞郾邛劐蒯赜匾匮匦叵匚廿茁著芝蒸斟蔗蘸藻葬匝蕴苑芋荧营萤莹英荫茵艺颐医药尧燕雅牙芽鸦薛靴蓄芯薪邪鞋萧巷项匣熙昔芜巫卧蔚萎苇藤萄苔蓑蒜苏斯薯蔬世式甚芍苫莎散萨若蕊茹荣蓉茸戎惹鹊颧区擎芹勤莲荔莉蕾勒劳蓝莱葵匡苦恐苛勘菌巨菊鞠敬警茎荆靳芥藉戒节蕉匠蒋荐茧荚蓟基惑或获荤茄切翘鞘巧蔷其七欺期蒲菩葡莆萍苹匹蓬藕殴鸥欧孽蔫匿慕募幕暮墓某莫蘑摹蔑藐苗蒙萌茂茅莽茫芒蔓落萝芦菱黄荒划花葫菏荷邯菇苟共贡汞巩恭功攻工葛革戈甘芬匪菲芳范藩贰董东蒂荡葱茨臣茶茬草藏苍蔡菜菠鞭蔽蓖苯薄苞靶芭鞍艾蔼',
|
|
@@ -5978,17 +6327,23 @@ const DICT_SELECT = 'dictSelect';
|
|
|
5978
6327
|
clearable: ""
|
|
5979
6328
|
}, {
|
|
5980
6329
|
...(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs)
|
|
6330
|
+
}), null, 16)) : 'tagSelect' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(tag_select), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
6331
|
+
key: 3,
|
|
6332
|
+
clearable: ""
|
|
6333
|
+
}, {
|
|
6334
|
+
...(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs),
|
|
6335
|
+
bizIdTypeCode: __WEBPACK_EXTERNAL_MODULE_vue__.unref(attrs)?.extraProps?.bizIdTypeCode
|
|
5981
6336
|
}), null, 16)) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component === DICT_SELECT ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(dict_select), (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeProps)((0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
5982
|
-
key:
|
|
6337
|
+
key: 4
|
|
5983
6338
|
}, {
|
|
5984
6339
|
...(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs)
|
|
5985
6340
|
})), null, 16)) : 'flagSelect' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(flag_select), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
5986
|
-
key:
|
|
6341
|
+
key: 5,
|
|
5987
6342
|
clearable: ""
|
|
5988
6343
|
}, {
|
|
5989
6344
|
...(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs)
|
|
5990
6345
|
}), null, 16)) : 'checkbox' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component || 'checkbox-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component || 'radio-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(`el-${(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component}`), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
5991
|
-
key:
|
|
6346
|
+
key: 6,
|
|
5992
6347
|
ref_key: "componentRef",
|
|
5993
6348
|
ref: componentRef,
|
|
5994
6349
|
clearable: ""
|
|
@@ -6030,7 +6385,7 @@ const DICT_SELECT = 'dictSelect';
|
|
|
6030
6385
|
]),
|
|
6031
6386
|
_: 1
|
|
6032
6387
|
}, 16)) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(`el-${(0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component}`), (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
|
|
6033
|
-
key:
|
|
6388
|
+
key: 7,
|
|
6034
6389
|
ref_key: "componentRef",
|
|
6035
6390
|
ref: componentRef,
|
|
6036
6391
|
clearable: ""
|
|
@@ -7974,4 +8329,4 @@ const invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_4 = {
|
|
|
7974
8329
|
const invoice_exports_ = invoicevue_type_script_setup_true_lang_ts_name_proInvoice;
|
|
7975
8330
|
/* ESM default export */ const invoice = invoice_exports_;
|
|
7976
8331
|
var __webpack_exports__COMPONENT_CODE = __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.COMPONENT_CODE;
|
|
7977
|
-
export { access_info as AccessInfo, BANNER_COMPONENT_CONFIG, BannerInfo, copy_text_with_tooltip as CopyTextWithTooltip, constant_DATA_SOURCE_CONTENT_TYPE_CODE as DATA_SOURCE_CONTENT_TYPE_CODE, dbgrid_component_setting as DbgridComponentSetting, dict_select as DictSelect, dml_button as DmlButton, flag_select as FlagSelect, form_design_render as FormDesignRender, FormUnit, hospital_select as HospitalSelect, patient_access as PatientAccess, PatientInfo, printReceiptBtn as PrintReceiptBtn, pro_dialog as ProDialog, pro_form as ProForm, invoice as ProInvoice, pro_table as ProTable, pro_table_v2 as ProTableV2, Title, convertToSpellNo, convertToWbNo, print, usePrintReceipt, __webpack_exports__COMPONENT_CODE as COMPONENT_CODE };
|
|
8332
|
+
export { access_info as AccessInfo, BANNER_COMPONENT_CONFIG, BannerInfo, copy_text_with_tooltip as CopyTextWithTooltip, constant_DATA_SOURCE_CONTENT_TYPE_CODE as DATA_SOURCE_CONTENT_TYPE_CODE, dbgrid_component_setting as DbgridComponentSetting, dict_select as DictSelect, dml_button as DmlButton, flag_select as FlagSelect, form_design_render as FormDesignRender, FormUnit, hospital_select as HospitalSelect, patient_access as PatientAccess, PatientInfo, printReceiptBtn as PrintReceiptBtn, pro_dialog as ProDialog, pro_form as ProForm, invoice as ProInvoice, pro_table as ProTable, pro_table_v2 as ProTableV2, tag_select as TagSelect, Title, convertToSpellNo, convertToWbNo, print, usePrintReceipt, __webpack_exports__COMPONENT_CODE as COMPONENT_CODE };
|