|
@@ -2186,9 +2186,9 @@ public class WbsTreePrivateServiceImpl extends BaseServiceImpl<WbsTreePrivateMap
|
|
|
Element inputElement = table.select("el-input[keyname^=" + kt + "__").first();
|
|
|
String keyname = inputElement.attr("keyname");
|
|
|
Element echartElement = new Element("hc-echart");
|
|
|
- echartElement.attr(":option", "formData." + keyname);
|
|
|
- echartElement.attr("id", keyname);
|
|
|
- echartElement.attr("keyname", keyname);
|
|
|
+ echartElement.attr(":option", "formData." + keyname)
|
|
|
+ .attr("keyname", keyname)
|
|
|
+ .attr(":ref","(el) => setChartRefs(el, '"+wtp.getPKeyId()+"' , '"+keyname+"')");
|
|
|
inputElement.replaceWith(echartElement);
|
|
|
table.select("el-input[keyname^=" + ky + "__").forEach(e -> e.attr("@blur", "getRegularExpression($event,'','请输入字符串',22,1, 'chart', 1, 0)"));
|
|
|
table.select("el-input[keyname^=" + kx + "__").forEach(e -> e.attr("@blur", "getRegularExpression($event,'','请输入字符串',22,1, 'chart', 0, 1)"));
|