| | |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item v-if="isUnflod" label="首要联系人" prop="is_first"> |
| | | <el-switch v-model="editConfig.infomation.is_first" active-color="#2E68DB" inactive-color="#AEB9CA"> |
| | | <el-switch |
| | | v-model="editConfig.infomation.is_first" |
| | | active-color="#2E68DB" |
| | | inactive-color="#AEB9CA" |
| | | active-value="是" |
| | | inactive-value="否" |
| | | > |
| | | </el-switch> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | this.editConfig.infomation.province_id === 0 ? "" : this.editConfig.infomation.province_id |
| | | this.editConfig.infomation.city_id = |
| | | this.editConfig.infomation.city_id === 0 ? "" : this.editConfig.infomation.city_id |
| | | getAllData() |
| | | .then((res) => { |
| | | console.log(res) |
| | | this.memberOptions = res.data.member |
| | | // this.countryOptions = res.data.country |
| | | this.provinceOptions = res.data.province |
| | | // this.cityOptions = res.data.city |
| | | // this.regionOptions = res.data.region |
| | | }) |
| | | .catch((err) => { |
| | | console.log(err) |
| | | }) |
| | | getAllData().then((res) => { |
| | | console.log(res) |
| | | this.memberOptions = res.data.member |
| | | this.provinceOptions = res.data.province |
| | | }) |
| | | }, |
| | | handleClose() { |
| | | this.editConfig.visible = false |