提交 3ee370ef 编写于 作者: alex.zhang's avatar alex.zhang

fix bug

上级 fb24358a
......@@ -54,7 +54,7 @@ service.interceptors.request.use(config => {
}
if( process.env.BUILD_ENV == "development" ){ // 本地开发环境qgit
// console.log('环境变量>>>> ', process.env.BUILD_ENV);
config.headers['token'] = 'A73290A265634DA9B0CF2A09C5F2B7F8';
config.headers['token'] = 'B27DC440F5A04807AEA8E31B2B58EDF8';
// config.headers['token'] = '4559D8D1D615430991878A1264830A04';
// config.headers['token'] = 'B6A38C32790E4462BC451C335F65848E';
// config.headers['token'] = localStorage.getItem('storageToken')
......
......@@ -20,6 +20,7 @@
<el-form-item label="直播状态">
<el-select
v-model="searchForm.liveStatus"
id="statusSelector"
placeholder="请选择发布状态"
clearable
style="margin-left:20px;"
......@@ -203,6 +204,8 @@ export default {
// this.$router.push({
// path: '/role-manage',
// })
this.searchForm.liveName = ""
this.searchForm.liveStatus = ""
},
//新建直播
createLive() {
......@@ -212,20 +215,13 @@ export default {
},
//弹出直播链接弹窗
liveLink(row) {
// this.dialogLivelinkVisible = true;
this.dialogLivelinkVisible = true;
this.liveScope = row.liveScope;
this.liveStatus = row.liveStatus;
console.log("liveLink() : liveScope = " + this.liveScope + ", liveStatus = " + this.liveStatus)
let req = {
rtcId: row.rtcId
};
vm.GET("rtc/liveAdmin/url", req).then(res => {
vm.GET("rtc/liveAdmin/url/" + row.rtcId, "").then(res => {
if (res.code == "000000") {
let listData = [];
let obj = {
peopleNum: res.data.viewedPersonTime,
liveDuration: res.data.liveDuration
};
this.lecturerUrl = res.data.lecturerUrl
this.guestUrl = res.data.guestUrl
this.audienceUrl = res.data.audienceUrl
......@@ -245,10 +241,7 @@ export default {
countLive(row) {
this.dialogStatisticsVisible = true;
console.log("getStatisticsData() : this.circleId = " + this.circleId);
let req = {
rtcId: row.rtcId
};
vm.GET("rtc/liveAdmin/data", req).then(res => {
vm.GET("rtc/liveAdmin/data/" + row.rtcId, "").then(res => {
if (res.code == "000000") {
let listData = [];
let obj = {
......@@ -338,7 +331,7 @@ export default {
if (res.code == "000000") {
// console.log(res);
let listData = [];
for (let i = 0; i < res.data.length; i++) {
for (let i = 0; i < res.data.pageContents.length; i++) {
let obj = {
liveName: res.data.pageContents[i].name,
liveScope: res.data.pageContents[i].scope,
......
此差异已折叠。
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册