viewBjq.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. function editBjq(id, from) {
  2. huimv.loadPage("bjqRight", "editBjq.htm", {
  3. "id" : id,
  4. "from" : from
  5. });
  6. }
  7. function disableBjq(id) {
  8. Dialogs.alert("确定删除当前GRPS模块参数设置?", {
  9. title : '提示信息',
  10. width : 250,
  11. height : 80,
  12. top : 150,
  13. button : {
  14. ok : ['确定',function(){
  15. this.close();
  16. huimv.showProcessModel('处理数据中');
  17. jQuery.ajax({
  18. url : 'disableBjq.htm',
  19. dataType : 'json',
  20. type : 'post',
  21. cache : false,
  22. data : {"id" : id},
  23. success : function(data) {
  24. huimv.hideProcessModel();
  25. if (data.returnCode > 0) {
  26. loadBjqList();
  27. } else {
  28. Dialogs.alert("传入参数有误!", {
  29. width : 300,
  30. height : 50
  31. });
  32. }
  33. },
  34. error : function(data) {
  35. huimv.showError(data.responseText);
  36. }
  37. });
  38. }],
  39. cancel : ['取消',function(){
  40. this.close();
  41. }]
  42. }
  43. });
  44. }
  45. function viewFjdz(id) {
  46. huimv.loadPage("fjdzDiv", "viewFjdz.htm?id=" + id);
  47. }