| | |
| | | return { |
| | | cdi:"家庭大事记信息", |
| | | udi:"家庭大事记修改", |
| | | fot:[".jpg",".jif","png"], |
| | | // 数据范围选项 |
| | | fot:['.bmp','.jpg','.jpeg','.png','.tif','.gif','.pcx','.tga','.exif','.fpx', |
| | | '.svg','.psd','.cdr','.pcd','.dxf','.ufo','.eps','.ai','.aw','.WMF','.webp','.apng'], |
| | | |
| | | fileList:[ |
| | | ], |
| | | fileListOther:[ |
| | |
| | | this.btn= jd |
| | | this.dsb = !jd |
| | | this.isShow=true |
| | | document.title = "修改旅游经历详细信息"; |
| | | // document.title = "修改旅游经历详细信息"; |
| | | this.$route.meta.title = "修改旅游经历详细信息";//列表的名称 |
| | | } |
| | | else{ |
| | | document.title = "旅游经历详细信息"; |
| | | // document.title = "旅游经历详细信息"; |
| | | this.$route.meta.title = "旅游经历详细信息";//列表的名称 |
| | | this.isShow=true |
| | | this.btn = false; |
| | |
| | | let pth = paths[i].substr(paths[i].length - 4, paths[i].length) |
| | | |
| | | if (_this.fot.includes(pth) === true) |
| | | { |
| | | if(paths[i].includes("https")) |
| | | _this.fileList.push({name:paths[i],url: paths[i]}) |
| | | else |
| | | _this.fileList.push({name:paths[i],url: process.env.VUE_APP_BASE_TRUE_API+paths[i]}) |
| | | } |
| | | else { |
| | | // alert(paths[i]) |
| | | if(paths[i].includes("https")) |
| | | _this.fileListOther.push({name:paths[i],url: paths[i]}) |
| | | else{ |
| | | let nms = paths[i].split("\/") |
| | | let nm = nms[nms.length - 1] |
| | | _this.fileListOther.push({name:nm, url: process.env.VUE_APP_BASE_TRUE_API+paths[i]}) |
| | | } |
| | | } |
| | | } |
| | | } |