|
@ -287,7 +287,7 @@ $(function() {
|
287
|
287
|
|
288
|
288
|
function getDataResource() {
|
289
|
289
|
$.ajax({
|
290
|
|
"url": "/ajax/resource/qapro",
|
|
290
|
"url": "/ajax/resource/qaForDesk",
|
291
|
291
|
"type": "get",
|
292
|
292
|
"async": true,
|
293
|
293
|
"data": {
|
|
@ -317,7 +317,7 @@ $(function() {
|
317
|
317
|
|
318
|
318
|
//$('.resoumag').eq(i+1).attr("resourceId",data.data[i].resourceId);
|
319
|
319
|
if(data.data[i].images.length) {
|
320
|
|
$add.find(".resourceImg").attr("src", "/images/resource/" + data.data[i].resourceId + ".jpg");
|
|
320
|
$add.find(".resourceImg").attr("src", "/data/resource/" + data.data[i].images[0].imageSrc);
|
321
|
321
|
} else {
|
322
|
322
|
$add.find(".resourceImg").attr("src", "/images/default-resource.jpg");
|
323
|
323
|
}
|