formlist-detail.html 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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 http-equiv="Pragma" content="no-cache"/>
  6. <meta http-equiv="Cache-Control" content="no-cache"/>
  7. <meta http-equiv="Expires" content="0"/>
  8. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  9. <title>表单预览</title>
  10. <link href="../../AFrontEnd/css/animate.css" rel="stylesheet"/>
  11. <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet"/>
  12. <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet"/>
  13. <link href="../../AFrontEnd/css/style.css" rel="stylesheet"/>
  14. <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  15. <script>document.write("<link href='css/formlist.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
  16. <style>
  17. body, html {
  18. overflow: hidden;
  19. }
  20. </style>
  21. </head>
  22. <body ng-controller="formlistAddCtrl as ctl" ng-cloak>
  23. <div class="wrapper wrapper-content animated fadeInDown">
  24. <div class="row">
  25. <div class="col-md-12">
  26. <div class="ibox float-e-margins">
  27. <div class="ibox-content">
  28. <div class="row">
  29. <div class="col-md-12">
  30. <div class="sp-page">
  31. <div class="sp-page-col">
  32. <div class="sp-page-title">
  33. <span>数据预览</span>
  34. <!-- <span class="sp-page-back sp-btn-radius" ng-click="ctl.btnGoBack()"><i-->
  35. <!-- class="icon-back sp-mr-10"></i>返回上一级</span>-->
  36. </div>
  37. </div>
  38. <div class="sp-page-col sp-pull-right">
  39. <span class="sp-btn-blue-outline sp-btn-radius sp-btn-sm"
  40. ng-click="ctl.openAddLayer()"><i class="fa fa-plus sp-mr-5"></i>新 建
  41. </span>
  42. <span class="sp-btn-blue-outline sp-btn-radius sp-btn-sm"
  43. ng-click="ctl.btnGoBack()">
  44. <i class="fa fa-reply"></i> 返回
  45. </span>
  46. </div>
  47. </div>
  48. <div class="sp-line-gray"></div>
  49. <div class="sp-page" id="table" style="overflow-y: auto;">
  50. <table class="sp-table">
  51. <thead>
  52. <tr>
  53. <th>序号</th>
  54. <!-- <th>标识ID</th>-->
  55. <!-- <th>流程实例ID</th>-->
  56. <th ng-repeat="item in ctl.thead" ng-bind="item.cname"></th>
  57. <th><div style="width:100px">操作</div></th>
  58. </tr>
  59. </thead>
  60. <tbody>
  61. <tr ng-repeat="item in ctl.codeArray">
  62. <td ng-bind="$index+1"></td>
  63. <!-- <td ng-bind="item.ID"></td>-->
  64. <!-- <td ng-bind=""></td>-->
  65. <td ng-repeat="item1 in ctl.thead"><span title="{{item[item1.code]}}" ng-bind="item[item1.code]"></span></td>
  66. <td style="width:100px;">
  67. <button ng-click="ctl.openEditLayer(item)" class="sp-new-logo-edit"
  68. title="编辑"></button>
  69. <button ng-click="ctl.delCodeData(item)" class="sp-new-logo-delete sp-ml-10"
  70. title="删除"></button>
  71. </td>
  72. </tr>
  73. </tbody>
  74. </table>
  75. <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
  76. <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
  77. </div>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. <!-- 新建、编辑子表 -->
  87. <div class="sp-layer" id="layer_codeData" style="width: 500px;">
  88. <div class="sp-layer-head" style="background:#2176d6">
  89. <div class="sp-page sp-text-center sp-font16">
  90. <span ng-bind="ctl.itemCode.TITLE"></span>
  91. <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
  92. ×
  93. </div>
  94. </div>
  95. </div>
  96. <div class="sp-layer-body">
  97. <table class="sp-grid-job">
  98. <tbody>
  99. <tr ng-repeat="item in ctl.itemCode.list">
  100. <td ng-bind="item.name"></td>
  101. <td><input type="text" class="sp-input" ng-model="item[item.code]" /></td>
  102. </tr>
  103. </tbody>
  104. </table>
  105. <div class="sp-page sp-text-center sp-mt-20">
  106. <button class="sp-btn-blue sp-btn-radius" ng-click="ctl.btnDataSave()">
  107. <i class="fa fa-check sp-mr-5"></i>保 存
  108. </button>
  109. <button class="sp-btn-default sp-btn-radius" ng-click="ctl.btnDataCancel()">
  110. <i class="fa fa-close sp-mr-5"></i>取 消
  111. </button>
  112. </div>
  113. </div>
  114. </div>
  115. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  116. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  117. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  118. <script src="../../apiurljs.js"></script>
  119. <script src="../../js/sm4.js"></script>
  120. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');</script>
  121. <script>document.write('<scri' + 'pt src="js/formlist-detail.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>');</script>
  122. <script src="../../AFrontEnd/js/special/spng.js"></script>
  123. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  124. </body>
  125. </html>