fix: 属性只读问题修改
This commit is contained in:
parent
9d19fb7eae
commit
8eda7b749a
@ -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平台组织';
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user