sun-biz 0.0.4-beta.21 → 0.0.4-beta.23

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/index.js CHANGED
@@ -256,6 +256,7 @@ const copy_text_with_tooltip_exports_ = /*#__PURE__*/ (0, exportHelper["default"
256
256
  const count = decimalCount(number);
257
257
  return Number(number).toFixed(count > len ? count : len);
258
258
  }
259
+ const OPERATION = 'operation';
259
260
  /**
260
261
  * @description: 是否为数组
261
262
  */ function isArray(val) {
@@ -391,7 +392,7 @@ const TableColumn = (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
391
392
  ...column,
392
393
  align: column.align ?? 'center',
393
394
  fixed: column.fixed ?? false,
394
- showOverflowTooltip: column.showOverflowTooltip ?? 'operation' !== column.prop
395
+ showOverflowTooltip: column.showOverflowTooltip ?? column.prop !== OPERATION
395
396
  };
396
397
  const renderHeader = (scope)=>{
397
398
  if (column.headerRender) return [
@@ -1898,9 +1899,9 @@ const tableColumnSetting = (options)=>{
1898
1899
  const TableSettingButtonvue_type_script_setup_true_lang_tsx_hoisted_1 = {
1899
1900
  class: "el-dropdown-link absolute left-3 top-2.5 z-50 cursor-pointer text-primary"
1900
1901
  };
1901
- const FILE_TYPE_CODE = "FILE_TYPE_CODE";
1902
- const COLUMN_SETTING = "column-setting";
1903
- const EXPORT_FILE = "export-file";
1902
+ const FILE_TYPE_CODE = 'FILE_TYPE_CODE';
1903
+ const COLUMN_SETTING = 'column-setting';
1904
+ const EXPORT_FILE = 'export-file';
1904
1905
  /* ESM default export */ const TableSettingButtonvue_type_script_setup_true_lang_tsx = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
1905
1906
  __name: 'TableSettingButton',
1906
1907
  props: {
@@ -1912,7 +1913,7 @@ const EXPORT_FILE = "export-file";
1912
1913
  componentDesc: {}
1913
1914
  },
1914
1915
  emits: [
1915
- "success"
1916
+ 'success'
1916
1917
  ],
1917
1918
  setup (__props, { emit: __emit }) {
1918
1919
  const dataSetList = use_fetch_dataset([
@@ -1925,7 +1926,7 @@ const EXPORT_FILE = "export-file";
1925
1926
  let result = [
1926
1927
  {
1927
1928
  value: COLUMN_SETTING,
1928
- label: "表格设置",
1929
+ label: '表格设置',
1929
1930
  children: []
1930
1931
  }
1931
1932
  ];
@@ -1933,13 +1934,13 @@ const EXPORT_FILE = "export-file";
1933
1934
  let list = dataSetList.value?.[FILE_TYPE_CODE] || [];
1934
1935
  if (1 === list.length) result.push({
1935
1936
  value: list[0]?.dataValueNo,
1936
- label: "导出文件",
1937
+ label: '导出文件',
1937
1938
  disabled: !props.tableData.length,
1938
1939
  children: []
1939
1940
  });
1940
1941
  if (list.length > 1) result.push({
1941
1942
  value: EXPORT_FILE,
1942
- label: "导出文件",
1943
+ label: '导出文件',
1943
1944
  disabled: !props.tableData.length,
1944
1945
  children: list.map((item)=>({
1945
1946
  value: item?.dataValueNo,
@@ -1950,15 +1951,15 @@ const EXPORT_FILE = "export-file";
1950
1951
  return result;
1951
1952
  });
1952
1953
  const getRenderedContent = (render, row, value, index)=>{
1953
- const tempDiv = document.createElement("div");
1954
+ const tempDiv = document.createElement('div');
1954
1955
  const app = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createApp)({
1955
1956
  render () {
1956
- return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)("div", {}, render(row, value, row, index));
1957
+ return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)('div', {}, render(row, value, row, index));
1957
1958
  }
1958
1959
  });
1959
1960
  app.use(__WEBPACK_EXTERNAL_MODULE_element_sun__["default"]);
1960
1961
  app.mount(tempDiv);
1961
- const content = tempDiv.textContent || "";
1962
+ const content = tempDiv.textContent || '';
1962
1963
  app.unmount();
1963
1964
  return content;
1964
1965
  };
@@ -1966,15 +1967,15 @@ const EXPORT_FILE = "export-file";
1966
1967
  let [, res] = await exportData2File({
1967
1968
  fileTypeCode: value,
1968
1969
  dataSource: JSON.stringify({
1969
- columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && "操作" !== cur.label).map((item)=>({
1970
+ columnList: props.columns.filter((cur)=>cur.prop && cur.label && cur.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && cur.prop !== OPERATION).map((item)=>({
1970
1971
  columnIndex: item.prop,
1971
1972
  columnTitle: item.label
1972
1973
  })),
1973
1974
  rowList: props.tableData.map((item, index)=>({
1974
1975
  rowSequenceNo: index,
1975
- rowRecordList: props.columns.filter((col)=>col.prop && col.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && "操作" !== col.label).map((col)=>{
1976
+ rowRecordList: props.columns.filter((col)=>col.prop && col.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && col.prop !== OPERATION).map((col)=>{
1976
1977
  let value = item[col.prop];
1977
- if ("function" == typeof col.render) try {
1978
+ if ('function' == typeof col.render) try {
1978
1979
  value = getRenderedContent(col.render, item, value, index) || value;
1979
1980
  } catch (error) {
1980
1981
  console.warn(`Render function error for column ${col.prop}:`, error);
@@ -1992,7 +1993,7 @@ const EXPORT_FILE = "export-file";
1992
1993
  fileName: `${props.componentDesc}.xlsx`,
1993
1994
  data: res?.data?.fileString
1994
1995
  });
1995
- __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success("导出成功");
1996
+ __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success('导出成功');
1996
1997
  }
1997
1998
  }
1998
1999
  function hide() {
@@ -2005,7 +2006,7 @@ const EXPORT_FILE = "export-file";
2005
2006
  componentNo: props.componentNo,
2006
2007
  columnsSetting: props.columnsSetting,
2007
2008
  success: ()=>{
2008
- emit("success");
2009
+ emit('success');
2009
2010
  }
2010
2011
  });
2011
2012
  }
@@ -2105,7 +2106,7 @@ const EXPORT_FILE = "export-file";
2105
2106
  const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(TableSettingButtonvue_type_script_setup_true_lang_tsx, [
2106
2107
  [
2107
2108
  '__scopeId',
2108
- "data-v-706fe1a7"
2109
+ "data-v-38d4eddb"
2109
2110
  ]
2110
2111
  ]);
2111
2112
  /* ESM default export */ const TableSettingButton = TableSettingButton_exports_;
@@ -2145,18 +2146,19 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
2145
2146
  const emits = __emit;
2146
2147
  const proTableRef = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
2147
2148
  const selectedData = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>proTableRef?.value?.getSelectionRows() || []);
2149
+ const draggableProps = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>props.draggable ? props.tableColumns.filter((col)=>false !== col.isDraggable && col.prop !== OPERATION).map((col)=>col.prop) : []);
2148
2150
  __expose({
2149
2151
  proTableRef
2150
2152
  }); // 适配器函数,自动兼容两种 rowClassName 写法
2151
- function rowClassNameAdapter(row, rowIndex) {
2153
+ function rowClassNameAdapter(data) {
2152
2154
  const fn = props.rowClassName;
2153
2155
  if (!fn) return '';
2154
2156
  if ('string' == typeof fn) return fn; // 判断是对象参数还是分参数
2155
2157
  if (1 === fn.length) return fn({
2156
- row,
2157
- rowIndex
2158
+ row: data.row,
2159
+ rowIndex: data.rowIndex
2158
2160
  });
2159
- return fn(row, rowIndex);
2161
+ return fn(data.row, data.rowIndex);
2160
2162
  }
2161
2163
  return (_ctx, _cache)=>{
2162
2164
  const _directive_loading = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective)("loading");
@@ -2189,7 +2191,7 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
2189
2191
  },
2190
2192
  class: "min-h-0 flex-1 overflow-auto",
2191
2193
  "row-key": props.rowKey,
2192
- "cell-class-name": ({ column })=>_ctx.draggable && 'operation' !== column.property ? 'cursor-move' : '',
2194
+ "cell-class-name": ({ column })=>draggableProps.value.includes(column.property) ? 'cursor-move' : '',
2193
2195
  "row-class-name": rowClassNameAdapter,
2194
2196
  border: ""
2195
2197
  }, _ctx.$attrs), {
@@ -2620,7 +2622,11 @@ const SELECTION = "selection";
2620
2622
  initDragSort();
2621
2623
  });
2622
2624
  }
2623
- emit("drag-end", data, fromPath);
2625
+ emit("drag-end", data, {
2626
+ fromPath,
2627
+ oldIndex,
2628
+ newIndex
2629
+ });
2624
2630
  } else evt.from.innerHTML = initialHTML;
2625
2631
  },
2626
2632
  onStart (evt) {
@@ -4218,6 +4224,7 @@ function useColumnConfig(options) {
4218
4224
  const columns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>__props.accessResult.columns.filter((item)=>item.display === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG_STR.YES).map((item)=>({
4219
4225
  ...item,
4220
4226
  label: item.title,
4227
+ minWidth: 110,
4221
4228
  prop: item.dataIndex
4222
4229
  })));
4223
4230
  const setCurrentRow = (row)=>{
@@ -4663,7 +4670,7 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
4663
4670
  columns: res.data.titleAndAttribute,
4664
4671
  data: res.data.data.data ?? []
4665
4672
  };
4666
- handleSearchResult(accessResult.value);
4673
+ handleSearchResult(accessResult.value, cardInfo);
4667
4674
  }
4668
4675
  };
4669
4676
  /**
@@ -4894,111 +4901,137 @@ const BANNER_COMPONENT_CONFIG = {
4894
4901
  /** 住院检索组件的code */ searchCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.COMPONENT_CODE.ADMISSION_RECORD
4895
4902
  }
4896
4903
  };
4897
- const default_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
4904
+ function formatSize(val) {
4905
+ if ('string' == typeof val) return val;
4906
+ if ('number' == typeof val) return `${val}px`;
4907
+ return '48px';
4908
+ }
4909
+ function useAvatarSize(width, height) {
4910
+ const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>formatSize(width));
4911
+ const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>formatSize(height));
4912
+ return {
4913
+ currentWidth,
4914
+ currentHeight
4915
+ };
4916
+ }
4917
+ /**
4918
+ * 头像类型
4919
+ */ var utils_AVATAR_TYPE_CODE = /*#__PURE__*/ function(AVATAR_TYPE_CODE) {
4920
+ /**
4921
+ * 男性
4922
+ */ AVATAR_TYPE_CODE["WOMAN"] = "woman";
4923
+ /**
4924
+ * 女性
4925
+ */ AVATAR_TYPE_CODE["MAN"] = "man";
4926
+ /**
4927
+ * 默认
4928
+ */ AVATAR_TYPE_CODE["DEFAULT"] = "default";
4929
+ return AVATAR_TYPE_CODE;
4930
+ }({});
4931
+ const manvue_type_script_setup_true_lang_ts_hoisted_1 = [
4898
4932
  "width",
4899
4933
  "height"
4900
4934
  ];
4901
- /* ESM default export */ const default_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4902
- __name: 'default_patient',
4935
+ /* ESM default export */ const manvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4936
+ __name: 'man',
4903
4937
  props: {
4904
4938
  width: {},
4905
4939
  height: {}
4906
4940
  },
4907
4941
  setup (__props) {
4908
- const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4909
- if ("string" == typeof __props.width) return __props.width;
4910
- if ("number" == typeof __props.width) return `${__props.width}px`;
4911
- return "48px"; // 默认值
4912
- });
4913
- const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4914
- if ("string" == typeof __props.height) return __props.height;
4915
- if ("number" == typeof __props.height) return `${__props.height}px`;
4916
- return "48px"; // 默认值
4917
- });
4942
+ const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
4918
4943
  return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
4919
- width: currentWidth.value,
4920
- height: currentHeight.value,
4944
+ width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
4945
+ height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
4921
4946
  viewBox: "0 0 48 48",
4922
4947
  version: "1.1",
4923
4948
  xmlns: "http://www.w3.org/2000/svg",
4924
4949
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
4925
4950
  }, _cache[0] || (_cache[0] = [
4926
- (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)
4927
- ]), 8, default_patientvue_type_script_setup_true_lang_ts_hoisted_1));
4951
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createStaticVNode)("<defs><rect id=\"path-1\" x=\"0\" y=\"0\" width=\"48\" height=\"48\"></rect><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><mask id=\"mask-4\" 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(-42.000000, -117.000000)\"><g id=\"男患者\" transform=\"translate(42.000000, 117.000000)\"><mask id=\"mask-3\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask><g id=\"年龄=男-(Background/Mask)\" mask=\"url(#mask-2)\" stroke-width=\"2\" fill=\"#DCEBF9\" stroke-linejoin=\"bevel\" stroke-dasharray=\"0,0\"><use mask=\"url(#mask-4)\" xlink:href=\"#path-1\"></use></g><g id=\"编组\" mask=\"url(#mask-3)\"><g transform=\"translate(-1.411743, 8.578021)\"><path d=\"M19.539856,30.0474823 C21.2975441,32.3003545 23.3186363,34.3148989 25.6031324,36.0911155 C28.4680724,33.5403075 30.4123005,31.5257631 31.4358168,30.0474823 C31.0024567,29.3141253 30.8767889,25.8498667 31.0588134,19.6547065 L20.1176378,19.6547065 C20.4759263,25.6493496 20.2833324,29.1136082 19.539856,30.0474823 Z\" id=\"路径-4\" fill=\"#FDD1C1\"></path><path d=\"M5.14905306,34.127889 C4.49817356,35.4620317 2.78182255,40.5208549 0,49.3043585 L52.2352905,50.3631835 C49.9468828,40.6727688 47.9836164,35.2610039 46.3454911,34.127889 C44.7073659,32.994774 39.6118092,30.9742128 31.0588211,28.0662055 L25.4949168,32.5216499 L20.1176464,28.0662055 C10.7894637,30.7731851 5.79993255,32.7937463 5.14905306,34.127889 Z\" id=\"路径-2\" fill=\"#9DC1EB\"></path><path d=\"M22.554719,36.2455335 L25.7647309,32.4562326 L20.5276802,27.7749457 L18.3529663,28.5948679 L22.554719,36.2455335 Z\" id=\"路径-11\" fill=\"#FFFFFF\"></path><path d=\"M29.7641656,36.2455335 L32.8235474,32.5216476 L27.6482883,27.7749457 L25.4117827,28.7095082 L29.7641656,36.2455335 Z\" id=\"路径-11复制\" fill=\"#FFFFFF\" transform=\"translate(29.117665, 32.010240) scale(1, -1) rotate(-180.000000) translate(-29.117665, -32.010240) \"></path><path d=\"M15.4374821,11.5944405 C16.0833846,11.5107177 16.6657005,11.9448752 17.1844298,12.8969131 C17.2133992,10.124357 17.4993747,8.62538745 18.0423564,8.40000452 C18.856829,8.06193012 20.9045912,7.8289935 22.3732662,8.40000452 C23.8419413,8.97101554 24.9022032,10.3055429 26.8017679,10.3055429 C27.9579904,10.3055429 29.9406801,9.83553477 31.4089417,9.3958699 C32.3528958,9.11320672 33.0842211,8.84308544 33.2466033,8.71846492 C33.2333146,9.4913702 33.3276372,10.7844708 33.5295712,12.5977666 C33.6746791,12.7434716 33.8107459,12.7434716 33.9377716,12.5977666 C34.0779827,12.4369374 34.9743243,12.5261509 35.2941281,12.5977666 C35.408919,12.6234724 35.5207828,9.13376257 35.2449762,7.38931417 C33.6056306,6.76744305 32.9395062,6.85912003 33.2466033,7.66434511 C25.0106049,5.91910992 20.7468737,5.04649232 20.4554096,5.04649232 C20.0182135,5.04649232 16.0188989,2.19920258 15.5636872,4.74189738 C15.1084755,7.28459218 15.109232,10.3055429 15.4374821,11.5944405 Z\" id=\"路径\" fill=\"#6A6E77\"></path><path d=\"M17.556659,11.4131346 C18.5346658,11.8198791 18.1570616,14.179645 17.1990537,15.8209717 C16.2410459,17.4622984 15.792257,18.1468469 14.9174368,18.1467372 C14.3342234,18.1466641 14.0981192,17.3712841 14.2091244,15.820597 C14.2471743,15.0627441 14.5077973,14.200678 14.9909933,13.234399 C15.7157874,11.7849804 16.5786523,11.0063901 17.556659,11.4131346 Z\" id=\"路径-3复制\" fill=\"#FDD1C1\" transform=\"translate(16.155954, 14.726218) scale(1, -1) rotate(173.000000) translate(-16.155954, -14.726218) \"></path><path d=\"M35.8939204,11.4131346 C36.8719272,11.8198791 36.494323,14.179645 35.5363151,15.8209717 C34.5783073,17.4622984 34.1295184,18.1468469 33.2546982,18.1467372 C32.6714848,18.1466641 32.4353806,17.3712841 32.5463858,15.820597 C32.5844357,15.0627441 32.8450587,14.200678 33.3282547,13.234399 C34.0530487,11.7849804 34.9159137,11.0063901 35.8939204,11.4131346 Z\" id=\"路径-3复制-2\" fill=\"#FDD1C1\" transform=\"translate(34.493216, 14.726218) rotate(-7.000000) translate(-34.493216, -14.726218) \"></path><path d=\"M33.9377537,10.5289178 L33.9377537,16.6722207 C33.9377537,21.5221026 30.2393121,25.5716369 25.4093065,26.0102725 L25.4093065,26.0102725 L25.4093065,26.0102725 C20.579301,25.5716369 16.8808594,21.5221026 16.8808594,16.6722207 L16.8808594,10.5289178 C16.8808594,5.81878649 20.6991752,2.00047064 25.4093065,2.00047064 C30.1194378,2.00047064 33.9377537,5.81878649 33.9377537,10.5289178 Z\" id=\"矩形\" fill=\"#FFE6D0\"></path><path d=\"M15.6812227,9.03657485 C19.0651475,10.5538159 21.6222636,8.28013896 23.5550388,8.65835671 C25.4878141,9.03657446 29.7945013,11.0906622 31.4357952,11.0906622 C33.0770892,11.0906622 33.522772,9.73469298 33.9377294,9.37986995 C33.9244408,10.2410287 33.7883739,11.4313115 33.529529,12.9507184 C33.8904319,12.4957557 34.0708833,12.1401021 34.0708833,11.8837575 C34.0708833,7.81901115 35.2813553,8.20972731 35.2440915,7.46930179 C35.0060596,2.73963604 34.3339134,2.73963604 30.9172992,1.41648627 C27.500685,0.093336494 24.5817812,-0.433907428 21.1765077,0.403970658 C17.7316204,1.25159589 16.3625201,2.91818007 15.6812227,4.29897183 C15.3508121,4.96861802 15.3057823,8.86823969 15.6812227,9.03657485 Z\" id=\"路径\" fill=\"#6A6E77\" transform=\"translate(25.330597, 6.475359) scale(-1, 1) translate(-25.330597, -6.475359) \"></path></g></g></g></g></g>", 2)
4952
+ ]), 8, manvue_type_script_setup_true_lang_ts_hoisted_1));
4928
4953
  }
4929
4954
  });
4930
- const default_patient_exports_ = default_patientvue_type_script_setup_true_lang_ts;
4931
- /* ESM default export */ const default_patient = default_patient_exports_;
4932
- const man_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
4955
+ const man_exports_ = manvue_type_script_setup_true_lang_ts;
4956
+ /* ESM default export */ const man = man_exports_;
4957
+ const womenvue_type_script_setup_true_lang_ts_hoisted_1 = [
4933
4958
  "width",
4934
4959
  "height"
4935
4960
  ];
4936
- /* ESM default export */ const man_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4937
- __name: 'man_patient',
4961
+ /* ESM default export */ const womenvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4962
+ __name: 'women',
4938
4963
  props: {
4939
4964
  width: {},
4940
4965
  height: {}
4941
4966
  },
4942
4967
  setup (__props) {
4943
- const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4944
- if ("string" == typeof __props.width) return __props.width;
4945
- if ("number" == typeof __props.width) return `${__props.width}px`;
4946
- return "48px"; // 默认值
4947
- });
4948
- const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4949
- if ("string" == typeof __props.height) return __props.height;
4950
- if ("number" == typeof __props.height) return `${__props.height}px`;
4951
- return "48px"; // 默认值
4952
- });
4968
+ const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
4953
4969
  return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
4954
- width: currentWidth.value,
4955
- height: currentHeight.value,
4970
+ width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
4971
+ height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
4956
4972
  viewBox: "0 0 48 48",
4957
4973
  version: "1.1",
4958
4974
  xmlns: "http://www.w3.org/2000/svg",
4959
4975
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
4960
4976
  }, _cache[0] || (_cache[0] = [
4961
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createStaticVNode)("<defs><rect id=\"path-1\" x=\"0\" y=\"0\" width=\"48\" height=\"48\"></rect><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><mask id=\"mask-4\" 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(-42.000000, -117.000000)\"><g id=\"男患者\" transform=\"translate(42.000000, 117.000000)\"><mask id=\"mask-3\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask><g id=\"年龄=男-(Background/Mask)\" mask=\"url(#mask-2)\" stroke-width=\"2\" fill=\"#DCEBF9\" stroke-linejoin=\"bevel\" stroke-dasharray=\"0,0\"><use mask=\"url(#mask-4)\" xlink:href=\"#path-1\"></use></g><g id=\"编组\" mask=\"url(#mask-3)\"><g transform=\"translate(-1.411743, 8.578021)\"><path d=\"M19.539856,30.0474823 C21.2975441,32.3003545 23.3186363,34.3148989 25.6031324,36.0911155 C28.4680724,33.5403075 30.4123005,31.5257631 31.4358168,30.0474823 C31.0024567,29.3141253 30.8767889,25.8498667 31.0588134,19.6547065 L20.1176378,19.6547065 C20.4759263,25.6493496 20.2833324,29.1136082 19.539856,30.0474823 Z\" id=\"路径-4\" fill=\"#FDD1C1\"></path><path d=\"M5.14905306,34.127889 C4.49817356,35.4620317 2.78182255,40.5208549 0,49.3043585 L52.2352905,50.3631835 C49.9468828,40.6727688 47.9836164,35.2610039 46.3454911,34.127889 C44.7073659,32.994774 39.6118092,30.9742128 31.0588211,28.0662055 L25.4949168,32.5216499 L20.1176464,28.0662055 C10.7894637,30.7731851 5.79993255,32.7937463 5.14905306,34.127889 Z\" id=\"路径-2\" fill=\"#9DC1EB\"></path><path d=\"M22.554719,36.2455335 L25.7647309,32.4562326 L20.5276802,27.7749457 L18.3529663,28.5948679 L22.554719,36.2455335 Z\" id=\"路径-11\" fill=\"#FFFFFF\"></path><path d=\"M29.7641656,36.2455335 L32.8235474,32.5216476 L27.6482883,27.7749457 L25.4117827,28.7095082 L29.7641656,36.2455335 Z\" id=\"路径-11复制\" fill=\"#FFFFFF\" transform=\"translate(29.117665, 32.010240) scale(1, -1) rotate(-180.000000) translate(-29.117665, -32.010240) \"></path><path d=\"M15.4374821,11.5944405 C16.0833846,11.5107177 16.6657005,11.9448752 17.1844298,12.8969131 C17.2133992,10.124357 17.4993747,8.62538745 18.0423564,8.40000452 C18.856829,8.06193012 20.9045912,7.8289935 22.3732662,8.40000452 C23.8419413,8.97101554 24.9022032,10.3055429 26.8017679,10.3055429 C27.9579904,10.3055429 29.9406801,9.83553477 31.4089417,9.3958699 C32.3528958,9.11320672 33.0842211,8.84308544 33.2466033,8.71846492 C33.2333146,9.4913702 33.3276372,10.7844708 33.5295712,12.5977666 C33.6746791,12.7434716 33.8107459,12.7434716 33.9377716,12.5977666 C34.0779827,12.4369374 34.9743243,12.5261509 35.2941281,12.5977666 C35.408919,12.6234724 35.5207828,9.13376257 35.2449762,7.38931417 C33.6056306,6.76744305 32.9395062,6.85912003 33.2466033,7.66434511 C25.0106049,5.91910992 20.7468737,5.04649232 20.4554096,5.04649232 C20.0182135,5.04649232 16.0188989,2.19920258 15.5636872,4.74189738 C15.1084755,7.28459218 15.109232,10.3055429 15.4374821,11.5944405 Z\" id=\"路径\" fill=\"#6A6E77\"></path><path d=\"M17.556659,11.4131346 C18.5346658,11.8198791 18.1570616,14.179645 17.1990537,15.8209717 C16.2410459,17.4622984 15.792257,18.1468469 14.9174368,18.1467372 C14.3342234,18.1466641 14.0981192,17.3712841 14.2091244,15.820597 C14.2471743,15.0627441 14.5077973,14.200678 14.9909933,13.234399 C15.7157874,11.7849804 16.5786523,11.0063901 17.556659,11.4131346 Z\" id=\"路径-3复制\" fill=\"#FDD1C1\" transform=\"translate(16.155954, 14.726218) scale(1, -1) rotate(173.000000) translate(-16.155954, -14.726218) \"></path><path d=\"M35.8939204,11.4131346 C36.8719272,11.8198791 36.494323,14.179645 35.5363151,15.8209717 C34.5783073,17.4622984 34.1295184,18.1468469 33.2546982,18.1467372 C32.6714848,18.1466641 32.4353806,17.3712841 32.5463858,15.820597 C32.5844357,15.0627441 32.8450587,14.200678 33.3282547,13.234399 C34.0530487,11.7849804 34.9159137,11.0063901 35.8939204,11.4131346 Z\" id=\"路径-3复制-2\" fill=\"#FDD1C1\" transform=\"translate(34.493216, 14.726218) rotate(-7.000000) translate(-34.493216, -14.726218) \"></path><path d=\"M33.9377537,10.5289178 L33.9377537,16.6722207 C33.9377537,21.5221026 30.2393121,25.5716369 25.4093065,26.0102725 L25.4093065,26.0102725 L25.4093065,26.0102725 C20.579301,25.5716369 16.8808594,21.5221026 16.8808594,16.6722207 L16.8808594,10.5289178 C16.8808594,5.81878649 20.6991752,2.00047064 25.4093065,2.00047064 C30.1194378,2.00047064 33.9377537,5.81878649 33.9377537,10.5289178 Z\" id=\"矩形\" fill=\"#FFE6D0\"></path><path d=\"M15.6812227,9.03657485 C19.0651475,10.5538159 21.6222636,8.28013896 23.5550388,8.65835671 C25.4878141,9.03657446 29.7945013,11.0906622 31.4357952,11.0906622 C33.0770892,11.0906622 33.522772,9.73469298 33.9377294,9.37986995 C33.9244408,10.2410287 33.7883739,11.4313115 33.529529,12.9507184 C33.8904319,12.4957557 34.0708833,12.1401021 34.0708833,11.8837575 C34.0708833,7.81901115 35.2813553,8.20972731 35.2440915,7.46930179 C35.0060596,2.73963604 34.3339134,2.73963604 30.9172992,1.41648627 C27.500685,0.093336494 24.5817812,-0.433907428 21.1765077,0.403970658 C17.7316204,1.25159589 16.3625201,2.91818007 15.6812227,4.29897183 C15.3508121,4.96861802 15.3057823,8.86823969 15.6812227,9.03657485 Z\" id=\"路径\" fill=\"#6A6E77\" transform=\"translate(25.330597, 6.475359) scale(-1, 1) translate(-25.330597, -6.475359) \"></path></g></g></g></g></g>", 2)
4962
- ]), 8, man_patientvue_type_script_setup_true_lang_ts_hoisted_1));
4977
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createStaticVNode)("<defs><rect id=\"path-1\" x=\"0\" y=\"0\" width=\"48\" height=\"48\"></rect><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><mask id=\"mask-4\" 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(-130.000000, -117.000000)\"><g id=\"女患者\" transform=\"translate(130.000000, 117.000000)\"><mask id=\"mask-3\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask><g id=\"年龄=女-(Background/Mask)\" mask=\"url(#mask-2)\" stroke-width=\"2\" fill=\"#FCE7F0\" stroke-linejoin=\"bevel\" stroke-dasharray=\"0,0\"><use mask=\"url(#mask-4)\" xlink:href=\"#path-1\"></use></g><g id=\"编组\" mask=\"url(#mask-3)\"><g transform=\"translate(-1.411743, 7.517029)\"><path d=\"M32.4117432,1.98297119 C28.3150644,-0.689630985 22.4781547,-0.632149577 18.4117432,1.98294485 C15.850035,3.62100053 14.2283276,6.78040767 13.1309257,9.58540821 C12.1015037,12.1923409 11.6372605,14.9881153 11.7688973,17.7878437 C12.0216292,23.4084806 11.4117432,29.0457649 11.4117432,34.6891022 C11.4117432,34.8843262 11.4117432,35.1082993 11.5630797,35.2323952 C11.6982077,35.3171761 11.8599194,35.3489815 12.0170891,35.3216858 C14.380965,35.1900231 16.4739487,34.7814201 18.756103,34.4015656 C21.601229,33.9293958 24.6688201,34.0640855 27.5487537,33.8839951 C29.2633961,33.784113 31.0658122,33.5071668 32.7804546,33.5813217 C33.3267794,33.6055356 38.1105268,34.3152988 38.1317139,34.610405 C37.6746777,28.3511286 37.9985378,22.1766028 37.9213562,15.9218664 C37.8593082,10.8990088 36.9488111,4.94311261 32.4117432,1.98297119 Z\" id=\"Path\" fill=\"#6A6E77\" fill-rule=\"nonzero\"></path><path d=\"M19.9117432,28.9829712 C19.8029955,29.810802 19.7775764,30.8098762 19.539856,31.1084747 C21.2975441,33.361347 23.3186364,35.3758912 25.6031327,37.1521072 C28.4680725,34.6012998 30.4123005,32.5867556 31.4358168,31.1084747 C31.0024567,30.3751177 30.8767891,26.9108589 31.058814,20.7156982 L20.1176378,20.7156982 C20.2479871,24.19004 20.1793556,26.9457976 19.9117432,28.9829712 Z\" id=\"路径-4\" fill=\"#FDD1C1\" fill-rule=\"evenodd\"></path><path d=\"M5.1490531,35.1888199 C4.49817363,36.5229626 2.7818226,41.5817858 0,50.3652897 L52.2352905,51.4241142 C49.9468818,41.7336996 47.9836148,36.3219349 46.3454895,35.1888199 C44.7073642,34.0557049 39.611808,32.0351437 31.0588207,29.1271362 C30.6274357,32.0974325 28.7728011,33.5825806 25.4949169,33.5825806 C22.4387452,33.5825806 20.5776873,32.0493774 19.9117432,28.9829712 C10.7208292,31.786061 5.79993256,33.8546772 5.1490531,35.1888199 Z\" id=\"路径-2\" fill=\"#E9A9D2\" fill-rule=\"evenodd\"></path><path d=\"M31.1971865,28.9829712 C31.6834437,28.9829712 33.6294901,29.5343028 34.3456192,30.4244784 C36.8399134,33.5249807 33.7578571,35.9829712 31.1971855,35.9829712 C27.966253,35.9829712 26.1036394,34.6273296 25.3877754,33.4386492 C24.6719115,34.627815 23.1426761,35.9829712 19.9117436,35.9829712 C17.3510721,35.9829712 14.4362248,33.4386492 16.4117463,30.9829712 C17.1278754,30.0927956 18.9117484,28.9829712 19.9117484,28.9829712 C20.9117503,32.4829712 22.7562027,32.736654 25.3790264,32.8452811 C28.9344084,32.6897225 29.9117451,32.4829712 31.1971865,28.9829712 Z\" id=\"Combined-Shape\" fill=\"#FFFFFF\" fill-rule=\"nonzero\"></path><path d=\"M17.556659,12.4740653 C18.5346658,12.8808099 18.1570616,15.2405757 17.1990537,16.8819024 C16.2410459,18.5232291 15.792257,19.2077777 14.9174368,19.207668 C14.3342234,19.2075949 14.0981192,18.4322148 14.2091244,16.8815278 C14.2471743,16.1236748 14.5077973,15.2616088 14.9909933,14.2953297 C15.7157874,12.8459112 16.5786523,12.0673208 17.556659,12.4740653 Z\" id=\"路径-3复制\" fill=\"#FDD1C1\" fill-rule=\"evenodd\" transform=\"translate(16.155954, 15.787149) scale(1, -1) rotate(173.000000) translate(-16.155954, -15.787149) \"></path><path d=\"M35.8939204,12.4740653 C36.8719272,12.8808099 36.494323,15.2405757 35.5363151,16.8819024 C34.5783073,18.5232291 34.1295184,19.2077777 33.2546982,19.207668 C32.6714848,19.2075949 32.4353806,18.4322148 32.5463858,16.8815278 C32.5844357,16.1236748 32.8450587,15.2616088 33.3282547,14.2953297 C34.0530487,12.8459112 34.9159137,12.0673208 35.8939204,12.4740653 Z\" id=\"路径-3复制-2\" fill=\"#FDD1C1\" fill-rule=\"evenodd\" transform=\"translate(34.493216, 15.787149) rotate(-7.000000) translate(-34.493216, -15.787149) \"></path><path d=\"M33.9377537,11.5898485 L33.9377537,17.7331514 C33.9377537,22.5830333 30.2393121,26.6325677 25.4093065,27.0712032 L25.4093065,27.0712032 L25.4093065,27.0712032 C20.579301,26.6325677 16.8808594,22.5830333 16.8808594,17.7331514 L16.8808594,11.5898485 C16.8808594,6.87971722 20.6991752,3.06140137 25.4093065,3.06140137 C30.1194378,3.06140137 33.9377537,6.87971722 33.9377537,11.5898485 Z\" id=\"矩形\" fill=\"#FFE6DC\" fill-rule=\"evenodd\"></path><path d=\"M24.6733503,11.6913671 C22.024538,13.5903753 19.9624601,14.3568758 16.9117494,14.9829712 C16.4117432,10.9829712 16.5155237,6.0384028 20.4117494,3.98291373 C22.5285108,2.84913337 27.0318227,1.99650967 29.4117489,2.78245926 C29.3460476,3.48205054 29.2376083,4.17663479 29.0870829,4.86204338 C28.4720778,7.62988853 27.1290796,9.98033571 24.6733503,11.6913671 Z\" id=\"Path\" fill=\"#6A6E77\" fill-rule=\"nonzero\"></path><path d=\"M29.835444,10.923974 C27.3903863,12.6647315 25.5253999,12.4089894 22.7093591,12.9829102 C22.2093315,11.4829102 22.3155814,9.07035065 23.209374,7.48291016 C24.2223651,5.72223103 24.8806003,4.81518441 26.6537957,3.88621545 C28.6077293,2.84691679 32.0124958,2.03702128 34.2093506,2.75747502 C34.1487033,3.39876699 34.048605,4.03546923 33.9096584,4.66376042 C33.3419615,7.20095181 32.1022711,9.35552847 29.835444,10.923974 Z\" id=\"Path\" fill=\"#6A6E77\" fill-rule=\"nonzero\" transform=\"translate(28.310537, 7.732910) scale(1, -1) rotate(-180.000000) translate(-28.310537, -7.732910) \"></path></g></g></g></g></g>", 2)
4978
+ ]), 8, womenvue_type_script_setup_true_lang_ts_hoisted_1));
4963
4979
  }
4964
4980
  });
4965
- const man_patient_exports_ = man_patientvue_type_script_setup_true_lang_ts;
4966
- /* ESM default export */ const man_patient = man_patient_exports_;
4967
- const women_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
4981
+ const women_exports_ = womenvue_type_script_setup_true_lang_ts;
4982
+ /* ESM default export */ const women = women_exports_;
4983
+ const defaultvue_type_script_setup_true_lang_ts_hoisted_1 = [
4968
4984
  "width",
4969
4985
  "height"
4970
4986
  ];
4971
- /* ESM default export */ const women_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4972
- __name: 'women_patient',
4987
+ /* ESM default export */ const defaultvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4988
+ __name: 'default',
4973
4989
  props: {
4974
4990
  width: {},
4975
4991
  height: {}
4976
4992
  },
4977
4993
  setup (__props) {
4978
- const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4979
- if ("string" == typeof __props.width) return __props.width;
4980
- if ("number" == typeof __props.width) return `${__props.width}px`;
4981
- return "48px"; // 默认值
4982
- });
4983
- const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4984
- if ("string" == typeof __props.height) return __props.height;
4985
- if ("number" == typeof __props.height) return `${__props.height}px`;
4986
- return "48px"; // 默认值
4987
- });
4994
+ const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
4988
4995
  return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
4989
- width: currentWidth.value,
4990
- height: currentHeight.value,
4996
+ width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
4997
+ height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
4991
4998
  viewBox: "0 0 48 48",
4992
4999
  version: "1.1",
4993
5000
  xmlns: "http://www.w3.org/2000/svg",
4994
5001
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
4995
5002
  }, _cache[0] || (_cache[0] = [
4996
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createStaticVNode)("<defs><rect id=\"path-1\" x=\"0\" y=\"0\" width=\"48\" height=\"48\"></rect><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><mask id=\"mask-4\" 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(-130.000000, -117.000000)\"><g id=\"女患者\" transform=\"translate(130.000000, 117.000000)\"><mask id=\"mask-3\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask><g id=\"年龄=女-(Background/Mask)\" mask=\"url(#mask-2)\" stroke-width=\"2\" fill=\"#FCE7F0\" stroke-linejoin=\"bevel\" stroke-dasharray=\"0,0\"><use mask=\"url(#mask-4)\" xlink:href=\"#path-1\"></use></g><g id=\"编组\" mask=\"url(#mask-3)\"><g transform=\"translate(-1.411743, 7.517029)\"><path d=\"M32.4117432,1.98297119 C28.3150644,-0.689630985 22.4781547,-0.632149577 18.4117432,1.98294485 C15.850035,3.62100053 14.2283276,6.78040767 13.1309257,9.58540821 C12.1015037,12.1923409 11.6372605,14.9881153 11.7688973,17.7878437 C12.0216292,23.4084806 11.4117432,29.0457649 11.4117432,34.6891022 C11.4117432,34.8843262 11.4117432,35.1082993 11.5630797,35.2323952 C11.6982077,35.3171761 11.8599194,35.3489815 12.0170891,35.3216858 C14.380965,35.1900231 16.4739487,34.7814201 18.756103,34.4015656 C21.601229,33.9293958 24.6688201,34.0640855 27.5487537,33.8839951 C29.2633961,33.784113 31.0658122,33.5071668 32.7804546,33.5813217 C33.3267794,33.6055356 38.1105268,34.3152988 38.1317139,34.610405 C37.6746777,28.3511286 37.9985378,22.1766028 37.9213562,15.9218664 C37.8593082,10.8990088 36.9488111,4.94311261 32.4117432,1.98297119 Z\" id=\"Path\" fill=\"#6A6E77\" fill-rule=\"nonzero\"></path><path d=\"M19.9117432,28.9829712 C19.8029955,29.810802 19.7775764,30.8098762 19.539856,31.1084747 C21.2975441,33.361347 23.3186364,35.3758912 25.6031327,37.1521072 C28.4680725,34.6012998 30.4123005,32.5867556 31.4358168,31.1084747 C31.0024567,30.3751177 30.8767891,26.9108589 31.058814,20.7156982 L20.1176378,20.7156982 C20.2479871,24.19004 20.1793556,26.9457976 19.9117432,28.9829712 Z\" id=\"路径-4\" fill=\"#FDD1C1\" fill-rule=\"evenodd\"></path><path d=\"M5.1490531,35.1888199 C4.49817363,36.5229626 2.7818226,41.5817858 0,50.3652897 L52.2352905,51.4241142 C49.9468818,41.7336996 47.9836148,36.3219349 46.3454895,35.1888199 C44.7073642,34.0557049 39.611808,32.0351437 31.0588207,29.1271362 C30.6274357,32.0974325 28.7728011,33.5825806 25.4949169,33.5825806 C22.4387452,33.5825806 20.5776873,32.0493774 19.9117432,28.9829712 C10.7208292,31.786061 5.79993256,33.8546772 5.1490531,35.1888199 Z\" id=\"路径-2\" fill=\"#E9A9D2\" fill-rule=\"evenodd\"></path><path d=\"M31.1971865,28.9829712 C31.6834437,28.9829712 33.6294901,29.5343028 34.3456192,30.4244784 C36.8399134,33.5249807 33.7578571,35.9829712 31.1971855,35.9829712 C27.966253,35.9829712 26.1036394,34.6273296 25.3877754,33.4386492 C24.6719115,34.627815 23.1426761,35.9829712 19.9117436,35.9829712 C17.3510721,35.9829712 14.4362248,33.4386492 16.4117463,30.9829712 C17.1278754,30.0927956 18.9117484,28.9829712 19.9117484,28.9829712 C20.9117503,32.4829712 22.7562027,32.736654 25.3790264,32.8452811 C28.9344084,32.6897225 29.9117451,32.4829712 31.1971865,28.9829712 Z\" id=\"Combined-Shape\" fill=\"#FFFFFF\" fill-rule=\"nonzero\"></path><path d=\"M17.556659,12.4740653 C18.5346658,12.8808099 18.1570616,15.2405757 17.1990537,16.8819024 C16.2410459,18.5232291 15.792257,19.2077777 14.9174368,19.207668 C14.3342234,19.2075949 14.0981192,18.4322148 14.2091244,16.8815278 C14.2471743,16.1236748 14.5077973,15.2616088 14.9909933,14.2953297 C15.7157874,12.8459112 16.5786523,12.0673208 17.556659,12.4740653 Z\" id=\"路径-3复制\" fill=\"#FDD1C1\" fill-rule=\"evenodd\" transform=\"translate(16.155954, 15.787149) scale(1, -1) rotate(173.000000) translate(-16.155954, -15.787149) \"></path><path d=\"M35.8939204,12.4740653 C36.8719272,12.8808099 36.494323,15.2405757 35.5363151,16.8819024 C34.5783073,18.5232291 34.1295184,19.2077777 33.2546982,19.207668 C32.6714848,19.2075949 32.4353806,18.4322148 32.5463858,16.8815278 C32.5844357,16.1236748 32.8450587,15.2616088 33.3282547,14.2953297 C34.0530487,12.8459112 34.9159137,12.0673208 35.8939204,12.4740653 Z\" id=\"路径-3复制-2\" fill=\"#FDD1C1\" fill-rule=\"evenodd\" transform=\"translate(34.493216, 15.787149) rotate(-7.000000) translate(-34.493216, -15.787149) \"></path><path d=\"M33.9377537,11.5898485 L33.9377537,17.7331514 C33.9377537,22.5830333 30.2393121,26.6325677 25.4093065,27.0712032 L25.4093065,27.0712032 L25.4093065,27.0712032 C20.579301,26.6325677 16.8808594,22.5830333 16.8808594,17.7331514 L16.8808594,11.5898485 C16.8808594,6.87971722 20.6991752,3.06140137 25.4093065,3.06140137 C30.1194378,3.06140137 33.9377537,6.87971722 33.9377537,11.5898485 Z\" id=\"矩形\" fill=\"#FFE6DC\" fill-rule=\"evenodd\"></path><path d=\"M24.6733503,11.6913671 C22.024538,13.5903753 19.9624601,14.3568758 16.9117494,14.9829712 C16.4117432,10.9829712 16.5155237,6.0384028 20.4117494,3.98291373 C22.5285108,2.84913337 27.0318227,1.99650967 29.4117489,2.78245926 C29.3460476,3.48205054 29.2376083,4.17663479 29.0870829,4.86204338 C28.4720778,7.62988853 27.1290796,9.98033571 24.6733503,11.6913671 Z\" id=\"Path\" fill=\"#6A6E77\" fill-rule=\"nonzero\"></path><path d=\"M29.835444,10.923974 C27.3903863,12.6647315 25.5253999,12.4089894 22.7093591,12.9829102 C22.2093315,11.4829102 22.3155814,9.07035065 23.209374,7.48291016 C24.2223651,5.72223103 24.8806003,4.81518441 26.6537957,3.88621545 C28.6077293,2.84691679 32.0124958,2.03702128 34.2093506,2.75747502 C34.1487033,3.39876699 34.048605,4.03546923 33.9096584,4.66376042 C33.3419615,7.20095181 32.1022711,9.35552847 29.835444,10.923974 Z\" id=\"Path\" fill=\"#6A6E77\" fill-rule=\"nonzero\" transform=\"translate(28.310537, 7.732910) scale(1, -1) rotate(-180.000000) translate(-28.310537, -7.732910) \"></path></g></g></g></g></g>", 2)
4997
- ]), 8, women_patientvue_type_script_setup_true_lang_ts_hoisted_1));
5003
+ (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=\"#70B0ED\"></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)
5004
+ ]), 8, defaultvue_type_script_setup_true_lang_ts_hoisted_1));
4998
5005
  }
4999
5006
  });
5000
- const women_patient_exports_ = women_patientvue_type_script_setup_true_lang_ts;
5001
- /* ESM default export */ const women_patient = women_patient_exports_;
5007
+ const default_exports_ = defaultvue_type_script_setup_true_lang_ts;
5008
+ /* ESM default export */ const composable_default = default_exports_;
5009
+ /* ESM default export */ const pro_avatarvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
5010
+ __name: 'index',
5011
+ props: {
5012
+ type: {},
5013
+ width: {},
5014
+ height: {}
5015
+ },
5016
+ setup (__props) {
5017
+ const props = __props;
5018
+ const avatarType = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>props.type || utils_AVATAR_TYPE_CODE.DEFAULT);
5019
+ const avatarComponent = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
5020
+ if (avatarType.value === utils_AVATAR_TYPE_CODE.MAN) return man;
5021
+ if (avatarType.value === utils_AVATAR_TYPE_CODE.WOMAN) return women;
5022
+ return composable_default;
5023
+ });
5024
+ return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(avatarComponent.value), {
5025
+ width: props.width,
5026
+ height: props.height
5027
+ }, null, 8, [
5028
+ "width",
5029
+ "height"
5030
+ ]));
5031
+ }
5032
+ });
5033
+ const pro_avatar_exports_ = pro_avatarvue_type_script_setup_true_lang_ts;
5034
+ /* ESM default export */ const pro_avatar = pro_avatar_exports_;
5002
5035
  /**
5003
5036
  * [1-10473-1]根据条件查询标签分组V1(含标签)
5004
5037
  * @param params
@@ -5498,6 +5531,9 @@ const _hoisted_15 = {
5498
5531
  const _hoisted_16 = {
5499
5532
  key: 1
5500
5533
  };
5534
+ // import DefaultPatient from "../patient-access/images/default_patient.vue";
5535
+ // import ManPatient from "../patient-access/images/man_patient.vue";
5536
+ // import WomanPatient from "../patient-access/images/women_patient.vue";
5501
5537
  const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
5502
5538
  /* ESM default export */ const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
5503
5539
  __name: 'BannerInfo',
@@ -5635,22 +5671,12 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
5635
5671
  ref: popoverSelector,
5636
5672
  onClick: _cache[0] || (_cache[0] = ($event)=>emits('avatarClick'))
5637
5673
  }, [
5638
- bannerInfo.value?.genderCode === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.SEX_CODE).MAN ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(man_patient, {
5639
- key: 0,
5640
- class: "rounded-full",
5641
- width: 32,
5642
- height: 32
5643
- })) : bannerInfo.value?.genderCode === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.SEX_CODE).WOMAN ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(women_patient, {
5644
- key: 1,
5645
- class: "rounded-full",
5646
- width: 32,
5647
- height: 32
5648
- })) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(default_patient, {
5649
- key: 2,
5650
- width: 32,
5651
- height: 32,
5652
- class: "rounded-full"
5653
- }))
5674
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(pro_avatar), {
5675
+ class: "h-8 w-8 rounded-full",
5676
+ type: bannerInfo.value?.genderCode === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.SEX_CODE).MAN ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(utils_AVATAR_TYPE_CODE).MAN : bannerInfo.value?.genderCode === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.SEX_CODE).WOMAN ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(utils_AVATAR_TYPE_CODE).WOMAN : (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(utils_AVATAR_TYPE_CODE).DEFAULT
5677
+ }, null, 8, [
5678
+ "type"
5679
+ ])
5654
5680
  ], 512),
5655
5681
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_3, [
5656
5682
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_4, [
@@ -7637,6 +7663,22 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7637
7663
  selectedRows.value = [];
7638
7664
  handleChange();
7639
7665
  };
7666
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>attrs?.modelValue, (newVal)=>{
7667
+ if (newVal) {
7668
+ if (!props.multiSelectFlag) {
7669
+ const item = bizUnitList.value.find((item)=>item.value === newVal);
7670
+ if (item?.label && selectedValue.value !== item.label) {
7671
+ selectedValue.value = item.label;
7672
+ selectedRows.value = [
7673
+ item
7674
+ ];
7675
+ }
7676
+ }
7677
+ } else {
7678
+ selectedValue.value = props.multiSelectFlag ? [] : void 0;
7679
+ selectedRows.value = [];
7680
+ }
7681
+ });
7640
7682
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>[
7641
7683
  props.tableProps,
7642
7684
  props.selectProps
@@ -7712,7 +7754,7 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7712
7754
  loading.value = false;
7713
7755
  if (res?.success) {
7714
7756
  let defaultList = [];
7715
- if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length) defaultList = props.defaultValue.map((item)=>({
7757
+ if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length && !data?.keyWord) defaultList = props.defaultValue.map((item)=>({
7716
7758
  ...item,
7717
7759
  orgId: item.value || item.orgId,
7718
7760
  orgNameDisplay: item.label || item.orgNameDisplay,
@@ -7737,8 +7779,8 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7737
7779
  bizUnitList.value.forEach((item)=>{
7738
7780
  if (list.some((row)=>row.orgId === item.value || row.value === item.value)) tableRef.value?.eleTable?.toggleRowSelection(item, true);
7739
7781
  });
7740
- defaultSetTableSelected.value = true;
7741
7782
  }
7783
+ defaultSetTableSelected.value = true;
7742
7784
  }
7743
7785
  };
7744
7786
  const handleChange = ()=>{
@@ -7751,14 +7793,9 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7751
7793
  }
7752
7794
  };
7753
7795
  const handelRemoteMethod = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.debounce)(async function(value) {
7754
- try {
7755
- loading.value = true;
7756
- await getBizUnitList({
7757
- keyWord: value
7758
- });
7759
- } finally{
7760
- loading.value = false;
7761
- }
7796
+ await getBizUnitList({
7797
+ keyWord: value
7798
+ });
7762
7799
  }, 500); // 键盘事件
7763
7800
  const handleKeydown = (e)=>{
7764
7801
  if (!bizUnitList.value.length || !popoverVisible.value) return;
@@ -7930,7 +7967,6 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7930
7967
  "collapse-tags-tooltip": "",
7931
7968
  teleported: !popoverVisible.value,
7932
7969
  "remote-method": (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(handelRemoteMethod),
7933
- loading: loading.value,
7934
7970
  multiple: !!props.multiSelectFlag,
7935
7971
  options: [],
7936
7972
  "popper-class": popoverVisible.value ? 'hidden' : '',
@@ -7944,7 +7980,6 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7944
7980
  "collapse-tags",
7945
7981
  "teleported",
7946
7982
  "remote-method",
7947
- "loading",
7948
7983
  "multiple",
7949
7984
  "popper-class"
7950
7985
  ])
@@ -7964,6 +7999,7 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7964
7999
  ref: tableRef,
7965
8000
  "row-key": "orgId",
7966
8001
  data: bizUnitList.value,
8002
+ loading: loading.value,
7967
8003
  "highlight-current-row": "",
7968
8004
  columns: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(tableConfig),
7969
8005
  "row-class-name": getRowClassName,
@@ -7971,6 +8007,7 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7971
8007
  onSelectionChange: handleSelectionChange
7972
8008
  }, tableProps.value), null, 16, [
7973
8009
  "data",
8010
+ "loading",
7974
8011
  "columns"
7975
8012
  ])
7976
8013
  ], 4)
@@ -8033,6 +8070,22 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
8033
8070
  const selectedValue = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(); // select组件绑定的选中的值
8034
8071
  const selectedRows = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)([]); // table表格选中的值
8035
8072
  const defaultSetTableSelected = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false); // 传入的默认数据已经绑定到表格中
8073
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>attrs?.modelValue, (newVal)=>{
8074
+ if (newVal) {
8075
+ if (!props.multiSelectFlag) {
8076
+ const item = departmentList.value.find((item)=>item.value === newVal);
8077
+ if (item?.label && selectedValue.value !== item.label) {
8078
+ selectedValue.value = item.label;
8079
+ selectedRows.value = [
8080
+ item
8081
+ ];
8082
+ }
8083
+ }
8084
+ } else {
8085
+ selectedValue.value = props.multiSelectFlag ? [] : void 0;
8086
+ selectedRows.value = [];
8087
+ }
8088
+ });
8036
8089
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>[
8037
8090
  props.tableProps,
8038
8091
  props.selectProps
@@ -8065,8 +8118,8 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
8065
8118
  minWidth: 80
8066
8119
  },
8067
8120
  {
8068
- label: t('departmentSelect.table.orgTypeDescDisplay', '科室类型'),
8069
- prop: 'orgTypeDescDisplay',
8121
+ label: t('departmentSelect.table.deptTypeDesc', '科室类型'),
8122
+ prop: 'deptTypeDesc',
8070
8123
  minWidth: 80
8071
8124
  }
8072
8125
  ]
@@ -8087,7 +8140,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
8087
8140
  loading.value = false;
8088
8141
  if (res?.success) {
8089
8142
  let defaultList = [];
8090
- if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length) defaultList = props.defaultValue.map((item)=>({
8143
+ if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length && !data?.keyWord) defaultList = props.defaultValue.map((item)=>({
8091
8144
  ...item,
8092
8145
  orgId: item.value || item.orgId,
8093
8146
  orgNameDisplay: item.label || item.orgNameDisplay,
@@ -8112,8 +8165,8 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
8112
8165
  departmentList.value.forEach((item)=>{
8113
8166
  if (list.some((row)=>row.orgId === item.value || row.value === item.value)) tableRef.value?.eleTable?.toggleRowSelection(item, true);
8114
8167
  });
8115
- defaultSetTableSelected.value = true;
8116
8168
  }
8169
+ defaultSetTableSelected.value = true;
8117
8170
  }
8118
8171
  };
8119
8172
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>props.defaultValue, ()=>{
@@ -8143,14 +8196,9 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
8143
8196
  }
8144
8197
  };
8145
8198
  const handelRemoteMethod = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.debounce)(async function(value) {
8146
- try {
8147
- loading.value = true;
8148
- await getDepartmentList({
8149
- keyWord: value
8150
- });
8151
- } finally{
8152
- loading.value = false;
8153
- }
8199
+ await getDepartmentList({
8200
+ keyWord: value
8201
+ });
8154
8202
  }, 500); // 键盘事件
8155
8203
  const handleKeydown = (e)=>{
8156
8204
  if (!departmentList.value.length || !popoverVisible.value) return;
@@ -8322,7 +8370,6 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
8322
8370
  "collapse-tags-tooltip": "",
8323
8371
  teleported: !popoverVisible.value,
8324
8372
  "remote-method": (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(handelRemoteMethod),
8325
- loading: loading.value,
8326
8373
  multiple: !!props.multiSelectFlag,
8327
8374
  options: [],
8328
8375
  "popper-class": popoverVisible.value ? 'hidden' : '',
@@ -8336,7 +8383,6 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
8336
8383
  "collapse-tags",
8337
8384
  "teleported",
8338
8385
  "remote-method",
8339
- "loading",
8340
8386
  "multiple",
8341
8387
  "popper-class"
8342
8388
  ])
@@ -8352,6 +8398,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
8352
8398
  style: {
8353
8399
  height: "100%"
8354
8400
  },
8401
+ loading: loading.value,
8355
8402
  ref_key: "tableRef",
8356
8403
  ref: tableRef,
8357
8404
  "row-key": "orgId",
@@ -8362,6 +8409,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
8362
8409
  "row-class-name": getRowClassName,
8363
8410
  onSelectionChange: handleSelectionChange
8364
8411
  }, tableProps.value), null, 16, [
8412
+ "loading",
8365
8413
  "columns",
8366
8414
  "data"
8367
8415
  ])
@@ -8424,6 +8472,22 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
8424
8472
  const selectedValue = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(); // select组件绑定的选中的值
8425
8473
  const selectedRows = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)([]); // table表格选中的值
8426
8474
  const defaultSetTableSelected = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false); // 传入的默认数据已经绑定到表格中
8475
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>attrs?.modelValue, (newVal)=>{
8476
+ if (newVal) {
8477
+ if (!props.multiSelectFlag) {
8478
+ const item = wardList.value.find((item)=>item.value === newVal);
8479
+ if (item?.label && selectedValue.value !== item.label) {
8480
+ selectedValue.value = item.label;
8481
+ selectedRows.value = [
8482
+ item
8483
+ ];
8484
+ }
8485
+ }
8486
+ } else {
8487
+ selectedValue.value = props.multiSelectFlag ? [] : void 0;
8488
+ selectedRows.value = [];
8489
+ }
8490
+ });
8427
8491
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>[
8428
8492
  props.tableProps,
8429
8493
  props.selectProps
@@ -8472,7 +8536,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
8472
8536
  loading.value = false;
8473
8537
  if (res?.success) {
8474
8538
  let defaultList = [];
8475
- if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length) defaultList = props.defaultValue.map((item)=>({
8539
+ if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length && !data?.keyWord) defaultList = props.defaultValue.map((item)=>({
8476
8540
  ...item,
8477
8541
  orgId: item.value || item.orgId,
8478
8542
  orgNameDisplay: item.label || item.orgNameDisplay,
@@ -8497,8 +8561,8 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
8497
8561
  wardList.value.forEach((item)=>{
8498
8562
  if (list.some((row)=>row.orgId === item.value || row.value === item.value)) tableRef.value?.eleTable?.toggleRowSelection(item, true);
8499
8563
  });
8500
- defaultSetTableSelected.value = true;
8501
8564
  }
8565
+ defaultSetTableSelected.value = true;
8502
8566
  }
8503
8567
  };
8504
8568
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>props.defaultValue, ()=>{
@@ -8528,14 +8592,9 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
8528
8592
  }
8529
8593
  };
8530
8594
  const handelRemoteMethod = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.debounce)(async function(value) {
8531
- try {
8532
- loading.value = true;
8533
- await getWardList({
8534
- keyWord: value
8535
- });
8536
- } finally{
8537
- loading.value = false;
8538
- }
8595
+ await getWardList({
8596
+ keyWord: value
8597
+ });
8539
8598
  }, 500); // 键盘事件
8540
8599
  const handleKeydown = (e)=>{
8541
8600
  if (!wardList.value.length || !popoverVisible.value) return;
@@ -8707,7 +8766,6 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
8707
8766
  "collapse-tags-tooltip": "",
8708
8767
  teleported: !popoverVisible.value,
8709
8768
  "remote-method": (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(handelRemoteMethod),
8710
- loading: loading.value,
8711
8769
  multiple: !!props.multiSelectFlag,
8712
8770
  options: [],
8713
8771
  "popper-class": popoverVisible.value ? 'hidden' : '',
@@ -8721,7 +8779,6 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
8721
8779
  "placeholder",
8722
8780
  "teleported",
8723
8781
  "remote-method",
8724
- "loading",
8725
8782
  "multiple",
8726
8783
  "popper-class"
8727
8784
  ])
@@ -8739,6 +8796,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
8739
8796
  },
8740
8797
  ref_key: "tableRef",
8741
8798
  ref: tableRef,
8799
+ loading: loading.value,
8742
8800
  "row-key": "orgId",
8743
8801
  data: wardList.value,
8744
8802
  "highlight-current-row": "",
@@ -8747,6 +8805,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
8747
8805
  onRowClick: handleTableRowSelect,
8748
8806
  onSelectionChange: handleSelectionChange
8749
8807
  }, tableProps.value), null, 16, [
8808
+ "loading",
8750
8809
  "data",
8751
8810
  "columns"
8752
8811
  ])
@@ -9798,7 +9857,7 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
9798
9857
  "searchChange",
9799
9858
  "invoiceChange",
9800
9859
  "clear",
9801
- 'avatarClick'
9860
+ "avatarClick"
9802
9861
  ],
9803
9862
  setup (__props, { expose: __expose, emit: __emit }) {
9804
9863
  const emit = __emit;
@@ -9819,6 +9878,7 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
9819
9878
  return false;
9820
9879
  });
9821
9880
  /** 检索方法 */ const handleSearchChange = async (data)=>{
9881
+ if (bannerRef.value) bannerRef.value?.refresh();
9822
9882
  emit("searchChange", data);
9823
9883
  };
9824
9884
  /** 新患者按钮 */ const clearFn = async ()=>{
@@ -9835,6 +9895,7 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
9835
9895
  });
9836
9896
  return (_ctx, _cache)=>{
9837
9897
  const _component_el_button = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-button");
9898
+ const _directive_shortcut = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective)("shortcut");
9838
9899
  return (0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_1, [
9839
9900
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_2, [
9840
9901
  searchCode.value && _ctx.menuId ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(patient_access), {
@@ -9849,7 +9910,7 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
9849
9910
  "code"
9850
9911
  ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
9851
9912
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3, [
9852
- _ctx.clearBtn ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_button, {
9913
+ _ctx.clearBtn ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)(((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_button, {
9853
9914
  key: 0,
9854
9915
  type: "primary",
9855
9916
  plain: "",
@@ -9859,7 +9920,12 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
9859
9920
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(_ctx.btnTitle), 1)
9860
9921
  ]),
9861
9922
  _: 1
9862
- })) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
9923
+ })), [
9924
+ [
9925
+ _directive_shortcut,
9926
+ 'Ctrl+C'
9927
+ ]
9928
+ ]) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
9863
9929
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, "default"),
9864
9930
  _ctx.invoiceConfig ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(invoice), {
9865
9931
  key: 1,
@@ -10021,137 +10087,6 @@ const access_info_exports_ = access_infovue_type_script_setup_true_lang_ts_name_
10021
10087
  });
10022
10088
  const dml_button_exports_ = dml_buttonvue_type_script_setup_true_lang_ts;
10023
10089
  /* ESM default export */ const dml_button = dml_button_exports_;
10024
- function formatSize(val) {
10025
- if ('string' == typeof val) return val;
10026
- if ('number' == typeof val) return `${val}px`;
10027
- return '48px';
10028
- }
10029
- function useAvatarSize(width, height) {
10030
- const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>formatSize(width));
10031
- const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>formatSize(height));
10032
- return {
10033
- currentWidth,
10034
- currentHeight
10035
- };
10036
- }
10037
- /**
10038
- * 头像类型
10039
- */ var utils_AVATAR_TYPE_CODE = /*#__PURE__*/ function(AVATAR_TYPE_CODE) {
10040
- /**
10041
- * 男性
10042
- */ AVATAR_TYPE_CODE["WOMAN"] = "woman";
10043
- /**
10044
- * 女性
10045
- */ AVATAR_TYPE_CODE["MAN"] = "man";
10046
- /**
10047
- * 默认
10048
- */ AVATAR_TYPE_CODE["DEFAULT"] = "default";
10049
- return AVATAR_TYPE_CODE;
10050
- }({});
10051
- const manvue_type_script_setup_true_lang_ts_hoisted_1 = [
10052
- "width",
10053
- "height"
10054
- ];
10055
- /* ESM default export */ const manvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
10056
- __name: 'man',
10057
- props: {
10058
- width: {},
10059
- height: {}
10060
- },
10061
- setup (__props) {
10062
- const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
10063
- return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
10064
- width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
10065
- height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
10066
- viewBox: "0 0 48 48",
10067
- version: "1.1",
10068
- xmlns: "http://www.w3.org/2000/svg",
10069
- "xmlns:xlink": "http://www.w3.org/1999/xlink"
10070
- }, _cache[0] || (_cache[0] = [
10071
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createStaticVNode)("<defs><rect id=\"path-1\" x=\"0\" y=\"0\" width=\"48\" height=\"48\"></rect><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><mask id=\"mask-4\" 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(-42.000000, -117.000000)\"><g id=\"男患者\" transform=\"translate(42.000000, 117.000000)\"><mask id=\"mask-3\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask><g id=\"年龄=男-(Background/Mask)\" mask=\"url(#mask-2)\" stroke-width=\"2\" fill=\"#DCEBF9\" stroke-linejoin=\"bevel\" stroke-dasharray=\"0,0\"><use mask=\"url(#mask-4)\" xlink:href=\"#path-1\"></use></g><g id=\"编组\" mask=\"url(#mask-3)\"><g transform=\"translate(-1.411743, 8.578021)\"><path d=\"M19.539856,30.0474823 C21.2975441,32.3003545 23.3186363,34.3148989 25.6031324,36.0911155 C28.4680724,33.5403075 30.4123005,31.5257631 31.4358168,30.0474823 C31.0024567,29.3141253 30.8767889,25.8498667 31.0588134,19.6547065 L20.1176378,19.6547065 C20.4759263,25.6493496 20.2833324,29.1136082 19.539856,30.0474823 Z\" id=\"路径-4\" fill=\"#FDD1C1\"></path><path d=\"M5.14905306,34.127889 C4.49817356,35.4620317 2.78182255,40.5208549 0,49.3043585 L52.2352905,50.3631835 C49.9468828,40.6727688 47.9836164,35.2610039 46.3454911,34.127889 C44.7073659,32.994774 39.6118092,30.9742128 31.0588211,28.0662055 L25.4949168,32.5216499 L20.1176464,28.0662055 C10.7894637,30.7731851 5.79993255,32.7937463 5.14905306,34.127889 Z\" id=\"路径-2\" fill=\"#9DC1EB\"></path><path d=\"M22.554719,36.2455335 L25.7647309,32.4562326 L20.5276802,27.7749457 L18.3529663,28.5948679 L22.554719,36.2455335 Z\" id=\"路径-11\" fill=\"#FFFFFF\"></path><path d=\"M29.7641656,36.2455335 L32.8235474,32.5216476 L27.6482883,27.7749457 L25.4117827,28.7095082 L29.7641656,36.2455335 Z\" id=\"路径-11复制\" fill=\"#FFFFFF\" transform=\"translate(29.117665, 32.010240) scale(1, -1) rotate(-180.000000) translate(-29.117665, -32.010240) \"></path><path d=\"M15.4374821,11.5944405 C16.0833846,11.5107177 16.6657005,11.9448752 17.1844298,12.8969131 C17.2133992,10.124357 17.4993747,8.62538745 18.0423564,8.40000452 C18.856829,8.06193012 20.9045912,7.8289935 22.3732662,8.40000452 C23.8419413,8.97101554 24.9022032,10.3055429 26.8017679,10.3055429 C27.9579904,10.3055429 29.9406801,9.83553477 31.4089417,9.3958699 C32.3528958,9.11320672 33.0842211,8.84308544 33.2466033,8.71846492 C33.2333146,9.4913702 33.3276372,10.7844708 33.5295712,12.5977666 C33.6746791,12.7434716 33.8107459,12.7434716 33.9377716,12.5977666 C34.0779827,12.4369374 34.9743243,12.5261509 35.2941281,12.5977666 C35.408919,12.6234724 35.5207828,9.13376257 35.2449762,7.38931417 C33.6056306,6.76744305 32.9395062,6.85912003 33.2466033,7.66434511 C25.0106049,5.91910992 20.7468737,5.04649232 20.4554096,5.04649232 C20.0182135,5.04649232 16.0188989,2.19920258 15.5636872,4.74189738 C15.1084755,7.28459218 15.109232,10.3055429 15.4374821,11.5944405 Z\" id=\"路径\" fill=\"#6A6E77\"></path><path d=\"M17.556659,11.4131346 C18.5346658,11.8198791 18.1570616,14.179645 17.1990537,15.8209717 C16.2410459,17.4622984 15.792257,18.1468469 14.9174368,18.1467372 C14.3342234,18.1466641 14.0981192,17.3712841 14.2091244,15.820597 C14.2471743,15.0627441 14.5077973,14.200678 14.9909933,13.234399 C15.7157874,11.7849804 16.5786523,11.0063901 17.556659,11.4131346 Z\" id=\"路径-3复制\" fill=\"#FDD1C1\" transform=\"translate(16.155954, 14.726218) scale(1, -1) rotate(173.000000) translate(-16.155954, -14.726218) \"></path><path d=\"M35.8939204,11.4131346 C36.8719272,11.8198791 36.494323,14.179645 35.5363151,15.8209717 C34.5783073,17.4622984 34.1295184,18.1468469 33.2546982,18.1467372 C32.6714848,18.1466641 32.4353806,17.3712841 32.5463858,15.820597 C32.5844357,15.0627441 32.8450587,14.200678 33.3282547,13.234399 C34.0530487,11.7849804 34.9159137,11.0063901 35.8939204,11.4131346 Z\" id=\"路径-3复制-2\" fill=\"#FDD1C1\" transform=\"translate(34.493216, 14.726218) rotate(-7.000000) translate(-34.493216, -14.726218) \"></path><path d=\"M33.9377537,10.5289178 L33.9377537,16.6722207 C33.9377537,21.5221026 30.2393121,25.5716369 25.4093065,26.0102725 L25.4093065,26.0102725 L25.4093065,26.0102725 C20.579301,25.5716369 16.8808594,21.5221026 16.8808594,16.6722207 L16.8808594,10.5289178 C16.8808594,5.81878649 20.6991752,2.00047064 25.4093065,2.00047064 C30.1194378,2.00047064 33.9377537,5.81878649 33.9377537,10.5289178 Z\" id=\"矩形\" fill=\"#FFE6D0\"></path><path d=\"M15.6812227,9.03657485 C19.0651475,10.5538159 21.6222636,8.28013896 23.5550388,8.65835671 C25.4878141,9.03657446 29.7945013,11.0906622 31.4357952,11.0906622 C33.0770892,11.0906622 33.522772,9.73469298 33.9377294,9.37986995 C33.9244408,10.2410287 33.7883739,11.4313115 33.529529,12.9507184 C33.8904319,12.4957557 34.0708833,12.1401021 34.0708833,11.8837575 C34.0708833,7.81901115 35.2813553,8.20972731 35.2440915,7.46930179 C35.0060596,2.73963604 34.3339134,2.73963604 30.9172992,1.41648627 C27.500685,0.093336494 24.5817812,-0.433907428 21.1765077,0.403970658 C17.7316204,1.25159589 16.3625201,2.91818007 15.6812227,4.29897183 C15.3508121,4.96861802 15.3057823,8.86823969 15.6812227,9.03657485 Z\" id=\"路径\" fill=\"#6A6E77\" transform=\"translate(25.330597, 6.475359) scale(-1, 1) translate(-25.330597, -6.475359) \"></path></g></g></g></g></g>", 2)
10072
- ]), 8, manvue_type_script_setup_true_lang_ts_hoisted_1));
10073
- }
10074
- });
10075
- const man_exports_ = manvue_type_script_setup_true_lang_ts;
10076
- /* ESM default export */ const man = man_exports_;
10077
- const womenvue_type_script_setup_true_lang_ts_hoisted_1 = [
10078
- "width",
10079
- "height"
10080
- ];
10081
- /* ESM default export */ const womenvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
10082
- __name: 'women',
10083
- props: {
10084
- width: {},
10085
- height: {}
10086
- },
10087
- setup (__props) {
10088
- const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
10089
- return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
10090
- width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
10091
- height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
10092
- viewBox: "0 0 48 48",
10093
- version: "1.1",
10094
- xmlns: "http://www.w3.org/2000/svg",
10095
- "xmlns:xlink": "http://www.w3.org/1999/xlink"
10096
- }, _cache[0] || (_cache[0] = [
10097
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createStaticVNode)("<defs><rect id=\"path-1\" x=\"0\" y=\"0\" width=\"48\" height=\"48\"></rect><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><mask id=\"mask-4\" 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(-130.000000, -117.000000)\"><g id=\"女患者\" transform=\"translate(130.000000, 117.000000)\"><mask id=\"mask-3\" fill=\"white\"><use xlink:href=\"#path-1\"></use></mask><g id=\"年龄=女-(Background/Mask)\" mask=\"url(#mask-2)\" stroke-width=\"2\" fill=\"#FCE7F0\" stroke-linejoin=\"bevel\" stroke-dasharray=\"0,0\"><use mask=\"url(#mask-4)\" xlink:href=\"#path-1\"></use></g><g id=\"编组\" mask=\"url(#mask-3)\"><g transform=\"translate(-1.411743, 7.517029)\"><path d=\"M32.4117432,1.98297119 C28.3150644,-0.689630985 22.4781547,-0.632149577 18.4117432,1.98294485 C15.850035,3.62100053 14.2283276,6.78040767 13.1309257,9.58540821 C12.1015037,12.1923409 11.6372605,14.9881153 11.7688973,17.7878437 C12.0216292,23.4084806 11.4117432,29.0457649 11.4117432,34.6891022 C11.4117432,34.8843262 11.4117432,35.1082993 11.5630797,35.2323952 C11.6982077,35.3171761 11.8599194,35.3489815 12.0170891,35.3216858 C14.380965,35.1900231 16.4739487,34.7814201 18.756103,34.4015656 C21.601229,33.9293958 24.6688201,34.0640855 27.5487537,33.8839951 C29.2633961,33.784113 31.0658122,33.5071668 32.7804546,33.5813217 C33.3267794,33.6055356 38.1105268,34.3152988 38.1317139,34.610405 C37.6746777,28.3511286 37.9985378,22.1766028 37.9213562,15.9218664 C37.8593082,10.8990088 36.9488111,4.94311261 32.4117432,1.98297119 Z\" id=\"Path\" fill=\"#6A6E77\" fill-rule=\"nonzero\"></path><path d=\"M19.9117432,28.9829712 C19.8029955,29.810802 19.7775764,30.8098762 19.539856,31.1084747 C21.2975441,33.361347 23.3186364,35.3758912 25.6031327,37.1521072 C28.4680725,34.6012998 30.4123005,32.5867556 31.4358168,31.1084747 C31.0024567,30.3751177 30.8767891,26.9108589 31.058814,20.7156982 L20.1176378,20.7156982 C20.2479871,24.19004 20.1793556,26.9457976 19.9117432,28.9829712 Z\" id=\"路径-4\" fill=\"#FDD1C1\" fill-rule=\"evenodd\"></path><path d=\"M5.1490531,35.1888199 C4.49817363,36.5229626 2.7818226,41.5817858 0,50.3652897 L52.2352905,51.4241142 C49.9468818,41.7336996 47.9836148,36.3219349 46.3454895,35.1888199 C44.7073642,34.0557049 39.611808,32.0351437 31.0588207,29.1271362 C30.6274357,32.0974325 28.7728011,33.5825806 25.4949169,33.5825806 C22.4387452,33.5825806 20.5776873,32.0493774 19.9117432,28.9829712 C10.7208292,31.786061 5.79993256,33.8546772 5.1490531,35.1888199 Z\" id=\"路径-2\" fill=\"#E9A9D2\" fill-rule=\"evenodd\"></path><path d=\"M31.1971865,28.9829712 C31.6834437,28.9829712 33.6294901,29.5343028 34.3456192,30.4244784 C36.8399134,33.5249807 33.7578571,35.9829712 31.1971855,35.9829712 C27.966253,35.9829712 26.1036394,34.6273296 25.3877754,33.4386492 C24.6719115,34.627815 23.1426761,35.9829712 19.9117436,35.9829712 C17.3510721,35.9829712 14.4362248,33.4386492 16.4117463,30.9829712 C17.1278754,30.0927956 18.9117484,28.9829712 19.9117484,28.9829712 C20.9117503,32.4829712 22.7562027,32.736654 25.3790264,32.8452811 C28.9344084,32.6897225 29.9117451,32.4829712 31.1971865,28.9829712 Z\" id=\"Combined-Shape\" fill=\"#FFFFFF\" fill-rule=\"nonzero\"></path><path d=\"M17.556659,12.4740653 C18.5346658,12.8808099 18.1570616,15.2405757 17.1990537,16.8819024 C16.2410459,18.5232291 15.792257,19.2077777 14.9174368,19.207668 C14.3342234,19.2075949 14.0981192,18.4322148 14.2091244,16.8815278 C14.2471743,16.1236748 14.5077973,15.2616088 14.9909933,14.2953297 C15.7157874,12.8459112 16.5786523,12.0673208 17.556659,12.4740653 Z\" id=\"路径-3复制\" fill=\"#FDD1C1\" fill-rule=\"evenodd\" transform=\"translate(16.155954, 15.787149) scale(1, -1) rotate(173.000000) translate(-16.155954, -15.787149) \"></path><path d=\"M35.8939204,12.4740653 C36.8719272,12.8808099 36.494323,15.2405757 35.5363151,16.8819024 C34.5783073,18.5232291 34.1295184,19.2077777 33.2546982,19.207668 C32.6714848,19.2075949 32.4353806,18.4322148 32.5463858,16.8815278 C32.5844357,16.1236748 32.8450587,15.2616088 33.3282547,14.2953297 C34.0530487,12.8459112 34.9159137,12.0673208 35.8939204,12.4740653 Z\" id=\"路径-3复制-2\" fill=\"#FDD1C1\" fill-rule=\"evenodd\" transform=\"translate(34.493216, 15.787149) rotate(-7.000000) translate(-34.493216, -15.787149) \"></path><path d=\"M33.9377537,11.5898485 L33.9377537,17.7331514 C33.9377537,22.5830333 30.2393121,26.6325677 25.4093065,27.0712032 L25.4093065,27.0712032 L25.4093065,27.0712032 C20.579301,26.6325677 16.8808594,22.5830333 16.8808594,17.7331514 L16.8808594,11.5898485 C16.8808594,6.87971722 20.6991752,3.06140137 25.4093065,3.06140137 C30.1194378,3.06140137 33.9377537,6.87971722 33.9377537,11.5898485 Z\" id=\"矩形\" fill=\"#FFE6DC\" fill-rule=\"evenodd\"></path><path d=\"M24.6733503,11.6913671 C22.024538,13.5903753 19.9624601,14.3568758 16.9117494,14.9829712 C16.4117432,10.9829712 16.5155237,6.0384028 20.4117494,3.98291373 C22.5285108,2.84913337 27.0318227,1.99650967 29.4117489,2.78245926 C29.3460476,3.48205054 29.2376083,4.17663479 29.0870829,4.86204338 C28.4720778,7.62988853 27.1290796,9.98033571 24.6733503,11.6913671 Z\" id=\"Path\" fill=\"#6A6E77\" fill-rule=\"nonzero\"></path><path d=\"M29.835444,10.923974 C27.3903863,12.6647315 25.5253999,12.4089894 22.7093591,12.9829102 C22.2093315,11.4829102 22.3155814,9.07035065 23.209374,7.48291016 C24.2223651,5.72223103 24.8806003,4.81518441 26.6537957,3.88621545 C28.6077293,2.84691679 32.0124958,2.03702128 34.2093506,2.75747502 C34.1487033,3.39876699 34.048605,4.03546923 33.9096584,4.66376042 C33.3419615,7.20095181 32.1022711,9.35552847 29.835444,10.923974 Z\" id=\"Path\" fill=\"#6A6E77\" fill-rule=\"nonzero\" transform=\"translate(28.310537, 7.732910) scale(1, -1) rotate(-180.000000) translate(-28.310537, -7.732910) \"></path></g></g></g></g></g>", 2)
10098
- ]), 8, womenvue_type_script_setup_true_lang_ts_hoisted_1));
10099
- }
10100
- });
10101
- const women_exports_ = womenvue_type_script_setup_true_lang_ts;
10102
- /* ESM default export */ const women = women_exports_;
10103
- const defaultvue_type_script_setup_true_lang_ts_hoisted_1 = [
10104
- "width",
10105
- "height"
10106
- ];
10107
- /* ESM default export */ const defaultvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
10108
- __name: 'default',
10109
- props: {
10110
- width: {},
10111
- height: {}
10112
- },
10113
- setup (__props) {
10114
- const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
10115
- return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
10116
- width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
10117
- height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
10118
- viewBox: "0 0 48 48",
10119
- version: "1.1",
10120
- xmlns: "http://www.w3.org/2000/svg",
10121
- "xmlns:xlink": "http://www.w3.org/1999/xlink"
10122
- }, _cache[0] || (_cache[0] = [
10123
- (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=\"#70B0ED\"></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)
10124
- ]), 8, defaultvue_type_script_setup_true_lang_ts_hoisted_1));
10125
- }
10126
- });
10127
- const default_exports_ = defaultvue_type_script_setup_true_lang_ts;
10128
- /* ESM default export */ const composable_default = default_exports_;
10129
- /* ESM default export */ const pro_avatarvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
10130
- __name: 'index',
10131
- props: {
10132
- type: {},
10133
- width: {},
10134
- height: {}
10135
- },
10136
- setup (__props) {
10137
- const props = __props;
10138
- const avatarType = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>props.type || utils_AVATAR_TYPE_CODE.DEFAULT);
10139
- const avatarComponent = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
10140
- if (avatarType.value === utils_AVATAR_TYPE_CODE.MAN) return man;
10141
- if (avatarType.value === utils_AVATAR_TYPE_CODE.WOMAN) return women;
10142
- return composable_default;
10143
- });
10144
- return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(avatarComponent.value), {
10145
- width: props.width,
10146
- height: props.height
10147
- }, null, 8, [
10148
- "width",
10149
- "height"
10150
- ]));
10151
- }
10152
- });
10153
- const pro_avatar_exports_ = pro_avatarvue_type_script_setup_true_lang_ts;
10154
- /* ESM default export */ const pro_avatar = pro_avatar_exports_;
10155
10090
  const Tablevue_type_script_setup_true_lang_tsx_hoisted_1 = {
10156
10091
  class: "relative mb-3 mt-2 overflow-hidden pr-2 pl-2"
10157
10092
  };