| | |
| | | prop: "currentAddress", |
| | | hide: true, |
| | | }, |
| | | |
| | | { |
| | | label: "居住地行政区划", |
| | | prop: "homeAdcode", |
| | | hide: true, |
| | | type: 'select', |
| | | props: { |
| | | label: 'name', |
| | | value: 'code' |
| | | }, |
| | | dicUrl: `/api/blade-system/region/select?code=361102`, |
| | | }, |
| | | |
| | | { |
| | | label: "残疾证", |
| | | prop: "disabilityCert", |
| | | hide: true, |
| | | }, |
| | | { |
| | | hide: true, |
| | | width: 160, |
| | | label: "宗教信仰", |
| | | prop: "religiousBelief", |
| | | }, |
| | | { |
| | | hide: true, |
| | | label: "健康状况", |
| | | prop: "healthStatus", |
| | | type: "select", |
| | |
| | | }, |
| | | }, |
| | | { |
| | | hide: true, |
| | | width: 160, |
| | | label: "疾病名称", |
| | | prop: "diseaseName" |
| | | }, |
| | | |
| | | { |
| | | label: "户籍类型", |
| | | prop: "residentType", |
| | |
| | | value: "dictKey", |
| | | }, |
| | | }, |
| | | |
| | | { |
| | | hide: true, |
| | | parent: false, |
| | | width: 160, |
| | | label: "户籍地行政区划", |
| | | prop: "residentAdcode" |
| | | prop: "residentAdcode", |
| | | type: "tree", |
| | | props: { |
| | | label: 'name', |
| | | value: 'id' |
| | | }, |
| | | dicUrl: `/api/blade-system/region/getBaseTree`, |
| | | }, |
| | | |
| | | { |
| | | hide: true, |
| | | parent: false, |
| | | width: 160, |
| | | label: "籍贯地行政区划", |
| | | prop: "nativePlaceAdcode" |
| | | prop: "nativePlaceAdcode", |
| | | type: "tree", |
| | | props: { |
| | | label: 'name', |
| | | value: 'id' |
| | | }, |
| | | dicUrl: `/api/blade-system/region/getBaseTree`, |
| | | }, |
| | | |
| | | { |
| | | hide: true, |
| | | width: 160, |
| | | label: "外出详址", |
| | | prop: "goOutAddr" |
| | | }, |
| | | { |
| | | hide: true, |
| | | width: 160, |
| | | label: "外出去向", |
| | | prop: "goOutWhere" |
| | | }, |
| | | { |
| | | hide: true, |
| | | width: 160, |
| | | label: "外出时间", |
| | | prop: "goOutTime" |
| | | }, |
| | | { |
| | | hide: true, |
| | | width: 160, |
| | | label: "外出原因", |
| | | prop: "goOutReason" |
| | | }, |
| | | { |
| | | hide: true, |
| | | width: 160, |
| | | label: "职业类别", |
| | | prop: "occupation" |
| | | }, |
| | | { |
| | | hide: true, |
| | | width: 160, |
| | | label: "就职单位地址", |
| | | prop: "cmpyRegAddr" |
| | |
| | | } |
| | | }, |
| | | watch: { |
| | | 'form.source': { |
| | | handler (newData) { |
| | | let currentAddressColumn = this.findObject( |
| | | this.option.column, |
| | | 'currentAddress' |
| | | ) |
| | | |
| | | let homeAdcodeColumn = this.findObject( |
| | | this.option.column, |
| | | 'homeAdcode' |
| | | ) |
| | | |
| | | if (newData == 1) { |
| | | currentAddressColumn.disabled = false |
| | | homeAdcodeColumn.disabled = false |
| | | } else { |
| | | currentAddressColumn.disabled = true |
| | | homeAdcodeColumn.disabled = true |
| | | } |
| | | }, |
| | | immediate: true |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["userInfo", "permission"]), |