sun-biz 0.0.4-beta.15 → 0.0.4-beta.17

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.
@@ -2281,10 +2281,10 @@ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable_hoisted_2 = {
2281
2281
  key: 1,
2282
2282
  class: "mt-5 flex items-center justify-between"
2283
2283
  };
2284
- const SELECTION = 'selection';
2284
+ const SELECTION = "selection";
2285
2285
  /**
2286
- *获取参与排序的列表 索引 是否可以拖拽
2287
- */ /* ESM default export */ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2286
+ *获取参与排序的列表 索引 是否可以拖拽
2287
+ */ /* ESM default export */ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2288
2288
  __name: 'index',
2289
2289
  props: {
2290
2290
  columns: {
@@ -2301,7 +2301,7 @@ const SELECTION = 'selection';
2301
2301
  default: void 0
2302
2302
  },
2303
2303
  componentNo: {
2304
- default: ''
2304
+ default: ""
2305
2305
  },
2306
2306
  hiddenDefaultText: {
2307
2307
  type: Boolean,
@@ -2323,6 +2323,7 @@ const SELECTION = 'selection';
2323
2323
  type: Boolean,
2324
2324
  default: false
2325
2325
  },
2326
+ dragGroupName: {},
2326
2327
  editable: {
2327
2328
  type: Boolean,
2328
2329
  default: false
@@ -2332,7 +2333,7 @@ const SELECTION = 'selection';
2332
2333
  default: true
2333
2334
  },
2334
2335
  rowKey: {
2335
- default: 'id'
2336
+ default: "id"
2336
2337
  },
2337
2338
  loading: {
2338
2339
  type: Boolean,
@@ -2350,13 +2351,13 @@ const SELECTION = 'selection';
2350
2351
  default: ()=>({})
2351
2352
  },
2352
2353
  layout: {
2353
- default: 'total, sizes, prev, pager, next'
2354
+ default: "total, sizes, prev, pager, next"
2354
2355
  },
2355
2356
  formDisabled: {
2356
2357
  type: Boolean
2357
2358
  },
2358
2359
  dragTips: {
2359
- default: '温馨提示:您可通过拖动进行排序'
2360
+ default: "温馨提示:您可通过拖动进行排序"
2360
2361
  },
2361
2362
  isShowDragTips: {
2362
2363
  type: Boolean,
@@ -2366,7 +2367,7 @@ const SELECTION = 'selection';
2366
2367
  default: {}
2367
2368
  },
2368
2369
  dragTipsClassName: {
2369
- default: ''
2370
+ default: ""
2370
2371
  }
2371
2372
  },
2372
2373
  emits: [
@@ -2380,7 +2381,7 @@ const SELECTION = 'selection';
2380
2381
  const sortFieldList = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(void 0);
2381
2382
  const exportFileFlag = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO);
2382
2383
  const showSetting = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
2383
- const componentDesc = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)('文件');
2384
+ const componentDesc = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)("文件");
2384
2385
  let state = (0, __WEBPACK_EXTERNAL_MODULE_vue__.reactive)({
2385
2386
  // 表格数据
2386
2387
  tableData: props.data,
@@ -2406,7 +2407,7 @@ const SELECTION = 'selection';
2406
2407
  const emit = __emit;
2407
2408
  const attrs = (0, __WEBPACK_EXTERNAL_MODULE_vue__.useAttrs)();
2408
2409
  // 提供静态数据
2409
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.provide)('hiddenDefaultText', props.hiddenDefaultText);
2410
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.provide)("hiddenDefaultText", props.hiddenDefaultText);
2410
2411
  const tableRef = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
2411
2412
  const proTableRef = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>tableRef.value?.proTableRef);
2412
2413
  function getDragSortData(newIndex, data, startIndexObj, sortData, childrenKey) {
@@ -2423,8 +2424,8 @@ const SELECTION = 'selection';
2423
2424
  return sortData;
2424
2425
  }
2425
2426
  /**
2426
- * 获取拖拽排序数据结果
2427
- */ function getSortableResult(newIndex, oldIndex, evt, initialHTML) {
2427
+ * 获取拖拽排序数据结果
2428
+ */ function getSortableResult(newIndex, oldIndex, evt, initialHTML) {
2428
2429
  let data = [
2429
2430
  ...state.tableData
2430
2431
  ];
@@ -2455,7 +2456,7 @@ const SELECTION = 'selection';
2455
2456
  return data;
2456
2457
  }
2457
2458
  // 生成每一行的唯一 path
2458
- function getRowPath(row, data, rowKey, parentPath = '', childrenKey) {
2459
+ function getRowPath(row, data, rowKey, parentPath = "", childrenKey) {
2459
2460
  for(let i = 0; i < data.length; i++){
2460
2461
  if (data[i][rowKey] === row[rowKey]) {
2461
2462
  const currentPath = parentPath ? `${parentPath}-${i}` : `${i}`;
@@ -2463,49 +2464,49 @@ const SELECTION = 'selection';
2463
2464
  }
2464
2465
  if (childrenKey && Array.isArray(data[i][childrenKey])) {
2465
2466
  const childPath = getRowPath(row, data[i][childrenKey], rowKey, parentPath ? `${parentPath}-${i}` : `${i}`, childrenKey);
2466
- if ('' !== childPath) return childPath;
2467
+ if ("" !== childPath) return childPath;
2467
2468
  }
2468
2469
  }
2469
- return '';
2470
+ return "";
2470
2471
  }
2471
2472
  // 获取childrenKey的安全写法
2472
2473
  function getSafeChildrenKeyFromAttrs(attrs) {
2473
- const treePropsRaw = attrs['tree-props'];
2474
- const treeProps = 'object' == typeof treePropsRaw && null !== treePropsRaw ? treePropsRaw : void 0;
2475
- if (treeProps && 'children' in treeProps) return treeProps.children;
2474
+ const treePropsRaw = attrs["tree-props"];
2475
+ const treeProps = "object" == typeof treePropsRaw && null !== treePropsRaw ? treePropsRaw : void 0;
2476
+ if (treeProps && "children" in treeProps) return treeProps.children;
2476
2477
  }
2477
2478
  // 兼容外部 row-class-name,自动适配参数类型
2478
2479
  function rowClassNameWrapper(rowOrParams, rowIndexArg) {
2479
2480
  let row, rowIndex;
2480
- if (rowOrParams && 'object' == typeof rowOrParams && 'row' in rowOrParams && 'rowIndex' in rowOrParams) {
2481
+ if (rowOrParams && "object" == typeof rowOrParams && "row" in rowOrParams && "rowIndex" in rowOrParams) {
2481
2482
  row = rowOrParams.row;
2482
2483
  rowIndex = rowOrParams.rowIndex;
2483
2484
  } else {
2484
2485
  row = rowOrParams;
2485
2486
  rowIndex = rowIndexArg;
2486
2487
  }
2487
- let externalClass = '';
2488
- const external = attrs['row-class-name'];
2489
- if ('function' == typeof external) externalClass = external({
2488
+ let externalClass = "";
2489
+ const external = attrs["row-class-name"];
2490
+ if ("function" == typeof external) externalClass = external({
2490
2491
  row,
2491
2492
  rowIndex
2492
2493
  });
2493
- else if ('string' == typeof external) externalClass = external;
2494
- let pathClass = '';
2494
+ else if ("string" == typeof external) externalClass = external;
2495
+ let pathClass = "";
2495
2496
  let childrenKey = getSafeChildrenKeyFromAttrs(attrs);
2496
- let path = getRowPath(row, state.tableData, props.rowKey, '', childrenKey);
2497
+ let path = getRowPath(row, state.tableData, props.rowKey, "", childrenKey);
2497
2498
  pathClass = `row-path-${path}`;
2498
2499
  return [
2499
2500
  externalClass,
2500
2501
  pathClass
2501
- ].filter(Boolean).join(' ');
2502
+ ].filter(Boolean).join(" ");
2502
2503
  }
2503
2504
  /***
2504
- * 表格拖拽排序
2505
- **/ const initDragSort = ()=>{
2505
+ * 表格拖拽排序
2506
+ **/ const initDragSort = ()=>{
2506
2507
  const tbodyList = document.querySelectorAll(`#${uuid.value} tbody`);
2507
2508
  const tbody = tbodyList[tbodyList.length - 1];
2508
- let initialHTML = '';
2509
+ let initialHTML = "";
2509
2510
  let crossLevelWarned = false;
2510
2511
  // 新增:销毁旧的Sortable实例
2511
2512
  // 新增:销毁旧的Sortable实例
@@ -2514,18 +2515,19 @@ const SELECTION = 'selection';
2514
2515
  sortableInstance = null;
2515
2516
  }
2516
2517
  if (tbody) sortableInstance = __WEBPACK_EXTERNAL_MODULE_sortablejs__["default"].create(tbody, {
2517
- handle: '.cursor-move',
2518
+ handle: ".cursor-move",
2519
+ group: props.dragGroupName,
2518
2520
  animation: 300,
2519
2521
  scroll: true,
2520
2522
  scrollSensitivity: 80,
2521
2523
  scrollSpeed: 10,
2522
2524
  onMove (evt) {
2523
- const draggedPath = evt.dragged?.className.match(/row-path-([\d-]+)/)?.[1] || '';
2524
- const relatedPath = evt.related?.className.match(/row-path-([\d-]+)/)?.[1] || '';
2525
- const getParent = (p)=>p.split('-').slice(0, -1).join('-');
2525
+ const draggedPath = evt.dragged?.className.match(/row-path-([\d-]+)/)?.[1] || "";
2526
+ const relatedPath = evt.related?.className.match(/row-path-([\d-]+)/)?.[1] || "";
2527
+ const getParent = (p)=>p.split("-").slice(0, -1).join("-");
2526
2528
  if (draggedPath && relatedPath && getParent(draggedPath) !== getParent(relatedPath)) {
2527
2529
  if (!crossLevelWarned) {
2528
- __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.warning('暂不支持跨层级拖拽配置');
2530
+ __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.warning("暂不支持跨层级拖拽配置");
2529
2531
  crossLevelWarned = true;
2530
2532
  }
2531
2533
  return false;
@@ -2534,12 +2536,20 @@ const SELECTION = 'selection';
2534
2536
  },
2535
2537
  onEnd (evt) {
2536
2538
  const { newIndex, oldIndex } = evt;
2539
+ if (props.dragGroupName) {
2540
+ emit("drag-end", {
2541
+ crossGroup: evt.from !== evt.to,
2542
+ oldIndex,
2543
+ newIndex
2544
+ });
2545
+ return;
2546
+ }
2537
2547
  const dragTr = evt.item;
2538
- const match = dragTr.className.split(' ').find((cls)=>cls.startsWith('row-path-'));
2539
- const fromPath = match ? match.replace('row-path-', '') : '';
2548
+ const match = dragTr.className.split(" ").find((cls)=>cls.startsWith("row-path-"));
2549
+ const fromPath = match ? match.replace("row-path-", "") : "";
2540
2550
  let childrenKey = getSafeChildrenKeyFromAttrs(attrs);
2541
2551
  const getPathByIndex = (targetIndex)=>{
2542
- let path = '';
2552
+ let path = "";
2543
2553
  let count = -1;
2544
2554
  function dfs(arr, parent) {
2545
2555
  for(let i = 0; i < arr.length; i++){
@@ -2555,13 +2565,13 @@ const SELECTION = 'selection';
2555
2565
  }
2556
2566
  return false;
2557
2567
  }
2558
- dfs(state.tableData, '');
2568
+ dfs(state.tableData, "");
2559
2569
  return path;
2560
2570
  };
2561
- if ('number' != typeof newIndex || 'number' != typeof oldIndex || newIndex === oldIndex) return;
2571
+ if ("number" != typeof newIndex || "number" != typeof oldIndex || newIndex === oldIndex) return;
2562
2572
  const newPath = getPathByIndex(newIndex);
2563
2573
  const oldPath = getPathByIndex(oldIndex);
2564
- const getParent = (p)=>p.split('-').slice(0, -1).join('-');
2574
+ const getParent = (p)=>p.split("-").slice(0, -1).join("-");
2565
2575
  if (getParent(newPath) !== getParent(oldPath)) // 这里不再需要回退DOM,onMove已阻止
2566
2576
  return;
2567
2577
  let data = getSortableResult(newIndex, oldIndex);
@@ -2574,7 +2584,7 @@ const SELECTION = 'selection';
2574
2584
  initDragSort();
2575
2585
  });
2576
2586
  }
2577
- emit('drag-end', data, fromPath);
2587
+ emit("drag-end", data, fromPath);
2578
2588
  } else evt.from.innerHTML = initialHTML;
2579
2589
  },
2580
2590
  onStart (evt) {
@@ -2589,7 +2599,7 @@ const SELECTION = 'selection';
2589
2599
  });
2590
2600
  async function fetchDbgridComponent() {
2591
2601
  let [, result] = await queryDbgridComponentByExample({
2592
- componentNo: props.componentNo || ''
2602
+ componentNo: props.componentNo || ""
2593
2603
  });
2594
2604
  if (result?.success) {
2595
2605
  exportFileFlag.value = result.data.exportFileFlag;
@@ -2622,8 +2632,8 @@ const SELECTION = 'selection';
2622
2632
  if (props.pagination && props?.fetchData && props.defaultQuery) fetchList();
2623
2633
  });
2624
2634
  /**
2625
- * 获取列表
2626
- */ async function fetchList() {
2635
+ * 获取列表
2636
+ */ async function fetchList() {
2627
2637
  state.loading = true;
2628
2638
  let { total = 0, data = [] } = await (props.fetchData && props.fetchData(state.pageInfo)) || {};
2629
2639
  state.pageInfo.total = Number(total);
@@ -2631,21 +2641,21 @@ const SELECTION = 'selection';
2631
2641
  state.loading = false;
2632
2642
  }
2633
2643
  /**
2634
- * 分页组件改变 pageNumber 事件
2635
- */ const handleSizeChange = (val)=>{
2644
+ * 分页组件改变 pageNumber 事件
2645
+ */ const handleSizeChange = (val)=>{
2636
2646
  if (props.fetchData) {
2637
2647
  state.pageInfo.pageNumber = 1;
2638
2648
  state.pageInfo.pageSize = val;
2639
2649
  fetchList();
2640
- } else emit('size-page-change', val);
2650
+ } else emit("size-page-change", val);
2641
2651
  };
2642
2652
  /**
2643
- * 分页组件改变 当前页数 事件
2644
- */ function changeCurrentPage(val) {
2653
+ * 分页组件改变 当前页数 事件
2654
+ */ function changeCurrentPage(val) {
2645
2655
  if (props.fetchData) {
2646
2656
  state.pageInfo.pageNumber = val;
2647
2657
  fetchList();
2648
- } else emit('current-page-change', val);
2658
+ } else emit("current-page-change", val);
2649
2659
  }
2650
2660
  const selections = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
2651
2661
  // 设置当前行激活态
@@ -2655,8 +2665,8 @@ const SELECTION = 'selection';
2655
2665
  // 分页配置信息
2656
2666
  const paginationInfo = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>props.pageInfo ?? state.pageInfo);
2657
2667
  /**
2658
- * 支持根据传递的filterObj完成过滤
2659
- */ const tableData = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2668
+ * 支持根据传递的filterObj完成过滤
2669
+ */ const tableData = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2660
2670
  let result = [
2661
2671
  ...state.tableData
2662
2672
  ];
@@ -2668,7 +2678,7 @@ const SELECTION = 'selection';
2668
2678
  result = multiFieldSort(result, sortFieldList.value);
2669
2679
  }
2670
2680
  if (Object.keys(props.filterObj).length) return result.filter((item)=>Object.keys(props.filterObj).every((cur)=>!props.filterObj[cur] && [
2671
- '',
2681
+ "",
2672
2682
  void 0,
2673
2683
  null
2674
2684
  ].includes(props.filterObj[cur]) || item[cur] === props.filterObj[cur]));
@@ -2676,7 +2686,7 @@ const SELECTION = 'selection';
2676
2686
  });
2677
2687
  // 严格按用户要求递归赋值方法
2678
2688
  function setDataByPath(path, data, childrenKey) {
2679
- const indices = path.split('-').map((i)=>Number(i));
2689
+ const indices = path.split("-").map((i)=>Number(i));
2680
2690
  if (1 === indices.length) {
2681
2691
  state.tableData = data;
2682
2692
  return;
@@ -2720,15 +2730,15 @@ const SELECTION = 'selection';
2720
2730
  rowClassName: rowClassNameWrapper
2721
2731
  });
2722
2732
  /**
2723
- * 处理接口和本地的columns
2724
- */ const commonColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2733
+ * 处理接口和本地的columns
2734
+ */ const commonColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2725
2735
  let propsColumns = [
2726
2736
  ...props.columns
2727
2737
  ];
2728
2738
  if (props.couldSortFieldList && props.couldSortFieldList?.length) propsColumns = propsColumns.map((item)=>{
2729
2739
  let supportSort = !!(props.couldSortFieldList || []).find((cur)=>cur.fieldName === item.prop);
2730
2740
  return {
2731
- sortable: !!supportSort && (props.pagination ? 'custom' : supportSort),
2741
+ sortable: !!supportSort && (props.pagination ? "custom" : supportSort),
2732
2742
  ...item
2733
2743
  };
2734
2744
  });
@@ -2757,8 +2767,8 @@ const SELECTION = 'selection';
2757
2767
  }
2758
2768
  });
2759
2769
  /**
2760
- * 表格渲染存在设置标志的情况 左边宽度加个40px
2761
- */ const tableColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2770
+ * 表格渲染存在设置标志的情况 左边宽度加个40px
2771
+ */ const tableColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2762
2772
  let result = [
2763
2773
  ...commonColumns.value
2764
2774
  ];
@@ -2779,14 +2789,14 @@ const SELECTION = 'selection';
2779
2789
  return result.filter((item)=>!item.isHidden && !(props.componentNo && !serveColumns.value?.length && item.defaultDisplayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO));
2780
2790
  });
2781
2791
  /**
2782
- *
2783
- * 是否展示当前拖拽提示
2784
- */ const draggableTips = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2792
+ *
2793
+ * 是否展示当前拖拽提示
2794
+ */ const draggableTips = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2785
2795
  const isTips = !!props?.draggable && (!!props?.isShowDragTips || false);
2786
2796
  return isTips;
2787
2797
  });
2788
2798
  function sortChange({ column, order, prop }) {
2789
- if (!props.couldSortFieldList?.length) return emit('sort-change', {
2799
+ if (!props.couldSortFieldList?.length) return emit("sort-change", {
2790
2800
  column,
2791
2801
  order,
2792
2802
  prop
@@ -3556,7 +3566,7 @@ const queryBizDataList = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_re
3556
3566
  * [1-10475-1]根据条件查询标签列表
3557
3567
  * @param params
3558
3568
  * @returns
3559
- */ const queryBizTagListByExample = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/biztag/queryBizTagListByExample', params);
3569
+ */ const queryBizTagListByExample = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.basicRequest)('/biztag/queryBizTagListByExample', params);
3560
3570
  /* eslint-disable @typescript-eslint/no-explicit-any */ // support refreshDeps & ready
3561
3571
  const useAutoRunPlugin_useAutoRunPlugin = (fetchInstance, { manual, ready = true, refreshDeps = [], refreshDepsAction })=>{
3562
3572
  const hasAutoRun = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
@@ -4517,11 +4527,20 @@ const TAG_MARGIN = 1; // 1rem
4517
4527
  bizId: {
4518
4528
  default: ''
4519
4529
  },
4520
- tagList: {},
4530
+ class: {
4531
+ default: 'w-full'
4532
+ },
4533
+ tagList: {
4534
+ default: ()=>[]
4535
+ },
4521
4536
  disabled: {
4522
4537
  type: Boolean,
4523
4538
  default: false
4524
4539
  },
4540
+ multiple: {
4541
+ type: Boolean,
4542
+ default: true
4543
+ },
4525
4544
  tagSize: {
4526
4545
  default: 'large'
4527
4546
  }
@@ -4626,11 +4645,19 @@ const TAG_MARGIN = 1; // 1rem
4626
4645
  const currentValues = Array.isArray(attrs.modelValue) ? attrs.modelValue : attrs.modelValue ? [
4627
4646
  attrs.modelValue
4628
4647
  ] : [];
4629
- change([
4630
- ...currentValues,
4631
- selectValue.value
4632
- ]);
4633
- selectValue.value = '';
4648
+ if (props.multiple) {
4649
+ change([
4650
+ ...currentValues,
4651
+ ...selectValue.value
4652
+ ]);
4653
+ selectValue.value = [];
4654
+ } else {
4655
+ change([
4656
+ ...currentValues,
4657
+ selectValue.value
4658
+ ]);
4659
+ selectValue.value = '';
4660
+ }
4634
4661
  selectVisible.value = false;
4635
4662
  };
4636
4663
  async function fetchData() {
@@ -4679,7 +4706,7 @@ const TAG_MARGIN = 1; // 1rem
4679
4706
  return (0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", {
4680
4707
  ref_key: "containerRef",
4681
4708
  ref: containerRef,
4682
- class: "w-full"
4709
+ class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)(props.class)
4683
4710
  }, [
4684
4711
  ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)((Array.isArray((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue) ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue : (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue ? [
4685
4712
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue
@@ -4768,8 +4795,11 @@ const TAG_MARGIN = 1; // 1rem
4768
4795
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event)=>selectValue.value = $event),
4769
4796
  class: "w-60",
4770
4797
  filterable: "",
4771
- placeholder: _ctx.$t('tagManage.range.select.bizId', '请选择'),
4772
- onChange: handleSelectConfirm,
4798
+ multiple: props.multiple,
4799
+ placeholder: "请选择",
4800
+ onChange: _cache[1] || (_cache[1] = ()=>{
4801
+ if (!props.multiple) handleSelectConfirm();
4802
+ }),
4773
4803
  onBlur: handleSelectConfirm
4774
4804
  }, {
4775
4805
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
@@ -4781,10 +4811,15 @@ const TAG_MARGIN = 1; // 1rem
4781
4811
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
4782
4812
  ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)(group.tagList, (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_option, {
4783
4813
  key: item.tagId,
4814
+ style: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeStyle)(((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue || []).includes(item.tagId) ? {} : {
4815
+ background: allTagsMap.value.get(item.tagId)?.background,
4816
+ color: allTagsMap.value.get(item.tagId)?.color
4817
+ }),
4784
4818
  disabled: ((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue || []).includes(item.tagId),
4785
4819
  label: item.tagNameDisplay,
4786
4820
  value: item.tagId
4787
4821
  }, null, 8, [
4822
+ "style",
4788
4823
  "disabled",
4789
4824
  "label",
4790
4825
  "value"
@@ -4799,7 +4834,7 @@ const TAG_MARGIN = 1; // 1rem
4799
4834
  _: 1
4800
4835
  }, 8, [
4801
4836
  "modelValue",
4802
- "placeholder"
4837
+ "multiple"
4803
4838
  ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
4804
4839
  selectVisible.value || props.disabled ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_button, {
4805
4840
  key: 2,
@@ -4811,14 +4846,14 @@ const TAG_MARGIN = 1; // 1rem
4811
4846
  }),
4812
4847
  onClick: showSelect
4813
4848
  }, {
4814
- default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[1] || (_cache[1] = [
4849
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[2] || (_cache[2] = [
4815
4850
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" + ")
4816
4851
  ])),
4817
4852
  _: 1
4818
4853
  }, 8, [
4819
4854
  "class"
4820
4855
  ]))
4821
- ], 512);
4856
+ ], 2);
4822
4857
  };
4823
4858
  }
4824
4859
  });
@@ -4859,7 +4894,7 @@ const _hoisted_11 = {
4859
4894
  class: "text-[#555]"
4860
4895
  };
4861
4896
  const _hoisted_12 = {
4862
- class: "w-full"
4897
+ class: "w-full text-[#555]"
4863
4898
  };
4864
4899
  const _hoisted_13 = {
4865
4900
  class: "w-full flex"
@@ -4903,6 +4938,7 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
4903
4938
  const firstDisplayWidthRatio = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(1);
4904
4939
  const tagBizId = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)("");
4905
4940
  const tagIds = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)([]);
4941
+ const checkPrice = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(0);
4906
4942
  // 确保布局列数为有效数字
4907
4943
  const parseLayoutColumns = (value)=>{
4908
4944
  const parsed = parseInt(value, 10);
@@ -4939,6 +4975,13 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
4939
4975
  });
4940
4976
  loading.value = false;
4941
4977
  if (res?.success) {
4978
+ // 预交金金额
4979
+ const depositBalanceAmt = res.data?.bannerItemList?.find((item)=>"depositBalanceAmt" === item.formCtlNo);
4980
+ // 未结金额
4981
+ const unSettleAmt = res.data?.bannerItemList?.find((item)=>"unSettleAmt" === item.formCtlNo);
4982
+ // 欠费下限金额
4983
+ const arrearageAmt = res.data?.bannerItemList?.find((item)=>"arrearageAmt" === item.formCtlNo);
4984
+ checkPrice.value = Number(depositBalanceAmt?.dataValue) - Number(unSettleAmt?.dataValue) - Number(arrearageAmt?.dataValue);
4942
4985
  res.data.bannerItemList = (res?.data?.bannerItemList ?? [])?.filter((item)=>item?.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES);
4943
4986
  setBizId({
4944
4987
  personId: res.data?.personId || "",
@@ -4979,7 +5022,9 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
4979
5022
  __expose({
4980
5023
  refresh: queryBannerConfig
4981
5024
  });
4982
- return (_ctx, _cache)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)(((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", {
5025
+ return (_ctx, _cache)=>{
5026
+ const _component_el_text = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-text");
5027
+ return (0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)(((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", {
4983
5028
  class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)([
4984
5029
  {
4985
5030
  ['bg-fill-lighter']: _ctx.isBg
@@ -5065,13 +5110,39 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
5065
5110
  class: "w-full overflow-hidden text-ellipsis whitespace-nowrap",
5066
5111
  onMouseenter: checkTextOverflow
5067
5112
  }, [
5068
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_11, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.labelNameDisplay) + ":", 1),
5113
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_11, [
5114
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_text, {
5115
+ class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)('depositBalanceAmt' === item.formCtlNo && checkPrice.value < 0 ? '' : 'text-[#555]'),
5116
+ type: 'depositBalanceAmt' === item.formCtlNo && checkPrice.value < 0 ? 'danger' : ''
5117
+ }, {
5118
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
5119
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.labelNameDisplay) + ":", 1)
5120
+ ]),
5121
+ _: 2
5122
+ }, 1032, [
5123
+ "class",
5124
+ "type"
5125
+ ])
5126
+ ]),
5069
5127
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElTooltip), {
5070
5128
  disabled: !isTextOverflowing.value,
5071
5129
  content: item.dataValue
5072
5130
  }, {
5073
5131
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
5074
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_12, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.dataValue || "--"), 1)
5132
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_12, [
5133
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_text, {
5134
+ class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)('depositBalanceAmt' === item.formCtlNo && checkPrice.value < 0 ? '' : 'text-[#555]'),
5135
+ type: 'depositBalanceAmt' === item.formCtlNo && checkPrice.value < 0 ? 'danger' : ''
5136
+ }, {
5137
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
5138
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.dataValue || "--"), 1)
5139
+ ]),
5140
+ _: 2
5141
+ }, 1032, [
5142
+ "class",
5143
+ "type"
5144
+ ])
5145
+ ])
5075
5146
  ]),
5076
5147
  _: 2
5077
5148
  }, 1032, [
@@ -5112,6 +5183,7 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
5112
5183
  loading.value
5113
5184
  ]
5114
5185
  ]);
5186
+ };
5115
5187
  }
5116
5188
  });
5117
5189
  const BannerInfo_exports_ = BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent;
@@ -6830,7 +6902,7 @@ const DICT_SELECT = 'dictSelect';
6830
6902
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
6831
6903
  'radio-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, {
6832
6904
  key: 0
6833
- }, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).options, (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)('el-radio'), {
6905
+ }, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).options, (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(__WEBPACK_EXTERNAL_MODULE_vue__.unref(attrs)?.radioComponent || 'el-radio'), {
6834
6906
  key: item.value,
6835
6907
  value: item.value
6836
6908
  }, {
@@ -14,6 +14,7 @@ export interface FormDescItem {
14
14
  supportCopyAndTips?: boolean;
15
15
  type?: string;
16
16
  name: string;
17
+ radioComponent?: string;
17
18
  label?: string | (() => VNode | string);
18
19
  span?: number;
19
20
  width?: number | string;
@@ -469,11 +469,11 @@ function useFetchDataset(codeSystemCodes, enabledFlag) {
469
469
  }
470
470
  /* ESM default export */ const use_fetch_dataset = useFetchDataset;
471
471
  /** 获取系统时间 */ async function getSystemTime() {
472
- const [, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)("/dictCommon/getSysTime");
472
+ const [, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/dictCommon/getSysTime');
473
473
  if (res?.success) return res.data;
474
474
  return (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.getNowTime)();
475
475
  }
476
- /** 获取系统时间 */ function useFetchSystemTiem() {
476
+ /** 获取系统时间 */ function useFetchSystemTime() {
477
477
  const time = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
478
478
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount)(()=>{
479
479
  getSystemTime().then((val)=>time.value = val);
@@ -680,4 +680,4 @@ function useColumnConfig(options) {
680
680
  const data = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>getData(t, dataSet));
681
681
  return data;
682
682
  }
683
- export { use_app_config_MAIN_APP_CONFIG as MAIN_APP_CONFIG, getSystemTime, queryDataSetByCodeSystemCodes, queryParamListByNos, use_app_config as useAppConfigData, useColumnConfig, use_data_change_detector as useDataChangeDetector, use_direction_select as useDirectionSelect, use_editable_table as useEditableTable, use_fetch_dataset as useFetchDataset, useFetchParams, useFetchSystemTiem, useFormConfig, use_request as useRequest };
683
+ export { use_app_config_MAIN_APP_CONFIG as MAIN_APP_CONFIG, getSystemTime, queryDataSetByCodeSystemCodes, queryParamListByNos, use_app_config as useAppConfigData, useColumnConfig, use_data_change_detector as useDataChangeDetector, use_direction_select as useDirectionSelect, use_editable_table as useEditableTable, use_fetch_dataset as useFetchDataset, useFetchParams, useFetchSystemTime, useFormConfig, use_request as useRequest };
@@ -1,3 +1,3 @@
1
- export { default as useFetchDataset, queryDataSetByCodeSystemCodes, type CodeSystem, } from "./use-fetch-dataset";
2
- export { getSystemTime, useFetchSystemTiem } from "./use-fetch-time";
3
- export { useFetchParams, queryParamListByNos, type ParamSettingItem, type ParamResItem, } from "./use-fetch-params";
1
+ export { default as useFetchDataset, queryDataSetByCodeSystemCodes, type CodeSystem, } from './use-fetch-dataset';
2
+ export { getSystemTime, useFetchSystemTime } from './use-fetch-time';
3
+ export { useFetchParams, queryParamListByNos, type ParamSettingItem, type ParamResItem, } from './use-fetch-params';
@@ -3,4 +3,4 @@ export declare function getSystemTime(): Promise<string | {
3
3
  data: string;
4
4
  }>;
5
5
  /** 获取系统时间 */
6
- export declare function useFetchSystemTiem(): import("vue").Ref<any, any>;
6
+ export declare function useFetchSystemTime(): import("vue").Ref<any, any>;
package/dist/index.js CHANGED
@@ -569,11 +569,11 @@ function useFetchDataset(codeSystemCodes, enabledFlag) {
569
569
  }
570
570
  /* ESM default export */ const use_fetch_dataset = useFetchDataset;
571
571
  /** 获取系统时间 */ async function getSystemTime() {
572
- const [, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)("/dictCommon/getSysTime");
572
+ const [, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/dictCommon/getSysTime');
573
573
  if (res?.success) return res.data;
574
574
  return (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.getNowTime)();
575
575
  }
576
- /** 获取系统时间 */ function useFetchSystemTiem() {
576
+ /** 获取系统时间 */ function useFetchSystemTime() {
577
577
  const time = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
578
578
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount)(()=>{
579
579
  getSystemTime().then((val)=>time.value = val);
@@ -2317,10 +2317,10 @@ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable_hoisted_2 = {
2317
2317
  key: 1,
2318
2318
  class: "mt-5 flex items-center justify-between"
2319
2319
  };
2320
- const SELECTION = 'selection';
2320
+ const SELECTION = "selection";
2321
2321
  /**
2322
- *获取参与排序的列表 索引 是否可以拖拽
2323
- */ /* ESM default export */ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2322
+ *获取参与排序的列表 索引 是否可以拖拽
2323
+ */ /* ESM default export */ const pro_tablevue_type_script_lang_ts_setup_true_name_ProTable = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
2324
2324
  __name: 'index',
2325
2325
  props: {
2326
2326
  columns: {
@@ -2337,7 +2337,7 @@ const SELECTION = 'selection';
2337
2337
  default: void 0
2338
2338
  },
2339
2339
  componentNo: {
2340
- default: ''
2340
+ default: ""
2341
2341
  },
2342
2342
  hiddenDefaultText: {
2343
2343
  type: Boolean,
@@ -2359,6 +2359,7 @@ const SELECTION = 'selection';
2359
2359
  type: Boolean,
2360
2360
  default: false
2361
2361
  },
2362
+ dragGroupName: {},
2362
2363
  editable: {
2363
2364
  type: Boolean,
2364
2365
  default: false
@@ -2368,7 +2369,7 @@ const SELECTION = 'selection';
2368
2369
  default: true
2369
2370
  },
2370
2371
  rowKey: {
2371
- default: 'id'
2372
+ default: "id"
2372
2373
  },
2373
2374
  loading: {
2374
2375
  type: Boolean,
@@ -2386,13 +2387,13 @@ const SELECTION = 'selection';
2386
2387
  default: ()=>({})
2387
2388
  },
2388
2389
  layout: {
2389
- default: 'total, sizes, prev, pager, next'
2390
+ default: "total, sizes, prev, pager, next"
2390
2391
  },
2391
2392
  formDisabled: {
2392
2393
  type: Boolean
2393
2394
  },
2394
2395
  dragTips: {
2395
- default: '温馨提示:您可通过拖动进行排序'
2396
+ default: "温馨提示:您可通过拖动进行排序"
2396
2397
  },
2397
2398
  isShowDragTips: {
2398
2399
  type: Boolean,
@@ -2402,7 +2403,7 @@ const SELECTION = 'selection';
2402
2403
  default: {}
2403
2404
  },
2404
2405
  dragTipsClassName: {
2405
- default: ''
2406
+ default: ""
2406
2407
  }
2407
2408
  },
2408
2409
  emits: [
@@ -2416,7 +2417,7 @@ const SELECTION = 'selection';
2416
2417
  const sortFieldList = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(void 0);
2417
2418
  const exportFileFlag = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO);
2418
2419
  const showSetting = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
2419
- const componentDesc = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)('文件');
2420
+ const componentDesc = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)("文件");
2420
2421
  let state = (0, __WEBPACK_EXTERNAL_MODULE_vue__.reactive)({
2421
2422
  // 表格数据
2422
2423
  tableData: props.data,
@@ -2442,7 +2443,7 @@ const SELECTION = 'selection';
2442
2443
  const emit = __emit;
2443
2444
  const attrs = (0, __WEBPACK_EXTERNAL_MODULE_vue__.useAttrs)();
2444
2445
  // 提供静态数据
2445
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.provide)('hiddenDefaultText', props.hiddenDefaultText);
2446
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.provide)("hiddenDefaultText", props.hiddenDefaultText);
2446
2447
  const tableRef = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
2447
2448
  const proTableRef = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>tableRef.value?.proTableRef);
2448
2449
  function getDragSortData(newIndex, data, startIndexObj, sortData, childrenKey) {
@@ -2459,8 +2460,8 @@ const SELECTION = 'selection';
2459
2460
  return sortData;
2460
2461
  }
2461
2462
  /**
2462
- * 获取拖拽排序数据结果
2463
- */ function getSortableResult(newIndex, oldIndex, evt, initialHTML) {
2463
+ * 获取拖拽排序数据结果
2464
+ */ function getSortableResult(newIndex, oldIndex, evt, initialHTML) {
2464
2465
  let data = [
2465
2466
  ...state.tableData
2466
2467
  ];
@@ -2491,7 +2492,7 @@ const SELECTION = 'selection';
2491
2492
  return data;
2492
2493
  }
2493
2494
  // 生成每一行的唯一 path
2494
- function getRowPath(row, data, rowKey, parentPath = '', childrenKey) {
2495
+ function getRowPath(row, data, rowKey, parentPath = "", childrenKey) {
2495
2496
  for(let i = 0; i < data.length; i++){
2496
2497
  if (data[i][rowKey] === row[rowKey]) {
2497
2498
  const currentPath = parentPath ? `${parentPath}-${i}` : `${i}`;
@@ -2499,49 +2500,49 @@ const SELECTION = 'selection';
2499
2500
  }
2500
2501
  if (childrenKey && Array.isArray(data[i][childrenKey])) {
2501
2502
  const childPath = getRowPath(row, data[i][childrenKey], rowKey, parentPath ? `${parentPath}-${i}` : `${i}`, childrenKey);
2502
- if ('' !== childPath) return childPath;
2503
+ if ("" !== childPath) return childPath;
2503
2504
  }
2504
2505
  }
2505
- return '';
2506
+ return "";
2506
2507
  }
2507
2508
  // 获取childrenKey的安全写法
2508
2509
  function getSafeChildrenKeyFromAttrs(attrs) {
2509
- const treePropsRaw = attrs['tree-props'];
2510
- const treeProps = 'object' == typeof treePropsRaw && null !== treePropsRaw ? treePropsRaw : void 0;
2511
- if (treeProps && 'children' in treeProps) return treeProps.children;
2510
+ const treePropsRaw = attrs["tree-props"];
2511
+ const treeProps = "object" == typeof treePropsRaw && null !== treePropsRaw ? treePropsRaw : void 0;
2512
+ if (treeProps && "children" in treeProps) return treeProps.children;
2512
2513
  }
2513
2514
  // 兼容外部 row-class-name,自动适配参数类型
2514
2515
  function rowClassNameWrapper(rowOrParams, rowIndexArg) {
2515
2516
  let row, rowIndex;
2516
- if (rowOrParams && 'object' == typeof rowOrParams && 'row' in rowOrParams && 'rowIndex' in rowOrParams) {
2517
+ if (rowOrParams && "object" == typeof rowOrParams && "row" in rowOrParams && "rowIndex" in rowOrParams) {
2517
2518
  row = rowOrParams.row;
2518
2519
  rowIndex = rowOrParams.rowIndex;
2519
2520
  } else {
2520
2521
  row = rowOrParams;
2521
2522
  rowIndex = rowIndexArg;
2522
2523
  }
2523
- let externalClass = '';
2524
- const external = attrs['row-class-name'];
2525
- if ('function' == typeof external) externalClass = external({
2524
+ let externalClass = "";
2525
+ const external = attrs["row-class-name"];
2526
+ if ("function" == typeof external) externalClass = external({
2526
2527
  row,
2527
2528
  rowIndex
2528
2529
  });
2529
- else if ('string' == typeof external) externalClass = external;
2530
- let pathClass = '';
2530
+ else if ("string" == typeof external) externalClass = external;
2531
+ let pathClass = "";
2531
2532
  let childrenKey = getSafeChildrenKeyFromAttrs(attrs);
2532
- let path = getRowPath(row, state.tableData, props.rowKey, '', childrenKey);
2533
+ let path = getRowPath(row, state.tableData, props.rowKey, "", childrenKey);
2533
2534
  pathClass = `row-path-${path}`;
2534
2535
  return [
2535
2536
  externalClass,
2536
2537
  pathClass
2537
- ].filter(Boolean).join(' ');
2538
+ ].filter(Boolean).join(" ");
2538
2539
  }
2539
2540
  /***
2540
- * 表格拖拽排序
2541
- **/ const initDragSort = ()=>{
2541
+ * 表格拖拽排序
2542
+ **/ const initDragSort = ()=>{
2542
2543
  const tbodyList = document.querySelectorAll(`#${uuid.value} tbody`);
2543
2544
  const tbody = tbodyList[tbodyList.length - 1];
2544
- let initialHTML = '';
2545
+ let initialHTML = "";
2545
2546
  let crossLevelWarned = false;
2546
2547
  // 新增:销毁旧的Sortable实例
2547
2548
  // 新增:销毁旧的Sortable实例
@@ -2550,18 +2551,19 @@ const SELECTION = 'selection';
2550
2551
  sortableInstance = null;
2551
2552
  }
2552
2553
  if (tbody) sortableInstance = __WEBPACK_EXTERNAL_MODULE_sortablejs__["default"].create(tbody, {
2553
- handle: '.cursor-move',
2554
+ handle: ".cursor-move",
2555
+ group: props.dragGroupName,
2554
2556
  animation: 300,
2555
2557
  scroll: true,
2556
2558
  scrollSensitivity: 80,
2557
2559
  scrollSpeed: 10,
2558
2560
  onMove (evt) {
2559
- const draggedPath = evt.dragged?.className.match(/row-path-([\d-]+)/)?.[1] || '';
2560
- const relatedPath = evt.related?.className.match(/row-path-([\d-]+)/)?.[1] || '';
2561
- const getParent = (p)=>p.split('-').slice(0, -1).join('-');
2561
+ const draggedPath = evt.dragged?.className.match(/row-path-([\d-]+)/)?.[1] || "";
2562
+ const relatedPath = evt.related?.className.match(/row-path-([\d-]+)/)?.[1] || "";
2563
+ const getParent = (p)=>p.split("-").slice(0, -1).join("-");
2562
2564
  if (draggedPath && relatedPath && getParent(draggedPath) !== getParent(relatedPath)) {
2563
2565
  if (!crossLevelWarned) {
2564
- __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.warning('暂不支持跨层级拖拽配置');
2566
+ __WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessage.warning("暂不支持跨层级拖拽配置");
2565
2567
  crossLevelWarned = true;
2566
2568
  }
2567
2569
  return false;
@@ -2570,12 +2572,20 @@ const SELECTION = 'selection';
2570
2572
  },
2571
2573
  onEnd (evt) {
2572
2574
  const { newIndex, oldIndex } = evt;
2575
+ if (props.dragGroupName) {
2576
+ emit("drag-end", {
2577
+ crossGroup: evt.from !== evt.to,
2578
+ oldIndex,
2579
+ newIndex
2580
+ });
2581
+ return;
2582
+ }
2573
2583
  const dragTr = evt.item;
2574
- const match = dragTr.className.split(' ').find((cls)=>cls.startsWith('row-path-'));
2575
- const fromPath = match ? match.replace('row-path-', '') : '';
2584
+ const match = dragTr.className.split(" ").find((cls)=>cls.startsWith("row-path-"));
2585
+ const fromPath = match ? match.replace("row-path-", "") : "";
2576
2586
  let childrenKey = getSafeChildrenKeyFromAttrs(attrs);
2577
2587
  const getPathByIndex = (targetIndex)=>{
2578
- let path = '';
2588
+ let path = "";
2579
2589
  let count = -1;
2580
2590
  function dfs(arr, parent) {
2581
2591
  for(let i = 0; i < arr.length; i++){
@@ -2591,13 +2601,13 @@ const SELECTION = 'selection';
2591
2601
  }
2592
2602
  return false;
2593
2603
  }
2594
- dfs(state.tableData, '');
2604
+ dfs(state.tableData, "");
2595
2605
  return path;
2596
2606
  };
2597
- if ('number' != typeof newIndex || 'number' != typeof oldIndex || newIndex === oldIndex) return;
2607
+ if ("number" != typeof newIndex || "number" != typeof oldIndex || newIndex === oldIndex) return;
2598
2608
  const newPath = getPathByIndex(newIndex);
2599
2609
  const oldPath = getPathByIndex(oldIndex);
2600
- const getParent = (p)=>p.split('-').slice(0, -1).join('-');
2610
+ const getParent = (p)=>p.split("-").slice(0, -1).join("-");
2601
2611
  if (getParent(newPath) !== getParent(oldPath)) // 这里不再需要回退DOM,onMove已阻止
2602
2612
  return;
2603
2613
  let data = getSortableResult(newIndex, oldIndex);
@@ -2610,7 +2620,7 @@ const SELECTION = 'selection';
2610
2620
  initDragSort();
2611
2621
  });
2612
2622
  }
2613
- emit('drag-end', data, fromPath);
2623
+ emit("drag-end", data, fromPath);
2614
2624
  } else evt.from.innerHTML = initialHTML;
2615
2625
  },
2616
2626
  onStart (evt) {
@@ -2625,7 +2635,7 @@ const SELECTION = 'selection';
2625
2635
  });
2626
2636
  async function fetchDbgridComponent() {
2627
2637
  let [, result] = await queryDbgridComponentByExample({
2628
- componentNo: props.componentNo || ''
2638
+ componentNo: props.componentNo || ""
2629
2639
  });
2630
2640
  if (result?.success) {
2631
2641
  exportFileFlag.value = result.data.exportFileFlag;
@@ -2658,8 +2668,8 @@ const SELECTION = 'selection';
2658
2668
  if (props.pagination && props?.fetchData && props.defaultQuery) fetchList();
2659
2669
  });
2660
2670
  /**
2661
- * 获取列表
2662
- */ async function fetchList() {
2671
+ * 获取列表
2672
+ */ async function fetchList() {
2663
2673
  state.loading = true;
2664
2674
  let { total = 0, data = [] } = await (props.fetchData && props.fetchData(state.pageInfo)) || {};
2665
2675
  state.pageInfo.total = Number(total);
@@ -2667,21 +2677,21 @@ const SELECTION = 'selection';
2667
2677
  state.loading = false;
2668
2678
  }
2669
2679
  /**
2670
- * 分页组件改变 pageNumber 事件
2671
- */ const handleSizeChange = (val)=>{
2680
+ * 分页组件改变 pageNumber 事件
2681
+ */ const handleSizeChange = (val)=>{
2672
2682
  if (props.fetchData) {
2673
2683
  state.pageInfo.pageNumber = 1;
2674
2684
  state.pageInfo.pageSize = val;
2675
2685
  fetchList();
2676
- } else emit('size-page-change', val);
2686
+ } else emit("size-page-change", val);
2677
2687
  };
2678
2688
  /**
2679
- * 分页组件改变 当前页数 事件
2680
- */ function changeCurrentPage(val) {
2689
+ * 分页组件改变 当前页数 事件
2690
+ */ function changeCurrentPage(val) {
2681
2691
  if (props.fetchData) {
2682
2692
  state.pageInfo.pageNumber = val;
2683
2693
  fetchList();
2684
- } else emit('current-page-change', val);
2694
+ } else emit("current-page-change", val);
2685
2695
  }
2686
2696
  const selections = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
2687
2697
  // 设置当前行激活态
@@ -2691,8 +2701,8 @@ const SELECTION = 'selection';
2691
2701
  // 分页配置信息
2692
2702
  const paginationInfo = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>props.pageInfo ?? state.pageInfo);
2693
2703
  /**
2694
- * 支持根据传递的filterObj完成过滤
2695
- */ const tableData = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2704
+ * 支持根据传递的filterObj完成过滤
2705
+ */ const tableData = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2696
2706
  let result = [
2697
2707
  ...state.tableData
2698
2708
  ];
@@ -2704,7 +2714,7 @@ const SELECTION = 'selection';
2704
2714
  result = multiFieldSort(result, sortFieldList.value);
2705
2715
  }
2706
2716
  if (Object.keys(props.filterObj).length) return result.filter((item)=>Object.keys(props.filterObj).every((cur)=>!props.filterObj[cur] && [
2707
- '',
2717
+ "",
2708
2718
  void 0,
2709
2719
  null
2710
2720
  ].includes(props.filterObj[cur]) || item[cur] === props.filterObj[cur]));
@@ -2712,7 +2722,7 @@ const SELECTION = 'selection';
2712
2722
  });
2713
2723
  // 严格按用户要求递归赋值方法
2714
2724
  function setDataByPath(path, data, childrenKey) {
2715
- const indices = path.split('-').map((i)=>Number(i));
2725
+ const indices = path.split("-").map((i)=>Number(i));
2716
2726
  if (1 === indices.length) {
2717
2727
  state.tableData = data;
2718
2728
  return;
@@ -2756,15 +2766,15 @@ const SELECTION = 'selection';
2756
2766
  rowClassName: rowClassNameWrapper
2757
2767
  });
2758
2768
  /**
2759
- * 处理接口和本地的columns
2760
- */ const commonColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2769
+ * 处理接口和本地的columns
2770
+ */ const commonColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2761
2771
  let propsColumns = [
2762
2772
  ...props.columns
2763
2773
  ];
2764
2774
  if (props.couldSortFieldList && props.couldSortFieldList?.length) propsColumns = propsColumns.map((item)=>{
2765
2775
  let supportSort = !!(props.couldSortFieldList || []).find((cur)=>cur.fieldName === item.prop);
2766
2776
  return {
2767
- sortable: !!supportSort && (props.pagination ? 'custom' : supportSort),
2777
+ sortable: !!supportSort && (props.pagination ? "custom" : supportSort),
2768
2778
  ...item
2769
2779
  };
2770
2780
  });
@@ -2793,8 +2803,8 @@ const SELECTION = 'selection';
2793
2803
  }
2794
2804
  });
2795
2805
  /**
2796
- * 表格渲染存在设置标志的情况 左边宽度加个40px
2797
- */ const tableColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2806
+ * 表格渲染存在设置标志的情况 左边宽度加个40px
2807
+ */ const tableColumns = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2798
2808
  let result = [
2799
2809
  ...commonColumns.value
2800
2810
  ];
@@ -2815,14 +2825,14 @@ const SELECTION = 'selection';
2815
2825
  return result.filter((item)=>!item.isHidden && !(props.componentNo && !serveColumns.value?.length && item.defaultDisplayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.ENABLED_FLAG.NO));
2816
2826
  });
2817
2827
  /**
2818
- *
2819
- * 是否展示当前拖拽提示
2820
- */ const draggableTips = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2828
+ *
2829
+ * 是否展示当前拖拽提示
2830
+ */ const draggableTips = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>{
2821
2831
  const isTips = !!props?.draggable && (!!props?.isShowDragTips || false);
2822
2832
  return isTips;
2823
2833
  });
2824
2834
  function sortChange({ column, order, prop }) {
2825
- if (!props.couldSortFieldList?.length) return emit('sort-change', {
2835
+ if (!props.couldSortFieldList?.length) return emit("sort-change", {
2826
2836
  column,
2827
2837
  order,
2828
2838
  prop
@@ -3592,7 +3602,7 @@ const queryBizDataList = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_re
3592
3602
  * [1-10475-1]根据条件查询标签列表
3593
3603
  * @param params
3594
3604
  * @returns
3595
- */ const queryBizTagListByExample = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/biztag/queryBizTagListByExample', params);
3605
+ */ const queryBizTagListByExample = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.basicRequest)('/biztag/queryBizTagListByExample', params);
3596
3606
  /* eslint-disable @typescript-eslint/no-explicit-any */ // support refreshDeps & ready
3597
3607
  const useAutoRunPlugin = (fetchInstance, { manual, ready = true, refreshDeps = [], refreshDepsAction })=>{
3598
3608
  const hasAutoRun = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
@@ -5009,11 +5019,20 @@ const TAG_MARGIN = 1; // 1rem
5009
5019
  bizId: {
5010
5020
  default: ''
5011
5021
  },
5012
- tagList: {},
5022
+ class: {
5023
+ default: 'w-full'
5024
+ },
5025
+ tagList: {
5026
+ default: ()=>[]
5027
+ },
5013
5028
  disabled: {
5014
5029
  type: Boolean,
5015
5030
  default: false
5016
5031
  },
5032
+ multiple: {
5033
+ type: Boolean,
5034
+ default: true
5035
+ },
5017
5036
  tagSize: {
5018
5037
  default: 'large'
5019
5038
  }
@@ -5118,11 +5137,19 @@ const TAG_MARGIN = 1; // 1rem
5118
5137
  const currentValues = Array.isArray(attrs.modelValue) ? attrs.modelValue : attrs.modelValue ? [
5119
5138
  attrs.modelValue
5120
5139
  ] : [];
5121
- change([
5122
- ...currentValues,
5123
- selectValue.value
5124
- ]);
5125
- selectValue.value = '';
5140
+ if (props.multiple) {
5141
+ change([
5142
+ ...currentValues,
5143
+ ...selectValue.value
5144
+ ]);
5145
+ selectValue.value = [];
5146
+ } else {
5147
+ change([
5148
+ ...currentValues,
5149
+ selectValue.value
5150
+ ]);
5151
+ selectValue.value = '';
5152
+ }
5126
5153
  selectVisible.value = false;
5127
5154
  };
5128
5155
  async function fetchData() {
@@ -5171,7 +5198,7 @@ const TAG_MARGIN = 1; // 1rem
5171
5198
  return (0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", {
5172
5199
  ref_key: "containerRef",
5173
5200
  ref: containerRef,
5174
- class: "w-full"
5201
+ class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)(props.class)
5175
5202
  }, [
5176
5203
  ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)((Array.isArray((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue) ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue : (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue ? [
5177
5204
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue
@@ -5260,8 +5287,11 @@ const TAG_MARGIN = 1; // 1rem
5260
5287
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event)=>selectValue.value = $event),
5261
5288
  class: "w-60",
5262
5289
  filterable: "",
5263
- placeholder: _ctx.$t('tagManage.range.select.bizId', '请选择'),
5264
- onChange: handleSelectConfirm,
5290
+ multiple: props.multiple,
5291
+ placeholder: "请选择",
5292
+ onChange: _cache[1] || (_cache[1] = ()=>{
5293
+ if (!props.multiple) handleSelectConfirm();
5294
+ }),
5265
5295
  onBlur: handleSelectConfirm
5266
5296
  }, {
5267
5297
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
@@ -5273,10 +5303,15 @@ const TAG_MARGIN = 1; // 1rem
5273
5303
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
5274
5304
  ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, null, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)(group.tagList, (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_option, {
5275
5305
  key: item.tagId,
5306
+ style: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeStyle)(((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue || []).includes(item.tagId) ? {} : {
5307
+ background: allTagsMap.value.get(item.tagId)?.background,
5308
+ color: allTagsMap.value.get(item.tagId)?.color
5309
+ }),
5276
5310
  disabled: ((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).modelValue || []).includes(item.tagId),
5277
5311
  label: item.tagNameDisplay,
5278
5312
  value: item.tagId
5279
5313
  }, null, 8, [
5314
+ "style",
5280
5315
  "disabled",
5281
5316
  "label",
5282
5317
  "value"
@@ -5291,7 +5326,7 @@ const TAG_MARGIN = 1; // 1rem
5291
5326
  _: 1
5292
5327
  }, 8, [
5293
5328
  "modelValue",
5294
- "placeholder"
5329
+ "multiple"
5295
5330
  ])) : (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true),
5296
5331
  selectVisible.value || props.disabled ? (0, __WEBPACK_EXTERNAL_MODULE_vue__.createCommentVNode)("", true) : ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)(_component_el_button, {
5297
5332
  key: 2,
@@ -5303,14 +5338,14 @@ const TAG_MARGIN = 1; // 1rem
5303
5338
  }),
5304
5339
  onClick: showSelect
5305
5340
  }, {
5306
- default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[1] || (_cache[1] = [
5341
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>_cache[2] || (_cache[2] = [
5307
5342
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)(" + ")
5308
5343
  ])),
5309
5344
  _: 1
5310
5345
  }, 8, [
5311
5346
  "class"
5312
5347
  ]))
5313
- ], 512);
5348
+ ], 2);
5314
5349
  };
5315
5350
  }
5316
5351
  });
@@ -5351,7 +5386,7 @@ const _hoisted_11 = {
5351
5386
  class: "text-[#555]"
5352
5387
  };
5353
5388
  const _hoisted_12 = {
5354
- class: "w-full"
5389
+ class: "w-full text-[#555]"
5355
5390
  };
5356
5391
  const _hoisted_13 = {
5357
5392
  class: "w-full flex"
@@ -5395,6 +5430,7 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
5395
5430
  const firstDisplayWidthRatio = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(1);
5396
5431
  const tagBizId = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)("");
5397
5432
  const tagIds = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)([]);
5433
+ const checkPrice = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(0);
5398
5434
  // 确保布局列数为有效数字
5399
5435
  const parseLayoutColumns = (value)=>{
5400
5436
  const parsed = parseInt(value, 10);
@@ -5431,6 +5467,13 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
5431
5467
  });
5432
5468
  loading.value = false;
5433
5469
  if (res?.success) {
5470
+ // 预交金金额
5471
+ const depositBalanceAmt = res.data?.bannerItemList?.find((item)=>"depositBalanceAmt" === item.formCtlNo);
5472
+ // 未结金额
5473
+ const unSettleAmt = res.data?.bannerItemList?.find((item)=>"unSettleAmt" === item.formCtlNo);
5474
+ // 欠费下限金额
5475
+ const arrearageAmt = res.data?.bannerItemList?.find((item)=>"arrearageAmt" === item.formCtlNo);
5476
+ checkPrice.value = Number(depositBalanceAmt?.dataValue) - Number(unSettleAmt?.dataValue) - Number(arrearageAmt?.dataValue);
5434
5477
  res.data.bannerItemList = (res?.data?.bannerItemList ?? [])?.filter((item)=>item?.displayFlag === __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES);
5435
5478
  setBizId({
5436
5479
  personId: res.data?.personId || "",
@@ -5471,7 +5514,9 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
5471
5514
  __expose({
5472
5515
  refresh: queryBannerConfig
5473
5516
  });
5474
- return (_ctx, _cache)=>(0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)(((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", {
5517
+ return (_ctx, _cache)=>{
5518
+ const _component_el_text = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-text");
5519
+ return (0, __WEBPACK_EXTERNAL_MODULE_vue__.withDirectives)(((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)("div", {
5475
5520
  class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)([
5476
5521
  {
5477
5522
  ['bg-fill-lighter']: _ctx.isBg
@@ -5557,13 +5602,39 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
5557
5602
  class: "w-full overflow-hidden text-ellipsis whitespace-nowrap",
5558
5603
  onMouseenter: checkTextOverflow
5559
5604
  }, [
5560
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_11, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.labelNameDisplay) + ":", 1),
5605
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_11, [
5606
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_text, {
5607
+ class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)('depositBalanceAmt' === item.formCtlNo && checkPrice.value < 0 ? '' : 'text-[#555]'),
5608
+ type: 'depositBalanceAmt' === item.formCtlNo && checkPrice.value < 0 ? 'danger' : ''
5609
+ }, {
5610
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
5611
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.labelNameDisplay) + ":", 1)
5612
+ ]),
5613
+ _: 2
5614
+ }, 1032, [
5615
+ "class",
5616
+ "type"
5617
+ ])
5618
+ ]),
5561
5619
  (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(__WEBPACK_EXTERNAL_MODULE_element_sun__.ElTooltip), {
5562
5620
  disabled: !isTextOverflowing.value,
5563
5621
  content: item.dataValue
5564
5622
  }, {
5565
5623
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
5566
- (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_12, (0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.dataValue || "--"), 1)
5624
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementVNode)("span", _hoisted_12, [
5625
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createVNode)(_component_el_text, {
5626
+ class: (0, __WEBPACK_EXTERNAL_MODULE_vue__.normalizeClass)('depositBalanceAmt' === item.formCtlNo && checkPrice.value < 0 ? '' : 'text-[#555]'),
5627
+ type: 'depositBalanceAmt' === item.formCtlNo && checkPrice.value < 0 ? 'danger' : ''
5628
+ }, {
5629
+ default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
5630
+ (0, __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode)((0, __WEBPACK_EXTERNAL_MODULE_vue__.toDisplayString)(item.dataValue || "--"), 1)
5631
+ ]),
5632
+ _: 2
5633
+ }, 1032, [
5634
+ "class",
5635
+ "type"
5636
+ ])
5637
+ ])
5567
5638
  ]),
5568
5639
  _: 2
5569
5640
  }, 1032, [
@@ -5604,6 +5675,7 @@ const PERSON = "PERSON"; //应该放到BIZ_ID_TYPE_CODE这个里面
5604
5675
  loading.value
5605
5676
  ]
5606
5677
  ]);
5678
+ };
5607
5679
  }
5608
5680
  });
5609
5681
  const BannerInfo_exports_ = BannerInfovue_type_script_setup_true_lang_ts_name_bannerComponent;
@@ -7493,7 +7565,7 @@ const DICT_SELECT = 'dictSelect';
7493
7565
  default: (0, __WEBPACK_EXTERNAL_MODULE_vue__.withCtx)(()=>[
7494
7566
  'radio-group' === (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).component ? ((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(true), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createElementBlock)(__WEBPACK_EXTERNAL_MODULE_vue__.Fragment, {
7495
7567
  key: 0
7496
- }, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).options, (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)('el-radio'), {
7568
+ }, (0, __WEBPACK_EXTERNAL_MODULE_vue__.renderList)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(attrs).options, (item)=>((0, __WEBPACK_EXTERNAL_MODULE_vue__.openBlock)(), (0, __WEBPACK_EXTERNAL_MODULE_vue__.createBlock)((0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveDynamicComponent)(__WEBPACK_EXTERNAL_MODULE_vue__.unref(attrs)?.radioComponent || 'el-radio'), {
7497
7569
  key: item.value,
7498
7570
  value: item.value
7499
7571
  }, {
@@ -9466,4 +9538,4 @@ const form_design_render_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(f
9466
9538
  ]);
9467
9539
  /* ESM default export */ const form_design_render = form_design_render_exports_;
9468
9540
  /** components **/ /** hooks ** */ var __webpack_exports__COMPONENT_CODE = __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.COMPONENT_CODE;
9469
- export { utils_AVATAR_TYPE_CODE as AVATAR_TYPE_CODE, access_info as AccessInfo, BANNER_COMPONENT_CONFIG, BannerInfo, copy_text_with_tooltip as CopyTextWithTooltip, constant_DATA_SOURCE_CONTENT_TYPE_CODE as DATA_SOURCE_CONTENT_TYPE_CODE, dbgrid_component_setting as DbgridComponentSetting, dict_select as DictSelect, dml_button as DmlButton, flag_select as FlagSelect, form_design_render as FormDesignRender, FormUnit, hospital_select as HospitalSelect, use_app_config_MAIN_APP_CONFIG as MAIN_APP_CONFIG, patient_access as PatientAccess, PatientInfo, printReceiptBtn as PrintReceiptBtn, pro_avatar as ProAvatar, pro_dialog as ProDialog, pro_form as ProForm, invoice as ProInvoice, pro_table as ProTable, pro_table_v2 as ProTableV2, tag_select as TagSelect, Title, user_select as UserSelect, convertToSpellNo, convertToWbNo, debounce, decimalCount, formatDecimalNumber, getSystemTime, isNumber, print, queryDataSetByCodeSystemCodes, queryParamListByNos, use_app_config as useAppConfigData, useColumnConfig, useDataChangeDetector, use_direction_select as useDirectionSelect, useEditableTable, use_fetch_dataset as useFetchDataset, useFetchParams, useFetchSystemTiem, useFormConfig, usePrintReceipt, use_request as useRequest, __webpack_exports__COMPONENT_CODE as COMPONENT_CODE };
9541
+ export { utils_AVATAR_TYPE_CODE as AVATAR_TYPE_CODE, access_info as AccessInfo, BANNER_COMPONENT_CONFIG, BannerInfo, copy_text_with_tooltip as CopyTextWithTooltip, constant_DATA_SOURCE_CONTENT_TYPE_CODE as DATA_SOURCE_CONTENT_TYPE_CODE, dbgrid_component_setting as DbgridComponentSetting, dict_select as DictSelect, dml_button as DmlButton, flag_select as FlagSelect, form_design_render as FormDesignRender, FormUnit, hospital_select as HospitalSelect, use_app_config_MAIN_APP_CONFIG as MAIN_APP_CONFIG, patient_access as PatientAccess, PatientInfo, printReceiptBtn as PrintReceiptBtn, pro_avatar as ProAvatar, pro_dialog as ProDialog, pro_form as ProForm, invoice as ProInvoice, pro_table as ProTable, pro_table_v2 as ProTableV2, tag_select as TagSelect, Title, user_select as UserSelect, convertToSpellNo, convertToWbNo, debounce, decimalCount, formatDecimalNumber, getSystemTime, isNumber, print, queryDataSetByCodeSystemCodes, queryParamListByNos, use_app_config as useAppConfigData, useColumnConfig, useDataChangeDetector, use_direction_select as useDirectionSelect, useEditableTable, use_fetch_dataset as useFetchDataset, useFetchParams, useFetchSystemTime, useFormConfig, usePrintReceipt, use_request as useRequest, __webpack_exports__COMPONENT_CODE as COMPONENT_CODE };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sun-biz",
3
- "version": "0.0.4-beta.15",
3
+ "version": "0.0.4-beta.17",
4
4
  "type": "module",
5
5
  "workspaces": [
6
6
  "src/*",
@@ -43,21 +43,21 @@
43
43
  "@storybook/addon-essentials": "8.4.4",
44
44
  "@storybook/test": "8.4.4",
45
45
  "@storybook/vue3": "8.4.4",
46
+ "@sun-toolkit/enums": "1.0.0-beta.36",
47
+ "@sun-toolkit/micro-app": "0.0.1-beta.8",
48
+ "@sun-toolkit/request": "1.0.0-beta.20",
49
+ "@sun-toolkit/shared": "0.0.1-beta.6",
46
50
  "@types/lodash": "^4.17.15",
47
51
  "@types/node": "^22.13.5",
48
52
  "@types/sortablejs": "^1.15.8",
53
+ "element-sun": "0.0.0-dev.4",
49
54
  "storybook": "8.4.4",
50
55
  "storybook-addon-rslib": "^0.1.10",
51
56
  "storybook-vue3-rsbuild": "0.1.5",
52
57
  "tailwindcss": "^3.4.17",
53
58
  "typescript": "^5.7.3",
54
59
  "vue": "^3.5.13",
55
- "vue-router": "^4.5.1",
56
- "element-sun": "0.0.0-dev.4",
57
- "@sun-toolkit/enums": "1.0.0-beta.33",
58
- "@sun-toolkit/micro-app": "0.0.1-beta.8",
59
- "@sun-toolkit/request": "1.0.0-beta.10",
60
- "@sun-toolkit/shared": "0.0.1-beta.6"
60
+ "vue-router": "^4.5.1"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "@element-sun/icons-vue": "*",