| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-col :span="6" > |
| | | <el-input size="medium" v-model="input" placeholder="搜索" clearable> |
| | | <i slot="prefix" class="el-input__icon el-icon-search"></i> |
| | | </el-input> |
| | | </el-col> |
| | | <br> |
| | | |
| | | <h1 style="font-size:21px;padding-top:30px">个人简历</h1> |
| | | <el-divider /> |
| | | <!-- 基本信息--> |
| | |
| | | <!-- ></el-option>--> |
| | | <!-- </el-select>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- <el-table--> |
| | | <!-- v-loading="loading" :data="individualList" @selection-change="handleSelectionChange"--> |
| | | <!-- >--> |
| | | <!-- <el-table-column prop="nickName" label="姓名" min-width="5%">--> |
| | | <!-- <template slot-scope="scope">--> |
| | | <!-- {{ scope.row.nickName }}--> |
| | | <!-- </template>--> |
| | | <!-- </el-table-column>--> |
| | | <!-- </el-table>--> |
| | | |
| | | |
| | | <el-container> |
| | | <el-col v-loading="loading" :data="individualList" @selection-change="handleSelectionChange"> |
| | | <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="70px" label-position="left"> |
| | | <el-col > |
| | | <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="70px" label-position="left" |
| | | v-loading="loading" :data="individualList" @selection-change="handleSelectionChange" > |
| | | <el-row :span="6"> |
| | | <el-form-item label="姓名" prop="nickName"> |
| | | <el-input v-model="formData.nickName" placeholder="" clearable :style="{width: '100%'}" :disabled="dsb"> |
| | |
| | | </el-form> |
| | | </el-col> |
| | | </el-container> |
| | | |
| | | <!-- --> |
| | | <!-- <el-container>--> |
| | | <!-- <el-table--> |
| | | <!-- v-loading="listLoading"--> |
| | | <!-- :data="individualList"--> |
| | | <!-- element-loading-text="数据加载中"--> |
| | | <!-- style="width: 100%"--> |
| | | <!-- />--> |
| | | <!-- <el-table-column >--> |
| | | <!-- <template slot-scope="props">--> |
| | | <!-- <el-form label-position="left" >--> |
| | | <!-- <el-form-item label="用户昵称">--> |
| | | <!-- <span>{{ props.row.nickName }}</span>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- <el-form-item label="联系方式">--> |
| | | <!-- <span>{{ props.row.oldName }}</span>--> |
| | | <!-- </el-form-item>--> |
| | | <!-- <el-form-item label="用户 ID">--> |
| | | <!-- <span>{{ props.row.idNum }}</span>--> |
| | | <!-- </el-form-item>--> |
| | | |
| | | <!-- </el-form>--> |
| | | <!-- </template>--> |
| | | <!-- </el-table-column>--> |
| | | <!-- </el-container>--> |
| | | </div> |
| | | <div style="padding-left:70px"> |
| | | <el-container> |
| | |
| | | </el-col> |
| | | </el-container> |
| | | </div> |
| | | |
| | | <div style="padding-left:70px"> |
| | | <el-container> |
| | | <el-col v-loading="loading" :data="individualList" @selection-change="handleSelectionChange"> |
| | |
| | | |
| | | |
| | | >编辑</el-button> |
| | | |
| | | <el-dropdown |
| | | size="mini" |
| | | @command="(command) => handleCommand(command, scope.row)" |
| | | v-hasPermi="['system:role:edit']"> |
| | | <el-button |
| | | size="mini" |
| | | type="text" |
| | | icon="el-icon-d-arrow-right" |
| | | @click="handleCheck(scope.row)" |
| | | >查看详情</el-button> |
| | | |
| | | </el-dropdown> |
| | | |
| | | <br> |
| | | <el-button type="primary" @click="submitForm">导入</el-button> |
| | | </el-row> |
| | |
| | | </el-row> |
| | | <el-row :span="15"> |
| | | <el-form-item label="单位及职务职称" prop="unit position "> |
| | | <el-input v-model="formData.unit,formData.position" placeholder="" clearable :style="{width: '100%'}" :disabled="dsb"> |
| | | <el-input v-model:unit="formData.unit" v-model:position="formData.position" placeholder="" clearable :style="{width: '100%'}" :disabled="dsb"> |
| | | <template slot-scope="scope"> |
| | | {{scope.row.unit}}/{{scope.row.position}} |
| | | </template> |
| | | </el-input> |
| | | </el-form-item> |
| | | </el-row> |
| | |
| | | </div> |
| | | </el-container> |
| | | |
| | | <!-- 主要学习及工作经历--> |
| | | <div style="padding-top:30px"> |
| | | <el-container> |
| | | <div style="width:100%"><h2 style="font-size:15px" >主要学习及工作经历</h2></div> |
| | | <el-button type="primary" icon="el-icon-edit" round></el-button> |
| | | <el-button type="primary" icon="el-icon-delete" round></el-button> |
| | | </el-container> |
| | | <el-collapse v-model="activeNames" @change="handleChange"> |
| | | <el-collapse-item title="主要学习及工作经历" name="1" > |
| | | <el-table v-loading="loading" :data="experienceList" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="25" align="center" /> |
| | | <el-table-column label="起止日期" prop="startDate" sortable width="300" align="center" /> |
| | | <el-table-column label="主要学习经历、工作单位及任职情况" prop="content" sortable width="350" align="center" /> |
| | | <el-table-column label="证明人" prop="witness" sortable width="300" align="center" /> |
| | | <!-- 操作--> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope" v-if="scope.row.roleId !== 1"> |
| | | <el-button |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <!-- 家庭成员及主要社会关系情况--> |
| | | <div style="padding-top:30px"> |
| | | <el-container> |
| | | <div style="width:100%"><h2 style="font-size:15px" >家庭成员及主要社会关系情况</h2></div> |
| | | <el-button type="primary" icon="el-icon-edit" round></el-button> |
| | | <el-button type="primary" icon="el-icon-delete" round></el-button> |
| | | </el-container> |
| | | </el-collapse-item> |
| | | <el-collapse-item title="家庭成员及主要社会关系情况" name="2" > |
| | | <el-table v-loading="loading" :data="relationList" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="25" align="center" /> |
| | | <el-table-column label="与本人关系" prop="relation" sortable width="260" align="center" /> |
| | | <el-table-column label="姓名" prop="nickName" sortable width="260" align="center" /> |
| | | <el-table-column label="单位及职务" prop="unit position" sortable width="260" align="center" /> |
| | | <el-table-column label="单位及职务" prop="unit position" sortable width="260" align="center"> |
| | | <template slot-scope="scope"> |
| | | {{scope.row.unit}}/{{scope.row.position}} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="政治面貌" prop="politicalOutlook" sortable width="260" align="center"/> |
| | | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope" v-if="scope.row.roleId !== 1"> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | |
| | | <!-- 移居国(境)情况--> |
| | | </el-collapse-item> |
| | | <el-collapse-item title="移居国(境)情况" name="3" > |
| | | <div> |
| | | <el-container> |
| | | <div style="width:100%"><h2 style="font-size:15px" >移居国(境)情况</h2></div> |
| | | </el-container> |
| | | |
| | | <div style="width:100%"> |
| | | <el-container> |
| | | <span style="font-size:15px" >是否拥有外籍、境外居留权、长期居留许可</span> |
| | | <el-radio v-model="formData.outStatus" label="1">是</el-radio> |
| | | <el-radio v-model="formData.outStatus" label="0">否</el-radio> |
| | | </el-container> |
| | | </div> |
| | | <div style="padding-top:20px"> |
| | | <el-container> |
| | | <el-form ref="elForm" :model="formData" :rules="rules" size="medium" label-width="80px" label-position="left"> |
| | | <el-form-item label="证件号码" prop="idNo"> |
| | | <el-input v-model="formData.idNo" placeholder="" clearable :disabled="dsb"> |
| | | </el-input> |
| | | <el-form> |
| | | <el-form-item label="是否拥有外籍、境外居留权、长期居留许可"> |
| | | <el-radio-group v-model="form.outStatus" style="margin-bottom: 0"> |
| | | <el-radio :label="true">是</el-radio> |
| | | <el-radio :label="false">否</el-radio> |
| | | </el-radio-group> |
| | | </el-form-item> |
| | | </el-form> |
| | | </el-container> |
| | | <div> |
| | | <el-table :data="individualList.idNo" border stripe> |
| | | <el-table-column label="证件号码" width="80" align="center"> |
| | | </el-table-column> |
| | | </el-table> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 持有出入境证件情况--> |
| | | <div style="padding-top:30px"> |
| | | <el-container> |
| | | <div style="width:100%"><h2 style="font-size:15px" >持有出入境证件情况</h2></div> |
| | | <el-button type="primary" icon="el-icon-edit" round></el-button> |
| | | <el-button type="primary" icon="el-icon-delete" round></el-button> |
| | | </el-container> |
| | | <el-table v-loading="loading" :data="experiencelList" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="25" align="center" /> |
| | | </el-collapse-item> |
| | | <el-collapse-item title="持有出入境证件情况" name="4" > |
| | | <el-table v-loading="loading" :data="certificateList" @selection-change="handleSelectionChange"> |
| | | <el-table-column label="证件名称" sortable width="280" align="center" /> |
| | | <el-table-column label="持有情况" sortable width="280" align="center" /> |
| | | <el-table-column label="证件号码" sortable width="280" align="center" /> |
| | | <el-table-column label="有效期" sortable width="280" align="center"> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | |
| | | </div> |
| | | |
| | | |
| | | <!-- 出国(境)情况--> |
| | | |
| | | <div style="padding-top:30px"> |
| | | <el-container> |
| | | <div style="width:100%"><h2 style="font-size:15px" >出国(境)情况</h2></div> |
| | | <el-button type="primary" icon="el-icon-edit" round></el-button> |
| | | <el-button type="primary" icon="el-icon-delete" round></el-button> |
| | | </el-container> |
| | | <el-table v-loading="loading" :data="experiencelList" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="25" align="center" /> |
| | | </el-collapse-item> |
| | | <el-collapse-item title="出国(境)情况" name="5" > |
| | | <el-table v-loading="loading" :data="AbroadList" @selection-change="handleSelectionChange"> |
| | | <el-table-column label="起止日期" prop="startDate" sortable width="350" align="center" /> |
| | | <el-table-column label="所到国家或者地区" prop="content" sortable width="350" align="center" /> |
| | | <el-table-column label="事由(旅游、走访、探亲、继承财产、其他)" prop="witness" sortable width="400" align="center" /> |
| | | |
| | | </el-table> |
| | | |
| | | </div> |
| | | |
| | | </el-collapse-item> |
| | | </el-collapse> |
| | | |
| | | <!-- 自传--> |
| | | <div style="padding-top:30px"> |
| | |
| | | <div style="width:100%"><h2 style="font-size:15px" >自传</h2></div> |
| | | </el-container> |
| | | <el-tabs type="border-card" v-model="activeName" @tab-click="handleClick"> |
| | | <el-tab-pane label="0~3岁(婴儿期)" name="first"></el-tab-pane> |
| | | <el-tab-pane label="6~12(小学)" name="second"></el-tab-pane> |
| | | <el-tab-pane label="12~15(初中)" name="third"></el-tab-pane> |
| | | <el-tab-pane label="15~18(高中)" name="fourth"></el-tab-pane> |
| | | <el-tab-pane label="0~3岁(婴儿期)" name="1" index="1"></el-tab-pane> |
| | | <el-tab-pane label="6~12(小学)" name="2"></el-tab-pane> |
| | | <el-tab-pane label="12~15(初中)" name="3"></el-tab-pane> |
| | | <el-tab-pane label="15~18(高中)" name="4"></el-tab-pane> |
| | | <el-tab-pane label="18~22(大学)" name="5"></el-tab-pane> |
| | | <el-tab-pane label="22~25(研究生)" name="6"></el-tab-pane> |
| | | <el-tab-pane label="26~ (工作)" name="7"></el-tab-pane> |
| | | <el-tab-pane label="?岁结婚" name="8"></el-tab-pane> |
| | | </el-tabs> |
| | | |
| | | <!-- <el-card class="box-card">--> |
| | | <!-- <div slot="header" class="clearfix">--> |
| | | <!-- <el-button type="primary" round>0~3岁(婴儿期)</el-button>--> |
| | | <!-- <el-button type="primary" round>6~12(小学)</el-button>--> |
| | | <!-- <el-button type="primary" round>12~15(初中)</el-button>--> |
| | | <!-- <el-button type="primary" round>15~18(高中)</el-button>--> |
| | | <!-- <el-button type="primary" round>18~22(大学)</el-button>--> |
| | | <!-- <el-button type="primary" round>22~25(研究生)</el-button>--> |
| | | <!-- <el-button type="primary" round>26~ (工作)</el-button>--> |
| | | <!-- <el-button type="primary" round>?岁结婚</el-button>--> |
| | | <!-- <el-button style="float: right; padding: 3px 0" type="text">操作按钮</el-button>--> |
| | | <!-- </div>--> |
| | | <!-- <div v-for="o in 4" :key="o" class="text item">--> |
| | | <!-- {{ }}--> |
| | | <!-- </div>--> |
| | | <!-- </el-card>--> |
| | | |
| | | |
| | | </div> |
| | |
| | | //在system/note/index.js中导入接口函数 --接好了 |
| | | import {getIndividualList, getIndividualRelation, delIndividual, updateIndividual, addIndividual,listExperience,updateExperience, |
| | | addExperience,delExperience} from "@/api/self/index"; |
| | | import { getAbroadList, getAutobiographyTermList, getCertificateList } from '../../api/self' |
| | | export default { |
| | | name: "show", |
| | | dicts: ['sys_normal_disable'], |
| | |
| | | experienceList: [], |
| | | //家庭成员关系数据 |
| | | relationList:[], |
| | | |
| | | //出入境证件情况 |
| | | certificateList:[], |
| | | //出国情况 |
| | | AbroadList:[], |
| | | //不同时段个人自传 |
| | | AutobiographyTermList:[], |
| | | //下拉实现 |
| | | activeNames:['1'], |
| | | // 弹出层标题 |
| | | title: "", |
| | | // 是否显示弹出层 |
| | |
| | | dsb:true, |
| | | btn:false, |
| | | //个人自传 |
| | | activeName: 'second', |
| | | activeName: '1', |
| | | |
| | | formDat: { |
| | | //个人基本信息 |
| | |
| | | fatherId:undefined, |
| | | momId:undefined, |
| | | birth:undefined, |
| | | familyId:undefined, |
| | | |
| | | //主要学习及工作经历 |
| | | id:undefined, |
| | |
| | | created() { |
| | | this.getList(); |
| | | // this.getCateInfor() |
| | | |
| | | }, |
| | | methods: { |
| | | // 取消按钮 |
| | | cancelData() { |
| | | this.open = false; |
| | | this.reset(); |
| | | }, |
| | | //下拉 |
| | | handleChange(val) { |
| | | console.log(val); |
| | | }, |
| | | //编辑按钮 |
| | | edit(row){ |
| | |
| | | //个人自传 |
| | | handleClick(tab, event) { |
| | | console.log(tab, event); |
| | | //根据不同时段的个人自传 |
| | | getAutobiographyTermList(this.queryParams).then(response => { |
| | | // alert(123) |
| | | // console.log(response.data) |
| | | this.AutobiographyTermList = response.data; |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | |
| | | /** 查询角色列表 */ |
| | |
| | | this.loading = true; |
| | | // console.log(this.queryParams) |
| | | // listProperty(this.addDateRange(this.queryParams, this.dateRange)).then(response => { |
| | | //个人经历 |
| | | listExperience(this.queryParams).then(response => { |
| | | alert(123) |
| | | console.log(response.data) |
| | | // alert(123) |
| | | // console.log(response.data) |
| | | this.experienceList = response.data; |
| | | |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | } |
| | | ); |
| | | //成员关系 |
| | | getIndividualRelation(this.queryParams).then(response => { |
| | | // alert(123) |
| | | // console.log(response.data) |
| | | this.relationList = response.data; |
| | | |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | } |
| | | ); |
| | | //个人信息 |
| | | getIndividualList(this.queryParams).then(response => { |
| | | // alert(123) |
| | | // console.log(response.data) |
| | | this.individualList = response.data; |
| | | |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | } |
| | | ); |
| | | //出入境证件情况 |
| | | getCertificateList(this.queryParams).then(response => { |
| | | // alert(123) |
| | | // console.log(response.data) |
| | | this.certificateList = response.data; |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | } |
| | | ); |
| | | //出国情况 |
| | | getAbroadList(this.queryParams).then(response => { |
| | | // alert(123) |
| | | // console.log(response.data) |
| | | this.AbroadList = response.data; |
| | | this.total = response.data.total; |
| | | this.loading = false; |
| | | } |
| | | ); |
| | | |
| | | |
| | | }, |
| | | |
| | | |
| | | |
| | | // 取消按钮 |
| | | cancel() { |
| | |
| | | } |
| | | }; |
| | | </script> |
| | | |