Commit 961ac25b authored by agping's avatar agping

后台 修改

parent 3579e8e3
...@@ -272,7 +272,7 @@ ...@@ -272,7 +272,7 @@
tabArea(index,area){ tabArea(index,area){
let _this = this; let _this = this;
_this.initTabNumArea = index; _this.initTabNumArea = index;
// _this_ajaxArea = area; _this._ajaxArea = area;
console.log(area); console.log(area);
_this.mainDataChoose[_this.initTabNumMainChoose].isShow = false; _this.mainDataChoose[_this.initTabNumMainChoose].isShow = false;
}, },
......
...@@ -510,8 +510,9 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp ...@@ -510,8 +510,9 @@ define(['doT', 'text!temp/agent_template_tpl.html', 'text!temp/phoneBinding_temp
success: function(data) { success: function(data) {
if(data.code == 200) { if(data.code == 200) {
alert('提交成功'); alert('提交成功');
$("#modal-business").modal('hide'); $("#modal-business").modal('hide');//转勤 提交成功之后 关闭弹出框
agent.Edit();//转勤弹框关闭 更新编辑经纪人弹框 $("#modal-edit").modal('hide');
agent.getList(agent.pageNo);
}else if(data.code == 101){ }else if(data.code == 101){
alert(data.msg); alert(data.msg);
......
...@@ -149,10 +149,12 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin ...@@ -149,10 +149,12 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
var p_district_id = $('#district_id_panfang').val(); var p_district_id = $('#district_id_panfang').val();
var p_store_id = $('#guest_stores_panfang').val(); var p_store_id = $('#guest_stores_panfang').val();
var p_agent_id = business.agent_id_choose_p; var p_agent_id = business.agent_id_choose_p;
var type = $('#shop_type').val();
var city = $('.shop_city_choose_site_list').val();
if(p_store_id == null){ if(p_store_id == null){
p_store_id = ''; p_store_id = '';
} }
var _shopLink='https://www.tonglianjituan.com/shop_link.html?type=1&city=1' + '&' + 'p_district_id' + '=' + p_district_id + '&' + 'p_store_id' + '=' + p_store_id + '&' + 'p_agent_id' + '=' + p_agent_id; var _shopLink='https://www.tonglianjituan.com/shop_link.html?' + 'p_district_id' + '=' + p_district_id + '&' + 'p_store_id' + '=' + p_store_id + '&' + 'p_agent_id' + '=' + p_agent_id + '&' + 'type' + '=' + (type == -1 ? 1 : type) + '&' + 'city' + '=' + escape(city==""?'上海市':city);
if(p_district_id || p_store_id || p_agent_id){ if(p_district_id || p_store_id || p_agent_id){
$('#link_content').html(_shopLink); $('#link_content').html(_shopLink);
}else{ }else{
......
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