Commit ca9b491a authored by 罗超's avatar 罗超

销售六流程

parent c20c4fc4
......@@ -10,9 +10,9 @@
</viewer>
<chosen-open-mode v-if="haveOpenMode" :settingSys="settingSys"></chosen-open-mode>
<!-- -->
<!-- <div class="showMyCareer">
<mycareer></mycareer>
</div> -->
<div class="showMyCareer" v-if="showCareer">
<mycareer :show-close="true" :uid="careerId" @close="closeCareer"></mycareer>
</div>
</div>
</template>
......@@ -64,7 +64,9 @@ export default {
haveOpenMode:false,
settingSys: false,
timer:null,
useTime:0
useTime:0,
showCareer:false,
careerId:0
// sessionStorage.getItem("mazip") ? sessionStorage.getItem("mazip") : true
}
},
......@@ -72,6 +74,9 @@ export default {
inited (viewer){
this.$viewer = viewer
},
closeCareer(){
this.showCareer=false
},
show (data) {
this.$set(this.images,data)
this.$viewer.show()
......@@ -151,7 +156,14 @@ export default {
this.MsgBus.$on('imgprevclear',content=>{
this.images=[]
})
this.MsgBus.$on('showCareer',empId=>{
this.careerId=empId
this.showCareer=true
})
this.MsgBus.$on('hideCareer',content=>{
this.careerId=0
this.showCareer=false
})
}
}
</script>
......
This diff is collapsed.
......@@ -45,7 +45,7 @@
<i class="iconfont icon-right1"></i>
</span>
</div>
<div class="item">
<div class="item" @click="changeBoard(2)">
<i class="iconfont icon-guanjun"></i>
<span class="n-name">冠军之路</span>
<span class="fang">
......@@ -100,12 +100,17 @@
</div>
<personalIndex v-if="boardIndex==0"></personalIndex>
<dailyAnalysis v-if="boardIndex==1"></dailyAnalysis>
<div class="m-box" v-if="boardIndex==2" :style="{'left':(300*zoomH)+'px'}">
<personnelManagement></personnelManagement>
</div>
</div>
</template>
<script>
import personalIndex from './personalCenter/index'
import dailyAnalysis from './visualization/dailyAnalysis'
import personnelManagement from './activity/PersonnelManagement'
export default {
data() {
return {
......@@ -119,7 +124,8 @@ export default {
},
components: {
personalIndex,
dailyAnalysis
dailyAnalysis,
personnelManagement
},
mounted() {
this.u = this.getLocalStorage();
......@@ -192,7 +198,11 @@ export default {
right: 0;
background: rgba(242, 243, 248, 1);
overflow-y: auto;
padding-bottom: 20px;
/* padding-bottom: 20px; */
}
.personal .m-box .personTable{
margin: 0px;
width: 100%;
}
.personal .u-box .h-info-box {
margin: 15px;
......
......@@ -176,7 +176,7 @@
<div class="r-box">
<div class="sell">
<div class="title">本周销冠</div>
<i class="more iconfont icon-gengduo1 white" title="查看往期排行"></i>
<i class="more iconfont icon-gengduo1 white" title="查看往期排行" @click="openRank"></i>
<sell :champion="result.orderRankList"></sell>
</div>
<div class="todayOpera">
......@@ -280,6 +280,10 @@ export default {
const { href } = this.$router.resolve({ path: "/Maninfo" });
window.open(href, "_blank");
},
openRank(){
const { href } = this.$router.resolve({ path: "/saleRnkBefore"});
window.open(href, "_blank");
},
getList(){
let msg={
pageIndex:1,
......
......@@ -47,12 +47,11 @@ export default {
}
},
mounted() {
console.log(this.champion)
},
methods: {
openRank(){
const { href } = this.$router.resolve({ path: "/saleRnkBefore"});
window.open(href, "_blank");
this.MsgBus.$emit("showCareer",this.champion.employeeId)
}
},
}
......
......@@ -120,7 +120,7 @@ export default {
let locationName = window.location.hostname;
domainUrl = "http://192.168.2.214:8082";
domainUrl = "http://192.168.2.65:8025";
domainUrl = "http://192.168.2.16:8083";
domainUrl = "http://localhost:13491";
if (locationName.indexOf('oytour') !== -1) {
domainUrl = "http://reborn.oytour.com";
} else if (locationName.indexOf('viitto') !== -1) {
......
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