zrj
2024-06-07 b07a3a9dcb89f9785b7b001d2d26b167376d597e
src/views/resource/oss.vue
@@ -35,7 +35,7 @@
</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"
@@ -77,7 +77,7 @@
                        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"
@@ -202,7 +202,7 @@
                        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',
@@ -227,7 +227,7 @@
        },
        '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: {