Commit d1b0aefd authored by agping's avatar agping

1

parent ec7fc62f
......@@ -573,13 +573,15 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style
} else {
return
};
var user_info_obj = JSON.parse(decodeURIComponent(localStorage.getItem('pcUserInfo'))); //读取缓存
var _data = {
// id: id_pic//新增 不传id
'title': $('#loupan_title').val(),
'type': $('#loupan_type').val(),
'building_images': imgOffice,
'intro': $('#introOffice').val(),
// 'intro': $('#loucengOffice').val(),
'agent_id':user_info_obj.id,
// 'add_building_stations': id_pic,//交通 暂无
'province': _provinceInternalObj.val(),
'city': _cityInternalObj.val(),
......@@ -593,7 +595,7 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style
$.ajax({
type: 'GET',
type: 'POST',
url: '/office_index/houseDictionaryAdd',
data: _data,
dataType: 'json',
......
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