|
@@ -394,8 +394,11 @@ $(function(){
|
|
|
$('#image_list').append('<span>无图片</span>');
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- $('#technician_name').html('<a href="javascript:;" onclick="parent.load_url(\'<?php echo Yii::app()->request->baseUrl; ?>/index.php?r=o2o/tech&id='+data.technician+'\');">'+data.technician_name+'</a>');
|
|
|
+ var $output = '';
|
|
|
+ for(var j in data.technicians) {
|
|
|
+ $output += '<a href="javascript:;" onclick="parent.load_url(\'<?php echo Yii::app()->request->baseUrl; ?>/index.php?r=o2o/tech&id=' + data.technicians[j].technician_id + '\');">' + data.technicians[j].technician_name + '</a>';
|
|
|
+ }
|
|
|
+ $('#technician_name').html($output);
|
|
|
},
|
|
|
onLoadSuccess: function(){
|
|
|
$(this).datagrid('clearChecked');
|