| | |
| | | </div> |
| | | <!-- 项目实况--> |
| | | <div class="side-menu z-[100]" v-if="currentView === 'project'"> |
| | | <el-cascader popper-class="custom-dropdown" v-model="videoSrc" :options="liveList" @change="handleLiveChange" :props="{ value: 'id',label: 'label',children: 'JSCProjectMonitorList'}"/> |
| | | <el-cascader popper-class="custom-dropdown" v-model="liveValue" :options="liveList" @change="handleLiveChange" :props="{ value: 'id',label: 'label',children: 'JSCProjectMonitorList'}"/> |
| | | </div> |
| | | |
| | | |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | liveValue:[], |
| | | playerStatus: '未就绪', |
| | | errorMessage:'', |
| | | flvPlayer:null, |
| | |
| | | } |
| | | this.isLoading = false |
| | | this.liveList = result |
| | | this.liveValue = [result[0].id, result[0].JSCProjectMonitorList[0].id] |
| | | this.videoSrc = this.liveList[0].JSCProjectMonitorList[0].MonitorUrl |
| | | this.loadVideo(); |
| | | } |