| | |
| | | <span v-if="typeTABS.prop === 'tab1'"> --> |
| | | <div class="avue-page" id="avuePageEle" |
| | | style="width: 1000px;margin: 0 auto;padding: 0 20px;position: relative;background-color: #fff;"> |
| | | <avue-form ref="form" v-model="form" :option="option0" :before-open="beforeOpen"> |
| | | <avue-form ref="form" v-model="form" :option="option0"> |
| | | <template slot="menuLeft"> |
| | | <el-button type="primary" size="small" plain icon="el-icon-s-check" @click="printBA">打印 |
| | | </el-button> |
| | |
| | | } |
| | | }, |
| | | |
| | | created () { |
| | | }, |
| | | |
| | | computed: { |
| | | ids1 () { |
| | | let ids1 = [] |
| | |
| | | }), |
| | | }, |
| | | methods: { |
| | | beforeOpen () { |
| | | getUser(this.userInfo.Id).then(res => { |
| | | console.log('getUser', res) |
| | | let userData = res.data.data |
| | | if (this.obj0) { |
| | | // this.obj0.userDetailId = userData.id |
| | | this.obj0.education1 = userData.education1 |
| | | this.obj0.marriageStatus = userData.marriageStatus |
| | | this.obj0.signLevel = userData.signLevel |
| | | this.obj0.permanentResidenceAddress = userData.permanentResidenceAddress |
| | | this.obj0.dwellAddress = userData.dwellAddress |
| | | this.obj0.memberOfFamily = userData.memberOfFamily |
| | | this.obj0.educationExperience = userData.educationExperience |
| | | this.obj0.workExperience = userData.workExperience |
| | | this.obj0.healthCertificateUrl = userData.healthCertificateUrl |
| | | this.obj0.noCriminalRecordProveUrl = userData.noCriminalRecordProveUrl |
| | | this.obj0.acceptancePoliceUnit = userData.acceptancePoliceUnit |
| | | this.obj0.acceptancePerson = userData.acceptancePerson |
| | | this.obj0.acceptanceTime = userData.acceptanceTime |
| | | this.obj0.unitName = userData.unitName |
| | | } |
| | | //获取用户从业信息 |
| | | getUserPractitionersInfo(userInfo.id).then(res1 => { |
| | | userData.UserPractitionersInfo = res1.data.data |
| | | console.log('res1', res1) |
| | | }) |
| | | }) |
| | | }, |
| | | |
| | | // 打印保安信息 |
| | | printBAInfo () { |
| | | var printDom = document.getElementById("avuePageEle") |
| | |
| | | //查询保安员信息 |
| | | console.log(this.userInfo, 456) |
| | | this.id = this.userInfo.Id |
| | | // this.beforeOpen() |
| | | var roleName = this.userInfo.role_name |
| | | // debugger; |
| | | //如果保安,才能看保安证 |