hfn-components 0.2.4 → 0.2.6

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.
@@ -10,20 +10,11 @@ const chartProps = {
10
10
  type: String,
11
11
  default: ""
12
12
  },
13
- //图表高度
14
- // chartHeight: {
15
- // type: String,
16
- // default: ''
17
- // },
13
+ //图表类型
18
14
  chartType: {
19
15
  type: String,
20
16
  default: ""
21
17
  },
22
- //是否为类目轴
23
- // isCategory: {
24
- // type: Boolean,
25
- // default: false
26
- // },
27
18
  //是类目轴时x轴数据
28
19
  xAxisData: {
29
20
  type: Array,
@@ -32,14 +32,21 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
32
32
  );
33
33
  watch(
34
34
  () => props.lineColor,
35
- () => {
36
- echartOptions.color = props.lineColor;
37
- echartInit();
35
+ (val) => {
36
+ if (val && val.length > 0) {
37
+ echartOptions.color = props.lineColor;
38
+ console.log(props.lineColor);
39
+ if (myChart.value) {
40
+ echartInit();
41
+ }
42
+ }
38
43
  },
39
- { deep: true }
44
+ { deep: true, immediate: true }
40
45
  );
41
46
  const drawGraph = () => {
42
- echartOptions.color = props.lineColor;
47
+ if (props.lineColor && props.lineColor.length > 0) {
48
+ echartOptions.color = props.lineColor;
49
+ }
43
50
  setEchartXAxis(echartOptions, props.chartType, props.xAxisData);
44
51
  setEchartYAxis(echartOptions, props);
45
52
  setEchartTooltip(echartOptions, props);
@@ -62,7 +69,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
62
69
  setTimeout(() => {
63
70
  if (!myChart.value) {
64
71
  const ele = document.getElementById(props.chartId);
65
- myChart.value = echarts.init(ele, null, { devicePixelRatio: 2 });
72
+ myChart.value = echarts.init(ele, null, { devicePixelRatio: 2, locale: "ZH" });
66
73
  }
67
74
  myChart.value.setOption(echartOptions, true);
68
75
  }, 200);
@@ -1 +1 @@
1
- import 'hfn-components/es/theme-chalk/src/chart.scss';
1
+ import 'hfn-components/theme-chalk/src/chart.scss';
@@ -1 +1 @@
1
-
1
+ import 'hfn-components/theme-chalk/src/chart.scss';
@@ -17,9 +17,9 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
17
17
  };
18
18
  }, {
19
19
  props: import("@vue/shared").LooseRequired<{
20
+ readonly loading: boolean;
20
21
  readonly dataSource: unknown[];
21
22
  readonly tableColumn: import("./src/elTable").ElTableColumns[];
22
- readonly loading: boolean;
23
23
  readonly headerColor: string;
24
24
  } & {}>;
25
25
  readonly ElTable: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
@@ -354,7 +354,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
354
354
  [key: string]: any;
355
355
  }>>;
356
356
  sortable: {
357
- type: (BooleanConstructor | StringConstructor)[];
357
+ type: (StringConstructor | BooleanConstructor)[];
358
358
  default: boolean;
359
359
  };
360
360
  sortMethod: import("vue").PropType<(a: any, b: any) => number>;
@@ -370,7 +370,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
370
370
  type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "enterable" | "popperClass" | "showAfter" | "hideAfter" | "showArrow" | "appendTo" | "transition">> | undefined>;
371
371
  default: undefined;
372
372
  };
373
- fixed: (BooleanConstructor | StringConstructor)[];
373
+ fixed: (StringConstructor | BooleanConstructor)[];
374
374
  formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
375
375
  [key: string]: any;
376
376
  }>>;
@@ -416,7 +416,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
416
416
  [key: string]: any;
417
417
  }>>;
418
418
  sortable: {
419
- type: (BooleanConstructor | StringConstructor)[];
419
+ type: (StringConstructor | BooleanConstructor)[];
420
420
  default: boolean;
421
421
  };
422
422
  sortMethod: import("vue").PropType<(a: any, b: any) => number>;
@@ -432,7 +432,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
432
432
  type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "enterable" | "popperClass" | "showAfter" | "hideAfter" | "showArrow" | "appendTo" | "transition">> | undefined>;
433
433
  default: undefined;
434
434
  };
435
- fixed: (BooleanConstructor | StringConstructor)[];
435
+ fixed: (StringConstructor | BooleanConstructor)[];
436
436
  formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
437
437
  [key: string]: any;
438
438
  }>>;
@@ -490,7 +490,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
490
490
  [key: string]: any;
491
491
  }>>;
492
492
  sortable: {
493
- type: (BooleanConstructor | StringConstructor)[];
493
+ type: (StringConstructor | BooleanConstructor)[];
494
494
  default: boolean;
495
495
  };
496
496
  sortMethod: import("vue").PropType<(a: any, b: any) => number>;
@@ -506,7 +506,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
506
506
  type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "enterable" | "popperClass" | "showAfter" | "hideAfter" | "showArrow" | "appendTo" | "transition">> | undefined>;
507
507
  default: undefined;
508
508
  };
509
- fixed: (BooleanConstructor | StringConstructor)[];
509
+ fixed: (StringConstructor | BooleanConstructor)[];
510
510
  formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
511
511
  [key: string]: any;
512
512
  }>>;
@@ -552,7 +552,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
552
552
  [key: string]: any;
553
553
  }>>;
554
554
  sortable: {
555
- type: (BooleanConstructor | StringConstructor)[];
555
+ type: (StringConstructor | BooleanConstructor)[];
556
556
  default: boolean;
557
557
  };
558
558
  sortMethod: import("vue").PropType<(a: any, b: any) => number>;
@@ -568,7 +568,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
568
568
  type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "enterable" | "popperClass" | "showAfter" | "hideAfter" | "showArrow" | "appendTo" | "transition">> | undefined>;
569
569
  default: undefined;
570
570
  };
571
- fixed: (BooleanConstructor | StringConstructor)[];
571
+ fixed: (StringConstructor | BooleanConstructor)[];
572
572
  formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
573
573
  [key: string]: any;
574
574
  }>>;
@@ -649,11 +649,66 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
649
649
  readonly '12': "12月";
650
650
  readonly MonthlyPositiveRatio: "月胜率";
651
651
  readonly all_year: "全年";
652
+ readonly deal_type: "交易类型";
653
+ readonly deal_apply_time: "申请时间";
654
+ readonly deal_time: "确认日期";
655
+ readonly amount: "确认净额";
656
+ readonly shares: "确认份额";
657
+ readonly price: "确认单位净值";
658
+ readonly bsfee: "交易费用";
659
+ readonly reward: "业绩报酬";
660
+ readonly ftype: "基金类型";
661
+ readonly strategy: "平台策略";
662
+ readonly weight_rate: "权重";
663
+ readonly price_nav: "单位净值";
664
+ readonly inital_purchase_date: "初始申购日期";
665
+ readonly price_date: "净值日期";
666
+ readonly clear_time: "清仓日期";
667
+ readonly price_change: "净值涨跌幅";
668
+ readonly price_source: "净值来源";
669
+ readonly hold_value: "持仓市值(元)";
670
+ readonly code: "备案号/代码";
671
+ readonly is_manage_change: "持仓期内经理变更";
672
+ readonly price_weighted: "持有单价";
673
+ readonly cost: "持仓成本(元)";
674
+ readonly cost_weighted: "持有成本(元)";
675
+ readonly position_return: "持仓收益(元)";
676
+ readonly profit_weighted: "持有收益(元)";
677
+ readonly rate: "持仓收益率";
678
+ readonly rate_weighted: "持有收益率";
679
+ readonly year_rate_position: "持仓年化收益率";
680
+ readonly year_rate_weighted: "持有年化收益率";
681
+ readonly cost_days: "持有天数";
682
+ readonly return_range: "区间投资收益(元)";
683
+ readonly cum_profit: "累计收益(元)";
684
+ readonly return_range_rate: "区间投资收益率";
685
+ readonly cum_rate: "累计收益率";
686
+ readonly year_rate_range: "区间投资年化收益率";
687
+ readonly year_rate_cum: "累计年化收益率";
688
+ readonly cost_accumulated: "累计成本(元)";
689
+ readonly cum_bsfee: "累计交易费用(元)";
690
+ readonly cum_subscription: "累计认申购(元)";
691
+ readonly cum_cash: "累计现金分红(元)";
692
+ readonly cum_redemption: "累计赎回(元)";
693
+ readonly cum_reward: "累计业绩报酬(元)";
694
+ readonly assets_type: "资产类别";
695
+ readonly values: "市值";
696
+ readonly values_ratio: "市值占比";
697
+ readonly type_name: "策略";
698
+ readonly fid_num: "产品数量";
699
+ readonly assets: "投资市值";
700
+ readonly assets_rate: "投资市值占比";
701
+ readonly range_return: "区间投资收益率";
702
+ readonly return_money: "区间投资收益(元)";
703
+ readonly range_year_return: "区间投资年化收益率";
704
+ readonly range_contribute: "组合净值贡献度";
705
+ readonly return_money_contribute: "组合收益贡献度";
706
+ readonly money_name: "金额(元)";
652
707
  };
653
708
  readonly convertKey: (data: any, key: string) => any;
654
709
  ColumnDeal: import("vue").DefineComponent<{
655
710
  readonly dealType: {
656
- readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
711
+ readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other">;
657
712
  readonly default: "";
658
713
  };
659
714
  readonly text: {
@@ -662,7 +717,7 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
662
717
  };
663
718
  }, {
664
719
  props: import("@vue/shared").LooseRequired<{
665
- readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed";
720
+ readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other";
666
721
  readonly text?: string | number | undefined;
667
722
  } & {}>;
668
723
  readonly CLOUMN_DEAL: {
@@ -670,11 +725,14 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
670
725
  colorText: (val: string | number | undefined) => string;
671
726
  colorPercentage: (val: string | number | undefined) => string;
672
727
  percentage: (val: string | number | undefined) => string;
728
+ absPercentage: (val: string | number | undefined) => string;
729
+ thoundsandText2: (val: string | number | undefined) => string;
673
730
  notProcessed: null;
731
+ other: null;
674
732
  };
675
733
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
676
734
  readonly dealType: {
677
- readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
735
+ readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other">;
678
736
  readonly default: "";
679
737
  };
680
738
  readonly text: {
@@ -682,8 +740,8 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
682
740
  readonly default: undefined;
683
741
  };
684
742
  }>>, {
685
- readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed";
686
743
  readonly text: string | number | undefined;
744
+ readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other";
687
745
  }, {}>;
688
746
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
689
747
  readonly dataSource: {
@@ -703,9 +761,9 @@ export declare const HtElTable: import("hfn-components/es/utils").SFCWithInstall
703
761
  readonly default: "#f0f0f0";
704
762
  };
705
763
  }>>, {
764
+ readonly loading: boolean;
706
765
  readonly dataSource: unknown[];
707
766
  readonly tableColumn: import("./src/elTable").ElTableColumns[];
708
- readonly loading: boolean;
709
767
  readonly headerColor: string;
710
768
  }, {}>> & Record<string, any>;
711
769
  export default HtElTable;
@@ -1,6 +1,6 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  readonly dealType: {
3
- readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
3
+ readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other">;
4
4
  readonly default: "";
5
5
  };
6
6
  readonly text: {
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
9
9
  };
10
10
  }, {
11
11
  props: import("@vue/shared").LooseRequired<{
12
- readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed";
12
+ readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other";
13
13
  readonly text?: string | number | undefined;
14
14
  } & {}>;
15
15
  readonly CLOUMN_DEAL: {
@@ -17,11 +17,14 @@ declare const _default: import("vue").DefineComponent<{
17
17
  colorText: (val: string | number | undefined) => string;
18
18
  colorPercentage: (val: string | number | undefined) => string;
19
19
  percentage: (val: string | number | undefined) => string;
20
+ absPercentage: (val: string | number | undefined) => string;
21
+ thoundsandText2: (val: string | number | undefined) => string;
20
22
  notProcessed: null;
23
+ other: null;
21
24
  };
22
25
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
26
  readonly dealType: {
24
- readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
27
+ readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other">;
25
28
  readonly default: "";
26
29
  };
27
30
  readonly text: {
@@ -29,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
29
32
  readonly default: undefined;
30
33
  };
31
34
  }>>, {
32
- readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed";
33
35
  readonly text: string | number | undefined;
36
+ readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other";
34
37
  }, {}>;
35
38
  export default _default;
@@ -6,7 +6,7 @@ const _hoisted_1 = { key: 0 };
6
6
  const _hoisted_2 = { key: 1 };
7
7
  const _hoisted_3 = { key: 2 };
8
8
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
9
- return $setup.props.dealType === "notProcessed" ? (openBlock(), createElementBlock(
9
+ return $setup.props.dealType === "notProcessed" || $setup.props.dealType === "other" ? (openBlock(), createElementBlock(
10
10
  "div",
11
11
  _hoisted_1,
12
12
  toDisplayString($setup.props.text),
@@ -26,7 +26,7 @@ export declare const elTableProps: {
26
26
  };
27
27
  export declare const columnDealProps: {
28
28
  readonly dealType: {
29
- readonly type: PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
29
+ readonly type: PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other">;
30
30
  readonly default: "";
31
31
  };
32
32
  readonly text: {
@@ -17,9 +17,9 @@ declare const _default: import("vue").DefineComponent<{
17
17
  };
18
18
  }, {
19
19
  props: import("@vue/shared").LooseRequired<{
20
+ readonly loading: boolean;
20
21
  readonly dataSource: unknown[];
21
22
  readonly tableColumn: import("./elTable").ElTableColumns[];
22
- readonly loading: boolean;
23
23
  readonly headerColor: string;
24
24
  } & {}>;
25
25
  readonly ElTable: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
@@ -354,7 +354,7 @@ declare const _default: import("vue").DefineComponent<{
354
354
  [key: string]: any;
355
355
  }>>;
356
356
  sortable: {
357
- type: (BooleanConstructor | StringConstructor)[];
357
+ type: (StringConstructor | BooleanConstructor)[];
358
358
  default: boolean;
359
359
  };
360
360
  sortMethod: import("vue").PropType<(a: any, b: any) => number>;
@@ -370,7 +370,7 @@ declare const _default: import("vue").DefineComponent<{
370
370
  type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "enterable" | "popperClass" | "showAfter" | "hideAfter" | "showArrow" | "appendTo" | "transition">> | undefined>;
371
371
  default: undefined;
372
372
  };
373
- fixed: (BooleanConstructor | StringConstructor)[];
373
+ fixed: (StringConstructor | BooleanConstructor)[];
374
374
  formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
375
375
  [key: string]: any;
376
376
  }>>;
@@ -416,7 +416,7 @@ declare const _default: import("vue").DefineComponent<{
416
416
  [key: string]: any;
417
417
  }>>;
418
418
  sortable: {
419
- type: (BooleanConstructor | StringConstructor)[];
419
+ type: (StringConstructor | BooleanConstructor)[];
420
420
  default: boolean;
421
421
  };
422
422
  sortMethod: import("vue").PropType<(a: any, b: any) => number>;
@@ -432,7 +432,7 @@ declare const _default: import("vue").DefineComponent<{
432
432
  type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "enterable" | "popperClass" | "showAfter" | "hideAfter" | "showArrow" | "appendTo" | "transition">> | undefined>;
433
433
  default: undefined;
434
434
  };
435
- fixed: (BooleanConstructor | StringConstructor)[];
435
+ fixed: (StringConstructor | BooleanConstructor)[];
436
436
  formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
437
437
  [key: string]: any;
438
438
  }>>;
@@ -490,7 +490,7 @@ declare const _default: import("vue").DefineComponent<{
490
490
  [key: string]: any;
491
491
  }>>;
492
492
  sortable: {
493
- type: (BooleanConstructor | StringConstructor)[];
493
+ type: (StringConstructor | BooleanConstructor)[];
494
494
  default: boolean;
495
495
  };
496
496
  sortMethod: import("vue").PropType<(a: any, b: any) => number>;
@@ -506,7 +506,7 @@ declare const _default: import("vue").DefineComponent<{
506
506
  type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "enterable" | "popperClass" | "showAfter" | "hideAfter" | "showArrow" | "appendTo" | "transition">> | undefined>;
507
507
  default: undefined;
508
508
  };
509
- fixed: (BooleanConstructor | StringConstructor)[];
509
+ fixed: (StringConstructor | BooleanConstructor)[];
510
510
  formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
511
511
  [key: string]: any;
512
512
  }>>;
@@ -552,7 +552,7 @@ declare const _default: import("vue").DefineComponent<{
552
552
  [key: string]: any;
553
553
  }>>;
554
554
  sortable: {
555
- type: (BooleanConstructor | StringConstructor)[];
555
+ type: (StringConstructor | BooleanConstructor)[];
556
556
  default: boolean;
557
557
  };
558
558
  sortMethod: import("vue").PropType<(a: any, b: any) => number>;
@@ -568,7 +568,7 @@ declare const _default: import("vue").DefineComponent<{
568
568
  type: import("vue").PropType<boolean | Partial<Pick<import("element-plus").ElTooltipProps, "offset" | "effect" | "placement" | "popperOptions" | "enterable" | "popperClass" | "showAfter" | "hideAfter" | "showArrow" | "appendTo" | "transition">> | undefined>;
569
569
  default: undefined;
570
570
  };
571
- fixed: (BooleanConstructor | StringConstructor)[];
571
+ fixed: (StringConstructor | BooleanConstructor)[];
572
572
  formatter: import("vue").PropType<(row: any, column: import("element-plus").TableColumnCtx<any>, cellValue: any, index: number) => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
573
573
  [key: string]: any;
574
574
  }>>;
@@ -649,11 +649,66 @@ declare const _default: import("vue").DefineComponent<{
649
649
  readonly '12': "12月";
650
650
  readonly MonthlyPositiveRatio: "月胜率";
651
651
  readonly all_year: "全年";
652
+ readonly deal_type: "交易类型";
653
+ readonly deal_apply_time: "申请时间";
654
+ readonly deal_time: "确认日期";
655
+ readonly amount: "确认净额";
656
+ readonly shares: "确认份额";
657
+ readonly price: "确认单位净值";
658
+ readonly bsfee: "交易费用";
659
+ readonly reward: "业绩报酬";
660
+ readonly ftype: "基金类型";
661
+ readonly strategy: "平台策略";
662
+ readonly weight_rate: "权重";
663
+ readonly price_nav: "单位净值";
664
+ readonly inital_purchase_date: "初始申购日期";
665
+ readonly price_date: "净值日期";
666
+ readonly clear_time: "清仓日期";
667
+ readonly price_change: "净值涨跌幅";
668
+ readonly price_source: "净值来源";
669
+ readonly hold_value: "持仓市值(元)";
670
+ readonly code: "备案号/代码";
671
+ readonly is_manage_change: "持仓期内经理变更";
672
+ readonly price_weighted: "持有单价";
673
+ readonly cost: "持仓成本(元)";
674
+ readonly cost_weighted: "持有成本(元)";
675
+ readonly position_return: "持仓收益(元)";
676
+ readonly profit_weighted: "持有收益(元)";
677
+ readonly rate: "持仓收益率";
678
+ readonly rate_weighted: "持有收益率";
679
+ readonly year_rate_position: "持仓年化收益率";
680
+ readonly year_rate_weighted: "持有年化收益率";
681
+ readonly cost_days: "持有天数";
682
+ readonly return_range: "区间投资收益(元)";
683
+ readonly cum_profit: "累计收益(元)";
684
+ readonly return_range_rate: "区间投资收益率";
685
+ readonly cum_rate: "累计收益率";
686
+ readonly year_rate_range: "区间投资年化收益率";
687
+ readonly year_rate_cum: "累计年化收益率";
688
+ readonly cost_accumulated: "累计成本(元)";
689
+ readonly cum_bsfee: "累计交易费用(元)";
690
+ readonly cum_subscription: "累计认申购(元)";
691
+ readonly cum_cash: "累计现金分红(元)";
692
+ readonly cum_redemption: "累计赎回(元)";
693
+ readonly cum_reward: "累计业绩报酬(元)";
694
+ readonly assets_type: "资产类别";
695
+ readonly values: "市值";
696
+ readonly values_ratio: "市值占比";
697
+ readonly type_name: "策略";
698
+ readonly fid_num: "产品数量";
699
+ readonly assets: "投资市值";
700
+ readonly assets_rate: "投资市值占比";
701
+ readonly range_return: "区间投资收益率";
702
+ readonly return_money: "区间投资收益(元)";
703
+ readonly range_year_return: "区间投资年化收益率";
704
+ readonly range_contribute: "组合净值贡献度";
705
+ readonly return_money_contribute: "组合收益贡献度";
706
+ readonly money_name: "金额(元)";
652
707
  };
653
708
  readonly convertKey: (data: any, key: string) => any;
654
709
  ColumnDeal: import("vue").DefineComponent<{
655
710
  readonly dealType: {
656
- readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
711
+ readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other">;
657
712
  readonly default: "";
658
713
  };
659
714
  readonly text: {
@@ -662,7 +717,7 @@ declare const _default: import("vue").DefineComponent<{
662
717
  };
663
718
  }, {
664
719
  props: import("@vue/shared").LooseRequired<{
665
- readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed";
720
+ readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other";
666
721
  readonly text?: string | number | undefined;
667
722
  } & {}>;
668
723
  readonly CLOUMN_DEAL: {
@@ -670,11 +725,14 @@ declare const _default: import("vue").DefineComponent<{
670
725
  colorText: (val: string | number | undefined) => string;
671
726
  colorPercentage: (val: string | number | undefined) => string;
672
727
  percentage: (val: string | number | undefined) => string;
728
+ absPercentage: (val: string | number | undefined) => string;
729
+ thoundsandText2: (val: string | number | undefined) => string;
673
730
  notProcessed: null;
731
+ other: null;
674
732
  };
675
733
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
676
734
  readonly dealType: {
677
- readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed">;
735
+ readonly type: import("vue").PropType<"basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other">;
678
736
  readonly default: "";
679
737
  };
680
738
  readonly text: {
@@ -682,8 +740,8 @@ declare const _default: import("vue").DefineComponent<{
682
740
  readonly default: undefined;
683
741
  };
684
742
  }>>, {
685
- readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "notProcessed";
686
743
  readonly text: string | number | undefined;
744
+ readonly dealType: "basicText4" | "colorText" | "colorPercentage" | "percentage" | "absPercentage" | "thoundsandText2" | "notProcessed" | "other";
687
745
  }, {}>;
688
746
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
689
747
  readonly dataSource: {
@@ -703,9 +761,9 @@ declare const _default: import("vue").DefineComponent<{
703
761
  readonly default: "#f0f0f0";
704
762
  };
705
763
  }>>, {
764
+ readonly loading: boolean;
706
765
  readonly dataSource: unknown[];
707
766
  readonly tableColumn: import("./elTable").ElTableColumns[];
708
- readonly loading: boolean;
709
767
  readonly headerColor: string;
710
768
  }, {}>;
711
769
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import _sfc_main from './elTable.vue2.mjs';
2
- import { withDirectives, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createVNode } from 'vue';
2
+ import { withDirectives, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList } from 'vue';
3
3
  import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
4
4
 
5
5
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
@@ -27,10 +27,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
27
27
  width: item.width
28
28
  }, {
29
29
  default: withCtx((scope) => [
30
- createVNode($setup["ColumnDeal"], {
30
+ item.dealType === "other" ? (openBlock(), createBlock($setup["ColumnDeal"], {
31
+ key: 0,
32
+ dealType: scope.row.dealType,
33
+ text: $setup.convertKey(scope.row, item.key)
34
+ }, null, 8, ["dealType", "text"])) : (openBlock(), createBlock($setup["ColumnDeal"], {
35
+ key: 1,
31
36
  dealType: item.dealType,
32
37
  text: $setup.convertKey(scope.row, item.key)
33
- }, null, 8, ["dealType", "text"])
38
+ }, null, 8, ["dealType", "text"]))
34
39
  ]),
35
40
  _: 2
36
41
  /* DYNAMIC */