| | |
| | | </el-row> |
| | | <el-row :span="8"> |
| | | <el-form-item label="配偶" prop="nickName" label-width="50px" style="background: #FAD1E0;border-radius: 7px 7px 7px 7px;opacity: 1;"> |
| | | <el-input v-model="personInfos[0].nickName" placeholder="请输入配偶" clearable :style="{width: '100%'}" :disabled="dsb"> |
| | | </el-input> |
| | | <el-input v-if="personInfos[1]!=null" v-model="personInfos[1].nickName" placeholder="请输入配偶" clearable :style="{width: '100%'}" :disabled="dsb"> |
| | | <template slot="suffix"> |
| | | <a @click="handleCheck(personInfos[1].userId)" class="aft">查看详情</a> |
| | | </template> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-row> |
| | | |
| | |
| | | </el-col> |
| | | </div> |
| | | </el-container> |
| | | |
| | | <el-divider /> |
| | | <div> |
| | | <el-tabs type="border-card" |
| | |
| | | </div> |
| | | <el-divider style="top:120px;"/> |
| | | |
| | | <div id="building2" v-show="!isshow"> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | <div> |
| | |
| | | this.getList(id); |
| | | }, |
| | | methods:{ |
| | | /** 查看详细信息 */ |
| | | handleCheck(id){ |
| | | // const id = row.userId; |
| | | //alert(id) |
| | | // alert(id) |
| | | this.$router.push("/familymodel/jiagenwang/personInfo/" + id); |
| | | }, |
| | | |
| | | editAutography(data) |
| | | { |
| | | this.editMode = true; |
| | |
| | | let _this = this; |
| | | getRoot(id).then(response => { |
| | | console.log(response.data) |
| | | console.log("-----") |
| | | //这里是夫妻的信息,已经拿到了 |
| | | _this.personInfos = response.data |
| | | if(_this.personInfos[1]==null) |
| | | _this.isshow = false; |
| | | // if(_this.personInfos[1]==null) |
| | | // _this.isshow = false; |
| | | _this.personInfo1 = response.data[0] |
| | | //alert(this.personInfos[0].url) |
| | | |
| | |
| | | .box-card { |
| | | width:100%; |
| | | } |
| | | .aft{ |
| | | cursor: pointer; |
| | | color: red; |
| | | font-weight: bold; |
| | | } |
| | | </style> |