GLJ1.html 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  6. <title>关联文件</title>
  7. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
  8. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
  9. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
  10. <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
  11. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  12. <script>document.write("<link href='../flowchart_app_imgcss/css/formedit.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  13. <script>document.write("<link href='../flowchart_app_imgcss/css/canvasQianzi.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  14. <style>
  15. .flow-item {
  16. overflow:hidden;
  17. white-space:nowrap;
  18. text-overflow:ellipsis;
  19. }
  20. </style>
  21. </head>
  22. <body>
  23. <div ng-controller="GLJCtrl as ctl" id="app" ng-cloak>
  24. <div class="sp-page" style="width:980px;">
  25. <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
  26. <div ng-if="ctl.type==0">
  27. <div class="sp-page">
  28. 关联上级件
  29. </div>
  30. <div class="sp-line-gray" ng-if="ctl.flowid!='AA16'&&ctl.flowid!='AA18'"></div>
  31. <div class="sp-page" ng-repeat="item in ctl.FLOWIN" ng-if="ctl.flowid!='AA16'&&ctl.flowid!='AA18'">
  32. <div class="sp-col-20 flow-item" ng-bind="item.FLOWNAME"></div>
  33. <div class="sp-col-65 flow-item" ng-bind="item.TITLE"></div>
  34. <div class="sp-col-15"><button class="sp-btn-blue sp-radius" ng-click="ctl.delFLOW(item)">解除关联</button></div>
  35. </div>
  36. <center ng-if="ctl.flowid!='AA16'&&ctl.flowid!='AA18'"><button class="sp-btn-blue sp-radius" ng-click="ctl.CREATFLOW(1,1)">关联已有件</button></center>
  37. <div class="sp-page">
  38. 下级关联件
  39. </div>
  40. <div class="sp-line-gray"></div>
  41. <div class="sp-page" ng-repeat="item in ctl.FLOWOUT">
  42. <div class="sp-col-20 flow-item" ng-bind="item.FLOWNAME"></div>
  43. <div class="sp-col-65 flow-item" ng-bind="item.TITLE"></div>
  44. <div class="sp-col-15"><button class="sp-btn-blue sp-radius" ng-click="ctl.delFLOW(item)">解除关联</button></div>
  45. </div>
  46. <center><button class="sp-btn-blue sp-radius" ng-click="ctl.CREATFLOW(2,1)">关联已有件</button></center>
  47. </div>
  48. <div ng-if="ctl.type>0">
  49. <div class="sp-page">
  50. 选择已有件
  51. </div>
  52. <div class="sp-line-gray"></div>
  53. <div class="sp-box">
  54. 标题:<input type="text" class="sp-input" style="width:calc(100% - 120px)" /><button class="sp-btn-blue sp-radius" ng-click="ctl.CREATFLOW(ctl.type,1)">查询</button>
  55. </div>
  56. <div class="sp-page" dir-paginate="item in ctl.gljList|itemsPerPage:10" total-items="ctl.total_count">
  57. <div class="sp-col-20 flow-item" ng-bind="item.FLOWNAME"></div>
  58. <div class="sp-col-65 flow-item" ng-bind="item.TITLE"></div>
  59. <div class="sp-col-15"><button class="sp-btn-blue sp-radius" ng-click="ctl.subFLOW(item)">确认关联</button></div>
  60. </div>
  61. <div class="sp-table-tip ng-hide" ng-show="ctl.gljList.length == 0">
  62. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  63. </div>
  64. <div class="sp-page" ng-show="ctl.noDataTip != 0">
  65. <div class="sp-page-col sp-pull-right">
  66. <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
  67. on-page-change="ctl.CREATFLOW(ctl.type, newPageNumber)">
  68. </dir-pagination-controls>
  69. </div>
  70. </div>
  71. <center><button class="sp-btn-blue sp-radius" ng-click="ctl.type=0">关闭</button></center>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  77. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  78. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  79. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  80. <script src="../../apiurljs.js"></script>
  81. <script src="../../js/sm4.js"></script>
  82. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  83. <script>document.write('<scri' + 'pt src="js/GLJ1.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  84. <script src="../../AFrontEnd/js/special/spng.js"></script>
  85. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  86. </body>
  87. </html>