liyuanyuan лет назад: 4
Родитель
Сommit
fcc2e87e1c

+ 255 - 0
web/YTSoft.BaseCallCenter.MVCWeb/Views/Order/WorkOrderShenPiList.cshtml

1
+@using YTSoft.BaseCallCenter.MVCWeb.Models;
2
+@using YTSoft.BaseCallCenter.Model;
3
+<!DOCTYPE html>
4
+<html>
5
+
6
+<head>
7
+  <meta charset="UTF-8">
8
+  <title>审批工单列表</title>
9
+
10
+  <link href="/Content/layui/css/layui.css" rel="stylesheet" />
11
+  <link href="/Content/css/public.css" rel="stylesheet" />
12
+  <link href="/Content/layui/css/modules/layui-icon-extend/iconfont.css" type="text/css" rel=" stylesheet" />
13
+  <link href="/Content/css/font-awesome/css/font-awesome.min.css" type="text/css" rel=" stylesheet" />
14
+  <script src="/Content/js/jquery-1.8.3.min.js"></script>
15
+  <script type="text/javascript" src="/Content/layui/layui.js"></script>
16
+  <link href="/Content/css/callrecord/iconfont.css" rel="stylesheet" />
17
+  <link href="/Content/css/callrecord/callrecord.css" rel="stylesheet" />
18
+  <link href="/Content/css/workorder/eidtmyorder.css" rel="stylesheet" />
19
+  <script src="~/Content/layui/loading.js"></script>
20
+  <link href="~/Content/css/workorder/loading.css" rel="stylesheet" />
21
+  <script src="/Content/js/Report/moment.js"></script>
22
+  <script src="/Content/js/Report/GetDate.js"></script>
23
+  <script src="/Content/layui/formatdate.js"></script>
24
+</head>
25
+
26
+<body class="childrenBody">
27
+  <blockquote class="layui-elem-quote layui-text" style="font-size: larger; display: none;">
28
+    审批工单列表
29
+  </blockquote>
30
+  <div class="layui-fluid">
31
+    <div class=" layui-col-space15">
32
+      <input type="hidden" value="14" id="bussType">
33
+      @if (Model.SeatFlag)
34
+      {
35
+        <input type="hidden" value="1" id="SeatFlag" />
36
+      }
37
+      else
38
+      {
39
+        <input type="hidden" value="0" id="SeatFlag" />
40
+      }
41
+      <div class="layui-card">
42
+        <div class="layui-card-body">
43
+          <div class="layui-row layui-col-space10 searchfilter">
44
+            <div class="layui-col-md7">
45
+              <div class="layui-row layui-col-space10">
46
+                <div class="layui-col-xs6">
47
+                  <button class="layui-btn layui-btn-normal layui-btn-radius" data-type="oneDay">今天</button>
48
+                  <button class="layui-btn layui-btn-normal layui-btn-radius" data-type="oneWeek">最近一周</button>
49
+                  <button class="layui-btn layui-btn-normal layui-btn-radius" data-type="oneMonth">最近一月</button>
50
+                  <button class="layui-btn layui-btn-normal layui-btn-radius" data-type="oneYear">最近一年</button>
51
+                </div>
52
+                <div class="layui-col-xs6">
53
+                  <label class="layui-form-label">
54
+                    受理日期:
55
+                  </label>
56
+                  <div class="layui-input-block">
57
+                    <input type="text" class="layui-input dayParty" id="test10" placeholder=" - "
58
+                      value="@Model.NowDate">
59
+                  </div>
60
+                </div>
61
+
62
+              </div>
63
+            </div>
64
+
65
+            <div class="layui-col-md5">
66
+              <button class="layui-btn layui-btn-normal layui-btn-normal" data-type="reload">
67
+                <i class="layui-icon">&#xe615; 查 询</i>
68
+              </button>
69
+
70
+              <button class="layui-btn layui-btn-normal layui-btn-normal" id="advanceBtn">
71
+                <i class="layui-icon">&#xe614; 高 级</i>
72
+              </button>
73
+
74
+
75
+              <button class="layui-btn layui-btn-normal layui-btn-normal ExToExcel" id="ExToExcel">
76
+                  <i class="fa fa-file-excel-o">导出数据</i>
77
+              </button>
78
+            </div>
79
+          </div>
80
+        </div>
81
+
82
+
83
+
84
+
85
+
86
+      </div>
87
+
88
+      <form class="layui-form collapsible_box">
89
+
90
+
91
+        <div class="layui-form-item">
92
+          <div class="layui-input-inline">
93
+            <label class="layui-form-label">工单编号</label>
94
+            <div class="layui-input-block">
95
+              <input id="workorderNum" type="text" name="title" autocomplete="off" class="layui-input">
96
+            </div>
97
+          </div>
98
+          <div class="layui-input-inline">
99
+            <label class="layui-form-label">客户姓名</label>
100
+            <div class="layui-input-block">
101
+              <input id="cusName" type="text" name="title" autocomplete="off" class="layui-input">
102
+            </div>
103
+          </div>
104
+          <div class="layui-input-inline">
105
+            <label class="layui-form-label">客户电话</label>
106
+            <div class="layui-input-block">
107
+              <input id="phoneNumber" type="text" name="title" autocomplete="off" class="layui-input">
108
+            </div>
109
+          </div>
110
+          <div class="layui-input-inline">
111
+            <label class="layui-form-label">坐席工号</label>
112
+            <div class="layui-input-block">
113
+              <input id="userInfo" type="text" name="title" autocomplete="off" class="layui-input">
114
+            </div>
115
+          </div>
116
+          
117
+        </div>
118
+
119
+        <div class="layui-form-item">
120
+
121
+          
122
+
123
+          <div class="layui-input-inline">
124
+            <label class="layui-form-label">业务明细</label>
125
+            <div class="layui-input-block">
126
+              <select id="bussDetail">
127
+                <option value=""></option>
128
+
129
+              </select>
130
+            </div>
131
+          </div>
132
+
133
+          <div class="layui-input-inline">
134
+            <label class="layui-form-label">内容</label>
135
+            <div class="layui-input-block">
136
+              <input id="Content" type="text" name="title" autocomplete="off" class="layui-input">
137
+            </div>
138
+          </div>
139
+        </div>
140
+
141
+      </form>
142
+
143
+      <div class="layui-card layui-form">
144
+        <div id="content" class="flowContent">
145
+          <table class="layui-table"
146
+            lay-data="{height: 'full-120',page: true,limit:20, url:'/Order/WorkOrderShenPiData/?NowDateTime=@Model.NowDateTime', id:'recordtable'}"
147
+            lay-size="sm" lay-filter="demo">
148
+            <thead>
149
+              <tr>
150
+
151
+                <th lay-data="{field:'F_CODE', width:120}">工单编号</th>
152
+                @if (Model.SeatFlag)
153
+                {
154
+                  <th lay-data="{field:'FilePath', width:60,align: 'center',templet:'#btnPlay'}">录音</th>
155
+                }
156
+                <th lay-data="{field:'F_CUSTOMERNAME', width:100}">客户姓名</th>
157
+                <th lay-data="{field:'F_CUSTOMERTELEPHONE', width:130, templet: '#btnCallOut'}">客户电话</th>
158
+                <th lay-data="{field:'F_LINKMAN', align: 'center',width:85}">坐席工号</th>
159
+                <th lay-data="{field:'F_REPAIRMANNAME', width:85}">坐席姓名</th>
160
+                <th lay-data="{field:'F_WORKORDERFROM', width:85}">接入渠道</th>
161
+                <th lay-data="{field:'F_CREATEDATENew',align: 'center',width:150}">受理时间</th>
162
+                
163
+
164
+                <th lay-data="{field:'F_REPAIRREQUEST', width:85}">业务状态</th>
165
+                <th lay-data="{field:'F_HASTENCOUNTS', align: 'center', width:90}">已定责次数</th>
166
+                <th lay-data="{field:'F_CONTENT'}">内容</th>
167
+                <th lay-data="{field:'F_RETURNVISITCONTENT',align: 'letf', width:90}">处理回复内容</th>
168
+                <th lay-data="{field:'F_RETURNVISITOPINION',align: 'letf', width:90}">回访内容</th>
169
+                <th lay-data="{field:'F_HOUSING', align: 'center', width:70}">业务类型</th>
170
+                <th lay-data="{field:'F_ADSLACCOUNT', align: 'center', width:110}">业务明细</th>
171
+                <th lay-data="{ width:90, align:'center', toolbar: '#barDemo'}">操作</th>
172
+
173
+              </tr>
174
+            </thead>
175
+          </table>
176
+        </div>
177
+        <img id="progressImgage" class="progress hide" alt="" src="@Url.Content("~/Content/images/ajax-loader.gif")" />
178
+        <div id="maskOfProgressImage" class="mask hide"></div>
179
+      </div>
180
+
181
+
182
+    </div>
183
+  </div>
184
+  <script type="text/javascript">
185
+    function Player(callid, orderTypeName) {
186
+      layui.use('layer', function () {
187
+        var layer = layui.layer;
188
+
189
+        if (orderTypeName == "留言工单") {
190
+          layer.open({
191
+            type: 2,
192
+            anim: 4,
193
+            scrollbar: false,
194
+            content: '/CallRecord/VoicePlay/?type=1&callid=' + callid,
195
+            area: ['600px', '380px'],
196
+            id: 'playRecordFrame',
197
+            title: '听取留言'
198
+            , shade: 0
199
+            , maxmin: true
200
+          });
201
+        }
202
+        else {
203
+          layer.open({
204
+            type: 2,
205
+            anim: 4,
206
+            scrollbar: false,
207
+            content: '/CallRecord/VoicePlay/?type=0&callid=' + callid,
208
+            area: ['600px', '380px'],
209
+            id: 'playRecordFrame',
210
+            title: '听取录音'
211
+            , shade: 0
212
+            , maxmin: true
213
+          });
214
+
215
+        }
216
+      });
217
+    }
218
+
219
+  </script>
220
+
221
+
222
+</body>
223
+<script type="text/html" id="barDemo">
224
+   
225
+
226
+    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="view">查看详情</a>
227
+</script>
228
+<script src="/Content/js/WorkOrder/WorkOrderMyListJY.js" charset="utf-8"></script>
229
+<script type="text/html" id="btnCallOut">
230
+    {{#  if(d.F_CUSTOMERTELEPHONE === ''||d.F_CUSTOMERTELEPHONE == null){ }}
231
+
232
+    {{#  } else { }}
233
+    <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 }}
234
+    {{#  } }}
235
+</script>
236
+
237
+<script type="text/html" id="btnPlay">
238
+    {{#  if(d.FilePath!=null&&d.FilePath!=""){ }}
239
+    <i class="fa fa-headphones" style="color:blue; cursor:pointer;" onclick="Player('{{d.FilePath}}', '{{d.F_WORKORDERFROM}}');" title="听录音"></i>   
240
+    {{#  } else { }}
241
+    {{#  } }}
242
+</script>
243
+<script type="text/html" id="OVERTIMES">
244
+    {{#  if(d.F_OVERTIMES > 0){ }}
245
+    <span style ="color:red">{{d.F_OVERTIME}}</span>  
246
+    {{#  } else { }}
247
+    {{#  } }}
248
+</script>
249
+<script>
250
+  $(document).ready(function () {
251
+    $("#test10").val(getMonthStartDate() + ' - ' + formatDate(now))
252
+    
253
+  })
254
+</script>
255
+</html>

+ 1 - 0
web/YTSoft.BaseCallCenter.MVCWeb/YTSoft.BaseCallCenter.MVCWeb.csproj

1625
     <Content Include="Views\Order\WorkOrderDealedList.cshtml" />
1625
     <Content Include="Views\Order\WorkOrderDealedList.cshtml" />
1626
     <Content Include="Views\Order\WorkOrderVisitedList.cshtml" />
1626
     <Content Include="Views\Order\WorkOrderVisitedList.cshtml" />
1627
     <Content Include="Views\Order\DepartmentWorkOrderList.cshtml" />
1627
     <Content Include="Views\Order\DepartmentWorkOrderList.cshtml" />
1628
+    <Content Include="Views\Order\WorkOrderShenPiList.cshtml" />
1628
   </ItemGroup>
1629
   </ItemGroup>
1629
   <ItemGroup>
1630
   <ItemGroup>
1630
     <ProjectReference Include="..\BaseCallCenter.BLL\YTSoft.BaseCallCenter.BLL.csproj">
1631
     <ProjectReference Include="..\BaseCallCenter.BLL\YTSoft.BaseCallCenter.BLL.csproj">