123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
- <title>值班工作日志</title>
- <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
- <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <script>document.write("<link href='../flowchart_app_imgcss/css/formedit.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <script>document.write("<link href='../flowchart_app_imgcss/css/canvasQianzi.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <style>
- .upload-img {
- width: 100px;
- height: 100px;
- overflow: hidden;
- position: relative;
- display: inline-block;
- vertical-align: middle;
- }
- .upload-img img {
- width:100%;
- height:100%;
- cursor: pointer;
- }
- .upload-img-file-single {
- position: absolute;
- width: 62px;
- height: 30px;
- line-height: 30px;
- left: 100px;
- bottom: 30px;
- opacity: 0;
- font-size: 0;
- filter: alpha(opacity=0);
- cursor: pointer !important;
- }
- </style>
- </head>
- <body>
- <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
- <div class="wrapper wrapper-content">
- <div class="row">
- <div class="col-md-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div class="row">
- <div class="col-md-12">
- <div class="sp-box sp-bg-white">
- <div class="sp-page-col">
- <div class="sp-page-title" style="margin:7px 0;">值班工作日志</div>
- </div>
- <div class="sp-page-col sp-pull-right btn-box">
- <a ng-click="ctl.btnSave()" class="sp-btn-gray sp-radius" ng-if="ctl.read!=1">
- <img src="../flowchart_app_imgcss/img/bc.png" height="14" />
- 保 存
- </a>
- <!-- <a href="{{ctl.return}}" class="sp-btn-gray sp-radius">
- <img src="../flowchart_app_imgcss/img/fh.png" height="14" />
- 返 回
- </a> -->
- </div>
- </div>
- <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'}">
- <table class="sp-grid-import">
- <tbody>
- <tr>
- <td width="100">公历</td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.data.GLRQ" ng-disabled="ctl.read==1" ng-change="ctl.changeDate()" />
- </td>
- <td width="100">星期</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.XINGQI" readonly />
- </td>
- <td width="100">天气</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.TIANQI" ng-disabled="ctl.read==1" />
- </td>
- <td width="100">气温</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.QIWEN" ng-disabled="ctl.read==1" />
- </td>
- </tr>
- </tbody>
- </table>
- <table class="sp-grid-import">
- <tbody>
- <tr>
- <td width="300">带班领导及职务</td>
- <td>
- <select class="sp-select" ng-model="ctl.data.DBLDZW" ng-disabled="ctl.read==1">
- <option ng-repeat="item in ctl.DBLD" value="{{item.CNAME}},{{item.ZHIWU}}">{{item.CNAME}},{{item.ZHIWU}}</option>
- </select>
- </td>
- </tr>
- </tbody>
- </table>
- <table class="sp-grid-import">
- <tbody>
- <tr>
- <td width="100">值班员</td>
- <td width="100">白班</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.ZBYBB" ng-disabled="ctl.read==1" />
- </td>
- <td width="100">夜班</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.ZBYYB" ng-disabled="ctl.read==1" />
- </td>
- </tr>
- </tbody>
- </table>
- <table class="sp-grid-import">
- <tbody>
- <tr>
- <td width="50">值<br />班<br />记<br />录</td>
- <td>
- <textarea class="sp-textarea" rows="10" style="resize:none" ng-model="ctl.data.ZBJL" ng-disabled="ctl.read==1"></textarea>
- </td>
- </tr>
- <tr>
- <td>附件</td>
- <td>
- <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">
- <img style="height:100%;cursor:pointer" ng-click="ctl.seePic(item)" ng-src="{{item.FILEURL1}}" />
- <span style="position:absolute;right:5px;top:5px;cursor:pointer" ng-click="ctl.deleteFile(item,'IMAGESDATA')" ng-if="ctl.read!=1">
- <i class="fa fa-close"></i>
- </span>
- </div>
- <div class="sp-page-col" ng-if="ctl.arrayFile.length<6&&ctl.read!=1">
- <span class="upload-img sp-pull-left">
- <img ng-click="ctl.beforeUpload()" src="../flowchart_app_imgcss/img/plus.jpg" />
- <input id="fileupload" class="upload-img-file-single"
- type="file" name="files[]" multiple>
- </span>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div id="seePic" style="display:none">
- <img ng-src="{{ctl.seePicUrl}}" />
- </div>
- </div>
- <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
- <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
- <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
- <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
- <script src="../../apiurljs.js"></script>
- <script src="../../js/sm4.js"></script>
- <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
- <script>document.write('<scri' + 'pt src="js/workRecord.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
- <script src="../../AFrontEnd/js/special/spng.js"></script>
- <script src="../../AFrontEnd/js/special/spngvld.js"></script>
- <!--附件-->
- <script src="../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
- <script src="../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
- <script src="../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
- </body>
- </html>
|