From 61aabe225d52a96cbf3a34656901e193607571dd Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@iotlink.com> Date: 星期一, 08 二月 2021 17:32:25 +0800 Subject: [PATCH] 更新视频预览图片的地址引用 --- src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue | 66 ++++++++++++++++---------------- 1 files changed, 33 insertions(+), 33 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue index e4b36d7..10c1de4 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue @@ -118,13 +118,13 @@ <div class="left"> <div> <el-select v-model="IsFollow" size="mini" @change="filterSearchData"> - <el-option value='' label="鍏ㄩ儴"></el-option> + <el-option value label="鍏ㄩ儴"></el-option> <el-option :value="false" label="鏈叧娉�"></el-option> <el-option :value="true" label="宸插叧娉�"></el-option> </el-select> </div> <div> - <el-select v-model="settle" size="mini" > + <el-select v-model="settle" size="mini"> <el-option value label="鍏ㄩ儴"></el-option> <el-option value="1" label="鏈鐞�"></el-option> <el-option value="2" label="宸插鐞�"></el-option> @@ -251,9 +251,9 @@ components: { VideoAnalyze }, - data () { + data() { return { - CLIP: 'http://192.168.20.113/', + CLIP: 'http://', keyword: '', IsFollow: '', searchTime: [this.$moment(new Date().getTime() - 3600 * 1000 * 24 * 5).format("YYYY-MM-DD HH:mm:ss"), this.$moment(new Date()).format("YYYY-MM-DD HH:mm:ss")], @@ -268,7 +268,7 @@ pickerOptions: { shortcuts: [{ text: '浠婂ぉ', - onClick (picker) { + onClick(picker) { const end = new Date(); const start = new Date(); start.setHours(0, 0, 0); @@ -276,7 +276,7 @@ } }, { text: '鏄ㄥぉ', - onClick (picker) { + onClick(picker) { const end = new Date(); const start = new Date(); start.setTime(start.getTime() - 3600 * 1000 * 24); @@ -287,7 +287,7 @@ } }, { text: '杩戜笁澶�', - onClick (picker) { + onClick(picker) { const end = new Date(); const start = new Date(); start.setTime(start.getTime() - 3600 * 1000 * 24 * 3); @@ -295,7 +295,7 @@ } }, { text: '杩戜竴鍛�', - onClick (picker) { + onClick(picker) { const end = new Date(); const start = new Date(); start.setTime(start.getTime() - 3600 * 1000 * 24 * 7); @@ -318,7 +318,7 @@ tabData: [ { id: 'ss1', no: 'SS4B115', frequency: '8084', time: '2020-09-21 20:45:08', driver: '寮犱笁', marks: ['鏈懠鍞ゃ�佸懠鍞や笉鏍囧噯', '瀛︿範鍙告満鏈簲绛�'], markType: 1, tags: ['杩涘嚭绔�', '鍙告満绂诲矖'], follow: true }, { id: 'ss2', no: 'SS4B115', frequency: '8084', time: '2020-09-21 20:45:08', driver: '寮犱笁', marks: [], markType: 0, tags: ['杩涘嚭绔�', '鍙告満绂诲矖'], follow: false } - ], + ], videoDialogVisible: false, hiddenDanger: 1, labelDialogVisible: false, @@ -327,36 +327,36 @@ }, watch: { checkedConfigs: { - handler (n, o) { + handler(n, o) { this.filterSearchData() }, deep: true } }, - mounted () { + mounted() { this.init(); }, methods: { - handleTabSizeChange (size) { + handleTabSizeChange(size) { this.tabPageSize = size; this.filterSearchData() }, - handleTableSizeChange (size) { + handleTableSizeChange(size) { this.tablePageSize = size; this.filterSearchData() }, - handleCurrentChange () { + handleCurrentChange() { this.filterSearchData() }, //浜岀骇鏌ヨ - filterSearchData () { + filterSearchData() { let _this = this; let isFollow = ''; - if(this.IsFollow === ''){ + if (this.IsFollow === '') { isFollow = '' - }else if(!!this.IsFollow){ + } else if (!!this.IsFollow) { isFollow = '1' - }else{ + } else { isFollow = '0' } let query = { @@ -392,7 +392,7 @@ }) }, //涓�绾ф煡璇� - init () { + init() { let _this = this; let query = { KeyWord: this.keyword, @@ -449,7 +449,7 @@ }) }, - toggleFollow (data) { + toggleFollow(data) { data.IsFollow = !data.IsFollow; this.updataVideo(data); if (data.IsFollow) { @@ -459,27 +459,27 @@ }); } }, - updataVideo (data) { + updataVideo(data) { let _this = this; updateVideoAnalyze(data).then(res => { //浜岀骇鏌ヨ }); }, - checkVideoDetail (data) { + checkVideoDetail(data) { let _this = this; _this.selectedVideo = data; _this.videoDialogVisible = true; }, - checkFollow () { + checkFollow() { }, - checkType (type) { + checkType(type) { this.showType = type; this.filterSearchData() }, - clearCheckedConfigs () { + clearCheckedConfigs() { this.checkedConfigs.forEach(config => { config.isShow = true; config.data.forEach(d => { @@ -489,7 +489,7 @@ this.checkedConfigs = []; this.showAdvance = true; }, - removeCheckedConfig (config) { + removeCheckedConfig(config) { config.isShow = true; if (config.IsAdvanced) { this.showAdvance = true; @@ -500,7 +500,7 @@ let index = this.checkedConfigs.findIndex(one => one.id == config.id); this.checkedConfigs.splice(index, 1); }, - checkOption (config, option) { + checkOption(config, option) { if (option) { option.isChecked = true; } @@ -517,20 +517,20 @@ }, - cancleMultCheck (config) { + cancleMultCheck(config) { config.isMultCheck = false; config.data.forEach(opt => { opt.isChecked = false; }); }, - handleSelect (key, keyPath) { + handleSelect(key, keyPath) { }, - showMore (config) { + showMore(config) { config.isShowMore = !config.isShowMore; this.$refs[`options${config.id}`][0].style.height = config.isShowMore ? this.$refs[`options${config.id}`][0].scrollHeight + 'px' : this.fixedOneLineHeight + 'px'; }, - toggleMultCheck (config) { + toggleMultCheck(config) { config.isMultCheck = !config.isMultCheck; this.optionalConfigs.forEach(conf => { if (conf.id == config.id) { @@ -539,7 +539,7 @@ conf.isMultCheck = false; }) }, - dataSearch () { + dataSearch() { console.log(this.checkedConfigs); this.$forceUpdate(); }, @@ -551,7 +551,7 @@ <style lang="scss"> .search-for-video-analyze { padding: 20px 30px; - .flex-box{ + .flex-box { display: flex; } .filter-area { -- Gitblit v1.8.0