| | |
| | | <el-button icon="el-icon-edit" |
| | | :size="size" |
| | | :type="type" |
| | | v-if="permission.securityGuard_check" |
| | | v-if="permission.securityGuard_paper" |
| | | @click.stop="certificateClick(row)">纸质证书制作 |
| | | </el-button> |
| | | </template> |
| | |
| | | grant, |
| | | resetPassword, |
| | | getUserPractitionersInfo, |
| | | updatePaperTime, |
| | | saveOrUpdateUserPractitionersInfo, |
| | | } from "@/api/system/user"; |
| | | import { securityApply } from '@/api/accreditationRecords/accreditationRecords' |
| | |
| | | import { getToken } from "@/util/auth"; |
| | | import { securityFormPageColumn } from "./data"; |
| | | import { mapState } from "vuex"; |
| | | import { |
| | | updatePaperTime |
| | | } from "@/api/system/user"; |
| | | |
| | | export default { |
| | | data () { |
| | |
| | | }), |
| | | }, |
| | | beforeCreate () { }, |
| | | created () { }, |
| | | created () { |
| | | console.log(this.userInfo.role_name,123541); |
| | | if(this.userInfo.role_name=="办证管理员"){ |
| | | console.log(this.userInfo.role_name,5555225); |
| | | this.search["userType"] = 7; |
| | | } |
| | | }, |
| | | mounted () { |
| | | // this.option.column[0].hide = true |
| | | // 非保安单位模式默认加载管理组数据 |
| | |
| | | this.initData(website.tenantId); |
| | | } |
| | | this.search["status"] = 1; |
| | | if(this.userInfo.roleName=="办证管理员"){ |
| | | this.search["userType"] = 7; |
| | | } |
| | | this.deptIds = this.userInfo.dept_id; |
| | | }, |
| | | methods: { |
| | |
| | | //更新发证时间 |
| | | var printDom = document.getElementById("certificateDom"); |
| | | printDom.style.position = "absolute"; |
| | | printDom.style.top = "-28.5%"; |
| | | printDom.style.top = "-27.5%"; |
| | | printDom.style.left = "-23%"; |
| | | printDom.style.width = "120%"; |
| | | printDom.style.height = "100%"; |
| | |
| | | } |
| | | // 标题 |
| | | $upTop: 45px; |
| | | $downTop: 260px; //整体高度 |
| | | $downTop: 265px; //整体高度 |
| | | //经国家保安员考试审查合格。<br />特颁此证。 |
| | | .security_main-title { |
| | | position: absolute; |
| | |
| | | letter-spacing: 3px; |
| | | } |
| | | //发证时间 |
| | | $timeTop: 309px; //整体高度 |
| | | $timeTop: 304px; //整体高度 |
| | | //年 |
| | | .security_m_l_titlepaperTimenian { |
| | | position: absolute; |
| | | top: $timeTop; |
| | | left: 110px; |
| | | left: 107px; |
| | | line-height: 40px; |
| | | } |
| | | //月 |
| | | .security_m_l_titlepaperTimeyue { |
| | | position: absolute; |
| | | top: $timeTop; |
| | | left: 169px; |
| | | left: 166px; |
| | | line-height: 40px; |
| | | } |
| | | //日 |
| | |
| | | // 身份证 |
| | | .security_m_r_o_rightcardid { |
| | | position: absolute; |
| | | top: $downTop + $lineHigeht * 4 -12px; |
| | | top: $downTop + $lineHigeht * 4 -2px; |
| | | left: $centerLeft; |
| | | // width: $rightWidth; |
| | | } |