liuyifan 4 anni fa
parent
commit
dc499cc859

+ 1 - 2
WebUI/CallCenterWeb.UI/Appeal/AddAppeal.html

@@ -71,8 +71,7 @@
71 71
                     <tr>
72 72
                         <th class="Importent">内容:</th>
73 73
                         <td colspan="7">
74
-                            <textarea data-adaptheight id="content" class="form-control" name="" rows="3" cols=""
75
-                                style="width: 100%;"></textarea>
74
+                            <input id="content" class="form-control" type="text" style="width: 100%;" />
76 75
                         </td>
77 76
                     </tr>
78 77
                     <tr>

+ 6 - 1
WebUI/CallCenterWeb.UI/CommonHtml/WorkDatil.html

@@ -283,12 +283,16 @@
283 283
                                 </td>
284 284
                             </tr>
285 285
                             <tr>
286
+                                <th>办理单位:</th>
287
+                                <td>
288
+                                    <span class="handlingUnit"></span>
289
+                                </td>
286 290
                                 <th>关联工单类型:</th>
287 291
                                 <td>
288 292
                                     <span class="associatedWorkOrderType"></span>
289 293
                                 </td>
290 294
                                 <th>关联工单:</th>
291
-                                <td colspan="5">
295
+                                <td colspan="3">
292 296
                                     <span class="associatedWorkOrderList"></span>
293 297
                                 </td>
294 298
                             </tr>
@@ -854,6 +858,7 @@
854 858
                                     $(".LX").text(Data[0].TypeName1);
855 859
                                     $(".Result").text(Data[0].F_Result);
856 860
                                     $(".AreaName").text(Data[0].AreaName);
861
+                                    $(".handlingUnit").text(Data[0].deptname);
857 862
                                     isProtect = result.data.data[0].F_IsProtect
858 863
                                     if (Data[0].F_CusPhone) {
859 864
                                         if (roleCode === "GLY" || roleCode === "ZXHWY" ||

+ 1 - 1
WebUI/CallCenterWeb.UI/Report/CallTime.html

@@ -158,7 +158,7 @@
158 158
 							$(".tbody").html("");
159 159
 							for(var i = 0; i < content.length; i++) {
160 160
 							    //$("<tr><td>" + content[i].时间 + "</td><td>" + content[i].电话呼入次数 + "</td><td>" + content[i].电话呼出次数 + "</td><td>" + content[i].正常接听次数 + "</td><td>" + content[i].未接通次数 + "</td><td>" + content[i].语音留言次数 + "</td><td>" + content[i].主动放弃次数 + "</td><td>" + content[i].电话骚扰次数 + "</td><td>" + content[i].平均呼入时间 + "</td></tr>").appendTo(".hwbb tbody");
161
-							    $("<tr><td>" + content[i].时间 + "</td><td>" + content[i].电话呼入次数 + "</td><td>" + content[i].电话呼出次数 + "</td><td>" + content[i].正常接听次数 + "</td><td>" + content[i].未接通次数 + "</td><td>" + content[i].主动放弃次数 + "</td><td>" + content[i].电话骚扰次数 + "</td><td>" + content[i].平均呼入时间 + "</td><td>" + content[i].峰值排队人数 + "</td></tr>").appendTo(".hwbb tbody");
161
+							    $("<tr><td>" + content[i].时间 + "</td><td>" + content[i].电话呼入次数 + "</td><td>" + content[i].电话呼出次数 + "</td><td>" + content[i].正常呼入接听次数 + "</td><td>" + content[i].呼入未接通次数 + "</td><td>" + content[i].呼入主动放弃次数 + "</td><td>" + content[i].电话骚扰次数 + "</td><td>" + content[i].平均呼入时间 + "</td><td>" + content[i].峰值排队人数 + "</td></tr>").appendTo(".hwbb tbody");
162 162
 								//$("<tr><td>" + content[i].时间 + "</td><td>" + content[i].电话呼入次数 + "</td><td>" + content[i].电话呼出次数 + "</td><td>" + content[i].正常接听次数 + "</td><td>" + content[i].语音留言次数 + "</td><td>" + content[i].主动放弃次数 + "</td><td>" + content[i].平均呼入时间 + "</td></tr>").appendTo(".hwbb tbody");
163 163
 							}
164 164
 						}

+ 2 - 19
WebUI/CallCenterWeb.UI/home.html

@@ -1881,24 +1881,6 @@
1881 1881
                                 </div>
1882 1882
                                 <div id="dicForms">
1883 1883
                                     <div class="form-group clearfix">
1884
-                                        <!-- <span class="col-sm-1">
1885
-                                            邮箱:
1886
-                                        </span>
1887
-                                        <span class="col-sm-3">
1888
-                                            <input type="text" class="email" id="email" />
1889
-                                        </span>
1890
-                                        <span class="col-sm-1">
1891
-                                            邮编:
1892
-                                        </span>
1893
-                                        <span class="col-sm-3">
1894
-                                            <input type="text" class="postcode" id="zipcode" />
1895
-                                        </span> -->
1896
-                                        <!-- <span class="col-sm-1 Import">
1897
-                                            联系电话:
1898
-                                        </span>
1899
-                                        <span class="col-sm-3">
1900
-                                            <input type="text" class="lxdh" id="conphone" />
1901
-                                        </span> -->
1902 1884
                                     </div>
1903 1885
                                     <div class="form-group clearfix">
1904 1886
                                         <span class="col-sm-1 Import">标题:</span>
@@ -1910,7 +1892,8 @@
1910 1892
                                     <div class="form-group clearfix">
1911 1893
                                         <span class="col-sm-1 Import">内容:</span>
1912 1894
                                         <span class="col-sm-11">
1913
-                                            <textarea rows="5" class="form-control" id="content"></textarea>
1895
+                                            <input id="content" class="form-control" type="text"
1896
+                                            style=" padding: 5px; width: 100%;" />
1914 1897
                                         </span>
1915 1898
                                     </div>
1916 1899
 

+ 12 - 17
WebUI/CallCenterWeb.UI/zhiShiKu/addOrEditZhiShiKuPolicyExpert.html

@@ -146,6 +146,18 @@
146 146
                 <td><input type="text" id="identifyEncoding" autocomplete="off" /></td> -->
147 147
                 <td width="100">发布单位</td>
148 148
                 <td><input type="text" id="publishUnit" autocomplete="off" /></td>
149
+                <td width="100">头像</td>
150
+                <td>
151
+                    <div class="imgBox">
152
+                    </div>
153
+                    <input class="input" type="file" name="upFile" id="upFile" style="display: none;">
154
+                    <input class="input" type="button" value="上传" id="scwj" />
155
+                    <input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />
156
+                    <input type="hidden" id="file" />
157
+                    <span style="color:#FF0000; border: none;">
158
+                        (文件格式为png,jpg)
159
+                    </span>        
160
+                </td>
149 161
             </tr>
150 162
             <tr>
151 163
                 <td width="100" height="100">专业领域简介</td>
@@ -153,23 +165,6 @@
153 165
                         id="introductionFieldExpertise"></textarea></td>
154 166
             </tr>
155 167
         </table>
156
-        <div class="">
157
-            <span>上传头像:</span>
158
-            <div class="fileBox">
159
-                <!--<span class="files">文件1<i class="fa fa-remove"></i></span>-->
160
-            </div>
161
-            <div class="imgBox">
162
-            </div>
163
-            <!--<input type="text" placeholder="输入附件详情" style="width:66%" />-->
164
-            <!--<span class="fjnr"></span>-->
165
-            <input class="input" type="file" name="upFile" id="upFile" style="display: none;">
166
-            <input class="input" type="button" value="上传" id="scwj" />
167
-            <input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />
168
-            <input type="hidden" id="file" />
169
-            <span style="color:#FF0000; border: none;">
170
-                (文件格式为png,jpg)
171
-            </span>
172
-        </div>
173 168
         <p style="text-align: center;">
174 169
             <button class="btns save">保存</button>
175 170
         </p>

+ 168 - 0
WebUI/CallCenterWeb.UI/zhiShiKu/detailZhiShiKuPolicyExpert.html

@@ -0,0 +1,168 @@
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/init.css" />
9
+    <title>办事指南</title>
10
+    <style type="text/css">
11
+        ul,
12
+        li {
13
+            padding: 0;
14
+            margin: 0;
15
+            list-style: none;
16
+        }
17
+
18
+        .table tr td input[type="text"] {
19
+            width: 100%;
20
+            height: 34px;
21
+            background: #f3f3f4;
22
+            outline: none;
23
+            border: 1px solid #e7e7e7;
24
+            /*padding-left: 10px;*/
25
+        }
26
+
27
+        .radio-inline input[type=radio] {
28
+            margin-top: 2px;
29
+        }
30
+
31
+        .table tr td textarea {
32
+            width: 100%;
33
+            height: 100%;
34
+            background: #f3f3f4;
35
+            border: 1px solid #e7e7e7;
36
+            resize: none;
37
+            padding: 0px;
38
+            /*padding-left: 10px;*/
39
+        }
40
+
41
+        #scwj {
42
+            background-color: #FFF;
43
+            background-image: none;
44
+            border: 1px solid #ccc;
45
+            border-radius: 1px;
46
+            color: inherit;
47
+            padding: 6px 12px !important;
48
+        }
49
+
50
+        .files {
51
+            padding: 5px !important;
52
+        }
53
+
54
+        .time-box {
55
+            position: relative;
56
+            width: 197px !important;
57
+            height: 34px;
58
+            margin: 0;
59
+        }
60
+
61
+        .tub+input {
62
+            padding-right: 30px;
63
+            border: 1px solid #e5e6e7 !important;
64
+        }
65
+
66
+        i.tub {
67
+            position: absolute;
68
+            right: 8px;
69
+            top: 8px;
70
+            font-size: 18px;
71
+            color: #00a0ca;
72
+        }
73
+
74
+        .operation_bj {
75
+            float: right;
76
+        }
77
+
78
+        .imgBox {
79
+            display: inline-block;
80
+        }
81
+        .imgWrapper {
82
+            position: relative;
83
+        }
84
+        .imgMask {
85
+            display: none;
86
+            position: absolute;
87
+            top: 0;
88
+            left: 0;
89
+            width: 100%;
90
+            height: 20px;
91
+            background: rgba(0, 0, 0, 0.8);
92
+        }
93
+        .del_file {
94
+            position: absolute;
95
+            top: 2px;
96
+            right: 5px;
97
+            color: #FFF;
98
+        }
99
+    </style>
100
+</head>
101
+
102
+<body class="gray-bg">
103
+    <div class="container-fluid wrapper-content animated fadeInRight">
104
+        <div class="operation_bj">
105
+
106
+        </div>
107
+        <table class="table table-bordered table-condensed">
108
+            <tr>
109
+                <td width="100">专家姓名</td>
110
+                <td><input type="text" id="name" autocomplete="off" readonly="readonly" /></td>
111
+                <td width="100">地区</td>
112
+                <td><input type="text" id="address" autocomplete="off" readonly="readonly" /></td>
113
+            </tr>
114
+            <tr>
115
+                <td width="100">专家单位</td>
116
+                <td><input type="text" id="unit" autocomplete="off" readonly="readonly" /></td>
117
+                <td width="100">所属行业</td>
118
+                <td><input type="text" id="industry" autocomplete="off" readonly="readonly" /></td>
119
+            </tr>
120
+            <tr>
121
+                <td width="100">科室</td>
122
+                <td><input type="text" id="department" autocomplete="off" readonly="readonly" /></td>
123
+                <td width="100">生效时间</td>
124
+                <td><input type="text" id="effectiveTime" autocomplete="off" readonly="readonly" /></td>
125
+            </tr>
126
+            <tr>
127
+                <td width="100">职务</td>
128
+                <td><input type="text" id="job" autocomplete="off" readonly="readonly" /></td>
129
+                <td width="100">失效时间</td>
130
+                <td><input type="text" id="expirationTime" autocomplete="off" readonly="readonly" /></td>
131
+            </tr>
132
+            <tr>
133
+                <td width="100">手机号码</td>
134
+                <td><input type="text" id="phoneNumber" autocomplete="off" readonly="readonly" /></td>
135
+                <td width="100">发布时间</td>
136
+                <td><input type="text" id="publishTime" autocomplete="off" readonly="readonly" /></td>
137
+            </tr>
138
+            <tr>
139
+                <td width="100">办公电话</td>
140
+                <td><input type="text" id="officePhone" autocomplete="off" readonly="readonly" /></td>
141
+                <td width="100">发布人</td>
142
+                <td><input type="text" id="publishPersonal" autocomplete="off" readonly="readonly" /></td>
143
+            </tr>
144
+            <tr>
145
+                <!-- <td width="100">标识编码</td>
146
+                <td><input type="text" id="identifyEncoding" autocomplete="off" /></td> -->
147
+                <td width="100">发布单位</td>
148
+                <td><input type="text" id="publishUnit" autocomplete="off" readonly="readonly" /></td>
149
+                <td width="100">头像</td>
150
+                <td>
151
+                    <div class="imgBox">
152
+                    </div>
153
+                    <input type="hidden" id="file" />
154
+                </td>
155
+            </tr>
156
+            <tr>
157
+                <td width="100" height="100">专业领域简介</td>
158
+                <td colspan="3" height="100"> <textarea name="" rows="" cols=""
159
+                        id="introductionFieldExpertise" readonly="readonly"></textarea></td>
160
+            </tr>
161
+        </table>
162
+    </div>
163
+    <script src="../js/adjustHeight.js"></script>
164
+    <script src="../css/laydate/laydate.js"></script>
165
+    <script src="js/detailZhiShiKuPolicyExpert.js"></script>
166
+</body>
167
+
168
+</html>

+ 1 - 0
WebUI/CallCenterWeb.UI/zhiShiKu/js/addOrEditZhiShiKuPolicyExpert.js

@@ -157,6 +157,7 @@ function upload() {
157 157
         });
158 158
     }
159 159
 }
160
+
160 161
 //上传文件隐藏域值
161 162
 // function file_num() {
162 163
 //     var str = "";

+ 74 - 0
WebUI/CallCenterWeb.UI/zhiShiKu/js/detailZhiShiKuPolicyExpert.js

@@ -0,0 +1,74 @@
1
+var id = helper.request.queryString("id");
2
+$(document).ready(function () {
3
+    //获取知识库详情
4
+    if (id) {
5
+        $.ajax({
6
+            type: "get",
7
+            url: huayi.config.callcenter_url + "Professor/GetModel",
8
+            async: true,
9
+            dataType: "json",
10
+            data: {
11
+                token: $.cookie("token"),
12
+                id: id,
13
+            },
14
+            success: function (result) {
15
+                if (result.state.toLowerCase() == "success") {
16
+                    var data = result.data;
17
+                    $("#name").val(data.F_XingMing);
18
+                    $("#address").val(data.F_DiQu);
19
+                    $("#unit").val(data.F_DanWei);
20
+                    $("#industry").val(data.F_HangYe);
21
+                    $("#department").val(data.F_KeShi);
22
+                    $("#effectiveTime").val(data.F_ShengXiaoShiJian);
23
+                    $("#job").val(data.F_ZhiWu);
24
+                    $("#expirationTime").val(data.F_ShiXiaoShiJian);
25
+                    $("#phoneNumber").val(data.F_ShouJi);
26
+                    $("#publishTime").val(data.F_FaBuShiJian);
27
+                    $("#officePhone").val(data.F_DianHua);
28
+                    $("#publishPersonal").val(data.F_FaBuRen);
29
+                    // $("#identifyEncoding").val(data.F_BiaoShiBianMa);
30
+                    $("#publishUnit").val(data.F_FaBuDanWei);
31
+                    $("#introductionFieldExpertise").val(
32
+                        data.F_ZhuanYeLingYuJianJie
33
+                    );
34
+
35
+                    if (data.F_TouXiang) {
36
+                        avatarDisplay(data.F_TouXiang);
37
+                    }
38
+                }
39
+            },
40
+        });
41
+    }
42
+});
43
+
44
+// 头像展示
45
+function avatarDisplay(data) {
46
+    $(".imgBox").empty();
47
+    var str =
48
+        "<div class='imgWrapper'><img class='' with='80' height='80' src=" +
49
+        huayi.config.callcenter_url +
50
+        data +
51
+        " onclick='viewImage(this)' ><div class='imgMask'><i class='fa fa-remove del_file'></i></div></div>";
52
+    $(".imgBox").append(str);
53
+    $("#file").val(data);
54
+}
55
+
56
+function viewImage(file) {
57
+    var json = {
58
+        title: "", //相册标题
59
+        id: 1, //相册id
60
+        start: 0, //初始显示的图片序号,默认0
61
+        data: [
62
+            //相册包含的图片,数组格式
63
+            {
64
+                // alt: $(file).attr("alt"),
65
+                // pid: $(file).attr("fileId"), //图片id
66
+                src: $(file).attr("src"), //原图地址
67
+            },
68
+        ],
69
+    };
70
+    layer.photos({
71
+        photos: json,
72
+        anim: 5, //0-6的选择,指定弹出图片动画类型,默认随机(请注意,3.0之前的版本用shift参数)
73
+    });
74
+}

+ 14 - 5
WebUI/CallCenterWeb.UI/zhiShiKu/js/zhiShiKuPolicyExpert.js

@@ -66,11 +66,11 @@ function setCode(val, row, index) {
66 66
 function operation(val, row) {
67 67
     return (
68 68
         '<div class="tool_downs">' +
69
-        // '<a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' +
70
-        // row.F_Id +
71
-        // '" onclick="detail(\'' +
72
-        // row.F_Id +
73
-        // '\')" title="详情">详情</a>' +
69
+        '<a href="javascript:;" class="aBtn" style="margin-left:0px;" authorize="yes"  id="HY_details_' +
70
+        row.F_Id +
71
+        '" onclick="detailBtn(\'' +
72
+        row.F_Id +
73
+        '\')" title="详情">详情</a>' +
74 74
         '<a href="javascript:;" class="aBtn" authorize="yes" onclick="editBtn(' +
75 75
         row.F_Id +
76 76
         ')" title="编辑">编辑</a>' +
@@ -120,3 +120,12 @@ function deleteBtn(id) {
120 120
         })
121 121
     });
122 122
 }
123
+
124
+function detailBtn(id) {
125
+    layer.open({
126
+        type: 2,
127
+        content: "./detailZhiShiKuPolicyExpert.html?id=" + id, //iframe的url,no代表不显示滚动条
128
+        title: "政策专家库",
129
+        area: ["80%", "80%"], //宽高
130
+    });
131
+}