|
|
@@ -1,25 +1,7 @@
|
|
1
|
|
-/**
|
|
2
|
|
- * 工单处理
|
|
3
|
|
- * */
|
|
4
|
|
-
|
|
5
|
1
|
$(document).ready(function() {
|
|
6
|
2
|
var ID = helper.request.queryString("str");
|
|
7
|
|
- laydate.render({
|
|
8
|
|
- elem: '#t_inqtime',
|
|
9
|
|
- theme: '#1ab394',
|
|
10
|
|
- calendar: 'true',
|
|
11
|
|
- });
|
|
12
|
|
- autosize($('textarea'));
|
|
13
|
|
- //getDealDept(); //获取交办单位
|
|
14
|
|
- //获取乡镇下拉//获取信息分类
|
|
15
|
|
- //$.when(helper.getDropList.getlistDropByDic($('#t_county'), 'JBDW'), getInfoClass())
|
|
16
|
|
- helper.getDropList.getlistDropByDic($('#t_county'), 'JBDW')
|
|
17
|
|
- .then(function() {
|
|
18
|
|
- if(ID) {
|
|
19
|
|
- getWorkOrderInfo(ID); //获取工单信息
|
|
20
|
|
- }
|
|
21
|
|
- });
|
|
22
|
|
-/* //tree下拉框效果
|
|
|
3
|
+ console.log(ID);
|
|
|
4
|
+ /*tree下拉框效果*/
|
|
23
|
5
|
$(".inpBox .tree").click(function() {
|
|
24
|
6
|
if($(this).parent().find(".addTree").is(":hidden")) {
|
|
25
|
7
|
$(this).parent().find(".addTree").show();
|
|
|
@@ -27,7 +9,7 @@ $(document).ready(function() {
|
|
27
|
9
|
$(this).parent().find(".addTree").hide();
|
|
28
|
10
|
}
|
|
29
|
11
|
});
|
|
30
|
|
- //普通下拉框效果
|
|
|
12
|
+ /*普通下拉框效果*/
|
|
31
|
13
|
$(".inpBox .select").click(function() {
|
|
32
|
14
|
if($(this).parent().find(".xl_common").is(":hidden")) {
|
|
33
|
15
|
$(this).parent().find(".xl_common").show();
|
|
|
@@ -61,14 +43,135 @@ $(document).ready(function() {
|
|
61
|
43
|
var val = $("input[name='ltype']:checked").val();
|
|
62
|
44
|
if(val == '0') {
|
|
63
|
45
|
$(".js").show();
|
|
64
|
|
- getBM($("#zrbmtree"));
|
|
65
|
46
|
} else if(val == '1') {
|
|
66
|
47
|
$(".js").hide();
|
|
67
|
48
|
}
|
|
68
|
|
- })*/
|
|
69
|
|
- //点击确定
|
|
|
49
|
+ })
|
|
|
50
|
+ if($("#zrbmtree")) {
|
|
|
51
|
+ getBM($("#zrbmtree"));
|
|
|
52
|
+ }
|
|
|
53
|
+ //获取部门
|
|
|
54
|
+ var setting = {
|
|
|
55
|
+ data: {
|
|
|
56
|
+ key: {
|
|
|
57
|
+ name: "F_DeptName"
|
|
|
58
|
+ },
|
|
|
59
|
+ simpleData: {
|
|
|
60
|
+ enable: true,
|
|
|
61
|
+ idKey: "F_DeptId",
|
|
|
62
|
+ pIdKey: "F_ParentId",
|
|
|
63
|
+ rootPId: 0
|
|
|
64
|
+ }
|
|
|
65
|
+ },
|
|
|
66
|
+ callback: {
|
|
|
67
|
+ onClick: zTreeOnClick
|
|
|
68
|
+ }
|
|
|
69
|
+ };
|
|
|
70
|
+
|
|
|
71
|
+ function getBM(obj) {
|
|
|
72
|
+ $.getJSON(huayi.config.callcenter_url + 'Department/GetAllList', {
|
|
|
73
|
+ "token": $.cookie("token")
|
|
|
74
|
+ }, function(result) {
|
|
|
75
|
+ if(result.state.toLowerCase() == "success") {
|
|
|
76
|
+ $.fn.zTree.init(obj, setting, result.data);
|
|
|
77
|
+ }
|
|
|
78
|
+ })
|
|
|
79
|
+ }
|
|
|
80
|
+
|
|
|
81
|
+ function zTreeOnClick(event, treeId, treeNode) {
|
|
|
82
|
+ if(event) {
|
|
|
83
|
+ event.stopPropagation();
|
|
|
84
|
+ }
|
|
|
85
|
+ var obj = $("#" + event.data.treeId).parent();
|
|
|
86
|
+ obj.parent().find("input").eq(0).val(treeNode.F_DeptName);
|
|
|
87
|
+ obj.parent().find("input").eq(1).val(treeNode.F_DeptId);
|
|
|
88
|
+ obj.hide();
|
|
|
89
|
+ getRY($(".clid"), $("#clbm").val());
|
|
|
90
|
+ };
|
|
|
91
|
+ //获取人员
|
|
|
92
|
+ function getRY(obj, deptid) {
|
|
|
93
|
+ obj.empty();
|
|
|
94
|
+ obj.append('<li itemid="">--请选择--</li>');
|
|
|
95
|
+ obj.parent().parent().find("input").eq(0).val("--请选择--");
|
|
|
96
|
+ obj.parent().parent().find("input").eq(1).val("");
|
|
|
97
|
+ $.getJSON(huayi.config.callcenter_url + 'UserAccount/GetDeptUserList', {
|
|
|
98
|
+ "deptid": deptid,
|
|
|
99
|
+ "token": $.cookie("token")
|
|
|
100
|
+ }, function(result) {
|
|
|
101
|
+ if(result.state.toLowerCase() == "success") {
|
|
|
102
|
+ $(result.data).each(function(i, n) {
|
|
|
103
|
+ obj.append('<li itemid="' + n.F_UserId + '">' + n.F_UserName + '</li>');
|
|
|
104
|
+ })
|
|
|
105
|
+
|
|
|
106
|
+ obj.find("li").click(function(event) {
|
|
|
107
|
+ if(event) {
|
|
|
108
|
+ event.stopPropagation();
|
|
|
109
|
+ }
|
|
|
110
|
+ $(this).parent().parent().parent().find("input").eq(0).val($(this).text());
|
|
|
111
|
+ $(this).parent().parent().parent().find("input").eq(1).val($(this).attr("itemid"));
|
|
|
112
|
+ $(this).parent().parent().hide();
|
|
|
113
|
+ });
|
|
|
114
|
+ }
|
|
|
115
|
+ })
|
|
|
116
|
+ }
|
|
|
117
|
+ $.ajax({
|
|
|
118
|
+ type: "get",
|
|
|
119
|
+ url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrder",
|
|
|
120
|
+ async: true,
|
|
|
121
|
+ dataType: 'json',
|
|
|
122
|
+ data: {
|
|
|
123
|
+ orderid: ID,
|
|
|
124
|
+ "token": $.cookie("token")
|
|
|
125
|
+ },
|
|
|
126
|
+ success: function(data) {
|
|
|
127
|
+ /*验证请求*/
|
|
|
128
|
+ if(data.state == "success") {
|
|
|
129
|
+ var con = data;
|
|
|
130
|
+ var Str = con.data.data;
|
|
|
131
|
+ console.log(Str);
|
|
|
132
|
+ $("#cl_gdlx").text(GetTypeName(Str[0].Type));
|
|
|
133
|
+ $("#cl_khxm").text(Str[0].Customer);
|
|
|
134
|
+ $("#cl_khdh").text(Str[0].CustomerTel);
|
|
|
135
|
+ $("#cl_gdnr").text(Str[0].Detail);
|
|
|
136
|
+ //图片展示
|
|
|
137
|
+ $('#cl_gdbh').text(Str[0].WorkOrderID);
|
|
|
138
|
+ var Files = Str[0].File;
|
|
|
139
|
+ console.log(Files);
|
|
|
140
|
+ console.log(Str[0].IsAudit);
|
|
|
141
|
+ $(' input[name="isAudit"][value="'+Str[0].IsAudit+'"]').prop("checked", "checked");//审核
|
|
|
142
|
+ $(' input[name="ltypes"][value="'+Str[0].InfoTypeID+'"]').prop("checked", "checked");//审核
|
|
|
143
|
+ $("#xl_box").val(Str[0].UnitID);
|
|
|
144
|
+// if(Files){
|
|
|
145
|
+// $(Files).each(function(i, n) {
|
|
|
146
|
+// $('<div class="img-box"><img src="' + n.F_FileUrl + '" alt="" class="image-item" /><div>').appendTo(".space");
|
|
|
147
|
+// })
|
|
|
148
|
+// }
|
|
|
149
|
+//
|
|
|
150
|
+
|
|
|
151
|
+ if(Files){
|
|
|
152
|
+ var a ;
|
|
|
153
|
+ var b;
|
|
|
154
|
+ $(Files).each(function(i, n) {
|
|
|
155
|
+ a=n.F_FileType.split("\/")[0];
|
|
|
156
|
+ b=n.F_FileName.split(".")[1];
|
|
|
157
|
+ console.log(a);
|
|
|
158
|
+ if(a=='image'){
|
|
|
159
|
+ $('<div class="img-box"><a href="+' + n.F_FileUrl + '" download="'+n.F_FileName+'"><img src="' + n.F_FileUrl + '" alt="" class="image-item" data-preview-group="1" /><span class="">'+b+'</span></a><div>').appendTo(".space");
|
|
|
160
|
+ }else{
|
|
|
161
|
+ $('<div class="img-box "><a href="+' + n.F_FileUrl + '" download="'+n.F_FileName+'"><span class="">'+b+'</span></a><div>').appendTo(".space");
|
|
|
162
|
+ }
|
|
|
163
|
+
|
|
|
164
|
+ })
|
|
|
165
|
+ }
|
|
|
166
|
+ //信息审核
|
|
|
167
|
+//
|
|
|
168
|
+
|
|
|
169
|
+ //信息分类
|
|
|
170
|
+ }
|
|
|
171
|
+ }
|
|
|
172
|
+ });
|
|
70
|
173
|
$("#clgd").click(function() {
|
|
71
|
|
- /*var val = $("input[name='ltype']:checked").val();
|
|
|
174
|
+ var val = $("input[name='ltype']:checked").val();
|
|
72
|
175
|
if(!val) {
|
|
73
|
176
|
layer.confirm('请选择处理方式!', {
|
|
74
|
177
|
btn: ['确定']
|
|
|
@@ -88,103 +191,60 @@ $(document).ready(function() {
|
|
88
|
191
|
btn: ['确定']
|
|
89
|
192
|
});
|
|
90
|
193
|
return;
|
|
91
|
|
- }*/
|
|
92
|
|
-
|
|
93
|
|
- dealWorkOrder(ID);
|
|
94
|
|
- });
|
|
95
|
|
-
|
|
96
|
|
-})
|
|
97
|
|
-/*//获取交办单位
|
|
98
|
|
-function getDealDept() {
|
|
99
|
|
- $.getJSON(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByFlag', {
|
|
100
|
|
- flag: 'JBDW',
|
|
101
|
|
- token: $.cookie("token")
|
|
102
|
|
- }, function(result) {
|
|
103
|
|
- if(result.state.toLowerCase() == "success") {
|
|
104
|
|
- $('<option value="0">请选择</option>').appendTo("#xl_box");
|
|
105
|
|
- for(var i = 0; i < result.data.length; i++) {
|
|
106
|
|
- $('<option value="' + result.data[i].F_DictionaryValueId + '">' + result.data[i].F_Name + '</option>').appendTo("#xl_box");
|
|
107
|
|
- }
|
|
108
|
194
|
}
|
|
109
|
|
- })
|
|
110
|
|
-}
|
|
111
|
|
-////获取信息分类
|
|
112
|
|
-function getInfoClass() {
|
|
113
|
|
- var dtd = $.Deferred(); //在函数内部,新建一个Deferred对象
|
|
114
|
|
- $.getJSON(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByFlag', {
|
|
115
|
|
- flag: 'XXFL',
|
|
116
|
|
- token: $.cookie("token")
|
|
117
|
|
- }, function(result) {
|
|
118
|
|
- if(result.state.toLowerCase() == "success") {
|
|
119
|
|
- for(var i = 0; i < result.data.length; i++) {
|
|
120
|
|
- var html = '<label class="radio-inline" style="font-weight: normal;">' +
|
|
121
|
|
- '<input type="radio" value="' + result.data[i].F_DictionaryValueId + '" name="ltypes" /> ' + result.data[i].F_Name + '' +
|
|
122
|
|
- '</label>';
|
|
123
|
|
- $(html).appendTo(".Message_box");
|
|
|
195
|
+ $.post(huayi.config.callcenter_url + 'WorkOrder/DealWorkOrder', {
|
|
|
196
|
+ orderid: ID,
|
|
|
197
|
+ isend: val,
|
|
|
198
|
+ clbm: $("#clbm").val(),
|
|
|
199
|
+ clid: $("#clid").val(),
|
|
|
200
|
+ cont: $("#cont").val(),
|
|
|
201
|
+ isaudit: $("input[name='isAudit']:checked").val(),
|
|
|
202
|
+ infotypeid: $("input[name='ltypes']:checked").val(),
|
|
|
203
|
+ unitid: $("#xl_box").val(),
|
|
|
204
|
+ "token": $.cookie("token")
|
|
|
205
|
+ }, function(result) {
|
|
|
206
|
+ result = $.parseJSON(result);
|
|
|
207
|
+ if(result.state.toLowerCase() == "success") {
|
|
|
208
|
+ var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
|
|
|
209
|
+ parent.layer.close(index); //再执行关闭
|
|
|
210
|
+ parent.initTable();
|
|
|
211
|
+ parent.Hiden();
|
|
|
212
|
+ parent.layer.msg("处理工单成功");
|
|
124
|
213
|
}
|
|
125
|
|
- }
|
|
126
|
|
- dtd.resolve(); // 改变Deferred对象的执行状态
|
|
127
|
|
- });
|
|
128
|
|
- return dtd.promise(); // 返回promise对象
|
|
129
|
|
-}*/
|
|
130
|
|
-
|
|
131
|
|
-//获取工单信息
|
|
132
|
|
-function getWorkOrderInfo(oid) {
|
|
133
|
|
- $.ajax({
|
|
134
|
|
- type: "get",
|
|
135
|
|
- url: huayi.config.callcenter_url + "WorkOrder/GetWorkOrder",
|
|
136
|
|
- async: true,
|
|
137
|
|
- dataType: 'json',
|
|
138
|
|
- data: {
|
|
139
|
|
- orderid: oid,
|
|
140
|
|
- token: $.cookie("token")
|
|
141
|
|
- },
|
|
142
|
|
- success: function(data) {
|
|
143
|
|
- /*验证请求*/
|
|
144
|
|
- if(data.state == "success") {
|
|
145
|
|
- var con = data;
|
|
146
|
|
- var Str = con.data.data;
|
|
147
|
|
- $('#cl_gdbh').text(Str[0].WorkOrderID); //工单编号
|
|
148
|
|
- //$("#cl_gdlx").text(getTypeName(Str[0].Type)); //工单类型
|
|
149
|
|
- $("#cl_khxm").val(Str[0].Customer); //姓名
|
|
150
|
|
- $("#cl_khdh").text(Str[0].CustomerTel); //电话
|
|
151
|
|
- $("#t_county").val(Str[0].County); //乡镇
|
|
152
|
|
- $("#t_address").val(Str[0].Address); //地址
|
|
153
|
|
- $("#t_inqtime").val(Str[0].Inqtime && Str[0].Inqtime.split(' ')[0]); //调查时间
|
|
154
|
|
- $("#t_inquser").val(Str[0].Inquser); //调查员
|
|
155
|
|
- $("#t_detail").val(Str[0].Detail); //string 是 反映问题
|
|
156
|
|
- $("#t_answer").val(Str[0].Answer); //string 否 回访反馈情况
|
|
157
|
|
- $("#t_remarks").val(Str[0].Remark); //string 否 备注
|
|
|
214
|
+ })
|
|
|
215
|
+ })
|
|
158
|
216
|
|
|
159
|
|
- $('#t_infoType').val(Str[0].InfoType); //信息分类
|
|
160
|
|
- $("#xl_box").val(Str[0].Unit); //交办单位
|
|
161
|
|
-
|
|
162
|
|
- //$("#xl_box").val(Str[0].UnitID); //交办单位
|
|
163
|
|
- //$('.Message_box').find('input[value="' + Str[0].InfoTypeID + '"]').attr('checked', true); //信息分类
|
|
|
217
|
+})
|
|
|
218
|
+$.getJSON(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByFlag?flag=JBDW', {
|
|
|
219
|
+ "token": $.cookie("token")
|
|
|
220
|
+}, function(result) {
|
|
|
221
|
+ if(result.state.toLowerCase() == "success") {
|
|
|
222
|
+ $('<option value="">请选择</option>').appendTo("#xl_box");
|
|
|
223
|
+ for(var i = 0; i < result.data.length; i++) {
|
|
|
224
|
+ $('<option value="' + result.data[i].F_DictionaryValueId + '">' + result.data[i].F_Name + '</option>').appendTo("#xl_box");
|
|
164
|
225
|
|
|
165
|
|
- var Files = Str[0].Files;
|
|
166
|
|
- if(Files) {
|
|
167
|
|
- var a;
|
|
168
|
|
- var b;
|
|
169
|
|
- $(Files).each(function(i, n) {
|
|
170
|
|
- a = n.F_FileType.split("\/")[0];
|
|
171
|
|
- b = n.F_FileName.split(".")[1];
|
|
172
|
|
- console.log(a);
|
|
173
|
|
- if(a == 'image') {
|
|
174
|
|
- $('<div class="img-box"><a href="+' + n.F_FileUrl + '" download="' + n.F_FileName + '"><img src="' + n.F_FileUrl + '" alt="" class="image-item" data-preview-group="1" /><span class="">' + b + '</span></a><div>').appendTo(".space");
|
|
175
|
|
- } else {
|
|
176
|
|
- $('<div class="img-box "><a href="+' + n.F_FileUrl + '" download="' + n.F_FileName + '"><span class="">' + b + '</span></a><div>').appendTo(".space");
|
|
177
|
|
- }
|
|
|
226
|
+ }
|
|
178
|
227
|
|
|
179
|
|
- })
|
|
180
|
|
- }
|
|
181
|
|
- }
|
|
|
228
|
+ }
|
|
|
229
|
+})
|
|
|
230
|
+//信息分类
|
|
|
231
|
+$.getJSON(huayi.config.callcenter_url + 'Dictionary/GetDicValueListByFlag?flag=XXFL', {
|
|
|
232
|
+ "token": $.cookie("token")
|
|
|
233
|
+}, function(result) {
|
|
|
234
|
+ console.log(result.data);
|
|
|
235
|
+ if(result.state.toLowerCase() == "success") {
|
|
|
236
|
+ var html = ""
|
|
|
237
|
+ for(var i = 0; i < result.data.length; i++) {
|
|
|
238
|
+ html += '<label style="font-weight: normal;">' +
|
|
|
239
|
+ '<input type="radio" value="' + result.data[i].F_DictionaryValueId + '" name="ltypes" /> ' + result.data[i].F_Name + '' +
|
|
|
240
|
+ '</label>'
|
|
182
|
241
|
}
|
|
183
|
|
- });
|
|
184
|
|
-}
|
|
185
|
|
-/*
|
|
186
|
|
-//获取工单类型
|
|
187
|
|
-function getTypeName(val) {
|
|
|
242
|
+ $(html).appendTo(".Message_box");
|
|
|
243
|
+ }
|
|
|
244
|
+})
|
|
|
245
|
+
|
|
|
246
|
+
|
|
|
247
|
+function GetTypeName(val) {
|
|
188
|
248
|
var str = '';
|
|
189
|
249
|
switch(val + '') {
|
|
190
|
250
|
case '1':
|
|
|
@@ -198,109 +258,4 @@ function getTypeName(val) {
|
|
198
|
258
|
break;
|
|
199
|
259
|
}
|
|
200
|
260
|
return str;
|
|
201
|
|
-}
|
|
202
|
|
-
|
|
203
|
|
-//获取部门
|
|
204
|
|
-var setting = {
|
|
205
|
|
- data: {
|
|
206
|
|
- key: {
|
|
207
|
|
- name: "F_DeptName"
|
|
208
|
|
- },
|
|
209
|
|
- simpleData: {
|
|
210
|
|
- enable: true,
|
|
211
|
|
- idKey: "F_DeptId",
|
|
212
|
|
- pIdKey: "F_ParentId",
|
|
213
|
|
- rootPId: 0
|
|
214
|
|
- }
|
|
215
|
|
- },
|
|
216
|
|
- callback: {
|
|
217
|
|
- onClick: zTreeOnClick
|
|
218
|
|
- }
|
|
219
|
|
-};
|
|
220
|
|
-
|
|
221
|
|
-function getBM(obj) {
|
|
222
|
|
- $.getJSON(huayi.config.callcenter_url + 'Department/GetAllList', {
|
|
223
|
|
- token: $.cookie("token")
|
|
224
|
|
- }, function(result) {
|
|
225
|
|
- if(result.state.toLowerCase() == "success") {
|
|
226
|
|
- $.fn.zTree.init(obj, setting, result.data);
|
|
227
|
|
- }
|
|
228
|
|
- })
|
|
229
|
|
-}
|
|
230
|
|
-
|
|
231
|
|
-function zTreeOnClick(event, treeId, treeNode) {
|
|
232
|
|
- if(event) {
|
|
233
|
|
- event.stopPropagation();
|
|
234
|
|
- }
|
|
235
|
|
- var obj = $("#" + event.data.treeId).parent();
|
|
236
|
|
- obj.parent().find("input").eq(0).val(treeNode.F_DeptName);
|
|
237
|
|
- obj.parent().find("input").eq(1).val(treeNode.F_DeptId);
|
|
238
|
|
- obj.hide();
|
|
239
|
|
- getRY($(".clid"), $("#clbm").val());
|
|
240
|
|
-};
|
|
241
|
|
-
|
|
242
|
|
-//获取人员
|
|
243
|
|
-function getRY(obj, deptid) {
|
|
244
|
|
- obj.empty();
|
|
245
|
|
- obj.append('<li itemid="">--请选择--</li>');
|
|
246
|
|
- obj.parent().parent().find("input").eq(0).val("--请选择--");
|
|
247
|
|
- obj.parent().parent().find("input").eq(1).val("");
|
|
248
|
|
- $.getJSON(huayi.config.callcenter_url + 'UserAccount/GetDeptUserList', {
|
|
249
|
|
- deptid: deptid,
|
|
250
|
|
- token: $.cookie("token")
|
|
251
|
|
- }, function(result) {
|
|
252
|
|
- if(result.state.toLowerCase() == "success") {
|
|
253
|
|
- $(result.data).each(function(i, n) {
|
|
254
|
|
- obj.append('<li itemid="' + n.F_UserId + '">' + n.F_UserName + '</li>');
|
|
255
|
|
- });
|
|
256
|
|
- obj.find("li").click(function(event) {
|
|
257
|
|
- if(event) {
|
|
258
|
|
- event.stopPropagation();
|
|
259
|
|
- }
|
|
260
|
|
- $(this).parent().parent().parent().find("input").eq(0).val($(this).text());
|
|
261
|
|
- $(this).parent().parent().parent().find("input").eq(1).val($(this).attr("itemid"));
|
|
262
|
|
- $(this).parent().parent().hide();
|
|
263
|
|
- });
|
|
264
|
|
- }
|
|
265
|
|
- })
|
|
266
|
|
-}*/
|
|
267
|
|
-
|
|
268
|
|
-//处理
|
|
269
|
|
-function dealWorkOrder(oid) {
|
|
270
|
|
- $.post(huayi.config.callcenter_url + 'WorkOrder/DealWorkOrder', {
|
|
271
|
|
- orderid: oid, //string 是 工单编号
|
|
272
|
|
- customer: $('#cl_khxm').val(), //string 是 客户姓名
|
|
273
|
|
- country: $('#t_county').val(), //string 否 乡镇
|
|
274
|
|
- //country: $("#t_county").find("option:selected").text(),
|
|
275
|
|
- address: $('#t_address').val(), //string 否 住址
|
|
276
|
|
- inqtime: $('#t_inqtime').val(), //string 否 调查时间
|
|
277
|
|
- inquser: $('#t_inquser').val(), //string 否 调查员
|
|
278
|
|
- detail: $('#t_detail').val(), //string 是 反映问题
|
|
279
|
|
- answer: $('#t_answer').val(), //string 否 回访反馈情况
|
|
280
|
|
- remark: $('#t_remarks').val(), //string 否 备注
|
|
281
|
|
-
|
|
282
|
|
-
|
|
283
|
|
-
|
|
284
|
|
- isend: $("input[name='ltype']:checked").val(), //int 是 是否结束 0否,1是
|
|
285
|
|
- unit: $("#xl_box").val(), //string 否 交办单位
|
|
286
|
|
- infotype: $("#t_infoType").val(), //string 否 信息分类
|
|
287
|
|
- clbm: $("#t_unit").val(), //string 否 处理部门
|
|
288
|
|
- clgh: $("#t_clr").val(), //string 否 处理人
|
|
289
|
|
- /*clbm: $("#clbm").val(), //int 否 处理部门
|
|
290
|
|
- clid: $("#clid").val(), //int 否 处理人
|
|
291
|
|
- cont: $("#cont").val(), //string 否 问题处理情况
|
|
292
|
|
- infotypeid: $("input[name='ltypes']:checked").val(), //int 否 信息分类id,默认为0
|
|
293
|
|
- unitid: $("#xl_box").val(), //int 否 交办单位id,默认为0*/
|
|
294
|
|
-
|
|
295
|
|
- token: $.cookie("token")
|
|
296
|
|
- }, function(result) {
|
|
297
|
|
- result = $.parseJSON(result);
|
|
298
|
|
- if(result.state.toLowerCase() == "success") {
|
|
299
|
|
- var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
|
|
300
|
|
- parent.layer.close(index); //再执行关闭
|
|
301
|
|
- parent.initTable();
|
|
302
|
|
- parent.Hiden();
|
|
303
|
|
- parent.layer.msg("处理工单成功");
|
|
304
|
|
- }
|
|
305
|
|
- })
|
|
306
|
261
|
}
|