Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
d01c69fb4d
Binary file not shown.
@ -84,7 +84,7 @@ public class ArisXmlHandleWeb {
|
||||
path.add(groupMap.get(modelParent).getName());
|
||||
getPath(path, groupMap.get(modelParent).getPid());
|
||||
}
|
||||
modelModel.setModelPath(StringUtils.join(path, "\\"));
|
||||
modelModel.setModelPath(StringUtils.join(path, "\\").replace(" ", ""));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -417,7 +417,7 @@ public class ArisXmlImportRun {
|
||||
propertyModels = propertyModels.stream().filter(item -> Constant.METHOD_ARIS_URL.equals(item.getPropertyId())).collect(Collectors.toList());
|
||||
Map<String, String> map = new HashMap<>();
|
||||
for (PALRepositoryPropertyModel prop : propertyModels) {
|
||||
map.put(prop.getPlId(), prop.getPropertyValue());
|
||||
map.put(prop.getPlId(), prop.getPropertyValue().replace(" ", ""));// 去除空格
|
||||
}
|
||||
for (PALRepositoryModel model : list) {
|
||||
if (map.containsKey(model.getId())) {
|
||||
@ -1361,7 +1361,7 @@ public class ArisXmlImportRun {
|
||||
Timestamp nowTime = new Timestamp(System.currentTimeMillis());
|
||||
|
||||
PALRepositoryModelImpl model = CoeProcessLevelUtil.createPALRepositoryModel(id, UUIDGener.getUUID(), wsId, arisModel.getName(), "", orderIndex, parentId, "org", true, 1,
|
||||
id, false, "org.role", "0", 1, null, null, uc.getUID(), uc.getUID(), nowTime, null, null, null, null,
|
||||
id, false, "org.role", "0", 1, null, null, uc.getUID(), uc.getUID(), nowTime, null, palModel.getId(), null, null,
|
||||
null, null, null, null, null, -1);
|
||||
coeProcessLevel.insert(model);
|
||||
LogUtil.appendLog(Constant.LOG_END + "创建与ARIS流程同名的角色图[" + arisModel.getName() + "][" + model.getId() + "]", simpleLogFile, fullLogFile);
|
||||
|
||||
@ -22,8 +22,8 @@
|
||||
const production = true;
|
||||
const devUserInfo = {};
|
||||
</script>
|
||||
<script type="module" crossorigin src="../apps/com.actionsoft.apps.coe.pal.datamigration/main/js/entry-index-7f6916a4.js"></script>
|
||||
<link rel="stylesheet" href="../apps/com.actionsoft.apps.coe.pal.datamigration/main/assets/asset-style-1c3bc887.css">
|
||||
<script type="module" crossorigin src="../apps/com.actionsoft.apps.coe.pal.datamigration/main/js/entry-index-a4c2dce7.js"></script>
|
||||
<link rel="stylesheet" href="../apps/com.actionsoft.apps.coe.pal.datamigration/main/assets/asset-style-76c60471.css">
|
||||
</head>
|
||||
<body style="margin:0;">
|
||||
<div id="app"></div>
|
||||
|
||||
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
@ -1199,13 +1199,13 @@
|
||||
<div id="dock_content_attribute">
|
||||
<ul id="tabUlContainer">
|
||||
<li id="tabLiContainnerAttribute" class="selectTag">
|
||||
<a onClick="selectAttrTabTag('tagContent1',this)" href="javascript:void(0)">属性</a>
|
||||
<a onClick="selectAttrTabTag2('tagContent1',this)" href="javascript:void(0)">属性</a>
|
||||
</li>
|
||||
<li>
|
||||
<a onClick="selectAttrTabTag('tagContent0',this)" href="javascript:void(0)">关系</a>
|
||||
<a onClick="selectAttrTabTag2('tagContent0',this)" href="javascript:void(0)">关系</a>
|
||||
</li>
|
||||
<li><a onClick="selectAttrTabTag('tagContent2',this)" href="javascript:void(0)">出现</a> </li>
|
||||
<li><a onClick="selectAttrTabTag('tagContent3',this)" href="javascript:void(0)">关联</a> </li>
|
||||
<li><a onClick="selectAttrTabTag2('tagContent2',this)" href="javascript:void(0)">出现</a> </li>
|
||||
<li><a onClick="selectAttrTabTag2('tagContent3',this)" href="javascript:void(0)">关联</a> </li>
|
||||
</ul>
|
||||
<!-- 数据属性表格 -->
|
||||
<div id="tagContent">
|
||||
|
||||
@ -612,7 +612,7 @@ function saveDialogTableValue(tableValue,id,dom) {
|
||||
|
||||
}
|
||||
function saveContent(obj) {
|
||||
debugger;
|
||||
// debugger;
|
||||
var sid = $("#sid").val();
|
||||
var uuid = $("#id").val();
|
||||
var id = obj.attr("id");
|
||||
@ -902,10 +902,10 @@ function showTableDialog(obj,value,id) {
|
||||
let str =
|
||||
'<tr id="' + tableList[i].id + '">'
|
||||
+ '<td style="width: 100px;">'
|
||||
+ '<input class="dialog_table_input_css" value="' + tableList[i].name + '"/>'
|
||||
+ '<textarea type="textarea" rows="5" class="dialog_table_input_css" value="' + tableList[i].name + '">' + tableList[i].name + '</textarea>'
|
||||
+ '</td>'
|
||||
+ '<td style="width: 270px;">'
|
||||
+ '<input class="dialog_table_input_css" value="' + tableList[i].desc + '"/>'
|
||||
+ '<textarea type="textarea" rows="5" class="dialog_table_input_css" value="' + tableList[i].desc + '">' + tableList[i].name + '</textarea>'
|
||||
+ '</td>'
|
||||
+ '<td style="width: 80px;text-align: center;" class="dialogTableDelete" onclick="removeTr(this)">删除</td>'
|
||||
+'</tr>'
|
||||
@ -921,7 +921,7 @@ function showTableDialog(obj,value,id) {
|
||||
handler : function() {
|
||||
// let name = parent.$("#attribute-title-content1").val()
|
||||
// $("#" + id).val(name)
|
||||
let inputs = parent.$('#attribute-table-content1').find('input')
|
||||
let inputs = parent.$('#attribute-table-content1').find('textarea')
|
||||
for (let i = 1; i < parent.operateList.length; i++) {
|
||||
parent.operateList[i].name = inputs[2*(i-1)].value
|
||||
parent.operateList[i].desc = inputs[2*(i-1) + 1].value
|
||||
@ -950,8 +950,8 @@ function addTr() {
|
||||
let newTrId = Date.now().toString(36)
|
||||
let defaultStr =
|
||||
' <tr id="'+ newTrId + '">'
|
||||
+ '<td style="width: 100px;"><input class="dialog_table_input_css" value=""/></td>'
|
||||
+ '<td style="width: 270px;"><input class="dialog_table_input_css" value=""/></td>'
|
||||
+ '<td style="width: 100px;"><textarea type="textarea" rows="5" class="dialog_table_input_css" value=""></textarea></td>'
|
||||
+ '<td style="width: 270px;"><textarea type="textarea" rows="5" class="dialog_table_input_css" value=""></textarea></td>'
|
||||
+ '<td style="width: 80px;text-align: center" class="dialogTableDelete" onclick="removeTr(this)">删除</td>'
|
||||
+ '</tr>'
|
||||
operateList.push({ id: newTrId ,name: '',desc: ''})
|
||||
|
||||
@ -1535,7 +1535,6 @@ function getPrivateAttributeHtml(attributesJsonArray, tbodyId, shape) {
|
||||
+ ' </td></tr>';
|
||||
} else if (!objReadonly && objType == "table") {
|
||||
let objRef = JSON.parse(obj.ref)
|
||||
console.log('ref',objRef)
|
||||
let objTableInput = obj.value.table !== undefined && obj.value.table.length > 1 ? '请查看' : '请输入'
|
||||
dialogTableList = obj.value.table == undefined ? [ { id: Utils.newId() ,name: objRef.firstColumn, desc: objRef.secondColumn} ] : obj.value.table;
|
||||
constr = '<tr ' + mouseout + mouseover + ' class="tagContentTableTr">'
|
||||
@ -2085,16 +2084,17 @@ function openTableDialog(obj,value) {
|
||||
let str =
|
||||
'<tr id="' + dialogTableList[i].id + '">'
|
||||
+ '<td style="width: 100px;">'
|
||||
+ '<input class="dialog_table_input_css" value="' + dialogTableList[i].name + '"/>'
|
||||
+ '<textarea type="textarea" rows="5" class="dialog_table_input_css" value="' + dialogTableList[i].name + '">' + dialogTableList[i].name + '</textarea>'
|
||||
+ '</td>'
|
||||
+ '<td style="width: 270px;">'
|
||||
+ '<input class="dialog_table_input_css" value="' + dialogTableList[i].desc + '"/>'
|
||||
+ '<textarea type="textarea" rows="5" class="dialog_table_input_css" value="' + dialogTableList[i].desc + '">' + dialogTableList[i].desc + '</textarea>'
|
||||
+ '</td>'
|
||||
+ '<td style="width: 60px;text-align: center" class="dialogTableDelete" onclick="removeTableTr(this)">删除</td>'
|
||||
+'</tr>'
|
||||
$('#attribute-table-content').append(str)
|
||||
}
|
||||
$('#attribute-add-content').append('<button onclick="addTableTr(this)">新增</button>')
|
||||
// tableInputHeight()
|
||||
|
||||
$("#attribute-table-window").dialog({
|
||||
draggable: true,
|
||||
@ -2103,7 +2103,7 @@ function openTableDialog(obj,value) {
|
||||
text : '确定',
|
||||
cls : "blue",
|
||||
handler : function() {
|
||||
let inputs = $('#attribute-table-content').find('input')
|
||||
let inputs = $('#attribute-table-content').find('textarea')
|
||||
for (let i = 1; i < dialogTableList.length; i++) {
|
||||
dialogTableList[i].name = inputs[2*(i-1)].value
|
||||
dialogTableList[i].desc = inputs[2*(i-1) +1].value
|
||||
@ -2124,12 +2124,24 @@ function openTableDialog(obj,value) {
|
||||
})
|
||||
}
|
||||
|
||||
// function tableInputHeight() {
|
||||
// var input = $("#attribute-table-content").find(".dialog_table_input_css");
|
||||
// input.each(function () {
|
||||
// $(this).on('input', function(){
|
||||
// if(this.scrollHeight > $(this).height()) {
|
||||
// var curRow = parseInt($(this).attr('rows'))
|
||||
// $(this).attr('rows',curRow + 1)
|
||||
// }
|
||||
// });
|
||||
// })
|
||||
// }
|
||||
|
||||
function addTableTr(obj) {
|
||||
let newTrId = Utils.newId()
|
||||
let defaultStr =
|
||||
' <tr id="'+ newTrId + '">'
|
||||
+ '<td style="width: 100px;"><input class="dialog_table_input_css" value=""/></td>'
|
||||
+ '<td style="width: 270px;"><input class="dialog_table_input_css" value=""/></td>'
|
||||
+ '<td style="width: 100px;"><textarea type="textarea" rows="5" class="dialog_table_input_css" value=""></textarea></td>'
|
||||
+ '<td style="width: 270px;"><textarea type="textarea" rows="5" class="dialog_table_input_css" value=""></textarea></td>'
|
||||
+ '<td style="width: 60px;text-align: center" class="dialogTableDelete" onclick="removeTableTr(this)">删除</td>'
|
||||
+ '</tr>'
|
||||
dialogTableList.push({ id: newTrId ,name: '',desc: ''})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user