sun-biz 0.0.4-beta.11 → 0.0.4-beta.12
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 +26 -23
- package/dist/components/static/css/index.css +3 -3
- package/dist/index.js +26 -23
- package/dist/static/css/index.css +3 -3
- package/package.json +1 -1
package/dist/components/index.js
CHANGED
|
@@ -1859,11 +1859,11 @@ const tableColumnSetting = (options)=>{
|
|
|
1859
1859
|
createColumnSetting(options, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_micro_app__.app?._context);
|
|
1860
1860
|
};
|
|
1861
1861
|
const TableSettingButtonvue_type_script_setup_true_lang_tsx_hoisted_1 = {
|
|
1862
|
-
class: "el-dropdown-link absolute left-3 top-2.5 z-50 cursor-pointer text-
|
|
1862
|
+
class: "el-dropdown-link absolute left-3 top-2.5 z-50 cursor-pointer text-primary"
|
|
1863
1863
|
};
|
|
1864
|
-
const FILE_TYPE_CODE =
|
|
1865
|
-
const COLUMN_SETTING =
|
|
1866
|
-
const EXPORT_FILE =
|
|
1864
|
+
const FILE_TYPE_CODE = "FILE_TYPE_CODE";
|
|
1865
|
+
const COLUMN_SETTING = "column-setting";
|
|
1866
|
+
const EXPORT_FILE = "export-file";
|
|
1867
1867
|
/* ESM default export */ const TableSettingButtonvue_type_script_setup_true_lang_tsx = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
|
|
1868
1868
|
__name: 'TableSettingButton',
|
|
1869
1869
|
props: {
|
|
@@ -1875,7 +1875,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1875
1875
|
componentDesc: {}
|
|
1876
1876
|
},
|
|
1877
1877
|
emits: [
|
|
1878
|
-
|
|
1878
|
+
"success"
|
|
1879
1879
|
],
|
|
1880
1880
|
setup (__props, { emit: __emit }) {
|
|
1881
1881
|
const dataSetList = useFetchDataset([
|
|
@@ -1888,7 +1888,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1888
1888
|
let result = [
|
|
1889
1889
|
{
|
|
1890
1890
|
value: COLUMN_SETTING,
|
|
1891
|
-
label:
|
|
1891
|
+
label: "表格设置",
|
|
1892
1892
|
children: []
|
|
1893
1893
|
}
|
|
1894
1894
|
];
|
|
@@ -1896,13 +1896,13 @@ const EXPORT_FILE = 'export-file';
|
|
|
1896
1896
|
let list = dataSetList.value?.[FILE_TYPE_CODE] || [];
|
|
1897
1897
|
if (1 === list.length) result.push({
|
|
1898
1898
|
value: list[0]?.dataValueNo,
|
|
1899
|
-
label:
|
|
1899
|
+
label: "导出文件",
|
|
1900
1900
|
disabled: !props.tableData.length,
|
|
1901
1901
|
children: []
|
|
1902
1902
|
});
|
|
1903
1903
|
if (list.length > 1) result.push({
|
|
1904
1904
|
value: EXPORT_FILE,
|
|
1905
|
-
label:
|
|
1905
|
+
label: "导出文件",
|
|
1906
1906
|
disabled: !props.tableData.length,
|
|
1907
1907
|
children: list.map((item)=>({
|
|
1908
1908
|
value: item?.dataValueNo,
|
|
@@ -1913,15 +1913,15 @@ const EXPORT_FILE = 'export-file';
|
|
|
1913
1913
|
return result;
|
|
1914
1914
|
});
|
|
1915
1915
|
const getRenderedContent = (render, row, value, index)=>{
|
|
1916
|
-
const tempDiv = document.createElement(
|
|
1916
|
+
const tempDiv = document.createElement("div");
|
|
1917
1917
|
const app = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createApp)({
|
|
1918
1918
|
render () {
|
|
1919
|
-
return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(
|
|
1919
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)("div", {}, render(row, value, row, index));
|
|
1920
1920
|
}
|
|
1921
1921
|
});
|
|
1922
1922
|
app.use(__WEBPACK_EXTERNAL_MODULE_element_sun__["default"]);
|
|
1923
1923
|
app.mount(tempDiv);
|
|
1924
|
-
const content = tempDiv.textContent ||
|
|
1924
|
+
const content = tempDiv.textContent || "";
|
|
1925
1925
|
app.unmount();
|
|
1926
1926
|
return content;
|
|
1927
1927
|
};
|
|
@@ -1929,15 +1929,15 @@ const EXPORT_FILE = 'export-file';
|
|
|
1929
1929
|
let [, res] = await exportData2File({
|
|
1930
1930
|
fileTypeCode: value,
|
|
1931
1931
|
dataSource: JSON.stringify({
|
|
1932
|
-
columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES &&
|
|
1932
|
+
columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && "操作" !== cur.label).map((item)=>({
|
|
1933
1933
|
columnIndex: item.prop,
|
|
1934
1934
|
columnTitle: item.label
|
|
1935
1935
|
})),
|
|
1936
1936
|
rowList: props.tableData.map((item, index)=>({
|
|
1937
1937
|
rowSequenceNo: index,
|
|
1938
|
-
rowRecordList: props.columns.filter((col)=>col.prop && col.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES &&
|
|
1938
|
+
rowRecordList: props.columns.filter((col)=>col.prop && col.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && "操作" !== col.label).map((col)=>{
|
|
1939
1939
|
let value = item[col.prop];
|
|
1940
|
-
if (
|
|
1940
|
+
if ("function" == typeof col.render) try {
|
|
1941
1941
|
value = getRenderedContent(col.render, item, value, index) || value;
|
|
1942
1942
|
} catch (error) {
|
|
1943
1943
|
console.warn(`Render function error for column ${col.prop}:`, error);
|
|
@@ -1955,7 +1955,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1955
1955
|
fileName: `${props.componentDesc}.xlsx`,
|
|
1956
1956
|
data: res?.data?.fileString
|
|
1957
1957
|
});
|
|
1958
|
-
__WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success(
|
|
1958
|
+
__WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success("导出成功");
|
|
1959
1959
|
}
|
|
1960
1960
|
}
|
|
1961
1961
|
function hide() {
|
|
@@ -1968,7 +1968,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1968
1968
|
componentNo: props.componentNo,
|
|
1969
1969
|
columnsSetting: props.columnsSetting,
|
|
1970
1970
|
success: ()=>{
|
|
1971
|
-
emit(
|
|
1971
|
+
emit("success");
|
|
1972
1972
|
}
|
|
1973
1973
|
});
|
|
1974
1974
|
}
|
|
@@ -2053,7 +2053,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
2053
2053
|
})) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("span", {
|
|
2054
2054
|
key: 1,
|
|
2055
2055
|
onClick: openColumnSetting,
|
|
2056
|
-
class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)(`el-dropdown-link absolute left-3 top-2.5 z-50 ${props.columnsSetting?.disabled ? 'cursor-not-allowed text-
|
|
2056
|
+
class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)(`el-dropdown-link absolute left-3 top-2.5 z-50 ${props.columnsSetting?.disabled ? 'cursor-not-allowed text-primary' : 'cursor-pointer text-primary-dark'}`)
|
|
2057
2057
|
}, [
|
|
2058
2058
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElIcon), null, {
|
|
2059
2059
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
@@ -2068,7 +2068,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
2068
2068
|
const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(TableSettingButtonvue_type_script_setup_true_lang_tsx, [
|
|
2069
2069
|
[
|
|
2070
2070
|
'__scopeId',
|
|
2071
|
-
"data-v-
|
|
2071
|
+
"data-v-2ad367a9"
|
|
2072
2072
|
]
|
|
2073
2073
|
]);
|
|
2074
2074
|
/* ESM default export */ const TableSettingButton = TableSettingButton_exports_;
|
|
@@ -4459,7 +4459,7 @@ const default_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
|
|
|
4459
4459
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4460
4460
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
4461
4461
|
}, _cache[0] || (_cache[0] = [
|
|
4462
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createStaticVNode)("<defs><path d=\"M24,48 C37.254834,48 48,37.254834 48,24 C48,10.745166 37.254834,0 24,0 C10.745166,0 0,10.745166 0,24 C0,37.254834 10.745166,48 24,48 Z\" id=\"path-1\"></path><mask id=\"mask-2\" maskContentUnits=\"userSpaceOnUse\" maskUnits=\"objectBoundingBox\" x=\"0\" y=\"0\" width=\"48\" height=\"48\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask></defs><g id=\"页面-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"头像\" transform=\"translate(-226.000000, -117.000000)\"><g id=\"默认\" transform=\"translate(226.000000, 117.000000)\"><path d=\"M24,40 C32.836556,40 40,32.836556 40,24 C40,15.163444 32.836556,8 24,8 C15.163444,8 8,15.163444 8,24 C8,32.836556 15.163444,40 24,40 Z\" id=\"Ellipse-103\" fill=\"
|
|
4462
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createStaticVNode)("<defs><path d=\"M24,48 C37.254834,48 48,37.254834 48,24 C48,10.745166 37.254834,0 24,0 C10.745166,0 0,10.745166 0,24 C0,37.254834 10.745166,48 24,48 Z\" id=\"path-1\"></path><mask id=\"mask-2\" maskContentUnits=\"userSpaceOnUse\" maskUnits=\"objectBoundingBox\" x=\"0\" y=\"0\" width=\"48\" height=\"48\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask></defs><g id=\"页面-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"头像\" transform=\"translate(-226.000000, -117.000000)\"><g id=\"默认\" transform=\"translate(226.000000, 117.000000)\"><path d=\"M24,40 C32.836556,40 40,32.836556 40,24 C40,15.163444 32.836556,8 24,8 C15.163444,8 8,15.163444 8,24 C8,32.836556 15.163444,40 24,40 Z\" id=\"Ellipse-103\" fill=\"var(--el-color-primary)\"></path><path d=\"M40.9705649,7.02943832 C45.4714385,11.5303119 48,17.6348038 48,24 C48,30.3651962 45.4714385,36.4696913 40.9705649,40.9705649 C36.4696913,45.4714385 30.3651962,48 24,48 C17.6348038,48 11.5303119,45.4714385 7.02943832,40.9705649 C2.52856472,36.4696913 0,30.3651962 0,24 C0,17.6348038 2.52856472,11.5303119 7.02943832,7.02943832 C11.5303119,2.52856472 17.6348038,0 24,0 C30.3651962,0 36.4696913,2.52856472 40.9705649,7.02943832 Z M21,25.5 C18.613054,25.5 16.3238672,26.448212 14.6360398,28.1360395 C12.9482123,29.823867 12,32.1130506 12,34.5 L36,34.5 L35.9849989,33.9719988 C35.8503218,31.6803201 34.8450201,29.5267267 33.1747819,27.9518511 C31.5045437,26.3769755 29.2956342,25.4998708 27,25.5 L21,25.5 Z M19.7573588,12.2573601 C18.6321404,13.3825785 18,14.9087023 18,16.5 C18,18.0913004 18.6321404,19.6174252 19.7573588,20.7426436 C20.8825772,21.867862 22.408701,22.5 24,22.5 C25.591299,22.5 27.1174228,21.867862 28.2426412,20.7426436 C29.3678596,19.6174252 30,18.0913004 30,16.5 C30,14.9087023 29.3678596,13.3825785 28.2426412,12.2573601 C27.1174228,11.1321417 25.591299,10.5 24,10.5 C22.408701,10.5 20.8825772,11.1321417 19.7573588,12.2573601 Z\" id=\"Vector\" fill=\"#DCEBF9\"></path><use id=\"Ellipse-104\" mask=\"url(#mask-2)\" stroke-width=\"2\" stroke-dasharray=\"0,0\" xlink:href=\"#path-1\"></use></g></g></g>", 2)
|
|
4463
4463
|
]), 8, default_patientvue_type_script_setup_true_lang_ts_hoisted_1));
|
|
4464
4464
|
}
|
|
4465
4465
|
});
|
|
@@ -8583,10 +8583,10 @@ function useUpdateInvoiceFormConfig(options) {
|
|
|
8583
8583
|
const updateCurrentNo_exports_ = updateCurrentNovue_type_script_setup_true_lang_ts_name_updateDialog;
|
|
8584
8584
|
/* ESM default export */ const composables_updateCurrentNo = updateCurrentNo_exports_;
|
|
8585
8585
|
const invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_1 = {
|
|
8586
|
-
class: "absolute left-[11px] top-2.5 -translate-x-1/2 -translate-y-1/2 rotate-[-42deg] bg-
|
|
8586
|
+
class: "absolute left-[11px] top-2.5 -translate-x-1/2 -translate-y-1/2 rotate-[-42deg] bg-primary px-10 text-sm text-white scale-[0.8]"
|
|
8587
8587
|
};
|
|
8588
8588
|
const invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_2 = {
|
|
8589
|
-
class: "flex items-center justify-between min-w-[200px] text-
|
|
8589
|
+
class: "flex items-center justify-between min-w-[200px] text-primary"
|
|
8590
8590
|
};
|
|
8591
8591
|
const invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_3 = {
|
|
8592
8592
|
class: "pl-3"
|
|
@@ -8723,14 +8723,17 @@ const invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_4 = {
|
|
|
8723
8723
|
}, {
|
|
8724
8724
|
reference: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
8725
8725
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", {
|
|
8726
|
-
class: "relative overflow-hidden bg-
|
|
8726
|
+
class: "relative overflow-hidden bg-primary-light rounded",
|
|
8727
8727
|
onClick: handleShow,
|
|
8728
8728
|
ref_key: "popoverRef",
|
|
8729
8729
|
ref: popoverRef
|
|
8730
8730
|
}, [
|
|
8731
8731
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_1, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(currentRow.value?.invoiceMediaTypeDesc ?? "--"), 1),
|
|
8732
8732
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_button, {
|
|
8733
|
-
class: "
|
|
8733
|
+
class: "bg-primary-light",
|
|
8734
|
+
style: {
|
|
8735
|
+
"border-color": "var(--el-color-primary)"
|
|
8736
|
+
}
|
|
8734
8737
|
}, {
|
|
8735
8738
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
8736
8739
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_2, [
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
[data-v-
|
|
9
|
+
[data-v-2ad367a9] .el-menu-item {
|
|
10
10
|
height: 48px;
|
|
11
11
|
line-height: 48px;
|
|
12
12
|
}
|
|
13
|
-
[data-v-
|
|
13
|
+
[data-v-2ad367a9] .el-sub-menu__title {
|
|
14
14
|
height: 48px;
|
|
15
15
|
line-height: 48px;
|
|
16
16
|
}
|
|
17
|
-
[data-v-
|
|
17
|
+
[data-v-2ad367a9] .el-menu-item.is-active {
|
|
18
18
|
color: inherit !important;
|
|
19
19
|
background-color: #0000 !important;
|
|
20
20
|
}
|
package/dist/index.js
CHANGED
|
@@ -1860,11 +1860,11 @@ const tableColumnSetting = (options)=>{
|
|
|
1860
1860
|
createColumnSetting(options, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_micro_app__.app?._context);
|
|
1861
1861
|
};
|
|
1862
1862
|
const TableSettingButtonvue_type_script_setup_true_lang_tsx_hoisted_1 = {
|
|
1863
|
-
class: "el-dropdown-link absolute left-3 top-2.5 z-50 cursor-pointer text-
|
|
1863
|
+
class: "el-dropdown-link absolute left-3 top-2.5 z-50 cursor-pointer text-primary"
|
|
1864
1864
|
};
|
|
1865
|
-
const FILE_TYPE_CODE =
|
|
1866
|
-
const COLUMN_SETTING =
|
|
1867
|
-
const EXPORT_FILE =
|
|
1865
|
+
const FILE_TYPE_CODE = "FILE_TYPE_CODE";
|
|
1866
|
+
const COLUMN_SETTING = "column-setting";
|
|
1867
|
+
const EXPORT_FILE = "export-file";
|
|
1868
1868
|
/* ESM default export */ const TableSettingButtonvue_type_script_setup_true_lang_tsx = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
|
|
1869
1869
|
__name: 'TableSettingButton',
|
|
1870
1870
|
props: {
|
|
@@ -1876,7 +1876,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1876
1876
|
componentDesc: {}
|
|
1877
1877
|
},
|
|
1878
1878
|
emits: [
|
|
1879
|
-
|
|
1879
|
+
"success"
|
|
1880
1880
|
],
|
|
1881
1881
|
setup (__props, { emit: __emit }) {
|
|
1882
1882
|
const dataSetList = useFetchDataset([
|
|
@@ -1889,7 +1889,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1889
1889
|
let result = [
|
|
1890
1890
|
{
|
|
1891
1891
|
value: COLUMN_SETTING,
|
|
1892
|
-
label:
|
|
1892
|
+
label: "表格设置",
|
|
1893
1893
|
children: []
|
|
1894
1894
|
}
|
|
1895
1895
|
];
|
|
@@ -1897,13 +1897,13 @@ const EXPORT_FILE = 'export-file';
|
|
|
1897
1897
|
let list = dataSetList.value?.[FILE_TYPE_CODE] || [];
|
|
1898
1898
|
if (1 === list.length) result.push({
|
|
1899
1899
|
value: list[0]?.dataValueNo,
|
|
1900
|
-
label:
|
|
1900
|
+
label: "导出文件",
|
|
1901
1901
|
disabled: !props.tableData.length,
|
|
1902
1902
|
children: []
|
|
1903
1903
|
});
|
|
1904
1904
|
if (list.length > 1) result.push({
|
|
1905
1905
|
value: EXPORT_FILE,
|
|
1906
|
-
label:
|
|
1906
|
+
label: "导出文件",
|
|
1907
1907
|
disabled: !props.tableData.length,
|
|
1908
1908
|
children: list.map((item)=>({
|
|
1909
1909
|
value: item?.dataValueNo,
|
|
@@ -1914,15 +1914,15 @@ const EXPORT_FILE = 'export-file';
|
|
|
1914
1914
|
return result;
|
|
1915
1915
|
});
|
|
1916
1916
|
const getRenderedContent = (render, row, value, index)=>{
|
|
1917
|
-
const tempDiv = document.createElement(
|
|
1917
|
+
const tempDiv = document.createElement("div");
|
|
1918
1918
|
const app = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createApp)({
|
|
1919
1919
|
render () {
|
|
1920
|
-
return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)(
|
|
1920
|
+
return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)("div", {}, render(row, value, row, index));
|
|
1921
1921
|
}
|
|
1922
1922
|
});
|
|
1923
1923
|
app.use(__WEBPACK_EXTERNAL_MODULE_element_sun__["default"]);
|
|
1924
1924
|
app.mount(tempDiv);
|
|
1925
|
-
const content = tempDiv.textContent ||
|
|
1925
|
+
const content = tempDiv.textContent || "";
|
|
1926
1926
|
app.unmount();
|
|
1927
1927
|
return content;
|
|
1928
1928
|
};
|
|
@@ -1930,15 +1930,15 @@ const EXPORT_FILE = 'export-file';
|
|
|
1930
1930
|
let [, res] = await exportData2File({
|
|
1931
1931
|
fileTypeCode: value,
|
|
1932
1932
|
dataSource: JSON.stringify({
|
|
1933
|
-
columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES &&
|
|
1933
|
+
columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && "操作" !== cur.label).map((item)=>({
|
|
1934
1934
|
columnIndex: item.prop,
|
|
1935
1935
|
columnTitle: item.label
|
|
1936
1936
|
})),
|
|
1937
1937
|
rowList: props.tableData.map((item, index)=>({
|
|
1938
1938
|
rowSequenceNo: index,
|
|
1939
|
-
rowRecordList: props.columns.filter((col)=>col.prop && col.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES &&
|
|
1939
|
+
rowRecordList: props.columns.filter((col)=>col.prop && col.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && "操作" !== col.label).map((col)=>{
|
|
1940
1940
|
let value = item[col.prop];
|
|
1941
|
-
if (
|
|
1941
|
+
if ("function" == typeof col.render) try {
|
|
1942
1942
|
value = getRenderedContent(col.render, item, value, index) || value;
|
|
1943
1943
|
} catch (error) {
|
|
1944
1944
|
console.warn(`Render function error for column ${col.prop}:`, error);
|
|
@@ -1956,7 +1956,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1956
1956
|
fileName: `${props.componentDesc}.xlsx`,
|
|
1957
1957
|
data: res?.data?.fileString
|
|
1958
1958
|
});
|
|
1959
|
-
__WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success(
|
|
1959
|
+
__WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success("导出成功");
|
|
1960
1960
|
}
|
|
1961
1961
|
}
|
|
1962
1962
|
function hide() {
|
|
@@ -1969,7 +1969,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
1969
1969
|
componentNo: props.componentNo,
|
|
1970
1970
|
columnsSetting: props.columnsSetting,
|
|
1971
1971
|
success: ()=>{
|
|
1972
|
-
emit(
|
|
1972
|
+
emit("success");
|
|
1973
1973
|
}
|
|
1974
1974
|
});
|
|
1975
1975
|
}
|
|
@@ -2054,7 +2054,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
2054
2054
|
})) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("span", {
|
|
2055
2055
|
key: 1,
|
|
2056
2056
|
onClick: openColumnSetting,
|
|
2057
|
-
class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)(`el-dropdown-link absolute left-3 top-2.5 z-50 ${props.columnsSetting?.disabled ? 'cursor-not-allowed text-
|
|
2057
|
+
class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)(`el-dropdown-link absolute left-3 top-2.5 z-50 ${props.columnsSetting?.disabled ? 'cursor-not-allowed text-primary' : 'cursor-pointer text-primary-dark'}`)
|
|
2058
2058
|
}, [
|
|
2059
2059
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElIcon), null, {
|
|
2060
2060
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
@@ -2069,7 +2069,7 @@ const EXPORT_FILE = 'export-file';
|
|
|
2069
2069
|
const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(TableSettingButtonvue_type_script_setup_true_lang_tsx, [
|
|
2070
2070
|
[
|
|
2071
2071
|
'__scopeId',
|
|
2072
|
-
"data-v-
|
|
2072
|
+
"data-v-2ad367a9"
|
|
2073
2073
|
]
|
|
2074
2074
|
]);
|
|
2075
2075
|
/* ESM default export */ const TableSettingButton = TableSettingButton_exports_;
|
|
@@ -4916,7 +4916,7 @@ const default_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
|
|
|
4916
4916
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4917
4917
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
4918
4918
|
}, _cache[0] || (_cache[0] = [
|
|
4919
|
-
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createStaticVNode)("<defs><path d=\"M24,48 C37.254834,48 48,37.254834 48,24 C48,10.745166 37.254834,0 24,0 C10.745166,0 0,10.745166 0,24 C0,37.254834 10.745166,48 24,48 Z\" id=\"path-1\"></path><mask id=\"mask-2\" maskContentUnits=\"userSpaceOnUse\" maskUnits=\"objectBoundingBox\" x=\"0\" y=\"0\" width=\"48\" height=\"48\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask></defs><g id=\"页面-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"头像\" transform=\"translate(-226.000000, -117.000000)\"><g id=\"默认\" transform=\"translate(226.000000, 117.000000)\"><path d=\"M24,40 C32.836556,40 40,32.836556 40,24 C40,15.163444 32.836556,8 24,8 C15.163444,8 8,15.163444 8,24 C8,32.836556 15.163444,40 24,40 Z\" id=\"Ellipse-103\" fill=\"
|
|
4919
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createStaticVNode)("<defs><path d=\"M24,48 C37.254834,48 48,37.254834 48,24 C48,10.745166 37.254834,0 24,0 C10.745166,0 0,10.745166 0,24 C0,37.254834 10.745166,48 24,48 Z\" id=\"path-1\"></path><mask id=\"mask-2\" maskContentUnits=\"userSpaceOnUse\" maskUnits=\"objectBoundingBox\" x=\"0\" y=\"0\" width=\"48\" height=\"48\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask></defs><g id=\"页面-1\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\"><g id=\"头像\" transform=\"translate(-226.000000, -117.000000)\"><g id=\"默认\" transform=\"translate(226.000000, 117.000000)\"><path d=\"M24,40 C32.836556,40 40,32.836556 40,24 C40,15.163444 32.836556,8 24,8 C15.163444,8 8,15.163444 8,24 C8,32.836556 15.163444,40 24,40 Z\" id=\"Ellipse-103\" fill=\"var(--el-color-primary)\"></path><path d=\"M40.9705649,7.02943832 C45.4714385,11.5303119 48,17.6348038 48,24 C48,30.3651962 45.4714385,36.4696913 40.9705649,40.9705649 C36.4696913,45.4714385 30.3651962,48 24,48 C17.6348038,48 11.5303119,45.4714385 7.02943832,40.9705649 C2.52856472,36.4696913 0,30.3651962 0,24 C0,17.6348038 2.52856472,11.5303119 7.02943832,7.02943832 C11.5303119,2.52856472 17.6348038,0 24,0 C30.3651962,0 36.4696913,2.52856472 40.9705649,7.02943832 Z M21,25.5 C18.613054,25.5 16.3238672,26.448212 14.6360398,28.1360395 C12.9482123,29.823867 12,32.1130506 12,34.5 L36,34.5 L35.9849989,33.9719988 C35.8503218,31.6803201 34.8450201,29.5267267 33.1747819,27.9518511 C31.5045437,26.3769755 29.2956342,25.4998708 27,25.5 L21,25.5 Z M19.7573588,12.2573601 C18.6321404,13.3825785 18,14.9087023 18,16.5 C18,18.0913004 18.6321404,19.6174252 19.7573588,20.7426436 C20.8825772,21.867862 22.408701,22.5 24,22.5 C25.591299,22.5 27.1174228,21.867862 28.2426412,20.7426436 C29.3678596,19.6174252 30,18.0913004 30,16.5 C30,14.9087023 29.3678596,13.3825785 28.2426412,12.2573601 C27.1174228,11.1321417 25.591299,10.5 24,10.5 C22.408701,10.5 20.8825772,11.1321417 19.7573588,12.2573601 Z\" id=\"Vector\" fill=\"#DCEBF9\"></path><use id=\"Ellipse-104\" mask=\"url(#mask-2)\" stroke-width=\"2\" stroke-dasharray=\"0,0\" xlink:href=\"#path-1\"></use></g></g></g>", 2)
|
|
4920
4920
|
]), 8, default_patientvue_type_script_setup_true_lang_ts_hoisted_1));
|
|
4921
4921
|
}
|
|
4922
4922
|
});
|
|
@@ -7819,10 +7819,10 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
|
|
|
7819
7819
|
const updateCurrentNo_exports_ = updateCurrentNovue_type_script_setup_true_lang_ts_name_updateDialog;
|
|
7820
7820
|
/* ESM default export */ const composables_updateCurrentNo = updateCurrentNo_exports_;
|
|
7821
7821
|
const invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_1 = {
|
|
7822
|
-
class: "absolute left-[11px] top-2.5 -translate-x-1/2 -translate-y-1/2 rotate-[-42deg] bg-
|
|
7822
|
+
class: "absolute left-[11px] top-2.5 -translate-x-1/2 -translate-y-1/2 rotate-[-42deg] bg-primary px-10 text-sm text-white scale-[0.8]"
|
|
7823
7823
|
};
|
|
7824
7824
|
const invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_2 = {
|
|
7825
|
-
class: "flex items-center justify-between min-w-[200px] text-
|
|
7825
|
+
class: "flex items-center justify-between min-w-[200px] text-primary"
|
|
7826
7826
|
};
|
|
7827
7827
|
const invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_3 = {
|
|
7828
7828
|
class: "pl-3"
|
|
@@ -7959,14 +7959,17 @@ const invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_4 = {
|
|
|
7959
7959
|
}, {
|
|
7960
7960
|
reference: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
7961
7961
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", {
|
|
7962
|
-
class: "relative overflow-hidden bg-
|
|
7962
|
+
class: "relative overflow-hidden bg-primary-light rounded",
|
|
7963
7963
|
onClick: handleShow,
|
|
7964
7964
|
ref_key: "popoverRef",
|
|
7965
7965
|
ref: popoverRef
|
|
7966
7966
|
}, [
|
|
7967
7967
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_1, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(currentRow.value?.invoiceMediaTypeDesc ?? "--"), 1),
|
|
7968
7968
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_button, {
|
|
7969
|
-
class: "
|
|
7969
|
+
class: "bg-primary-light",
|
|
7970
|
+
style: {
|
|
7971
|
+
"border-color": "var(--el-color-primary)"
|
|
7972
|
+
}
|
|
7970
7973
|
}, {
|
|
7971
7974
|
default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
|
|
7972
7975
|
(0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", invoicevue_type_script_setup_true_lang_ts_name_proInvoice_hoisted_2, [
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
[data-v-
|
|
9
|
+
[data-v-2ad367a9] .el-menu-item {
|
|
10
10
|
height: 48px;
|
|
11
11
|
line-height: 48px;
|
|
12
12
|
}
|
|
13
|
-
[data-v-
|
|
13
|
+
[data-v-2ad367a9] .el-sub-menu__title {
|
|
14
14
|
height: 48px;
|
|
15
15
|
line-height: 48px;
|
|
16
16
|
}
|
|
17
|
-
[data-v-
|
|
17
|
+
[data-v-2ad367a9] .el-menu-item.is-active {
|
|
18
18
|
color: inherit !important;
|
|
19
19
|
background-color: #0000 !important;
|
|
20
20
|
}
|