123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728 |
- <!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/formeditFL.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>
- .sp-page-table {
- border-collapse: collapse;
- width: 100%;
- border: 2px solid #000;
- color: #000;
- }
-
- .sp-page-table tbody td {
- text-align: center;
- line-height: 20px;
- padding: 7px 8px;
- border-top: 1px solid #000;
- border-right: 1px solid #000;
- border-bottom: 1px solid #000;
- }
- .formedit tbody td {
- text-align: center;
- line-height: 20px;
- padding: 7px 8px;
- border-top: 1px solid #000;
- border-right: 1px solid #000;
- }
- .sp-page-center input,
- .sp-page-center select,
- .sp-page-center textarea {
- border: 1px solid #fff;
- color: #333;
- }
- .sp-error {
- color: #409EFF;
- }
- .sp-errorTip:hover,
- .sp-errorTip:focus {
- border: 1px solid #409EFF;
- }
- [ng-cloak]{
- display:none
- }
- </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-page mousemove" style="position:fixed;z-index:6;background:#c6c6c6;opacity:0.5;display:none"></div>
- <div class="sp-page" ng-include="'../../forward/header.html'"></div>
- <div class="sp-page sp-fs-16" style="height: 46px; border-bottom: 1px solid #c6c6c6;padding-left:5px">
- <div class="sp-page-col sp-pull-right">
- <div class="sp-page-col" ng-repeat="item in ctl.buttonList">
- <button class="sp-btn-sm sp-radius" style="padding: 4px 10px; margin: 6px 3px;" ng-class="{'sp-btn-gray':item.CODE.indexOf('SENDITEM')==-1,'sp-btn-blue':item.CODE.indexOf('SENDITEM')!=-1}" ng-click="ctl.btnEvent(item)" ng-if="item.CODE!='array'&&ctl.dotype==1||(ctl.dotype!=1&&item.EXPLAIN=='1')">
- <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
- <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
- <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
- <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
- {{item.CNAME}}
- </button>
- <button style="padding: 4px 10px; margin: 6px 3px; position: relative; " class="sp-btn-md sp-radius sp-btn-blue tiaoahao" ng-if="item.CODE=='array'&&ctl.dotype==1">
- {{item.CNAME}}
- <div class="sp-page" style="width:auto;background:#fff;border:1px solid #ccc;position:absolute;top:28px;left:50%;transform:translateX(-50%);z-index:12;display:none">
- <div class="sp-page sp-text-center" ng-repeat="item1 in item.data">
- <div class="sp-radius" ng-class="{'sp-btn-gray':item1.CODE.indexOf('SENDITEM')==-1,'sp-btn-blue':item1.CODE.indexOf('SENDITEM')!=-1}" ng-click="ctl.btnEvent(item1)">{{item1.CNAME}}</div>
- </div>
- </div>
- </button>
- </div>
- <button class="sp-btn-gray sp-btn-sm sp-radius" style="padding: 4px 10px; margin: 6px 3px;" onclick="javascript: window.close(); localStorage.setItem('GlWorkPlatform-sixiangdb-refresh', 1)" ng-if="ctl.deviceType!='pad'">
- <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
- 关闭
- </button>
- <button class="sp-btn-gray sp-btn-sm sp-radius" style="padding: 4px 10px; margin: 6px 3px;" onclick="javascript: history.go(-1); localStorage.setItem('GlWorkPlatform-sixiangdb-refresh', 1)" ng-if="ctl.deviceType=='pad'">
- <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
- 关闭
- </button>
- </div>
- <div class="sp-page-col sp-pull-right" style="position:relative">
- <button class="sp-btn-gray sp-btn-sm sp-radius tiaoahao" style="display: inline-block; padding: 4px 10px;margin-top:5px">
- 文件
- <div class="sp-page" style="width: 100px; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; left: -25px; z-index: 12">
- <div class="sp-page sp-text-center" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; " onclick="$('.rightBox').children().eq(0).trigger('click');">文单</div>
- <div class="sp-page sp-text-center" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; " ng-click="ctl.editFile(ctl.gaoTypeArrayFirst[0],'正文')">正文</div>
- <div class="sp-page sp-text-center tiaoahao" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; ">
- 附件({{ctl.arrayFile1.length}})
- <span style="display:inline-block;top:0" class="upload sp-pull-right sp-ml-5" ng-if="ctl.routeinfoid!=0&&ctl.dotype==1&&ctl.userId==ctl.data.SQRUSERID">
- <span class="upload-tip"></span>
- <input id="fileupload" class="upload-file-single" ng-click="ctl.upload();$event.stopPropagation();" type="file" name="files[]" multiple>
- <i class="fa fa-plus sp-fs-14 sp-mr-10"></i>
- <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
- </span>
- <div class="sp-page" ng-if="ctl.arrayFile1.length!=0" style="width: 200px; padding: 2px 5px; margin-top: -30px; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; right: 100px; z-index: 12">
- <div class="sp-page" ng-repeat="item in ctl.arrayFile1">
- <span ng-bind="item.FILENAMES" title="{{item.FILENAMES}}" style="max-width: calc(100% - 80px); display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer" ng-click="ctl.seeFile(item,1,'附件')"></span>
- <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoad(item)" title="下载">
- <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
- </a>
- <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteFile(item)" title="删除">
- <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
- </a>
- </div>
- </div>
- </div>
- <div class="sp-page sp-text-center tiaoahao" style="padding: 5px 0; cursor: pointer; ">
- 公文模板
- <span style="display:inline-block;top:0" class="upload sp-pull-right sp-ml-5" ng-click="ctl.openGLJ();$event.stopPropagation();" ng-if="ctl.routeinfoid!=0&&ctl.dotype==1">
- <i class="fa fa-plus sp-fs-14 sp-mr-10"></i>
- </span>
- <div class="sp-page" ng-if="ctl.guanlian.length!=0||ctl.glList.length!=0" style="width: 200px; padding: 2px 5px; margin-top: -30px; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; right: 100px; z-index: 12">
- <div class="sp-page" ng-repeat="item in ctl.guanlian">
- <span title="{{item.DOCNAME.split('-')[0]}}:{{item.FILENAMES}}" style="max-width: calc(100% - 80px); display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; " ng-click="ctl.editFile(item,'公文模板')">
- {{item.DOCNAME.split('-')[0]}}:{{item.FILENAMES}}
- </span>
- <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoaDWG(item)" title="下载">
- <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
- </a>
- <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteWG(item)" title="删除">
- <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
- </a>
- <a class="sp-pull-right sp-mr-10" ng-click="ctl.creatFLOW(item)" title="创建流程">
- <img src="../../flowchart_app_imgcss/img/attachlist/bz.png" title="创建流程" />
- </a>
- </div>
- <div class="sp-page" ng-repeat="item in ctl.glList" style="padding: 7px 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; ">
- <span title="{{item.FLOWNAME}}:{{item.TITLE}}" style="cursor: pointer; ellipsis" ng-click="ctl.openGL(item)">
- <i class="fa fa-sign-in" ng-if="item.type=='FLOWIN'"></i><i class="fa fa-sign-out" ng-if="item.type=='FLOWOUT'"></i>{{item.FLOWNAME}}:{{item.TITLE}}
- </span>
- </div>
- </div>
- </div>
- <div class="sp-page sp-text-center tiaoahao" style="border-bottom: 1px solid #ccc; padding: 5px 0; cursor: pointer; ">
- 回文附件({{ctl.HWFJ.length}})
- <div class="sp-page" ng-if="ctl.HWFJ.length!=0" style="width: 200px; padding: 2px 5px; margin-top: -30px; display: none; background: #fff; border: 1px solid #e6e6e6; position: absolute; right: 100px; z-index: 12; ">
- <div class="sp-page" ng-repeat="item in ctl.HWFJ">
- <span ng-bind="item.FILENAME" title="{{item.FILENAME}}" style="max-width: calc(100% - 80px); display: inline-block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; cursor: pointer" ng-click="ctl.seeFile(item,1,'附件')"></span>
- <a class="sp-pull-right sp-mr-10" ng-click="ctl.downLoadOption(item)" title="下载">
- <img src="../../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
- </a>
- <a class="sp-pull-right sp-mr-10" ng-click="ctl.deleteOptionFile(item,item.COLID)" title="删除">
- <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
- </a>
- </div>
- </div>
- </div>
- </div>
- </button>
- </div>
- </div>
- <div class="page-item leftBox" style="width: 70%;">
- <div class="sp-page" id="iframeList" ng-if="ctl.iframeList.length!=0">
- <div class="sp-page-col" style="width: 36px; height: 100%; border-right: 1px solid #ccc; white-space: revert; left: 0;transform:translateX(0)" ng-if="ctl.iframeHide>0">
- <div style="border-bottom:1px solid #ccc" ng-repeat="item in ctl.iframeList" ng-if="item.show==2">
- <div style="padding: 5px; text-align: center; cursor: pointer" title="{{item.filename}}" ng-bind="item.title" ng-click="ctl.showItem($index)"></div>
- </div>
- </div>
- <div class="iframe-item" ng-style="item.boxStyle" ng-repeat="item in ctl.iframeList" repeat-finish>
- <div class="iframe-title" ng-style="item.boxStyle" ng-show="item.show==1" ng-bind="item.title"></div>
- <div class="iframe-item-btn" ng-if="item.show==1">
- <button class="sp-btn-gray sp-btn-sm sp-radius" ng-if="false" ng-click="ctl.openItem(item)">新窗口</button>
- <button class="sp-btn-gray sp-btn-sm sp-radius" ng-if="item.edit==true" ng-click="ctl.btnSaveFile(item.fileid)">保存</button>
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.closeItem($index)" ng-if="item.title!='文档'">X</button>
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.getHB()" ng-disabled="ctl.reloafHB" ng-if="item.title=='文档'">重新加载</button>
- <button class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.hideItem($index)">
- <i class="fa fa-angle-left fa-lg"></i>
- </button>
- </div>
- <div class="iframe-border-right" ng-show="$index!=ctl.iframeLast&&ctl.iframeShow>1&&item.show==1"></div>
- <iframe ng-src="{{item.url}}" ng-show="item.show==1" ng-style="item.iframeStyle" style="padding-top:35px" frameborder="0" class="iframe" scrolling="no"></iframe>
- </div>
- </div>
- </div>
- <div class="page-item rightBox" style="width: 30%; padding-left: 10px; position: relative; ">
- <div class="sp-page-col" style="width: 10px; height: 46px; background: #d0d0d0; position: absolute;left: 0; top: 0px; z-index: 11; cursor: pointer; border:0px solid yellow" onclick="showRight(this)" ng-if="ctl.iframeList.length!=0">
- <i class="fa fa-angle-left" style="font-size: 30px; position: absolute; top: 50%; transform: translateY(-50%); display: none"></i>
- <i class="fa fa-angle-right" style="font-size: 30px; position: absolute; top: 50%; transform: translateY(-50%); "></i>
- </div>
- <div class="border-left-right left-right" ng-init="ctl.reSizeLR(1)"></div>
- <div class="sp-page formedit sp-pb-30">
- <div class="sp-page sp-mt-10">
- <div class="sp-page-col pointer" onclick="toggleForm(this)">
- <i class="fa fa-angle-down fa-lg"></i>
- <i class="fa fa-angle-right fa-lg" style="display: none"></i>
- 督办单
- </div>
- <div class="sp-line-gray"></div>
- </div>
- <div class="form-item" ng-if="!ctl.hide('show','BH')">
- <div class="sp-col-30" style="line-height:32px;" title="编号">编 号:</div>
- <div class="sp-col-70">
- <input type="text" class="sp-input" ng-model="ctl.data.BH" ng-disabled="ctl.hide('readonly','BH')" ng-change="ctl.changeFiled('BH')" />
- </div>
- </div>
- <div class="form-item" ng-if="!ctl.hide('show','DBSX1')">
- <div class="sp-col-30" style="line-height:32px;" title="督办名称">督办名称:</div>
- <div class="sp-col-70">
- <input type="text" class="sp-input" ng-model="ctl.data.DBSX1" ng-disabled="ctl.hide('readonly','DBSX1')" ng-change="ctl.changeFiled('DBSX1')" title="{{ctl.data.DBSX1}}" />
- </div>
- </div>
- <div class="form-item" ng-if="!ctl.hide('show','JBSXLY')">
- <div class="sp-col-30" style="line-height:32px;" title="事项来源">事项来源:</div>
- <div class="sp-col-70">
- <select class="sp-select" ng-model="ctl.data.JBSXLY" ng-disabled="ctl.hide('readonly','JBSXLY')" ng-change="ctl.changeFiled('JBSXLY')">
- <option ng-repeat="item in ctl.JBSXLY" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
- </select>
- </div>
- </div>
- <div class="sp-page toggleForm">
- <div class="form-item" ng-if="!ctl.hide('show','DBLX')">
- <div class="sp-col-30" style="line-height:32px;" title="督办类型">督办类型:</div>
- <div class="sp-col-70">
- <select class="sp-select" ng-model="ctl.data.DBLX" ng-disabled="ctl.hide('readonly','DBLX')" ng-change="ctl.changeFiled('DBLX')">
- <option ng-repeat="item in ctl.DBLX" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
- </select>
- </div>
- </div>
- <div class="form-item" ng-if="!ctl.hide('show','ZDLX')">
- <div class="sp-col-30" style="line-height:32px;" title="督办事项">督办事项:</div>
- <div class="sp-col-70">
- <select class="sp-select" ng-model="ctl.data.ZDLX" ng-disabled="ctl.hide('readonly','ZDLX')" ng-change="ctl.changeFiled('ZDLX')">
- <option ng-repeat="item in ctl.ZDLX" value="{{item.CODE}}" ng-selected="ctl.data.ZDLX==item.CODE" ng-bind="item.CNAME"></option>
- </select>
- </div>
- </div>
- <div class="form-item" ng-if="!ctl.hide('show','JTGZYQ')">
- <div class="sp-col-30" style="line-height:32px;" title="具体要求">具体要求:</div>
- <div class="sp-col-70">
- <textarea class="sp-textarea" ng-model="ctl.data.JTGZYQ" ng-readonly="ctl.hide('readonly','JTGZYQ')" ng-change="ctl.changeFiled('JTGZYQ')" title="{{ctl.data.JTGZYQ}}" rows="5" style="resize:none;"></textarea>
- </div>
- </div>
- <div class="form-item" ng-if="!ctl.hide('show','WCSX')">
- <div class="sp-col-30" style="line-height:32px;" title="要求完成时限">要求完成时限:</div>
- <div class="sp-col-70">
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.data.WCSX" ng-disabled="ctl.hide('readonly','WCSX')" ng-change="ctl.changeFiled('WCSX')" />
- </div>
- </div>
- <!--<div class="form-item">
- <div class="sp-col-30" style="line-height:32px;" title="附件是否可编辑">附件是否可编辑:</div>
- <div class="sp-col-70">
- <select class="sp-select" ng-model="ctl.data.FILEEDIT">
- <option value=""></option>
- <option value="C01">可编辑</option>
- <option value="C02">不可编辑</option>
- </select>
- </div>
- </div>-->
- </div>
- <div class="sp-page sp-mt-10" ng-if="ctl.opinionList1.length>0">
- <div class="sp-col-100" style="border-top:1px solid #999" ng-repeat="item in ctl.opinionList1">
- <div class="sp-page-col sp-ml-10">
- {{item.name}}
- </div>
- <div class="sp-col-100 sp-mb-5" style="border:1px solid #999" ng-repeat="item1 in ctl.YJ[item.col]">
- <div class="sp-page sp-color-red" style="border-bottom:1px solid #999;font-weight:700">
- {{item1.SECTION}}
- </div>
- <div class="sp-page" ng-repeat="item2 in item1.data">
- <div class="sp-page" ng-if="(item.col!='BLQK'&&item.col!='CNBLQK')||item2.STATUS=='0'">
- <p ng-if="!item2.OPINIONIMAGE" class="sp-page sp-text-left" ng-bind-html="item2.OPINION | trustHtml"></p>
- <div class="sp-page sp-text-right sp-pull-right" style="line-height:40px">
- <span ng-bind="item2.CMANNAME"></span>
- <span ng-bind="item2.CDATE"></span>
- </div>
- </div>
- <div class="sp-page sp-text-right" ng-if="(item.col!='BLQK'&&item.col!='CNBLQK')||item2.STATUS=='0'">
- <div class="opbtn" style="color: #FF6F6F; display: inline-block; " ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1"
- ng-click="ctl.Dopinion(item.col)">
- <i class="fa fa-trash-o fa-lg"></i>
- </div>
- <div class="opbtn" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1" style="color: #66D151; display: inline-block; "
- ng-click="ctl.changeOpinionItem('BGSNBYJ',item)">
- <i class="fa fa-pencil fa-lg"></i>
- </div>
- </div>
- <div class="qianzi" ng-if="(item.col!='BLQK'&&item.col!='CNBLQK')||item2.STATUS=='0'">
- <div ng-repeat="y in item2.FILEDATA" style="width: 100%; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
- <a ng-click="ctl.downLoadOption(y)" title="下载">
- <i class="fa fa-download sp-color-red"></i>
- </a>
- <a ng-click="ctl.deleteOptionFile(y,item.col)" title="删除" ng-if="y.ROUTEID==ctl.routeid">
- <i class="fa fa-trash sp-color-red"></i>
- </a>
- <span ng-bind="y.FILENAME" title="{{y.FILENAME}}"></span>
- </div>
- </div>
- <div class="sp-box" ng-if="item2.CHILDARRAY&&item2.CHILDARRAY.length>0">
- <div class="sp-page-col">处内意见</div>
- <div class="sp-page-col sp-pull-right" ng-init="item2.childrenShow=false" ng-click="item2.childrenShow=!item2.childrenShow">
- <i class="fa fa-angle-down fa-lg" ng-show="item2.childrenShow==true"></i>
- <i class="fa fa-angle-left fa-lg" ng-show="item2.childrenShow==false"></i>
- {{item2.CHILDARRAY.length}}
- </div>
- <div class="sp-page" ng-repeat="item3 in item2.CHILDARRAY" ng-show="item2.childrenShow==true">
- <div class="sp-page">
- <p ng-if="!item3.OPINIONIMAGE" class="sp-page sp-text-left" ng-bind-html="item3.OPINION | trustHtml"></p>
- <div class="sp-page sp-text-right sp-pull-right" style="line-height:40px">
- <span ng-bind="item3.CMANNAME"></span>
- <span ng-bind="item3.CDATE"></span>
- </div>
- </div>
- <div class="sp-page sp-text-right">
- <div class="opbtn" style="color: #FF6F6F; display: inline-block; " ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1"
- ng-click="ctl.Dopinion(item.col)">
- <i class="fa fa-trash-o fa-lg"></i>
- </div>
- <div class="opbtn" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1" style="color: #66D151; display: inline-block; "
- ng-click="ctl.changeOpinionItem('BGSNBYJ',item)">
- <i class="fa fa-pencil fa-lg"></i>
- </div>
- </div>
- <div class="qianzi">
- <div ng-repeat="y in item3.FILEDATA" style="width: 100%; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
- <a ng-click="ctl.downLoadOption(y)" title="下载">
- <i class="fa fa-download sp-color-red"></i>
- </a>
- <a ng-click="ctl.deleteOptionFile(y,'CNBLQK')" title="删除" ng-if="y.ROUTEID==ctl.routeid">
- <i class="fa fa-trash sp-color-red"></i>
- </a>
- <span ng-bind="y.FILENAME" title="{{y.FILENAME}}"></span>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <textarea id="{{item.col}}" class="op-textarea sp-mb-10" style=" border: solid 1px #3bb4f2;height:400px" ng-model="ctl.data[item.col]" ng-if="ctl.opinion[item.col+'Img']==false&&!item.readonly"></textarea>
- <div ng-if="ctl.opinion[item.col+'Img']==true">
- <div id="{{item.col}}QZ" class="canvas" style="border:1px solid #ccc"></div>
- </div>
- <div class="sp-page">
- <div class="qianzi" ng-if="ctl.YJ[item.col+'STATUS']==true">
- <div ng-repeat="y in ctl.USERYJFJ" style="width: 100%; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
- <a ng-click="ctl.downLoadOption(y)" title="下载">
- <i class="fa fa-download sp-color-red"></i>
- </a>
- <a ng-click="ctl.deleteOptionFile(y,y.COLID)" title="删除" ng-if="y.ROUTEID==ctl.routeid">
- <i class="fa fa-trash sp-color-red"></i>
- </a>
- <span ng-bind="y.FILENAME" title="{{y.FILENAME}}" ng-click="ctl.openNewWindow(y)"></span>
- </div>
- </div>
- <!--<div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion[item.col+'Img']==false,'sp-qz-gray':ctl.opinion[item.col+'Img']==true}" ng-click="ctl.opinion[item.col+'Img']=false">文字</div>-->
- <!--<div class="sp-pull-left" ng-class="{'sp-qz-blue':ctl.opinion[item.col+'Img']==true,'sp-qz-gray':ctl.opinion[item.col+'Img']==false}" ng-click="ctl.QianZi(item.col)">手签</div>-->
- <!--<span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.opinion[item.col+'Img']=false">取消</span>-->
- <!--<span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.canvasClear(item.col)" ng-if="ctl.opinion[item.col+'Img']==true">清除</span>-->
- <div style="display: inline-block; position: relative;" ng-if="ctl.YJ[item.col+'STATUS']==true&&!ctl.hide('readonly',item.col)">
- <span class="opbtn" style="position: relative; color: #1c84c6">
- <span class="upload-tip"></span>
- <input id="fileupload-{{item.col}}" class="upload-file-single" ng-click="ctl.upload2(item.col)" type="file" name="files[]" multiple>
- <i class="fa fa-upload"></i>
- <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
- </span>
- </div>
- <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase(item.col)" ng-if="ctl.opinion[item.col+'Img']==false&&item.readonly==false">常用语</span>
- <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.Sopinion(item.col)" ng-if="item.readonly==false">保存</span>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-page sp-pt-10" style="width: calc(100% - 20px); max-width: 1100px; height: 10px; background: #F0F9FF; box-shadow: 0 -2px 5px #c3c3c3; position: absolute; bottom: 0;right:2px; z-index: 11">
- <div class="sp-page-col toggle" style="width: 100px; height: 20px; font-size: 14px; text-align: center; background: #E0E0E0; cursor: pointer; color: #333; position: absolute; right: 0; top: -20px; border-radius: 10px 10px 0 0; " onclick="toggleYJL(this)">
- 附言
- <i class="fa fa-angle-double-up fa-lg"></i>
- <i class="fa fa-angle-double-down fa-lg" style="display: none"></i>
- </div>
- <div class="sp-page" style="height: 100%; line-height: 30px; background: #fff; overflow: hidden; ">
- <div class="sp-page" ng-if="ctl.opinion.nulla==true">
- <textarea id="nulla" ng-model="ctl.nulla" class="op-textarea sp-mb-5 sp-mt-5" style="height:200px"></textarea>
- <div class="sp-page sp-pb-5" style="border-bottom:1px solid #999">
- <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.closeOptionList()">取消</span>
- <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.submitOptionList(2)">保存</span>
- <span class="sp-btn-gray sp-btn-sm sp-btn-radius sp-pull-right" ng-click="ctl.phrase()">常用语</span>
- </div>
- </div>
- <div class="sp-page" style="max-height:calc(100% - 250px);overflow-y:auto">
- <div class="qianzi" ng-repeat="item in ctl.YJ.nulla" ng-if="item.COLID==''">
- <div class="sp-page">
- <div class="sp-page" style="border:1px solid #e6e6e6;">
- <div class="sp-page" style="padding: 10px 5px;">
- <p class="sp-page sp-text-left" ng-bind-html="item.OPINION | trustHtml"></p>
- <div ng-repeat="item in item.FILEDATA" style="width: 100%; display: inline-block; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: relative; top: 5px; margin-left: 10px">
- <a ng-click="ctl.downLoadOption(item)" title="下载">
- <i class="fa fa-download sp-color-red"></i>
- </a>
- <a ng-click="ctl.deleteOptionFile(item,'')" title="删除" ng-if="item.ROUTEID==ctl.routeid">
- <i class="fa fa-trash sp-color-red"></i>
- </a>
- <span ng-bind="item.FILENAME" title="{{item.FILENAME}}" ng-click="ctl.openNewWindow(item)"></span>
- </div>
- <div style="display: inline-block; position: relative; margin-left: 10px; line-height: 40px;" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1">
- <span class="opbtn" style="position: relative; color: #1c84c6">
- <span class="upload-tip"></span>
- <input id="fileupload1" class="upload-file-single" ng-click="ctl.upload1()" type="file" name="files[]" multiple>
- <i class="fa fa-upload"></i>
- <span class="upload-loading" ng-if="ctl.uploading1"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
- </span>
- </div>
- <div class="sp-page sp-text-right sp-pull-right">
- <span ng-bind="item.CMANNAME"></span>
- <br />
- <span ng-bind="item.CDATE"></span>
- </div>
- <div class="sp-page sp-text-right">
- <span class="opbtn" style="color: #FF6F6F; width: 55px; "
- ng-click="ctl.Dopinion('')" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1">
- <i class="fa fa-trash-o fa-lg"></i>
- </span>
- <span class="opbtn" style="color: #66D151; width: 55px; "
- ng-click="ctl.changeOptionList(item)" ng-if="item.ROUTEID==ctl.routeid&&ctl.dotype==1">
- <i class="fa fa-pencil fa-lg"></i>
- </span>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="DpList" style="width: 900px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 部门列表
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
- <div class="sp-page" style="height:290px;overflow:auto">
- <label class="sp-col-20">
- <input type="checkbox" style="position:relative;top:2px" ng-checked="ctl.AllCheckedDp[ctl.filed]" ng-click="ctl.checkAllDp()" />
- 全选
- </label>
- <div class="sp-page">
- <label class="sp-col-25" title="{{item.SECTION}}" ng-repeat="item in ctl.DpList[ctl.filed]">
- <input type="checkbox" style="position:relative;top:2px" ng-checked="item.checked" ng-click="ctl.checkDpItem(item)" />
- {{item.SECTION}}
- </label>
- </div>
- </div>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.submitDpList(0)"><i class="fa fa-check sp-mr-5"></i>确 定</a>
- <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="print" style="width: 400px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 打印
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
- <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==1}" ng-click="ctl.printFiled=1">
- <div class="printItem">表单</div>
- </center>
- <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==2}" ng-click="ctl.printFiled=2">
- <div class="printItem">意见</div>
- </center>
- <center class="sp-col-33" style="cursor:pointer" ng-class="{'activePirnt':ctl.printFiled==3}" ng-click="ctl.printFiled=3">
- <div class="printItem">表单+意见</div>
- </center>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.printSubmit()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
- <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="phrase" style="width:450px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 常用语库
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
- <div class="sp-box">
- <div class="sp-col-70">
- <input type="text" ng-model="ctl.phraseText" class="sp-input" />
- </div>
- <div class="sp-col-30">
- <span class="sp-btn-blue sp-pull-left sp-radius" ng-class="{'sp-disabled':ctl.phraseText==''}" ng-click="ctl.Aphrase()">添加常用语</span>
- </div>
- </div>
- <div class="sp-box">
- <div class="sp-col-25" style="line-height:30px;">
- 常用语:
- </div>
- <div class="sp-col-55">
- <select class="sp-select sp-bg-white" ng-model="ctl.phraseSelect">
- <option ng-repeat="item in ctl.phraseList" value="{{item.CONTENTS}}" ng-bind="item.CONTENTS"></option>
- </select>
- </div>
- <div class="sp-col-20">
- <span class="sp-btn-blue sp-pull-left sp-radius" ng-click="ctl.Dphrase()">删除</span>
- </div>
- </div>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.btnPhrase()"><i class="fa fa-check sp-mr-5"> </i>确 认</a>
- <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="forward" style="width: 1000px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 转 发
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
- <iframe id="forwardWin" style="width:100%;border:0"></iframe>
- </div>
- </div>
- <div class="sp-layer" id="RouteList" style="width:900px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 流转记录
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
- <table class="sp-table">
- <thead>
- <tr>
- <th style="width:100px"><strong>流程名称</strong></th>
- <th style="width:200px"><strong>标题</strong></th>
- <th style="width:100px"><strong>工作节点</strong></th>
- <th style="width:100px"><strong>转发人</strong></th>
- <th style="width:100px"><strong>主送</strong></th>
- <th style="width:150px"><strong>抄送</strong></th>
- <th style="width:200px"><strong>发送日期</strong></th>
- </tr>
- </thead>
- </table>
- <div style="overflow-y:scroll;max-height:400px">
- <table class="sp-table" style="margin-top: -38px">
- <thead>
- <tr>
- <th style="width:100px"><strong>流程名称</strong></th>
- <th style="width:200px"><strong>标题</strong></th>
- <th style="width:100px"><strong>工作节点</strong></th>
- <th style="width:100px"><strong>转发人</strong></th>
- <th style="width:100px"><strong>主送</strong></th>
- <th style="width:150px"><strong>抄送</strong></th>
- <th style="width:200px"><strong>发送日期</strong></th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.routeList">
- <td ng-bind="item.FLOWNAME"></td>
- <td ng-bind="item.TITLE"></td>
- <td ng-bind="item.ENDNODENAME"></td>
- <td ng-bind="item.USERNAMEFROM"></td>
- <td ng-bind="item.mainUser"></td>
- <td ng-bind="item.copyUsers"></td>
- <td ng-bind="item.RECEIVEDATE"></td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="USAGE" style="width:900px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 管理标签
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body">
- <div class="input-group col-lg-8">
- <input type="text" ng-model="ctl.addUSAGENAME" class="form-control" placeholder="新增标签">
- <span class="input-group-btn">
- <button ng-click="ctl.addUSAGE()" class="btn btn-success" type="button">增加</button>
- </span>
- </div>
- <br />
- <table class="sp-table">
- <thead>
- <tr>
- <th style="width: 50px"><strong>序号</strong></th>
- <th style="width: 200px"><strong>标签名称</strong></th>
- <th style="width: 100px"><strong>状态</strong></th>
- <th style="width: 200px"><strong>操作</strong></th>
- </tr>
- </thead>
- </table>
- <div style="overflow-y:scroll;max-height:400px">
- <table class="sp-table" style="margin-top: -38px">
- <thead>
- <tr>
- <th style="width: 50px"><strong>序号</strong></th>
- <th style="width: 200px"><strong>标签名称</strong></th>
- <th style="width: 100px"><strong>状态</strong></th>
- <th style="width: 200px"><strong>操作</strong></th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.USAGELIST">
- <td ng-bind="$index+1"></td>
- <td>
- <span ng-if="item.change==false" ng-bind="item.CNAME"></span>
- <input type="text" ng-if="item.change==true" class="sp-input" ng-model="item.CNAME1" />
- </td>
- <td>
- <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='隐藏'" ng-click="ctl.updataUSAGE(item,'显示')">显 示</button>
- <button class="sp-btn-red-outline sp-btn-sm sp-btn-radius" ng-if="item.USAGE=='显示'" ng-click="ctl.updataUSAGE(item,'隐藏')">隐 藏</button>
- </td>
- <td>
- <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort($index,'上移')" ng-disabled="{{$index}}==0">上 移</button>
- <button class="sp-btn-gray-outline sp-btn-radius sp-btn-sm" ng-click="ctl.btnSort($index,'下移')" ng-disabled="{{$index}}=={{ctl.USAGELIST.length-1}}">下 移</button>
- <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-disabled="item.USERID!=ctl.userId" ng-if="item.change==false" ng-click="item.change=true">编 辑</button>
- <button class="sp-btn-blue-outline sp-btn-sm sp-btn-radius" ng-if="item.change==true" ng-click="ctl.updataUSAGE(item,'CNAME')">保 存</button>
- <button class="sp-btn-red-outline sp-btn-sm sp-btn-radius" ng-disabled="item.USERID!=ctl.userId" ng-click="ctl.deleteUSAGE(item)">删 除</button>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="GLJ" style="width: 600px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 关 联
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
- <iframe id="GLJWin" style="width:100%;border:0"></iframe>
- </div>
- </div>
- </div>
- <script type="text/ng-template" id="/treeView.html">
- <ul>
- <li ng-repeat="item in treeData" ng-include="'/treeItem.html'"></li>
- </ul>
- </script>
- <script type="text/ng-template" id="/treeItem.html">
- <p ng-class="{'pActive':item.checked}">
- <i ng-click="itemExpended(item, $event);" class="{{getItemIcon(item)}}"></i>
- <span style="display: inline-block;height: 18px;line-height: 18px;" ng-click="warpCallback('itemCheck', item, $event);">
- {{item[textField]}}
- </span>
- <span class="edit-menu sp-color-gray">
- <i ng-if="item.LEVELS!=3"
- ng-click="warpCallback('itemAdd', item, $event);" title="新增分类" class="fa fa-plus"></i>
- <i ng-if="item.LEVELS!=1"
- ng-click="warpCallback('itemEdit', item, $event);" title="编辑分类" class="fa fa-pencil"></i>
- <i ng-if="!item.C_H_I_L_D_DATA || item.C_H_I_L_D_DATA.length<1"
- ng-click="warpCallback('itemDelete', item, $event);" title="删除分类" class="fa fa-trash"></i>
- <i ng-if="$index!=0"
- ng-click="warpCallback('itemUp', item, $index, $event);" title="上移" class="fa fa-arrow-up"></i>
- <i ng-if="$index+1!=item.C_H_I_L_D_DATA_L"
- ng-click="warpCallback('itemDown', item, $index, $event);" title="下移" class="fa fa-arrow-down"></i>
- </span>
- </p>
- <ul ng-if="!isEnd(item)" ng-show="!item.$$isExpend">
- <li ng-repeat="item in item.C_H_I_L_D_DATA" ng-include="'/treeItem.html'"></li>
- </ul>
- </script>
- <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/watermark.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/formeditFL.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>
|