Commit 0518ff25 authored by anxixi's avatar anxixi

手机版对接中英文修改

parent bd591506
......@@ -15,8 +15,10 @@
<project-list v-if="addprojecttype==1" ref="project"></project-list>
<business-list v-if="addprojecttype==2" :isMargin="true" :isVisible="isVisible" :is-which="2" ref="business"></business-list>
<div v-if="!publicFun.isgetUserRoleFunc(2)&&!publicFun.isgetUserRoleFunc(5)" style="position: absolute;right: 0px;bottom: 1.4rem;">
<p><img src="../../assets/img/pushproject.png" alt="" style="width: 1.26rem;" @click="$router.push({path:'/projectrelease',query:{}})"></p>
<p><img src="../../assets/img/pushbusiness.png" alt="" style="width: 1.26rem;" @click="$router.push({path:'/addPhoneRequire',query:{}})"></p>
<p v-if="publicFun.getCookie('language') == 'en'"><img src="../../assets/img/pushprojecten.png" alt="" style="width: 1.26rem;" @click="$router.push({path:'/projectrelease',query:{}})"></p>
<p v-if="publicFun.getCookie('language') == 'en'"><img src="../../assets/img/pushbusinessen.png" alt="" style="width: 1.26rem;" @click="$router.push({path:'/addPhoneRequire',query:{}})"></p>
<p v-if="publicFun.getCookie('language') != 'en'"><img src="../../assets/img/pushproject.png" alt="" style="width: 1.26rem;" @click="$router.push({path:'/projectrelease',query:{}})"></p>
<p v-if="publicFun.getCookie('language') != 'en'"><img src="../../assets/img/pushbusiness.png" alt="" style="width: 1.26rem;" @click="$router.push({path:'/addPhoneRequire',query:{}})"></p>
</div>
</div>
</div>
......@@ -86,7 +88,7 @@
background: #FFFFFF;
z-index: 1;
>ul{
width: 50%;
width: 56%;
margin: .1rem auto 0;
display: flex;
font-weight: bold;
......
......@@ -37,7 +37,7 @@
</el-table-column>
<el-table-column v-if="$route.query.type==2" :label="$t('listjson.action')" width="100" align='center'>
<template slot-scope="scope">
<el-button type="text" @click="$router.push({path:'/applydetail',query:{enterId:scope.row.enterId,channelTitle:$route.query.channelTitle,type:$route.query.type,channelId:$route.query.channelId}})">
<el-button type="text" @click="$router.push({path:'/applydetail',query:{enterId:scope.row.enterId,channelTitle:$route.query.channelTitle,type:$route.query.type,channelId:$route.query.channelId,isstate:isstate}})">
{{$t('listjson.seeaction')}}
</el-button>
</template>
......@@ -80,6 +80,7 @@
channelTitle:this.$route.query.channelTitle,
title:'',
isroute:'',
isstate:this.$route.query.isstate,
}
},
beforeRouteEnter(to, from, next) {
......@@ -87,10 +88,20 @@
vm.pathfrom = from.path;
if(vm.pathfrom == '/activityaudit'){
vm.title = '活动审核';
}else{
vm.isroute = '/activityaudit';
vm.isstate = false;
}else if(vm.pathfrom == '/proactivity'){
vm.title = '活动';
vm.isroute = '/proactivity';
vm.isstate = true;
}else if(vm.pathfrom == '/applydetail'&&from.query.isstate == false){
vm.title = '活动审核';
vm.isroute = '/activityaudit';
}else if(vm.pathfrom == '/applydetail'&&from.query.isstate == false){
vm.title = '活动';
vm.isroute = '/proactivity';
}
vm.isroute = vm.pathfrom;
})
},
methods: {
......
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