地铁二期项目正式开始

WorkOrderNoList.cshtml 7.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. @using YTSoft.BaseCallCenter.MVCWeb.Models;
  2. @using YTSoft.BaseCallCenter.Model;
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <meta charset="UTF-8">
  7. <title>补录工单</title>
  8. <link href="/Content/layui/css/layui.css" rel="stylesheet" />
  9. <link href="/Content/css/public.css" rel="stylesheet" />
  10. <link href="/Content/layui/css/modules/layui-icon-extend/iconfont.css" type="text/css" rel=" stylesheet" />
  11. <link href="/Content/css/font-awesome/css/font-awesome.min.css" type="text/css" rel=" stylesheet" />
  12. <script src="/Content/js/jquery-1.8.3.min.js"></script>
  13. <script type="text/javascript" src="/Content/layui/layui.js"></script>
  14. <link href="/Content/css/callrecord/iconfont.css" rel="stylesheet" />
  15. <link href="/Content/css/callrecord/callrecord.css" rel="stylesheet" />
  16. <link href="/Content/css/workorder/eidtmyorder.css" rel="stylesheet" />
  17. <script src="/Content/js/Report/GetDate.js"></script>
  18. <script src="/Content/layui/formatdate.js"></script>
  19. </head>
  20. <body class="childrenBody">
  21. <blockquote class="layui-elem-quote layui-text" style="font-size: larger; display: none;">
  22. 补录工单
  23. </blockquote>
  24. <div class="layui-fluid">
  25. <div class=" layui-col-space15">
  26. @if (Model.SeatFlag)
  27. {
  28. <input type="hidden" value="1" id="SeatFlag" />
  29. }
  30. else
  31. {
  32. <input type="hidden" value="0" id="SeatFlag" />
  33. }
  34. <div class="layui-card">
  35. <div class="layui-card-body">
  36. <div class="layui-row layui-col-space10 searchfilter">
  37. <div class="layui-col-md8">
  38. <div class="layui-row layui-col-space10">
  39. <div class="layui-col-xs6">
  40. <button class="layui-btn layui-btn-normal layui-btn-radius" data-type="oneWeek">最近一周</button>
  41. <button class="layui-btn layui-btn-normal layui-btn-radius" data-type="oneMonth">最近一月</button>
  42. <button class="layui-btn layui-btn-normal layui-btn-radius" data-type="oneYear">最近一年</button>
  43. </div>
  44. <div class="layui-col-xs6">
  45. <label class="layui-form-label">
  46. 受理日期:
  47. </label>
  48. <div class="layui-input-block">
  49. <input type="text" class="layui-input dayParty" id="test10" placeholder=" - "
  50. value="@Model.NowDate">
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <div class="layui-col-md4">
  56. <button class="layui-btn layui-btn-normal layui-btn-normal" data-type="reload">
  57. <i class="layui-icon">&#xe615; 查 询</i>
  58. </button>
  59. <button class="layui-btn layui-btn-normal" data-type="rowAdd">
  60. <i class="layui-icon">&#xe654;新增微博工单</i>
  61. </button>
  62. </div>
  63. </div>
  64. </div>
  65. </div>
  66. <div class="layui-card layui-form">
  67. <div id="content" class="flowContent">
  68. <table class="layui-table"
  69. lay-data="{height: 'full-120' ,page: true,limit:20, url:'/WorkOrder/WorkOrderNoData/?NowDateTime=@Model.NowDateTime', id:'recordtable'}"
  70. lay-size="sm" lay-filter="demo">
  71. <thead>
  72. <tr>
  73. <th lay-data="{type:'checkbox', fixed: 'left'}"></th>
  74. <th lay-data="{field:'F_CODE', width:120}">工单编号</th>
  75. @if (Model.SeatFlag)
  76. {
  77. <th lay-data="{field:'FilePath', width:60,align: 'center',templet:'#btnPlay'}">录音</th>
  78. }
  79. <th lay-data="{field:'F_CUSTOMERNAME', width:100}">客户姓名</th>
  80. <th lay-data="{field:'F_CUSTOMERTELEPHONE', width:130, templet: '#btnCallOut'}">客户电话</th>
  81. <th lay-data="{field:'F_LINKMAN', align: 'center',width:85}">坐席工号</th>
  82. <th lay-data="{field:'F_REPAIRMANNAME', width:85}">坐席姓名</th>
  83. <th lay-data="{field:'F_WORKORDERFROM', width:85}">接入渠道</th>
  84. <th lay-data="{field:'F_CREATEDATENew',align: 'center',width:150}">受理时间</th>
  85. <th lay-data="{field:'F_REPAIRREQUEST', width:85}">业务状态</th>
  86. <th lay-data="{field:'F_CONTENT'}">内容</th>
  87. <th lay-data="{field:'F_RETURNVISITOPINION',align: 'letf', width:90}">回访内容</th>
  88. <th lay-data="{field:'F_HOUSING', align: 'center', width:90}">业务类型</th>
  89. <th lay-data="{field:'F_ADSLACCOUNT', align: 'center', width:110}">业务明细</th>
  90. <th lay-data="{ width:160, align:'center', toolbar: '#barDemo'}">操作</th>
  91. </tr>
  92. </thead>
  93. </table>
  94. </div>
  95. </div>
  96. </div>
  97. </div>
  98. <script type="text/javascript">
  99. function Player(callid, orderTypeName) {
  100. layui.use('layer', function () {
  101. var layer = layui.layer;
  102. if (orderTypeName == "留言工单") {
  103. layer.open({
  104. type: 2,
  105. anim: 4,
  106. scrollbar: false,
  107. content: '/CallRecord/VoicePlay/?type=1&callid=' + callid,
  108. area: ['600px', '380px'],
  109. id: 'playRecordFrame',
  110. title: '听取留言'
  111. , shade: 0
  112. , maxmin: true
  113. });
  114. }
  115. else {
  116. layer.open({
  117. type: 2,
  118. anim: 4,
  119. scrollbar: false,
  120. content: '/CallRecord/VoicePlay/?type=0&callid=' + callid,
  121. area: ['600px', '380px'],
  122. id: 'playRecordFrame',
  123. title: '听取录音'
  124. , shade: 0
  125. , maxmin: true
  126. });
  127. }
  128. });
  129. }
  130. function PlayerOld(callid, orderTypeName) {
  131. layui.use('layer', function () {
  132. var layer = layui.layer;
  133. if (orderTypeName == "留言工单") {
  134. layer.open({
  135. type: 2,
  136. anim: 4,
  137. scrollbar: false,
  138. content: '/CallRecord/VoicePlay1/?type=1&callid=' + callid,
  139. area: ['600px', '380px'],
  140. id: 'playRecordFrame',
  141. title: '听取留言'
  142. , shade: 0
  143. , maxmin: true
  144. });
  145. }
  146. else {
  147. layer.open({
  148. type: 2,
  149. anim: 4,
  150. scrollbar: false,
  151. content: '/CallRecord/VoicePlay1/?type=0&callid=' + callid,
  152. area: ['600px', '380px'],
  153. id: 'playRecordFrame',
  154. title: '听取录音'
  155. , shade: 0
  156. , maxmin: true
  157. });
  158. }
  159. });
  160. }
  161. </script>
  162. </body>
  163. <script type="text/html" id="barDemo">
  164. <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">处理</a>
  165. </script>
  166. <script src="/Content/js/WorkOrder/workordernolist.js"></script>
  167. <script type="text/html" id="btnCallOut">
  168. {{# if(d.F_CUSTOMERTELEPHONE === ''){ }}
  169. {{# } else { }}
  170. <i class="fa fa-phone-square" style="color:green; cursor:pointer;" onclick="top.PhoneCallOut(1, '{{d.F_CUSTOMERTELEPHONE}}');" title="拨打{{d.F_CUSTOMERTELEPHONE }}"></i>&nbsp;&nbsp;&nbsp;{{d.F_CUSTOMERTELEPHONE }}
  171. {{# } }}
  172. </script>
  173. <script type="text/html" id="btnPlay">
  174. {{# if(d.FilePath!=null&&d.FilePath!=""&&d.FilePath.split(".")[4]=="wav"){ }}
  175. <i class="fa fa-headphones" style="color:blue; cursor:pointer;" onclick="Player('{{d.FilePath}}', '{{d.F_WORKORDERFROM}}');" title="听录音"></i>
  176. {{# } else { }}
  177. <i class="fa fa-headphones" style="color:blue; cursor:pointer;" onclick="PlayerOld('{{d.FilePath}}');" title="听录音"></i>
  178. {{# } }}
  179. </script>
  180. </html>