| | |
| | | <u--input border="none" v-model="jwd" placeholder="请选择场所位置" disabled
|
| | | disabledColor="#ffffff"></u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" label="标准地址" required prop="houseCodeBinds"
|
| | | <!-- <u-form-item class="form-item" label="标准地址" required prop="houseCodeBinds"
|
| | | @click="isShowPopup = true">
|
| | | <u--input v-if="!addressNames.length" border="none" disabled disabledColor="#ffffff"
|
| | | placeholder="请选择标准地址">
|
| | | </u--input>
|
| | | <!-- <u-textarea v-if="addressNames" border="none" :disabled="true" disabledColor="#ffffff"
|
| | | v-model="addressNames" placeholder="请选择标准地址">
|
| | | </u-textarea> -->
|
| | | |
| | | <view v-if="addressNames.length">
|
| | | <view class="f-28" v-for="i in addressNames">
|
| | | {{i}}
|
| | | </view>
|
| | | </view>
|
| | | <u-icon slot="right" name="arrow-right"></u-icon>
|
| | | </u-form-item>
|
| | | </u-form-item> -->
|
| | | <u-form-item label="场所名称" required class="form-item" prop="placeName">
|
| | | <u--input border="none" v-model="form.placeName" placeholder="请填写场所名称"></u--input>
|
| | | </u-form-item>
|
| | |
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="身份证号:" prop="landlordIdCard">
|
| | | <u--input border="none" v-model="form.landlordIdCard" placeholder="请输入">
|
| | | <u--input border="none" type="idcard" v-model="form.landlordIdCard" placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | |
| | | </u-form-item>
|
| | | <u-form-item class="form-item" labelWidth="100" :required="isRequired" :disabled="isDisabled"
|
| | | label="微信号:" prop="landlordWxAccount">
|
| | | <u--input border="none" type="idcard" v-model="form.landlordWxAccount" placeholder="请输入">
|
| | | <u--input border="none" v-model="form.landlordWxAccount" placeholder="请输入">
|
| | | </u--input>
|
| | | </u-form-item>
|
| | |
|
| | |
| | | legalAge: "",
|
| | | legalJobNature: "",
|
| | | legalRegisteredAddress: "",
|
| | | legalTempAddress: ""
|
| | | legalTempAddress: "",
|
| | | images: [],
|
| | | landlordName: "",
|
| | | landlordPhone: "",
|
| | | landlordIdCard: "",
|
| | | landlordWxAccount: ""
|
| | | },
|
| | | rules: {
|
| | | "location": {
|
| | |
| | | placePractitioner.forEach((item, index) => {
|
| | | this.$nextTick(() => {
|
| | | if (item.ethnicity) {
|
| | | let obj = this.$getIndex(this.$refs.formItemRef[index]
|
| | | .nationTypeList, item.ethnicity, "value", "name")
|
| | | let obj = this.$getIndex(this.nationTypeList, item.ethnicity,
|
| | | "value", "name")
|
| | | this.$refs.formItemRef[index].nationValue = obj.name;
|
| | | this.$refs.formItemRef[index].nationTypeIndex = obj.index;
|
| | | }
|
| | |
|
| | | if (item.gender) {
|
| | | let obj = this.$getIndex(this.$refs.formItemRef[index]
|
| | | .gender, item.gender, "value", "name")
|
| | | let obj = this.$getIndex(this.$refs.formItemRef[index].gender, item
|
| | | .gender, "value", "name")
|
| | | this.$refs.formItemRef[index].genderValue = obj.name;
|
| | | this.$refs.formItemRef[index].genderIndex = obj.index;
|
| | | }
|
| | | if (item.employerImg) {
|
| | | this.$refs.formItemRef[index].employerImg = this.$setImageUrl(item
|
| | | .employerImg, 2)
|
| | |
|
| | |
|
| | | console.log("employerImg===>", this.$setImageUrl(item
|
| | | .employerImg, 2))
|
| | | // console.log(this.$refs.formItemRef[index].employerImg);
|
| | | } else {
|
| | | this.$refs.formItemRef[index].employerImg = []
|
| | | }
|
| | |
|
| | | console.log(this.$refs.formItemRef[index].form);
|
| | |
|
| | | this.$refs.formItemRef[index].form = item
|
| | | })
|
| | | })
|
| | |
|
| | | // this.$refs.formItemRef.forEach((item, index) => {
|
| | | // item.form = placePractitioner[index]
|
| | | // })
|
| | | })
|
| | | },
|
| | |
|
| | |
| | | if (this.personNum > 0) {
|
| | | const placePractitioner = []
|
| | | this.$refs.formItemRef.forEach(item => {
|
| | | console.log("item====>", item);
|
| | | item.form.placeId = this.form.placeId
|
| | | // if (item.form.employerImg == null) {
|
| | | // item.form.employerImg = "";
|
| | | // } else {
|
| | | // item.form.employerImg = this.$formattingUrls(item.form.employerImg);
|
| | | // }
|
| | | item.form.employerImg = "";
|
| | | placePractitioner.push(item.form)
|
| | | })
|
| | | this.form.placePractitioner = placePractitioner
|
| | |
| | |
|
| | | pushPage() {
|
| | | this.$u.func.globalNavigator(`/subPackage/workbench/views/cshw?placeId=${this.form.placeId}`)
|
| | | }
|
| | | },
|
| | |
|
| | | addPerson() {
|
| | | this.personNum++
|
| | | },
|
| | | }
|
| | | }
|
| | | </script>
|