showViewOption.jsp 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <%@ page contentType="text/html;charset=UTF-8"%>
  2. <script>
  3. function saveyj(){
  4. var opstr = "${taskKey}";
  5. if(!isEmpty(($('#ryyj').val()))){
  6. $('#yj').val($('#ryyj').val());
  7. $('#'+opstr).html($('#ryyj').val());
  8. guanbiyj();
  9. }else{
  10. $.alert({
  11. title: '提示',
  12. content: "请填写意见!",
  13. confirm: function(){
  14. }
  15. });
  16. }
  17. }
  18. function guanbiyj(){
  19. $('.theme-popover-mask').fadeOut(100);
  20. $('.theme-popover').slideUp(0);
  21. }
  22. $(document).ready(function () {
  23. });
  24. </script>
  25. <div class="theme-popover" id="selectyjdiv" style="width: 345px;">
  26. <div class="theme-poptit">
  27. <div class="popTitle">
  28. <h4>意见框</h4>
  29. </div>
  30. <div class="close">
  31. <a href="###" title="关闭" onclick="guanbiyj()" >×</a>
  32. </div>
  33. </div>
  34. <!-- 列表 -->
  35. <div style="background-color:#f4f4f4;">
  36. <textarea id="ryyj" rows="8" cols="40">同意</textarea>
  37. </div>
  38. <div align="center">
  39. <a class="btn btn-default btn-sm" href="###" onclick="saveyj()">
  40. <i class="glyphicon glyphicon-ok-sign"></i>
  41. 确认</a>
  42. <a class="btn btn-default btn-sm" href="###" onclick="guanbiyj()">
  43. <i class="glyphicon glyphicon-arrow-left"></i>
  44. 关闭</a>
  45. </div>
  46. </div>
  47. <div class="theme-popover-mask" id="selectyj2div"></div>