liuyifan 4 years ago
parent
commit
74eeb43515

+ 1 - 1
WebUI/CallCenterWeb.UI/Appeal/toAuditList.html

@@ -616,7 +616,7 @@
616 616
                 type: 2,
617 617
                 content: "../CommonHtml/shth.html?wid=" + str, //iframe的url,no代表不显示滚动条
618 618
                 title: '审核退回申请',
619
-                area: ['60%', '80%'], //宽高
619
+                area: ['95%', '95%'], //宽高
620 620
             });
621 621
         }
622 622
         //办理

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal.html

@@ -1409,7 +1409,7 @@
1409 1409
                         '<textarea data-adaptheight id="workcontent' +
1410 1410
                         data[i] +
1411 1411
                         '" class="form-control" name="" rows="" cols="" style="width: 100%;">' +
1412
-                        $("#content").val() +
1412
+                        $("#workcontent").val() +
1413 1413
                         '</textarea>' +
1414 1414
                         '</td>'+
1415 1415
                         '</tr>';

+ 0 - 603
WebUI/CallCenterWeb.UI/CommonHtml/AddAppeal_1.html

@@ -1,603 +0,0 @@
1
-<!DOCTYPE html>
2
-<html>
3
-
4
-<head>
5
-    <meta charset="UTF-8">
6
-    <script src="../Script/Common/huayi.load.js"></script>
7
-    <script src="../Script/Common/huayi.config.js"></script>
8
-    <link href="../css/layer/need/layer.css" />
9
-    <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
10
-    <link rel="stylesheet" href="../css/addappeal.css" />
11
-    <link rel="stylesheet" href="../css/init.css" />
12
-    <link rel="stylesheet" href="../css/addappeal.css" />
13
-    <title>新增诉求工单</title>
14
-</head>
15
-
16
-<body>
17
-    <input type="hidden" id="PID" value="" />
18
-    <div class="wrapper wrapper-content animated fadeInRight">
19
-        <div style="padding: 10px;" class="tj_content clearFix">
20
-            <div class="Common">
21
-                <table>
22
-
23
-                    <!-- <tr>
24
-                        <th>邮箱:</th>
25
-                        <td>
26
-                            <input type="text" id="email" />
27
-                        </td>
28
-                        <th>邮编:</th>
29
-                        <td>
30
-                            <input type="text" id="zipcode" />
31
-                        </td>
32
-                        <th>联系电话:</th>
33
-                        <td>
34
-                            <input type="text" id="conphone" />
35
-                        </td>
36
-                    </tr> -->
37
-                    <tr>
38
-                        <th class="Importent">标题:</th>
39
-                        <td colspan="7">
40
-                            <input id="title" type="text" class="form-control" style="width: 100%;" />
41
-                        </td>
42
-                    </tr>
43
-                    <tr class="content-wrapper">
44
-                        <th class="Importent">来电内容:</th>
45
-                        <td colspan="7">
46
-                            <textarea data-adaptheight id="content" name="" rows="" cols="" style="width: 100%;"
47
-                                readonly="readonly" class="form-control"></textarea>
48
-                        </td>
49
-                    </tr>
50
-                    <tr class="workcontent-wrapper">
51
-                        <th class="Importent">工单内容:</th>
52
-                        <td colspan="7">
53
-                            <textarea data-adaptheight id="workcontent" name="" rows="" cols=""
54
-                                style="width: 100%;" class="form-control"></textarea>
55
-                        </td>
56
-                    </tr>
57
-                    <tr>
58
-                        <th>附件上传:</th>
59
-                        <td colspan="7">
60
-                            <div class="fileBox">
61
-
62
-                            </div>
63
-                            <!--<span class="fjnr"></span>-->
64
-                            <input class="input" type="file" name="upFile" id="upFile" multiple="multiple"
65
-                                style="display: none;">
66
-                            <input class="input" type="button" value="上传" id="scwj" />
67
-                            <input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />
68
-                            <input type="hidden" id="file" />
69
-                            <span style="color:#FF0000; border: none;">
70
-                                (文件格式为png,jpg,mp4,mp3,pdf,doc,docx,xls,xlsx)
71
-                            </span>
72
-                        </td>
73
-                    </tr>
74
-                    <tr>
75
-                        <th>处理方式:</th>
76
-                        <td colspan="7">
77
-                            <input type="radio" value="1" name="banli" class="Nows" />当即办理
78
-                            <input checked="true" type="radio" value="0" name="banli" class="Nows_" />网络转办
79
-                            <input id="threeWayCall" type="checkbox"  value="1" name="" class="Nows_" />三方通话
80
-                        </td>
81
-                    </tr>
82
-                    <tr class="Nows_box Hidens">
83
-                        <th>办理内容:</th>
84
-                        <td colspan="7">
85
-
86
-                            <input type="text" style="width: 100%;" id="result" class="form-control" />
87
-                        </td>
88
-                    </tr>
89
-                    <tr>
90
-                        <th class="">来电人:</th>
91
-                        <td>
92
-                            <input type="text" id="cusname" class="form-control" />
93
-                        </td>
94
-                        <th>性别:</th>
95
-                        <td>
96
-                            <select class="select_" id="SEX" class="form-control">
97
-                                <option value="">请选择</option>
98
-                                <option value="0">男</option>
99
-                                <option value="1">女</option>
100
-                            </select>
101
-                        </td>
102
-                        <th>来源:</th>
103
-                        <td>
104
-                            <select class="select_" id="source" class="form-control"></select>
105
-                        </td>
106
-                        <th class="Importent">来电号码:</th>
107
-                        <td>
108
-                            <input type="text" id="cusphone" class="form-control" />
109
-                        </td>
110
-                    </tr>
111
-                    <tr>
112
-                        <th>类型:</th>
113
-                        <td>
114
-                            <select class="select_" id="type" class="form-control"></select>
115
-                        </td>
116
-                        <th class="Importent">反映类别:</th>
117
-                        <!--<td> 
118
-                            <select class="select_" id="keys">
119
-                                <option value=""></option>
120
-                            </select>
121
-                        </td>-->
122
-                        <td style="position: relative">
123
-                            <div class="inpBox">
124
-                                <input type="text" class="inps"  />
125
-                                <i class="Cleans fa fa-close"></i>
126
-                                <i class="xl xl_one"></i>
127
-                                <div class="addTree xlAdd">
128
-                                    <ul id="addTreeDemo" class="ztree"></ul>
129
-                                </div>
130
-                            </div>
131
-                            <div class="selDpart1">
132
-                                <ul id="sponsor"></ul>
133
-                            </div>
134
-                        </td>
135
-                        <th>来电号码密级:</th>
136
-                        <td>
137
-                            <input type="radio" name="mj" id="" value="0" />普通
138
-                            <input type="radio" name="mj" id="" value="1" />保密
139
-                        </td>
140
-                        <th class="Importent">紧急程度:</th>
141
-                        <td>
142
-                            <select class="select_" id="level">
143
-                                <!--<option value="0">选择</option>-->
144
-                                <option value="1">普通</option>
145
-                                <option value="2">紧急</option>
146
-                            </select>
147
-                        </td>
148
-                    </tr>
149
-                    <tr class="leaderCharge-wrapper" style="display: none;">
150
-                        <th class="">分管领导:</th>
151
-                        <td>
152
-                            <select class="select_" id="leaderCharge">
153
-                                <option value="">请选择</option>
154
-                                <option value="省长">省长</option>
155
-                                <option value="市长">市长</option>
156
-                            </select>
157
-                        </td>
158
-                    </tr>
159
-                    <tr>
160
-                        <td colspan="8" style="text-align: center;">
161
-                            <div class="btn_box">
162
-                                <button class="btns BC">保存</button>
163
-                                <!--<button class="btns SavedSubmit">保存并提交</button>-->
164
-                            </div>
165
-                        </td>
166
-                    </tr>
167
-                    <tr>
168
-                        <th>事发区域:</th>
169
-                        <td colspan="7">
170
-                            <select class="select_" id="sourcearea"></select>
171
-                        </td>
172
-                    </tr>
173
-                    <tr>
174
-                        <th class="Importent"></th>
175
-                        <td colspan="7">
176
-                            <input id="sourceaddress" type="text" placeholder="输入详细地址"
177
-                                style="width:50%; padding-left: 15px;" />
178
-                        </td>
179
-                    </tr>
180
-                    <tr>
181
-                        <th class="Importent"></th>
182
-                        <td colspan="7">
183
-                            <div style="width:710px">
184
-                                <div id="myMap" style="width:100%;height:400px;"></div>
185
-                                <input type="hidden" class="store_Lng" value="115.659773" />
186
-                                <input type="hidden" class="store_Lat" value="34.395449" />
187
-                            </div>
188
-                        </td>
189
-                    </tr>
190
-                </table>
191
-            </div>
192
-        </div>
193
-    </div>
194
-    <script src="https://api.map.baidu.com/api?v=2.0&ak=ZG4gLQZUD6Eq1K11cqlYAR4by8CKgLyu&callback=mapinit"></script>
195
-    <script src="../css/laydate/laydate.js"></script>
196
-    <script src="../js/bootstrap-select.js"></script>
197
-    <script src="../js/adjustHeight.js"></script>
198
-    <script src="../js/appeal/index.js"></script>
199
-    <script src="../js/zTree/jquery.ztree.core.js"></script>
200
-    <script src="../js/ztreeSelect.js"></script>
201
-    <script>
202
-        var wid = helper.request.queryString("wid");
203
-        var roleCode = $.cookie("code");
204
-        var submit;
205
-        $(document).ready(function () {
206
-            QY($("#sourcearea"));
207
-            LY($("#source"));
208
-            LB($("#type"));
209
-            ZT($("#keys"))
210
-
211
-            // 管理员、中心话务员可编辑工单内容 
212
-            if (roleCode === "GLY") {
213
-                $("#content").removeAttr("readonly")
214
-            } else if (roleCode === "ZXHWY") {
215
-                $(".workcontent-wrapper").hide()
216
-                $("#content").removeAttr("readonly")
217
-            }
218
-            //当即办理
219
-            $(' input[name="banli"]').change(function () {
220
-                var val = $(this).val();
221
-                if (val == "1") {
222
-                    $(".Nows_box").show();
223
-                } else {
224
-                    $(".Nows_box").hide();
225
-                }
226
-            })
227
-            $(".BC").click(function () {
228
-                submit = 0;
229
-                Add()
230
-            });
231
-            //上传附件
232
-            $("#scwj").click(function () {
233
-                $("#upFile").trigger("click");
234
-            })
235
-            $("#upFile").change(function () {
236
-                upload();
237
-            })
238
-            //				$("#scfj").click(function() {
239
-            //					$(".fjnr").text("");
240
-            //					$("#scfj").hide();
241
-            //				})
242
-            $(".SavedSubmit").click(function () {
243
-                submit = 1;
244
-                Add()
245
-            })
246
-            if (wid) {
247
-                $.ajax({
248
-                    type: "get",
249
-                    url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrderNew",
250
-                    dataType: 'json',
251
-                    async: false,
252
-                    data: {
253
-                        workorderid: wid,
254
-                        type: 0, // 工单信息
255
-                        token: $.cookie("token")
256
-                    },
257
-                    success: function (data) {
258
-                        if (data.state.toLowerCase() == "success") {
259
-                            var Data = data.data.data;
260
-                            $("#cusname").val(Data[0].F_CusName);
261
-                            $("#cusphone").val(Data[0].F_CusPhone);
262
-                            $("#conphone").val(Data[0].F_ConPhone);
263
-                            $("#title").val(Data[0].F_ComTitle);
264
-                            $('#content').val(Data[0].F_ComContent);
265
-                            if (Data[0].F_Content === "" || Data[0].F_Content === null) {
266
-                                $('#workcontent').val(Data[0].F_ComContent);
267
-                            } else {
268
-                                $('#workcontent').val(Data[0].F_Content);
269
-                            }
270
-                            $('#email').val(Data[0].F_Email);
271
-                            $("#zipcode").val(Data[0].F_ZipCode);
272
-                            $("#result").val(Data[0].F_Result);
273
-                            if (Data[0].F_Longitude) {
274
-                                $(".store_Lng").val(Data[0].F_Longitude);
275
-                                $(".store_Lat").val(Data[0].F_Latitude);
276
-                            }
277
-                            //x性别
278
-                            $("#SEX option:selected").val(Data[0].F_CusSex + '');
279
-                            if (Data[0].F_CusSex == "0") {
280
-                                $("#SEX option:selected").text("男"); //乡镇
281
-                            } else {
282
-                                $("#SEX option:selected").text("女"); //乡镇
283
-                            }
284
-                            //来源
285
-                            $("#source option:selected").val(Data[0].F_InfoSource + '');
286
-                            $("#source option:selected").text(Data[0].SourceName); //来源
287
-                            if(Data[0].F_InfoSource + "" === "4") {
288
-                                $(".leaderCharge-wrapper").show()
289
-                                $("#leaderCharge").val(Data[0].splituser)
290
-                            }
291
-                            //事发区域
292
-                            $("#sourcearea option:selected").val(Data[0].F_SourceArea + '');
293
-                            $("#sourcearea option:selected").text(Data[0].AreaName); //事发区域
294
-                            //主题词
295
-                            $("#keys option:selected").val(Data[0].F_Key + '');
296
-                            $("#keys option:selected").text(Data[0].KeyName); //主题词
297
-                            $(".inps").val(Data[0].KeyName)
298
-                            $("#PID").val(Data[0].F_Key)
299
-
300
-                            //类型
301
-                            $("#type option:selected").val(Data[0].F_InfoType + '');
302
-                            $("#type option:selected").text(Data[0].TypeName1); //类型
303
-                            //紧急程度
304
-                            $("#level").val(Data[0].F_Level + '');
305
-                            if (Data[0].F_Level == "1") {
306
-                                $("#level option:selected").text("普通"); //乡镇
307
-                            } else {
308
-                                $("#level option:selected").text("紧急"); //乡镇
309
-                            }
310
-                            if (Data[0].F_IsResult == 1) {
311
-                                $(".Nows_box").toggle();
312
-                            }
313
-                            $(' input[name="mj"][value="' + Data[0].F_IsProtect + '"]').prop(
314
-                                "checked", "checked");
315
-                            $(' input[name="banli"][value="' + Data[0].F_IsResult + '"]').prop(
316
-                                "checked", "checked");
317
-                            if(String(Data[0].F_Business) === "1") {
318
-                                $('#threeWayCall').attr("checked", true);
319
-                            } else {
320
-                                $('#threeWayCall').attr("checked", false);
321
-                            }
322
-                            $('#sourceaddress').val(Data[0].F_SourceAddress);
323
-                            $('.F_FinalOpinion').val(Data[0].F_FinalOpinion);
324
-                            $(Data[0].File).each(function (k, q) {
325
-                                var strs = '<span class="files" fiel-num="' + q.F_FileId +
326
-                                    '">' + q.F_FileName.substring(19) +
327
-                                    '<i class="fa fa-remove del_file"></i></span>'
328
-                                $(strs).appendTo($('.fileBox')).find('.del_file').click(
329
-                                    function (event) {
330
-                                        event.stopPropagation();
331
-                                        $(this).parent().remove();
332
-                                        file_num()
333
-                                    })
334
-                                file_num()
335
-                            })
336
-                        }
337
-
338
-                    }
339
-                });
340
-            }
341
-
342
-
343
-        });
344
-
345
-        ///修改工单
346
-        function Add() {
347
-            var value = $(' input[name="banli"]:checked ').val();
348
-            var content = $("#content").val();
349
-            var threeWayCall;
350
-
351
-            if($('#threeWayCall').is(':checked')) {
352
-                threeWayCall = 1;
353
-            } else {
354
-                threeWayCall = 0;
355
-            }
356
-
357
-            // if (!$("#cusname").val()) {
358
-            //     layer.msg("请输入姓名");
359
-            // } else 
360
-            // if (!$("#cusphone").val()) {
361
-            //     layer.msg("请输入来电号码");
362
-            // } else if (!$("#title").val()) {
363
-            //     layer.msg("请输入标题");
364
-            // } else if (!$("#content").val()) {
365
-            //     layer.msg("请输入内容");
366
-            // } else if (!$("#keys").val()) {
367
-            //     layer.msg("请选择反映类别");
368
-            // } else if (!$("#sourcearea").val()) {
369
-            //     layer.msg("请选择事发区域");
370
-            // } else if (value == 1 && !$('#result').val()) {
371
-            //     layer.msg("请输入直办内容");
372
-            // } else {
373
-            if (!$(".inps").val()) {
374
-                layer.msg("请选择反映类别");
375
-                return
376
-            }
377
-            $.ajax({
378
-                type: "post",
379
-                url: huayi.config.callcenter_url + "WorkOrder/EditWorkOrder",
380
-                dataType: 'json',
381
-                async: true,
382
-                data: {
383
-                    workorderid: wid,
384
-                    cusname: $("#cusname").val(), //=来电人姓名
385
-                    cussex: $("#SEX").val(),
386
-                    cusphone: $("#cusphone").val(), //=来电人电话
387
-                    email: $("#email").val(),
388
-                    zipcode: $("#zipcode").val(),
389
-                    conphone: $("#conphone").val(),
390
-                    title: $("#title").val(),
391
-                    content: $("#content").val(),
392
-                    workcontent: $("#workcontent").val(),
393
-                    files: $("#file").val(), //(多个用英文逗号,隔开)
394
-                    sourcearea: $("#sourcearea").val(), //=事发地域id
395
-                    sourceaddress: $('#sourceaddress').val(), //=事发详细地址
396
-                    source: $("#source").val(), //=来源
397
-                    splituser: $("#leaderCharge").val(), // 分管领导
398
-                    isresult: $(' input[name="banli"]:checked ').val(), //=(0转办1直办)
399
-                    business: threeWayCall,
400
-                    result: $('#result').val(),
401
-                    keys: $("#PID").val(), //=关键词id(多个用英文逗号,隔开)
402
-                    type: $("#type").val(), //=类型
403
-                    bigtype: $("#bigtype").val(), //=大类别
404
-                    smalltype: $("#smalltype").val(), //=小类别
405
-                    isprotect: $(' input[name="mj"]:checked ').val(), //=(0普通1保密)
406
-                    level: $('#level').val(), //=(1普通2紧急)
407
-                    issubmit: submit, //=(0保存1保存并提交)
408
-                    token: $.cookie("token")
409
-                },
410
-                success: function (data) {
411
-                    if (data.state.toLowerCase() == "success") {
412
-                        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
413
-                        parent.layer.close(index); //再执行关闭
414
-                        parent.$('#orderlist').bootstrapTable('refresh');
415
-                        parent.layer.msg(data.message);
416
-                        $('.fileBox').html('');
417
-
418
-                    }
419
-                }
420
-            });
421
-            // }
422
-        }
423
-        //上传文件隐藏域值
424
-        function file_num() {
425
-            var str = '';
426
-            var Str;
427
-            $('.fileBox .files').each(function (j, m) {
428
-                var aa = $(m).attr("fiel-num")
429
-                console.log(aa);
430
-                str += aa + ",";
431
-                Str = (str.substring(str.length - 1) == ',') ? str.substring(0, str.length - 1) : str;
432
-            })
433
-            $("#file").val(Str);
434
-        }
435
-        //来源
436
-        function LY(obj) {
437
-            obj.empty();
438
-            obj.append('<option selected="selected" value="">请选择</option>');
439
-            $.ajax({
440
-                type: "get",
441
-                url: huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
442
-                dataType: "json",
443
-                async: false,
444
-                data: {
445
-                    "token": $.cookie("token"),
446
-                    id: 1
447
-                },
448
-                success: function (data) {
449
-                    if (data.state.toLowerCase() == "success") {
450
-                        var content = data.data;
451
-                        $(content).each(function (i, n) {
452
-                            $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>")
453
-                                .appendTo(obj);
454
-                        })
455
-
456
-                    }
457
-                }
458
-            });
459
-        }
460
-        //类别
461
-        function LB(obj) {
462
-            obj.empty();
463
-            obj.append('<option selected="selected" value="">请选择</option>');
464
-            $.ajax({
465
-                type: "get",
466
-                url: huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
467
-                dataType: "json",
468
-                async: false,
469
-                data: {
470
-                    "token": $.cookie("token"),
471
-                    id: 2
472
-                },
473
-                success: function (data) {
474
-                    if (data.state.toLowerCase() == "success") {
475
-                        var content = data.data;
476
-                        $(content).each(function (i, n) {
477
-                            $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>")
478
-                                .appendTo(obj);
479
-                        })
480
-                    }
481
-                }
482
-            });
483
-        }
484
-        //		主题
485
-        function ZT(obj) {
486
-            obj.empty();
487
-            obj.append('<option selected="selected" value="">请选择</option>');
488
-            $.ajax({
489
-                type: "get",
490
-                url: huayi.config.callcenter_url + "Dictionary/GetDicValueListById",
491
-                dataType: "json",
492
-                async: false,
493
-                data: {
494
-                    "token": $.cookie("token"),
495
-                    id: 3
496
-                },
497
-                success: function (data) {
498
-                    if (data.state.toLowerCase() == "success") {
499
-                        var content = data.data;
500
-                        $(content).each(function (i, n) {
501
-                            $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>")
502
-                                .appendTo(obj);
503
-                        })
504
-                    }
505
-                }
506
-            });
507
-        }
508
-        //区域
509
-        function QY(obj) {
510
-            obj.empty();
511
-            obj.append('<option selected="selected" value="">请选择</option>');
512
-            $.ajax({
513
-                type: "get",
514
-                url: huayi.config.callcenter_url + "Area/GetAreaListById",
515
-                dataType: "json",
516
-                async: false,
517
-                data: {
518
-                    "token": $.cookie("token"),
519
-                },
520
-                success: function (data) {
521
-                    if (data.state.toLowerCase() == "success") {
522
-                        var content = data.data;
523
-                        $(content).each(function (i, n) {
524
-                            if (n.F_AreaName != '市区') {
525
-                                // $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName +
526
-                                //     "</option>").appendTo(obj);
527
-                                $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName +
528
-                                        "</option>").appendTo(obj);
529
-                            }
530
-                        })
531
-                    }
532
-                }
533
-            });
534
-        }
535
-        $("#source").click(function() {
536
-            if ($("#source").val() === "4") {
537
-                $(".leaderCharge-wrapper").show()
538
-            } else {
539
-                $(".leaderCharge-wrapper").hide()
540
-            }
541
-        })
542
-        //上传文件
543
-        function upload() {
544
-            var Files = document.getElementById("upFile").files;
545
-            if (Files.length > 0) {
546
-                var formData = new FormData();
547
-                for (var i = 0; i < Files.length; i++) {
548
-                    formData.append('file' + i, Files[i]);
549
-                }
550
-                formData.append("token", $.cookie("token"));
551
-                var typeName = Files[0].name.split('.')[1];
552
-                if (typeName == "png" || typeName == 'jpg' || typeName == 'mp4' || typeName == 'mp3' || typeName ==
553
-                    'pdf' || typeName == 'doc' || typeName == 'docx' || typeName == 'xls' || typeName == 'xlsx') {
554
-                    $.ajax({
555
-                        url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
556
-                        type: "POST",
557
-                        data: formData,
558
-                        /**
559
-                         *必须false才会自动加上正确的Content-Type
560
-                         */
561
-                        contentType: false,
562
-                        /**
563
-                         * 必须false才会避开jQuery对 formdata 的默认处理
564
-                         * XMLHttpRequest会对 formdata 进行正确的处理
565
-                         */
566
-                        processData: false,
567
-                        success: function (result) {
568
-                            document.getElementById("upFile").outerHTML = document.getElementById("upFile")
569
-                                .outerHTML;
570
-                            $("#upFile").change(function () {
571
-                                upload();
572
-                            });
573
-                            var r = $.parseJSON(result);
574
-                            if (r.state.toLowerCase() == "success") {
575
-                                var a = r.data;
576
-                                $(a).each(function (i, n) {
577
-                                    var strs = '<span class="files" fiel-num="' + n.F_FileId +
578
-                                        '">' + n.F_FileName.substring(19) +
579
-                                        '<i class="fa fa-remove del_file"></i></span>'
580
-                                    $(strs).appendTo($('.fileBox')).find('.del_file').click(
581
-                                        function (event) {
582
-                                            event.stopPropagation();
583
-                                            $(this).parent().remove();
584
-                                            file_num()
585
-                                        })
586
-                                })
587
-                                file_num();
588
-                            }
589
-                        }
590
-                    });
591
-                } else {
592
-                    layer.msg("格式不正确");
593
-                }
594
-            } else {
595
-                layer.confirm('请上传文件!', {
596
-                    btn: ['确定']
597
-                });
598
-            }
599
-        }
600
-    </script>
601
-</body>
602
-
603
-</html>

+ 2 - 3
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -1075,7 +1075,7 @@
1075 1075
                                     } else if (State == 6) {
1076 1076
                                         $('.ZT').text("已办理");
1077 1077
                                     } else if (State == 7) {
1078
-                                        $('.ZT').text("回访");
1078
+                                        $('.ZT').text("回访");
1079 1079
                                     } else if (State == 8) {
1080 1080
                                         if (Data[0].F_Identification === 0) {
1081 1081
                                             $('.ZT').text("重置转发");
@@ -1310,8 +1310,7 @@
1310 1310
                                                     '<div><a style="margin-right:5px;" target="view_window" href="' +
1311 1311
                                                     m.F_FileUrl + '" download="' + m
1312 1312
                                                     .F_FileName + '">' + m
1313
-                                                    .F_FileName.substring(
1314
-                                                        19) + '</a></div>'
1313
+                                                    .F_FileName.substring(19) + '</a></div>'
1315 1314
                                             }
1316 1315
                                             Ths += FileHtml;
1317 1316
                                         })

+ 1 - 1
WebUI/CallCenterWeb.UI/CommonHtml/auditMultimedia.html

@@ -61,11 +61,11 @@
61 61
             }, function (result) {
62 62
                 result = JSON.parse(result);
63 63
                 if (result.state.toLowerCase() == "success") {
64
-                    layer.msg("操作成功");
65 64
                     var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
66 65
                     parent.layer.close(index); //再执行关闭
67 66
                     parent.$("#orderlist").bootstrapTable("refresh");
68 67
                     parent.closePage()
68
+                    parent.layer.msg("操作成功");
69 69
                 }
70 70
             })
71 71
         }

+ 2 - 2
WebUI/CallCenterWeb.UI/CommonHtml/haveDoneToAuditOperation.html

@@ -17,16 +17,16 @@
17 17
 </head>
18 18
 
19 19
 <body>
20
-    <input type="hidden" id="PID" value="" />
21 20
     <div class="wrapper wrapper-content animated fadeInRight">
22 21
         <div style="padding: 10px" class="tj_content clearFix">
23 22
             <div class="Common">
24 23
                 <table>
25
-                    </tr>
24
+                    <tr>
26 25
                         <th>审核说明:</th>
27 26
                         <td colspan="7">
28 27
                             <textarea id="cbreason" class="form-control" name="" rows="" cols="" style=""></textarea>
29 28
                         </td>
29
+                    </tr>
30 30
                     <tr>
31 31
                         <td colspan="8" style="text-align: center">
32 32
                             <button class="btns save">保存</button>

+ 87 - 0
WebUI/CallCenterWeb.UI/CommonHtml/replyMultimedia.html

@@ -0,0 +1,87 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+<head>
5
+    <meta charset="UTF-8" />
6
+    <script src="../Script/Common/huayi.load.js"></script>
7
+    <script src="../Script/Common/huayi.config.js"></script>
8
+    <link rel="stylesheet" href="../css/bootstrap-select.css" />
9
+    <link rel="stylesheet" href="../css/layer/need/layer.css" />
10
+    <link rel="stylesheet" href="../css/init.css" />
11
+    <title>回复</title>
12
+    <style>
13
+        .Common table th {
14
+            width: 100px
15
+        }
16
+    </style>
17
+</head>
18
+
19
+<body>
20
+    <div class="wrapper wrapper-content animated fadeInRight">
21
+        <div style="padding: 10px" class="tj_content clearFix">
22
+            <div class="Common">
23
+                <table>
24
+                    <tr>
25
+                        <th>回复机构名称:</th>
26
+                        <td colspan="7">
27
+                            <textarea id="organization" class="form-control" name="" rows="" cols=""></textarea>
28
+                        </td>
29
+                    </tr>
30
+                    <tr>
31
+                        <th>回复内容:</th>
32
+                        <td colspan="7">
33
+                            <textarea id="content" class="form-control" name="" rows="" cols=""></textarea>
34
+                        </td>
35
+                    </tr>
36
+                    <tr>
37
+                        <td colspan="8" style="text-align: center">
38
+                            <button class="btns save">保存</button>
39
+                        </td>
40
+                    </tr>
41
+                </table>
42
+            </div>
43
+        </div>
44
+    </div>
45
+    <script>
46
+        var wid = helper.request.queryString("wid");
47
+        $(document).ready(function () {
48
+            $(".save").click(function () {
49
+                Add();
50
+            });
51
+        });
52
+
53
+        //修改工单
54
+        function Add() {
55
+            if ($("#content").val().length < 20) {
56
+                layer.msg("回复内容不能少于20字");
57
+                return;
58
+            }
59
+            if ($("#organization").val().length > 50) {
60
+                layer.msg("回复机构名称不能多于20字");
61
+                return;
62
+            }
63
+            $.ajax({
64
+                type: "post",
65
+                url: huayi.config.callcenter_url + "WorkOrder/Reply",
66
+                dataType: "json",
67
+                async: true,
68
+                data: {
69
+                    token: $.cookie("token"),
70
+                    workorderid: wid,
71
+                    content: $("#content").val(), // 回复内容
72
+                    organization: $("#organization").val(), // 回复机构名称
73
+                },
74
+                success: function (data) {
75
+                    if (data.state.toLowerCase() == "success") {
76
+                        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
77
+                        parent.layer.close(index); //再执行关闭
78
+                        parent.$("#orderlist").bootstrapTable("refresh");
79
+                        parent.layer.msg("操作成功");
80
+                    }
81
+                },
82
+            });
83
+        }
84
+    </script>
85
+</body>
86
+
87
+</html>

+ 22 - 16
WebUI/CallCenterWeb.UI/CommonHtml/shth.html

@@ -39,6 +39,7 @@
39 39
 			</table>
40 40
 			<div class="btn_box">
41 41
 				<button class="btns Agree">同意</button>
42
+				<button class="btns agreeTransfer">同意并转办</button>
42 43
 				<button class="btns Noagree">拒绝</button>
43 44
 			</div>
44 45
 		</div>
@@ -48,7 +49,7 @@
48 49
 			var wid = helper.request.queryString("wid");
49 50
 			var state;
50 51
 			$(document).ready(function() {
51
-				    HQ();
52
+                HQ();
52 53
 				$(".Agree").click(function(){
53 54
 					state=1;
54 55
 					JA();
@@ -57,34 +58,39 @@
57 58
 					state=2;
58 59
 					JA();
59 60
 				})
61
+                // 同意并转办
62
+                $(".agreeTransfer").click(function() {
63
+					state=1;
64
+					JA("agreeTransfer");
65
+                })
60 66
 			})
61 67
             
62 68
 			//批示
63
-			function JA() {
69
+			function JA(buttonType) {
64 70
 				$.post(huayi.config.callcenter_url + 'WorkOrder/AuditRebackWorkOrder', {
65 71
 					workorderid: wid,
66
-					reason:$("#Reason").val(),
67
-					state:state,
68
-					rebackid:$("#delayid").val(),
72
+					reason: $("#Reason").val(),
73
+					state: state,
74
+					rebackid: $("#delayid").val(),
69 75
 					"token": $.cookie("token")
70 76
 				}, function(result) {
71 77
 					result = JSON.parse(result);
72 78
 					if(result.state.toLowerCase() == "success") {
73
-                        // if (String(state) === "1") {
74
-                        //     //编辑
75
-                        //     layer.open({
76
-                        //         type: 2,
77
-                        //         content: "./AddAppeal.html?wid=" + wid +
78
-                        //             "&workType=jwthsh", //iframe的url,no代表不显示滚动条
79
-                        //         title: "编辑工单",
80
-                        //         area: ["95%", "95%"], //宽高
81
-                        //     });
82
-                        // } else {
79
+                        if (String(buttonType) === "agreeTransfer") {
80
+                            //编辑
81
+                            layer.open({
82
+                                type: 2,
83
+                                content: "./AddAppeal.html?wid=" + wid +
84
+                                    "&workType=jwthsh", //iframe的url,no代表不显示滚动条
85
+                                title: "编辑工单",
86
+                                area: ["95%", "95%"], //宽高
87
+                            });
88
+                        } else {
83 89
                             var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
84 90
                             parent.layer.close(index); //再执行关闭
85 91
                             parent.$('#orderlist').bootstrapTable('refresh');
86 92
                             parent.layer.msg("审核退回成功");
87
-                        // }
93
+                        }
88 94
 					}
89 95
 				})
90 96
 			}

+ 9 - 0
WebUI/CallCenterWeb.UI/MultimediaWorkOrder/haveAduitMedia.html

@@ -916,6 +916,15 @@
916 916
                 area: ["50%", "50%"], //宽高
917 917
             });
918 918
         }
919
+        // 回复
920
+        function replyMultimedia(str) {
921
+            layer.open({
922
+                type: 2,
923
+                content: "../CommonHtml/replyMultimedia.html?wid=" + str, //iframe的url,no代表不显示滚动条
924
+                title: "回复",
925
+                area: ["60%", "60%"], //宽高
926
+            });
927
+        }
919 928
 
920 929
         //上传文件
921 930
         function upload() {

+ 1 - 1
WebUI/CallCenterWeb.UI/ReportForm/callCenterReceptionStatus.html

@@ -81,7 +81,7 @@
81 81
                     <i class="syIcon"></i>位置:
82 82
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
83 83
                     <a href="javaScript:;">业务统计</a>&gt;
84
-                    <a href="" class="nowPosition">督办报表</a>
84
+                    <a href="" class="nowPosition">电话中心受话情况统计表</a>
85 85
                 </sapn>
86 86
             </div>
87 87
             <div class="dhRight">

+ 1 - 1
WebUI/CallCenterWeb.UI/ReportForm/comprehensiveStatisticsInteractionGovernmentPeople.html

@@ -181,7 +181,7 @@
181 181
                         </thead>
182 182
                     </table>
183 183
                 </div>
184
-                <div class="footerDataStatistics">统计时段:00:00—23:59:59</div>
184
+                <!-- <div class="footerDataStatistics">统计时段:00:00—23:59:59</div> -->
185 185
             </div>
186 186
         </div>
187 187
     </div>

+ 1 - 1
WebUI/CallCenterWeb.UI/ReportForm/threeworkMY.html

@@ -71,7 +71,7 @@
71 71
                     <i class="syIcon"></i>位置:
72 72
                     <a href="javaScript:;" id="ReIndex">首页</a>&gt;
73 73
                     <a href="javaScript:;">业务统计</a>&gt;
74
-                    <a href="" class="nowPosition">坐席接听满意度统计</a>
74
+                    <a href="" class="nowPosition">三级单位满意度统计</a>
75 75
                 </sapn>
76 76
             </div>
77 77
             <div class="dhRight">

+ 1 - 0
WebUI/CallCenterWeb.UI/Script/Common/huayi.config.js

@@ -67,6 +67,7 @@ huayi.config = {
67 67
         "<a class='xg' onclick='approvedComplaint(\"data\")' title='审核通过转办'>审核通过转办</a>", // 审核通过转办
68 68
         "<a class='xg' onclick='auditMultimediaThrough(\"data\")' title='审核通过'>审核通过</a>", // 多媒体审核通过
69 69
         "<a class='xg' onclick='auditMultimediaNotThrough(\"data\")' title='审核不通过'>审核不通过</a>", // 多媒体审核不通过
70
+        "<a class='xg' onclick='replyMultimedia(\"data\")' title='回复'>回复</a>", // 多媒体回复
70 71
     ],
71 72
     kapArr: [
72 73
         "<a class='xg' onclick='goDetail(\"data\",\"data_id\")' title='查看'>查看</a>",

+ 51 - 0
anyangWebAPP/components/showFile/index.vue

@@ -0,0 +1,51 @@
1
+<template>
2
+  <view class="imageBoxWrapper">
3
+    <view class="imageBox" v-for="item in file" :key="item.F_UserCode">
4
+      <view v-if="item.F_FileType === '.jpg' || item.F_FileType === '.png'">
5
+        <view class="imageContent">
6
+          <image style="width: 80px; height: 80px;" mode="aspectFit" :src="item.F_FileUrl.replace(/\s+/g, '')"></image>
7
+        </view>
8
+      </view>
9
+      <view v-else class="other">
10
+        <text class="otherContent">{{ item.F_FileName.substring(19) }}</text>
11
+      </view>
12
+    </view>
13
+  </view>
14
+</template>
15
+
16
+<script>
17
+export default {
18
+  data() {
19
+    return {
20
+
21
+    }
22
+  },
23
+  props: {
24
+    file: {
25
+      type: Array,
26
+      default: []
27
+    }
28
+  },
29
+  methods: {
30
+  }
31
+}
32
+</script>
33
+
34
+<style lang="scss">
35
+  .imageBoxWrapper {
36
+    display: flex;
37
+    width: 100%;
38
+    flex-wrap: wrap;
39
+    .imageBox {
40
+      width: 25%;
41
+      margin: 0 0 3px 0;
42
+      .other{
43
+        padding: 10px 5px 0 5px;
44
+        text-align: center;
45
+        .otherContent {
46
+          word-wrap: break-word;
47
+        }
48
+      }
49
+    }
50
+  }
51
+</style>

+ 414 - 220
anyangWebAPP/pages/viewWorkOrder/viewWorkOrder.vue

@@ -1,133 +1,274 @@
1 1
 <template>
2 2
   <view class="wrapper">
3
-    <view class="detailContent">
4
-      <view class="contentTable">
5
-        <text class="contentTitle">工单编号:</text>
6
-        <text class="contentText">{{ detailContentData.F_WorkOrderId }}</text>
7
-      </view>
8
-      <view class="contentTable">
9
-        <text class="contentTitle">受理时间:</text>
10
-        <text class="contentText">{{ detailContentData.F_CreateTime }}</text>
11
-      </view>
12
-      <view class="contentTable">
13
-        <text class="contentTitle">来电人:</text>
14
-        <text class="contentText">{{ detailContentData.F_CusName }}</text>
15
-      </view>
16
-      <view class="contentTable">
17
-        <text class="contentTitle">来电号码:</text>
18
-        <text class="contentText">{{ detailContentData.F_CusPhone }}</text>
19
-      </view>
20
-      <view class="contentTable">
21
-        <text class="contentTitle">保密等级:</text>
22
-        <text class="contentText">{{ String(detailContentData.F_IsProtect) === "0" ? "普通" : "保密" }}</text>
23
-      </view>
24
-      <view class="contentTable">
25
-        <text class="contentTitle">地址:</text>
26
-        <text class="contentText">{{ detailContentData.AreaName + detailContentData.F_SourceAddress }}</text>
27
-      </view>
28
-      <view class="contentTable">
29
-        <text class="contentTitle">工单内容:</text>
30
-        <text class="contentText">{{ detailContentData.F_Content == null ? detailContentData.F_ComContent : detailContentData.F_Content }}</text>
31
-      </view>
32
-      <view class="contentTable">
33
-        <text class="contentTitle">来源:</text>
34
-        <text class="contentText">{{ detailContentData.SourceName }}</text>
35
-      </view>
36
-    </view>
37
-    <view class="form">
38
-      <form @submit="formSubmit" @reset="formReset">
39
-        <view class="uni-form-item uni-column">
40
-          <view class="title">承办单位:</view>
41
-          <view>
42
-            <bjx-inputs the-style="" :value="formData.deptName" item-key="F_DeptName" placeholder="请输入内容" @list="getDeptData" @select="selectDept" overflow="hide"> </bjx-inputs>
43
-          </view>
44
-        </view>
45
-        <view class="uni-form-item uni-column" v-if="isDisplay.urgentOrOrdinary">
46
-          <view class="uni-title uni-common-pl">办理时限:</view>
47
-          <view class="uni-list">
48
-            <view class="uni-list-cell">
49
-              <view class="uni-list-cell-db">
50
-                <picker @change="bindPickerChangeProcessingTimeLimit" :value="pickerIndex.indexProcessingTimeLimit" :range="processingTimeLimitListData" :range-key="'text'">
51
-                  <view class="uni-input">{{ processingTimeLimitListData[pickerIndex.indexProcessingTimeLimit].text }}</view>
52
-                </picker>
3
+    <view>
4
+      <uni-segmented-control :current="current" :values="items" @clickItem="onClickItem" styleType="text" activeColor="#4cd964"></uni-segmented-control>
5
+      <view>
6
+        <view v-show="current === 0">
7
+          <view class="detailContent">
8
+            <view class="contentTable">
9
+              <text class="contentTitle">工单编号:</text>
10
+              <text class="contentText">{{ detailContentData.workOrderId }}</text>
11
+            </view>
12
+            <view class="contentTable">
13
+              <text class="contentTitle">状态:</text>
14
+              <text class="contentText">{{ detailContentData.F_WorkState | workStateFilters(detailContentData) }}</text>
15
+            </view>
16
+            <view class="contentTable">
17
+              <text class="contentTitle">受理人:</text>
18
+              <text class="contentText">{{ detailContentData.F_CreateUser | acceptPersonFilters(detailContentData) }}</text>
19
+            </view>
20
+            <view class="contentTable">
21
+              <text class="contentTitle">处理方式:</text>
22
+              <text class="contentText">{{ detailContentData.F_IsResult | dealWithWayFilters }}</text>
23
+            </view>
24
+            <view class="contentTable">
25
+              <text class="contentTitle">录入时间:</text>
26
+              <text class="contentText">{{ detailContentData.F_CreateTime }}</text>
27
+            </view>
28
+            <view class="contentTable">
29
+              <text class="contentTitle">提交时间:</text>
30
+              <text class="contentText">{{ detailContentData.F_SubmitTime }}</text>
31
+            </view>
32
+            <view class="contentTable">
33
+              <text class="contentTitle">办理时间:</text>
34
+              <text class="contentText">{{ detailContentData.F_DealTime }}</text>
35
+            </view>
36
+            <view class="contentTable">
37
+              <text class="contentTitle">结案时间:</text>
38
+              <text class="contentText">{{ detailContentData.F_CloseTime }}</text>
39
+            </view>
40
+            <view class="contentTable">
41
+              <text class="contentTitle">三方通话:</text>
42
+              <text class="contentText">{{ detailContentData.F_Business | threeWayCallFilters }}</text>
43
+            </view>
44
+            <view class="contentTable">
45
+              <text class="contentTitle">反映类型:</text>
46
+              <text class="contentText">{{ detailContentData.TypeName1 }}</text>
47
+            </view>
48
+            <view class="contentTable">
49
+              <text class="contentTitle">紧急程度:</text>
50
+              <text class="contentText">{{ detailContentData.F_Level | levelFilters }}</text>
51
+            </view>
52
+            <view class="contentTable">
53
+              <text class="contentTitle">反映类别:</text>
54
+              <text class="contentText">{{ detailContentData.KeyName }}</text>
55
+            </view>
56
+            <view class="contentTable">
57
+              <text class="contentTitle">密级:</text>
58
+              <text class="contentText">{{ detailContentData.F_IsProtect | isProtectFilters }}</text>
59
+            </view>
60
+            <view class="contentTable">
61
+              <text class="contentTitle">办理单位:</text>
62
+              <text class="contentText">{{ detailContentData.deptname }}</text>
63
+            </view>
64
+            <view class="contentTable">
65
+              <text class="contentTitle">处理结果:</text>
66
+              <text class="contentText">{{ detailContentData.F_Result }}</text>
67
+            </view>
68
+            <view class="contentTable">
69
+              <text class="contentTitle">追加回复:</text>
70
+              <text class="contentText">{{ detailContentData.F_AdditionalReply }}</text>
71
+            </view>
72
+            <view class="contentTable">
73
+              <text class="contentTitle">结案意见:</text>
74
+              <text class="contentText">{{ detailContentData.F_FinalOpinion }}</text>
75
+            </view>
76
+            <view class="contentTable">
77
+              <text class="contentTitle">附件:</text>
78
+              <view class="contentText">
79
+                <show-file :file="File"></show-file>
53 80
               </view>
81
+              <!-- <text >{{ detailContentData.SourceName }}</text> -->
54 82
             </view>
55 83
           </view>
56 84
         </view>
57
-        <view class="uni-form-item uni-column" v-if="!isDisplay.urgentOrOrdinary">
58
-          <view class="uni-title uni-common-pl">紧急时限:</view>
59
-          <view class="uni-list">
60
-            <view class="test">
61
-              <input class="uni-input" @click="DatePicker('datetime')" name="emergencyTimeFrame" :value="formData.emergencyTimeFrame" placeholder="紧急时限" />
62
-              <!-- <text @click="DatePicker('datetime')">{{ formData.emergencyTimeFrame }}</text> -->
85
+        <view v-show="current === 1">
86
+          <view class="detailContent">
87
+            <view class="contentBlock">
88
+              <text class="title">二级办理单位</text>
89
+              <view class="content" v-for="item in twoAssignedInformation" :key="item.F_Id">
90
+                <view class="contentTable">
91
+                  <text class="contentTitle">交办时间:</text>
92
+                  <text class="contentText">{{ item.F_CreateTime }}</text>
93
+                </view>
94
+                <view class="contentTable">
95
+                  <text class="contentTitle">办理时限:</text>
96
+                  <text class="contentText">{{ item.F_LimitTime }}</text>
97
+                </view>
98
+                <view class="contentTable">
99
+                  <text class="contentTitle">承办单位:</text>
100
+                  <text class="contentText">{{ item.DeptName }}</text>
101
+                </view>
102
+                <view class="contentTable">
103
+                  <text class="contentTitle">交办意见:</text>
104
+                  <text class="contentText">{{ item.F_AssignedOpinion }}</text>
105
+                </view>
106
+              </view>
107
+              <yiLine>
108
+                <view></view>
109
+              </yiLine>
110
+            </view>
111
+            <view class="contentBlock">
112
+              <text class="title">三级办理单位</text>
113
+              <view class="content" v-for="item in threeAssignedInformation" :key="item.F_Id">
114
+                <view class="contentTable">
115
+                  <text class="contentTitle">交办时间:</text>
116
+                  <text class="contentText">{{ item.F_CreateTime }}</text>
117
+                </view>
118
+                <view class="contentTable">
119
+                  <text class="contentTitle">办理时限:</text>
120
+                  <text class="contentText">{{ item.F_LimitTime }}</text>
121
+                </view>
122
+                <view class="contentTable">
123
+                  <text class="contentTitle">承办单位:</text>
124
+                  <text class="contentText">{{ item.DeptName }}</text>
125
+                </view>
126
+                <view class="contentTable">
127
+                  <text class="contentTitle">交办意见:</text>
128
+                  <text class="contentText">{{ item.F_AssignedOpinion }}</text>
129
+                </view>
130
+              </view>
131
+              <yiLine>
132
+                <view></view>
133
+              </yiLine>
134
+            </view>
135
+            <view class="contentBlock">
136
+              <text class="title">退回审核</text>
137
+              <view class="content" v-for="item in backAuditList" :key="item.F_Id">
138
+                <view class="contentTable">
139
+                  <text class="contentTitle">申请时间:</text>
140
+                  <text class="contentText">{{ item.F_CreateTime }}</text>
141
+                </view>
142
+                <view class="contentTable">
143
+                  <text class="contentTitle">申请原因:</text>
144
+                  <text class="contentText">{{ item.F_Result }}</text>
145
+                </view>
146
+                <view class="contentTable">
147
+                  <text class="contentTitle">状态:</text>
148
+                  <text class="contentText">{{ item.F_IsAudit |  backauditFilters }}</text>
149
+                </view>
150
+                <view class="contentTable">
151
+                  <text class="contentTitle">审核时间:</text>
152
+                  <text class="contentText">{{ item.F_AuditTime }}</text>
153
+                </view>
154
+                <view class="contentTable">
155
+                  <text class="contentTitle">审核意见:</text>
156
+                  <text class="contentText">{{ item.F_AuditReason }}</text>
157
+                </view>
158
+                <view class="contentTable">
159
+                  <text class="contentTitle">申请单位:</text>
160
+                  <text class="contentText">{{ item.DeptName }}</text>
161
+                </view>
162
+                <view class="contentTable">
163
+                  <text class="contentTitle">附件:</text>
164
+                  <view class="contentText">
165
+                  </view>
166
+                </view>
167
+              </view>
168
+              <yiLine>
169
+                <view></view>
170
+              </yiLine>
63 171
             </view>
64
-            <mx-date-picker :show="showPicker" type="datetime" :value="formData.emergencyTimeFrame" :show-tips="true" :begin-text="'开始'" :end-text="'结束'" :show-seconds="true" @confirm="ed" @cancel="ed" />
65
-          </view>
66
-        </view>
67
-        <view class="uni-form-item uni-column">
68
-          <view class="title">调度意见:</view>
69
-          <view class="uni-textarea">
70
-            <textarea name="schedulingOpinions" :value="formData.schedulingOpinions" auto-height />
71 172
           </view>
72 173
         </view>
73
-        <view class="uni-btn-v">
74
-          <button form-type="submit" class="mini-btn" size="mini" type="default">保存</button>
75
-        </view>
76
-      </form>
77
-      <!-- <view>
78
-        <button form-type="submit" class="mini-btn" size="mini" type="default" @click="returnPage">返回</button>
79
-      </view> -->
174
+        <view v-show="current === 2"></view>
175
+      </view>
80 176
     </view>
81 177
   </view>
82 178
 </template>
83 179
 
84 180
 <script>
85
-import BjxInputs from "@/components/bjx-inputs/bjx-inputs.vue"
86
-import MxDatePicker from "@/components/mx-datepicker/mx-datepicker.vue"
87
-// import bjxList from './list.vue' // 若要查看微信小程序 自定义组件嵌套产生的问题 可打开
181
+import yiLine from "../../components/yi-line/yi-line.vue"
182
+import showFile from "../../components/showFile/index.vue"
88 183
 
89 184
 export default {
90 185
   components: {
91
-    BjxInputs,
92
-    MxDatePicker,
186
+    yiLine,
187
+    showFile
93 188
   },
94 189
   data() {
95 190
     return {
96 191
       wid: "", // 工单编号
97 192
       detailContentData: {}, // 详情内容
98
-      deptListData: [],
99
-      formData: {
100
-        deptName: "", // 部门名称
101
-        deptId: "", // 部门id
102
-        processingTimeLimit: "1", // 普通时限
103
-        schedulingOpinions: "请于1小时内与来电人取得联系(匿名除外),并于7个工作日内将办理情况反馈来电人,并将办理结果报市长便民公开电话受理中心,同时做好来电人信息保密工作。(若超期将进行通报;若无故不回复,将转交市委市政府督查局。)", // 调度意见
104
-        emergencyTimeFrame: "", // 紧急时限
105
-      },
106
-      pickerIndex: {
107
-        indexProcessingTimeLimit: 0, // 来源index
108
-      },
109
-      processingTimeLimitListData: [
193
+      twoAssignedInformation: [], // 二级交办信息
194
+      threeAssignedInformation: [], // 三级交办信息
195
+      backAuditList: [], // 退回审核
196
+      current: 0,
197
+      items: ["工单信息", "交办信息", "市长批示", "工单驳回", "办理情况", "延时审核", "回访信息", "督办信息", "市民催办", "办理过程", "市民评议", "多媒体审核"],
198
+      File: [
199
+        {
200
+          "F_AddTime": "2021-12-08 16:40:34",
201
+          "F_FileId": 86595,
202
+          "F_FileName": "(20211208164033996)588812181.jpg",
203
+          "F_FileType": ".jpg",
204
+          "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
205
+          "F_Size": 117990,
206
+          "F_UserCode": "10199"
207
+        },
208
+                {
209
+          "F_AddTime": "2021-12-08 16:40:34",
210
+          "F_FileId": 86595,
211
+          "F_FileName": "(20211208164033996)588812181.jpg",
212
+          "F_FileType": ".jpg",
213
+          "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
214
+          "F_Size": 117990,
215
+          "F_UserCode": "10199"
216
+        },
217
+        {
218
+          "F_AddTime": "2021-12-08 16:40:34",
219
+          "F_FileId": 86595,
220
+          "F_FileName": "(20211208164033996)588812181.jpg",
221
+          "F_FileType": ".jpg",
222
+          "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
223
+          "F_Size": 117990,
224
+          "F_UserCode": "10199"
225
+        },
110 226
         {
111
-          value: "1",
112
-          text: "一天",
227
+          "F_AddTime": "2021-12-08 16:40:34",
228
+          "F_FileId": 86595,
229
+          "F_FileName": "(20211208164033996)588812181.jpg",
230
+          "F_FileType": ".jpg",
231
+          "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
232
+          "F_Size": 117990,
233
+          "F_UserCode": "10199"
113 234
         },
114 235
         {
115
-          value: "3",
116
-          text: "三天",
236
+          "F_AddTime": "2021-12-08 16:40:34",
237
+          "F_FileId": 86595,
238
+          "F_FileName": "(20211208164033996)588812181.jpg",
239
+          "F_FileType": ".jpg",
240
+          "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
241
+          "F_Size": 117990,
242
+          "F_UserCode": "10199"
117 243
         },
118 244
         {
119
-          value: "5",
120
-          text: "五天",
245
+          "F_AddTime": "2021-12-08 16:40:34",
246
+          "F_FileId": 86595,
247
+          "F_FileName": "(20211208164033996)588812181.jpg",
248
+          "F_FileType": ".pdf",
249
+          "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
250
+          "F_Size": 117990,
251
+          "F_UserCode": "10199"
121 252
         },
122 253
         {
123
-          value: "7",
124
-          text: "七天",
254
+          "F_AddTime": "2021-12-08 16:40:34",
255
+          "F_FileId": 86595,
256
+          "F_FileName": "(20211208164033996)588812181.jpg",
257
+          "F_FileType": ".pdf",
258
+          "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
259
+          "F_Size": 117990,
260
+          "F_UserCode": "10199"
125 261
         },
126
-      ],
127
-      isDisplay: {
128
-        urgentOrOrdinary: true,
129
-      },
130
-      showPicker: false,
262
+        {
263
+          "F_AddTime": "2021-12-08 16:40:34",
264
+          "F_FileId": 86595,
265
+          "F_FileName": "(20211208164033996)588812181.jpg",
266
+          "F_FileType": ".pdf",
267
+          "F_FileUrl": " http://docking.zwfw.anyang.gov.cn:9998/Upload/Files/2021/12/08/(20211208164033996)588812181.jpg",
268
+          "F_Size": 117990,
269
+          "F_UserCode": "10199"
270
+        },
271
+      ]
131 272
     }
132 273
   },
133 274
   onLoad(option) {
@@ -136,41 +277,11 @@ export default {
136 277
     this.getDetail("0")
137 278
     // 获取交办信息
138 279
     // this.getDetail("1")
139
-    //获取部门
140
-    this.getDeptList()
141 280
   },
142 281
   methods: {
143
-    formSubmit: function (e) {
144
-      this.formData.schedulingOpinions = e.detail.value.schedulingOpinions
145
-      console.log("form发生了submit事件,携带数据为:" + JSON.stringify(e.detail.value))
146
-      this.saveData()
147
-    },
148
-    // 保存
149
-    saveData() {
150
-      const params = {
151
-        workorderid: this.wid,
152
-        state: 1, // 保存并交办
153
-        maindeptid: String(this.formData.deptId), // 承办单位
154
-        limittime: this.formData.processingTimeLimit, // 办理时限
155
-        limittimes: this.formData.emergencyTimeFrame, // 紧急办理时限
156
-        assignedopinion: this.formData.schedulingOpinions, //调度意见
157
-        // assignid: "",
158
-        token: uni.getStorageSync("token"),
159
-      }
160
-      this.$http
161
-        .post("/WorkOrder/AssignWorkOrderNew", params)
162
-        .then((response) => {
163
-          if (response.state.toLowerCase() === "success") {
164
-            this.returnPage()
165
-          }
166
-        })
167
-        .catch((e) => {
168
-          console.log(e)
169
-        })
170
-    },
171 282
     // 返回列表页
172 283
     returnPage() {
173
-      uni.$emit("updateList",{});
284
+      uni.$emit("updateList", {})
174 285
       uni.navigateBack({
175 286
         delta: 2,
176 287
       })
@@ -188,126 +299,209 @@ export default {
188 299
         .then((response) => {
189 300
           if (response.state.toLowerCase() === "success") {
190 301
             let data = response.data
191
-            if (type === "0") {
192
-              this.detailContentData = data.data[0]
193
-              this.isDisplay.urgentOrOrdinary = String(this.detailContentData.F_Level) === "2" ? false : true
194
-            } 
302
+            if (String(type) === "0") {
303
+              this.detailContentData = Object.assign({}, data.data[0]) 
304
+            } else if (String(type) === "1") {
305
+              this.twoAssignedInformation = data.jbdata;
306
+              this.threeAssignedInformation = data.ejjbdata;
307
+              this.backAuditList = data.thdata;
308
+            }
195 309
           }
196 310
         })
197 311
         .catch((e) => {
198 312
           console.log(e)
199 313
         })
200 314
     },
201
-
202
-    getDeptList() {
203
-      let params = {
204
-        iscbdw: 2,
205
-        token: uni.getStorageSync("token"),
315
+    onClickItem(e) {
316
+      this.current = e.currentIndex;
317
+      switch (e.currentIndex) {
318
+        case 1:
319
+          // 获取交办信息
320
+          this.getDetail("1");
321
+          break;
322
+        default:
323
+          break;
206 324
       }
207
-      this.$http
208
-        .get("/Department/GetDeptList", params)
209
-        .then((response) => {
210
-          if (response.state.toLowerCase() === "success") {
211
-            let data = response.data
212
-            this.deptListData = data
213
-          }
214
-        })
215
-        .catch((e) => {
216
-          console.log(e)
217
-        })
218 325
     },
219
-
220
-    // 远程加载数据 返回一个对象,{value: 输入框值, callback: 回调函数}
221
-    getDeptData(e) {
222
-      console.log("e", e)
223
-      this.formData.deptName = e.value
224
-      if (!e.value) {
225
-        e.callback(this.deptListData)
226
-      } else {
227
-        let data = []
228
-        this.deptListData.forEach((item) => {
229
-          if (item.F_DeptName.indexOf(e.value) > -1) {
230
-            data.push(item)
326
+  },
327
+  filters: {
328
+    workStateFilters(value, data) {
329
+      let str;
330
+      switch(value) {
331
+        case 0:
332
+            let entryTimeDate = new Date(Date.parse(Data[0].F_CreateTime));
333
+            let defaultTimeDate = new Date(Date.parse("2020-10-16 00:00:00"));
334
+            if (entryTimeDate >= defaultTimeDate) {
335
+              str = "新工单";
336
+            } else {
337
+              str = "新工单(历史工单)";
338
+            }
339
+          break;
340
+        case 1:
341
+          str =  "待交办";
342
+          break;
343
+        case 2:
344
+          str =  "待查收";
345
+          break;
346
+        case 3:
347
+          str =  "退回审核中";
348
+          break;
349
+        case 4:
350
+          str =  "办理中";
351
+          break;
352
+        case 5:
353
+          str =  "延时审核中";
354
+          break;
355
+        case 6:
356
+          str =  "已办理";
357
+          break;
358
+        case 7:
359
+          str =  "待回访";
360
+          break;
361
+        case 8:
362
+          if (String(data.F_Identification) === "0" ) {
363
+            str = "重置转发";
364
+          } else if (String(data.F_Identification) === "1") {
365
+            str = "退回重办";
366
+          } else {
367
+            str =  "重办中";
231 368
           }
232
-        })
233
-        e.callback(data)
369
+          break;
370
+        case 9:
371
+          str =  "已结案";
372
+          break;
373
+        case 10:
374
+          str =  "待审核";
375
+          break;
376
+        case 11:
377
+          str =  "重办待交办";
378
+          break;
379
+        case 13:
380
+          str =  "重办驳回";
381
+          break;
382
+        default:
383
+          str = "";
384
+          break;
234 385
       }
386
+      return str
235 387
     },
236
-    
237
-    selectDept(value) {
238
-      this.formData.deptName = value.F_DeptName
239
-      this.formData.deptId = value.F_DeptId
388
+    acceptPersonFilters(value, data) {
389
+      let str;
390
+      switch(data.F_InfoSource) {
391
+        case 1:
392
+          str = data.F_CreateUser;
393
+          break;
394
+        default:
395
+          str = data.F_CusName;
396
+          break;
397
+      }
398
+      return str;
240 399
     },
241
-
242
-    //办理时限change
243
-    bindPickerChangeProcessingTimeLimit: function (e) {
244
-      this.pickerIndex.indexProcessingTimeLimit = e.target.value
245
-      this.formData.processingTimeLimit = this.processingTimeLimitListData[e.target.value].value
400
+    dealWithWayFilters(value) {
401
+      let str;
402
+      switch(value) {
403
+        case 0:
404
+          str = "网络转办";
405
+          break;
406
+        case 1:
407
+          str = "当即办理";
408
+          break;
409
+        default:
410
+          str = "";
411
+          break;
412
+      }
413
+      return str;
246 414
     },
247
-
248
-    DatePicker(type) {
249
-      //显示
250
-      this.type = type
251
-      this.showPicker = true
252
-      this.formData.emergencyTimeFrame = this[type]
415
+    threeWayCallFilters(value) {
416
+      let str;
417
+      switch(value) {
418
+        case 1:
419
+          str = "是";
420
+          break;
421
+        default:
422
+          str = "否";
423
+          break;
424
+      }
425
+      return str;
253 426
     },
254
-    ed(e) {
255
-      //选择
256
-      this.showPicker = false
257
-      if (e) {
258
-        //选择的值
259
-        console.log("value => " + e.value)
260
-        //原始的Date对象
261
-        console.log("date => " + e.date)
262
-        this.timeFormat(e.date)
427
+    levelFilters(value) {
428
+      let str;
429
+      switch(value) {
430
+        case 1:
431
+          str = "普通";
432
+          break;
433
+        default:
434
+          str = "紧急";
435
+          break;
263 436
       }
437
+      return str;
264 438
     },
265
-    timeFormat(date) {
266
-      let year = date.getFullYear()
267
-      let month = date.getMonth() + 1
268
-      month = month < 10 ? "0" + month : month
269
-      let day = date.getDate()
270
-      day = day < 10 ? "0" + day : day
271
-      let hours = date.getHours()
272
-      hours = hours < 10 ? "0" + hours : hours
273
-      let minute = date.getMinutes()
274
-      minute = minute < 10 ? "0" + minute : minute
275
-      let seconds = date.getSeconds()
276
-      seconds = seconds < 10 ? "0" + seconds : seconds
277
-      let time = `${year}-${month}-${day} ${hours}:${minute}:${seconds}`
278
-      this.formData.emergencyTimeFrame = time
439
+    isProtectFilters(value) {
440
+      let str;
441
+      switch(value) {
442
+        case 0:
443
+          str = "普通";
444
+          break;
445
+        default:
446
+          str = "保密";
447
+          break;
448
+      }
449
+      return str;
279 450
     },
280
-  },
451
+    backauditFilters(value) {
452
+      let str;
453
+      switch(String(value)) {
454
+        case "1":
455
+          str = "同意";
456
+          break;
457
+        case "2":
458
+          str = "拒绝";
459
+          break;
460
+        default:
461
+          str = "";
462
+          break;
463
+      }
464
+      return str;
465
+    }
466
+  }
281 467
 }
282 468
 </script>
283 469
 
284 470
 <style lang="scss">
285 471
 .wrapper {
286 472
   padding: 10px 10px 0 10px;
473
+
474
+  .segmented-control {
475
+    width: 100%;
476
+    overflow: auto;
477
+    /deep/ .segmented-control__item {
478
+      white-space: nowrap;
479
+      margin-right: 8px;
480
+    }
481
+    /deep/ .segmented-control__item:last-child {
482
+      margin-right: 0px;
483
+    }
484
+  }
287 485
   .detailContent {
288
-    margin: 0 0 15px 0;
486
+    margin: 15px 0 15px 0;
487
+    .contentBlock {
488
+      margin: 18px 0 0 0;
489
+      .title {
490
+        font-weight: 700;
491
+      }
492
+      .content {
493
+        margin: 5px 0 5px 0;
494
+      }
495
+    }
289 496
     .contentTable {
290 497
       margin: 0 0 5px 0;
291 498
       .contentTitle {
292 499
         font-weight: 700;
500
+        font-size: 14px;
293 501
       }
294 502
       .contentText {
295 503
         color: #525252;
296
-      }
297
-    }
298
-  }
299
-  .form {
300
-    .uni-form-item {
301
-      margin: 10px 0 0 0;
302
-      padding: 0 0 5px 0;
303
-      border-bottom: 1px solid #bfbfbf;
304
-    }
305
-    .uni-btn-v {
306
-      margin: 15px 0 0 0;
307
-      text-align: center;
308
-      button {
309
-        background: #1e90ff;
310
-        color: #eee;
504
+        font-size: 14px;
311 505
       }
312 506
     }
313 507
   }

+ 3 - 1
anyangWebAPP/pages/workOrderDetail/workOrderDetail.vue

@@ -35,7 +35,7 @@
35 35
     </yiLine>
36 36
     <view class="operationButton">
37 37
       <view>
38
-        <text class="operationButtonTitle">操作按钮</text>
38
+        <text class="operationButtonTitle">操作</text>
39 39
         <view class="buttons">
40 40
           <button class="mini-btn" type="default" size="mini" v-for="item in workOrderButton" @click="callBtnMethods(item.eventName)" :key="item.id">{{ item.text }}</button>
41 41
           <!-- <button class="mini-btn" type="default" size="mini"  @click="editBtn">查看</button>
@@ -156,9 +156,11 @@ export default {
156 156
       margin: 0 0 5px 0;
157 157
       .contentTitle {
158 158
         font-weight: 700;
159
+        font-size: 14px;
159 160
       }
160 161
       .contentText {
161 162
         color: #525252;
163
+        font-size: 14px;
162 164
       }
163 165
     }
164 166
   }

+ 3 - 0
anyangWebAPP/uni_modules/uni-segmented-control/changelog.md

@@ -1,3 +1,6 @@
1
+## 1.2.0(2021-11-19)
2
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
3
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-segmented-control](https://uniapp.dcloud.io/component/uniui/uni-segmented-control)
1 4
 ## 1.1.0(2021-07-30)
2 5
 - 组件兼容 vue3,如何创建vue3项目,详见 [uni-app 项目支持 vue3 介绍](https://ask.dcloud.net.cn/article/37834)
3 6
 ## 1.0.5(2021-05-12)

+ 24 - 21
anyangWebAPP/uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control.vue

@@ -1,20 +1,23 @@
1 1
 <template>
2
-	<view :class="[styleType === 'text'?'segmented-control--text' : 'segmented-control--button' ]" :style="{ borderColor: styleType === 'text' ? '' : activeColor }"
3
-	 class="segmented-control">
4
-		<view v-for="(item, index) in values" :class="[ styleType === 'text'?'segmented-control__item--text': 'segmented-control__item--button' , index === currentIndex&&styleType === 'button'?'segmented-control__item--button--active': '' , index === 0&&styleType === 'button'?'segmented-control__item--button--first': '',index === values.length - 1&&styleType === 'button'?'segmented-control__item--button--last': '' ]"
5
-		 :key="index" :style="{
6
-        backgroundColor: index === currentIndex && styleType === 'button' ? activeColor : '',borderColor: index === currentIndex&&styleType === 'text'||styleType === 'button'?activeColor:'transparent'
7
-      }"
8
-		 class="segmented-control__item" @click="_onClick(index)">
9
-			<text :style="{color:
10
-          index === currentIndex
11
-            ? styleType === 'text'
12
-              ? activeColor
13
-              : '#fff'
14
-            : styleType === 'text'
15
-              ? '#000'
16
-              : activeColor}"
17
-			 class="segmented-control__text">{{ item }}</text>
2
+	<view :class="[styleType === 'text'?'segmented-control--text' : 'segmented-control--button' ]"
3
+		:style="{ borderColor: styleType === 'text' ? '' : activeColor }" class="segmented-control">
4
+		<view v-for="(item, index) in values" :class="[ styleType === 'text' ? '': 'segmented-control__item--button',
5
+		index === currentIndex&&styleType === 'button' ? 'segmented-control__item--button--active': '',
6
+		index === 0&&styleType === 'button' ? 'segmented-control__item--button--first': '',
7
+			index === values.length - 1&&styleType === 'button' ? 'segmented-control__item--button--last': '' ]" :key="index"
8
+			:style="{ backgroundColor: index === currentIndex && styleType === 'button' ? activeColor : '',borderColor: index === currentIndex&&styleType === 'text'||styleType === 'button'?activeColor:'transparent' }"
9
+			class="segmented-control__item" @click="_onClick(index)">
10
+			<view>
11
+				<text :style="{color:
12
+				    index === currentIndex
13
+				      ? styleType === 'text'
14
+				        ? activeColor
15
+				        : '#fff'
16
+				      : styleType === 'text'
17
+				        ? '#000'
18
+				        : activeColor}" class="segmented-control__text" :class="styleType === 'text' && index === currentIndex ? 'segmented-control__item--text': ''">{{ item }}</text>
19
+			</view>
20
+
18 21
 		</view>
19 22
 	</view>
20 23
 </template>
@@ -35,7 +38,7 @@
35 38
 
36 39
 	export default {
37 40
 		name: 'UniSegmentedControl',
38
-		emits:['clickItem'],
41
+		emits: ['clickItem'],
39 42
 		props: {
40 43
 			current: {
41 44
 				type: Number,
@@ -49,7 +52,7 @@
49 52
 			},
50 53
 			activeColor: {
51 54
 				type: String,
52
-				default: '#007aff'
55
+				default: '#2979FF'
53 56
 			},
54 57
 			styleType: {
55 58
 				type: String,
@@ -85,7 +88,6 @@
85 88
 </script>
86 89
 
87 90
 <style lang="scss" scoped>
88
-
89 91
 	.segmented-control {
90 92
 		/* #ifndef APP-NVUE */
91 93
 		display: flex;
@@ -131,11 +133,12 @@
131 133
 
132 134
 	.segmented-control__item--text {
133 135
 		border-bottom-style: solid;
134
-		border-bottom-width: 3px;
136
+		border-bottom-width: 2px;
137
+		padding: 6px 0;
135 138
 	}
136 139
 
137 140
 	.segmented-control__text {
138
-		font-size: 16px;
141
+		font-size: 14px;
139 142
 		line-height: 20px;
140 143
 		text-align: center;
141 144
 	}

+ 6 - 2
anyangWebAPP/uni_modules/uni-segmented-control/package.json

@@ -1,7 +1,7 @@
1 1
 {
2 2
   "id": "uni-segmented-control",
3 3
   "displayName": "uni-segmented-control 分段器",
4
-  "version": "1.1.0",
4
+  "version": "1.2.0",
5 5
   "description": "分段器由至少 2 个分段控件组成,用作不同视图的显示",
6 6
   "keywords": [
7 7
     "uni-ui",
@@ -41,7 +41,7 @@
41 41
     "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
42 42
   },
43 43
   "uni_modules": {
44
-    "dependencies": [],
44
+    "dependencies": ["uni-scss"],
45 45
     "encrypt": [],
46 46
     "platforms": {
47 47
       "cloud": {
@@ -76,6 +76,10 @@
76 76
         "快应用": {
77 77
           "华为": "u",
78 78
           "联盟": "u"
79
+        },
80
+        "Vue": {
81
+            "vue2": "y",
82
+            "vue3": "y"
79 83
         }
80 84
       }
81 85
     }

+ 2 - 49
anyangWebAPP/uni_modules/uni-segmented-control/readme.md

@@ -7,54 +7,7 @@
7 7
 
8 8
 用作不同视图的显示
9 9
 
10
-### 安装方式
10
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-segmented-control)
11
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839 
11 12
 
12
-本组件符合[easycom](https://uniapp.dcloud.io/collocation/pages?id=easycom)规范,`HBuilderX 2.5.5`起,只需将本组件导入项目,在页面`template`中即可直接使用,无需在页面中`import`和注册`components`。
13 13
 
14
-如需通过`npm`方式使用`uni-ui`组件,另见文档:[https://ext.dcloud.net.cn/plugin?id=55](https://ext.dcloud.net.cn/plugin?id=55)
15
-
16
-### 基本用法
17
-
18
-在 ``template`` 中的使用
19
-
20
-```html
21
-<template>
22
-    <view>
23
-        <uni-segmented-control :current="current" :values="items" @clickItem="onClickItem" styleType="button" activeColor="#4cd964"></uni-segmented-control>
24
-        <view class="content">
25
-            <view v-show="current === 0">
26
-                选项卡1的内容
27
-            </view>
28
-            <view v-show="current === 1">
29
-                选项卡2的内容
30
-            </view>
31
-            <view v-show="current === 2">
32
-                选项卡3的内容
33
-            </view>
34
-        </view>
35
-    </view>
36
-</template>
37
-```
38
-
39
-## API
40
-
41
-### SegmentedControl Props
42
-
43
-|属性名				|类型				|默认值	|说明															|
44
-|:-:					|:-:				|:-:	|:-:															|
45
-|current			|Number			|0		|当前选中的tab索引值,从0计数									|
46
-|styleType		|String			|button	|分段器样式类型,可选值:button(按钮类型),text(文字类型)	|
47
-|activeColor	|String			|#007aff|选中的标签背景色与边框颜色										|
48
-|values				|Array			|-		|选项数组														|
49
-
50
-### SegmentedControl Events
51
-
52
-|事件名		|说明					|返回值				|
53
-|:-:		|:-:					|:-:				|
54
-|@clickItem	|组件触发点击事件时触发	|e={currentIndex}	|
55
-
56
-
57
-
58
-## 组件示例
59
-
60
-点击查看:[https://hellouniapp.dcloud.net.cn/pages/extUI/segmented-control/segmented-control](https://hellouniapp.dcloud.net.cn/pages/extUI/segmented-control/segmented-control)