| | |
| | | <box-title class="m10" :classVal="9" :title="'房东信息'"></box-title> |
| | | <avue-form v-if="restShow" ref="restForm" :option="houseOwnerOption" v-model="placeForm"></avue-form> |
| | | |
| | | <box-title class="m10" :classVal="9" :title="'其他信息'"></box-title> |
| | | <avue-form v-if="restShow" ref="restForm" :option="optionDetail" v-model="placeForm"></avue-form> |
| | | <box-title class="m10" :classVal="9" :title="'学校信息'" v-if="schoolShow"></box-title> |
| | | <avue-form v-if="schoolShow" ref="restForm" :option="optionDetail" v-model="placeForm"></avue-form> |
| | | |
| | | <box-title class="m10" :classVal="9" :title="'从业人员'"></box-title> |
| | | <avue-crud :option="placeOption" :table-loading="loading" :data="placeExt" ref="crud" v-model="houseHoldForm" |
| | |
| | | roleBox: false, |
| | | baseShow: false, |
| | | restShow: false, |
| | | schoolShow: false, |
| | | |
| | | placeExt: [], |
| | | |
| | |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | |
| | | |
| | | |
| | | { |
| | | label: "负责人", |
| | | prop: "principal", |
| | |
| | | prop: "addressName", |
| | | span: 12 |
| | | }, |
| | | |
| | | // { |
| | | // width: 160, |
| | | // overHidden: true, |
| | | // slot: true, |
| | | // label: "标准地址", |
| | | // prop: "houseCodeBinds", |
| | | // span: 24, |
| | | // type: 'select', |
| | | // labelWidth:120, |
| | | // dataType: "object", |
| | | // remote: true, |
| | | // multiple: true, |
| | | // hide: true, |
| | | // display: false, |
| | | // filterable:true, |
| | | // dicUrl: `/api/blade-doorplateAddress/doorplateAddress/getPlaceList`, |
| | | // props: { |
| | | // label: 'addressName', |
| | | // value: 'addressCode', |
| | | // }, |
| | | // dicData: [], |
| | | // rules: [{ |
| | | // required: false, |
| | | // message: "请选择标准地址", |
| | | // trigger: "blur", |
| | | // }, ] |
| | | // }, |
| | | { |
| | | span: 24, |
| | | hide: true, |
| | |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | |
| | | |
| | | { |
| | | label: "营业执照", |
| | | prop: "imageUrls", |
| | |
| | | }, |
| | | ], |
| | | }, |
| | | |
| | | loading: true, |
| | | placeOption: { |
| | | menu: true, |
| | |
| | | label: "身份证号", |
| | | prop: "idCard", |
| | | }, |
| | | |
| | | { |
| | | labelWidth: 100, |
| | | label: "电话号码", |
| | |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | |
| | | { |
| | | labelWidth: 100, |
| | | label: "现居住地", |
| | |
| | | prop: "jobNature", |
| | | // hide: true |
| | | }, |
| | | |
| | | { |
| | | label: "从业人员照片", |
| | | prop: "employerImg", |
| | |
| | | type: "datetime", |
| | | format: "yyyy-MM-dd", |
| | | valueFormat: "yyyy-MM-dd", |
| | | // format: "yyyy-MM-dd hh:mm:ss", |
| | | // valueFormat: "yyyy-MM-dd hh:mm:ss", |
| | | rules: [{ |
| | | required: false, |
| | | message: "请选择离职时间", |
| | |
| | | } |
| | | ], |
| | | }, |
| | | |
| | | ] |
| | | }, |
| | | holdPage: { |
| | |
| | | slot: true, |
| | | overHidden: true, |
| | | rules: [{ |
| | | // validator: validatorPhone, |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | |
| | | userOption: { |
| | | submitBtn: false, |
| | | emptyBtn: false, |
| | | column: [ |
| | | |
| | | { |
| | | column: [{ |
| | | width: 96, |
| | | label: "电话", |
| | | prop: "legalTel", |
| | |
| | | trigger: "blur", |
| | | }, ], |
| | | }, |
| | | |
| | | |
| | | |
| | | ], |
| | | }, |
| | | |
| | | standardAddressList: [], //标准地址数据 |
| | | standardAddress: "", |
| | | standardAddressSearchKey: "" |
| | |
| | | this.roleBox = true |
| | | this.baseShow = false |
| | | this.restShow = false |
| | | this.schoolShow = false |
| | | this.form = {} |
| | | this.placeForm = {} |
| | | |
| | |
| | | .join(",") |
| | | } |
| | | |
| | | if ( |
| | | that.form.placePoiLabelVOList && |
| | | that.form.placePoiLabelVOList.length |
| | | ) { |
| | | if (that.form.placePoiLabelVOList && that.form.placePoiLabelVOList.length) { |
| | | let lebelTwo = that.form.placePoiLabelVOList.find((item) => { |
| | | return item.type == 2 |
| | | }) |
| | |
| | | |
| | | that.baseShow = true |
| | | const data = restInfo.data.data |
| | | |
| | | |
| | | |
| | | |
| | | if (data) { |
| | | let imageUrls = data.imageUrls |
| | |
| | | |
| | | } |
| | | } |
| | | |
| | | console.log("***********1**********", that.form) |
| | | if (that.form.label === '1601') { |
| | | that.schoolShow = true |
| | | } |
| | | that.restShow = true |
| | | }) |
| | | ) |
| | |
| | | this.$refs.restForm && this.$refs.restForm.resetForm() |
| | | this.baseShow = false |
| | | this.restShow = false |
| | | this.schoolShow = false |
| | | this.roleBox = false |
| | | }, |
| | | |
| | |
| | | justify-content: center; |
| | | } |
| | | } |
| | | </style> |
| | | </style> |