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.
@@ -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 [
@@ -1862,9 +1863,9 @@ const tableColumnSetting = (options)=>{
1862
1863
  const TableSettingButtonvue_type_script_setup_true_lang_tsx_hoisted_1 = {
1863
1864
  class: "el-dropdown-link absolute left-3 top-2.5 z-50 cursor-pointer text-primary"
1864
1865
  };
1865
- const FILE_TYPE_CODE = "FILE_TYPE_CODE";
1866
- const COLUMN_SETTING = "column-setting";
1867
- const EXPORT_FILE = "export-file";
1866
+ const FILE_TYPE_CODE = 'FILE_TYPE_CODE';
1867
+ const COLUMN_SETTING = 'column-setting';
1868
+ const EXPORT_FILE = 'export-file';
1868
1869
  /* ESM default export */ const TableSettingButtonvue_type_script_setup_true_lang_tsx = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
1869
1870
  __name: 'TableSettingButton',
1870
1871
  props: {
@@ -1876,7 +1877,7 @@ const EXPORT_FILE = "export-file";
1876
1877
  componentDesc: {}
1877
1878
  },
1878
1879
  emits: [
1879
- "success"
1880
+ 'success'
1880
1881
  ],
1881
1882
  setup (__props, { emit: __emit }) {
1882
1883
  const dataSetList = use_fetch_dataset([
@@ -1889,7 +1890,7 @@ const EXPORT_FILE = "export-file";
1889
1890
  let result = [
1890
1891
  {
1891
1892
  value: COLUMN_SETTING,
1892
- label: "表格设置",
1893
+ label: '表格设置',
1893
1894
  children: []
1894
1895
  }
1895
1896
  ];
@@ -1897,13 +1898,13 @@ const EXPORT_FILE = "export-file";
1897
1898
  let list = dataSetList.value?.[FILE_TYPE_CODE] || [];
1898
1899
  if (1 === list.length) result.push({
1899
1900
  value: list[0]?.dataValueNo,
1900
- label: "导出文件",
1901
+ label: '导出文件',
1901
1902
  disabled: !props.tableData.length,
1902
1903
  children: []
1903
1904
  });
1904
1905
  if (list.length > 1) result.push({
1905
1906
  value: EXPORT_FILE,
1906
- label: "导出文件",
1907
+ label: '导出文件',
1907
1908
  disabled: !props.tableData.length,
1908
1909
  children: list.map((item)=>({
1909
1910
  value: item?.dataValueNo,
@@ -1914,15 +1915,15 @@ const EXPORT_FILE = "export-file";
1914
1915
  return result;
1915
1916
  });
1916
1917
  const getRenderedContent = (render, row, value, index)=>{
1917
- const tempDiv = document.createElement("div");
1918
+ const tempDiv = document.createElement('div');
1918
1919
  const app = (0, __WEBPACK_EXTERNAL_MODULE_vue__.createApp)({
1919
1920
  render () {
1920
- return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)("div", {}, render(row, value, row, index));
1921
+ return (0, __WEBPACK_EXTERNAL_MODULE_vue__.h)('div', {}, render(row, value, row, index));
1921
1922
  }
1922
1923
  });
1923
1924
  app.use(__WEBPACK_EXTERNAL_MODULE_element_sun__["default"]);
1924
1925
  app.mount(tempDiv);
1925
- const content = tempDiv.textContent || "";
1926
+ const content = tempDiv.textContent || '';
1926
1927
  app.unmount();
1927
1928
  return content;
1928
1929
  };
@@ -1930,15 +1931,15 @@ const EXPORT_FILE = "export-file";
1930
1931
  let [, res] = await exportData2File({
1931
1932
  fileTypeCode: value,
1932
1933
  dataSource: JSON.stringify({
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
+ 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)=>({
1934
1935
  columnIndex: item.prop,
1935
1936
  columnTitle: item.label
1936
1937
  })),
1937
1938
  rowList: props.tableData.map((item, index)=>({
1938
1939
  rowSequenceNo: index,
1939
- rowRecordList: props.columns.filter((col)=>col.prop && col.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && "操作" !== col.label).map((col)=>{
1940
+ rowRecordList: props.columns.filter((col)=>col.prop && col.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.YES && col.prop !== OPERATION).map((col)=>{
1940
1941
  let value = item[col.prop];
1941
- if ("function" == typeof col.render) try {
1942
+ if ('function' == typeof col.render) try {
1942
1943
  value = getRenderedContent(col.render, item, value, index) || value;
1943
1944
  } catch (error) {
1944
1945
  console.warn(`Render function error for column ${col.prop}:`, error);
@@ -1956,7 +1957,7 @@ const EXPORT_FILE = "export-file";
1956
1957
  fileName: `${props.componentDesc}.xlsx`,
1957
1958
  data: res?.data?.fileString
1958
1959
  });
1959
- __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success("导出成功");
1960
+ __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.success('导出成功');
1960
1961
  }
1961
1962
  }
1962
1963
  function hide() {
@@ -1969,7 +1970,7 @@ const EXPORT_FILE = "export-file";
1969
1970
  componentNo: props.componentNo,
1970
1971
  columnsSetting: props.columnsSetting,
1971
1972
  success: ()=>{
1972
- emit("success");
1973
+ emit('success');
1973
1974
  }
1974
1975
  });
1975
1976
  }
@@ -2069,7 +2070,7 @@ const EXPORT_FILE = "export-file";
2069
2070
  const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(TableSettingButtonvue_type_script_setup_true_lang_tsx, [
2070
2071
  [
2071
2072
  '__scopeId',
2072
- "data-v-706fe1a7"
2073
+ "data-v-38d4eddb"
2073
2074
  ]
2074
2075
  ]);
2075
2076
  /* ESM default export */ const TableSettingButton = TableSettingButton_exports_;
@@ -2109,18 +2110,19 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
2109
2110
  const emits = __emit;
2110
2111
  const proTableRef = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
2111
2112
  const selectedData = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>proTableRef?.value?.getSelectionRows() || []);
2113
+ const draggableProps = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>props.draggable ? props.tableColumns.filter((col)=>false !== col.isDraggable && col.prop !== OPERATION).map((col)=>col.prop) : []);
2112
2114
  __expose({
2113
2115
  proTableRef
2114
2116
  }); // 适配器函数,自动兼容两种 rowClassName 写法
2115
- function rowClassNameAdapter(row, rowIndex) {
2117
+ function rowClassNameAdapter(data) {
2116
2118
  const fn = props.rowClassName;
2117
2119
  if (!fn) return '';
2118
2120
  if ('string' == typeof fn) return fn; // 判断是对象参数还是分参数
2119
2121
  if (1 === fn.length) return fn({
2120
- row,
2121
- rowIndex
2122
+ row: data.row,
2123
+ rowIndex: data.rowIndex
2122
2124
  });
2123
- return fn(row, rowIndex);
2125
+ return fn(data.row, data.rowIndex);
2124
2126
  }
2125
2127
  return (_ctx, _cache)=>{
2126
2128
  const _directive_loading = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective)("loading");
@@ -2153,7 +2155,7 @@ const TableSettingButton_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(T
2153
2155
  },
2154
2156
  class: "min-h-0 flex-1 overflow-auto",
2155
2157
  "row-key": props.rowKey,
2156
- "cell-class-name": ({ column })=>_ctx.draggable && 'operation' !== column.property ? 'cursor-move' : '',
2158
+ "cell-class-name": ({ column })=>draggableProps.value.includes(column.property) ? 'cursor-move' : '',
2157
2159
  "row-class-name": rowClassNameAdapter,
2158
2160
  border: ""
2159
2161
  }, _ctx.$attrs), {
@@ -2584,7 +2586,11 @@ const SELECTION = "selection";
2584
2586
  initDragSort();
2585
2587
  });
2586
2588
  }
2587
- emit("drag-end", data, fromPath);
2589
+ emit("drag-end", data, {
2590
+ fromPath,
2591
+ oldIndex,
2592
+ newIndex
2593
+ });
2588
2594
  } else evt.from.innerHTML = initialHTML;
2589
2595
  },
2590
2596
  onStart (evt) {
@@ -3726,6 +3732,7 @@ function useColumnConfig(options) {
3726
3732
  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)=>({
3727
3733
  ...item,
3728
3734
  label: item.title,
3735
+ minWidth: 110,
3729
3736
  prop: item.dataIndex
3730
3737
  })));
3731
3738
  const setCurrentRow = (row)=>{
@@ -4171,7 +4178,7 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
4171
4178
  columns: res.data.titleAndAttribute,
4172
4179
  data: res.data.data.data ?? []
4173
4180
  };
4174
- handleSearchResult(accessResult.value);
4181
+ handleSearchResult(accessResult.value, cardInfo);
4175
4182
  }
4176
4183
  };
4177
4184
  /**
@@ -4402,111 +4409,137 @@ const BANNER_COMPONENT_CONFIG = {
4402
4409
  /** 住院检索组件的code */ searchCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.COMPONENT_CODE.ADMISSION_RECORD
4403
4410
  }
4404
4411
  };
4405
- const default_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
4412
+ function formatSize(val) {
4413
+ if ('string' == typeof val) return val;
4414
+ if ('number' == typeof val) return `${val}px`;
4415
+ return '48px';
4416
+ }
4417
+ function useAvatarSize(width, height) {
4418
+ const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>formatSize(width));
4419
+ const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>formatSize(height));
4420
+ return {
4421
+ currentWidth,
4422
+ currentHeight
4423
+ };
4424
+ }
4425
+ /**
4426
+ * 头像类型
4427
+ */ var utils_AVATAR_TYPE_CODE = /*#__PURE__*/ function(AVATAR_TYPE_CODE) {
4428
+ /**
4429
+ * 男性
4430
+ */ AVATAR_TYPE_CODE["WOMAN"] = "woman";
4431
+ /**
4432
+ * 女性
4433
+ */ AVATAR_TYPE_CODE["MAN"] = "man";
4434
+ /**
4435
+ * 默认
4436
+ */ AVATAR_TYPE_CODE["DEFAULT"] = "default";
4437
+ return AVATAR_TYPE_CODE;
4438
+ }({});
4439
+ const manvue_type_script_setup_true_lang_ts_hoisted_1 = [
4406
4440
  "width",
4407
4441
  "height"
4408
4442
  ];
4409
- /* ESM default export */ const default_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4410
- __name: 'default_patient',
4443
+ /* ESM default export */ const manvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4444
+ __name: 'man',
4411
4445
  props: {
4412
4446
  width: {},
4413
4447
  height: {}
4414
4448
  },
4415
4449
  setup (__props) {
4416
- const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4417
- if ("string" == typeof __props.width) return __props.width;
4418
- if ("number" == typeof __props.width) return `${__props.width}px`;
4419
- return "48px"; // 默认值
4420
- });
4421
- const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4422
- if ("string" == typeof __props.height) return __props.height;
4423
- if ("number" == typeof __props.height) return `${__props.height}px`;
4424
- return "48px"; // 默认值
4425
- });
4450
+ const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
4426
4451
  return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
4427
- width: currentWidth.value,
4428
- height: currentHeight.value,
4452
+ width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
4453
+ height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
4429
4454
  viewBox: "0 0 48 48",
4430
4455
  version: "1.1",
4431
4456
  xmlns: "http://www.w3.org/2000/svg",
4432
4457
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
4433
4458
  }, _cache[0] || (_cache[0] = [
4434
- (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)
4435
- ]), 8, default_patientvue_type_script_setup_true_lang_ts_hoisted_1));
4459
+ (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)
4460
+ ]), 8, manvue_type_script_setup_true_lang_ts_hoisted_1));
4436
4461
  }
4437
4462
  });
4438
- const default_patient_exports_ = default_patientvue_type_script_setup_true_lang_ts;
4439
- /* ESM default export */ const default_patient = default_patient_exports_;
4440
- const man_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
4463
+ const man_exports_ = manvue_type_script_setup_true_lang_ts;
4464
+ /* ESM default export */ const man = man_exports_;
4465
+ const womenvue_type_script_setup_true_lang_ts_hoisted_1 = [
4441
4466
  "width",
4442
4467
  "height"
4443
4468
  ];
4444
- /* ESM default export */ const man_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4445
- __name: 'man_patient',
4469
+ /* ESM default export */ const womenvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4470
+ __name: 'women',
4446
4471
  props: {
4447
4472
  width: {},
4448
4473
  height: {}
4449
4474
  },
4450
4475
  setup (__props) {
4451
- const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4452
- if ("string" == typeof __props.width) return __props.width;
4453
- if ("number" == typeof __props.width) return `${__props.width}px`;
4454
- return "48px"; // 默认值
4455
- });
4456
- const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4457
- if ("string" == typeof __props.height) return __props.height;
4458
- if ("number" == typeof __props.height) return `${__props.height}px`;
4459
- return "48px"; // 默认值
4460
- });
4476
+ const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
4461
4477
  return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
4462
- width: currentWidth.value,
4463
- height: currentHeight.value,
4478
+ width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
4479
+ height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
4464
4480
  viewBox: "0 0 48 48",
4465
4481
  version: "1.1",
4466
4482
  xmlns: "http://www.w3.org/2000/svg",
4467
4483
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
4468
4484
  }, _cache[0] || (_cache[0] = [
4469
- (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)
4470
- ]), 8, man_patientvue_type_script_setup_true_lang_ts_hoisted_1));
4485
+ (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)
4486
+ ]), 8, womenvue_type_script_setup_true_lang_ts_hoisted_1));
4471
4487
  }
4472
4488
  });
4473
- const man_patient_exports_ = man_patientvue_type_script_setup_true_lang_ts;
4474
- /* ESM default export */ const man_patient = man_patient_exports_;
4475
- const women_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
4489
+ const women_exports_ = womenvue_type_script_setup_true_lang_ts;
4490
+ /* ESM default export */ const women = women_exports_;
4491
+ const defaultvue_type_script_setup_true_lang_ts_hoisted_1 = [
4476
4492
  "width",
4477
4493
  "height"
4478
4494
  ];
4479
- /* ESM default export */ const women_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4480
- __name: 'women_patient',
4495
+ /* ESM default export */ const defaultvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4496
+ __name: 'default',
4481
4497
  props: {
4482
4498
  width: {},
4483
4499
  height: {}
4484
4500
  },
4485
4501
  setup (__props) {
4486
- const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4487
- if ("string" == typeof __props.width) return __props.width;
4488
- if ("number" == typeof __props.width) return `${__props.width}px`;
4489
- return "48px"; // 默认值
4490
- });
4491
- const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4492
- if ("string" == typeof __props.height) return __props.height;
4493
- if ("number" == typeof __props.height) return `${__props.height}px`;
4494
- return "48px"; // 默认值
4495
- });
4502
+ const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
4496
4503
  return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
4497
- width: currentWidth.value,
4498
- height: currentHeight.value,
4504
+ width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
4505
+ height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
4499
4506
  viewBox: "0 0 48 48",
4500
4507
  version: "1.1",
4501
4508
  xmlns: "http://www.w3.org/2000/svg",
4502
4509
  "xmlns:xlink": "http://www.w3.org/1999/xlink"
4503
4510
  }, _cache[0] || (_cache[0] = [
4504
- (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)
4505
- ]), 8, women_patientvue_type_script_setup_true_lang_ts_hoisted_1));
4511
+ (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)
4512
+ ]), 8, defaultvue_type_script_setup_true_lang_ts_hoisted_1));
4506
4513
  }
4507
4514
  });
4508
- const women_patient_exports_ = women_patientvue_type_script_setup_true_lang_ts;
4509
- /* ESM default export */ const women_patient = women_patient_exports_;
4515
+ const default_exports_ = defaultvue_type_script_setup_true_lang_ts;
4516
+ /* ESM default export */ const composable_default = default_exports_;
4517
+ /* ESM default export */ const pro_avatarvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
4518
+ __name: 'index',
4519
+ props: {
4520
+ type: {},
4521
+ width: {},
4522
+ height: {}
4523
+ },
4524
+ setup (__props) {
4525
+ const props = __props;
4526
+ const avatarType = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>props.type || utils_AVATAR_TYPE_CODE.DEFAULT);
4527
+ const avatarComponent = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
4528
+ if (avatarType.value === utils_AVATAR_TYPE_CODE.MAN) return man;
4529
+ if (avatarType.value === utils_AVATAR_TYPE_CODE.WOMAN) return women;
4530
+ return composable_default;
4531
+ });
4532
+ return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(avatarComponent.value), {
4533
+ width: props.width,
4534
+ height: props.height
4535
+ }, null, 8, [
4536
+ "width",
4537
+ "height"
4538
+ ]));
4539
+ }
4540
+ });
4541
+ const pro_avatar_exports_ = pro_avatarvue_type_script_setup_true_lang_ts;
4542
+ /* ESM default export */ const pro_avatar = pro_avatar_exports_;
4510
4543
  /**
4511
4544
  * [1-10473-1]根据条件查询标签分组V1(含标签)
4512
4545
  * @param params
@@ -5006,6 +5039,9 @@ const _hoisted_15 = {
5006
5039
  const _hoisted_16 = {
5007
5040
  key: 1
5008
5041
  };
5042
+ // import DefaultPatient from "../patient-access/images/default_patient.vue";
5043
+ // import ManPatient from "../patient-access/images/man_patient.vue";
5044
+ // import WomanPatient from "../patient-access/images/women_patient.vue";
5009
5045
  const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
5010
5046
  /* ESM default export */ const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
5011
5047
  __name: 'BannerInfo',
@@ -5143,22 +5179,12 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
5143
5179
  ref: popoverSelector,
5144
5180
  onClick: _cache[0] || (_cache[0] = ($event)=>emits('avatarClick'))
5145
5181
  }, [
5146
- 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, {
5147
- key: 0,
5148
- class: "rounded-full",
5149
- width: 32,
5150
- height: 32
5151
- })) : 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, {
5152
- key: 1,
5153
- class: "rounded-full",
5154
- width: 32,
5155
- height: 32
5156
- })) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(default_patient, {
5157
- key: 2,
5158
- width: 32,
5159
- height: 32,
5160
- class: "rounded-full"
5161
- }))
5182
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(pro_avatar), {
5183
+ class: "h-8 w-8 rounded-full",
5184
+ 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
5185
+ }, null, 8, [
5186
+ "type"
5187
+ ])
5162
5188
  ], 512),
5163
5189
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_3, [
5164
5190
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_4, [
@@ -6866,6 +6892,22 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
6866
6892
  selectedRows.value = [];
6867
6893
  handleChange();
6868
6894
  };
6895
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>attrs?.modelValue, (newVal)=>{
6896
+ if (newVal) {
6897
+ if (!props.multiSelectFlag) {
6898
+ const item = bizUnitList.value.find((item)=>item.value === newVal);
6899
+ if (item?.label && selectedValue.value !== item.label) {
6900
+ selectedValue.value = item.label;
6901
+ selectedRows.value = [
6902
+ item
6903
+ ];
6904
+ }
6905
+ }
6906
+ } else {
6907
+ selectedValue.value = props.multiSelectFlag ? [] : void 0;
6908
+ selectedRows.value = [];
6909
+ }
6910
+ });
6869
6911
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>[
6870
6912
  props.tableProps,
6871
6913
  props.selectProps
@@ -6941,7 +6983,7 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
6941
6983
  loading.value = false;
6942
6984
  if (res?.success) {
6943
6985
  let defaultList = [];
6944
- if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length) defaultList = props.defaultValue.map((item)=>({
6986
+ if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length && !data?.keyWord) defaultList = props.defaultValue.map((item)=>({
6945
6987
  ...item,
6946
6988
  orgId: item.value || item.orgId,
6947
6989
  orgNameDisplay: item.label || item.orgNameDisplay,
@@ -6966,8 +7008,8 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
6966
7008
  bizUnitList.value.forEach((item)=>{
6967
7009
  if (list.some((row)=>row.orgId === item.value || row.value === item.value)) tableRef.value?.eleTable?.toggleRowSelection(item, true);
6968
7010
  });
6969
- defaultSetTableSelected.value = true;
6970
7011
  }
7012
+ defaultSetTableSelected.value = true;
6971
7013
  }
6972
7014
  };
6973
7015
  const handleChange = ()=>{
@@ -6980,14 +7022,9 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
6980
7022
  }
6981
7023
  };
6982
7024
  const handelRemoteMethod = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.debounce)(async function(value) {
6983
- try {
6984
- loading.value = true;
6985
- await getBizUnitList({
6986
- keyWord: value
6987
- });
6988
- } finally{
6989
- loading.value = false;
6990
- }
7025
+ await getBizUnitList({
7026
+ keyWord: value
7027
+ });
6991
7028
  }, 500); // 键盘事件
6992
7029
  const handleKeydown = (e)=>{
6993
7030
  if (!bizUnitList.value.length || !popoverVisible.value) return;
@@ -7159,7 +7196,6 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7159
7196
  "collapse-tags-tooltip": "",
7160
7197
  teleported: !popoverVisible.value,
7161
7198
  "remote-method": (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(handelRemoteMethod),
7162
- loading: loading.value,
7163
7199
  multiple: !!props.multiSelectFlag,
7164
7200
  options: [],
7165
7201
  "popper-class": popoverVisible.value ? 'hidden' : '',
@@ -7173,7 +7209,6 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7173
7209
  "collapse-tags",
7174
7210
  "teleported",
7175
7211
  "remote-method",
7176
- "loading",
7177
7212
  "multiple",
7178
7213
  "popper-class"
7179
7214
  ])
@@ -7193,6 +7228,7 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7193
7228
  ref: tableRef,
7194
7229
  "row-key": "orgId",
7195
7230
  data: bizUnitList.value,
7231
+ loading: loading.value,
7196
7232
  "highlight-current-row": "",
7197
7233
  columns: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(tableConfig),
7198
7234
  "row-class-name": getRowClassName,
@@ -7200,6 +7236,7 @@ const user_select_exports_ = user_selectvue_type_script_setup_true_lang_ts_name_
7200
7236
  onSelectionChange: handleSelectionChange
7201
7237
  }, tableProps.value), null, 16, [
7202
7238
  "data",
7239
+ "loading",
7203
7240
  "columns"
7204
7241
  ])
7205
7242
  ], 4)
@@ -7262,6 +7299,22 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
7262
7299
  const selectedValue = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(); // select组件绑定的选中的值
7263
7300
  const selectedRows = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)([]); // table表格选中的值
7264
7301
  const defaultSetTableSelected = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false); // 传入的默认数据已经绑定到表格中
7302
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>attrs?.modelValue, (newVal)=>{
7303
+ if (newVal) {
7304
+ if (!props.multiSelectFlag) {
7305
+ const item = departmentList.value.find((item)=>item.value === newVal);
7306
+ if (item?.label && selectedValue.value !== item.label) {
7307
+ selectedValue.value = item.label;
7308
+ selectedRows.value = [
7309
+ item
7310
+ ];
7311
+ }
7312
+ }
7313
+ } else {
7314
+ selectedValue.value = props.multiSelectFlag ? [] : void 0;
7315
+ selectedRows.value = [];
7316
+ }
7317
+ });
7265
7318
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>[
7266
7319
  props.tableProps,
7267
7320
  props.selectProps
@@ -7294,8 +7347,8 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
7294
7347
  minWidth: 80
7295
7348
  },
7296
7349
  {
7297
- label: t('departmentSelect.table.orgTypeDescDisplay', '科室类型'),
7298
- prop: 'orgTypeDescDisplay',
7350
+ label: t('departmentSelect.table.deptTypeDesc', '科室类型'),
7351
+ prop: 'deptTypeDesc',
7299
7352
  minWidth: 80
7300
7353
  }
7301
7354
  ]
@@ -7316,7 +7369,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
7316
7369
  loading.value = false;
7317
7370
  if (res?.success) {
7318
7371
  let defaultList = [];
7319
- if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length) defaultList = props.defaultValue.map((item)=>({
7372
+ if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length && !data?.keyWord) defaultList = props.defaultValue.map((item)=>({
7320
7373
  ...item,
7321
7374
  orgId: item.value || item.orgId,
7322
7375
  orgNameDisplay: item.label || item.orgNameDisplay,
@@ -7341,8 +7394,8 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
7341
7394
  departmentList.value.forEach((item)=>{
7342
7395
  if (list.some((row)=>row.orgId === item.value || row.value === item.value)) tableRef.value?.eleTable?.toggleRowSelection(item, true);
7343
7396
  });
7344
- defaultSetTableSelected.value = true;
7345
7397
  }
7398
+ defaultSetTableSelected.value = true;
7346
7399
  }
7347
7400
  };
7348
7401
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>props.defaultValue, ()=>{
@@ -7372,14 +7425,9 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
7372
7425
  }
7373
7426
  };
7374
7427
  const handelRemoteMethod = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.debounce)(async function(value) {
7375
- try {
7376
- loading.value = true;
7377
- await getDepartmentList({
7378
- keyWord: value
7379
- });
7380
- } finally{
7381
- loading.value = false;
7382
- }
7428
+ await getDepartmentList({
7429
+ keyWord: value
7430
+ });
7383
7431
  }, 500); // 键盘事件
7384
7432
  const handleKeydown = (e)=>{
7385
7433
  if (!departmentList.value.length || !popoverVisible.value) return;
@@ -7551,7 +7599,6 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
7551
7599
  "collapse-tags-tooltip": "",
7552
7600
  teleported: !popoverVisible.value,
7553
7601
  "remote-method": (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(handelRemoteMethod),
7554
- loading: loading.value,
7555
7602
  multiple: !!props.multiSelectFlag,
7556
7603
  options: [],
7557
7604
  "popper-class": popoverVisible.value ? 'hidden' : '',
@@ -7565,7 +7612,6 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
7565
7612
  "collapse-tags",
7566
7613
  "teleported",
7567
7614
  "remote-method",
7568
- "loading",
7569
7615
  "multiple",
7570
7616
  "popper-class"
7571
7617
  ])
@@ -7581,6 +7627,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
7581
7627
  style: {
7582
7628
  height: "100%"
7583
7629
  },
7630
+ loading: loading.value,
7584
7631
  ref_key: "tableRef",
7585
7632
  ref: tableRef,
7586
7633
  "row-key": "orgId",
@@ -7591,6 +7638,7 @@ const biz_unit_select_exports_ = biz_unit_selectvue_type_script_setup_true_lang_
7591
7638
  "row-class-name": getRowClassName,
7592
7639
  onSelectionChange: handleSelectionChange
7593
7640
  }, tableProps.value), null, 16, [
7641
+ "loading",
7594
7642
  "columns",
7595
7643
  "data"
7596
7644
  ])
@@ -7653,6 +7701,22 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
7653
7701
  const selectedValue = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(); // select组件绑定的选中的值
7654
7702
  const selectedRows = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)([]); // table表格选中的值
7655
7703
  const defaultSetTableSelected = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false); // 传入的默认数据已经绑定到表格中
7704
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>attrs?.modelValue, (newVal)=>{
7705
+ if (newVal) {
7706
+ if (!props.multiSelectFlag) {
7707
+ const item = wardList.value.find((item)=>item.value === newVal);
7708
+ if (item?.label && selectedValue.value !== item.label) {
7709
+ selectedValue.value = item.label;
7710
+ selectedRows.value = [
7711
+ item
7712
+ ];
7713
+ }
7714
+ }
7715
+ } else {
7716
+ selectedValue.value = props.multiSelectFlag ? [] : void 0;
7717
+ selectedRows.value = [];
7718
+ }
7719
+ });
7656
7720
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>[
7657
7721
  props.tableProps,
7658
7722
  props.selectProps
@@ -7701,7 +7765,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
7701
7765
  loading.value = false;
7702
7766
  if (res?.success) {
7703
7767
  let defaultList = [];
7704
- if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length) defaultList = props.defaultValue.map((item)=>({
7768
+ if (attrs.modelValue && Array.isArray(props.defaultValue) && props.defaultValue.length && !data?.keyWord) defaultList = props.defaultValue.map((item)=>({
7705
7769
  ...item,
7706
7770
  orgId: item.value || item.orgId,
7707
7771
  orgNameDisplay: item.label || item.orgNameDisplay,
@@ -7726,8 +7790,8 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
7726
7790
  wardList.value.forEach((item)=>{
7727
7791
  if (list.some((row)=>row.orgId === item.value || row.value === item.value)) tableRef.value?.eleTable?.toggleRowSelection(item, true);
7728
7792
  });
7729
- defaultSetTableSelected.value = true;
7730
7793
  }
7794
+ defaultSetTableSelected.value = true;
7731
7795
  }
7732
7796
  };
7733
7797
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>props.defaultValue, ()=>{
@@ -7757,14 +7821,9 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
7757
7821
  }
7758
7822
  };
7759
7823
  const handelRemoteMethod = (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.debounce)(async function(value) {
7760
- try {
7761
- loading.value = true;
7762
- await getWardList({
7763
- keyWord: value
7764
- });
7765
- } finally{
7766
- loading.value = false;
7767
- }
7824
+ await getWardList({
7825
+ keyWord: value
7826
+ });
7768
7827
  }, 500); // 键盘事件
7769
7828
  const handleKeydown = (e)=>{
7770
7829
  if (!wardList.value.length || !popoverVisible.value) return;
@@ -7936,7 +7995,6 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
7936
7995
  "collapse-tags-tooltip": "",
7937
7996
  teleported: !popoverVisible.value,
7938
7997
  "remote-method": (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(handelRemoteMethod),
7939
- loading: loading.value,
7940
7998
  multiple: !!props.multiSelectFlag,
7941
7999
  options: [],
7942
8000
  "popper-class": popoverVisible.value ? 'hidden' : '',
@@ -7950,7 +8008,6 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
7950
8008
  "placeholder",
7951
8009
  "teleported",
7952
8010
  "remote-method",
7953
- "loading",
7954
8011
  "multiple",
7955
8012
  "popper-class"
7956
8013
  ])
@@ -7968,6 +8025,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
7968
8025
  },
7969
8026
  ref_key: "tableRef",
7970
8027
  ref: tableRef,
8028
+ loading: loading.value,
7971
8029
  "row-key": "orgId",
7972
8030
  data: wardList.value,
7973
8031
  "highlight-current-row": "",
@@ -7976,6 +8034,7 @@ const department_select_exports_ = department_selectvue_type_script_setup_true_l
7976
8034
  onRowClick: handleTableRowSelect,
7977
8035
  onSelectionChange: handleSelectionChange
7978
8036
  }, tableProps.value), null, 16, [
8037
+ "loading",
7979
8038
  "data",
7980
8039
  "columns"
7981
8040
  ])
@@ -9450,7 +9509,7 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
9450
9509
  "searchChange",
9451
9510
  "invoiceChange",
9452
9511
  "clear",
9453
- 'avatarClick'
9512
+ "avatarClick"
9454
9513
  ],
9455
9514
  setup (__props, { expose: __expose, emit: __emit }) {
9456
9515
  const emit = __emit;
@@ -9471,6 +9530,7 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
9471
9530
  return false;
9472
9531
  });
9473
9532
  /** 检索方法 */ const handleSearchChange = async (data)=>{
9533
+ if (bannerRef.value) bannerRef.value?.refresh();
9474
9534
  emit("searchChange", data);
9475
9535
  };
9476
9536
  /** 新患者按钮 */ const clearFn = async ()=>{
@@ -9487,6 +9547,7 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
9487
9547
  });
9488
9548
  return (_ctx, _cache)=>{
9489
9549
  const _component_el_button = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-button");
9550
+ const _directive_shortcut = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective)("shortcut");
9490
9551
  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, [
9491
9552
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_2, [
9492
9553
  searchCode.value && _ctx.menuId ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(patient_access), {
@@ -9501,7 +9562,7 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
9501
9562
  "code"
9502
9563
  ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
9503
9564
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3, [
9504
- _ctx.clearBtn ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_button, {
9565
+ _ctx.clearBtn ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)(((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_button, {
9505
9566
  key: 0,
9506
9567
  type: "primary",
9507
9568
  plain: "",
@@ -9511,7 +9572,12 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
9511
9572
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(_ctx.btnTitle), 1)
9512
9573
  ]),
9513
9574
  _: 1
9514
- })) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
9575
+ })), [
9576
+ [
9577
+ _directive_shortcut,
9578
+ 'Ctrl+C'
9579
+ ]
9580
+ ]) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
9515
9581
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, "default"),
9516
9582
  _ctx.invoiceConfig ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(invoice), {
9517
9583
  key: 1,
@@ -9543,137 +9609,6 @@ const access_infovue_type_script_setup_true_lang_ts_name_accessInfo_hoisted_3 =
9543
9609
  });
9544
9610
  const access_info_exports_ = access_infovue_type_script_setup_true_lang_ts_name_accessInfo;
9545
9611
  /* ESM default export */ const access_info = access_info_exports_;
9546
- function formatSize(val) {
9547
- if ('string' == typeof val) return val;
9548
- if ('number' == typeof val) return `${val}px`;
9549
- return '48px';
9550
- }
9551
- function useAvatarSize(width, height) {
9552
- const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>formatSize(width));
9553
- const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>formatSize(height));
9554
- return {
9555
- currentWidth,
9556
- currentHeight
9557
- };
9558
- }
9559
- /**
9560
- * 头像类型
9561
- */ var utils_AVATAR_TYPE_CODE = /*#__PURE__*/ function(AVATAR_TYPE_CODE) {
9562
- /**
9563
- * 男性
9564
- */ AVATAR_TYPE_CODE["WOMAN"] = "woman";
9565
- /**
9566
- * 女性
9567
- */ AVATAR_TYPE_CODE["MAN"] = "man";
9568
- /**
9569
- * 默认
9570
- */ AVATAR_TYPE_CODE["DEFAULT"] = "default";
9571
- return AVATAR_TYPE_CODE;
9572
- }({});
9573
- const manvue_type_script_setup_true_lang_ts_hoisted_1 = [
9574
- "width",
9575
- "height"
9576
- ];
9577
- /* ESM default export */ const manvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
9578
- __name: 'man',
9579
- props: {
9580
- width: {},
9581
- height: {}
9582
- },
9583
- setup (__props) {
9584
- const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
9585
- return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
9586
- width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
9587
- height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
9588
- viewBox: "0 0 48 48",
9589
- version: "1.1",
9590
- xmlns: "http://www.w3.org/2000/svg",
9591
- "xmlns:xlink": "http://www.w3.org/1999/xlink"
9592
- }, _cache[0] || (_cache[0] = [
9593
- (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)
9594
- ]), 8, manvue_type_script_setup_true_lang_ts_hoisted_1));
9595
- }
9596
- });
9597
- const man_exports_ = manvue_type_script_setup_true_lang_ts;
9598
- /* ESM default export */ const man = man_exports_;
9599
- const womenvue_type_script_setup_true_lang_ts_hoisted_1 = [
9600
- "width",
9601
- "height"
9602
- ];
9603
- /* ESM default export */ const womenvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
9604
- __name: 'women',
9605
- props: {
9606
- width: {},
9607
- height: {}
9608
- },
9609
- setup (__props) {
9610
- const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
9611
- return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
9612
- width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
9613
- height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
9614
- viewBox: "0 0 48 48",
9615
- version: "1.1",
9616
- xmlns: "http://www.w3.org/2000/svg",
9617
- "xmlns:xlink": "http://www.w3.org/1999/xlink"
9618
- }, _cache[0] || (_cache[0] = [
9619
- (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)
9620
- ]), 8, womenvue_type_script_setup_true_lang_ts_hoisted_1));
9621
- }
9622
- });
9623
- const women_exports_ = womenvue_type_script_setup_true_lang_ts;
9624
- /* ESM default export */ const women = women_exports_;
9625
- const defaultvue_type_script_setup_true_lang_ts_hoisted_1 = [
9626
- "width",
9627
- "height"
9628
- ];
9629
- /* ESM default export */ const defaultvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
9630
- __name: 'default',
9631
- props: {
9632
- width: {},
9633
- height: {}
9634
- },
9635
- setup (__props) {
9636
- const { currentWidth, currentHeight } = useAvatarSize(__props.width, __props.height);
9637
- return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
9638
- width: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentWidth),
9639
- height: (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(currentHeight),
9640
- viewBox: "0 0 48 48",
9641
- version: "1.1",
9642
- xmlns: "http://www.w3.org/2000/svg",
9643
- "xmlns:xlink": "http://www.w3.org/1999/xlink"
9644
- }, _cache[0] || (_cache[0] = [
9645
- (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)
9646
- ]), 8, defaultvue_type_script_setup_true_lang_ts_hoisted_1));
9647
- }
9648
- });
9649
- const default_exports_ = defaultvue_type_script_setup_true_lang_ts;
9650
- /* ESM default export */ const composable_default = default_exports_;
9651
- /* ESM default export */ const pro_avatarvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
9652
- __name: 'index',
9653
- props: {
9654
- type: {},
9655
- width: {},
9656
- height: {}
9657
- },
9658
- setup (__props) {
9659
- const props = __props;
9660
- const avatarType = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>props.type || utils_AVATAR_TYPE_CODE.DEFAULT);
9661
- const avatarComponent = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
9662
- if (avatarType.value === utils_AVATAR_TYPE_CODE.MAN) return man;
9663
- if (avatarType.value === utils_AVATAR_TYPE_CODE.WOMAN) return women;
9664
- return composable_default;
9665
- });
9666
- return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(avatarComponent.value), {
9667
- width: props.width,
9668
- height: props.height
9669
- }, null, 8, [
9670
- "width",
9671
- "height"
9672
- ]));
9673
- }
9674
- });
9675
- const pro_avatar_exports_ = pro_avatarvue_type_script_setup_true_lang_ts;
9676
- /* ESM default export */ const pro_avatar = pro_avatar_exports_;
9677
9612
  /**
9678
9613
  * [1-10008-1]根据条件生成DML脚本
9679
9614
  * @param data