| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { getList, getDetail, add, update, remove, enable } from "@/api/resource/oss" |
| | | import { getList, getDetail, add, update, remove, enable } from "@/ssoapi/resource/oss" |
| | | import { mapGetters } from "vuex" |
| | | import func from "@/util/func" |
| | | |
| | |
| | | width: 120, |
| | | searchLabelWidth: 46, |
| | | row: true, |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=oss", |
| | | dicUrl: "/ssoapi/blade-system/dict/dictionary?code=oss", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | type: 'upload', |
| | | listType: 'picture-img', |
| | | dataType: 'string', |
| | | action: '/api/blade-resource/oss/endpoint/put-file', |
| | | action: '/ssoapi/blade-resource/oss/endpoint/put-file', |
| | | propsHttp: { |
| | | res: 'data', |
| | | url: 'link', |
| | |
| | | }, |
| | | 'debugForm.code' () { |
| | | const column = this.findObject(this.debugOption.column, "backgroundUrl") |
| | | column.action = `/api/blade-resource/oss/endpoint/put-file?code=${this.debugForm.code}` |
| | | column.action = `/ssoapi/blade-resource/oss/endpoint/put-file?code=${this.debugForm.code}` |
| | | } |
| | | }, |
| | | computed: { |