|
|
@@ -125,6 +125,10 @@
|
|
125
|
125
|
<td colspan="3"> <input type="text" id="title" readonly="readonly" /></td>
|
|
126
|
126
|
</tr>
|
|
127
|
127
|
<tr>
|
|
|
128
|
+ <td width="100" height="100"> 参考答案</td>
|
|
|
129
|
+ <td colspan="3" height="100"> <textarea name="" rows="" cols="" id="endanswer" readonly="readonly"></textarea></td>
|
|
|
130
|
+ </tr>
|
|
|
131
|
+ <tr>
|
|
128
|
132
|
<td width="100">单位</td>
|
|
129
|
133
|
<td colspan="3"> <input type="text" id="maindept" readonly="readonly" /></td>
|
|
130
|
134
|
</tr>
|
|
|
@@ -159,6 +163,12 @@
|
|
159
|
163
|
<td width="100" height="100"> 备注</td>
|
|
160
|
164
|
<td colspan="3" height="100"><textarea name="" rows="" cols="" id="remark" readonly="readonly"></textarea> </td>
|
|
161
|
165
|
</tr>
|
|
|
166
|
+ <tr class='mechanism'>
|
|
|
167
|
+ <td width="100" height="100"> 机构职能</td>
|
|
|
168
|
+ <td colspan="3" height="100">
|
|
|
169
|
+ <textarea name="" rows="" cols="" id="mechanism" disabled></textarea>
|
|
|
170
|
+ </td>
|
|
|
171
|
+ </tr>
|
|
162
|
172
|
</table>
|
|
163
|
173
|
<ul class="tab_list clearfix">
|
|
164
|
174
|
<li class="active">设定依据</li>
|
|
|
@@ -228,6 +238,7 @@
|
|
228
|
238
|
<script>
|
|
229
|
239
|
|
|
230
|
240
|
var ids=helper.request.queryString("ids");
|
|
|
241
|
+ var depId=helper.request.queryString("DeptId");
|
|
231
|
242
|
$(document).ready(function(){
|
|
232
|
243
|
$('.tab_list li').click(function(){
|
|
233
|
244
|
var index=$(this).index();
|
|
|
@@ -235,6 +246,27 @@
|
|
235
|
246
|
$('.tab_content>div').eq(index).show().siblings().hide();
|
|
236
|
247
|
|
|
237
|
248
|
})
|
|
|
249
|
+ if(depId&&depId!=99999&&depId!=0){
|
|
|
250
|
+ $.ajax({
|
|
|
251
|
+ type:"get",
|
|
|
252
|
+ url:huayi.config.callcenter_url +"Department/GetDept",
|
|
|
253
|
+ async:true,
|
|
|
254
|
+ dataType:'json',
|
|
|
255
|
+ data:{
|
|
|
256
|
+ token: $.cookie("token"),
|
|
|
257
|
+ id:depId
|
|
|
258
|
+ },
|
|
|
259
|
+ success:function(result){
|
|
|
260
|
+ if(result.state.toLowerCase()=='success'){
|
|
|
261
|
+ var con=result.data;
|
|
|
262
|
+ $('#mechanism').val(con.F_Remark);
|
|
|
263
|
+ }
|
|
|
264
|
+
|
|
|
265
|
+ }
|
|
|
266
|
+ });
|
|
|
267
|
+ }else{
|
|
|
268
|
+ $('.mechanism').css('display','none')
|
|
|
269
|
+ }
|
|
238
|
270
|
//按钮【按钮一】的回调
|
|
239
|
271
|
$.ajax({
|
|
240
|
272
|
type: "post",
|