| | |
| | | open(title, target) { |
| | | this.title = title |
| | | this.visible = true |
| | | this.form.imgFullUrl = '' |
| | | // this.timeRange = ['14:34:55', '14:34:55'] |
| | | // debugger |
| | | this.timeRange = ['', ''] |
| | | // 新建 |
| | | if (target == null) { |
| | |
| | | for (const key in this.form) { |
| | | this.form[key] = target[key] |
| | | } |
| | | if(target.fileType == 1 && target.multifileList && target.multifileList.length > 0){ |
| | | this.$set(this.form, 'videoFullUrl', target.multifileList[0].fileurlFull) |
| | | this.$set(this.form, 'videourl', target.multifileList[0].fileurl) |
| | | } |
| | | this.timeRange = [target.startTime, target.endTime] |
| | | this.form.projectList = this.form.projectList ? target.projectList.map(item => item.projectId) : [] |
| | | this.form.sysList = this.form.sysList ? this.form.sysList.map(item => item.userId) : [] |
| | | // console.log(this.form.imgFullUrl); |
| | | console.log(this.form) |
| | | console.log(this.form.intervalTime) |
| | | console.log(target) |
| | | }) |
| | | }, |
| | | imgDel(i) { |