|
@@ -57,22 +57,35 @@
|
|
$.jBox.confirm("确定取消该咨询记录与此报备的关联吗?","提示",function(v,h,f){
|
|
$.jBox.confirm("确定取消该咨询记录与此报备的关联吗?","提示",function(v,h,f){
|
|
|
|
|
|
if(v === 1){
|
|
if(v === 1){
|
|
- window.location.href="${ctx}/new/user/agency/ClubRemarks?remarksId="+remarksId+"&type=1";
|
|
|
|
- // location.reload()
|
|
|
|
- }
|
|
|
|
- } ,{ buttons: { '确定': 1,'取消':2}}),function(data){
|
|
|
|
- if (true == data.success) {
|
|
|
|
- location.reload();
|
|
|
|
|
|
+ <%--window.location.href="${ctx}/new/user/agency/ClubRemarks?remarksId="+remarksId+"&type=1";--%>
|
|
|
|
+ $.post("${ctx}/new/user/agency/ClubRemarks", {
|
|
|
|
+ 'remarksId': remarksId,
|
|
|
|
+ 'type': 1
|
|
|
|
+ }, function (data) {
|
|
|
|
+ console.log(data.success)
|
|
|
|
+ console.log(true == data.success)
|
|
|
|
+ if (true == data.success) {
|
|
|
|
+ location.reload()
|
|
|
|
+ }
|
|
|
|
+ }, "JSON");//这里返回的类型有:json,html,xml,text
|
|
}
|
|
}
|
|
- };
|
|
|
|
|
|
+ } ,{ buttons: { '确定': 1,'取消':2}})
|
|
}
|
|
}
|
|
|
|
|
|
function audits(remarksId){
|
|
function audits(remarksId){
|
|
$.jBox.confirm("确定取消该咨询记录与此报备的关联吗?","提示",function(v,h,f){
|
|
$.jBox.confirm("确定取消该咨询记录与此报备的关联吗?","提示",function(v,h,f){
|
|
|
|
|
|
if(v === 1){
|
|
if(v === 1){
|
|
- window.location.href="${ctx}/new/user/agency/ClubRemarks?remarksId="+remarksId+"&type=2";
|
|
|
|
- // location.reload()
|
|
|
|
|
|
+ $.post("${ctx}/new/user/agency/ClubRemarks", {
|
|
|
|
+ 'remarksId': remarksId,
|
|
|
|
+ 'type': 2
|
|
|
|
+ }, function (data) {
|
|
|
|
+ console.log(data.success)
|
|
|
|
+ console.log(true == data.success)
|
|
|
|
+ if (true == data.success) {
|
|
|
|
+ location.reload()
|
|
|
|
+ }
|
|
|
|
+ }, "JSON");//这里返回的类型有:json,html,xml,text
|
|
}
|
|
}
|
|
} ,{ buttons: { '确定': 1,'取消':2}});
|
|
} ,{ buttons: { '确定': 1,'取消':2}});
|
|
}
|
|
}
|