| | |
| | | add, |
| | | getDept, |
| | | getDeptTree |
| | | } from "@/api/system/dept" |
| | | } from "@/ssoapi/system/dept" |
| | | import { mapGetters } from "vuex" |
| | | import website from '@/config/website' |
| | | |
| | |
| | | label: "所属租户", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | dicUrl: "/ssoapi/blade-system/tenant/select", |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | viewDisplay: false, |
| | |
| | | { |
| | | label: "机构类型", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=org_category", |
| | | dicUrl: "/ssoapi/blade-system/dict/dictionary?code=org_category", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | { |
| | | label: "机构性质", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict/dictionary?code=org_nature", |
| | | dicUrl: "/ssoapi/blade-system/dict/dictionary?code=org_nature", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | label: "管辖区域", |
| | | prop: "regionCode", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/region/tree?deptNature={{deptNature}}", |
| | | dicUrl: "/ssoapi/blade-system/region/tree?deptNature={{deptNature}}", |
| | | props: { |
| | | label: "name", |
| | | value: "id", |