郑许地铁

QcResultList.cshtml 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. @using ZXDT.CallCenter.MVCWeb.Models;
  2. @using ZXDT.CallCenter.Model;
  3. <html>
  4. <head>
  5. <meta charset="UTF-8">
  6. <title>质检评分</title>
  7. <link href="/Content/layui/css/layui.css" rel="stylesheet" />
  8. <link href="/Content/css/public.css" rel="stylesheet" />
  9. <link href="/Content/layui/css/modules/layui-icon-extend/iconfont.css" type="text/css" rel=" stylesheet" />
  10. <link href="/Content/css/font-awesome/css/font-awesome.min.css" type="text/css" rel=" stylesheet" />
  11. <script src="/Content/js/jquery-1.8.3.min.js"></script>
  12. <script type="text/javascript" src="/Content/layui/layui.js"></script>
  13. <link href="/Content/css/callrecord/iconfont.css" rel="stylesheet" />
  14. <link href="/Content/css/callrecord/callrecord.css" rel="stylesheet" />
  15. <script src="/Content/layui/formatdate.js"></script>
  16. </head>
  17. <body class="childrenBody">
  18. <blockquote class="layui-elem-quote layui-text" style="font-size: larger; display: none;">
  19. 通话记录
  20. </blockquote>
  21. <div class=" layui-form layui-fluid">
  22. <div class=" layui-col-space15">
  23. <div class="layui-card">
  24. <div class="layui-card-body">
  25. <div class="layui-row layui-col-space15 searchfilter">
  26. <div class="layui-input-inline">
  27. <label class="layui-form-label">
  28. 电话号码:
  29. </label>
  30. <div class="layui-input-block ">
  31. <input type="text" placeholder="" autocomplete="off" class="layui-input" id="callnumber">
  32. </div>
  33. </div>
  34. <div class="layui-input-inline">
  35. <label class="layui-form-label">
  36. 坐席:
  37. </label>
  38. <div class="layui-input-block">
  39. <input type="text" placeholder="" autocomplete="off" class="layui-input" id="usercode">
  40. </div>
  41. </div>
  42. <div class="layui-input-inline">
  43. <label class="layui-form-label">呼叫方式</label>
  44. <div class="layui-input-block">
  45. <select id="callTypes">
  46. <option value=""></option>
  47. <option value="0">呼入</option>
  48. <option value="1">呼出</option>
  49. </select>
  50. </div>
  51. </div>
  52. <div class="layui-input-inline">
  53. <label class="layui-form-label">呼叫状态</label>
  54. <div class="layui-input-block">
  55. <select id="callRercordStatus">
  56. <option value=""></option>
  57. <option value="1">接通</option>
  58. <option value="0">未接通</option>
  59. </select>
  60. </div>
  61. </div>
  62. <div class="layui-input-inline">
  63. <button class="layui-btn layui-btn-normal layui-btn-normal" data-type="reload">
  64. <i class="layui-icon">&#xe615; 查 询</i>
  65. </button>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. <div class="layui-card layui-form">
  71. <div id="content" class="flowContent">
  72. <table class="layui-table" lay-data="{height: 'full-120' ,page: true,limit:20, url:'/QualityManagement/QCResultCallRecordData/?NowDateTime=@Model.NowDateTime ', page:true, id:'recordtable'}" lay-size="sm" lay-filter="demo">
  73. <thead>
  74. <tr>
  75. <th lay-data="{field:'CallNumber', width:130, fixed: 'left', templet: '#btnCallOut'}">电话号码</th>
  76. <th lay-data="{field:'fileurl', width:60,align: 'center', fixed: 'left',templet:'#btnPlay'}">录音</th>
  77. <th lay-data="{field:'F_QCState',align: 'center',width:80, templet: '#qcStatus'}">是否质检</th>
  78. <th lay-data="{field:'F_QCScore',align: 'center',width:80}">质检得分</th>
  79. <th lay-data="{field:'CallType', align: 'center',width:80, templet: '#callType'}">呼叫方向</th>
  80. <th lay-data="{field:'CallState', width:80, templet: '#callStatus'}">呼叫状态</th>
  81. <th lay-data="{field:'UserCode', align: 'center',width:80}">坐席工号</th>
  82. <th lay-data="{field:'UserName', align: 'center',width:80}">坐席姓名</th>
  83. <th lay-data="{field:'TalkStartTimeNew', align: 'center', width:180}">通话开始时间</th>
  84. <th lay-data="{field:'TalkEndTimeNew', align: 'center', width:180}">通话结束时间</th>
  85. <th lay-data="{field:'TalkLongTime', align: 'center', width:120}">通话时长(s)</th>
  86. </tr>
  87. </thead>
  88. </table>
  89. </div>
  90. </div>
  91. </div>
  92. </div>
  93. <script type="text/javascript">
  94. function Player(callid, callrecordsid) {
  95. console.log(callid)
  96. layui.use('layer', function () {
  97. var layer = layui.layer;
  98. layer.open({
  99. type: 2,
  100. anim: 4,
  101. scrollbar: false,
  102. content: '/QualityManagement/QCShowVoicePlayNew/?type=0&callid=' + callid + '&callrecordsid=' + callrecordsid,
  103. area: ['700px', '480px'],
  104. id: 'playRecordFrame',
  105. title: '录音播放下载及质检'
  106. , shade: 0
  107. , maxmin: true
  108. })
  109. });
  110. }
  111. </script>
  112. </body>
  113. <script src="/Content/js/QualityManagement/QCcallRecord.js" charset="utf-8"></script>
  114. <script type="text/html" id="btnCallOut">
  115. {{# if(d.CallNumber === ''){ }}
  116. {{# } else { }}
  117. <i class="fa fa-phone-square" style="color:green; cursor:pointer;" onclick="top.PhoneCallOut(1, '{{d.CallNumber}}');" title="拨打{{d.CallNumber }}"></i>&nbsp;&nbsp;&nbsp;{{d.CallNumber }}
  118. {{# } }}
  119. </script>
  120. <script type="text/html" id="btnPlay">
  121. {{# if(d.CallState === 1){ }}
  122. <i class="fa fa-headphones" style="color:blue; cursor:pointer; line-height:22px" onclick="Player('{{d.fileurl}}',{{d.CallRecordsId}});" title="录音质检"></i>
  123. {{# } else { }}
  124. {{# } }}
  125. </script>
  126. <script type="text/html" id="callType">
  127. {{# if(d.CallType === 1){ }}
  128. 呼出
  129. {{# } else { }}
  130. 呼入
  131. {{# } }}
  132. </script>
  133. <script type="text/html" id="qcStatus">
  134. {{# if(d.F_QCState === 0){ }}
  135. <div style="color:red;"> 未质检</div>
  136. {{# } else { }}
  137. <div style="color:blue;">已质检</div>
  138. {{# } }}
  139. </script>
  140. <script type="text/html" id="callStatus">
  141. {{# if(d.CallState === 1){ }}
  142. 接通
  143. {{# } }}
  144. {{# if(d.CallState === 0){ }}
  145. 未接通
  146. {{# } }}
  147. </script>
  148. <script type="text/html" id="F_Key">
  149. {{# if(d.F_Key1 === '1'){ }}
  150. 自助服务
  151. {{# } }}
  152. {{# if(d.F_Key1 === '0'){ }}
  153. 人工服务
  154. {{# } }}
  155. </script>
  156. <script type="text/html" id="BusinessType">
  157. {{# if(d.BusinessType === 1){ }}
  158. 咨询
  159. {{# } }}
  160. {{# if(d.BusinessType === 2){ }}
  161. 建议
  162. {{# } }}
  163. {{# if(d.BusinessType === 3){ }}
  164. 表扬
  165. {{# } }}
  166. {{# if(d.BusinessType === 4){ }}
  167. 挂失
  168. {{# } }}
  169. {{# if(d.BusinessType === 9){ }}
  170. 投诉
  171. {{# } }}
  172. </script>
  173. <!--下拉输入选择框工具栏-->
  174. </html>