You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

56 lines
2.0 KiB

  1. /*
  2. * 版 本 Learun-ADMS V7.0.3 力软敏捷开发框架(http://www.learun.cn)
  3. * Copyright (c) 2013-2018 上海力软信息技术有限公司
  4. * 创建人:
  5. * 日 期:2018.11.10
  6. * 描 述:电子签章
  7. */
  8. var selectedRow;
  9. var refreshGirdData;
  10. var keyValue;
  11. var bootstrap = function ($, learun) {
  12. "use strict";
  13. var page = {
  14. init: function () {
  15. page.bind();
  16. },
  17. bind: function () {
  18. $('.add').on('click', function () {
  19. learun.layerForm({
  20. id: 'StampDetailIndex',
  21. title: '印章列表',
  22. url: top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/StampDetailIndex',
  23. width: 1050,
  24. height: 600,
  25. callBack: function (id) {
  26. return top[id].acceptClick(function (imgutl) {
  27. keyValue = imgutl;
  28. $(".price-box").lrSign({//电子签章调用插件
  29. img: top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/GetImg?keyValue=' + imgutl
  30. });
  31. });
  32. }
  33. });
  34. });
  35. $(".price-box").on("click", ".sure", function () {
  36. learun.layerForm({
  37. id: 'EqualForm',
  38. title: '密码验证',
  39. url: top.$.rootUrl + '/LR_NewWorkFlow/StampInfo/EqualForm?keyValue=' + keyValue,
  40. width: 360,
  41. height: 140,
  42. callBack: function (id) {
  43. return top[id].acceptClick(function () {
  44. $("div.sign").addClass('ok').off('mousedown').find('.btn').remove();
  45. });
  46. }
  47. });
  48. });
  49. $('.print').on('click', function () {//电子签章打印
  50. $('.price-box').jqprint();
  51. });
  52. }
  53. }
  54. page.init();
  55. }