From 262119fd58357f1d930d65a6e3252176d29b2ce5 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期四, 28 一月 2021 18:54:48 +0800 Subject: [PATCH] 朔黄人员管理页面调试 --- src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue | 33 ++++++++++++++++++++++----------- 1 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue index f352024..e4b36d7 100644 --- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue +++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue @@ -117,14 +117,14 @@ <div class="header-bar clearfix"> <div class="left"> <div> - <el-select v-model="watch" size="mini"> - <el-option value label="鍏ㄩ儴"></el-option> - <el-option value="1" label="鏈叧娉�"></el-option> - <el-option value="2" label="宸插叧娉�"></el-option> + <el-select v-model="IsFollow" size="mini" @change="filterSearchData"> + <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> @@ -255,6 +255,7 @@ return { CLIP: 'http://192.168.20.113/', 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")], curTabPage: 1, curTablePage: 1, @@ -308,7 +309,6 @@ highLevelConfigs: [], showAdvance: true, fixedOneLineHeight: 40, - watch: '', settle: '', showType: 'menu', tableData: [ @@ -318,8 +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, @@ -339,7 +338,6 @@ }, methods: { handleTabSizeChange (size) { - debugger this.tabPageSize = size; this.filterSearchData() }, @@ -353,13 +351,22 @@ //浜岀骇鏌ヨ filterSearchData () { let _this = this; + let isFollow = ''; + if(this.IsFollow === ''){ + isFollow = '' + }else if(!!this.IsFollow){ + isFollow = '1' + }else{ + isFollow = '0' + } let query = { KeyWord: this.keyword, StartDate: this.searchTime[0], EndDate: this.searchTime[1], PageIndex: this.showType == 'list' ? this.curTablePage : this.showType == 'list', PageSize: this.showType == 'list' ? this.tablePageSize : this.tabPageSize, - IsDetail: this.showType == 'list' + IsDetail: this.showType == 'list', + IsFollow: isFollow }; let filterQuerys = []; this.checkedConfigs.forEach(config => { @@ -393,7 +400,8 @@ EndDate: this.searchTime[1], PageIndex: this.showType == 'list' ? this.curTablePage : this.showType == 'list', PageSize: this.showType == 'list' ? this.tablePageSize : this.tabPageSize, - IsDetail: this.showType == 'list' + IsDetail: this.showType == 'list', + IsFollow: this.IsFollow }; this.optionalConfigs = []; this.highLevelConfigs = []; @@ -543,6 +551,9 @@ <style lang="scss"> .search-for-video-analyze { padding: 20px 30px; + .flex-box{ + display: flex; + } .filter-area { .input-area { display: flex; -- Gitblit v1.8.0