fix:建模属性relation与awsorg类型的属性只读不生效问题
This commit is contained in:
parent
e33fa5e05e
commit
7aa183907b
Binary file not shown.
@ -353,9 +353,6 @@ public class CoEPALController {
|
|||||||
@Mapping("com.actionsoft.apps.coe.pal_pl_manage_method_attr_add_or_update_save")
|
@Mapping("com.actionsoft.apps.coe.pal_pl_manage_method_attr_add_or_update_save")
|
||||||
public String coePalPlManageMainAttrSave(UserContext me, String methodId, boolean isCreate, String key, String title, String type, String ref, String value, boolean readonly, String groupPath, boolean isValid, String scope, boolean bpmFileShow, boolean bpmShapeShow, String desc, boolean isRequired) {
|
public String coePalPlManageMainAttrSave(UserContext me, String methodId, boolean isCreate, String key, String title, String type, String ref, String value, boolean readonly, String groupPath, boolean isValid, String scope, boolean bpmFileShow, boolean bpmShapeShow, String desc, boolean isRequired) {
|
||||||
PalManageWeb web = new PalManageWeb(me);
|
PalManageWeb web = new PalManageWeb(me);
|
||||||
if ("relation".equals(type) || "awsorg".equals(type)) {// 关联类型限定只读
|
|
||||||
readonly = true;
|
|
||||||
}
|
|
||||||
return web.saveCoePalPlManageAttr(methodId, isCreate, key, title, type, ref, value, readonly, groupPath, isValid, scope, bpmFileShow, bpmShapeShow, desc, isRequired);
|
return web.saveCoePalPlManageAttr(methodId, isCreate, key, title, type, ref, value, readonly, groupPath, isValid, scope, bpmFileShow, bpmShapeShow, desc, isRequired);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1148,11 +1148,6 @@ public class PalManageWeb extends ActionWeb {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ((!readonly && updateModel.getReadonly()) || (readonly && !updateModel.getReadonly())) {// 修改了是否只读
|
|
||||||
if ("relation".equals(updateModel.getType()) || "awsorg".equals(updateModel.getType())) {// 关联类型限定只读
|
|
||||||
return ResponseObject.newWarnResponse("关联类型限定[只读],不允许修改该项").toString();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (updateModel != null) {
|
if (updateModel != null) {
|
||||||
return saveCoePalPlManageAttr(methodId, false, key, updateModel.getTitle(), updateModel.getType(), updateModel.getRef(), updateModel.getValue(), readonly, updateModel.getGroupPath(), isValid, updateModel.getScope(), updateModel.getBpmFileShow() == null ? false : updateModel.getBpmFileShow(), updateModel.getBpmShapeShow() == null ? false : updateModel.getBpmShapeShow(),updateModel.getDesc()==null ? "" : updateModel.getDesc(),isRequired);
|
return saveCoePalPlManageAttr(methodId, false, key, updateModel.getTitle(), updateModel.getType(), updateModel.getRef(), updateModel.getValue(), readonly, updateModel.getGroupPath(), isValid, updateModel.getScope(), updateModel.getBpmFileShow() == null ? false : updateModel.getBpmFileShow(), updateModel.getBpmShapeShow() == null ? false : updateModel.getBpmShapeShow(),updateModel.getDesc()==null ? "" : updateModel.getDesc(),isRequired);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2924,16 +2924,16 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
|||||||
}
|
}
|
||||||
} else if ("relation".equals(type)) {// 关联pal模型文件、形状
|
} else if ("relation".equals(type)) {// 关联pal模型文件、形状
|
||||||
JSONObject refObj = JSONObject.parseObject(attributeModel.getRef());
|
JSONObject refObj = JSONObject.parseObject(attributeModel.getRef());
|
||||||
event = "readonly='readonly' relationFileId=\"" + fileId + "\" relationShapeId=\"" + shapeId + "\" groupPath=\"" + attributeModel.getGroupPath() + "\" ref=" + refObj + " onclick=\"openRelationDialog($(this), 'saveContent')\"";
|
event = "relationFileId=\"" + fileId + "\" relationShapeId=\"" + shapeId + "\" groupPath=\"" + attributeModel.getGroupPath() + "\" ref=" + refObj + " onclick=\"openRelationDialog($(this), 'saveContent')\"";
|
||||||
input = "<input type='text' title=\"" + inputValue + "\" class='awsui-textbox' name=\"" + id + "\" id=\"" + id + "\" value=\"" + inputValue + "\" sid=\"" + sid + "\" uuid=\"" + uuid + "\" isRequired='" + isRequired + "' placeholder='" + desc + "' data-originvalue='" + inputValue + "' " + event + "/>";
|
input = "<input " + (readonly ? "readonly" : "") + " type='text' title=\"" + inputValue + "\" class='awsui-textbox' name=\"" + id + "\" id=\"" + id + "\" value=\"" + inputValue + "\" sid=\"" + sid + "\" uuid=\"" + uuid + "\" isRequired='" + isRequired + "' placeholder='" + desc + "' data-originvalue='" + inputValue + "' " + event + "/>";
|
||||||
} else if ("awsorg".equals(type)) {// 关联bpm组织架构
|
} else if ("awsorg".equals(type)) {// 关联bpm组织架构
|
||||||
JSONObject refObj = JSONObject.parseObject(attributeModel.getRef());
|
JSONObject refObj = JSONObject.parseObject(attributeModel.getRef());
|
||||||
event = "readonly='readonly' data-value=" + dataArr + " groupPath=\"" + attributeModel.getGroupPath() + "\" ref=" + refObj + " onclick=\"openRelationAwsorgDialog($(this))\"";
|
event = "data-value=" + dataArr + " groupPath=\"" + attributeModel.getGroupPath() + "\" ref=" + refObj + " onclick=\"openRelationAwsorgDialog($(this))\"";
|
||||||
List<JSONObject> jsonObjectList = dataArr.toJavaList(JSONObject.class);
|
List<JSONObject> jsonObjectList = dataArr.toJavaList(JSONObject.class);
|
||||||
String result = jsonObjectList.stream()
|
String result = jsonObjectList.stream()
|
||||||
.map(jsonObject -> jsonObject.getString("name")) // 将每个JSONObject映射为其name字段的值
|
.map(jsonObject -> jsonObject.getString("name")) // 将每个JSONObject映射为其name字段的值
|
||||||
.collect(Collectors.joining(","));
|
.collect(Collectors.joining(","));
|
||||||
input = "<input type='text' title=\"" + inputValue + "\" class='awsui-textbox' name=\"" + id + "\" id=\"" + id + "\" value=\"" + result + "\" sid=\"" + sid + "\" uuid=\"" + uuid + "\" isRequired='" + isRequired + "' placeholder='" + desc + "' data-originvalue='" + inputValue + "' " + event + "/>";
|
input = "<input "+(readonly ? "readonly" : "")+" type='text' title=\"" + inputValue + "\" class='awsui-textbox' name=\"" + id + "\" id=\"" + id + "\" value=\"" + result + "\" sid=\"" + sid + "\" uuid=\"" + uuid + "\" isRequired='" + isRequired + "' placeholder='" + desc + "' data-originvalue='" + inputValue + "' " + event + "/>";
|
||||||
} else if (!readonly && "DateTimePicker".equals(type)) {
|
} else if (!readonly && "DateTimePicker".equals(type)) {
|
||||||
input = "<input class=\"awsui-textbox\" autocomplete='off' id=\"" + id + "\" name=\"dateTimePicker\" sid=\"" + sid + "\" uuid=\"" + uuid + "\" placeholder='" + desc + "' data-originvalue='" + inputValue + "' value='" + inputValue + "' isRequired='" + isRequired + "' onblur='saveContent($(this));'>" + "</input>";
|
input = "<input class=\"awsui-textbox\" autocomplete='off' id=\"" + id + "\" name=\"dateTimePicker\" sid=\"" + sid + "\" uuid=\"" + uuid + "\" placeholder='" + desc + "' data-originvalue='" + inputValue + "' value='" + inputValue + "' isRequired='" + isRequired + "' onblur='saveContent($(this));'>" + "</input>";
|
||||||
} else if ("table".equals(type)) {
|
} else if ("table".equals(type)) {
|
||||||
@ -11833,7 +11833,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
|||||||
} else if ("relation".equals(type)) {
|
} else if ("relation".equals(type)) {
|
||||||
JSONObject refObj = JSONObject.parseObject(attributeModel.getRef());
|
JSONObject refObj = JSONObject.parseObject(attributeModel.getRef());
|
||||||
obj.put("ref", refObj);
|
obj.put("ref", refObj);
|
||||||
obj.put("readonly", fileReadonly);
|
obj.put("readonly", fileReadonly || xmlReadonly);
|
||||||
List<DesignerShapeRelationModel> list = DesignerShapeRelationCache.getListByAttrId(id, "", property.getPropertyId());
|
List<DesignerShapeRelationModel> list = DesignerShapeRelationCache.getListByAttrId(id, "", property.getPropertyId());
|
||||||
if (list != null && list.size() > 0) {
|
if (list != null && list.size() > 0) {
|
||||||
// 判断是否有重复数据,进行重复过滤
|
// 判断是否有重复数据,进行重复过滤
|
||||||
@ -11878,7 +11878,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
|||||||
} else if ("awsorg".equals(type)) {
|
} else if ("awsorg".equals(type)) {
|
||||||
JSONObject refObj = JSONObject.parseObject(attributeModel.getRef());
|
JSONObject refObj = JSONObject.parseObject(attributeModel.getRef());
|
||||||
obj.put("ref", refObj);
|
obj.put("ref", refObj);
|
||||||
obj.put("readonly", fileReadonly);
|
obj.put("readonly", fileReadonly || xmlReadonly);
|
||||||
List<DesignerShapeRelationModel> list = DesignerShapeRelationCache.getListByAttrId(id, "", property.getPropertyId());
|
List<DesignerShapeRelationModel> list = DesignerShapeRelationCache.getListByAttrId(id, "", property.getPropertyId());
|
||||||
if (list != null && list.size() > 0) {
|
if (list != null && list.size() > 0) {
|
||||||
List<DepartmentModel> departmentModelList = new ArrayList<>();
|
List<DepartmentModel> departmentModelList = new ArrayList<>();
|
||||||
|
|||||||
@ -13,4 +13,4 @@
|
|||||||
var mainType = "<#mainType>";
|
var mainType = "<#mainType>";
|
||||||
var uid = "<#uid>";
|
var uid = "<#uid>";
|
||||||
var wHref = "./w";
|
var wHref = "./w";
|
||||||
var jdHref = "./jd";</script><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-18ba0bf3.b9b5de63.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-1fd5b92a.9170273e.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-3a7599c6.bb861d84.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-532765fe.0cca68dd.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-5ecd1214.1a10be5e.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-676e4d1c.d33effd1.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-6c83edf4.6c467910.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-9d1e04c4.d1caea12.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-f3e4ff48.721c4dc9.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-18ba0bf3.d0d27872.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-1fd5b92a.07c16352.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d0ab156.ca03ae9d.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d0b25b0.3ebfc816.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d0f078a.3038704d.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d216d3a.96ada280.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d224b23.e62adedc.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d224ef1.44cb7f2b.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-3a7599c6.5d555915.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-532765fe.9bb04323.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-5ca06e36.c64d879b.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-5ecd1214.d1f642d6.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-676e4d1c.734c6fa2.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-6c83edf4.93b8726a.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-9d1e04c4.ddede9a0.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-bf7921b8.1d6eee48.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-f3e4ff48.6d7f9787.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/app.634e376c.css rel=preload as=style><link href=../apps/com.actionsoft.apps.coe.pal/main/js/app.0369f1cb.js rel=preload as=script><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-vendors.bd2b52b4.js rel=preload as=script><link href=../apps/com.actionsoft.apps.coe.pal/main/css/app.634e376c.css rel=stylesheet></head><body style=margin:0;><div id=app></div><script src=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-vendors.bd2b52b4.js></script><script src=../apps/com.actionsoft.apps.coe.pal/main/js/app.0369f1cb.js></script></body></html>
|
var jdHref = "./jd";</script><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-08487bf0.283a9f57.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-1abee27b.c5c7126f.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-22fa1b26.aec5a5e3.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-2933a75e.38619268.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-591a3298.d3570084.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-6fb6e04f.adde4cab.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-9c63e2da.ef0a5aa8.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-b6288114.d45e8a64.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/chunk-cd54d348.e55cad48.css rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-08487bf0.e4c990c1.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-1abee27b.363afc6a.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-22fa1b26.ccbfdfa0.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2933a75e.506b1a8f.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d0ab156.869862df.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d0f078a.5bbabbc4.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d212b99.89ae9070.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d216d3a.8dd1b225.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d224b23.82ff272a.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-2d224ef1.94519e00.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-3178e2bf.9637346c.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-3a9b7577.aa0dfa28.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-591a3298.b7e78e78.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-6fb6e04f.d8dee91f.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-9c63e2da.ed551f3a.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-b6288114.99399fa3.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-cd54d348.72327634.js rel=prefetch><link href=../apps/com.actionsoft.apps.coe.pal/main/css/app.20eb2063.css rel=preload as=style><link href=../apps/com.actionsoft.apps.coe.pal/main/js/app.d75e0aec.js rel=preload as=script><link href=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-vendors.cecfe522.js rel=preload as=script><link href=../apps/com.actionsoft.apps.coe.pal/main/css/app.20eb2063.css rel=stylesheet></head><body style=margin:0;><div id=app></div><script src=../apps/com.actionsoft.apps.coe.pal/main/js/chunk-vendors.cecfe522.js></script><script src=../apps/com.actionsoft.apps.coe.pal/main/js/app.d75e0aec.js></script></body></html>
|
||||||
@ -1206,6 +1206,8 @@ function removeTr(obj) {
|
|||||||
|
|
||||||
//打开对象关联Dialog
|
//打开对象关联Dialog
|
||||||
function openRelationDialog(obj, callback) {
|
function openRelationDialog(obj, callback) {
|
||||||
|
let readOnly = obj.prop('readonly');
|
||||||
|
if (readOnly) return;
|
||||||
var title = obj.closest('tr').find('td:first').text();
|
var title = obj.closest('tr').find('td:first').text();
|
||||||
if (title == undefined || title == '') {
|
if (title == undefined || title == '') {
|
||||||
title = '选择模型对象';
|
title = '选择模型对象';
|
||||||
@ -1668,6 +1670,8 @@ function selectAttrTabTag(showContent, selfObj) {
|
|||||||
|
|
||||||
// 关联bpm组织架构dlg
|
// 关联bpm组织架构dlg
|
||||||
function openRelationAwsorgDialog(obj) {
|
function openRelationAwsorgDialog(obj) {
|
||||||
|
let readonly = obj.prop('readonly');
|
||||||
|
if (readonly) return;
|
||||||
var title = obj.closest('tr').find('td:first').text();
|
var title = obj.closest('tr').find('td:first').text();
|
||||||
if (title == undefined || title == '') {
|
if (title == undefined || title == '') {
|
||||||
title = '添加AWS PaaS平台组织';
|
title = '添加AWS PaaS平台组织';
|
||||||
|
|||||||
@ -1461,6 +1461,7 @@ function getPrivateAttributeHtml(attributesJsonArray, tbodyId, shape) {
|
|||||||
objType = attr.type;
|
objType = attr.type;
|
||||||
objReadonly = attr.readonly;
|
objReadonly = attr.readonly;
|
||||||
objRequired = attr.readonly;
|
objRequired = attr.readonly;
|
||||||
|
obj.readonly = attr.readonly;
|
||||||
}
|
}
|
||||||
var requiredSpan = ''
|
var requiredSpan = ''
|
||||||
if (obj.isRequired !== null && obj.isRequired) {
|
if (obj.isRequired !== null && obj.isRequired) {
|
||||||
@ -1522,8 +1523,8 @@ function getPrivateAttributeHtml(attributesJsonArray, tbodyId, shape) {
|
|||||||
constr = '<tr ' + mouseout + mouseover + ' objid="' + obj.id + '" class="tagContentTableTr">'
|
constr = '<tr ' + mouseout + mouseover + ' objid="' + obj.id + '" class="tagContentTableTr">'
|
||||||
+ ' <td>' + objName + requiredSpan + '</td>'
|
+ ' <td>' + objName + requiredSpan + '</td>'
|
||||||
+ ' <td class="tagContentTableTrTd">'
|
+ ' <td class="tagContentTableTrTd">'
|
||||||
+ ' <input placeholder="' + isdesc + '" objid="' + obj.id + '" class="attribute_input_css" name="attribute_name_input_' + obj.id + '" value="" scope="' + obj.groupPath + '" onclick="openRelationDig(this,' + JSON.stringify(obj).replace(/\"/g, "'") + ');" />'
|
+ ' <input '+(objReadonly ? "readonly" : "")+' placeholder="' + isdesc + '" objid="' + obj.id + '" class="attribute_input_css" name="attribute_name_input_' + obj.id + '" value="" scope="' + obj.groupPath + '" onclick="openRelationDig(this,' + JSON.stringify(obj).replace(/\"/g, "'") + ');" />'
|
||||||
+ ' <input placeholder="' + isdesc + '" ref="" value="' + obj.value + '" style="border:1px solid #ccc;margin-left:-55px;width: 25px;height: 23px;display: none;" objid_shapeId="' + obj.id + '" />'
|
+ ' <input '+(objReadonly ? "readonly" : "")+' placeholder="' + isdesc + '" ref="" value="' + obj.value + '" style="border:1px solid #ccc;margin-left:-55px;width: 25px;height: 23px;display: none;" objid_shapeId="' + obj.id + '" />'
|
||||||
+ '</td></tr>';
|
+ '</td></tr>';
|
||||||
|
|
||||||
} else if (objType == "select" || objType == "select_m") {
|
} else if (objType == "select" || objType == "select_m") {
|
||||||
@ -1551,8 +1552,8 @@ function getPrivateAttributeHtml(attributesJsonArray, tbodyId, shape) {
|
|||||||
constr = '<tr ' + mouseout + mouseover + ' objid="' + obj.id + '" class="tagContentTableTr">'
|
constr = '<tr ' + mouseout + mouseover + ' objid="' + obj.id + '" class="tagContentTableTr">'
|
||||||
+ ' <td>' + objName + requiredSpan + '</td>'
|
+ ' <td>' + objName + requiredSpan + '</td>'
|
||||||
+ ' <td class="tagContentTableTrTd">'
|
+ ' <td class="tagContentTableTrTd">'
|
||||||
+ ' <input placeholder="' + isdesc + '" objid="' + obj.id + '" class="attribute_input_css" name="attribute_name_input_' + obj.id + '" value="" scope="' + obj.groupPath + '" onclick="openOrganizationRelationDig(this,' + JSON.stringify(obj).replace(/\"/g, "'") + ');" />'
|
+ ' <input '+(objReadonly ? "readonly" : "")+' placeholder="' + isdesc + '" objid="' + obj.id + '" class="attribute_input_css" name="attribute_name_input_' + obj.id + '" value="" scope="' + obj.groupPath + '" onclick="openOrganizationRelationDig(this,' + JSON.stringify(obj).replace(/\"/g, "'") + ');" />'
|
||||||
+ ' <input placeholder="' + isdesc + '" ref="" value="' + obj.value + '" style="border:1px solid #ccc;margin-left:-55px;width: 25px;height: 23px;display: none;" objid_shapeId="' + obj.id + '" />'
|
+ ' <input '+(objReadonly ? "readonly" : "")+' placeholder="' + isdesc + '" ref="" value="' + obj.value + '" style="border:1px solid #ccc;margin-left:-55px;width: 25px;height: 23px;display: none;" objid_shapeId="' + obj.id + '" />'
|
||||||
+ '</td></tr>';
|
+ '</td></tr>';
|
||||||
} else if (objReadonly && objType == "hidden") {
|
} else if (objReadonly && objType == "hidden") {
|
||||||
constr = '<tr ' + mouseout + mouseover + ' objid="' + obj.id + '" class="tagContentTableTr" style="display:none;">'
|
constr = '<tr ' + mouseout + mouseover + ' objid="' + obj.id + '" class="tagContentTableTr" style="display:none;">'
|
||||||
@ -3295,6 +3296,7 @@ function getRelevanceShapeNameByShapeId(objIds, shapeId) {
|
|||||||
|
|
||||||
// 关联aws组织
|
// 关联aws组织
|
||||||
function openOrganizationRelationDig(obj, value) {
|
function openOrganizationRelationDig(obj, value) {
|
||||||
|
if (value.readonly) return;
|
||||||
var shapeAwsOrgValue = $("input[objid_shapeId='" + $(obj).attr("objid") + "']").val();
|
var shapeAwsOrgValue = $("input[objid_shapeId='" + $(obj).attr("objid") + "']").val();
|
||||||
var ref = $("input[objid_shapeId='" + $(obj).attr("objid") + "']").attr("ref");
|
var ref = $("input[objid_shapeId='" + $(obj).attr("objid") + "']").attr("ref");
|
||||||
var id = sid;
|
var id = sid;
|
||||||
@ -3594,6 +3596,7 @@ function getRelevanceAwsOrgNameByShapeId(objIds, shapeId) {
|
|||||||
|
|
||||||
// 形状关联弹窗
|
// 形状关联弹窗
|
||||||
function openRelationDig(obj, value) {
|
function openRelationDig(obj, value) {
|
||||||
|
if (value.readonly) return;
|
||||||
var shapeRelationValue = $("input[objid_shapeId='" + $(obj).attr("objid") + "']").val();
|
var shapeRelationValue = $("input[objid_shapeId='" + $(obj).attr("objid") + "']").val();
|
||||||
var ref = $("input[objid_shapeId='" + $(obj).attr("objid") + "']").attr("ref"); // shape file shapeAndFile
|
var ref = $("input[objid_shapeId='" + $(obj).attr("objid") + "']").attr("ref"); // shape file shapeAndFile
|
||||||
var relationShapeIds = '';
|
var relationShapeIds = '';
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
|||||||
#commonRepository[data-v-5a94998a] .el-dialog__body,#commonRepository[data-v-5a94998a] .el-main{padding:0 20px}#commonRepository[data-v-5a94998a] .el-footer{padding:0}#commonRepository[data-v-5a94998a] .el-table__row .operate-icon-display{display:none}#commonRepository[data-v-5a94998a] .el-table__row:hover .operate-icon-display{display:inline-block}
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
#commonRepository[data-v-c633f5ea] .el-dialog__body,#commonRepository[data-v-c633f5ea] .el-main{padding:0 20px}#commonRepository[data-v-c633f5ea] .el-footer{padding:0}#commonRepository[data-v-c633f5ea] .el-table__row .operate-icon-display{display:none}#commonRepository[data-v-c633f5ea] .el-table__row:hover .operate-icon-display{display:inline-block}
|
||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 158 KiB After Width: | Height: | Size: 158 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ab156"],{1485:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticStyle:{width:"100%",height:"100%"}},[e("iframe",{staticStyle:{border:"0"},attrs:{id:"iframe",width:"100%",height:"100%",name:"iframe",src:t.src}})])},i=[],s={name:"MappingManagement",data:function(){return{src:"./w?sid="+this.$store.state.sessionId+"&cmd=com.actionsoft.apps.coe.pal.mappingmanagement_main_page&dataType="+this.$route.params.dataType}}},r=s,c=e("2877"),p=Object(c["a"])(r,n,i,!1,null,"56fd105e",null);a["default"]=p.exports}}]);
|
||||||
@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0ab156"],{1485:function(a,t,e){"use strict";e.r(t);var i=function(){var a=this,t=a._self._c;return t("div",{staticStyle:{width:"100%",height:"100%"}},[t("iframe",{staticStyle:{border:"0"},attrs:{id:"iframe",width:"100%",height:"100%",name:"iframe",src:a.src}})])},s=[],n={name:"MappingManagement",data(){return{src:"./w?sid="+this.$store.state.sessionId+"&cmd=com.actionsoft.apps.coe.pal.mappingmanagement_main_page&dataType="+this.$route.params.dataType}}},r=n,c=e("0b56"),p=Object(c["a"])(r,i,s,!1,null,"56fd105e",null);t["default"]=p.exports}}]);
|
|
||||||
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0f078a"],{"9d09":function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{style:{width:"100%",height:t.mainHeight}},[e("iframe",{staticStyle:{border:"0"},attrs:{id:"orgIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"orgIframe",src:t.src}})])},n=[],r={name:"BPMOrg",data(){return{src:"./w?sid="+this.$store.state.sessionId+"&cmd=com.actionsoft.apps.coe.pal_average_user_org",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},a=r,o=i("0b56"),h=Object(o["a"])(a,s,n,!1,null,"2280cc48",null);e["default"]=h.exports}}]);
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0f078a"],{"9d09":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{width:"100%",height:t.mainHeight}},[i("iframe",{staticStyle:{border:"0"},attrs:{id:"orgIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"orgIframe",src:t.src}})])},s=[],r={name:"BPMOrg",data:function(){return{src:"./w?sid="+this.$store.state.sessionId+"&cmd=com.actionsoft.apps.coe.pal_average_user_org",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight:function(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},a=r,o=i("2877"),c=Object(o["a"])(a,n,s,!1,null,"2280cc48",null);e["default"]=c.exports}}]);
|
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d216d3a"],{c3b6:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{width:"100%",height:t.mainHeight},attrs:{id:"cooperation"}},[i("iframe",{staticStyle:{border:"0"},attrs:{id:"coopIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"coopIframe",src:t.src}})])},a=[],o={name:"cooperationCreate",data:function(){return{src:wHref+"?sid="+this.$store.state.sessionId+"&mainPage=create&cmd=com.actionsoft.apps.coe.pal.cooperation_main",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight:function(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},s=o,r=i("2877"),c=Object(r["a"])(s,n,a,!1,null,"6a826a48",null);e["default"]=c.exports}}]);
|
||||||
@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d216d3a"],{c3b6:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{style:{width:"100%",height:t.mainHeight},attrs:{id:"cooperation"}},[e("iframe",{staticStyle:{border:"0"},attrs:{id:"coopIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"coopIframe",src:t.src}})])},n=[],s={name:"cooperationCreate",data(){return{src:wHref+"?sid="+this.$store.state.sessionId+"&mainPage=create&cmd=com.actionsoft.apps.coe.pal.cooperation_main",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},o=s,r=i("0b56"),c=Object(r["a"])(o,a,n,!1,null,"6a826a48",null);e["default"]=c.exports}}]);
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d224b23"],{e0df:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{style:{width:"100%",height:t.mainHeight},attrs:{id:"cooperationUpdate"}},[i("iframe",{staticStyle:{border:"0"},attrs:{id:"coopIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"coopIframe",src:t.src}})])},a=[],o={name:"CooperationUpdate",data:function(){return{src:wHref+"?sid="+this.$store.state.sessionId+"&mainPage=update&cmd=com.actionsoft.apps.coe.pal.cooperation_main",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight:function(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},s=o,r=i("2877"),p=Object(r["a"])(s,n,a,!1,null,"543345d8",null);e["default"]=p.exports}}]);
|
||||||
@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d224b23"],{e0df:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{style:{width:"100%",height:t.mainHeight},attrs:{id:"cooperationUpdate"}},[e("iframe",{staticStyle:{border:"0"},attrs:{id:"coopIframe",width:"100%",height:parseInt(t.mainHeight)-4+"px",name:"coopIframe",src:t.src}})])},n=[],s={name:"CooperationUpdate",data(){return{src:wHref+"?sid="+this.$store.state.sessionId+"&mainPage=update&cmd=com.actionsoft.apps.coe.pal.cooperation_main",mainHeight:parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}},computed:{listenTopMainHeight(){return this.$store.getters.getTopMainHeightFn}},watch:{listenTopMainHeight:function(t,e){this.mainHeight=parseInt(this.$store.getters.getTopMainHeightFn)-4+"px"}}},o=s,r=i("0b56"),p=Object(r["a"])(o,a,n,!1,null,"543345d8",null);e["default"]=p.exports}}]);
|
|
||||||
@ -1 +0,0 @@
|
|||||||
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d224ef1"],{e1f5:function(e,s,t){"use strict";t.r(s);var n=function(){var e=this,s=e._self._c;return s("div",{staticClass:"devGetSession"},[e._v(" 正在获取session ")])},a=[],d=t("a18c"),o=t("0f08"),i=t("4360");o["a"].post({url:"jd",data:{userid:devUserInfo.userid,pwd:devUserInfo.pwd,lang:"cn",cmd:"com.actionsoft.apps.getsession.get",deviceType:"pc"}}).then((function(e){"error"==e.result?alert("获取session错误:"+e.msg):(i["a"].commit("edit",{sessionId:e.data.sid}),d["a"].replace("/"))}));var r={data(){return{dwList:[]}},methods:{},mounted(){}},c=r,u=t("0b56"),l=Object(u["a"])(c,n,a,!1,null,null,null);s["default"]=l.exports}}]);
|
|
||||||
@ -0,0 +1 @@
|
|||||||
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d224ef1"],{e1f5:function(e,s,t){"use strict";t.r(s);var n=function(){var e=this,s=e.$createElement,t=e._self._c||s;return t("div",{staticClass:"devGetSession"},[e._v(" 正在获取session ")])},a=[],o=t("a18c"),d=t("0f08"),i=t("4360");d["a"].post({url:"jd",data:{userid:devUserInfo.userid,pwd:devUserInfo.pwd,lang:"cn",cmd:"com.actionsoft.apps.getsession.get",deviceType:"pc"}}).then((function(e){"error"==e.result?alert("获取session错误:"+e.msg):(i["a"].commit("edit",{sessionId:e.data.sid}),o["a"].replace("/"))}));var c={data:function(){return{dwList:[]}},methods:{},mounted:function(){}},r=c,u=t("2877"),l=Object(u["a"])(r,n,a,!1,null,null,null);s["default"]=l.exports}}]);
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user