|
|
@@ -1,446 +1,451 @@
|
|
1
|
1
|
<!DOCTYPE html>
|
|
2
|
2
|
<html>
|
|
3
|
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="../css/init.css" />
|
|
10
|
|
- <title>新增诉求工单</title>
|
|
11
|
|
- <style>
|
|
12
|
|
- .input {
|
|
13
|
|
- background-color: #FFF;
|
|
14
|
|
- background-image: none;
|
|
15
|
|
- border: 1px solid #ccc;
|
|
16
|
|
- border-radius: 1px;
|
|
17
|
|
- color: inherit;
|
|
18
|
|
- padding: 6px 12px
|
|
19
|
|
- }
|
|
20
|
|
-
|
|
21
|
|
- .fjnr {
|
|
22
|
|
- padding: 0!important;
|
|
23
|
|
- border: none!important;
|
|
24
|
|
- }
|
|
25
|
|
- .Source{
|
|
26
|
|
- width: 171px;
|
|
27
|
|
- display: block;
|
|
28
|
|
- height: 32px;
|
|
29
|
|
- }
|
|
30
|
|
- </style>
|
|
31
|
|
- </head>
|
|
|
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="../css/init.css" />
|
|
|
10
|
+ <title>新增诉求工单</title>
|
|
|
11
|
+ <style>
|
|
|
12
|
+ .input {
|
|
|
13
|
+ background-color: #FFF;
|
|
|
14
|
+ background-image: none;
|
|
|
15
|
+ border: 1px solid #ccc;
|
|
|
16
|
+ border-radius: 1px;
|
|
|
17
|
+ color: inherit;
|
|
|
18
|
+ padding: 6px 12px
|
|
|
19
|
+ }
|
|
32
|
20
|
|
|
33
|
|
- <body>
|
|
|
21
|
+ .fjnr {
|
|
|
22
|
+ padding: 0 !important;
|
|
|
23
|
+ border: none !important;
|
|
|
24
|
+ }
|
|
34
|
25
|
|
|
35
|
|
- <div class="wrapper wrapper-content animated fadeInRight">
|
|
36
|
|
- <div style="padding: 10px;" class="tj_content clearFix">
|
|
37
|
|
- <div class="Common">
|
|
38
|
|
- <table>
|
|
39
|
|
- <tr>
|
|
40
|
|
- <th class="Importent">姓名:</th>
|
|
41
|
|
- <td>
|
|
42
|
|
- <input type="text" id="cusname" />
|
|
43
|
|
- </td>
|
|
44
|
|
- <th>性别:</th>
|
|
45
|
|
- <td>
|
|
46
|
|
- <select class="select_" id="SEX">
|
|
47
|
|
- <option value="">请选择</option>
|
|
48
|
|
- <option value="0">男</option>
|
|
49
|
|
- <option value="1">女</option>
|
|
50
|
|
- </select>
|
|
51
|
|
- </td>
|
|
52
|
|
- <th>来源:</th>
|
|
53
|
|
- <td>
|
|
54
|
|
- <!--<select class="select_" id="source">
|
|
55
|
|
- </select>-->
|
|
56
|
|
- <span class="Source"></span>
|
|
57
|
|
- <input type="hidden" id="source" readonly="readonly" />
|
|
58
|
|
- </td>
|
|
59
|
|
- <th class="Importent">投诉电话:</th>
|
|
60
|
|
- <td>
|
|
61
|
|
- <input type="text" id="cusphone" />
|
|
62
|
|
- </td>
|
|
63
|
|
- </tr>
|
|
64
|
|
- <tr>
|
|
65
|
|
- <th>邮箱:</th>
|
|
66
|
|
- <td>
|
|
67
|
|
- <input type="text" id="email" />
|
|
68
|
|
- </td>
|
|
69
|
|
- <th>邮编:</th>
|
|
70
|
|
- <td>
|
|
71
|
|
- <input type="text" id="zipcode" />
|
|
72
|
|
- </td>
|
|
73
|
|
- <th>联系电话:</th>
|
|
74
|
|
- <td>
|
|
75
|
|
- <input type="text" id="conphone" />
|
|
76
|
|
- </td>
|
|
77
|
|
- </tr>
|
|
78
|
|
- <tr>
|
|
79
|
|
- <th class="Importent">标题:</th>
|
|
80
|
|
- <td colspan="7">
|
|
81
|
|
- <input id="title" type="text" style="width: 100%;" />
|
|
82
|
|
- </td>
|
|
83
|
|
- </tr>
|
|
84
|
|
- <tr>
|
|
85
|
|
- <th class="Importent">内容:</th>
|
|
86
|
|
- <td colspan="7">
|
|
87
|
|
- <textarea data-adaptheight id="content" name="" rows="" cols="" style="width: 100%;"></textarea>
|
|
88
|
|
- </td>
|
|
89
|
|
- </tr>
|
|
90
|
|
- <tr>
|
|
91
|
|
- <th class="Importent">事件地址:</th>
|
|
92
|
|
- <td colspan="7">
|
|
93
|
|
- <select class="select_" id="sourcearea">
|
|
94
|
|
- </select>
|
|
95
|
|
- <input id="sourceaddress" type="text" placeholder="输入详细地址" style="width:66%" />
|
|
96
|
|
- </td>
|
|
97
|
|
- </tr>
|
|
98
|
|
- <tr>
|
|
99
|
|
- <th>附件上传:</th>
|
|
100
|
|
- <td colspan="7">
|
|
101
|
|
- <div class="fileBox">
|
|
102
|
|
-
|
|
103
|
|
- </div>
|
|
104
|
|
- <!--<input type="text" placeholder="输入附件详情" style="width:66%" />-->
|
|
105
|
|
- <!--<span class="fjnr"></span>-->
|
|
106
|
|
- <input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;">
|
|
107
|
|
- <input class="input" type="button" value="上传" id="scwj" />
|
|
108
|
|
- <!--<input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />-->
|
|
109
|
|
- <input type="hidden" id="file" />
|
|
110
|
|
- </td>
|
|
111
|
|
- </tr>
|
|
112
|
|
- <tr>
|
|
113
|
|
- <th>处理方式:</th>
|
|
114
|
|
- <td colspan="7">
|
|
115
|
|
- <input type="radio" value="1" name="banli" class="Nows" />当即办理
|
|
116
|
|
- <input checked="true" type="radio" value="0" name="banli" class="Nows_" />网络转办
|
|
117
|
|
- </td>
|
|
118
|
|
- </tr>
|
|
119
|
|
- <tr class="Nows_box Hidens">
|
|
120
|
|
- <th>办理内容:</th>
|
|
121
|
|
- <td colspan="7">
|
|
|
26
|
+ .Source {
|
|
|
27
|
+ width: 171px;
|
|
|
28
|
+ display: block;
|
|
|
29
|
+ height: 32px;
|
|
|
30
|
+ }
|
|
122
|
31
|
|
|
123
|
|
- <input type="text" style="width: 100%;" id="result" />
|
|
124
|
|
- </td>
|
|
125
|
|
- </tr>
|
|
126
|
|
- <tr>
|
|
127
|
|
- <th class="Importent">主题词:</th>
|
|
128
|
|
- <td>
|
|
129
|
|
- <!--<input id="keys" type="text" placeholder="输入主题词" style="width:100%" />-->
|
|
130
|
|
- <select class="select_" id="keys">
|
|
131
|
|
- <option value=""></option>
|
|
132
|
|
- </select>
|
|
133
|
|
- </td>
|
|
134
|
|
- <th>类型:</th>
|
|
135
|
|
- <td>
|
|
136
|
|
- <select class="select_" id="type">
|
|
137
|
|
- </select>
|
|
138
|
|
- </td>
|
|
139
|
|
- <th>密级:</th>
|
|
140
|
|
- <td >
|
|
141
|
|
- <input checked="true" type="radio" name="mj" id="" value="0" />普通
|
|
142
|
|
- <input type="radio" name="mj" id="" value="1" />保密
|
|
143
|
|
- </td>
|
|
144
|
|
- <th>紧急程度:</th>
|
|
145
|
|
- <td>
|
|
146
|
|
- <select class="select_" id="level">
|
|
147
|
|
- <option value="">选择</option>
|
|
148
|
|
- <option value="0">普通</option>
|
|
149
|
|
- <option value="1">紧急</option>
|
|
150
|
|
- </select>
|
|
151
|
|
- </td>
|
|
152
|
|
- <!--<th class="">分管领导:</th>
|
|
153
|
|
- <td colspan="4">
|
|
154
|
|
- <input id="splituser" type="text" placeholder="" style="width:100%" readonly="readonly" />
|
|
155
|
|
- </td>-->
|
|
156
|
|
- </tr>
|
|
157
|
|
- </table>
|
|
158
|
|
- <div class="btn_box">
|
|
159
|
|
- <button class="btns BC">保存</button>
|
|
160
|
|
- <button class="btns SavedSubmit">保存并提交</button>
|
|
161
|
|
- </div>
|
|
|
32
|
+ input, select {
|
|
|
33
|
+ vertical-align: middle;
|
|
|
34
|
+ }
|
|
|
35
|
+ </style>
|
|
|
36
|
+</head>
|
|
162
|
37
|
|
|
163
|
|
- </div>
|
|
164
|
|
- </div>
|
|
165
|
|
- </div>
|
|
166
|
|
- <script src="../css/laydate/laydate.js"></script>
|
|
167
|
|
- <script src="../js/adjustHeight.js"></script>
|
|
168
|
|
- <script>
|
|
169
|
|
- var wid = helper.request.queryString("wid");
|
|
170
|
|
- var submit;
|
|
|
38
|
+<body>
|
|
171
|
39
|
|
|
172
|
|
- $(document).ready(function() {
|
|
173
|
|
- QY($("#sourcearea"));
|
|
174
|
|
- LY($("#source"));
|
|
175
|
|
- LB($("#type"));
|
|
176
|
|
- ZT($("#keys"))
|
|
177
|
|
- //当即办理
|
|
178
|
|
- $(' input[name="banli"]').change(function(){
|
|
179
|
|
- var val=$(this).val();
|
|
180
|
|
- if(val=="1"){
|
|
181
|
|
- $(".Nows_box").show();
|
|
182
|
|
- }else{
|
|
183
|
|
- $(".Nows_box").hide();
|
|
184
|
|
- }
|
|
185
|
|
-
|
|
186
|
|
- })
|
|
187
|
|
- $(".BC").click(function() {
|
|
188
|
|
- submit = 0;
|
|
189
|
|
- Add()
|
|
190
|
|
- });
|
|
191
|
|
- //上传附件
|
|
192
|
|
- $("#scwj").click(function() {
|
|
193
|
|
- $("#upFile").trigger("click");
|
|
194
|
|
- })
|
|
195
|
|
- $("#upFile").change(function() {
|
|
196
|
|
- upload();
|
|
197
|
|
- })
|
|
198
|
|
-// $("#scfj").click(function() {
|
|
199
|
|
-// $(".fjnr").text("");
|
|
200
|
|
-// $("#scfj").hide();
|
|
201
|
|
-// })
|
|
202
|
|
- $(".SavedSubmit").click(function() {
|
|
203
|
|
- submit = 1;
|
|
204
|
|
- Add()
|
|
205
|
|
- })
|
|
206
|
|
- if(wid) {
|
|
207
|
|
- $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', {
|
|
208
|
|
- workorderid: wid,
|
|
209
|
|
- "token": $.cookie("token")
|
|
210
|
|
- }, function(result) {
|
|
211
|
|
- if(result.state.toLowerCase() == "success") {
|
|
212
|
|
- var Data = result.data.data;
|
|
213
|
|
- $("#cusname").val(Data[0].F_CusName);
|
|
214
|
|
- $("#cusphone").val(Data[0].F_CusPhone);
|
|
215
|
|
- $("#conphone").val(Data[0].F_ConPhone);
|
|
216
|
|
- $("#title").val(Data[0].F_ComTitle);
|
|
217
|
|
- $('#content').val(Data[0].F_ComContent);
|
|
218
|
|
- $('#email').val(Data[0].F_Email);
|
|
219
|
|
- $("#zipcode").val(Data[0].F_ZipCode);
|
|
220
|
|
- $("#result").val(Data[0].F_Result);
|
|
221
|
|
- //x性别
|
|
222
|
|
- $("#SEX").val(Data[0].F_CusSex+'');
|
|
223
|
|
- //来源
|
|
224
|
|
- $("#source").val(Data[0].F_InfoSource+'');
|
|
225
|
|
- //事件地址
|
|
226
|
|
- $(".Source").text(Data[0].SourceName);
|
|
227
|
|
- $("#sourcearea").val(Data[0].F_SourceArea+'');
|
|
228
|
|
- //主题词
|
|
229
|
|
- $("#keys").val(Data[0].F_Key+'');
|
|
230
|
|
- //类型
|
|
231
|
|
- $("#type").val(Data[0].F_InfoType+'');
|
|
232
|
|
- //紧急程度
|
|
233
|
|
- $("#level").val(Data[0].F_Level+'')
|
|
234
|
|
- if(Data[0].F_IsResult == 1) {
|
|
235
|
|
- $(".Nows_box").toggle();
|
|
236
|
|
- }
|
|
237
|
|
- $(' input[name="banli"][value="' + Data[0].F_IsResult + '"]').prop("checked", "checked");
|
|
238
|
|
- $(' input[name="mj"][value="' + Data[0].F_IsProtect + '"]').prop("checked", "checked");
|
|
239
|
|
- $('.F_SourceAddress').val(Data[0].F_SourceAddress);
|
|
240
|
|
- $('.F_FinalOpinion').val(Data[0].F_FinalOpinion);
|
|
241
|
|
- $(Data[0].File).each(function(k,q){
|
|
242
|
|
- var strs='<span class="files" fiel-num="'+ q.F_FileId +'">'+ q.F_FileName.substring(19) +'<i class="fa fa-remove del_file"></i></span>'
|
|
243
|
|
- $(strs).appendTo($('.fileBox')).find('.del_file').click(function(event){
|
|
244
|
|
- event.stopPropagation();
|
|
245
|
|
- $(this).parent().remove();
|
|
246
|
|
- file_num()
|
|
247
|
|
- })
|
|
248
|
|
- file_num()
|
|
249
|
|
- })
|
|
250
|
|
- }
|
|
251
|
|
- })
|
|
|
40
|
+ <div class="wrapper wrapper-content animated fadeInRight">
|
|
|
41
|
+ <div style="padding: 10px;" class="tj_content clearFix">
|
|
|
42
|
+ <div class="Common">
|
|
|
43
|
+ <table>
|
|
|
44
|
+ <tr>
|
|
|
45
|
+ <th class="Importent">姓名:</th>
|
|
|
46
|
+ <td>
|
|
|
47
|
+ <input type="text" id="cusname" />
|
|
|
48
|
+ </td>
|
|
|
49
|
+ <th>性别:</th>
|
|
|
50
|
+ <td>
|
|
|
51
|
+ <select class="select_" id="SEX">
|
|
|
52
|
+ <option value="">请选择</option>
|
|
|
53
|
+ <option value="0">男</option>
|
|
|
54
|
+ <option value="1">女</option>
|
|
|
55
|
+ </select>
|
|
|
56
|
+ </td>
|
|
|
57
|
+ <th>来源:</th>
|
|
|
58
|
+ <td>
|
|
|
59
|
+ <!--<select class="select_" id="source">
|
|
|
60
|
+ </select>-->
|
|
|
61
|
+ <span class="Source"></span>
|
|
|
62
|
+ <input type="hidden" id="source" readonly="readonly" />
|
|
|
63
|
+ </td>
|
|
|
64
|
+ <th class="Importent">投诉电话:</th>
|
|
|
65
|
+ <td>
|
|
|
66
|
+ <input type="text" id="cusphone" />
|
|
|
67
|
+ </td>
|
|
|
68
|
+ </tr>
|
|
|
69
|
+ <tr>
|
|
|
70
|
+ <th>邮箱:</th>
|
|
|
71
|
+ <td>
|
|
|
72
|
+ <input type="text" id="email" />
|
|
|
73
|
+ </td>
|
|
|
74
|
+ <th>邮编:</th>
|
|
|
75
|
+ <td>
|
|
|
76
|
+ <input type="text" id="zipcode" />
|
|
|
77
|
+ </td>
|
|
|
78
|
+ <th>联系电话:</th>
|
|
|
79
|
+ <td>
|
|
|
80
|
+ <input type="text" id="conphone" />
|
|
|
81
|
+ </td>
|
|
|
82
|
+ </tr>
|
|
|
83
|
+ <tr>
|
|
|
84
|
+ <th class="Importent">标题:</th>
|
|
|
85
|
+ <td colspan="7">
|
|
|
86
|
+ <input id="title" type="text" style="width: 100%;" />
|
|
|
87
|
+ </td>
|
|
|
88
|
+ </tr>
|
|
|
89
|
+ <tr>
|
|
|
90
|
+ <th class="Importent">内容:</th>
|
|
|
91
|
+ <td colspan="7">
|
|
|
92
|
+ <textarea data-adaptheight id="content" name="" rows="" cols="" style="width: 100%;"></textarea>
|
|
|
93
|
+ </td>
|
|
|
94
|
+ </tr>
|
|
|
95
|
+ <tr>
|
|
|
96
|
+ <th class="Importent">事件地址:</th>
|
|
|
97
|
+ <td colspan="7">
|
|
|
98
|
+ <select class="select_" id="sourcearea"></select>
|
|
|
99
|
+ <input id="sourceaddress" type="text" placeholder="输入详细地址" style="width:66%" />
|
|
|
100
|
+ </td>
|
|
|
101
|
+ </tr>
|
|
|
102
|
+ <tr>
|
|
|
103
|
+ <th>附件上传:</th>
|
|
|
104
|
+ <td colspan="7">
|
|
|
105
|
+ <div class="fileBox">
|
|
252
|
106
|
|
|
253
|
|
- }
|
|
254
|
|
- });
|
|
|
107
|
+ </div>
|
|
|
108
|
+ <!--<input type="text" placeholder="输入附件详情" style="width:66%" />-->
|
|
|
109
|
+ <!--<span class="fjnr"></span>-->
|
|
|
110
|
+ <input class="input" type="file" name="upFile" id="upFile" multiple="multiple" style="display: none;">
|
|
|
111
|
+ <input class="input" type="button" value="上传" id="scwj" />
|
|
|
112
|
+ <!--<input class="input" type="button" value="删除附件" id="scfj" style="display:none;" />-->
|
|
|
113
|
+ <input type="hidden" id="file" />
|
|
|
114
|
+ </td>
|
|
|
115
|
+ </tr>
|
|
|
116
|
+ <tr>
|
|
|
117
|
+ <th>处理方式:</th>
|
|
|
118
|
+ <td colspan="7">
|
|
|
119
|
+ <input type="radio" value="1" name="banli" class="Nows" />当即办理
|
|
|
120
|
+ <input checked="true" type="radio" value="0" name="banli" class="Nows_" />网络转办
|
|
|
121
|
+ </td>
|
|
|
122
|
+ </tr>
|
|
|
123
|
+ <tr class="Nows_box Hidens">
|
|
|
124
|
+ <th>办理内容:</th>
|
|
|
125
|
+ <td colspan="7">
|
|
255
|
126
|
|
|
256
|
|
- ///修改工单
|
|
257
|
|
- function Add() {
|
|
258
|
|
- var value = $(' input[name="banli"]:checked ').val();
|
|
259
|
|
- var content = $("#content").val();
|
|
260
|
|
- if (!$("#cusname").val()) {
|
|
261
|
|
- layer.msg("请输入姓名");
|
|
262
|
|
- } else if (!$("#cusphone").val()) {
|
|
263
|
|
- layer.msg("请输入投诉电话");
|
|
264
|
|
- } else if (!$("#title").val()) {
|
|
265
|
|
- layer.msg("请输入标题");
|
|
266
|
|
- } else if (!$("#content").val()) {
|
|
267
|
|
- layer.msg("请输入内容");
|
|
268
|
|
- } else if (!$("#keys").val()) {
|
|
269
|
|
- layer.msg("请选择主题词");
|
|
270
|
|
- } else if (!$("#sourcearea").val()) {
|
|
271
|
|
- layer.msg("请选择事发区域");
|
|
272
|
|
- } else if (value == 1 && !$('#result').val()) {
|
|
273
|
|
- layer.msg("请输入直办内容");
|
|
|
127
|
+ <input type="text" style="width: 100%;" id="result" />
|
|
|
128
|
+ </td>
|
|
|
129
|
+ </tr>
|
|
|
130
|
+ <tr>
|
|
|
131
|
+ <th class="Importent">主题词:</th>
|
|
|
132
|
+ <td>
|
|
|
133
|
+ <!--<input id="keys" type="text" placeholder="输入主题词" style="width:100%" />-->
|
|
|
134
|
+ <select class="select_" id="keys">
|
|
|
135
|
+ <option value=""></option>
|
|
|
136
|
+ </select>
|
|
|
137
|
+ </td>
|
|
|
138
|
+ <th>类型:</th>
|
|
|
139
|
+ <td>
|
|
|
140
|
+ <select class="select_" id="type"></select>
|
|
|
141
|
+ </td>
|
|
|
142
|
+ <th>密级:</th>
|
|
|
143
|
+ <td>
|
|
|
144
|
+ <input checked="true" type="radio" name="mj" id="" value="0" />普通
|
|
|
145
|
+ <input type="radio" name="mj" id="" value="1" />保密
|
|
|
146
|
+ </td>
|
|
|
147
|
+ <th>紧急程度:</th>
|
|
|
148
|
+ <td>
|
|
|
149
|
+ <select class="select_" id="level">
|
|
|
150
|
+ <!--<option value="0">选择</option>-->
|
|
|
151
|
+ <option value="1">普通</option>
|
|
|
152
|
+ <option value="2">紧急</option>
|
|
|
153
|
+ </select>
|
|
|
154
|
+ </td>
|
|
|
155
|
+ <!--<th class="">分管领导:</th>
|
|
|
156
|
+ <td colspan="4">
|
|
|
157
|
+ <input id="splituser" type="text" placeholder="" style="width:100%" readonly="readonly" />
|
|
|
158
|
+ </td>-->
|
|
|
159
|
+ </tr>
|
|
|
160
|
+ </table>
|
|
|
161
|
+ <div class="btn_box">
|
|
|
162
|
+ <button class="btns BC">保存</button>
|
|
|
163
|
+ <button class="btns SavedSubmit">保存并提交</button>
|
|
|
164
|
+ </div>
|
|
274
|
165
|
|
|
275
|
|
- }
|
|
276
|
|
- else {
|
|
277
|
|
- $.ajax({
|
|
278
|
|
- type: "post",
|
|
279
|
|
- url: huayi.config.callcenter_url + "WorkOrder/EditWorkOrderBySource",
|
|
280
|
|
- dataType: 'json',
|
|
281
|
|
- async: true,
|
|
282
|
|
- data: {
|
|
283
|
|
- workorderid: wid,
|
|
284
|
|
- cusname: $("#cusname").val(), //=投诉人姓名
|
|
285
|
|
- cussex: $("#SEX").val(),
|
|
286
|
|
- cusphone: $("#cusphone").val(), //=投诉人电话
|
|
287
|
|
- email: $("#email").val(),
|
|
288
|
|
- zipcode: $("#zipcode").val(),
|
|
289
|
|
- conphone: $("#conphone").val(),
|
|
290
|
|
- title: $("#title").val(),
|
|
291
|
|
- content: $("#content").val(),
|
|
292
|
|
- files: $("#file").val(), //(多个用英文逗号,隔开)
|
|
293
|
|
- sourcearea: $("#sourcearea").val(), //=事发地域id
|
|
294
|
|
- sourceaddress: $('#sourceaddress').val(), //=事发详细地址
|
|
295
|
|
- source: $("#source").val(), //=来源
|
|
296
|
|
- isresult: $(' input[name="banli"]:checked ').val(), //=(0转办1直办)
|
|
297
|
|
- result: $('#result').val(),
|
|
298
|
|
- keys: $("#keys").val(), //=关键词id(多个用英文逗号,隔开)
|
|
299
|
|
-// splituser: 5, //分管领导id(多个用英文逗号,隔开)
|
|
300
|
|
- type: $("#type").val(), //=类型
|
|
301
|
|
- bigtype: $("#bigtype").val(), //=大类别
|
|
302
|
|
- smalltype: $("#smalltype").val(), //=小类别
|
|
303
|
|
- isprotect: $(' input[name="mj"]:checked ').val(), //=(0普通1保密)
|
|
304
|
|
- level: $('#level').val(), //=(1普通2紧急3特急)
|
|
305
|
|
- issubmit: submit, //=(0保存1保存并提交)
|
|
306
|
|
- token: $.cookie("token")
|
|
307
|
|
- },
|
|
308
|
|
- success: function(data) {
|
|
309
|
|
- if(data.state.toLowerCase() == "success") {
|
|
310
|
|
- var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
|
|
311
|
|
- parent.layer.close(index); //再执行关闭
|
|
312
|
|
- parent.load();
|
|
313
|
|
- parent.layer.msg(data.message);
|
|
314
|
|
- $('.fileBox').html('');
|
|
315
|
|
- }
|
|
|
166
|
+ </div>
|
|
|
167
|
+ </div>
|
|
|
168
|
+ </div>
|
|
|
169
|
+ <script src="../css/laydate/laydate.js"></script>
|
|
|
170
|
+ <script src="../js/adjustHeight.js"></script>
|
|
|
171
|
+ <script>
|
|
|
172
|
+ var wid = helper.request.queryString("wid");
|
|
|
173
|
+ var submit;
|
|
316
|
174
|
|
|
317
|
|
- }
|
|
318
|
|
- });
|
|
319
|
|
- }
|
|
320
|
|
- }
|
|
321
|
|
- //来源
|
|
322
|
|
- function LY(obj) {
|
|
323
|
|
- obj.empty();
|
|
324
|
|
- //obj.append('<option selected="selected" value="1">请选择</option>');
|
|
325
|
|
- $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
|
|
326
|
|
- "token": $.cookie("token"),
|
|
327
|
|
- id: 1
|
|
328
|
|
- }, function(data) {
|
|
329
|
|
- if(data.state.toLowerCase() == "success") {
|
|
330
|
|
- var content = data.data;
|
|
331
|
|
- $(content).each(function(i, n) {
|
|
332
|
|
- $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
|
|
333
|
|
- })
|
|
334
|
|
-
|
|
335
|
|
- }
|
|
336
|
|
- })
|
|
337
|
|
- }
|
|
338
|
|
- //类别
|
|
339
|
|
- function LB(obj) {
|
|
340
|
|
- obj.empty();
|
|
341
|
|
- $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
|
|
342
|
|
- "token": $.cookie("token"),
|
|
343
|
|
- id: 2
|
|
344
|
|
- }, function(data) {
|
|
345
|
|
- if(data.state.toLowerCase() == "success") {
|
|
346
|
|
- var content = data.data;
|
|
347
|
|
- $(content).each(function(i, n) {
|
|
348
|
|
- $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
|
|
349
|
|
- })
|
|
350
|
|
- }
|
|
351
|
|
- })
|
|
352
|
|
- }
|
|
353
|
|
- // 主题
|
|
354
|
|
- function ZT(obj) {
|
|
355
|
|
- obj.empty();
|
|
356
|
|
- $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
|
|
357
|
|
- "token": $.cookie("token"),
|
|
358
|
|
- id: 3
|
|
359
|
|
- }, function(data) {
|
|
360
|
|
- if(data.state.toLowerCase() == "success") {
|
|
361
|
|
- var content = data.data;
|
|
362
|
|
- $(content).each(function(i, n) {
|
|
363
|
|
- $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
|
|
364
|
|
- })
|
|
365
|
|
- }
|
|
366
|
|
- })
|
|
367
|
|
- }
|
|
368
|
|
- //区域
|
|
369
|
|
- function QY(obj) {
|
|
370
|
|
- obj.empty();
|
|
371
|
|
- obj.append('<option selected="selected" value="">请选择</option>');
|
|
372
|
|
- $.getJSON(huayi.config.callcenter_url + "Area/GetAreaListById", {
|
|
373
|
|
- "token": $.cookie("token"),
|
|
374
|
|
- }, function(data) {
|
|
375
|
|
- if(data.state.toLowerCase() == "success") {
|
|
376
|
|
- var content = data.data;
|
|
377
|
|
- $(content).each(function(i, n) {
|
|
378
|
|
- $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName + "</option>").appendTo(obj);
|
|
379
|
|
- })
|
|
380
|
|
- }
|
|
381
|
|
- })
|
|
382
|
|
- }
|
|
383
|
|
- function upload() {
|
|
384
|
|
- var Files = document.getElementById("upFile").files;
|
|
385
|
|
- if(Files.length > 0) {
|
|
386
|
|
- var formData = new FormData();
|
|
387
|
|
- for(var i = 0; i < Files.length; i++) {
|
|
388
|
|
- formData.append('file' + i, Files[i]);
|
|
389
|
|
- }
|
|
390
|
|
- formData.append("token", $.cookie("token"));
|
|
391
|
|
- $.ajax({
|
|
392
|
|
- url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
|
|
393
|
|
- type: "POST",
|
|
394
|
|
- data: formData,
|
|
395
|
|
- /**
|
|
396
|
|
- *必须false才会自动加上正确的Content-Type
|
|
397
|
|
- */
|
|
398
|
|
- contentType: false,
|
|
399
|
|
- /**
|
|
400
|
|
- * 必须false才会避开jQuery对 formdata 的默认处理
|
|
401
|
|
- * XMLHttpRequest会对 formdata 进行正确的处理
|
|
402
|
|
- */
|
|
403
|
|
- processData: false,
|
|
404
|
|
- success: function(result) {
|
|
405
|
|
- document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
|
|
406
|
|
- $("#upFile").change(function() {
|
|
407
|
|
- upload();
|
|
408
|
|
- });
|
|
409
|
|
- var r = $.parseJSON(result);
|
|
410
|
|
- if(r.state.toLowerCase() == "success") {
|
|
411
|
|
-// $(".fjnr").text(r.data[0].F_FileName.substring(19));
|
|
412
|
|
- var a = r.data;
|
|
413
|
|
- $(a).each(function(i, n) {
|
|
414
|
|
- var strs='<span class="files" fiel-num="'+ n.F_FileId +'">'+ n.F_FileName.substring(19) +'<i class="fa fa-remove del_file"></i></span>'
|
|
415
|
|
- $(strs).appendTo($('.fileBox')).find('.del_file').click(function(event){
|
|
416
|
|
- event.stopPropagation();
|
|
417
|
|
- $(this).parent().remove();
|
|
418
|
|
- file_num();
|
|
419
|
|
- })
|
|
420
|
|
- })
|
|
421
|
|
- file_num();
|
|
422
|
|
- }
|
|
423
|
|
- }
|
|
424
|
|
- });
|
|
425
|
|
- } else {
|
|
426
|
|
- layer.confirm('请上传文件!', {
|
|
427
|
|
- btn: ['确定']
|
|
428
|
|
- });
|
|
429
|
|
- }
|
|
430
|
|
- }
|
|
431
|
|
- //上传文件隐藏域值
|
|
432
|
|
- function file_num(){
|
|
433
|
|
- var str = '';
|
|
434
|
|
- var Str;
|
|
435
|
|
- $('.fileBox .files').each(function(j,m){
|
|
436
|
|
- var aa=$(m).attr("fiel-num")
|
|
437
|
|
- console.log(aa);
|
|
438
|
|
- str += aa + ",";
|
|
439
|
|
- Str = (str.substring(str.length - 1) == ',') ? str.substring(0, str.length - 1) : str;
|
|
440
|
|
- })
|
|
441
|
|
- $("#file").val(Str);
|
|
442
|
|
- }
|
|
443
|
|
- </script>
|
|
444
|
|
- </body>
|
|
|
175
|
+ $(document).ready(function () {
|
|
|
176
|
+ QY($("#sourcearea"));
|
|
|
177
|
+ LY($("#source"));
|
|
|
178
|
+ LB($("#type"));
|
|
|
179
|
+ ZT($("#keys"))
|
|
|
180
|
+ //当即办理
|
|
|
181
|
+ $(' input[name="banli"]').change(function () {
|
|
|
182
|
+ var val = $(this).val();
|
|
|
183
|
+ if (val == "1") {
|
|
|
184
|
+ $(".Nows_box").show();
|
|
|
185
|
+ } else {
|
|
|
186
|
+ $(".Nows_box").hide();
|
|
|
187
|
+ }
|
|
|
188
|
+
|
|
|
189
|
+ })
|
|
|
190
|
+ $(".BC").click(function () {
|
|
|
191
|
+ submit = 0;
|
|
|
192
|
+ Add()
|
|
|
193
|
+ });
|
|
|
194
|
+ //上传附件
|
|
|
195
|
+ $("#scwj").click(function () {
|
|
|
196
|
+ $("#upFile").trigger("click");
|
|
|
197
|
+ })
|
|
|
198
|
+ $("#upFile").change(function () {
|
|
|
199
|
+ upload();
|
|
|
200
|
+ })
|
|
|
201
|
+ // $("#scfj").click(function() {
|
|
|
202
|
+ // $(".fjnr").text("");
|
|
|
203
|
+ // $("#scfj").hide();
|
|
|
204
|
+ // })
|
|
|
205
|
+ $(".SavedSubmit").click(function () {
|
|
|
206
|
+ submit = 1;
|
|
|
207
|
+ Add()
|
|
|
208
|
+ })
|
|
|
209
|
+ if (wid) {
|
|
|
210
|
+ $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetWorkOrder', {
|
|
|
211
|
+ workorderid: wid,
|
|
|
212
|
+ "token": $.cookie("token")
|
|
|
213
|
+ }, function (result) {
|
|
|
214
|
+ if (result.state.toLowerCase() == "success") {
|
|
|
215
|
+ var Data = result.data.data;
|
|
|
216
|
+ $("#cusname").val(Data[0].F_CusName);
|
|
|
217
|
+ $("#cusphone").val(Data[0].F_CusPhone);
|
|
|
218
|
+ $("#conphone").val(Data[0].F_ConPhone);
|
|
|
219
|
+ $("#title").val(Data[0].F_ComTitle);
|
|
|
220
|
+ $('#content').val(Data[0].F_ComContent);
|
|
|
221
|
+ $('#email').val(Data[0].F_Email);
|
|
|
222
|
+ $("#zipcode").val(Data[0].F_ZipCode);
|
|
|
223
|
+ $("#result").val(Data[0].F_Result);
|
|
|
224
|
+ //x性别
|
|
|
225
|
+ $("#SEX").val(Data[0].F_CusSex + '');
|
|
|
226
|
+ //来源
|
|
|
227
|
+ $("#source").val(Data[0].F_InfoSource + '');
|
|
|
228
|
+ //事件地址
|
|
|
229
|
+ $(".Source").text(Data[0].SourceName);
|
|
|
230
|
+ $("#sourcearea").val(Data[0].F_SourceArea + '');
|
|
|
231
|
+ //主题词
|
|
|
232
|
+ $("#keys").val(Data[0].F_Key + '');
|
|
|
233
|
+ //类型
|
|
|
234
|
+ $("#type").val(Data[0].F_InfoType + '');
|
|
|
235
|
+ //紧急程度
|
|
|
236
|
+ $("#level").val(Data[0].F_Level + '')
|
|
|
237
|
+ if (Data[0].F_IsResult == 1) {
|
|
|
238
|
+ $(".Nows_box").toggle();
|
|
|
239
|
+ }
|
|
|
240
|
+ $(' input[name="banli"][value="' + Data[0].F_IsResult + '"]').prop("checked", "checked");
|
|
|
241
|
+ $(' input[name="mj"][value="' + Data[0].F_IsProtect + '"]').prop("checked", "checked");
|
|
|
242
|
+ $('#sourceaddress').val(Data[0].F_SourceAddress);
|
|
|
243
|
+ $('.F_FinalOpinion').val(Data[0].F_FinalOpinion);
|
|
|
244
|
+ $(Data[0].File).each(function (k, q) {
|
|
|
245
|
+ var strs = '<span class="files" fiel-num="' + q.F_FileId + '">' + q.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
|
|
|
246
|
+ $(strs).appendTo($('.fileBox')).find('.del_file').click(function (event) {
|
|
|
247
|
+ event.stopPropagation();
|
|
|
248
|
+ $(this).parent().remove();
|
|
|
249
|
+ file_num()
|
|
|
250
|
+ })
|
|
|
251
|
+ file_num()
|
|
|
252
|
+ })
|
|
|
253
|
+ }
|
|
|
254
|
+ })
|
|
|
255
|
+
|
|
|
256
|
+ }
|
|
|
257
|
+ });
|
|
|
258
|
+
|
|
|
259
|
+ ///修改工单
|
|
|
260
|
+ function Add() {
|
|
|
261
|
+ var value = $(' input[name="banli"]:checked ').val();
|
|
|
262
|
+ var content = $("#content").val();
|
|
|
263
|
+ if (!$("#cusname").val()) {
|
|
|
264
|
+ layer.msg("请输入姓名");
|
|
|
265
|
+ } else if (!$("#cusphone").val()) {
|
|
|
266
|
+ layer.msg("请输入投诉电话");
|
|
|
267
|
+ } else if (!$("#title").val()) {
|
|
|
268
|
+ layer.msg("请输入标题");
|
|
|
269
|
+ } else if (!$("#content").val()) {
|
|
|
270
|
+ layer.msg("请输入内容");
|
|
|
271
|
+ } else if (!$("#keys").val()) {
|
|
|
272
|
+ layer.msg("请选择主题词");
|
|
|
273
|
+ } else if (!$("#sourcearea").val()) {
|
|
|
274
|
+ layer.msg("请选择事发区域");
|
|
|
275
|
+ } else if (value == 1 && !$('#result').val()) {
|
|
|
276
|
+ layer.msg("请输入直办内容");
|
|
|
277
|
+
|
|
|
278
|
+ }
|
|
|
279
|
+ else {
|
|
|
280
|
+ $.ajax({
|
|
|
281
|
+ type: "post",
|
|
|
282
|
+ url: huayi.config.callcenter_url + "WorkOrder/EditWorkOrderBySource",
|
|
|
283
|
+ dataType: 'json',
|
|
|
284
|
+ async: true,
|
|
|
285
|
+ data: {
|
|
|
286
|
+ workorderid: wid,
|
|
|
287
|
+ cusname: $("#cusname").val(), //=投诉人姓名
|
|
|
288
|
+ cussex: $("#SEX").val(),
|
|
|
289
|
+ cusphone: $("#cusphone").val(), //=投诉人电话
|
|
|
290
|
+ email: $("#email").val(),
|
|
|
291
|
+ zipcode: $("#zipcode").val(),
|
|
|
292
|
+ conphone: $("#conphone").val(),
|
|
|
293
|
+ title: $("#title").val(),
|
|
|
294
|
+ content: $("#content").val(),
|
|
|
295
|
+ files: $("#file").val(), //(多个用英文逗号,隔开)
|
|
|
296
|
+ sourcearea: $("#sourcearea").val(), //=事发地域id
|
|
|
297
|
+ sourceaddress: $('#sourceaddress').val(), //=事发详细地址
|
|
|
298
|
+ source: $("#source").val(), //=来源
|
|
|
299
|
+ isresult: $(' input[name="banli"]:checked ').val(), //=(0转办1直办)
|
|
|
300
|
+ result: $('#result').val(),
|
|
|
301
|
+ keys: $("#keys").val(), //=关键词id(多个用英文逗号,隔开)
|
|
|
302
|
+ // splituser: 5, //分管领导id(多个用英文逗号,隔开)
|
|
|
303
|
+ type: $("#type").val(), //=类型
|
|
|
304
|
+ bigtype: $("#bigtype").val(), //=大类别
|
|
|
305
|
+ smalltype: $("#smalltype").val(), //=小类别
|
|
|
306
|
+ isprotect: $(' input[name="mj"]:checked ').val(), //=(0普通1保密)
|
|
|
307
|
+ level: $('#level').val(), //=(1普通2紧急3特急)
|
|
|
308
|
+ issubmit: submit, //=(0保存1保存并提交)
|
|
|
309
|
+ token: $.cookie("token")
|
|
|
310
|
+ },
|
|
|
311
|
+ success: function (data) {
|
|
|
312
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
313
|
+ var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
|
|
|
314
|
+ parent.layer.close(index); //再执行关闭
|
|
|
315
|
+ parent.load();
|
|
|
316
|
+ parent.layer.msg(data.message);
|
|
|
317
|
+ $('.fileBox').html('');
|
|
|
318
|
+ }
|
|
|
319
|
+
|
|
|
320
|
+ }
|
|
|
321
|
+ });
|
|
|
322
|
+ }
|
|
|
323
|
+ }
|
|
|
324
|
+ //来源
|
|
|
325
|
+ function LY(obj) {
|
|
|
326
|
+ obj.empty();
|
|
|
327
|
+ //obj.append('<option selected="selected" value="1">请选择</option>');
|
|
|
328
|
+ $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
|
|
|
329
|
+ "token": $.cookie("token"),
|
|
|
330
|
+ id: 1
|
|
|
331
|
+ }, function (data) {
|
|
|
332
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
333
|
+ var content = data.data;
|
|
|
334
|
+ $(content).each(function (i, n) {
|
|
|
335
|
+ $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
|
|
|
336
|
+ })
|
|
|
337
|
+
|
|
|
338
|
+ }
|
|
|
339
|
+ })
|
|
|
340
|
+ }
|
|
|
341
|
+ //类别
|
|
|
342
|
+ function LB(obj) {
|
|
|
343
|
+ obj.empty();
|
|
|
344
|
+ $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
|
|
|
345
|
+ "token": $.cookie("token"),
|
|
|
346
|
+ id: 2
|
|
|
347
|
+ }, function (data) {
|
|
|
348
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
349
|
+ var content = data.data;
|
|
|
350
|
+ $(content).each(function (i, n) {
|
|
|
351
|
+ $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
|
|
|
352
|
+ })
|
|
|
353
|
+ }
|
|
|
354
|
+ })
|
|
|
355
|
+ }
|
|
|
356
|
+ // 主题
|
|
|
357
|
+ function ZT(obj) {
|
|
|
358
|
+ obj.empty();
|
|
|
359
|
+ $.getJSON(huayi.config.callcenter_url + "Dictionary/GetDicValueListById", {
|
|
|
360
|
+ "token": $.cookie("token"),
|
|
|
361
|
+ id: 3
|
|
|
362
|
+ }, function (data) {
|
|
|
363
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
364
|
+ var content = data.data;
|
|
|
365
|
+ $(content).each(function (i, n) {
|
|
|
366
|
+ $("<option value='" + n.F_ValueId + "'>" + n.F_Value + "</option>").appendTo(obj);
|
|
|
367
|
+ })
|
|
|
368
|
+ }
|
|
|
369
|
+ })
|
|
|
370
|
+ }
|
|
|
371
|
+ //区域
|
|
|
372
|
+ function QY(obj) {
|
|
|
373
|
+ obj.empty();
|
|
|
374
|
+ obj.append('<option selected="selected" value="">请选择</option>');
|
|
|
375
|
+ $.getJSON(huayi.config.callcenter_url + "Area/GetAreaListById", {
|
|
|
376
|
+ "token": $.cookie("token"),
|
|
|
377
|
+ }, function (data) {
|
|
|
378
|
+ if (data.state.toLowerCase() == "success") {
|
|
|
379
|
+ var content = data.data;
|
|
|
380
|
+ $(content).each(function (i, n) {
|
|
|
381
|
+ if (n.F_AreaName != '商丘市') {
|
|
|
382
|
+ $("<option value='" + n.F_AreaId + "'>" + n.F_AreaName + "</option>").appendTo(obj);
|
|
|
383
|
+ }
|
|
|
384
|
+ })
|
|
|
385
|
+ }
|
|
|
386
|
+ })
|
|
|
387
|
+ }
|
|
|
388
|
+ function upload() {
|
|
|
389
|
+ var Files = document.getElementById("upFile").files;
|
|
|
390
|
+ if (Files.length > 0) {
|
|
|
391
|
+ var formData = new FormData();
|
|
|
392
|
+ for (var i = 0; i < Files.length; i++) {
|
|
|
393
|
+ formData.append('file' + i, Files[i]);
|
|
|
394
|
+ }
|
|
|
395
|
+ formData.append("token", $.cookie("token"));
|
|
|
396
|
+ $.ajax({
|
|
|
397
|
+ url: huayi.config.callcenter_url + "/WorkOrder/UploadFile",
|
|
|
398
|
+ type: "POST",
|
|
|
399
|
+ data: formData,
|
|
|
400
|
+ /**
|
|
|
401
|
+ *必须false才会自动加上正确的Content-Type
|
|
|
402
|
+ */
|
|
|
403
|
+ contentType: false,
|
|
|
404
|
+ /**
|
|
|
405
|
+ * 必须false才会避开jQuery对 formdata 的默认处理
|
|
|
406
|
+ * XMLHttpRequest会对 formdata 进行正确的处理
|
|
|
407
|
+ */
|
|
|
408
|
+ processData: false,
|
|
|
409
|
+ success: function (result) {
|
|
|
410
|
+ document.getElementById("upFile").outerHTML = document.getElementById("upFile").outerHTML;
|
|
|
411
|
+ $("#upFile").change(function () {
|
|
|
412
|
+ upload();
|
|
|
413
|
+ });
|
|
|
414
|
+ var r = $.parseJSON(result);
|
|
|
415
|
+ if (r.state.toLowerCase() == "success") {
|
|
|
416
|
+ // $(".fjnr").text(r.data[0].F_FileName);
|
|
|
417
|
+ var a = r.data;
|
|
|
418
|
+ $(a).each(function (i, n) {
|
|
|
419
|
+ var strs = '<span class="files" fiel-num="' + n.F_FileId + '">' + n.F_FileName.substring(19) + '<i class="fa fa-remove del_file"></i></span>'
|
|
|
420
|
+ $(strs).appendTo($('.fileBox')).find('.del_file').click(function (event) {
|
|
|
421
|
+ event.stopPropagation();
|
|
|
422
|
+ $(this).parent().remove();
|
|
|
423
|
+ file_num();
|
|
|
424
|
+ })
|
|
|
425
|
+ })
|
|
|
426
|
+ file_num();
|
|
|
427
|
+ }
|
|
|
428
|
+ }
|
|
|
429
|
+ });
|
|
|
430
|
+ } else {
|
|
|
431
|
+ layer.confirm('请上传文件!', {
|
|
|
432
|
+ btn: ['确定']
|
|
|
433
|
+ });
|
|
|
434
|
+ }
|
|
|
435
|
+ }
|
|
|
436
|
+ //上传文件隐藏域值
|
|
|
437
|
+ function file_num() {
|
|
|
438
|
+ var str = '';
|
|
|
439
|
+ var Str;
|
|
|
440
|
+ $('.fileBox .files').each(function (j, m) {
|
|
|
441
|
+ var aa = $(m).attr("fiel-num")
|
|
|
442
|
+ console.log(aa);
|
|
|
443
|
+ str += aa + ",";
|
|
|
444
|
+ Str = (str.substring(str.length - 1) == ',') ? str.substring(0, str.length - 1) : str;
|
|
|
445
|
+ })
|
|
|
446
|
+ $("#file").val(Str);
|
|
|
447
|
+ }
|
|
|
448
|
+ </script>
|
|
|
449
|
+</body>
|
|
445
|
450
|
|
|
446
|
451
|
</html>
|