sun-biz 0.0.4-beta.52 → 0.0.4-beta.53
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/index.js
CHANGED
|
@@ -2860,26 +2860,22 @@ const SELECTION = 'selection';
|
|
|
2860
2860
|
displayFlag: cur.isHidden || cur.defaultDisplayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO ? __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO : __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES,
|
|
2861
2861
|
...cur
|
|
2862
2862
|
}));
|
|
2863
|
-
|
|
2864
|
-
});
|
|
2865
|
-
/**
|
|
2866
|
-
* 处理接口和本地的columns
|
|
2867
|
-
*/ const commonColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
|
|
2868
|
-
let propsColumns = [
|
|
2869
|
-
...props.columns
|
|
2870
|
-
];
|
|
2871
|
-
if (props.couldSortFieldList && props.couldSortFieldList?.length) propsColumns = propsColumns.map((item)=>{
|
|
2863
|
+
if (props.couldSortFieldList && props.couldSortFieldList?.length) result = result.map((item)=>{
|
|
2872
2864
|
let supportSort = !!(props.couldSortFieldList || []).find((cur)=>cur.fieldName === item.prop);
|
|
2873
2865
|
return {
|
|
2874
2866
|
sortable: !!supportSort && (props.pagination ? 'custom' : supportSort),
|
|
2875
2867
|
...item
|
|
2876
2868
|
};
|
|
2877
2869
|
});
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
|
|
2870
|
+
return result;
|
|
2871
|
+
});
|
|
2872
|
+
/**
|
|
2873
|
+
* 处理接口和本地的columns
|
|
2874
|
+
*/ const commonColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
|
|
2875
|
+
let result = [
|
|
2876
|
+
...defaultColumns.value
|
|
2877
|
+
];
|
|
2878
|
+
if (props.componentNo || serveColumns.value?.length) {
|
|
2883
2879
|
if (serveColumns.value?.length) {
|
|
2884
2880
|
result = result.map((item, index)=>{
|
|
2885
2881
|
let findObj = serveColumns.value.find((cur)=>cur.prop === item.prop) || {
|
|
@@ -2898,8 +2894,8 @@ const SELECTION = 'selection';
|
|
|
2898
2894
|
});
|
|
2899
2895
|
result.sort((a, b)=>Number(a.sort) - Number(b.sort));
|
|
2900
2896
|
}
|
|
2901
|
-
return result;
|
|
2902
2897
|
}
|
|
2898
|
+
return result;
|
|
2903
2899
|
});
|
|
2904
2900
|
/**
|
|
2905
2901
|
* 处理 Element Plus 表格的滚动事件
|
|
@@ -7878,6 +7874,7 @@ const biz_unit_selectvue_type_script_lang_tsx_name_BizUnitSelect_setup_true_CLOS
|
|
|
7878
7874
|
keyWord: {},
|
|
7879
7875
|
hospitalId: {},
|
|
7880
7876
|
orgTypeCodes: {},
|
|
7877
|
+
orgLocationId: {},
|
|
7881
7878
|
multiSelectFlag: {
|
|
7882
7879
|
type: Boolean
|
|
7883
7880
|
},
|
|
@@ -8006,7 +8003,8 @@ const biz_unit_selectvue_type_script_lang_tsx_name_BizUnitSelect_setup_true_CLOS
|
|
|
8006
8003
|
orgTypeCodes: props.orgTypeCodes,
|
|
8007
8004
|
enabledFlag: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES,
|
|
8008
8005
|
encounterTypeCode: props.encounterTypeCode,
|
|
8009
|
-
deptId: props.deptId
|
|
8006
|
+
deptId: props.deptId,
|
|
8007
|
+
orgLocationId: props.orgLocationId
|
|
8010
8008
|
});
|
|
8011
8009
|
loading.value = false;
|
|
8012
8010
|
if (res?.success) {
|
|
@@ -8413,6 +8411,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
8413
8411
|
multiSelectFlag: {
|
|
8414
8412
|
type: Boolean
|
|
8415
8413
|
},
|
|
8414
|
+
orgLocationId: {},
|
|
8416
8415
|
defaultValue: {},
|
|
8417
8416
|
disabledValueIds: {},
|
|
8418
8417
|
tableProps: {},
|
|
@@ -8506,7 +8505,8 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
8506
8505
|
enabledFlag: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES,
|
|
8507
8506
|
deptTypeCodes: props.deptTypeCodes,
|
|
8508
8507
|
encounterTypeCode: props.encounterTypeCode,
|
|
8509
|
-
hospitalId: props.hospitalId
|
|
8508
|
+
hospitalId: props.hospitalId,
|
|
8509
|
+
orgLocationId: props.orgLocationId
|
|
8510
8510
|
});
|
|
8511
8511
|
loading.value = false;
|
|
8512
8512
|
if (res?.success) {
|
|
@@ -8880,6 +8880,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
8880
8880
|
},
|
|
8881
8881
|
defaultValue: {},
|
|
8882
8882
|
disabledValueIds: {},
|
|
8883
|
+
orgLocationId: {},
|
|
8883
8884
|
tableProps: {},
|
|
8884
8885
|
selectProps: {}
|
|
8885
8886
|
},
|
|
@@ -8965,7 +8966,8 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
8965
8966
|
...data,
|
|
8966
8967
|
enabledFlag: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES,
|
|
8967
8968
|
deptId: props.deptId,
|
|
8968
|
-
hospitalId: props.hospitalId
|
|
8969
|
+
hospitalId: props.hospitalId,
|
|
8970
|
+
orgLocationId: props.orgLocationId
|
|
8969
8971
|
});
|
|
8970
8972
|
loading.value = false;
|
|
8971
8973
|
if (res?.success) {
|
package/dist/index.js
CHANGED
|
@@ -2896,26 +2896,22 @@ const SELECTION = 'selection';
|
|
|
2896
2896
|
displayFlag: cur.isHidden || cur.defaultDisplayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO ? __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO : __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES,
|
|
2897
2897
|
...cur
|
|
2898
2898
|
}));
|
|
2899
|
-
|
|
2900
|
-
});
|
|
2901
|
-
/**
|
|
2902
|
-
* 处理接口和本地的columns
|
|
2903
|
-
*/ const commonColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
|
|
2904
|
-
let propsColumns = [
|
|
2905
|
-
...props.columns
|
|
2906
|
-
];
|
|
2907
|
-
if (props.couldSortFieldList && props.couldSortFieldList?.length) propsColumns = propsColumns.map((item)=>{
|
|
2899
|
+
if (props.couldSortFieldList && props.couldSortFieldList?.length) result = result.map((item)=>{
|
|
2908
2900
|
let supportSort = !!(props.couldSortFieldList || []).find((cur)=>cur.fieldName === item.prop);
|
|
2909
2901
|
return {
|
|
2910
2902
|
sortable: !!supportSort && (props.pagination ? 'custom' : supportSort),
|
|
2911
2903
|
...item
|
|
2912
2904
|
};
|
|
2913
2905
|
});
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2906
|
+
return result;
|
|
2907
|
+
});
|
|
2908
|
+
/**
|
|
2909
|
+
* 处理接口和本地的columns
|
|
2910
|
+
*/ const commonColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
|
|
2911
|
+
let result = [
|
|
2912
|
+
...defaultColumns.value
|
|
2913
|
+
];
|
|
2914
|
+
if (props.componentNo || serveColumns.value?.length) {
|
|
2919
2915
|
if (serveColumns.value?.length) {
|
|
2920
2916
|
result = result.map((item, index)=>{
|
|
2921
2917
|
let findObj = serveColumns.value.find((cur)=>cur.prop === item.prop) || {
|
|
@@ -2934,8 +2930,8 @@ const SELECTION = 'selection';
|
|
|
2934
2930
|
});
|
|
2935
2931
|
result.sort((a, b)=>Number(a.sort) - Number(b.sort));
|
|
2936
2932
|
}
|
|
2937
|
-
return result;
|
|
2938
2933
|
}
|
|
2934
|
+
return result;
|
|
2939
2935
|
});
|
|
2940
2936
|
/**
|
|
2941
2937
|
* 处理 Element Plus 表格的滚动事件
|
|
@@ -8547,6 +8543,7 @@ const biz_unit_selectvue_type_script_lang_tsx_name_BizUnitSelect_setup_true_CLOS
|
|
|
8547
8543
|
keyWord: {},
|
|
8548
8544
|
hospitalId: {},
|
|
8549
8545
|
orgTypeCodes: {},
|
|
8546
|
+
orgLocationId: {},
|
|
8550
8547
|
multiSelectFlag: {
|
|
8551
8548
|
type: Boolean
|
|
8552
8549
|
},
|
|
@@ -8675,7 +8672,8 @@ const biz_unit_selectvue_type_script_lang_tsx_name_BizUnitSelect_setup_true_CLOS
|
|
|
8675
8672
|
orgTypeCodes: props.orgTypeCodes,
|
|
8676
8673
|
enabledFlag: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES,
|
|
8677
8674
|
encounterTypeCode: props.encounterTypeCode,
|
|
8678
|
-
deptId: props.deptId
|
|
8675
|
+
deptId: props.deptId,
|
|
8676
|
+
orgLocationId: props.orgLocationId
|
|
8679
8677
|
});
|
|
8680
8678
|
loading.value = false;
|
|
8681
8679
|
if (res?.success) {
|
|
@@ -9082,6 +9080,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
9082
9080
|
multiSelectFlag: {
|
|
9083
9081
|
type: Boolean
|
|
9084
9082
|
},
|
|
9083
|
+
orgLocationId: {},
|
|
9085
9084
|
defaultValue: {},
|
|
9086
9085
|
disabledValueIds: {},
|
|
9087
9086
|
tableProps: {},
|
|
@@ -9175,7 +9174,8 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_lang_tsx_name_Bi
|
|
|
9175
9174
|
enabledFlag: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES,
|
|
9176
9175
|
deptTypeCodes: props.deptTypeCodes,
|
|
9177
9176
|
encounterTypeCode: props.encounterTypeCode,
|
|
9178
|
-
hospitalId: props.hospitalId
|
|
9177
|
+
hospitalId: props.hospitalId,
|
|
9178
|
+
orgLocationId: props.orgLocationId
|
|
9179
9179
|
});
|
|
9180
9180
|
loading.value = false;
|
|
9181
9181
|
if (res?.success) {
|
|
@@ -9549,6 +9549,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
9549
9549
|
},
|
|
9550
9550
|
defaultValue: {},
|
|
9551
9551
|
disabledValueIds: {},
|
|
9552
|
+
orgLocationId: {},
|
|
9552
9553
|
tableProps: {},
|
|
9553
9554
|
selectProps: {}
|
|
9554
9555
|
},
|
|
@@ -9634,7 +9635,8 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
|
|
|
9634
9635
|
...data,
|
|
9635
9636
|
enabledFlag: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES,
|
|
9636
9637
|
deptId: props.deptId,
|
|
9637
|
-
hospitalId: props.hospitalId
|
|
9638
|
+
hospitalId: props.hospitalId,
|
|
9639
|
+
orgLocationId: props.orgLocationId
|
|
9638
9640
|
});
|
|
9639
9641
|
loading.value = false;
|
|
9640
9642
|
if (res?.success) {
|