| | |
| | | size="mini" |
| | | style="width:calc(100% - 40px);min-width: 120px;" |
| | | placeholder="请选择" |
| | | @change="tagChange" |
| | | > |
| | | <el-option |
| | | v-for="item in VideoPhotoData.tabs" |
| | |
| | | this.TreeDataPool.fetchTreeData(); |
| | | }, |
| | | mounted() { |
| | | debugger |
| | | //this.isShowUpload(); |
| | | console.log('search mounted') |
| | | this.$nextTick(() => { |
| | | let scrollContain = this.$refs.scrollContain |
| | | this.VideoPhotoData.scrollContainDom = scrollContain |
| | |
| | | "VideoPhotoData.selectWhites": function (value) { |
| | | this.blackAngWhite() |
| | | }, |
| | | tagValues: function (newValue, oldValue) { |
| | | if (newValue.length > 0) { |
| | | this.showType = "compare"; |
| | | } else { |
| | | this.showType = "search"; |
| | | } |
| | | if (newValue.length !== oldValue.length) { |
| | | console.log("tagValue中的刷新方法"); |
| | | // this.VideoPhotoData.querySearchList(); |
| | | this.setLoadSearch(this.VideoPhotoData.querySearchList()); |
| | | } |
| | | }, |
| | | "VideoPhotoData.uploadDiaplay": function (value) { |
| | | debugger |
| | | this.getHeight(); |
| | | console.log("upload的值是:", value) |
| | | if (value) { |
| | |
| | | }, |
| | | getUrlKey(name) { |
| | | return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ""])[1].replace(/\+/g, '%20')) || null |
| | | }, |
| | | tagChange(obj) { |
| | | console.log(obj) |
| | | if (obj.length > 0) { |
| | | this.showType = "compare"; |
| | | } else { |
| | | this.showType = "search"; |
| | | } |
| | | |
| | | this.VideoPhotoData.queryTabs = obj; |
| | | |
| | | this.setLoadSearch(this.VideoPhotoData.querySearchList()); |
| | | } |
| | | } |
| | | }; |