Commit 96aa8adf authored by agping's avatar agping

1

parent a128c145
...@@ -194,10 +194,10 @@ ...@@ -194,10 +194,10 @@
</tr> </tr>
<tr v-for="(item, index) in peopleList" data-id="item.agent_id"> <tr v-for="(item, index) in peopleList" data-id="item.agent_id">
<td>{{item.agent_name}}</td> <td>{{item.agent_name}}</td>
<td><input type="number" placeholder="填写" /></td> <td>{{item.house_num}}</td>
<td><input type="number" placeholder="填写" /></td> <td>{{item.user_num}}</td>
<td><input type="number" placeholder="填写" /></td> <td>{{item.follow_up_num}}</td>
<td><input type="number" placeholder="填写" /></td> <td>{{item.performance_week}}</td>
<td><input type="number" placeholder="填写" /></td> <td><input type="number" placeholder="填写" /></td>
<!--<td> <!--<td>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<tr> <tr>
<td>所在楼层:{{d.floor}}</td> <td>所在楼层:{{d.floor}}</td>
<td>房号:{{d.id}}</td> <td>房号:{{d.room_num}}</td>
<td>房源状态:{{(d.is_rent==1)?'已租':'未租'}}</td> <td>房源状态:{{(d.is_rent==1)?'已租':'未租'}}</td>
<td>是否独家:{{(d.is_exclusive_type==1)?'是':'否'}}</td> <td>是否独家:{{(d.is_exclusive_type==1)?'是':'否'}}</td>
</tr> </tr>
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<td>可容纳工位:{{d.station_start}}-{{d.station_end}}</td> <td>可容纳工位:{{d.station_start}}-{{d.station_end}}</td>
<td>面积:{{d.area}}</td> <td>面积:{{d.area}}</td>
<td>所属楼层:{{switchFloortag(d.floor_tag)}}</td> <td>所属楼层:{{switchFloortag(d.floor_tag)}}</td>
<td>入驻时间:{{d.enter_time}}</td> <td>入驻时间:{{d.enter_date}}</td>
</tr> </tr>
<tr> <tr>
<td>付款规则:{{d.payment_month}}-{{d.deposit_month}}</td> <td>付款规则:{{d.payment_month}}-{{d.deposit_month}}</td>
......
...@@ -663,13 +663,13 @@ ...@@ -663,13 +663,13 @@
</div> </div>
</div> </div>
<div class="form-group form-group-bottom col-sm-6" class="isShowYetai"> <div class="form-group form-group-bottom col-sm-6 isShowYetai">
<label for="inputEmail3" class="col-sm-4 control-label">具体业态:</label> <label for="inputEmail3" class="col-sm-4 control-label">具体业态:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<input type="text" class="form-control left-width" name="" id="concrete_industry" placeholder="8个字以内(选填)"> <input type="text" class="form-control left-width" name="" id="concrete_industry" placeholder="8个字以内(选填)">
</div> </div>
</div> </div>
<div class="form-group form-group-bottom col-sm-6" class="isShowYetai"> <div class="form-group form-group-bottom col-sm-6 isShowYetai">
<label class="col-sm-4 control-label">业态范围:</label> <label class="col-sm-4 control-label">业态范围:</label>
<div class="col-sm-8"> <div class="col-sm-8">
<select class="form-control left-width" id="industry_type2"> <select class="form-control left-width" id="industry_type2">
......
...@@ -486,7 +486,7 @@ ...@@ -486,7 +486,7 @@
</form> </form>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default" id="close">关闭 <button type="button" class="btn btn-default" id="close" data-dismiss="modal">关闭
</button> </button>
<button type="button" class="btn btn-primary btn-guanbi" id="saveBtn"> <button type="button" class="btn btn-primary btn-guanbi" id="saveBtn">
提交 提交
......
...@@ -486,7 +486,7 @@ ...@@ -486,7 +486,7 @@
</form> </form>
</div> </div>
<div class="modal-footer"> <div class="modal-footer">
<button type="button" class="btn btn-default" id="close" data-dismiss="modal">关闭 <button type="button" class="btn btn-default" data-dismiss="modal" id="">关闭
</button> </button>
<button type="button" class="btn btn-primary btn-guanbi" id="saveBtn"> <button type="button" class="btn btn-primary btn-guanbi" id="saveBtn">
提交 提交
......
...@@ -84,12 +84,12 @@ ...@@ -84,12 +84,12 @@
<select class="form-control" name="" id="is_rent" data-alert="请选择房源状态"> <select class="form-control" name="" id="is_rent" data-alert="请选择房源状态">
<option value="">请选择</option> <option value="">请选择</option>
<option value="1">已租</option> <option value="1">已租</option>
<option value="0"></option> <option value="0"></option>
</select> </select>
</div> </div>
<!--<div class="form-group">--> <!--<div class="form-group">-->
<!--新增时 不显示是否对客户展示--> <!--新增时 不显示是否对客户展示-->
<div class="form-group" style="display: none;" class="isShowuser"> <div class="form-group isShowuser">
<label for="show_all">是否对客户展示</label> <label for="show_all">是否对客户展示</label>
<select class="form-control" name="showCd" id="showCd" disabled="disabled"> <select class="form-control" name="showCd" id="showCd" disabled="disabled">
<option value="">请选择</option> <option value="">请选择</option>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
<div class="col-xs-4 p-t-10"> <div class="col-xs-4 p-t-10">
<label class="">免租时间: </label> <label class="">免租时间: </label>
<label class="checkbox-inline"> <label class="checkbox-inline">
<input type="checkbox" id="" value="面议">面议 <input type="checkbox" id="mianyi" value="-1">面议
</label> </label>
<!--<div class="input-group">--> <!--<div class="input-group">-->
<input type="number" class="form-control input-100-width" id="rent_free" placeholder="请输入" data-alert="请填写免租时间!"> <input type="number" class="form-control input-100-width" id="rent_free" placeholder="请输入" data-alert="请填写免租时间!">
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
<div class="col-xs-4 p-t-10"> <div class="col-xs-4 p-t-10">
<label class="">物业管理费: </label> <label class="">物业管理费: </label>
<input type="number" class="form-control input-100-width" id="management_fee" placeholder="请输入" data-alert="请输入物业管理费!">&nbsp;&nbsp;元/m²/ <input type="number" class="form-control input-100-width" id="management_fee" placeholder="请输入" data-alert="请输入物业管理费!">&nbsp;&nbsp;元/m²/
</div> </div>
<div class="col-xs-4 p-t-10"> <div class="col-xs-4 p-t-10">
......
...@@ -95,6 +95,9 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style ...@@ -95,6 +95,9 @@ define(['doT', 'text!temp/building_dictionary_list_template_tpl.html','css!style
$("#search").click(function() { $("#search").click(function() {
business.getList(1); business.getList(1);
}); });
$("#guanbi").click(function() {//关闭弹窗
$("#modal_add_loupan").modal('hide');//提交成功后 关闭弹窗
});
$("#reset").click(function() { //重置 $("#reset").click(function() { //重置
document.getElementById("form_search").reset(); document.getElementById("form_search").reset();
......
...@@ -148,7 +148,7 @@ define(['doT', 'text!temp/my_collection_office_template_tpl.html', 'css!style/ho ...@@ -148,7 +148,7 @@ define(['doT', 'text!temp/my_collection_office_template_tpl.html', 'css!style/ho
house.detailTabIndex = _this.index(); house.detailTabIndex = _this.index();
$('.detail-modal-body-sec:nth-of-type('+(house.detailTabIndex+1)+')').show().siblings().hide(); $('.detail-modal-body-sec:nth-of-type('+(house.detailTabIndex+1)+')').show().siblings().hide();
if(house.detailTabIndex == 1){ if(house.detailTabIndex == 1){
$('.iframe-shop-detail').attr('src', '/app_broker/shop_detail_pc?shop_id='+house.id); $('.iframe-shop-detail').attr('src', '/app_broker/office_detail_pc?shop_id='+house.id);
}else if(house.detailTabIndex == 0){ }else if(house.detailTabIndex == 0){
$('.followup-modal-comment-area>textarea').val('');//清空跟进框内容 $('.followup-modal-comment-area>textarea').val('');//清空跟进框内容
house.getFollowupList(); house.getFollowupList();
......
...@@ -1648,7 +1648,7 @@ if(data.code == 200) { ...@@ -1648,7 +1648,7 @@ if(data.code == 200) {
}, },
delBusiness: function() { delBusiness: function() {
$.ajax({ $.ajax({
url: '/office_index/houseDel', url: '/office_index/del',
type: 'POST', type: 'POST',
async: true, async: true,
data: { data: {
......
...@@ -10,16 +10,16 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -10,16 +10,16 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
//初始化dot //初始化dot
user.event(); user.event();
$('#pf_tel_jia').hide(); $('#pf_tel_jia').hide();
if(getUrlParam('id') != null){//编辑
$(".isShowuser").show()
}else{
$(".isShowuser").hide()
}
}, },
upload_id: 0, upload_id: 0,
event: function() { event: function() {
$('#page-content-wrapper').show(); $('#page-content-wrapper').show();
if(getUrlParam('id') != null){//编辑
$(".isShowuser").show()
}else{
$(".isShowuser").hide()
}
var _objThis = this, //user对象 var _objThis = this, //user对象
_id = getUrlParam('id'), //地址栏获取的商铺或者街铺id _id = getUrlParam('id'), //地址栏获取的商铺或者街铺id
_source = getUrlParam('source'), _source = getUrlParam('source'),
...@@ -1164,7 +1164,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function ...@@ -1164,7 +1164,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
if(user.IDBuilding){//楼盘id if(user.IDBuilding){//楼盘id
_data['building_id'] = user.IDBuilding; _data['building_id'] = user.IDBuilding;
}else{ }else{
alert("请输入楼盘id"); alert("请输入楼盘");
return; return;
} }
......
...@@ -1621,7 +1621,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -1621,7 +1621,7 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
params.entrust_type = $('#find-shop-typeEdit').val(); params.entrust_type = $('#find-shop-typeEdit').val();
params.weixin_nick = $("#weixin_nickEdit").val();//微信号 params.weixin_nick = $("#weixin_nickEdit").val();//微信号
params.user_status = $("#edit-user-staus").val();//客户状态 params.user_status = $("#edit-user-staus").val();//客户状态
if($('#find-shop-typeEdit').val() == 1){ if($('#find-shop-typeEdit').val() == 0){
params.concrete_industry = $("#concrete_industryEdit").val();//具体业态 params.concrete_industry = $("#concrete_industryEdit").val();//具体业态
params.industry_type = $(".industry_type_two_1").val(); params.industry_type = $(".industry_type_two_1").val();
} }
...@@ -2247,10 +2247,10 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind ...@@ -2247,10 +2247,10 @@ define(['doT', 'text!temp/user_template_tpl.html', 'css!style/home.css', 'ckfind
params.site_id = _siteTagArr.join(','); params.site_id = _siteTagArr.join(',');
//客户类型 //客户类型
params.entrust_type = $('#find-shop-type').val(); params.entrust_type = $('#find-shop-type').val();
if($('#find-shop-type').val() == 1){ if($('#find-shop-type').val() == 0){
params.concrete_industry = $("#concrete_industry").val();//具体业态 params.concrete_industry = $("#concrete_industry").val();//具体业态
params.industry_type = $("#industry_type2").val();//业态范围 params.industry_type = $("#industry_type2").val();//业态范围
if(params.concrete_industry == '') { if($("#concrete_industry").val() == '') {
alert('具体业态必填'); alert('具体业态必填');
return; return;
} }
......
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