| | |
| | | ></video> |
| | | <img v-else |
| | | class="el-upload-list__item-thumbnail" |
| | | :src="file.url" |
| | | src="../../assets/images/deviceLis.png" |
| | | alt="" |
| | | style="width: 100%; height: 100%" |
| | | fit="cover"> |
| | |
| | | ></video> |
| | | <img v-else |
| | | class="el-upload-list__item-thumbnail" |
| | | :src="file.url" |
| | | src="../../assets/images/deviceLis.png" |
| | | alt="" |
| | | style="width: 100%; height: 100%" |
| | | fit="cover"> |
| | |
| | | id:undefined, |
| | | content: undefined, |
| | | happenTime: undefined, |
| | | fid:2007, |
| | | fid:2017, |
| | | cid:undefined, |
| | | url:'' |
| | | }, |
| | |
| | | id:undefined, |
| | | content: undefined, |
| | | happenTime: undefined, |
| | | fid:2007, |
| | | fid:2017, |
| | | cid:undefined, |
| | | url:''}, |
| | | // 弹出层标题 |
| | |
| | | id:undefined, |
| | | content: undefined, |
| | | happenTime: undefined, |
| | | fid:2007, |
| | | fid:2017, |
| | | cid:undefined, |
| | | url:'' |
| | | }, |
| | |
| | | |
| | | const cid = this.$route.params && this.$route.params.id; |
| | | |
| | | this.getList(2007,cid); |
| | | this.getList(2017,cid); |
| | | |
| | | }, |
| | | methods: { |
| | |
| | | formData.append("files", elem) |
| | | }) |
| | | const cid = this.$route.params && this.$route.params.id; |
| | | const fid =2007; |
| | | this.formDat.fid = 2007; |
| | | const fid =2017; |
| | | this.formDat.fid = 2017; |
| | | this.formDat.cid = parseInt(cid) ; |
| | | let _this = this |
| | | |
| | |
| | | submitDataScope6: function() { |
| | | |
| | | const cid = this.$route.params && this.$route.params.id; |
| | | const fid =2007; |
| | | this.formDat.fid = 2007; |
| | | const fid =2017; |
| | | this.formDat.fid = 2017; |
| | | this.formDat.cid = cid ; |
| | | // console.log(this.formDat,'formDatformDatformDatformDat') |
| | | // console.log(this.isEdit1) |
| | |
| | | this.handleRemoveFile(this.fileListOther[0]); |
| | | } |
| | | this.isEdit1 = false; |
| | | this.getList(2007,cid); |
| | | this.getList(2017,cid); |
| | | }).catch(error => { |
| | | console.log(error,'erroerro1'); |
| | | this.isEdit1 = false; |
| | |
| | | for(let i = 0; i < this.fileListOther.length; i++){ |
| | | this.handleRemoveFile(this.fileListOther[0]); |
| | | } |
| | | this.getList(2007,cid); |
| | | this.getList(2017,cid); |
| | | }).catch(error => { |
| | | console.log(error,'erroerro2'); |
| | | this.open = false; |
| | |
| | | this.queryParams.happenStartTime = this.dateRange.length > 0 && this.dateRange[0] |
| | | this.queryParams.happenEndTime = this.dateRange.length > 0 && this.dateRange[1] |
| | | |
| | | listNote(cid, 2007).then(response => { |
| | | listNote(cid, 2017).then(response => { |
| | | this.memoList = response.data; |
| | | // console.log(response,'formDataformDataformDataformDataformData') |
| | | this.loading = false; |
| | |
| | | }, |
| | | /** 搜索按钮操作 */ |
| | | handleQuery() { |
| | | const fid = 2007; |
| | | const fid = 2017; |
| | | const cid = this.$route.params && this.$route.params.id; |
| | | this.queryParams.pageNum = 1; |
| | | this.getList(fid,cid); |
| | |
| | | /** 提交按钮(数据权限) */ |
| | | submitDataScope: function() { |
| | | const cid = this.$route.params && this.$route.params.id; |
| | | const fid =2007; |
| | | const fid =2017; |
| | | let ul = this.fileList.map(function (elem){ |
| | | return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"") |
| | | }).join(",") |
| | | let uls = this.fileListOther.map(function (elem){ |
| | | return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"") |
| | | }).join(",") |
| | | this.formDat.fid = 2007; |
| | | this.formDat.fid = 2017; |
| | | this.formDat.cid = cid ; |
| | | this.formDat.url = ul+","+uls |
| | | |
| | |
| | | Object.keys(this.formDat).forEach(key => { |
| | | this.formDat[key] = ''; |
| | | }); |
| | | this.getList(2007,cid); |
| | | this.getList(2017,cid); |
| | | |
| | | }); |
| | | } |
| | |
| | | /** 删除按钮操作 */ |
| | | handleDelete(row) { |
| | | const id = row.id || this.id; |
| | | const fid = 2007; |
| | | const fid = 2017; |
| | | const cid = this.$route.params && this.$route.params.id; |
| | | this.$modal.confirm('是否确认删除所选数据项?').then(function() { |
| | | return delNote(id); |