Merge branch 'apps_dev' of https://e.coding.net/yilidev/yilipalkaifa/apps into apps_dev
This commit is contained in:
commit
a30632d6dd
Binary file not shown.
@ -2910,7 +2910,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
|||||||
if (isRequired) {
|
if (isRequired) {
|
||||||
requiredSpan = "<span class='required'></span>";
|
requiredSpan = "<span class='required'></span>";
|
||||||
}
|
}
|
||||||
if ("textarea".equals(type)) {
|
if (!readonly && "textarea".equals(type)) {
|
||||||
input = "<textarea class=\"awsui-textbox\" title=" + inputValue + " style=\"height:60px;\" name=\"" + id + "\" id=\"" + id + "\" isRequired='" + isRequired + "' placeholder='" + desc + "' data-originvalue='" + inputValue + "' onclick=\"openTextareaDialog($(this), '" + attributeModel.getNewTitle() + "', " + readonly + ");\" >" + inputValue + "</textarea>";
|
input = "<textarea class=\"awsui-textbox\" title=" + inputValue + " style=\"height:60px;\" name=\"" + id + "\" id=\"" + id + "\" isRequired='" + isRequired + "' placeholder='" + desc + "' data-originvalue='" + inputValue + "' onclick=\"openTextareaDialog($(this), '" + attributeModel.getNewTitle() + "', " + readonly + ");\" >" + inputValue + "</textarea>";
|
||||||
} else if ("select".equals(type) || "select_m".equals(type)) {
|
} else if ("select".equals(type) || "select_m".equals(type)) {
|
||||||
if (readonly) {
|
if (readonly) {
|
||||||
@ -2934,7 +2934,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
|||||||
.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 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 ("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)) {
|
||||||
|
|
||||||
@ -2963,7 +2963,7 @@ public class CoeProcessLevelWeb extends ActionWeb {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
if (readonly) {
|
if (readonly) {
|
||||||
input = "<input type='text' title=\"" + inputValue + "\" class='awsui-textbox' name=\"" + id + "\" id=\"" + id + "\" value=\"" + inputValue + "\" sid=\"" + sid + "\" uuid=\"" + uuid + "\" data-originvalue='" + inputValue + "' readonly=true/>";
|
input = "<input type='text' title=\"" + inputValue + "\" class='awsui-textbox' name=\"" + id + "\" id=\"" + id + "\" value=\"" + inputValue + "\" sid=\"" + sid + "\" uuid=\"" + uuid + "\" data-originvalue='" + inputValue + "' readonly=true />";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
content.append("<tr class='tagContentTableTr' id='tr_" + id + "' > <td>" + attributeModel.getNewTitle() + "</td> <td class='tagContentTableTrTd'>" + requiredSpan + input + "</td> </tr>");
|
content.append("<tr class='tagContentTableTr' id='tr_" + id + "' > <td>" + attributeModel.getNewTitle() + "</td> <td class='tagContentTableTrTd'>" + requiredSpan + input + "</td> </tr>");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user