| | |
| | | <div class="dispatch"> |
| | | <avue-tabs :option="optionTABS" @change="handleChangeTABS"></avue-tabs> |
| | | <span v-if="typeTABS.prop === 'tab1'" class="a-f-box" |
| | | style="display:block;width: 1100px;margin: 0 auto;padding: 0 20px;position: relative;background-color: #fff;" |
| | | style="display:block;width: 1000px;margin: 0 auto;padding: 0 20px;position: relative;background-color: #fff;" |
| | | id="avuePageEle"> |
| | | <avue-form ref="form" v-model="obj0" :option="option0"> </avue-form> |
| | | <avue-form ref="form" v-model="obj1" :option="option0"> </avue-form> |
| | | </span> |
| | | <span v-if="typeTABS.prop === 'tab1'" class="a-f-box-btn"> |
| | | <div class="printBtn"> |
| | | <el-button type="primary" @click="printBAInfo">打印</el-button> |
| | | </div> |
| | |
| | | getER, |
| | | } from "@/api/performance/performance" |
| | | |
| | | import { getUser, getUserPractitionersInfo } from "@/api/system/user" |
| | | |
| | | // import vueQr from "vue-qr"; |
| | | import securityCertificate from "./securityCertificate.vue" |
| | | import baoanz from "./baoanz.vue" |
| | |
| | | obj0: { |
| | | title: "我是头部标题", |
| | | }, |
| | | obj1: {}, |
| | | option0: { |
| | | emptyBtn: false, |
| | | editBtn: false, |
| | |
| | | mounted () { |
| | | this.typeTABS = this.optionTABS.column[0] |
| | | var data = JSON.parse(this.$route.query.row) |
| | | getUser(data.id).then(res => { |
| | | let form = res.data.data |
| | | var d = { |
| | | education1: res.data.data.education |
| | | } |
| | | form = { |
| | | ...form, |
| | | ...d |
| | | } |
| | | if (form.userDetail) { |
| | | form.userDetailId = form.userDetail.id |
| | | form.marriageStatus = form.userDetail.marriageStatus == -1 ? '' : form.userDetail.marriageStatus |
| | | form.signLevel = form.userDetail.signLevel == -1 ? '' : form.userDetail.signLevel |
| | | form.permanentResidenceAddress = form.userDetail.permanentResidenceAddress |
| | | form.dwellAddress = form.userDetail.dwellAddress |
| | | form.memberOfFamily = form.userDetail.memberOfFamily |
| | | form.educationExperience = form.userDetail.educationExperience |
| | | form.workExperience = form.userDetail.workExperience |
| | | form.healthCertificateUrl = form.userDetail.healthCertificateUrl |
| | | form.noCriminalRecordProveUrl = form.userDetail.noCriminalRecordProveUrl |
| | | form.acceptancePoliceUnit = form.userDetail.acceptancePoliceUnit |
| | | form.acceptancePerson = form.userDetail.acceptancePerson |
| | | form.acceptanceTime = form.userDetail.acceptanceTime |
| | | form.unitName = form.userDetail.unitName |
| | | } |
| | | // this.from["education1"] = res.data.data.education; |
| | | if (form.hasOwnProperty("deptId")) { |
| | | form.deptId = form.deptId |
| | | } |
| | | if (form.hasOwnProperty("roleId")) { |
| | | form.roleId = form.roleId.split(",") |
| | | } |
| | | // if (form.hasOwnProperty("postId")) { |
| | | // form.postId = form.postId.split(","); |
| | | // } |
| | | var userInfo = res.data.data |
| | | //获取用户从业信息 |
| | | getUserPractitionersInfo(data.id).then(res1 => { |
| | | form.UserPractitionersInfo = res1.data.data |
| | | }) |
| | | this.obj1 = form |
| | | }) |
| | | // console.log(data); |
| | | if (data) { |
| | | var row = data |
| | |
| | | let day = row.cardid.slice(12, 14) |
| | | this.obj0.birthdayData = year + '-' + mouth + '-' + day |
| | | console.log(this.obj0) |
| | | |
| | | } |
| | | |
| | | var flag = false, |
| | |
| | | background: #fff; |
| | | position: relative; |
| | | |
| | | .printBtn { |
| | | position: absolute; |
| | | top: 0; |
| | | right: -100px; |
| | | } |
| | | |
| | | } |
| | | |
| | | .printBtn { |
| | | position: absolute; |
| | | top: 108px; |
| | | right: 200px; |
| | | } |
| | | } |
| | | |