| | |
| | | |
| | | <script> |
| | | import { mapGetters } from "vuex" |
| | | import { add, getDetail, getList, remove, update } from "@/api/partyOrganization/partyOrganizationMember" |
| | | import { add, getDetail, getList, remove, update } from "@/ssoapi/partyOrganization/partyOrganizationMember" |
| | | import { validatePhone } from "@/util/validate" |
| | | import { getAllHouseHold, getDetatils as householdDetail } from "@/api/userHouse/list/houseHold" |
| | | import { getAllHouseHold, getDetatils as householdDetail } from "@/ssoapi/userHouse/list/houseHold" |
| | | import func from "@/util/func" |
| | | import website from "@/config/website" |
| | | const labelWidth = 100 |
| | |
| | | type: "select", |
| | | hide: true, |
| | | disabled: true, |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=sex", |
| | | dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=sex", |
| | | dataType: "number", |
| | | props: { |
| | | label: "dictValue", |
| | |
| | | labelWidth: labelWidth, |
| | | prop: "cardType", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=cardType", |
| | | dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=cardType", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey", |
| | |
| | | labelWidth: labelWidth, |
| | | prop: "partyMemberType", |
| | | type: "select", |
| | | dicUrl: "/api/blade-label/label/getLabelList?parentId=104", |
| | | dicUrl: "/ssoapi/blade-label/label/getLabelList?parentId=104", |
| | | props: { |
| | | label: "name", |
| | | value: "id", |
| | |
| | | labelWidth: labelWidth, |
| | | prop: "partyMemberPost", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=partyMemberPost", |
| | | dicUrl: "/ssoapi/blade-system/dict-biz/dictionary?code=partyMemberPost", |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey", |
| | |
| | | hide: true, |
| | | type: "upload", |
| | | listType: "picture-img", |
| | | action: "/api/blade-resource/oss/endpoint/put-file", |
| | | action: "/ssoapi/blade-resource/oss/endpoint/put-file", |
| | | propsHttp: { |
| | | res: "data", |
| | | name: 'name', |
| | |
| | | span: 24, |
| | | component: "AvueUeditor", |
| | | options: { |
| | | action: "/api/blade-resource/oss/endpoint/put-file", |
| | | action: "/ssoapi/blade-resource/oss/endpoint/put-file", |
| | | props: { |
| | | res: "data", |
| | | url: "link", |
| | |
| | | }, |
| | | |
| | | getUserList (param) { |
| | | let dicUrl = `/api/blade-household/household/getAllHouseHold?name={{key}}®ionCode=${this.row.areaId}` |
| | | let dicUrl = `/ssoapi/blade-household/household/getAllHouseHold?name={{key}}®ionCode=${this.row.areaId}` |
| | | const column = this.findObject(this.option.column, "householdId") |
| | | column.dicUrl = dicUrl |
| | | }, |