| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import { parseTime } from "@/utils/index"; |
| | | import { parseTime, FILE_ORIGINAL_URL } from "@/utils/index"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | const { |
| | | filesPictureVo: { imageResources: imgList }, |
| | | } = this; |
| | | |
| | | |
| | | let pic = this.filesPictureVo.imageResources; |
| | | pic.forEach((item) => { |
| | | item.url = item.url.split(","); |
| | | let urls = item.url.split(","); |
| | | item.url = []; |
| | | urls.forEach((o) => { |
| | | o = o.replace("[", "").replace("]", ""); |
| | | item.url.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${o}`); |
| | | }); |
| | | }); |
| | | debugger; |
| | | this.imgSource = pic; |
| | | // this.getEventInfo(this.mycode); |
| | | }, |
| | |
| | | this.dialogView = true; |
| | | let pic = res.data.filesPictureVo.imageResources; |
| | | pic.forEach((item) => { |
| | | item.url = item.url.split(","); |
| | | let urls = item.url.split(","); |
| | | item.url = []; |
| | | urls.forEach((o) => { |
| | | o = o.replace("[", "").replace("]", ""); |
| | | item.url.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${o}`); |
| | | }); |
| | | }); |
| | | debugger; |
| | | this.imgSource = pic; |
| | | }); |
| | | }, |