文件属性表格类型保存 url encode

This commit is contained in:
yangl 2022-09-29 16:02:44 +08:00
parent f3b5cc9b78
commit 326b9592c3

View File

@ -580,7 +580,7 @@ function saveDialogTableValue(tableValue,id,dom) {
url : "./w?sid=" + encodeURIComponent(sid) url : "./w?sid=" + encodeURIComponent(sid)
+ "&cmd=com.actionsoft.apps.coe.pal_processlevel_more_attr_content_save", + "&cmd=com.actionsoft.apps.coe.pal_processlevel_more_attr_content_save",
data : "uuid=" + uuid + "&josnKey=" + encodeURIComponent(id) data : "uuid=" + uuid + "&josnKey=" + encodeURIComponent(id)
+ "&josnContent=" + jsonContent, + "&josnContent=" + encodeURI(jsonContent),
success : function(msg) { success : function(msg) {
if(awsui.decode(msg).result == "error") { if(awsui.decode(msg).result == "error") {
$.simpleAlert(awsui.decode(msg).msg, "error"); $.simpleAlert(awsui.decode(msg).msg, "error");