zrj
2024-06-07 b07a3a9dcb89f9785b7b001d2d26b167376d597e
src/views/tool/code.vue
@@ -24,8 +24,8 @@
</template>
<script>
import { getList, getCode, build, remove, add, update, copy } from "@/api/tool/code"
import { getDetail as modelDetail, prototypeDetail } from "@/api/tool/model"
import { getList, getCode, build, remove, add, update, copy } from "@/ssoapi/tool/code"
import { getDetail as modelDetail, prototypeDetail } from "@/ssoapi/tool/model"
import { templateDic } from "@/const/tool/model"
import { validatenull } from "@/util/validate"
import { mapGetters } from "vuex"
@@ -109,7 +109,7 @@
                                search: true,
                                span: 24,
                                type: "select",
                                dicUrl: "/api/blade-develop/model/select",
                                dicUrl: "/ssoapi/blade-develop/model/select",
                                props: {
                                    label: "modelName",
                                    value: "id"
@@ -212,7 +212,7 @@
                                label: "子表模型",
                                prop: "subModelId",
                                type: "select",
                                dicUrl: "/api/blade-develop/model/select",
                                dicUrl: "/ssoapi/blade-develop/model/select",
                                props: {
                                    label: "modelName",
                                    value: "id"
@@ -274,7 +274,7 @@
                                labelTip: '配置是否使用BladeX封装的BaseService解锁更多功能',
                                prop: "baseMode",
                                type: 'radio',
                                dicUrl: "/api/blade-system/dict/dictionary?code=yes_no",
                                dicUrl: "/ssoapi/blade-system/dict/dictionary?code=yes_no",
                                props: {
                                    label: "dictValue",
                                    value: "dictKey"
@@ -293,7 +293,7 @@
                                labelTip: '配置是否使用Wrapper包装器来拓展Controller返回列表的字段',
                                prop: "wrapMode",
                                type: 'radio',
                                dicUrl: "/api/blade-system/dict/dictionary?code=yes_no",
                                dicUrl: "/ssoapi/blade-system/dict/dictionary?code=yes_no",
                                props: {
                                    label: "dictValue",
                                    value: "dictKey"
@@ -312,7 +312,7 @@
                                labelTip: '配置是否使用Feign远程调用',
                                prop: "feignMode",
                                type: 'radio',
                                dicUrl: "/api/blade-system/dict/dictionary?code=yes_no",
                                dicUrl: "/ssoapi/blade-system/dict/dictionary?code=yes_no",
                                props: {
                                    label: "dictValue",
                                    value: "dictKey"