123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <!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" />
- <link href="./css/chat.css" rel="stylesheet" />
- <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <style>
- </style>
- </head>
- <body>
- <div ng-controller="listCtrl as ctl" ng-cloak>
- <div class="loading" ng-if="ctl.loading">
- <div class="loading-msg">
- <h3>数据加载中,请等待</h3>
- <div class="spinner">
- <div class="bounce1"></div>
- <div class="bounce2"></div>
- <div class="bounce3"></div>
- </div>
- </div>
- </div>
- <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-tab">
- <span ng-class="{'pageTabActive':ctl.type=='1'}" style="font-weight: 900; " ng-click="ctl.changeType('1')">全部消息</span>
- <span ng-class="{'pageTabActive':ctl.type=='2'}" style="font-weight: 900; " ng-click="ctl.changeType('2')">未读消息</span>
- <!--<div class="sp-pull-right">
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()">
- <i class="fa fa-refresh sp-mr-5"></i>刷 新
- </a>
- </div>-->
- </div>
- <div class="sp-page">
- <div class="chat-box">
- <div class="contacts col-md-4">
- <div class="contact contactsSystem" ng-click="ctl.loadChatSystem('系统消息')">
- <img src="./img/star.png" width="50" height="50">
- <span>系统消息</span>
- <span class="news">{{ctl.noRead}}</span>
- </div>
- <div ng-repeat="item in ctl.list" repeat-finish>
- <div class="contact" ng-click="ctl.loadChat(item[0].SENDER, item[0])">
- <img src="../../AFrontEnd/css/icons/photo/02.jpg" width="50" height="50">
- <span ng-if="ctl.isOnline(item) === true"><span style="font-weight: 800">{{item[0].SENDER}}</span><span style="color: green">(在线)</span></span>
- <span ng-if="ctl.isOnline(item) === false">{{item[0].SENDER}}<span style="color: grey" >(离线)</span></span>
- <span ng-if="item[0].FLOWNAME" class="news">{{item.length}}</span>
- </div>
- </div>
- </div>
- <div class="col-md-20" style="width: 100%; padding: 0 0 0 20px;">
- <!--当前聊天人-->
- <div class="chat" style="overflow: hidden; margin: 20px 0;" id="chatSectionContent"></div>
- <div id="chatContent" style="overflow: auto;height: 55vh;background: #fbfbfb;">
- <!--当前信息-->
- <div ng-repeat="item in ctl.ItemList" repeat-finish>
- <div ng-if="item.ID">
- <!--<div class="contact-item-left" style="justify-content: flex-start;">-->
- <div ng-if="item.FLOWNAME" class="contact-item-left" style="justify-content: flex-start;">
- <img src="../../AFrontEnd/css/icons/photo/02.jpg" width="50" height="50">
- <div class="contact-item-left-content">
- <div style="padding: 0 10px">{{item.CREATEDATE}}</div>
- <div class="text" ng-click="ctl.selectContent(item)">已发送{{item.FLOWNAME}}{{item.CONTENTS}},请在工作台中查看</div>
- </div>
- </div>
- </div>
- </div>
- <!--发送的内容-->
- <div class="chat" id="chatSection">
- <!-- 点击左侧联系人后,聊天记录会显示在这里 -->
- </div>
- </div>
- <div ng-show="ctl.contact !== '系统消息'">
- <div>
- <!--<span ng-if="ctl.selectTxt">当前选择:{{ctl.selectTxt.FLOWNAME}}{{ctl.selectTxt.CONTENTS}} </span>-->
- <br/>
- 请在此输入留言:
- </div>
- <textarea id="messageInput" placeholder="请输入内容" style="resize: none" ></textarea>
- <div style="width:100%; text-align: right">
- <button id="chartBtn" ng-click="ctl.creatRoom()" ng-if="ctl.isOnline(ctl.ItemList) === true">视 频</button>
- <button id="sendBtn" ng-click="ctl.sendMessage()">发 送</button>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </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/msgListChat.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>
|