Commit 812358cb authored by xishifeng's avatar xishifeng

门店业绩暂存

parent c7bf0063
...@@ -20,14 +20,9 @@ class Index ...@@ -20,14 +20,9 @@ class Index
return view('index/achieve_ywy'); return view('index/achieve_ywy');
} }
public function achieve_md() public function achieve_region()
{ {
return view('index/achieve_md'); return view('index/achieve_region');
}
public function achieve_ac()
{
return view('index/achieve_ac');
} }
public function cs_0328() public function cs_0328()
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
<a class="fl" :href="linkAchieveYwy">个人业绩</a> <a class="fl" :href="linkAchieveYwy">个人业绩</a>
</div> </div>
<div class="oh fl" v-if="userLevel!=10"> <div class="oh fl" v-if="userLevel!=10">
<a class="fl" v-if="userLevel==40" :href="linkAchieveQy">区域业绩</a> <a class="fl" v-if="userLevel==20" :href="linkAchieveQy">门店业绩</a>
<a class="fl" v-else :href="linkAchieveMd">门店业绩</a> <a class="fl" v-else :href="linkAchieveQy">区域业绩</a>
</div> </div>
</footer> </footer>
......
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>同联商业</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<meta name="Keywords" content="" />
<meta name="Description" content="" />
</head>
<body style="display: none;">
<div id="app">
<header class="achieve-header dz-achieve-header">
<a class="achieve-header-back" href="javascript:;"></a>
<h2 id="title">区域业绩</h2>
<div class="mulu_relate mulu_relate_new" v-show="showHouseArr" @click.prevent.stop="mask('show')"><span id="list_name">{{}}</span><img src="/app/images/all_ic.png"></div>
</header>
<div class="header_seat"></div>
<div id="mask_list_select">
<div class="pop_box">
<div class="tri_angle2"></div>
<ul id="house_list_area"></ul>
</div>
</div>
<div class="achieve achieve-content-md dz_achieve_header">
<ul>
<li v-for="(item,key,index) in cirData" :key="key" :class="'achieve_l'+(index+1)+' acbtn-li-'+key" :data-href="item.href">
<span>{{item.title}}</span>
<font :id="'count_'+key">{{item.num}}</font>
</li>
</ul>
<!--搜索框的部分-->
<div class="list-time">
<div class="timebox001 fl">
<div class="inputbox fl">
<input type="date" placeholder="55" id="startdateid">
</div>
<img src="/app/images/yj_down_icon@2x.png" class="yj_down_icon">
<span class="fl" style="color:#FFFFFF;margin-left: 0.1rem"></span>
<div class=" inputbox fl">
<input type="date" id="enddateid">
</div>
<img src="/app/images/yj_down_icon@2x.png" class="yj_down_icon">
<div class="div_search" onclick="searchdata()">
<span></span>
<img src="/app/images/suods.png" />
</div>
</div>
</div>
</div>
<!--列表项-->
<div class="con-con achieve-content-md">
<section class="ul_header">
<p class="ul_title ul_title_zz">
<span class="active">门店业绩排行榜</span>
<span class="">业务员业绩排行榜</span>
</p>
<div class="div-tri">
<div class="box-tri-1"></div>
<div class="box-tri-2" style="left: 1.85rem;"></div>
</div>
<p class="ul_title_add add_zz">
<span>组员</span>
<span>新签</span>
<span>踩盘</span>
<span>带看</span>
<span>认购</span>
<span>拜访</span>
</p>
</section>
<ul class='achieve_dz_ul' id='listall'></ul>
</div>
<div id="loading_pic" class="loading_pic">
<img src="/app/images/jz2.gif" />
<p>正在加载...</p>
</div>
<div id="no_more" class="no_more">没有更多了</div>
<div id="zanwu_data" class="zanwu_data">暂无数据...</div>
<div id="loading_pic_samll" class="loading_pic_samll"><img src="/app/images/lazyload.gif" /></div>
</div>
<script src="/app/js/libs/require.min.js" data-js="/app/js/achieve_region.js" data-main="/app/js/main" defer async="true"></script>
</body>
</html>
\ No newline at end of file
...@@ -30,8 +30,7 @@ Route::group('app_broker',[ ...@@ -30,8 +30,7 @@ Route::group('app_broker',[
'index' => [ 'app_broker/index/index', [ 'method' => 'get' ] ], 'index' => [ 'app_broker/index/index', [ 'method' => 'get' ] ],
'achieve_fork' => [ 'app_broker/index/achieve_fork', [ 'method' => 'get' ] ], 'achieve_fork' => [ 'app_broker/index/achieve_fork', [ 'method' => 'get' ] ],
'achieve_ywy' => [ 'app_broker/index/achieve_ywy', [ 'method' => 'get' ] ], 'achieve_ywy' => [ 'app_broker/index/achieve_ywy', [ 'method' => 'get' ] ],
'achieve_md' => [ 'app_broker/index/achieve_md', [ 'method' => 'get' ] ], 'achieve_region' => [ 'app_broker/index/achieve_region', [ 'method' => 'get' ] ],
'achieve_ac' => [ 'app_broker/index/achieve_ac', [ 'method' => 'get' ] ],
'cs_0328' => [ 'app_broker/index/cs_0328', [ 'method' => 'get' ] ], 'cs_0328' => [ 'app_broker/index/cs_0328', [ 'method' => 'get' ] ],
'weekly' => [ 'app_broker/index/weekly', [ 'method' => 'get' ] ], 'weekly' => [ 'app_broker/index/weekly', [ 'method' => 'get' ] ],
'weekly_my' => [ 'app_broker/index/weekly_my', [ 'method' => 'get' ] ], 'weekly_my' => [ 'app_broker/index/weekly_my', [ 'method' => 'get' ] ],
......
This diff is collapsed.
...@@ -6,8 +6,7 @@ require(['vue', 'css!style/achieve_fork.css', 'jquery0325', 'common'],function(V ...@@ -6,8 +6,7 @@ require(['vue', 'css!style/achieve_fork.css', 'jquery0325', 'common'],function(V
data: { data: {
testBtn: null, testBtn: null,
linkAchieveYwy: 'javascript:;', linkAchieveYwy: 'javascript:;',
linkAchieveMd: 'achieve_md', linkAchieveQy: 'achieve_region',
linkAchieveQy: 'achieve_Qy',
userLevel: '' userLevel: ''
}, },
created: function() { created: function() {
......
'use strict';
require(['vue', 'css!style/achieve_temp.css', 'jquery0325', 'common'], function(Vue) {
var _token = getUrlParam('token');
var vm = new Vue({
el: '#app',
data: {
testBtn: null,
cirData: {
'fangyuan':{
'title': '房源',
'href': 'achieve_sub_dz_main?state=0',
'num': 0
},
'keyuan':{
'title': '客源',
'href': 'achieve_sub_dz_main?state=0',
'num': 0
},
'yeji':{
'title': '业绩',
'href': 'achieve_sub_dz_main?state=0',
'num': 0
},
'shishou':{
'title': '实收',
'href': 'achieve_sub_dz_main?state=0',
'num': 0
},
'yuedaikan':{
'title': '约带看',
'href': 'achieve_sub_dz_main?state=0',
'num': 0
},
'jinchang':{
'title': '进场',
'href': 'achieve_sub_dz_main?state=0',
'num': 0
},
'shoukuan':{
'title': '收款',
'href': 'achieve_sub_dz_main?state=0',
'num': 0
},
'jiandu':{
'title': '监督',
'href': 'achieve_sub_dz_main?state=0',
'num': 0
}
},
tabsMain: [{
'title': '门店业绩排行榜',
'isLoadMain': false,
'data':[]
}]
},
created: function() {
var _this = this;
document.body.style.display = 'block';
_this.loadMain();
},
methods: {
loadMain: function() {
var _this = this;
this.userLevel = localStorage.getItem('level');
this.linkAchieveYwy = 'achieve_ywy?ywyId=' + localStorage.getItem('id');
}
},
computed: {
showHouseArr: function() {
return true;
}
}
});
});
\ No newline at end of file
...@@ -247,9 +247,6 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu ...@@ -247,9 +247,6 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
'start_time': _this.startDate, 'start_time': _this.startDate,
'end_time': _this.endDate, 'end_time': _this.endDate,
'agent_id': _this.ywyId, 'agent_id': _this.ywyId,
// 'start_time': '2018-03-23',
// 'end_time': '2018-03-23',
// 'agent_id': 1,
'is_case': _tabMainNum + 1 'is_case': _tabMainNum + 1
}; };
if(_this.initTabNumMain == 1 && _this.tabsMain[1].houseDataInit.houses_id != 'all') { if(_this.initTabNumMain == 1 && _this.tabsMain[1].houseDataInit.houses_id != 'all') {
...@@ -304,9 +301,6 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu ...@@ -304,9 +301,6 @@ require(['vue', 'css!style/achieve_tonglian_ac.css', 'jquery0325', 'common'], fu
'agent_id': _this.ywyId, 'agent_id': _this.ywyId,
'start_time': _this.startDate, 'start_time': _this.startDate,
'end_time': _this.endDate, 'end_time': _this.endDate,
// 'agent_id': 1,
// 'start_time': '2018-03-13',
// 'end_time': '2018-03-26',
'is_case': _this.initTabNumMain + 1, 'is_case': _this.initTabNumMain + 1,
'type': _this.tabsMain[_this.initTabNumMain].initTabNumSub + 1 'type': _this.tabsMain[_this.initTabNumMain].initTabNumSub + 1
}; };
......
...@@ -87,7 +87,7 @@ require(['vue', 'css!style/weekly.css', 'jquery0325', 'common'], function(Vue) { ...@@ -87,7 +87,7 @@ require(['vue', 'css!style/weekly.css', 'jquery0325', 'common'], function(Vue) {
'startdate': _this.dateStart, 'startdate': _this.dateStart,
'enddate': _this.dateEnd 'enddate': _this.dateEnd
})); }));
location.href = 'weekly_achieve_'+(_this.level==40?'mdzj':'dz')+'?weekly_data=' + urlEn; location.href = 'weekly_achieve_'+(_this.level==20?'dz':'mdzj')+'?weekly_data=' + urlEn;
} }
} }
}); });
......
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