|
|
@@ -29,25 +29,6 @@
|
|
29
|
29
|
</head>
|
|
30
|
30
|
|
|
31
|
31
|
<body>
|
|
32
|
|
- <!--重新办理-->
|
|
33
|
|
- <div style="width: 100%;padding: 10px;">
|
|
34
|
|
- <table class="table" border="" cellspacing="0" cellpadding="0" style="border: 1px solid #e7eaec;">
|
|
35
|
|
- <theard>
|
|
36
|
|
- <tr>
|
|
37
|
|
- <td class="text-center">序号</td>
|
|
38
|
|
- <td class="text-center">办理时间</td>
|
|
39
|
|
- <td class="text-center">内容</td>
|
|
40
|
|
- <td class="text-center">附件</td>
|
|
41
|
|
- <td class="text-center">审批时间</td>
|
|
42
|
|
- <td class="text-center">状态</td>
|
|
43
|
|
- <td class="text-center">意见</td>
|
|
44
|
|
- </tr>
|
|
45
|
|
- </theard>
|
|
46
|
|
- <tbody class="HGXX" style="border-top: none; padding: 8px;">
|
|
47
|
|
- </tbody>
|
|
48
|
|
- </table>
|
|
49
|
|
- </div>
|
|
50
|
|
-
|
|
51
|
32
|
<div class="Common" style="padding: 10px;">
|
|
52
|
33
|
<table class="table" border="" cellspacing="0" cellpadding="0" style="border: 1px solid #e7eaec; text-align: center;">
|
|
53
|
34
|
<theard>
|
|
|
@@ -55,7 +36,6 @@
|
|
55
|
36
|
<td class="text-center">办理人</td>
|
|
56
|
37
|
<td class="text-center">办理时间</td>
|
|
57
|
38
|
<td class="text-center">内容</td>
|
|
58
|
|
- <td class="text-center">附件</td>
|
|
59
|
39
|
</tr>
|
|
60
|
40
|
</theard>
|
|
61
|
41
|
<tbody class="BLNR" style="border-top: none; padding: 8px;">
|
|
|
@@ -84,7 +64,7 @@
|
|
84
|
64
|
var a=$("#ID").val()
|
|
85
|
65
|
Detail();
|
|
86
|
66
|
$(document).ready(function() {
|
|
87
|
|
- HGXX();
|
|
|
67
|
+// HGXX();
|
|
88
|
68
|
BLNR();
|
|
89
|
69
|
//上传附件
|
|
90
|
70
|
$("#scwj").click(function() {
|
|
|
@@ -100,6 +80,9 @@
|
|
100
|
80
|
$('.BC').click(function() {
|
|
101
|
81
|
if($("#reason").val()==""){
|
|
102
|
82
|
layer.msg("请填写审核意见");
|
|
|
83
|
+ }else{
|
|
|
84
|
+ State = 1;
|
|
|
85
|
+ JA();
|
|
103
|
86
|
}
|
|
104
|
87
|
|
|
105
|
88
|
})
|
|
|
@@ -107,6 +90,7 @@
|
|
107
|
90
|
if($("#reason").val()==""){
|
|
108
|
91
|
layer.msg("请填写审核意见");
|
|
109
|
92
|
}else{
|
|
|
93
|
+ State = 2;
|
|
110
|
94
|
JA();
|
|
111
|
95
|
}
|
|
112
|
96
|
})
|
|
|
@@ -117,7 +101,7 @@
|
|
117
|
101
|
workorderid: wid,
|
|
118
|
102
|
reason: $('#reason').val(), //办理内容
|
|
119
|
103
|
state: State,
|
|
120
|
|
- feedbackid:a,
|
|
|
104
|
+ backid:ccc,
|
|
121
|
105
|
token: $.cookie("token")
|
|
122
|
106
|
}, function(result) {
|
|
123
|
107
|
result = JSON.parse(result);
|
|
|
@@ -132,25 +116,26 @@
|
|
132
|
116
|
}
|
|
133
|
117
|
// <a style="margin-right:5px;" href="' + n.F_FileUrl + '" download="' + n.F_FileUrl + '">附件</a>
|
|
134
|
118
|
// 工单详情
|
|
135
|
|
- function HGXX() {
|
|
136
|
|
- $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetSecondDealInfo', {
|
|
137
|
|
- workorderid: wid,
|
|
138
|
|
- token: $.cookie("token")
|
|
139
|
|
- }, function(result) {
|
|
140
|
|
- // result = JSON.stringify(result)
|
|
141
|
|
- if(result.state.toLowerCase() == "success") {
|
|
142
|
|
- var temp;
|
|
143
|
|
- $.each(result.data.pdinfo,function(i, n) {
|
|
144
|
|
- var i=0;
|
|
145
|
|
- i++;
|
|
146
|
|
- temp = temp + '<td class="text-center">'+i+'</td><td class="text-center">'+n.F_CreateTime+'</td><td class="text-center">'+n.F_AssignedOpinion+'</td><td class="text-center">附件</td><td class="text-center">'+n.F_LimitTime+'</td><td class="text-center">否</td><td class="text-center">'+n.F_OtherDeptIds+'</td>';
|
|
147
|
|
-// $(HTML).appendTo($('.HGXX'));
|
|
148
|
|
-// $('.HGXX').after(HTML);
|
|
149
|
|
- });
|
|
150
|
|
- $('.HGXX').append(temp);
|
|
151
|
|
- }
|
|
152
|
|
- })
|
|
153
|
|
- }
|
|
|
119
|
+// function HGXX() {
|
|
|
120
|
+// $.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetSecondDealInfo', {
|
|
|
121
|
+// workorderid: wid,
|
|
|
122
|
+// token: $.cookie("token")
|
|
|
123
|
+// }, function(result) {
|
|
|
124
|
+// // result = JSON.stringify(result)
|
|
|
125
|
+// if(result.state.toLowerCase() == "success") {
|
|
|
126
|
+// var temp;
|
|
|
127
|
+// $.each(result.data.pdinfo,function(i, n) {
|
|
|
128
|
+// var i=0;
|
|
|
129
|
+// i++;
|
|
|
130
|
+// temp = temp + '<td class="text-center">'+i+'</td><td class="text-center">'+n.F_CreateTime+'</td><td class="text-center">'+n.F_AssignedOpinion+'</td><td class="text-center">'+n.F_LimitTime+'</td><td class="text-center">'+n.F_OtherDeptIds+'</td>';
|
|
|
131
|
+// ccc=n.F_Id;
|
|
|
132
|
+//
|
|
|
133
|
+// });
|
|
|
134
|
+//
|
|
|
135
|
+// $('.HGXX').append(temp);
|
|
|
136
|
+// }
|
|
|
137
|
+// })
|
|
|
138
|
+// }
|
|
154
|
139
|
//办理内容
|
|
155
|
140
|
function BLNR() {
|
|
156
|
141
|
$.getJSON(huayi.config.callcenter_url + 'WorkOrder/GetNewSecondDealInfo', {
|
|
|
@@ -160,9 +145,10 @@
|
|
160
|
145
|
if(result.state.toLowerCase() == "success") {
|
|
161
|
146
|
var temp1;
|
|
162
|
147
|
$.each(result.data,function(i, n) {
|
|
163
|
|
- temp1 = temp1 + '<td class="text-center">'+n.F_DealUser+'</td><td class="text-center">'+n.F_CreateTime+'</td><td class="text-center">'+n.F_Result+'</td><td class="text-center">'+n.F_File+'</td>';
|
|
|
148
|
+ temp1 = temp1 + '<td class="text-center">'+n.F_DealUser+'</td><td class="text-center">'+n.F_CreateTime+'</td><td class="text-center">'+n.F_Result+'</td>';
|
|
164
|
149
|
// $(HTML).appendTo($('.HGXX'));
|
|
165
|
150
|
// $('.HGXX').after(HTML);
|
|
|
151
|
+ ccc=n.F_Id;
|
|
166
|
152
|
});
|
|
167
|
153
|
$('.BLNR').append(temp1);
|
|
168
|
154
|
}
|