Browse Source

stash

tags/v1.0.0^2
zhangtao 2 years ago
parent
commit
0ba0f82bb3
4 changed files with 9 additions and 8 deletions
  1. +0
    -1
      src/views/question-manage/question-list/components/MapDrawer.vue
  2. +6
    -5
      src/views/task-manage/all-task/components/DemandDrawer.vue
  3. +2
    -2
      src/views/task-manage/all-task/tools/table.js
  4. +1
    -0
      src/views/task-manage/question/components/PositionDrawer.vue

+ 0
- 1
src/views/question-manage/question-list/components/MapDrawer.vue View File

}, },
setup(props, { emit }) { setup(props, { emit }) {
const data = reactive({ const data = reactive({

}) })


/* 获取抽屉的信息 */ /* 获取抽屉的信息 */

+ 6
- 5
src/views/task-manage/all-task/components/DemandDrawer.vue View File

:class="videoShow == 'back' ? 'video_show' : 'video_hidden'" :class="videoShow == 'back' ? 'video_show' : 'video_hidden'"
> >
<VideoPlayer :ref="videoRef" :options="getVideoOptions" @time-update="handleOriginTime" @video-status="handleOriginStatus" /> <VideoPlayer :ref="videoRef" :options="getVideoOptions" @time-update="handleOriginTime" @video-status="handleOriginStatus" />
<VideoPlayer :ref="aiVideoRef" :options="getVideoLiveOptions" @time-update="handleAiTime" @video-status="(data)=>videoStatus.aiStatus = data.status" />
<VideoPlayer :ref="aiVideoRef" :options="getVideoAiOptions" @time-update="handleAiTime" @video-status="(data)=>videoStatus.aiStatus = data.status" />

</div> </div>
</div> </div>
</div> </div>
disdance: null, disdance: null,
animating: null, animating: null,
detailData: { detailData: {
videoUrl: '',
aiVideoUrl: ''
videoUrl: 'http://vod.play.t-aaron.com/228e844c4d18476b82627a54ccf7f4ec/1796b49c9df546ceabe30cda01ebb792-59f1f8c925e0817f19545b7d28f4eea9-fd.mp4',
aiVideoUrl: 'http://vod.play.t-aaron.com/228e844c4d18476b82627a54ccf7f4ec/1796b49c9df546ceabe30cda01ebb792-59f1f8c925e0817f19545b7d28f4eea9-fd.mp4'
}, },
videoShow: 'back', // 视频展示开关 videoShow: 'back', // 视频展示开关
videoInfo: { videoInfo: {
} }
}) })
/* 获取AI视频地址 */ /* 获取AI视频地址 */
const getVideoLiveOptions = computed(() => {
const getVideoAiOptions = computed(() => {
return { return {
id: 'palyer-ai-on', id: 'palyer-ai-on',
width: '400px', width: '400px',
handleOriginTime, handleOriginTime,
handleAiTime, handleAiTime,
getVideoOptions, getVideoOptions,
getVideoLiveOptions,
getVideoAiOptions,
handleDrawerColse handleDrawerColse
} }
} }

+ 2
- 2
src/views/task-manage/all-task/tools/table.js View File

text: true, text: true,
onClick: handleTaskLive.bind(null, row) onClick: handleTaskLive.bind(null, row)
}, },
auth: 'basic_list',
show: row.status === 2
auth: 'basic_list'
// show: row.status === 2
}, },
{ {
label: '轨迹', label: '轨迹',

+ 1
- 0
src/views/task-manage/question/components/PositionDrawer.vue View File

}, },
setup(props, { emit }) { setup(props, { emit }) {
const data = reactive({ const data = reactive({
flag: props.visible,
problemList: [], problemList: [],
positionType: 'handle' positionType: 'handle'
}) })

Loading…
Cancel
Save