形状属性-属性描述未生效问题

This commit is contained in:
qinoy 2023-02-06 17:00:15 +08:00
parent 722d0f068b
commit 35b5b0c426
3 changed files with 4 additions and 1 deletions

View File

@ -731,6 +731,7 @@ public class CoeDesignerShapeAPIManager {
String title = attr.getNewTitle();
object.put("name", title);
object.put("isRequired",attr.getIsRequired());
object.put("desc",attr.getDesc());
}
}
});
@ -771,6 +772,7 @@ public class CoeDesignerShapeAPIManager {
String title = attr.getNewTitle();
object2.put("name", title);
object2.put("isRequired",attr.getIsRequired());
object2.put("desc",attr.getDesc());
}
}
});
@ -809,6 +811,7 @@ public class CoeDesignerShapeAPIManager {
map1.put("groupPath", AttributeModel.getGroupPath());
map1.put("scope", AttributeModel.getScope());
map1.put("isRequired",AttributeModel.getIsRequired());
map1.put("desc",AttributeModel.getDesc());
attributeMap.put(AttributeModel.getKey(), map1);
}
}

View File

@ -1535,7 +1535,7 @@ function getPrivateAttributeHtml(attributesJsonArray, tbodyId, shape) {
constr = '<tr ' + mouseout + mouseover + ' objid="' + obj.id + '" class="tagContentTableTr">'
+ ' <td>' + objName + requiredSpan + '</td>'
+ ' <td class="tagContentTableTrTd">'
+ ' <input type="text" id="dateTimePicker_' + obj.id + '" objid="' + obj.id + '" placeholder="请选择日期" onblur="saveInputContent(this);" value="' + obj.value + '" class="attribute_input_css" data-shapeId="' + shape.id + '"/>'
+ ' <input type="text" id="dateTimePicker_' + obj.id + '" objid="' + obj.id + '" placeholder="' + isdesc + '" onblur="saveInputContent(this);" value="' + obj.value + '" class="attribute_input_css" data-shapeId="' + shape.id + '"/>'
+ ' </td></tr>';
} else if (!objReadonly && objType == "table") {
let objRef = JSON.parse(obj.ref)