123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- <!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>
- .flow-item {
- overflow:hidden;
- white-space:nowrap;
- text-overflow:ellipsis;
- }
- </style>
- </head>
- <body>
- <div ng-controller="GLJCtrl as ctl" id="app" ng-cloak>
- <div class="sp-page" style="width:980px;">
- <div class="sp-layer-body" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
- <div ng-if="ctl.type==0">
- <div class="sp-page">
- 关联上级件
- </div>
- <div class="sp-line-gray" ng-if="ctl.flowid!='AA16'&&ctl.flowid!='AA18'"></div>
- <div class="sp-page" ng-repeat="item in ctl.FLOWIN" ng-if="ctl.flowid!='AA16'&&ctl.flowid!='AA18'">
- <div class="sp-col-20 flow-item" ng-bind="item.FLOWNAME"></div>
- <div class="sp-col-65 flow-item" ng-bind="item.TITLE"></div>
- <div class="sp-col-15"><button class="sp-btn-blue sp-radius" ng-click="ctl.delFLOW(item)">解除关联</button></div>
- </div>
- <center ng-if="ctl.flowid!='AA16'&&ctl.flowid!='AA18'"><button class="sp-btn-blue sp-radius" ng-click="ctl.CREATFLOW(1,1)">关联已有件</button></center>
- <div class="sp-page">
- 下级关联件
- </div>
- <div class="sp-line-gray"></div>
- <div class="sp-page" ng-repeat="item in ctl.FLOWOUT">
- <div class="sp-col-20 flow-item" ng-bind="item.FLOWNAME"></div>
- <div class="sp-col-65 flow-item" ng-bind="item.TITLE"></div>
- <div class="sp-col-15"><button class="sp-btn-blue sp-radius" ng-click="ctl.delFLOW(item)">解除关联</button></div>
- </div>
- <center><button class="sp-btn-blue sp-radius" ng-click="ctl.CREATFLOW(2,1)">关联已有件</button></center>
- </div>
- <div ng-if="ctl.type>0">
- <div class="sp-page">
- 选择已有件
- </div>
- <div class="sp-line-gray"></div>
- <div class="sp-box">
- 标题:<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>
- </div>
- <div class="sp-page" dir-paginate="item in ctl.gljList|itemsPerPage:10" total-items="ctl.total_count">
- <div class="sp-col-20 flow-item" ng-bind="item.FLOWNAME"></div>
- <div class="sp-col-65 flow-item" ng-bind="item.TITLE"></div>
- <div class="sp-col-15"><button class="sp-btn-blue sp-radius" ng-click="ctl.subFLOW(item)">确认关联</button></div>
- </div>
- <div class="sp-table-tip ng-hide" ng-show="ctl.gljList.length == 0">
- <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
- </div>
- <div class="sp-page" ng-show="ctl.noDataTip != 0">
- <div class="sp-page-col sp-pull-right">
- <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
- on-page-change="ctl.CREATFLOW(ctl.type, newPageNumber)">
- </dir-pagination-controls>
- </div>
- </div>
- <center><button class="sp-btn-blue sp-radius" ng-click="ctl.type=0">关闭</button></center>
- </div>
- </div>
- </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/GLJ1.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>
- </body>
- </html>
|