Commit 3c716607 authored by 黄媛媛's avatar 黄媛媛
parents 7b7d03fc f13685de
......@@ -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()
......@@ -156,7 +161,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>
......
......@@ -196,14 +196,14 @@
<div class="rb_top_row _r_mb5">
<p >{{$t('fnc.fkduixiang')}}
<el-select filterable v-model='msg.IsPublic' placeholder="付款类型" @change="IsPublicChange" class="w135 _border_b_1">
<el-option :label="$t('fnc.gongzhang')" :value='1' :key='1' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.sizhang')" :value='0' :key='0' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.rmbxianjin')" :value='2' :key='2' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.wbxianjin')" :value='3' :key='3' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.zjinchi')" :value='4' :key='4' v-if='msg.TemplateId===36 || msg.TemplateId===37 || msg.TemplateId===48'></el-option>
<el-option :label="$t('fnc.ptxnzhanghu')" :value='5' :key='5' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.djxnzhanghu')" :value='6' :key='6' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.szxiangdi')" :value='7' :key='7' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48'></el-option>
<el-option :label="$t('fnc.gongzhang')" :value='1' :key='1' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.sizhang')" :value='0' :key='0' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.rmbxianjin')" :value='2' :key='2' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.wbxianjin')" :value='3' :key='3' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.zjinchi')" :value='4' :key='4' v-if='msg.TemplateId===36 || msg.TemplateId===37 || msg.TemplateId===48 || msg.TemplateId===53'></el-option>
<el-option :label="$t('fnc.ptxnzhanghu')" :value='5' :key='5' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.djxnzhanghu')" :value='6' :key='6' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option :label="$t('fnc.szxiangdi')" :value='7' :key='7' v-if='msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==43 && msg.TemplateId!==48 && msg.TemplateId !==53'></el-option>
<el-option label="原路退款" :value='8' :key='8' v-if='msg.TemplateId===2 || msg.TemplateId===12 ||msg.TemplateId===61 || msg.TemplateId===62'></el-option>
<el-option label="地接预支款" :value='9' :key='9' v-if='msg.TemplateId===67'></el-option>
......
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)
}
},
}
......
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