Commit 2d7a610f authored by duxinyuan's avatar duxinyuan

11

parent ba44fdce
...@@ -228,7 +228,7 @@ define (['doT', 'text!temp/banner_template_tpl.html', 'ckfinder', 'ckfinderStart ...@@ -228,7 +228,7 @@ define (['doT', 'text!temp/banner_template_tpl.html', 'ckfinder', 'ckfinderStart
console.log(" in function "); console.log(" in function ");
console.log(_this) console.log(_this)
var formData = new FormData(); var formData = new FormData();
formData.append('type', 'shop_image_depot'); formData.append('type', 'house_img');
formData.append('image', _this[0].files[0]); formData.append('image', _this[0].files[0]);
$.ajax({ $.ajax({
type: 'post', type: 'post',
......
...@@ -5,8 +5,8 @@ ...@@ -5,8 +5,8 @@
<td>[%= it[item]["title"] %]</td> <td>[%= it[item]["title"] %]</td>
<td> <td>
<input type="hidden" value='[%= it[item]["pic_path"] %]'> <input type="hidden" value='[%= it[item]["pic_path"] %]'>
<img src='http://images.tonglianjituan.com/static/shop_image_depot/[%= it[item]["pic_path"] %]' class="diagram-image J_preview" <img src='http://images.tonglianjituan.com/resource/lib/Attachments/[%= it[item]["pic_path"] %]' class="diagram-image J_preview"
data-bimg='http://images.tonglianjituan.com/static/shop_image_depot/[%= it[item]["pic_path"] %]'> data-bimg='http://images.tonglianjituan.com/resource/lib/Attachments/[%= it[item]["pic_path"] %]'>
</td> </td>
<td> <td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment