sun-biz 0.0.2-beta.27 → 0.0.2-beta.29

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.
@@ -1165,7 +1165,7 @@ const _hoisted_3 = {
1165
1165
  const dbgrid_component_setting_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(dbgrid_component_settingvue_type_script_setup_true_lang_tsx, [
1166
1166
  [
1167
1167
  '__scopeId',
1168
- "data-v-72dc2db9"
1168
+ "data-v-43d6c394"
1169
1169
  ]
1170
1170
  ]);
1171
1171
  /* ESM default export */ const dbgrid_component_setting = dbgrid_component_setting_exports_;
@@ -1611,7 +1611,7 @@ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable_hoisted_2 = {
1611
1611
  'expand' == item.type ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, {
1612
1612
  key: 0
1613
1613
  }, [
1614
- item.render ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(item.render(scope.row, scope.$index)), {
1614
+ item.render ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(item.render(scope.row, scope.$index, scope.expanded)), {
1615
1615
  key: 0
1616
1616
  })) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, item.type, (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
1617
1617
  key: 1,
@@ -2509,43 +2509,163 @@ const BANNER_COMPONENT_CONFIG = {
2509
2509
  bizIdTypeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.BIZ_ID_TYPE_CODE.IENC_ENCOUNTER
2510
2510
  }
2511
2511
  };
2512
+ const default_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
2513
+ "width",
2514
+ "height"
2515
+ ];
2516
+ /* ESM default export */ const default_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2517
+ __name: 'default_patient',
2518
+ props: {
2519
+ width: {},
2520
+ height: {}
2521
+ },
2522
+ setup (__props) {
2523
+ const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2524
+ if ("string" == typeof __props.width) return __props.width;
2525
+ if ("number" == typeof __props.width) return `${__props.width}px`;
2526
+ return "48px"; // 默认值
2527
+ });
2528
+ const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2529
+ if ("string" == typeof __props.height) return __props.height;
2530
+ if ("number" == typeof __props.height) return `${__props.height}px`;
2531
+ return "48px"; // 默认值
2532
+ });
2533
+ return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
2534
+ width: currentWidth.value,
2535
+ height: currentHeight.value,
2536
+ viewBox: "0 0 48 48",
2537
+ version: "1.1",
2538
+ xmlns: "http://www.w3.org/2000/svg",
2539
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
2540
+ }, _cache[0] || (_cache[0] = [
2541
+ (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)
2542
+ ]), 8, default_patientvue_type_script_setup_true_lang_ts_hoisted_1));
2543
+ }
2544
+ });
2545
+ const default_patient_exports_ = default_patientvue_type_script_setup_true_lang_ts;
2546
+ /* ESM default export */ const default_patient = default_patient_exports_;
2547
+ const man_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
2548
+ "width",
2549
+ "height"
2550
+ ];
2551
+ /* ESM default export */ const man_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2552
+ __name: 'man_patient',
2553
+ props: {
2554
+ width: {},
2555
+ height: {}
2556
+ },
2557
+ setup (__props) {
2558
+ const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2559
+ if ("string" == typeof __props.width) return __props.width;
2560
+ if ("number" == typeof __props.width) return `${__props.width}px`;
2561
+ return "48px"; // 默认值
2562
+ });
2563
+ const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2564
+ if ("string" == typeof __props.height) return __props.height;
2565
+ if ("number" == typeof __props.height) return `${__props.height}px`;
2566
+ return "48px"; // 默认值
2567
+ });
2568
+ return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
2569
+ width: currentWidth.value,
2570
+ height: currentHeight.value,
2571
+ viewBox: "0 0 48 48",
2572
+ version: "1.1",
2573
+ xmlns: "http://www.w3.org/2000/svg",
2574
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
2575
+ }, _cache[0] || (_cache[0] = [
2576
+ (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)
2577
+ ]), 8, man_patientvue_type_script_setup_true_lang_ts_hoisted_1));
2578
+ }
2579
+ });
2580
+ const man_patient_exports_ = man_patientvue_type_script_setup_true_lang_ts;
2581
+ /* ESM default export */ const man_patient = man_patient_exports_;
2582
+ const women_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
2583
+ "width",
2584
+ "height"
2585
+ ];
2586
+ /* ESM default export */ const women_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2587
+ __name: 'women_patient',
2588
+ props: {
2589
+ width: {},
2590
+ height: {}
2591
+ },
2592
+ setup (__props) {
2593
+ const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2594
+ if ("string" == typeof __props.width) return __props.width;
2595
+ if ("number" == typeof __props.width) return `${__props.width}px`;
2596
+ return "48px"; // 默认值
2597
+ });
2598
+ const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2599
+ if ("string" == typeof __props.height) return __props.height;
2600
+ if ("number" == typeof __props.height) return `${__props.height}px`;
2601
+ return "48px"; // 默认值
2602
+ });
2603
+ return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
2604
+ width: currentWidth.value,
2605
+ height: currentHeight.value,
2606
+ viewBox: "0 0 48 48",
2607
+ version: "1.1",
2608
+ xmlns: "http://www.w3.org/2000/svg",
2609
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
2610
+ }, _cache[0] || (_cache[0] = [
2611
+ (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)
2612
+ ]), 8, women_patientvue_type_script_setup_true_lang_ts_hoisted_1));
2613
+ }
2614
+ });
2615
+ const women_patient_exports_ = women_patientvue_type_script_setup_true_lang_ts;
2616
+ /* ESM default export */ const women_patient = women_patient_exports_;
2512
2617
  const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_1 = {
2513
- class: "col-span-1"
2618
+ class: "border-r border-[#C9C9C9] pr-5 mr-5"
2514
2619
  };
2515
2620
  const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_2 = {
2516
- class: "flex items-center gap-2 pl-2"
2621
+ class: "flex min-w-32 items-start justify-start"
2517
2622
  };
2518
2623
  const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_3 = {
2519
- class: "flex flex-1 flex-col gap-3 text-center"
2624
+ class: "ml-[12px] flex-1"
2520
2625
  };
2521
2626
  const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_4 = {
2522
- class: "flex items-center justify-center gap-3"
2627
+ class: "flex-1 flex flex-col gap-3 text-center"
2523
2628
  };
2524
2629
  const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_5 = {
2525
- key: 0,
2526
- class: "flex items-center gap-8 pl-12 pt-2 text-center"
2630
+ class: "flex-1 text-center leading-[14px]"
2527
2631
  };
2528
2632
  const _hoisted_6 = {
2529
- class: "text-green-300"
2633
+ class: "min-w-7"
2530
2634
  };
2531
2635
  const _hoisted_7 = {
2532
- key: 0
2636
+ class: "min-w-7 ml-2"
2533
2637
  };
2534
2638
  const _hoisted_8 = {
2535
- class: "text-slate-600"
2639
+ class: "flex justify-center"
2536
2640
  };
2537
2641
  const _hoisted_9 = {
2538
- class: "mx-2 max-w-16 break-all"
2642
+ key: 0,
2643
+ class: "rounded-full bg-[#00AB44] px-1.5 text-center text-white mt-3 flex-1"
2644
+ };
2645
+ const _hoisted_10 = {
2646
+ class: "mr-2"
2647
+ };
2648
+ const _hoisted_11 = {
2649
+ class: "text-[#666666]"
2650
+ };
2651
+ const _hoisted_12 = {
2652
+ class: "w-full"
2539
2653
  };
2540
2654
  /* ESM default export */ const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2541
2655
  __name: 'BannerInfo',
2542
2656
  props: {
2543
2657
  code: {},
2544
- bizId: {}
2658
+ bizId: {},
2659
+ isBg: {
2660
+ type: Boolean,
2661
+ default: true
2662
+ }
2545
2663
  },
2546
2664
  setup (__props) {
2547
2665
  const loading = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
2548
2666
  const bannerInfo = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
2667
+ const initBannerInfo = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
2668
+ const isTextOverflowing = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
2549
2669
  // 确保布局列数为有效数字
2550
2670
  const parseLayoutColumns = (value)=>{
2551
2671
  const parsed = parseInt(value, 10);
@@ -2557,14 +2677,20 @@ const _hoisted_9 = {
2557
2677
  /** 如果是住院就诊,返回就诊状态和天数 */ const encounterInfo = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2558
2678
  if (BANNER_COMPONENT_CONFIG[__props.code].bizIdTypeCode !== __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.BIZ_ID_TYPE_CODE.IENC_ENCOUNTER) return null;
2559
2679
  const bannerItems = bannerInfo.value?.bannerItemList ?? [];
2680
+ const statusItem = bannerItems.find((item)=>"inEncStatusDesc" === item.bindingFieldNo);
2681
+ const daysItem = bannerItems.find((item)=>"inpatientDays" === item.bindingFieldNo);
2560
2682
  return {
2561
- inEncStatusDesc: bannerItems.find((item)=>"inEncStatusDesc" === item.bindingFieldNo)?.dataValue ?? "--",
2562
- inpatientDays: bannerItems.find((item)=>"inpatientDays" === item.bindingFieldNo)?.dataValue ?? "--"
2683
+ inEncStatusDesc: statusItem?.dataValue ?? "--",
2684
+ inpatientDays: daysItem?.dataValue ? `(${daysItem.dataValue})` : "--"
2563
2685
  };
2564
2686
  });
2565
2687
  /** 获取banner配置 */ const queryBannerConfig = async ()=>{
2566
2688
  loading.value = true;
2567
- console.log(123, BANNER_COMPONENT_CONFIG[__props.code].bizIdTypeCode, BANNER_COMPONENT_CONFIG[__props.code].componentId);
2689
+ if (!__props.bizId && initBannerInfo.value) {
2690
+ bannerInfo.value = initBannerInfo.value;
2691
+ loading.value = false;
2692
+ return;
2693
+ }
2568
2694
  const [, res] = await getBannerDataByBizId({
2569
2695
  bizId: __props.bizId ?? void 0,
2570
2696
  bizIdTypeCode: BANNER_COMPONENT_CONFIG[__props.code].bizIdTypeCode,
@@ -2573,9 +2699,17 @@ const _hoisted_9 = {
2573
2699
  loading.value = false;
2574
2700
  if (res?.success) {
2575
2701
  res.data.bannerItemList = (res?.data?.bannerItemList ?? [])?.filter((item)=>item.displayFlag);
2702
+ if (!__props.bizId) initBannerInfo.value = res?.data;
2576
2703
  bannerInfo.value = res?.data;
2577
2704
  }
2578
2705
  };
2706
+ // 修改检查文字溢出的逻辑
2707
+ const checkTextOverflow = (event)=>{
2708
+ const target = event.currentTarget;
2709
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.nextTick)(()=>{
2710
+ isTextOverflowing.value = target.offsetWidth < target.scrollWidth;
2711
+ });
2712
+ };
2579
2713
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>__props.bizId, async ()=>{
2580
2714
  await queryBannerConfig();
2581
2715
  });
@@ -2583,41 +2717,72 @@ const _hoisted_9 = {
2583
2717
  await queryBannerConfig();
2584
2718
  });
2585
2719
  return (_ctx, _cache)=>{
2586
- const _component_el_avatar = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-avatar");
2720
+ const _component_el_tooltip = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-tooltip");
2587
2721
  const _directive_loading = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective)("loading");
2588
2722
  return (0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)(((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", {
2589
2723
  class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)([
2590
- "grid items-center gap-3 bg-table-header py-1 text-base",
2591
2724
  {
2592
- [`grid-cols-${layoutColumns.value + 2}`]: true
2593
- }
2725
+ ['bg-table-header']: _ctx.isBg
2726
+ },
2727
+ "flex px-[10px] py-2 text-base text-black items-center"
2594
2728
  ])
2595
2729
  }, [
2596
2730
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_1, [
2597
2731
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_2, [
2598
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_avatar, {
2599
- size: 50,
2600
- icon: "User"
2601
- }),
2732
+ 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, {
2733
+ key: 0,
2734
+ class: "rounded-full",
2735
+ width: 32,
2736
+ height: 32
2737
+ })) : 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, {
2738
+ key: 1,
2739
+ class: "rounded-full",
2740
+ width: 32,
2741
+ height: 32
2742
+ })) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(default_patient, {
2743
+ key: 2,
2744
+ width: 32,
2745
+ height: 32,
2746
+ class: "rounded-full"
2747
+ })),
2602
2748
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_3, [
2603
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.personName ?? "--"), 1),
2604
2749
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_4, [
2605
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.genderDesc ?? "--"), 1),
2606
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.age ?? "--"), 1)
2750
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", {
2751
+ class: "text-lg w-full font-bold overflow-hidden text-ellipsis whitespace-nowrap leading-4",
2752
+ onMouseenter: checkTextOverflow
2753
+ }, [
2754
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_tooltip, {
2755
+ disabled: !isTextOverflowing.value,
2756
+ content: bannerInfo.value?.personName
2757
+ }, {
2758
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
2759
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.personName ?? "--"), 1)
2760
+ ]),
2761
+ _: 1
2762
+ }, 8, [
2763
+ "disabled",
2764
+ "content"
2765
+ ])
2766
+ ], 32),
2767
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_5, [
2768
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_6, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.age ?? "--"), 1),
2769
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_7, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.genderDesc ?? "--"), 1)
2770
+ ])
2607
2771
  ])
2608
2772
  ])
2609
2773
  ]),
2610
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(BANNER_COMPONENT_CONFIG)[_ctx.code].bizIdTypeCode === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.BIZ_ID_TYPE_CODE).IENC_ENCOUNTER ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_5, [
2611
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_6, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(encounterInfo.value?.inEncStatusDesc), 1),
2612
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(encounterInfo.value?.inpatientDays), 1)
2613
- ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
2774
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", _hoisted_8, [
2775
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(BANNER_COMPONENT_CONFIG)[_ctx.code].bizIdTypeCode === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.BIZ_ID_TYPE_CODE).IENC_ENCOUNTER ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", _hoisted_9, [
2776
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_10, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(encounterInfo.value?.inEncStatusDesc), 1),
2777
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(encounterInfo.value?.inpatientDays), 1)
2778
+ ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
2779
+ ])
2614
2780
  ]),
2615
2781
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", {
2616
2782
  class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)([
2617
- "grid gap-3",
2783
+ "grid gap-2 flex-1",
2618
2784
  {
2619
- [`grid-cols-${layoutColumns.value}`]: true,
2620
- [`col-span-${layoutColumns.value + 1}`]: true
2785
+ [`grid-cols-${layoutColumns.value}`]: true
2621
2786
  }
2622
2787
  ])
2623
2788
  }, [
@@ -2627,10 +2792,24 @@ const _hoisted_9 = {
2627
2792
  [`col-span-${Math.floor(item.displayWidthRatio * Number(layoutColumns.value))}`]: true
2628
2793
  })
2629
2794
  }, [
2630
- item.displayFlag ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", _hoisted_7, [
2631
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_8, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.labelNameDisplay) + ":", 1),
2632
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_9, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.dataValue || "--"), 1)
2633
- ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
2795
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", {
2796
+ class: "w-full overflow-hidden text-ellipsis whitespace-nowrap",
2797
+ onMouseenter: checkTextOverflow
2798
+ }, [
2799
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_11, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.labelNameDisplay) + ":", 1),
2800
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_tooltip, {
2801
+ disabled: !isTextOverflowing.value,
2802
+ content: item.dataValue
2803
+ }, {
2804
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
2805
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_12, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.dataValue || "--"), 1)
2806
+ ]),
2807
+ _: 2
2808
+ }, 1032, [
2809
+ "disabled",
2810
+ "content"
2811
+ ])
2812
+ ], 32)
2634
2813
  ], 2))), 128))
2635
2814
  ], 2)
2636
2815
  ], 2)), [
@@ -17,7 +17,7 @@ export type FieldNamesProps = {
17
17
  value: string;
18
18
  children?: string;
19
19
  };
20
- type RuleItem = {
20
+ export type RuleItem = {
21
21
  required?: boolean;
22
22
  message?: string;
23
23
  trigger: string | string[];
@@ -51,8 +51,9 @@ export interface ColumnProps<T = any> extends Partial<Omit<TableColumnCtx<T>, 't
51
51
  isFilterEnum?: boolean | Ref<boolean>;
52
52
  fieldNames?: FieldNamesProps;
53
53
  headerRender?: (scope: HeaderRenderScope<T>) => VNode;
54
- render?: (row: T, index: number) => VNode | string;
54
+ render?: (row: T, index: number, expanded?: boolean) => VNode | string;
55
55
  rules?: RuleItem[] | ((row: T) => RuleItem[]);
56
+ displayFlag?: 0 | 1;
56
57
  _children?: ColumnProps<T>[];
57
58
  }
58
59
  export type ProTableInstance = Omit<InstanceType<typeof ProTable>, keyof ComponentPublicInstance>;
@@ -79,4 +80,3 @@ export declare namespace Table {
79
80
  loading: boolean;
80
81
  }
81
82
  }
82
- export {};
package/dist/index.js CHANGED
@@ -1166,7 +1166,7 @@ const _hoisted_3 = {
1166
1166
  const dbgrid_component_setting_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(dbgrid_component_settingvue_type_script_setup_true_lang_tsx, [
1167
1167
  [
1168
1168
  '__scopeId',
1169
- "data-v-72dc2db9"
1169
+ "data-v-43d6c394"
1170
1170
  ]
1171
1171
  ]);
1172
1172
  /* ESM default export */ const dbgrid_component_setting = dbgrid_component_setting_exports_;
@@ -1612,7 +1612,7 @@ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable_hoisted_2 = {
1612
1612
  'expand' == item.type ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, {
1613
1613
  key: 0
1614
1614
  }, [
1615
- item.render ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(item.render(scope.row, scope.$index)), {
1615
+ item.render ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(item.render(scope.row, scope.$index, scope.expanded)), {
1616
1616
  key: 0
1617
1617
  })) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderSlot)(_ctx.$slots, item.type, (0, __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps)({
1618
1618
  key: 1,
@@ -2907,43 +2907,163 @@ const BANNER_COMPONENT_CONFIG = {
2907
2907
  bizIdTypeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.BIZ_ID_TYPE_CODE.IENC_ENCOUNTER
2908
2908
  }
2909
2909
  };
2910
+ const default_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
2911
+ "width",
2912
+ "height"
2913
+ ];
2914
+ /* ESM default export */ const default_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2915
+ __name: 'default_patient',
2916
+ props: {
2917
+ width: {},
2918
+ height: {}
2919
+ },
2920
+ setup (__props) {
2921
+ const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2922
+ if ("string" == typeof __props.width) return __props.width;
2923
+ if ("number" == typeof __props.width) return `${__props.width}px`;
2924
+ return "48px"; // 默认值
2925
+ });
2926
+ const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2927
+ if ("string" == typeof __props.height) return __props.height;
2928
+ if ("number" == typeof __props.height) return `${__props.height}px`;
2929
+ return "48px"; // 默认值
2930
+ });
2931
+ return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
2932
+ width: currentWidth.value,
2933
+ height: currentHeight.value,
2934
+ viewBox: "0 0 48 48",
2935
+ version: "1.1",
2936
+ xmlns: "http://www.w3.org/2000/svg",
2937
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
2938
+ }, _cache[0] || (_cache[0] = [
2939
+ (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)
2940
+ ]), 8, default_patientvue_type_script_setup_true_lang_ts_hoisted_1));
2941
+ }
2942
+ });
2943
+ const default_patient_exports_ = default_patientvue_type_script_setup_true_lang_ts;
2944
+ /* ESM default export */ const default_patient = default_patient_exports_;
2945
+ const man_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
2946
+ "width",
2947
+ "height"
2948
+ ];
2949
+ /* ESM default export */ const man_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2950
+ __name: 'man_patient',
2951
+ props: {
2952
+ width: {},
2953
+ height: {}
2954
+ },
2955
+ setup (__props) {
2956
+ const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2957
+ if ("string" == typeof __props.width) return __props.width;
2958
+ if ("number" == typeof __props.width) return `${__props.width}px`;
2959
+ return "48px"; // 默认值
2960
+ });
2961
+ const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2962
+ if ("string" == typeof __props.height) return __props.height;
2963
+ if ("number" == typeof __props.height) return `${__props.height}px`;
2964
+ return "48px"; // 默认值
2965
+ });
2966
+ return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
2967
+ width: currentWidth.value,
2968
+ height: currentHeight.value,
2969
+ viewBox: "0 0 48 48",
2970
+ version: "1.1",
2971
+ xmlns: "http://www.w3.org/2000/svg",
2972
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
2973
+ }, _cache[0] || (_cache[0] = [
2974
+ (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)
2975
+ ]), 8, man_patientvue_type_script_setup_true_lang_ts_hoisted_1));
2976
+ }
2977
+ });
2978
+ const man_patient_exports_ = man_patientvue_type_script_setup_true_lang_ts;
2979
+ /* ESM default export */ const man_patient = man_patient_exports_;
2980
+ const women_patientvue_type_script_setup_true_lang_ts_hoisted_1 = [
2981
+ "width",
2982
+ "height"
2983
+ ];
2984
+ /* ESM default export */ const women_patientvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2985
+ __name: 'women_patient',
2986
+ props: {
2987
+ width: {},
2988
+ height: {}
2989
+ },
2990
+ setup (__props) {
2991
+ const currentWidth = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2992
+ if ("string" == typeof __props.width) return __props.width;
2993
+ if ("number" == typeof __props.width) return `${__props.width}px`;
2994
+ return "48px"; // 默认值
2995
+ });
2996
+ const currentHeight = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2997
+ if ("string" == typeof __props.height) return __props.height;
2998
+ if ("number" == typeof __props.height) return `${__props.height}px`;
2999
+ return "48px"; // 默认值
3000
+ });
3001
+ return (_ctx, _cache)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("svg", {
3002
+ width: currentWidth.value,
3003
+ height: currentHeight.value,
3004
+ viewBox: "0 0 48 48",
3005
+ version: "1.1",
3006
+ xmlns: "http://www.w3.org/2000/svg",
3007
+ "xmlns:xlink": "http://www.w3.org/1999/xlink"
3008
+ }, _cache[0] || (_cache[0] = [
3009
+ (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)
3010
+ ]), 8, women_patientvue_type_script_setup_true_lang_ts_hoisted_1));
3011
+ }
3012
+ });
3013
+ const women_patient_exports_ = women_patientvue_type_script_setup_true_lang_ts;
3014
+ /* ESM default export */ const women_patient = women_patient_exports_;
2910
3015
  const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_1 = {
2911
- class: "col-span-1"
3016
+ class: "border-r border-[#C9C9C9] pr-5 mr-5"
2912
3017
  };
2913
3018
  const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_2 = {
2914
- class: "flex items-center gap-2 pl-2"
3019
+ class: "flex min-w-32 items-start justify-start"
2915
3020
  };
2916
3021
  const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_3 = {
2917
- class: "flex flex-1 flex-col gap-3 text-center"
3022
+ class: "ml-[12px] flex-1"
2918
3023
  };
2919
3024
  const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_4 = {
2920
- class: "flex items-center justify-center gap-3"
3025
+ class: "flex-1 flex flex-col gap-3 text-center"
2921
3026
  };
2922
3027
  const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_5 = {
2923
- key: 0,
2924
- class: "flex items-center gap-8 pl-12 pt-2 text-center"
3028
+ class: "flex-1 text-center leading-[14px]"
2925
3029
  };
2926
3030
  const _hoisted_6 = {
2927
- class: "text-green-300"
3031
+ class: "min-w-7"
2928
3032
  };
2929
3033
  const _hoisted_7 = {
2930
- key: 0
3034
+ class: "min-w-7 ml-2"
2931
3035
  };
2932
3036
  const _hoisted_8 = {
2933
- class: "text-slate-600"
3037
+ class: "flex justify-center"
2934
3038
  };
2935
3039
  const _hoisted_9 = {
2936
- class: "mx-2 max-w-16 break-all"
3040
+ key: 0,
3041
+ class: "rounded-full bg-[#00AB44] px-1.5 text-center text-white mt-3 flex-1"
3042
+ };
3043
+ const _hoisted_10 = {
3044
+ class: "mr-2"
3045
+ };
3046
+ const _hoisted_11 = {
3047
+ class: "text-[#666666]"
3048
+ };
3049
+ const _hoisted_12 = {
3050
+ class: "w-full"
2937
3051
  };
2938
3052
  /* ESM default export */ const BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2939
3053
  __name: 'BannerInfo',
2940
3054
  props: {
2941
3055
  code: {},
2942
- bizId: {}
3056
+ bizId: {},
3057
+ isBg: {
3058
+ type: Boolean,
3059
+ default: true
3060
+ }
2943
3061
  },
2944
3062
  setup (__props) {
2945
3063
  const loading = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
2946
3064
  const bannerInfo = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
3065
+ const initBannerInfo = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
3066
+ const isTextOverflowing = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
2947
3067
  // 确保布局列数为有效数字
2948
3068
  const parseLayoutColumns = (value)=>{
2949
3069
  const parsed = parseInt(value, 10);
@@ -2955,14 +3075,20 @@ const _hoisted_9 = {
2955
3075
  /** 如果是住院就诊,返回就诊状态和天数 */ const encounterInfo = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2956
3076
  if (BANNER_COMPONENT_CONFIG[__props.code].bizIdTypeCode !== __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.BIZ_ID_TYPE_CODE.IENC_ENCOUNTER) return null;
2957
3077
  const bannerItems = bannerInfo.value?.bannerItemList ?? [];
3078
+ const statusItem = bannerItems.find((item)=>"inEncStatusDesc" === item.bindingFieldNo);
3079
+ const daysItem = bannerItems.find((item)=>"inpatientDays" === item.bindingFieldNo);
2958
3080
  return {
2959
- inEncStatusDesc: bannerItems.find((item)=>"inEncStatusDesc" === item.bindingFieldNo)?.dataValue ?? "--",
2960
- inpatientDays: bannerItems.find((item)=>"inpatientDays" === item.bindingFieldNo)?.dataValue ?? "--"
3081
+ inEncStatusDesc: statusItem?.dataValue ?? "--",
3082
+ inpatientDays: daysItem?.dataValue ? `(${daysItem.dataValue})` : "--"
2961
3083
  };
2962
3084
  });
2963
3085
  /** 获取banner配置 */ const queryBannerConfig = async ()=>{
2964
3086
  loading.value = true;
2965
- console.log(123, BANNER_COMPONENT_CONFIG[__props.code].bizIdTypeCode, BANNER_COMPONENT_CONFIG[__props.code].componentId);
3087
+ if (!__props.bizId && initBannerInfo.value) {
3088
+ bannerInfo.value = initBannerInfo.value;
3089
+ loading.value = false;
3090
+ return;
3091
+ }
2966
3092
  const [, res] = await getBannerDataByBizId({
2967
3093
  bizId: __props.bizId ?? void 0,
2968
3094
  bizIdTypeCode: BANNER_COMPONENT_CONFIG[__props.code].bizIdTypeCode,
@@ -2971,9 +3097,17 @@ const _hoisted_9 = {
2971
3097
  loading.value = false;
2972
3098
  if (res?.success) {
2973
3099
  res.data.bannerItemList = (res?.data?.bannerItemList ?? [])?.filter((item)=>item.displayFlag);
3100
+ if (!__props.bizId) initBannerInfo.value = res?.data;
2974
3101
  bannerInfo.value = res?.data;
2975
3102
  }
2976
3103
  };
3104
+ // 修改检查文字溢出的逻辑
3105
+ const checkTextOverflow = (event)=>{
3106
+ const target = event.currentTarget;
3107
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.nextTick)(()=>{
3108
+ isTextOverflowing.value = target.offsetWidth < target.scrollWidth;
3109
+ });
3110
+ };
2977
3111
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.watch)(()=>__props.bizId, async ()=>{
2978
3112
  await queryBannerConfig();
2979
3113
  });
@@ -2981,41 +3115,72 @@ const _hoisted_9 = {
2981
3115
  await queryBannerConfig();
2982
3116
  });
2983
3117
  return (_ctx, _cache)=>{
2984
- const _component_el_avatar = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-avatar");
3118
+ const _component_el_tooltip = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-tooltip");
2985
3119
  const _directive_loading = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDirective)("loading");
2986
3120
  return (0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)(((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", {
2987
3121
  class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)([
2988
- "grid items-center gap-3 bg-table-header py-1 text-base",
2989
3122
  {
2990
- [`grid-cols-${layoutColumns.value + 2}`]: true
2991
- }
3123
+ ['bg-table-header']: _ctx.isBg
3124
+ },
3125
+ "flex px-[10px] py-2 text-base text-black items-center"
2992
3126
  ])
2993
3127
  }, [
2994
3128
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_1, [
2995
3129
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_2, [
2996
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_avatar, {
2997
- size: 50,
2998
- icon: "User"
2999
- }),
3130
+ 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, {
3131
+ key: 0,
3132
+ class: "rounded-full",
3133
+ width: 32,
3134
+ height: 32
3135
+ })) : 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, {
3136
+ key: 1,
3137
+ class: "rounded-full",
3138
+ width: 32,
3139
+ height: 32
3140
+ })) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(default_patient, {
3141
+ key: 2,
3142
+ width: 32,
3143
+ height: 32,
3144
+ class: "rounded-full"
3145
+ })),
3000
3146
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_3, [
3001
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.personName ?? "--"), 1),
3002
3147
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_4, [
3003
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.genderDesc ?? "--"), 1),
3004
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.age ?? "--"), 1)
3148
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", {
3149
+ class: "text-lg w-full font-bold overflow-hidden text-ellipsis whitespace-nowrap leading-4",
3150
+ onMouseenter: checkTextOverflow
3151
+ }, [
3152
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_tooltip, {
3153
+ disabled: !isTextOverflowing.value,
3154
+ content: bannerInfo.value?.personName
3155
+ }, {
3156
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
3157
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.personName ?? "--"), 1)
3158
+ ]),
3159
+ _: 1
3160
+ }, 8, [
3161
+ "disabled",
3162
+ "content"
3163
+ ])
3164
+ ], 32),
3165
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_5, [
3166
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_6, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.age ?? "--"), 1),
3167
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_7, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(bannerInfo.value?.genderDesc ?? "--"), 1)
3168
+ ])
3005
3169
  ])
3006
3170
  ])
3007
3171
  ]),
3008
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(BANNER_COMPONENT_CONFIG)[_ctx.code].bizIdTypeCode === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.BIZ_ID_TYPE_CODE).IENC_ENCOUNTER ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent_hoisted_5, [
3009
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_6, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(encounterInfo.value?.inEncStatusDesc), 1),
3010
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(encounterInfo.value?.inpatientDays), 1)
3011
- ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
3172
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", _hoisted_8, [
3173
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(BANNER_COMPONENT_CONFIG)[_ctx.code].bizIdTypeCode === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.BIZ_ID_TYPE_CODE).IENC_ENCOUNTER ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", _hoisted_9, [
3174
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_10, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(encounterInfo.value?.inEncStatusDesc), 1),
3175
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(encounterInfo.value?.inpatientDays), 1)
3176
+ ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
3177
+ ])
3012
3178
  ]),
3013
3179
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", {
3014
3180
  class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)([
3015
- "grid gap-3",
3181
+ "grid gap-2 flex-1",
3016
3182
  {
3017
- [`grid-cols-${layoutColumns.value}`]: true,
3018
- [`col-span-${layoutColumns.value + 1}`]: true
3183
+ [`grid-cols-${layoutColumns.value}`]: true
3019
3184
  }
3020
3185
  ])
3021
3186
  }, [
@@ -3025,10 +3190,24 @@ const _hoisted_9 = {
3025
3190
  [`col-span-${Math.floor(item.displayWidthRatio * Number(layoutColumns.value))}`]: true
3026
3191
  })
3027
3192
  }, [
3028
- item.displayFlag ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", _hoisted_7, [
3029
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_8, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.labelNameDisplay) + ":", 1),
3030
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_9, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.dataValue || "--"), 1)
3031
- ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true)
3193
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("div", {
3194
+ class: "w-full overflow-hidden text-ellipsis whitespace-nowrap",
3195
+ onMouseenter: checkTextOverflow
3196
+ }, [
3197
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_11, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.labelNameDisplay) + ":", 1),
3198
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_tooltip, {
3199
+ disabled: !isTextOverflowing.value,
3200
+ content: item.dataValue
3201
+ }, {
3202
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
3203
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_12, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.dataValue || "--"), 1)
3204
+ ]),
3205
+ _: 2
3206
+ }, 1032, [
3207
+ "disabled",
3208
+ "content"
3209
+ ])
3210
+ ], 32)
3032
3211
  ], 2))), 128))
3033
3212
  ], 2)
3034
3213
  ], 2)), [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sun-biz",
3
- "version": "0.0.2-beta.27",
3
+ "version": "0.0.2-beta.29",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {