Showing
5 changed files
with
10 additions
and
10 deletions
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | </div> | 16 | </div> |
17 | <script> | 17 | <script> |
18 | $(function () { | 18 | $(function () { |
19 | - $.post(contextPath + "/grassLabelManage/getAllGrassLabelInfo", function (data) { | 19 | + $.post(serverContextPath + "/grassLabelManage/getAllGrassLabelInfo", function (data) { |
20 | //数据填到框框里面 | 20 | //数据填到框框里面 |
21 | // debugger | 21 | // debugger |
22 | if(data.code ==200){ | 22 | if(data.code ==200){ |
@@ -46,7 +46,7 @@ | @@ -46,7 +46,7 @@ | ||
46 | textField : "groupName", | 46 | textField : "groupName", |
47 | required:false, | 47 | required:false, |
48 | prompt: "请选择分组", | 48 | prompt: "请选择分组", |
49 | - url : contextPath + "/labelGroupManage/getAllLabelGroupInfo", | 49 | + url : serverContextPath + "/labelGroupManage/getAllLabelGroupInfo", |
50 | loadFilter: function (data) { | 50 | loadFilter: function (data) { |
51 | var data = defaultLoadFilter(data); | 51 | var data = defaultLoadFilter(data); |
52 | data.unshift({'id': '', 'groupName': '--请选择分组--'}); | 52 | data.unshift({'id': '', 'groupName': '--请选择分组--'}); |
@@ -80,7 +80,7 @@ | @@ -80,7 +80,7 @@ | ||
80 | textField : "groupName", | 80 | textField : "groupName", |
81 | required:false, | 81 | required:false, |
82 | prompt: "请选择分组", | 82 | prompt: "请选择分组", |
83 | - url : contextPath + "/labelGroupManage/getAllLabelGroupInfo", | 83 | + url : serverContextPath + "/labelGroupManage/getAllLabelGroupInfo", |
84 | loadFilter: function (data) { | 84 | loadFilter: function (data) { |
85 | var data = defaultLoadFilter(data); | 85 | var data = defaultLoadFilter(data); |
86 | data.unshift({'id': '', 'groupName': '--请选择分组--'}); | 86 | data.unshift({'id': '', 'groupName': '--请选择分组--'}); |
@@ -123,7 +123,7 @@ | @@ -123,7 +123,7 @@ | ||
123 | status: $("#rewardstatus1").combobox("getValue"), | 123 | status: $("#rewardstatus1").combobox("getValue"), |
124 | type: $("#rewardtype1").combobox("getValue") | 124 | type: $("#rewardtype1").combobox("getValue") |
125 | },*/ | 125 | },*/ |
126 | - url: contextPath + "/grassLabelManage/getGrassLabelList", | 126 | + url: serverContextPath + "/grassLabelManage/getGrassLabelList", |
127 | method: 'POST', | 127 | method: 'POST', |
128 | loadFilter: function (data) { | 128 | loadFilter: function (data) { |
129 | var tmp = defaultLoadFilter(data); | 129 | var tmp = defaultLoadFilter(data); |
@@ -196,7 +196,7 @@ | @@ -196,7 +196,7 @@ | ||
196 | index = $(this).attr("index"); | 196 | index = $(this).attr("index"); |
197 | $.messager.confirm("确认", "确认删除该分组吗?", function (flag) { | 197 | $.messager.confirm("确认", "确认删除该分组吗?", function (flag) { |
198 | if(flag){ | 198 | if(flag){ |
199 | - $.post(contextPath + "/grassLabelManage/deleteGrassLabel", { | 199 | + $.post(serverContextPath + "/grassLabelManage/deleteGrassLabel", { |
200 | id : close_id, | 200 | id : close_id, |
201 | groupId: group_id | 201 | groupId: group_id |
202 | }, function(data) { | 202 | }, function(data) { |
@@ -252,7 +252,7 @@ | @@ -252,7 +252,7 @@ | ||
252 | 252 | ||
253 | 253 | ||
254 | $("#activityAddForm").form("submit", { | 254 | $("#activityAddForm").form("submit", { |
255 | - url: contextPath + "/grassLabelManage/addUpGrassLabel", | 255 | + url: serverContextPath + "/grassLabelManage/addUpGrassLabel", |
256 | onSubmit: function (param) { | 256 | onSubmit: function (param) { |
257 | if(data != null){ | 257 | if(data != null){ |
258 | param.id = data.id; | 258 | param.id = data.id; |
@@ -83,7 +83,7 @@ | @@ -83,7 +83,7 @@ | ||
83 | width: 171, | 83 | width: 171, |
84 | height: 120, | 84 | height: 120, |
85 | realInputName: "topicImageUrl", | 85 | realInputName: "topicImageUrl", |
86 | - url: contextPath + '/fileupload/uploadFile', | 86 | + url: serverContextPath + '/fileupload/uploadFile', |
87 | queryParams: { | 87 | queryParams: { |
88 | bucket: "activity" | 88 | bucket: "activity" |
89 | }, | 89 | }, |
@@ -123,7 +123,7 @@ | @@ -123,7 +123,7 @@ | ||
123 | status: $("#rewardstatus1").combobox("getValue"), | 123 | status: $("#rewardstatus1").combobox("getValue"), |
124 | type: $("#rewardtype1").combobox("getValue") | 124 | type: $("#rewardtype1").combobox("getValue") |
125 | },*/ | 125 | },*/ |
126 | - url: contextPath + "/grassTopicManage/getGrassTopicList", | 126 | + url: serverContextPath + "/grassTopicManage/getGrassTopicList", |
127 | method: 'POST', | 127 | method: 'POST', |
128 | loadFilter: function (data) { | 128 | loadFilter: function (data) { |
129 | var tmp = defaultLoadFilter(data); | 129 | var tmp = defaultLoadFilter(data); |
@@ -295,7 +295,7 @@ | @@ -295,7 +295,7 @@ | ||
295 | iconCls : "icon-save", | 295 | iconCls : "icon-save", |
296 | handler:function(){ | 296 | handler:function(){ |
297 | $("#activityAddForm").form("submit", { | 297 | $("#activityAddForm").form("submit", { |
298 | - url: contextPath + "/grassTopicManage/addUpGrassTopic", | 298 | + url: serverContextPath + "/grassTopicManage/addUpGrassTopic", |
299 | onSubmit: function (param) { | 299 | onSubmit: function (param) { |
300 | if(data != null){ | 300 | if(data != null){ |
301 | param.id = data.id; | 301 | param.id = data.id; |
@@ -385,7 +385,7 @@ | @@ -385,7 +385,7 @@ | ||
385 | status : data.status | 385 | status : data.status |
386 | }; | 386 | }; |
387 | 387 | ||
388 | - $.post(contextPath + "/grassTopicManage/addUpGrassTopic", param,function (data) { | 388 | + $.post(serverContextPath + "/grassTopicManage/addUpGrassTopic", param,function (data) { |
389 | //数据填到框框里面 | 389 | //数据填到框框里面 |
390 | // debugger | 390 | // debugger |
391 | if(data.code ==200){ | 391 | if(data.code ==200){ |
-
Please register or login to post a comment