...
|
...
|
@@ -179,22 +179,6 @@ function getQueryString(url,name) { |
|
|
$(function () {
|
|
|
initForm();
|
|
|
|
|
|
/* $("#messageImage").imageUpload({
|
|
|
width:500,
|
|
|
heigth:50,
|
|
|
realInputName : "unionShareMessagePic",
|
|
|
url:contextPath + '/fileupload/upload',
|
|
|
queryParams : {
|
|
|
bucket : "unionimg"
|
|
|
},
|
|
|
filterFileName : function(data) {
|
|
|
if (!data || data.code != 200) {
|
|
|
$.messager.alert("失败", data.message, "error");
|
|
|
}
|
|
|
return data.data;
|
|
|
}
|
|
|
}); */
|
|
|
|
|
|
$("#cancelBtn").click(function () {
|
|
|
$.messager.confirm("确认", "您确定要取消更新信息吗?", function(flag) {
|
|
|
if (flag) {
|
...
|
...
|
@@ -217,13 +201,15 @@ function getQueryString(url,name) { |
|
|
|
|
|
requestObj.content = content;
|
|
|
|
|
|
/* var arr = document.getElementsByName("unionShareMessagePic");
|
|
|
var arr = document.getElementsByName("unionShareMessagePic");
|
|
|
if(undefined != arr[0]){
|
|
|
var image = arr[0].value;
|
|
|
if (image == "") {
|
|
|
alert("请上传消息图片");
|
|
|
return;
|
|
|
}
|
|
|
requestObj.image = image; */
|
|
|
requestObj.image = image;
|
|
|
}
|
|
|
|
|
|
var url = $("#url").val();
|
|
|
if (url == "") {
|
...
|
...
|
|