| | |
| | | <el-tab-pane v-for="(item, index) in AutobiographyList" |
| | | :key='item.id' :label="item.ageBegin+'~'+item.ageEnd+'岁'+'('+item.term+')'"> |
| | | <div>{{ item.content }}</div> |
| | | <!-- <div v-if="item.term === '婴儿'"> {{item.content}}</div>--> |
| | | <!-- <div v-if="item.term === '幼儿'"> {{item.content}}</div>--> |
| | | <!-- <div v-if="item.term === '小学'"> {{item.content}}</div>--> |
| | | <!-- <div v-if="item.term === '初中'"> {{item.content}}</div>--> |
| | | <!-- <div v-if="item.term === '高中'"> {{item.content}}</div>--> |
| | | <!-- <div v-if="item.term === '大学'"> {{item.content}}</div>--> |
| | | <!-- <div v-if="item.term === '研究生'"> {{item.content}}</div>--> |
| | | <!-- <div v-if="item.term === '工作'"> {{item.content}}</div>--> |
| | | <!-- <div v-if="item.term === '结婚后'"> {{item.content}}</div>--> |
| | | <el-button size='mini' type="text" class="btn_edit" @click="editAutobiography(item)" style='position: absolute;right:10px;top:5px;'> |
| | | <el-button size='mini' type="text" class="btn_edit" @click="editAutobiography(item)" style='position: absolute;right:40px;top:5px;'> |
| | | <sapn v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"></sapn> |
| | | </el-button> |
| | | |
| | | <el-button size="mini" type="text" class="btn_del" @click="handleAutobiography(item)" style='position: absolute;right:10px;top:5px;'> |
| | | <sapn v-html="'\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0'"></sapn> |
| | | </el-button> |
| | | |
| | | </el-tab-pane> |
| | | </el-tabs></div> |
| | | </el-contain> |
| | |
| | | import axios from 'axios'; |
| | | |
| | | //在system/note/index.js中导入接口函数 --接好了 |
| | | import {getIndividualList, addIndividual, updateIndividual, delIndividual, |
| | | import { |
| | | getIndividualList, addIndividual, updateIndividual, delIndividual, |
| | | listExperience, addExperience, updateExperience, delExperience, |
| | | getIndividualRelation, addRelation, updateRelation, delRelation, |
| | | getCertificateList, addCertificate, updateCertificate, delCertificate, |
| | | getAbroadList, addAbroad, updateAbroad, delAbroad,listType, |
| | | getAutobiographyList, getAutobiographyTermList, addAutobiography,updateAutobiography, |
| | | getAutobiographyList, getAutobiographyTermList, addAutobiography, updateAutobiography,delAutobiography, |
| | | getCategory, |
| | | } from "@/api/self/index"; |
| | | import { delFamilyevent, uploadPic } from '../../api/bignote' |
| | |
| | | this.$modal.msgSuccess("删除成功"); |
| | | }).catch(() => {}); |
| | | }, |
| | | /** 删除个人自传按钮操作 */ |
| | | handleAutobiography(row) { |
| | | const Ids = row.id || this.ids; |
| | | this.$modal.confirm('是否确认删除数据项?').then(function() { |
| | | return delAutobiography(Ids); |
| | | }).then(() => { |
| | | this.getList(); |
| | | this.$modal.msgSuccess("删除成功"); |
| | | }).catch(() => {}); |
| | | }, |
| | | |
| | | /** 导出按钮操作 */ |
| | | handleExport() { |
| | |
| | | .btn_edit{ |
| | | background:center no-repeat url('../../assets/icons/edit.png') ; |
| | | } |
| | | |
| | | .btn_del{ |
| | | background:center no-repeat url('../../assets/images/删除2.png') ; |
| | | } |
| | | .button-container { |
| | | text-align: right; |
| | | display: flex; |
| | |
| | | flex-shrink: 0; |
| | | width: 30px; |
| | | height: 28px; |
| | | } |
| | | .button2 { |
| | | background: center no-repeat url('../../assets/icons/add1.png') ; |
| | | margin-left: 66vw; |
| | | } |
| | | .button4 { |
| | | background: center no-repeat url('../../assets/icons/add1.png') ; |
| | | margin-left: 71.5vw; |
| | | } |
| | | .button5 { |
| | | background:center no-repeat url('../../assets/icons/add1.png') ; |
| | | margin-left: 71vw; |
| | | } |
| | | .form{ |
| | | background:center/11% no-repeat url('../../assets/icons/form.png') ; |