Commit daa357ca authored by anxixi's avatar anxixi

直播

parent 232f2b43
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<el-button type="primary" round style="width:160px;" v-if="eventdata.activityState==1">{{$t("activityInfo.activityNoBegin")}}</el-button> <el-button type="primary" round style="width:160px;" v-if="eventdata.activityState==1">{{$t("activityInfo.activityNoBegin")}}</el-button>
</span> </span>
<span style="margin-left: 15px;" v-if="eventdata.hasLive == 1" @click="openeventlive(eventdata)"> <span style="margin-left: 15px;" v-if="eventdata.hasLive == 1" @click="openeventlive(eventdata)">
<el-button v-if="eventdata.baseLive.liveState==0" type="primary" round style="width: 130px;font-size: 14px;"> <el-button v-if="eventdata.baseLive.liveState==0" type="info" round style="width: 130px;font-size: 14px;">
<i class="iconfont icon-zhibo" style="font-size: 14px;"></i> <i class="iconfont icon-zhibo" style="font-size: 14px;"></i>
{{$t('activityInfo.liveNotStart')}} {{$t('activityInfo.liveNotStart')}}
</el-button> </el-button>
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
<!-- 快速登录--> <!-- 快速登录-->
<expertVisible ref="login" :registerType="64"></expertVisible> <expertVisible ref="login" @dataEvent="successlogin" :registerType="64"></expertVisible>
<signupbar :tabName="activeName" :detailInfo="eventdata" :secondStepInfo="secondStepInfo" @cancelVisible="cancelVisible" :applyVisible="applyVisible" v-if="applyVisible"></signupbar> <signupbar :tabName="activeName" :detailInfo="eventdata" :secondStepInfo="secondStepInfo" @cancelVisible="cancelVisible" :applyVisible="applyVisible" v-if="applyVisible"></signupbar>
</div> </div>
...@@ -125,6 +125,9 @@ ...@@ -125,6 +125,9 @@
}, },
methods:{ methods:{
successlogin(){
this.userInfo = this.publicFun.getCookie("userInfo") ? JSON.parse(this.Base64.decode(this.publicFun.getCookie("userInfo"))) : null;
},
//打开直播 //打开直播
openeventlive(row){ openeventlive(row){
if(row.baseLive.liveState != 0){ if(row.baseLive.liveState != 0){
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
<signupbar :detailInfo="detailInfo" :tabName="activeName" :secondStepInfo="secondStepInfo" @cancelVisible="cancelVisible" :applyVisible="applyVisible" v-if="applyVisible"></signupbar> <signupbar :detailInfo="detailInfo" :tabName="activeName" :secondStepInfo="secondStepInfo" @cancelVisible="cancelVisible" :applyVisible="applyVisible" v-if="applyVisible"></signupbar>
<!-- 快速登录--> <!-- 快速登录-->
<expertVisible ref="login" :registerType="64"></expertVisible> <expertVisible ref="login" @dataEvent="successlogin" :registerType="64"></expertVisible>
</div> </div>
</template> </template>
...@@ -98,6 +98,9 @@ ...@@ -98,6 +98,9 @@
}, },
methods:{ methods:{
successlogin(){
this.userInfo = this.publicFun.getCookie("userInfo") ? JSON.parse(this.Base64.decode(this.publicFun.getCookie("userInfo"))) : null;
},
// 分页导航 // 分页导航
handleCurrentChange(val) { handleCurrentChange(val) {
this.searchs.pageIndex = val; this.searchs.pageIndex = val;
......
...@@ -454,7 +454,7 @@ ...@@ -454,7 +454,7 @@
</div> </div>
</div> </div>
<expertVisible ref="login" :registerType="101" :reportId="reportId"></expertVisible> <expertVisible ref="login" @dataEvent="successlogin" :registerType="64" :reportId="reportId"></expertVisible>
<signupbar :detailInfo="detailInfo" :tabName="activeName" :secondStepInfo="secondStepInfo" @cancelVisible="cancelVisible" :applyVisible="applyVisible" v-if="applyVisible"></signupbar> <signupbar :detailInfo="detailInfo" :tabName="activeName" :secondStepInfo="secondStepInfo" @cancelVisible="cancelVisible" :applyVisible="applyVisible" v-if="applyVisible"></signupbar>
</div> </div>
...@@ -601,6 +601,9 @@ ...@@ -601,6 +601,9 @@
}; };
}, },
methods: { methods: {
successlogin(){
this.userInfo = this.publicFun.getCookie("userInfo") ? JSON.parse(this.Base64.decode(this.publicFun.getCookie("userInfo"))) : null;
},
//打开直播 //打开直播
openeventlive(row){ openeventlive(row){
if(row.baseLive.liveState != 0){ if(row.baseLive.liveState != 0){
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<el-button v-if="scope.row.channelState == 3" type="text" @click="urlclk(scope.row)"> <el-button v-if="scope.row.channelState == 3" type="text" @click="urlclk(scope.row)">
{{$t('pubactivities.share')}} {{$t('pubactivities.share')}}
</el-button> </el-button>
<el-button v-if="scope.row.hasLive == 1&&scope.row.channelState != 4" type="text" @click="messageclk(scope.row)"> <el-button v-if="scope.row.hasLive == 1&&scope.row.channelState != 4&&scope.row.liveState!=3" type="text" @click="messageclk(scope.row)">
{{$t('livedata.pushinformation')}} {{$t('livedata.pushinformation')}}
</el-button> </el-button>
<el-button v-if="scope.row.hasLive == 1&&scope.row.liveState!=3&&scope.row.channelState != 4" type="text" @click="getprocessLiveState(scope.row)"> <el-button v-if="scope.row.hasLive == 1&&scope.row.liveState!=3&&scope.row.channelState != 4" type="text" @click="getprocessLiveState(scope.row)">
......
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