workRecord.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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. .upload-img {
  16. width: 100px;
  17. height: 100px;
  18. overflow: hidden;
  19. position: relative;
  20. display: inline-block;
  21. vertical-align: middle;
  22. }
  23. .upload-img img {
  24. width:100%;
  25. height:100%;
  26. cursor: pointer;
  27. }
  28. .upload-img-file-single {
  29. position: absolute;
  30. width: 62px;
  31. height: 30px;
  32. line-height: 30px;
  33. left: 100px;
  34. bottom: 30px;
  35. opacity: 0;
  36. font-size: 0;
  37. filter: alpha(opacity=0);
  38. cursor: pointer !important;
  39. }
  40. </style>
  41. </head>
  42. <body>
  43. <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
  44. <div class="wrapper wrapper-content">
  45. <div class="row">
  46. <div class="col-md-12">
  47. <div class="ibox float-e-margins">
  48. <div class="ibox-content">
  49. <div class="row">
  50. <div class="col-md-12">
  51. <div class="sp-box sp-bg-white">
  52. <div class="sp-page-col">
  53. <div class="sp-page-title" style="margin:7px 0;">值班工作日志</div>
  54. </div>
  55. <div class="sp-page-col sp-pull-right btn-box">
  56. <a ng-click="ctl.btnSave()" class="sp-btn-gray sp-radius" ng-if="ctl.read!=1">
  57. <img src="../flowchart_app_imgcss/img/bc.png" height="14" />
  58. 保 存
  59. </a>
  60. <!-- <a href="{{ctl.return}}" class="sp-btn-gray sp-radius">
  61. <img src="../flowchart_app_imgcss/img/fh.png" height="14" />
  62. 返 回
  63. </a> -->
  64. </div>
  65. </div>
  66. <div class="sp-page-center" style="line-height: 30px; overflow-y: auto" ng-class="{'sp-width-900': '{{ctl.deviceType}}'=='pad','sp-width-1000': '{{ctl.deviceType}}'!='pad'}">
  67. <table class="sp-grid-import">
  68. <tbody>
  69. <tr>
  70. <td width="100">公历</td>
  71. <td>
  72. <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.data.GLRQ" ng-disabled="ctl.read==1" ng-change="ctl.changeDate()" />
  73. </td>
  74. <td width="100">星期</td>
  75. <td>
  76. <input type="text" class="sp-input" ng-model="ctl.data.XINGQI" readonly />
  77. </td>
  78. <td width="100">天气</td>
  79. <td>
  80. <input type="text" class="sp-input" ng-model="ctl.data.TIANQI" ng-disabled="ctl.read==1" />
  81. </td>
  82. <td width="100">气温</td>
  83. <td>
  84. <input type="text" class="sp-input" ng-model="ctl.data.QIWEN" ng-disabled="ctl.read==1" />
  85. </td>
  86. </tr>
  87. </tbody>
  88. </table>
  89. <table class="sp-grid-import">
  90. <tbody>
  91. <tr>
  92. <td width="300">带班领导及职务</td>
  93. <td>
  94. <select class="sp-select" ng-model="ctl.data.DBLDZW" ng-disabled="ctl.read==1">
  95. <option ng-repeat="item in ctl.DBLD" value="{{item.CNAME}},{{item.ZHIWU}}">{{item.CNAME}},{{item.ZHIWU}}</option>
  96. </select>
  97. </td>
  98. </tr>
  99. </tbody>
  100. </table>
  101. <table class="sp-grid-import">
  102. <tbody>
  103. <tr>
  104. <td width="100">值班员</td>
  105. <td width="100">白班</td>
  106. <td>
  107. <input type="text" class="sp-input" ng-model="ctl.data.ZBYBB" ng-disabled="ctl.read==1" />
  108. </td>
  109. <td width="100">夜班</td>
  110. <td>
  111. <input type="text" class="sp-input" ng-model="ctl.data.ZBYYB" ng-disabled="ctl.read==1" />
  112. </td>
  113. </tr>
  114. </tbody>
  115. </table>
  116. <table class="sp-grid-import">
  117. <tbody>
  118. <tr>
  119. <td width="50">值<br />班<br />记<br />录</td>
  120. <td>
  121. <textarea class="sp-textarea" rows="10" style="resize:none" ng-model="ctl.data.ZBJL" ng-disabled="ctl.read==1"></textarea>
  122. </td>
  123. </tr>
  124. <tr>
  125. <td>附件</td>
  126. <td>
  127. <div style="width: 100px; height: 100px; padding: 20px 20px 0 0; float: left; position: relative; " ng-repeat="item in ctl.arrayFile" ng-if="ctl.arrayFile.length>0">
  128. <img style="height:100%;cursor:pointer" ng-click="ctl.seePic(item)" ng-src="{{item.FILEURL1}}" />
  129. <span style="position:absolute;right:5px;top:5px;cursor:pointer" ng-click="ctl.deleteFile(item,'IMAGESDATA')" ng-if="ctl.read!=1">
  130. <i class="fa fa-close"></i>
  131. </span>
  132. </div>
  133. <div class="sp-page-col" ng-if="ctl.arrayFile.length<6&&ctl.read!=1">
  134. <span class="upload-img sp-pull-left">
  135. <img ng-click="ctl.beforeUpload()" src="../flowchart_app_imgcss/img/plus.jpg" />
  136. <input id="fileupload" class="upload-img-file-single"
  137. type="file" name="files[]" multiple>
  138. </span>
  139. </div>
  140. </td>
  141. </tr>
  142. </tbody>
  143. </table>
  144. </div>
  145. </div>
  146. </div>
  147. </div>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. <div id="seePic" style="display:none">
  153. <img ng-src="{{ctl.seePicUrl}}" />
  154. </div>
  155. </div>
  156. <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
  157. <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
  158. <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
  159. <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
  160. <script src="../../apiurljs.js"></script>
  161. <script src="../../js/sm4.js"></script>
  162. <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  163. <script>document.write('<scri' + 'pt src="js/workRecord.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
  164. <script src="../../AFrontEnd/js/special/spng.js"></script>
  165. <script src="../../AFrontEnd/js/special/spngvld.js"></script>
  166. <!--附件-->
  167. <script src="../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
  168. <script src="../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
  169. <script src="../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
  170. </body>
  171. </html>