aldehyde 0.2.295 → 0.2.298

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.
Files changed (157) hide show
  1. package/lib/controls/action/index.d.ts.map +1 -1
  2. package/lib/controls/action/index.js +1 -1
  3. package/lib/controls/action/index.js.map +1 -1
  4. package/lib/controls/action/utils.d.ts.map +1 -1
  5. package/lib/controls/action/utils.js +2 -1
  6. package/lib/controls/action/utils.js.map +1 -1
  7. package/lib/detail/edit/fields-edit-card.d.ts +2 -0
  8. package/lib/detail/edit/fields-edit-card.d.ts.map +1 -1
  9. package/lib/detail/edit/fields-edit-card.js +4 -3
  10. package/lib/detail/edit/fields-edit-card.js.map +1 -1
  11. package/lib/detail/edit/{row-edit-card.d.ts → popover-edit-card.d.ts} +2 -2
  12. package/lib/detail/edit/popover-edit-card.d.ts.map +1 -0
  13. package/lib/detail/edit/{row-edit-card.js → popover-edit-card.js} +5 -5
  14. package/lib/detail/edit/popover-edit-card.js.map +1 -0
  15. package/lib/detail/edit/{row-editor.d.ts → popover-editor.d.ts} +2 -2
  16. package/lib/detail/edit/popover-editor.d.ts.map +1 -0
  17. package/lib/detail/edit/{row-editor.js → popover-editor.js} +6 -6
  18. package/lib/detail/edit/popover-editor.js.map +1 -0
  19. package/lib/form/criteria-form.js +1 -1
  20. package/lib/form/criteria-form.js.map +1 -1
  21. package/lib/form/fields-form.d.ts +1 -0
  22. package/lib/form/fields-form.d.ts.map +1 -1
  23. package/lib/form/fields-form.js +2 -2
  24. package/lib/form/fields-form.js.map +1 -1
  25. package/lib/layout/menu/user-bar.d.ts.map +1 -1
  26. package/lib/layout/menu/user-bar.js +2 -1
  27. package/lib/layout/menu/user-bar.js.map +1 -1
  28. package/lib/layout2/components/user-button.d.ts.map +1 -1
  29. package/lib/layout2/components/user-button.js +2 -1
  30. package/lib/layout2/components/user-button.js.map +1 -1
  31. package/lib/lowcode-components/assets/china.json +1 -1
  32. package/lib/lowcode-components/base-map/index.d.ts.map +1 -1
  33. package/lib/lowcode-components/base-map/index.js +2 -9
  34. package/lib/lowcode-components/base-map/index.js.map +1 -1
  35. package/lib/lowcode-components/base-text/index.d.ts +0 -4
  36. package/lib/lowcode-components/base-text/index.d.ts.map +1 -1
  37. package/lib/lowcode-components/base-text/index.js +4 -31
  38. package/lib/lowcode-components/base-text/index.js.map +1 -1
  39. package/lib/lowcode-components/column-3d-chart/index.d.ts +43 -0
  40. package/lib/lowcode-components/column-3d-chart/index.d.ts.map +1 -0
  41. package/lib/lowcode-components/column-3d-chart/index.js +342 -0
  42. package/lib/lowcode-components/column-3d-chart/index.js.map +1 -0
  43. package/lib/lowcode-components/effectScatter-map/index.js +5 -8
  44. package/lib/lowcode-components/effectScatter-map/index.js.map +1 -1
  45. package/lib/lowcode-components/effectScatter-map-3d/index.d.ts +34 -0
  46. package/lib/lowcode-components/effectScatter-map-3d/index.d.ts.map +1 -0
  47. package/lib/lowcode-components/effectScatter-map-3d/index.js +273 -0
  48. package/lib/lowcode-components/effectScatter-map-3d/index.js.map +1 -0
  49. package/lib/lowcode-components/gauge-chart/index.d.ts.map +1 -1
  50. package/lib/lowcode-components/gauge-chart/index.js +19 -16
  51. package/lib/lowcode-components/gauge-chart/index.js.map +1 -1
  52. package/lib/lowcode-components/index.d.ts +8 -0
  53. package/lib/lowcode-components/index.d.ts.map +1 -1
  54. package/lib/lowcode-components/index.js +6 -1
  55. package/lib/lowcode-components/index.js.map +1 -1
  56. package/lib/lowcode-components/line-bar-chart/index.d.ts +57 -0
  57. package/lib/lowcode-components/line-bar-chart/index.d.ts.map +1 -0
  58. package/lib/lowcode-components/line-bar-chart/index.js +178 -0
  59. package/lib/lowcode-components/line-bar-chart/index.js.map +1 -0
  60. package/lib/lowcode-components/line-chart/index.d.ts +1 -0
  61. package/lib/lowcode-components/line-chart/index.d.ts.map +1 -1
  62. package/lib/lowcode-components/line-chart/index.js +5 -2
  63. package/lib/lowcode-components/line-chart/index.js.map +1 -1
  64. package/lib/lowcode-components/lowcode-view/component/abstract-designer-loader.d.ts.map +1 -1
  65. package/lib/lowcode-components/lowcode-view/component/abstract-designer-loader.js +3 -0
  66. package/lib/lowcode-components/lowcode-view/component/abstract-designer-loader.js.map +1 -1
  67. package/lib/lowcode-components/lowcode-view/component/assets.d.ts.map +1 -1
  68. package/lib/lowcode-components/lowcode-view/component/assets.js +32 -0
  69. package/lib/lowcode-components/lowcode-view/component/assets.js.map +1 -1
  70. package/lib/lowcode-components/lowcode-view/component/group-layer/controller.d.ts +15 -0
  71. package/lib/lowcode-components/lowcode-view/component/group-layer/controller.d.ts.map +1 -0
  72. package/lib/lowcode-components/lowcode-view/component/group-layer/controller.js +36 -0
  73. package/lib/lowcode-components/lowcode-view/component/group-layer/controller.js.map +1 -0
  74. package/lib/lowcode-components/lowcode-view/component/group-layer/definition.d.ts +10 -0
  75. package/lib/lowcode-components/lowcode-view/component/group-layer/definition.d.ts.map +1 -0
  76. package/lib/lowcode-components/lowcode-view/component/group-layer/definition.js +43 -0
  77. package/lib/lowcode-components/lowcode-view/component/group-layer/definition.js.map +1 -0
  78. package/lib/lowcode-components/lowcode-view/component/group-layer/index.d.ts +11 -0
  79. package/lib/lowcode-components/lowcode-view/component/group-layer/index.d.ts.map +1 -0
  80. package/lib/lowcode-components/lowcode-view/component/group-layer/index.js +14 -0
  81. package/lib/lowcode-components/lowcode-view/component/group-layer/index.js.map +1 -0
  82. package/lib/lowcode-components/lowcode-view/component/layer-builder.d.ts.map +1 -1
  83. package/lib/lowcode-components/lowcode-view/component/layer-builder.js +10 -1
  84. package/lib/lowcode-components/lowcode-view/component/layer-builder.js.map +1 -1
  85. package/lib/lowcode-components/pie-chart/index.d.ts +1 -0
  86. package/lib/lowcode-components/pie-chart/index.d.ts.map +1 -1
  87. package/lib/lowcode-components/pie-chart/index.js +9 -12
  88. package/lib/lowcode-components/pie-chart/index.js.map +1 -1
  89. package/lib/lowcode-components/stroke-animation/index.d.ts +27 -0
  90. package/lib/lowcode-components/stroke-animation/index.d.ts.map +1 -0
  91. package/lib/lowcode-components/stroke-animation/index.js +144 -0
  92. package/lib/lowcode-components/stroke-animation/index.js.map +1 -0
  93. package/lib/module/dtmpl-edit-page.d.ts.map +1 -1
  94. package/lib/module/dtmpl-edit-page.js +2 -2
  95. package/lib/module/dtmpl-edit-page.js.map +1 -1
  96. package/lib/table/act-table.d.ts.map +1 -1
  97. package/lib/table/act-table.js +13 -3
  98. package/lib/table/act-table.js.map +1 -1
  99. package/lib/table/column/column-builder.d.ts.map +1 -1
  100. package/lib/table/column/column-builder.js +17 -6
  101. package/lib/table/column/column-builder.js.map +1 -1
  102. package/lib/table/query-table.d.ts.map +1 -1
  103. package/lib/table/query-table.js +2 -16
  104. package/lib/table/query-table.js.map +1 -1
  105. package/lib/table/relation-table.d.ts.map +1 -1
  106. package/lib/table/relation-table.js +15 -6
  107. package/lib/table/relation-table.js.map +1 -1
  108. package/lib/table/report-table.d.ts.map +1 -1
  109. package/lib/table/report-table.js +19 -6
  110. package/lib/table/report-table.js.map +1 -1
  111. package/lib/tmpl/tmpl-config-analysis.d.ts.map +1 -1
  112. package/lib/tmpl/tmpl-config-analysis.js +0 -13
  113. package/lib/tmpl/tmpl-config-analysis.js.map +1 -1
  114. package/lib/units/index.d.ts +2 -0
  115. package/lib/units/index.d.ts.map +1 -1
  116. package/lib/units/index.js +32 -1
  117. package/lib/units/index.js.map +1 -1
  118. package/package.json +1 -1
  119. package/src/aldehyde/controls/action/index.tsx +1 -0
  120. package/src/aldehyde/controls/action/utils.tsx +3 -2
  121. package/src/aldehyde/detail/edit/fields-edit-card.tsx +5 -3
  122. package/src/aldehyde/detail/edit/{row-edit-card.tsx → popover-edit-card.tsx} +1 -1
  123. package/src/aldehyde/detail/edit/{row-editor.tsx → popover-editor.tsx} +6 -6
  124. package/src/aldehyde/form/criteria-form.tsx +1 -1
  125. package/src/aldehyde/form/fields-form.tsx +4 -3
  126. package/src/aldehyde/layout/menu/user-bar.tsx +2 -1
  127. package/src/aldehyde/layout2/components/user-button.tsx +2 -1
  128. package/src/aldehyde/lowcode-components/assets/china.json +1 -1
  129. package/src/aldehyde/lowcode-components/base-map/index.tsx +2 -6
  130. package/src/aldehyde/lowcode-components/base-text/index.tsx +4 -35
  131. package/src/aldehyde/lowcode-components/column-3d-chart/index.tsx +374 -0
  132. package/src/aldehyde/lowcode-components/effectScatter-map/index.tsx +7 -7
  133. package/src/aldehyde/lowcode-components/effectScatter-map-3d/index.tsx +301 -0
  134. package/src/aldehyde/lowcode-components/gauge-chart/index.tsx +14 -2
  135. package/src/aldehyde/lowcode-components/index.ts +11 -2
  136. package/src/aldehyde/lowcode-components/line-bar-chart/index.tsx +231 -0
  137. package/src/aldehyde/lowcode-components/line-chart/index.tsx +9 -2
  138. package/src/aldehyde/lowcode-components/lowcode-view/component/abstract-designer-loader.ts +4 -1
  139. package/src/aldehyde/lowcode-components/lowcode-view/component/assets.ts +32 -0
  140. package/src/aldehyde/lowcode-components/lowcode-view/component/group-layer/controller.ts +37 -0
  141. package/src/aldehyde/lowcode-components/lowcode-view/component/group-layer/definition.ts +54 -0
  142. package/src/aldehyde/lowcode-components/lowcode-view/component/group-layer/index.tsx +16 -0
  143. package/src/aldehyde/lowcode-components/lowcode-view/component/layer-builder.tsx +9 -1
  144. package/src/aldehyde/lowcode-components/pie-chart/index.tsx +12 -9
  145. package/src/aldehyde/lowcode-components/stroke-animation/index.tsx +169 -0
  146. package/src/aldehyde/module/dtmpl-edit-page.tsx +2 -1
  147. package/src/aldehyde/table/act-table.tsx +13 -3
  148. package/src/aldehyde/table/column/column-builder.tsx +17 -11
  149. package/src/aldehyde/table/query-table.tsx +2 -20
  150. package/src/aldehyde/table/relation-table.tsx +17 -9
  151. package/src/aldehyde/table/report-table.tsx +17 -4
  152. package/src/aldehyde/tmpl/tmpl-config-analysis.tsx +0 -14
  153. package/src/aldehyde/units/index.tsx +21 -1
  154. package/lib/detail/edit/row-edit-card.d.ts.map +0 -1
  155. package/lib/detail/edit/row-edit-card.js.map +0 -1
  156. package/lib/detail/edit/row-editor.d.ts.map +0 -1
  157. package/lib/detail/edit/row-editor.js.map +0 -1
@@ -0,0 +1,169 @@
1
+ import * as echarts from 'echarts';
2
+ import React, { useEffect, useRef, useState, ForwardedRef, forwardRef, useImperativeHandle } from 'react';
3
+ import _ from 'lodash';
4
+ import HydrocarbonService from "../../tmpl/hcservice-v3";
5
+ import { DataConfigProps } from "../data";
6
+
7
+ export interface ComponentStyle {
8
+ fontSize?: number;
9
+ fontWeight?: number;
10
+ color?: string;
11
+ lineWidth?: number;
12
+ duration?: number; // 动画时长
13
+ loop?: boolean; // 循环播放
14
+ fontFamily?: string; // 字体
15
+ }
16
+
17
+ export interface ComponentProps {
18
+ style?: ComponentStyle;
19
+ base: { width: number, height: number },
20
+ data?: DataConfigProps;
21
+ isDesignMode?: boolean; // 是否编辑模式
22
+ }
23
+
24
+ export interface ComponentRef {
25
+ updateConfig: (newConfig: ComponentProps) => void;
26
+ destroy: () => void;
27
+ }
28
+
29
+ const Index = forwardRef((props: ComponentProps, ref: ForwardedRef<ComponentRef>) => {
30
+ const { style, data: propsData, isDesignMode } = props;
31
+ const [config, setConfig] = useState<ComponentStyle>(style || {});
32
+ const [size, setSize] = useState<{ width: number, height: number }>();
33
+ const [dataConfig, setDataConfig] = useState<DataConfigProps>({ ...propsData }); // 数据源配置
34
+ const [data, setData] = useState<string>("");
35
+ const chartRef = useRef<HTMLDivElement>(null);
36
+ const chart = useRef<any>(null);
37
+ const pollingIntervalRef = useRef<number | NodeJS.Timeout>(null);
38
+
39
+ const handleDestroy = () => {
40
+ pollingIntervalRef.current && clearInterval(pollingIntervalRef.current);
41
+ window.removeEventListener('resize', handleResize);
42
+ chart.current && chart.current.dispose();
43
+ };
44
+
45
+ useImperativeHandle(ref, () => ({
46
+ updateConfig: (newConfig) => {
47
+ const { base, style: newStyle, data: newDataConfig } = newConfig;
48
+ setConfig({ ...(newStyle || {}) });
49
+ setSize({ width: base.width, height: base.height });
50
+ setDataConfig(newDataConfig);
51
+ },
52
+ destroy: handleDestroy,
53
+ }));
54
+
55
+ // 窗口大小变化时重新调整图表大小
56
+ const handleResize = () => {
57
+ chart.current.resize({ animation: { duration: 500 } });
58
+ };
59
+
60
+ useEffect(() => {
61
+ chart.current = echarts.init(chartRef.current);
62
+ window.addEventListener('resize', handleResize);
63
+ return () => {
64
+ handleDestroy();
65
+ }
66
+ }, []);
67
+
68
+ // 请求数据
69
+ const getData = async () => {
70
+ const { data } = await HydrocarbonService.requestChartData(null, dataConfig?.sourceId) || {};
71
+ const { config, value } = data || {};
72
+ const temData = value?.[0]?.value?.[0]?.v1;
73
+ setData(temData);
74
+ return config;
75
+ };
76
+
77
+ // 初始化请求数据
78
+ const getInitData = async () => {
79
+ pollingIntervalRef.current && clearInterval(pollingIntervalRef.current);
80
+ const config = await getData();
81
+ if (config?.requestMode === "polling") {
82
+ pollingIntervalRef.current = setInterval(() => { getData() }, config?.pollingInterval || 60000);
83
+ }
84
+ };
85
+
86
+ // 静态数据处理
87
+ useEffect(() => {
88
+ if (dataConfig?.sourceType === 'staticData') {
89
+ const { value } = dataConfig.staticData || {};
90
+ setData(value);
91
+ }
92
+ }, [dataConfig?.sourceType, dataConfig?.staticData]);
93
+
94
+ /**
95
+ * 数据源数据请求
96
+ * 1、编辑态不请求数据
97
+ */
98
+ useEffect(() => {
99
+ if (!isDesignMode && dataConfig?.sourceType === 'sourceId' && dataConfig?.sourceId) {
100
+ getInitData();
101
+ } else if (dataConfig?.sourceType === 'sourceId') {
102
+ setData("关键帧描边动画");
103
+ }
104
+ }, [dataConfig?.sourceType, dataConfig?.sourceId]);
105
+
106
+ const renderChart = () => {
107
+ const { fontSize, fontWeight, color, lineWidth, duration = 3, loop, fontFamily } = config;
108
+ const option = {
109
+ graphic: {
110
+ elements: [
111
+ {
112
+ type: 'text',
113
+ left: 'center',
114
+ top: 'center',
115
+ style: {
116
+ text: data,
117
+ fontSize,
118
+ fontWeight,
119
+ lineDash: [0, 200],
120
+ lineDashOffset: 0,
121
+ fill: 'transparent',
122
+ stroke: color,
123
+ lineWidth: lineWidth || 1,
124
+ fontFamily
125
+ },
126
+ keyframeAnimation: {
127
+ duration: duration * 1000,
128
+ loop,
129
+ keyframes: [
130
+ {
131
+ percent: 0.7,
132
+ style: {
133
+ fill: 'transparent',
134
+ lineDashOffset: 200,
135
+ lineDash: [200, 0]
136
+ }
137
+ },
138
+ {
139
+ percent: 0.8,
140
+ style: { fill: 'transparent' }
141
+ },
142
+ {
143
+ percent: 1,
144
+ style: { fill: color }
145
+ }
146
+ ]
147
+ }
148
+ }
149
+ ]
150
+ }
151
+ };
152
+ chart.current.setOption(option, false);
153
+ }
154
+ useEffect(() => {
155
+ if (config) {
156
+ renderChart();
157
+ }
158
+ }, [config, data]);
159
+
160
+ useEffect(() => {
161
+ if (size) {
162
+ handleResize();
163
+ }
164
+ }, [size]);
165
+
166
+ return <div ref={chartRef} style={{ width: '100%', height: '100%' }} />;
167
+ });
168
+
169
+ export default Index;
@@ -94,7 +94,7 @@ export default class DtmplEditPage extends React.PureComponent<
94
94
 
95
95
  async componentDidUpdate(prevProps) {
96
96
  const { dtmplConfig } = this.state;
97
- debugger
97
+ //debugger
98
98
  if (prevProps && prevProps != this.props) {
99
99
  if (
100
100
  prevProps.sourceId != this.props.sourceId ||
@@ -277,6 +277,7 @@ export default class DtmplEditPage extends React.PureComponent<
277
277
  hiddenType={"disabled"}
278
278
  serial={serial}
279
279
  key={ac.id}
280
+ data={[dtmplData]}
280
281
  formRef={this.formRef}
281
282
  actionConfig={ac}
282
283
  doAction={this.doSubmit}
@@ -240,7 +240,13 @@ class ActTable extends React.PureComponent<ActTableProps, ActTableStat> {
240
240
  let url=await config.getRequestUrl(customButton,records);
241
241
  await HcserviceV3.doPostRequest(serverKey,url);
242
242
  }else if(customButton.path){
243
- await HcserviceV3.doPostRequest(serverKey,customButton.path);
243
+ let codes=[];
244
+ if(records!=null){
245
+ records.forEach(item=>{
246
+ codes.push(item.code)
247
+ })
248
+ }
249
+ await HcserviceV3.doPostRequest(serverKey,customButton.path,{codes});
244
250
  }else{
245
251
  message.error("Button Config Error");
246
252
  return;
@@ -1010,10 +1016,10 @@ class ActTable extends React.PureComponent<ActTableProps, ActTableStat> {
1010
1016
 
1011
1017
  checkBoxUseful = () => {
1012
1018
  const { ltmplConfig } = this.props;
1013
- let { buttons, jumps, actions,fileExports } = ltmplConfig;
1019
+ let { buttons, jumps, actions,fileExports,customButtons } = ltmplConfig;
1014
1020
  if (
1015
1021
  buttons.includes("batchDelete") ||
1016
- (actions && actions.length > 0) ||
1022
+ (actions && actions.length > 0) || (customButtons&& customButtons.length>0) ||
1017
1023
  (jumps && jumps.length > 0) || (fileExports && fileExports.length>0)
1018
1024
  ) {
1019
1025
  return true;
@@ -1029,10 +1035,14 @@ class ActTable extends React.PureComponent<ActTableProps, ActTableStat> {
1029
1035
 
1030
1036
  doSearch_=async (criteriaData,ltreeData)=>{
1031
1037
  const { doSearch } = this.props;
1038
+
1032
1039
  let new_serial_number = new Date().getTime();
1033
1040
  if (doSearch && new_serial_number - serial_number > 2000) {
1034
1041
  serial_number = new_serial_number;
1035
1042
  await doSearch({ ...criteriaData, serial_number,...ltreeData });
1043
+ }else{
1044
+ const { translate } = this.context;
1045
+ message.warning(translate("${系统忙,请稍后再试}"));
1036
1046
  }
1037
1047
  }
1038
1048
 
@@ -10,13 +10,13 @@ import SupportInputTypes from "../../tmpl/control-type-supportor";
10
10
  import {Button, Popconfirm, Popover, Space, Tooltip} from "antd";
11
11
  import {SortableHandle} from "react-sortable-hoc";
12
12
  import {
13
- AlignLeftOutlined, CopyOutlined, DeleteOutlined,
13
+ AlignLeftOutlined, CopyOutlined, DeleteOutlined,
14
14
  EllipsisOutlined,
15
- EyeInvisibleOutlined,
16
- EyeOutlined,
17
- FormOutlined,
18
- KeyOutlined,
19
- MenuOutlined
15
+ EyeInvisibleOutlined,
16
+ EyeOutlined,
17
+ FormOutlined,
18
+ KeyOutlined,
19
+ MenuOutlined, QuestionCircleOutlined
20
20
  } from "@ant-design/icons";
21
21
  import ActionUtils from "../../controls/action/utils";
22
22
  import ViewButton from "../../detail/button/view-button";
@@ -75,7 +75,9 @@ export default {
75
75
  }else{
76
76
  tableColumns.push(column);
77
77
  }
78
- column["title"] = item.title;
78
+ let title1=translate("${"+item.title+"}");
79
+ column["title"] =item.tip? <>{title1}<Tooltip placement="top" title={item.tip}>
80
+ <Button type={'text'} size={'small'} disabled={true} icon={<QuestionCircleOutlined />} /></Tooltip> </>: title1;
79
81
  column["dataIndex"] = item.id;
80
82
  column["key"] = item.id;
81
83
  if (item["colWidth"]) column["width"] = item["colWidth"];
@@ -118,7 +120,9 @@ export default {
118
120
  } else {
119
121
  currentDataColIndex++;
120
122
  column["className"] = "opsColumn";
121
- column["title"] = translate("${" + item.title + "}");
123
+
124
+ // column["title"] = item.tip? <>{title1}<Tooltip placement="top" title={item.tip}>
125
+ // <Button icon={<QuestionCircleOutlined />} /></Tooltip> </>: title1;
122
126
  column["width"] = item.colWidth ? item.colWidth : 160;
123
127
  column["ellipsis"] = {showTitle: true};
124
128
  column["align"] = item.valueAlign ? item.valueAlign : "left";
@@ -234,7 +238,9 @@ export default {
234
238
  tableColumns.push(column);
235
239
  }
236
240
 
237
- column["title"] = item.title;
241
+ let title1=translate("${"+item.title+"}");
242
+ column["title"] =item.tip? <>{title1}<Tooltip placement="top" title={item.tip}>
243
+ <Button type={'text'} size={'small'} disabled={true} icon={<QuestionCircleOutlined />} /></Tooltip> </>: title1;
238
244
  column["dataIndex"] = item.id;
239
245
  column["key"] = item.id;
240
246
  if (item["colWidth"]) column["width"] = item["colWidth"];
@@ -258,7 +264,7 @@ export default {
258
264
  }else {
259
265
  currentDataColIndex++;
260
266
  column["className"] = "opsColumn";
261
- column["title"] = translate("${" + item.title + "}");
267
+ //column["title"] = translate("${" + item.title + "}");
262
268
  column["width"] = item.colWidth ? item.colWidth : 160;
263
269
  column["ellipsis"] = {showTitle: true};
264
270
  column["align"] = item.valueAlign ? item.valueAlign : "left";
@@ -288,7 +294,7 @@ export default {
288
294
  }
289
295
  });
290
296
 
291
- console.log("columns", tableColumns);
297
+ // console.log("columns", tableColumns);
292
298
 
293
299
  return tableColumns;
294
300
  },
@@ -275,7 +275,6 @@ class QueryTable extends React.PureComponent<QueryTableProps, QueryTableStat> {
275
275
  tmplMax=tmplMax-beforeSelectedRows;
276
276
  }
277
277
  const { translate } = this.context;
278
-
279
278
  if (tmplMax <= -1) {
280
279
  return null;
281
280
  }
@@ -291,26 +290,8 @@ class QueryTable extends React.PureComponent<QueryTableProps, QueryTableStat> {
291
290
  type: maxSelectedRows == 1 ? "radio" : "checkbox",
292
291
  selectedRowKeys,
293
292
  onChange: (selectedRowKeys, selectedRows) => {
294
-
295
293
  if(tmplMax > 0 && selectedRowKeys.length > tmplMax){
296
-
297
294
  message.error(translate("${最多只能选择}") + " : "+ tmplMax);
298
- // message.error({
299
- // //type: 'error',
300
- // content: translate("${最多只能选择}") + " : "+ tmplMax,
301
- // style: {
302
- // zIndex: 12000,
303
- // },
304
- // duration:5
305
- // });
306
-
307
- // messageApi.open({
308
- // type: 'error',
309
- // content: translate("${最多只能选择}") + " : "+ tmplMax,
310
- // style: {
311
- // zIndex: 2000,
312
- // },
313
- // });
314
295
  return;
315
296
  }
316
297
  let selectedRows_: SelectedRow[] = [];
@@ -367,7 +348,8 @@ class QueryTable extends React.PureComponent<QueryTableProps, QueryTableStat> {
367
348
  if (extra.action === "sort") {
368
349
  let new_sort_serial_number = new Date().getTime();
369
350
  if(new_sort_serial_number - this.sort_serial_number < 2000){
370
- message.warning("系统忙,请稍后再试");
351
+ const { translate } = this.context;
352
+ message.warning(translate("${系统忙,请稍后再试}"));
371
353
  return;
372
354
  }else{
373
355
  this.sort_serial_number = new_sort_serial_number;
@@ -15,7 +15,7 @@ import {
15
15
  DeleteOutlined,
16
16
  EditOutlined,
17
17
  FormOutlined,
18
- PlusSquareOutlined,
18
+ PlusSquareOutlined, QuestionCircleOutlined,
19
19
  SnippetsOutlined,
20
20
  } from "@ant-design/icons";
21
21
  import "./index.css";
@@ -34,7 +34,7 @@ import DtmplEditPage from "../module/dtmpl-edit-page";
34
34
  import ModelSelectTable from "./modal-select-table";
35
35
  import HcserviceV3 from "../tmpl/hcservice-v3";
36
36
  import CollapseCard from "../controls/collapse-card";
37
- import RowEditor from "../detail/edit/row-editor";
37
+ import PopoverEditor from "../detail/edit/popover-editor";
38
38
  import Action from "../controls/action";
39
39
  import CountingTag from "../controls/counting-tag";
40
40
  import {LocaleContext} from "../locale/LocaleProvider";
@@ -171,7 +171,9 @@ class RelationTable extends React.PureComponent<
171
171
  fields.forEach((item) => {
172
172
  let column = {};
173
173
  columns.push(column);
174
- column["title"] = translate("${" + item.title + "}");
174
+ let title1=translate("${"+item.title+"}");
175
+ column["title"] =item.tip? <>{title1}<Tooltip placement="top" title={item.tip}>
176
+ <Button type={'text'} size={'small'} disabled={true} icon={<QuestionCircleOutlined />} /></Tooltip> </>: title1;
175
177
  column["dataIndex"] = item.id;
176
178
  s++;
177
179
  let itemType = SupportInputTypes.getControlType(item, null);
@@ -291,7 +293,7 @@ class RelationTable extends React.PureComponent<
291
293
  {/*行编辑*/}
292
294
  {rowEdit && editings.indexOf(record.code) < 0 ? (
293
295
  addOrEditType !== "tableRow" ?
294
- <RowEditor
296
+ <PopoverEditor
295
297
  serverKey={serverKey}
296
298
  disabled={disabled}
297
299
  buttonIcon={<EditOutlined/>}
@@ -299,8 +301,8 @@ class RelationTable extends React.PureComponent<
299
301
  fieldGroupConfig={fieldGroupConfig}
300
302
  onOk={this.handleRowEdit}
301
303
  tooltipTitle={translate("${编辑当前行}")}
302
- ></RowEditor> : <Button icon={<EditOutlined/>} size={'small'}
303
- onClick={() => this.editRowEdit(record.code)}>
304
+ ></PopoverEditor> : <Button icon={<EditOutlined/>} size={'small'}
305
+ onClick={() => this.editRowEdit(record.code)}>
304
306
  </Button>
305
307
  ) : ""
306
308
  }
@@ -427,6 +429,7 @@ class RelationTable extends React.PureComponent<
427
429
  };
428
430
  delete = async (record) => {
429
431
  const {value, fieldGroupConfig, onChange, serverKey} = this.props;
432
+ const {editings} = this.state;
430
433
  //追加
431
434
  const selectdDatas: DtmplData[] = [];
432
435
  const selectdCodes: string[] = [];
@@ -442,6 +445,11 @@ class RelationTable extends React.PureComponent<
442
445
  if (fieldGroupConfig.deleteData) {
443
446
  let result: boolean = await HcserviceV3.deleteByCode(serverKey, fieldGroupConfig.id, [record.code]);
444
447
  }
448
+
449
+ if(editings && editings.includes(record.code)) {
450
+ this.cancelRowEdit(record.code);
451
+ }
452
+
445
453
  onChange(fieldGroupConfig, selectdDatas);
446
454
  };
447
455
 
@@ -727,7 +735,7 @@ class RelationTable extends React.PureComponent<
727
735
  const {fieldGroupConfig, viewOrEdit, value, serverKey} = this.props;
728
736
  const {translate} = this.context;
729
737
  const {buttons, disabled, addOrEditType, batchAddFileField} = fieldGroupConfig;
730
- const {showRowEdit, uploadingFiles} = this.state;
738
+ const { uploadingFiles} = this.state;
731
739
 
732
740
  const buttonDisabled: boolean = disabled
733
741
  ? disabled
@@ -749,14 +757,14 @@ class RelationTable extends React.PureComponent<
749
757
  <EntryControl value={uploadingFiles} onChange={this.uploadFiles}
750
758
  fieldConfig={{controlType: "relfile"}}/> : ""}
751
759
  </> :
752
- <RowEditor
760
+ <PopoverEditor
753
761
  serverKey={serverKey}
754
762
  disabled={buttonDisabled}
755
763
  buttonStyle={{marginBottom: 10}}
756
764
  buttonTitle={translate("${新建一行}")}
757
765
  fieldGroupConfig={fieldGroupConfig}
758
766
  onOk={this.handleRowEdit}
759
- ></RowEditor>
767
+ ></PopoverEditor>
760
768
  ) : (
761
769
  ""
762
770
  )}
@@ -57,12 +57,13 @@ const ReportTable=(props:ReportTableProps)=> {
57
57
  setLoading(false);
58
58
  }
59
59
  }
60
- const addColumnOnCell=(current_cols)=>{
60
+ const addColumnOnCell=(current_cols,hiddenColIds:string[])=>{
61
61
  if(!reportData){
62
62
  return;
63
63
  }
64
64
  const {rowGrids}=reportData
65
65
  current_cols.forEach((c) => {
66
+ debugger
66
67
  if(rowGrids){
67
68
  c.onCell=(record,index)=>{
68
69
  let rowGrid= rowGrids[record.code];
@@ -71,7 +72,20 @@ const ReportTable=(props:ReportTableProps)=> {
71
72
  let a= {
72
73
  ...rowGrid.cellMap[c.dataIndex]
73
74
  }
74
- return a;
75
+ if(a.colSpan>1){
76
+ let hiddenDim=0;
77
+ if(hiddenColIds){
78
+ debugger
79
+ hiddenColIds.forEach(id=>{
80
+ if(rowGrid.cellMap[id]){
81
+ hiddenDim++;
82
+ }
83
+ })
84
+ }
85
+ return {colSpan:a.colSpan-hiddenDim,rowSpan:1}
86
+ }else{
87
+ return a;
88
+ }
75
89
  }else{
76
90
  return {colSpan:1,rowSpan:1}
77
91
  }
@@ -87,12 +101,11 @@ const ReportTable=(props:ReportTableProps)=> {
87
101
  current_cols.forEach((c) => {
88
102
  table_x = table_x + (c.width ? c.width : 140);
89
103
  });
90
- addColumnOnCell(current_cols);
104
+ addColumnOnCell(current_cols,hiddenColIds);
91
105
 
92
106
  return <ResizableTable
93
107
  size={tableProps?.size ? tableProps.size : undefined}
94
108
  loading={loading}
95
- //rowSelection={this.getRowSelection()}
96
109
  columns={current_cols}
97
110
  dataSource={dataSource}
98
111
  scroll={
@@ -6,7 +6,6 @@ import {
6
6
  DtmplData,
7
7
  DtmplFormProps,
8
8
  FieldConfig,
9
- FieldGroupConfig,
10
9
  LtmplConfig, SelectConfig,
11
10
  } from "./interface";
12
11
  import {FormInstance} from "antd";
@@ -357,19 +356,6 @@ TmplConfigAnalysis.buildInDtmplConfig = (
357
356
  if (!dtmplConfig.buildInFuncFields) {
358
357
  //先找到有业务的
359
358
  let buildInFuncFields = TmplConfigAnalysis.buildInFuncFields(dtmplConfig);
360
- // for (let group of dtmplConfig.groups) {
361
- // for (let field of group.fields) {
362
- // if (
363
- // (field.requiredRuleCriterias &&
364
- // field.requiredRuleCriterias.length > 0) ||
365
- // (field.usableRuleCriterias && field.usableRuleCriterias.length > 0)
366
- // || field.relValueField
367
- // ) {
368
- // field.shouldUpdate = true;
369
- // buildInFuncFields.push(field);
370
- // }
371
- // }
372
- // }
373
359
  dtmplConfig.buildInFuncFields = buildInFuncFields;
374
360
  }
375
361
  if (dtmplConfig.buildInFuncFields.length > 0) {
@@ -13,6 +13,8 @@ import TmplConfigAnalysis from "../tmpl/tmpl-config-analysis";
13
13
  import { ProgramConfig } from "../index";
14
14
  import { CriteriaFormProps } from "../form/criteria-form";
15
15
  import ControlTypeSupportor from "../tmpl/control-type-supportor";
16
+ import HcserviceV3 from "../tmpl/hcservice-v3";
17
+ import {UserInfo} from "../tmpl/interface";
16
18
 
17
19
  let storageKeyPrefix = undefined;
18
20
 
@@ -32,6 +34,8 @@ const AppCtmplConfigFuncMap = {};
32
34
 
33
35
  const CUSTOM_EDIT_CONTROL_MAP = {};
34
36
 
37
+ let currentUser = undefined;
38
+
35
39
  const extendServerMap = {};
36
40
 
37
41
  let antdUseToken = undefined;
@@ -760,8 +764,17 @@ export default {
760
764
  configParamTrans(value: string, itemType: string) {
761
765
  if (value && value.startsWith && value.startsWith("$$current")) {
762
766
  return TmplConfigAnalysis.current(value, this.getDayjsFormat(itemType));
767
+ }else if (value && value.startsWith("$$user.code")) {
768
+ let userInfo:UserInfo =this.getCurrentUserInfo();
769
+ if (userInfo) {
770
+ return userInfo.id+"@R@";
771
+ }else{
772
+ return null;
773
+ }
774
+ }else{
775
+ return value;
763
776
  }
764
- return value;
777
+
765
778
  },
766
779
 
767
780
  uniq(array, gWord) {
@@ -1044,5 +1057,12 @@ export default {
1044
1057
  },
1045
1058
  getReactKey() {
1046
1059
  return new Date().getTime().toString();
1060
+ },
1061
+ async getUserInfo(programCode?:string, token?:string) {
1062
+ currentUser = await HcserviceV3.getUser(programCode,token);
1063
+ return currentUser;
1064
+ },
1065
+ getCurrentUserInfo() {
1066
+ return currentUser;
1047
1067
  }
1048
1068
  };
@@ -1 +0,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Q,EAAE,oBAAoB,EAAE,SAAS,EAAE,oBAAoB,EAAE;IAC1E,WAAW,EAAE,KAAK;IAClB,YAAY,EAAE,SAAS;IACvB,QAAQ,EAAE,KAAK;CAChB,AANkB,CAMjB;AAIK,uBAAW,GAAG,aAAa,AAAhB,CAAiB;eAfhB,WAAW"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"row-editor.d.ts","sourceRoot":"","sources":["../../../../../src/aldehyde/detail/edit/row-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAS,YAAY,EAAmB,MAAM,MAAM,CAAA;AAC3D,OAAO,EAAC,SAAS,EAAE,gBAAgB,EAAC,MAAM,sBAAsB,CAAC;AAEjE,UAAU,cAAc;IACpB,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAE;IAChC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,EAAC,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,CAAC;IAChC,WAAW,CAAC,EAAC,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAC,OAAO,CAAA;CACpB;AAED,UAAU,cAAc;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,KAAK,CAAC,aAAa,CAAC,cAAc,EAAE,cAAc,CAAC;IACtF,OAAO,qCAAmC;IAC1C,MAAM,CAAC,YAAY;;;MAGlB;IACD,KAAK;;MAEJ;IAEK,iBAAiB;IAIjB,kBAAkB;IASxB,IAAI,GAAI,UAAK,EAAC,SAAO,OAAY,UAMhC;IAGD,MAAM;CAoBT"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"row-editor.js","sourceRoot":"","s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