diff --git a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.pal.processlevel.create.js b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.pal.processlevel.create.js index 6ffa4408..60e98491 100755 --- a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.pal.processlevel.create.js +++ b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/js/coe.pal.processlevel.create.js @@ -1207,7 +1207,10 @@ function removeTr(obj) { //打开对象关联Dialog function openRelationDialog(obj, callback) { let readOnly = obj.prop('readonly'); - if (readOnly) return; + let val = obj.val(); + if (val && readOnly){ + return; + } var title = obj.closest('tr').find('td:first').text(); if (title == undefined || title == '') { title = '选择模型对象'; @@ -1669,8 +1672,11 @@ function selectAttrTabTag(showContent, selfObj) { // 关联bpm组织架构dlg function openRelationAwsorgDialog(obj) { - let readonly = obj.prop('readonly'); - if (readonly) return; + let readOnly = obj.prop('readonly'); + let val = obj.val(); + if (val && readOnly){ + return; + } var title = obj.closest('tr').find('td:first').text(); if (title == undefined || title == '') { title = '添加AWS PaaS平台组织'; diff --git a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.js b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.js index b20d0370..ba82defe 100755 --- a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.js +++ b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.js @@ -3296,7 +3296,10 @@ function getRelevanceShapeNameByShapeId(objIds, shapeId) { // 关联aws组织 function openOrganizationRelationDig(obj, value) { - if (value.readonly) return; + let attrVal = $(obj).attr("value"); + if (attrVal && value.readonly){ + return; + } var shapeAwsOrgValue = $("input[objid_shapeId='" + $(obj).attr("objid") + "']").val(); var ref = $("input[objid_shapeId='" + $(obj).attr("objid") + "']").attr("ref"); var id = sid;