| | |
| | | </div> |
| | | </template> |
| | | <script> |
| | | import { parseTime, FILE_ORIGINAL_URL } from "@/utils/index"; |
| | | import { replace } from "core-js/fn/symbol"; |
| | | import { parseTime, FILE_ORIGINAL_PATH } from "@/utils/index"; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | }; |
| | | }, |
| | | props: ["filesPictureVo", "mycode"], |
| | | |
| | | created() { |
| | | this.imgSource = [] |
| | | const { |
| | | filesPictureVo: { imageResources: imgList }, |
| | | } = this; |
| | |
| | | urls.forEach((o) => { |
| | | o = o.replace("[", "").replace("]", ""); |
| | | if (o !== '') { |
| | | o = o.replace("http://111.1.140.92:28081/sccg/API/img?fileUrl=","") |
| | | item.url.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${o}`); |
| | | item.url.push(FILE_ORIGINAL_PATH + o); |
| | | } |
| | | }); |
| | | } |
| | |
| | | item.url = []; |
| | | urls.forEach((o) => { |
| | | o = o.replace("[", "").replace("]", ""); |
| | | item.url.push(`${FILE_ORIGINAL_URL}sccg/API/img?fileUrl=${o}`); |
| | | item.url.push(FILE_ORIGINAL_PATH + o); |
| | | }); |
| | | } |
| | | } else { |