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 3d7150db..db943bd4 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
@@ -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 =
'
'
+ ' | ' + objName + requiredSpan + ' | '
@@ -1598,7 +1597,7 @@ Array.prototype.unique = function(){
}
}
return res;
-};
+}
// 得到不同属性值关联的形状
@@ -1655,7 +1654,7 @@ Array.prototype.notDistinct = function() {
}
}
return newArr;
-};
+}
// 删除掉关联形状
function removeTrRelevanceShapes(obj) {
@@ -1666,7 +1665,7 @@ function removeTrRelevanceShapes(obj) {
onConfirm : function() {
// 确定删除
var shape = Utils.getSelected()[0];
- var tempArray = [];
+ var tempArray = new Array();
var count = 0;
if (shape) {
var relevanceShapes = [];
@@ -1784,7 +1783,7 @@ function updateModelElementsAttribute(selectedShape, nodes) {
}
if (arrJsontemp.length != 0) {
var tempArr = removeShepeAttributeAndReturnDifferent(arrJsontemp, filterNotCheckedAttribute(nodes, arrJsontemp));
- var tempArray = [];
+ var tempArray = new Array();
for (var e = 0; e < tempArr.length; e++) {
if (tempArr[e] != 0 && tempArr[e] != "0") {
removeNotCheckedAttribute(shape, tempArr[e]);
@@ -1873,7 +1872,7 @@ function removeShepeAttributeAndReturnDifferent(exitObj, newObj1) {
// 删除没有选中的元素
function removeNotCheckedAttribute(shape, obj1) {
- var tempArray = [];
+ var tempArray = new Array();
var attributesJsonArray1 = [];
for (var i = 0; i < shape.dataAttributes.length; i++) {
var attr = shape.dataAttributes[i];
@@ -1949,7 +1948,7 @@ function saveInputContent(obj,value) {
return;
}
if(value !== undefined && value.isRequired && objValue == '') {
- $(obj).attr('placeholder',value.name + '不能为空');
+ $(obj).attr('placeholder',value.name + '不能为空')
$(obj).addClass("required_input_css");
return;
}
@@ -1991,7 +1990,7 @@ function showAttributedEditWindow(obj) {
var objId = $(obj).attr("objid");
var shape = Utils.getSelected()[0];
var windowTitle = '提示';
- let objValue = {};
+ let objValue = {}
if (shape) {
var attributesJsonArray = [];
for (var i = 0; i < shape.dataAttributes.length; i++) {
@@ -2004,7 +2003,7 @@ function showAttributedEditWindow(obj) {
for (var index = 0; index < attributesJsonArray.length; index++) {
var tempObj = attributesJsonArray[index];
if (tempObj.id == objId) {
- objValue = tempObj;
+ objValue = tempObj
windowTitle = tempObj.name;
// $("#attribute-edit-title").text(tempObj.name);
$("#attribute-edit-content").val(tempObj.value);
@@ -2026,7 +2025,7 @@ function showAttributedEditWindow(obj) {
return;
}
if(objValue.isRequired && str == '') {
- $("#attribute-edit-content").attr('placeholder',objValue.name + '不能为空');
+ $("#attribute-edit-content").attr('placeholder',objValue.name + '不能为空')
$("#attribute-edit-content").addClass("required_input_css");
return
}
@@ -2046,7 +2045,7 @@ function showAttributedEditWindow(obj) {
// table表格
function openTableDialog(obj,value) {
- let tableName = '提示';
+ let tableName = '提示'
let objId = $(obj).attr("objid");
let shape = Utils.getSelected()[0];
if (shape) {
@@ -2066,8 +2065,8 @@ function openTableDialog(obj,value) {
}
}
}
- $('#attribute-table-content').empty();
- $('#attribute-add-content').empty();
+ $('#attribute-table-content').empty()
+ $('#attribute-add-content').empty()
var thead =
'