...
|
...
|
@@ -98,7 +98,7 @@ function getQueryString(url,name) { |
|
|
消息图片<span class="red-must-edit">*</span>
|
|
|
</div>
|
|
|
<div class="row-right">
|
|
|
<div id="messageImage" style='position: relative;top:15px;'><img id="oldImage"></div>
|
|
|
<div id="messageImage" style='position: relative;top:15px;'></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="row-input">
|
...
|
...
|
@@ -150,19 +150,11 @@ function getQueryString(url,name) { |
|
|
$("#priority").textbox("setValue", data.data.priority);
|
|
|
$("#startTime").datetimebox("setValue", data.data.startTimeStr);
|
|
|
$("#endTime").datetimebox("setValue", data.data.endTimeStr);
|
|
|
$("#oldImage").attr("src", data.data.image);
|
|
|
$("#oldImage").attr("onclick", "updateImage()");
|
|
|
}else {
|
|
|
window.self.$.messager.alert("失败", "失败!", "error");
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
|
|
|
function updateImage(){
|
|
|
$("#messageImage").imageUpload({
|
|
|
width:500,
|
|
|
heigth:50,
|
|
|
realInputName : "unionShareMessagePic",
|
|
|
value: data.data.image,
|
|
|
url:contextPath + '/fileupload/upload',
|
|
|
queryParams : {
|
|
|
bucket : "unionimg"
|
...
|
...
|
@@ -174,6 +166,10 @@ function getQueryString(url,name) { |
|
|
return data.data;
|
|
|
}
|
|
|
});
|
|
|
}else {
|
|
|
window.self.$.messager.alert("失败", "失败!", "error");
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
|
|
|
$(function () {
|
...
|
...
|
|