| | |
| | | justify-content: center; |
| | | flex-direction: column; |
| | | } |
| | | /* .print-header { |
| | | width: 100%; |
| | | text-align: center; |
| | | } */ |
| | | |
| | | .print { |
| | | position: absolute; |
| | | left: 47%; |
| | | top: 58%; |
| | | width: 7%; |
| | | height: 30px; |
| | | border: 0px; |
| | | border-radius: 6px; |
| | | color: #fff; |
| | | background-color: #1D5CE4; |
| | | letter-spacing: 4px; |
| | | } |
| | | |
| | | .user-info-table { |
| | | margin-top: 30px; |
| | | width: 60%; |
| | | width: 90%; |
| | | height: 60%; |
| | | border: 1px solid #000; |
| | | background-color: #fff; |
| | |
| | | |
| | | <body> |
| | | <div> |
| | | <div> |
| | | <button onclick="preview(1)">打印</button> |
| | | <div class="print-header"> |
| | | <button onclick="preview(1)" class="print">打印</button> |
| | | </div> |
| | | <!--startprint--> |
| | | <div id="table"> |
| | |
| | | flex-direction: column; |
| | | } |
| | | |
| | | .excelPrint { |
| | | width: 100%; |
| | | text-align: center; |
| | | margin-top: 50px; |
| | | } |
| | | |
| | | .print { |
| | | /* position: absolute; |
| | | left: 47%; |
| | | top: 58%; */ |
| | | width: 7%; |
| | | height: 30px; |
| | | border: 0px; |
| | | border-radius: 6px; |
| | | color: #fff; |
| | | background-color: #1D5CE4; |
| | | letter-spacing: 4px; |
| | | } |
| | | |
| | | .user-info-table { |
| | | margin-top: 30px; |
| | | width: 90%; |
| | |
| | | |
| | | <body> |
| | | <div> |
| | | <div> |
| | | <button onclick="preview(1)">打印</button> |
| | | </div> |
| | | |
| | | <!--startprint--> |
| | | <div id="table"> |
| | | <!-- <span class="title">准考证信息</span> |
| | | <table class="user-info-table" border="1px" align="center" cellspacing="0" cellpadding="10"> |
| | | </table> |
| | | </div> --> |
| | | </table> --> |
| | | </div> |
| | | <!--endprint--> |
| | | |
| | | <div class="excelPrint"> |
| | | <button onclick="preview(1)" class="print">打印</button> |
| | | </div> |
| | | </div> |
| | | <script> |
| | | var getData = function(name) { |
| | |
| | | <td colspan="6">${data.num}人</td> |
| | | </tr> |
| | | |
| | | </table> |
| | | </div>` |
| | | </table>` |
| | | |
| | | var dom = $('#table'); |
| | | dom.empty(); |
| | |
| | | /* display: flex; */ |
| | | align-items: center; |
| | | justify-content: center; |
| | | background-color: #666666; |
| | | } |
| | | |
| | | .print { |
| | | position: absolute; |
| | | left: 20px; |
| | | top: 10px; |
| | | left: 43%; |
| | | top: 60%; |
| | | width: 7%; |
| | | height: 36px; |
| | | border-radius: 9px; |
| | | background-color: #1D5CE4; |
| | | border: 0px; |
| | | color: #fff; |
| | | letter-spacing: 4px; |
| | | } |
| | | |
| | | #table { |
| | |
| | | </div> |
| | | |
| | | |
| | | |
| | | |
| | | </div> |
| | | <script> |
| | | var getData = function(name) { |
| | |
| | | // box-shadow: none !important; |
| | | // height: 40px; |
| | | // } |
| | | |
| | | // //取消顶部搜索栏 |
| | | // .user .el-card.is-never-shadow.avue-crud__search { |
| | | // position: relative !important; |
| | |
| | | // box-shadow: none !important; |
| | | // height: auto; |
| | | // } |
| | | |
| | | // .desk .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 360px) !important; |
| | | // } |
| | | |
| | | // .securityGuard .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 300px) !important; |
| | | // left: 120px; |
| | | // } |
| | | |
| | | // .securityUnit .el-card.is-never-shadow.avue-crud__search { |
| | | // left: 200px; |
| | | // width: calc(100% - 380px) !important; |
| | | // } |
| | | |
| | | // .equipments .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 380px) !important; |
| | | // left: 200px; |
| | | // } |
| | | |
| | | // .dispatch .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 380px) !important; |
| | | // left: 200px; |
| | | // } |
| | | |
| | | // .dispatchChildoperable .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 280px) !important; |
| | | // left: 90px; |
| | | // } |
| | | |
| | | // .workreply .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 380px) !important; |
| | | // left: 200px !important; |
| | | // } |
| | | |
| | | // .recruitmentManagement .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 380px) !important; |
| | | // left: 120px !important; |
| | | // } |
| | | |
| | | // .hasButOne .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 300px) !important; |
| | | // left: 120px !important; |
| | | // } |
| | | |
| | | // .hasButTwo .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 380px) !important; |
| | | // left: 200px !important; |
| | | // } |
| | | |
| | | // .desk1 .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 410px) !important; |
| | | // left: 200px !important; |
| | | // } |
| | | |
| | | // .topmenu .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 390px) !important; |
| | | // left: 220px !important; |
| | | // } |
| | | |
| | | // .hasButThree .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 510px) !important; |
| | | // left: 310px !important; |
| | | // } |
| | | |
| | | // .morpheus-box .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 590px) !important; |
| | | // left: 420px !important; |
| | | // } |
| | | |
| | | // .morpheus-box-exam .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 390px) !important; |
| | | // left: 20px !important; |
| | | // } |
| | | |
| | | // .morpheus-box-paper .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 390px) !important; |
| | | // left: 220px !important; |
| | | // } |
| | | |
| | | // .morpheus-box-score .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 390px) !important; |
| | | // left: 150px !important; |
| | | // } |
| | | |
| | | // .morpheus-box-apply-exam .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 390px) !important; |
| | | // left: 120px !important; |
| | | // } |
| | | |
| | | // .desk .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 390px) !important; |
| | | // left: 280px !important; |
| | | // } |
| | | |
| | | // .morpheus-box-apply-exam-1 .el-card.is-never-shadow.avue-crud__search { |
| | | // width: calc(100% - 390px) !important; |
| | | // left: 220px !important; |
| | | // } |
| | | |
| | | // .avue-form { |
| | | // position: relative; |
| | | // top: -10px; |
| | | // } |
| | | |
| | | // //顶部按钮栏 |
| | | // .avue-crud__menu { |
| | | // height: 60px; |
| | | // } |
| | | |
| | | // //顶部按钮 |
| | | // .avue-crud .avue-crud__left .el-button, |
| | | // .avue-crud .avue-crud__right .el-button, |
| | |
| | | .avue-form__menu--center .el-button { |
| | | float: left; |
| | | } |
| | | |
| | | .avue-form__menu--center .el-button:nth-child(1) { |
| | | margin-left: 30px; |
| | | } |
| | |
| | | .el-dropdown { |
| | | color: #fff !important; |
| | | } |
| | | |
| | | .securityPapers { |
| | | width: 100%; |
| | | height: 100%; |
| | | background-color: #f4f6f8; |
| | | position: absolute; |
| | | top: 40px; |
| | | left: 0; |
| | | } |
| | |
| | | :type="type" |
| | | size="small" |
| | | icon="el-icon-receiving" |
| | | :disabled="row.applyStatus == 4" |
| | | :disabled="row.candidateNo==''" |
| | | @click="handlePrint(row)" |
| | | >准考证打印 |
| | | </el-button> |
| | |
| | | :type="type" |
| | | size="small" |
| | | icon="el-icon-folder-checked" |
| | | v-if="row.isApply == 2 || row.isApply == -1" |
| | | v-if="row.isApply == 2 || row.isApply == -1 || row.isApply == 3" |
| | | @click="questionBankRowSave(row)" |
| | | >报名 |
| | | </el-button> |
| | |
| | | { |
| | | label: "已取消", |
| | | value: 2, |
| | | }, |
| | | { |
| | | label: "考试结束", |
| | | value: 3, |
| | | }, |
| | | ], |
| | | }; |
| | |
| | | value: 2, |
| | | }, |
| | | { |
| | | label: "", |
| | | value: -1, |
| | | label: "考试结束", |
| | | value: 3, |
| | | }, |
| | | ], |
| | | dataType: "number", |
| | |
| | | import { getListPage, remove, update, add, getNotice } from "@/api/desk/notice"; |
| | | import { getDept } from "@/api/system/dept"; |
| | | import { mapGetters } from "vuex"; |
| | | import { mapState } from 'vuex'; |
| | | |
| | | export default { |
| | | data() { |
| | |
| | | }); |
| | | return ids.join(","); |
| | | }, |
| | | ...mapState({ |
| | | userInfo: state => state.user.userInfo |
| | | }) |
| | | }, |
| | | mounted() {}, |
| | | mounted() { |
| | | this.getDeptInfo(this.userInfo.dept_id); |
| | | }, |
| | | methods: { |
| | | //获取当前用户部门信息 |
| | | getDeptInfo(deptId) { |
| | |
| | | }); |
| | | }, |
| | | rowSave(row, done, loading) { |
| | | if (this.deptCategory) { |
| | | row.category = 1; |
| | | }else{ |
| | | row.category = 2; |
| | | } |
| | | row.deptId = this.deptId; |
| | | add(row).then( |
| | | () => { |
| | |
| | | |
| | | const { releaseTimeRange } = this.query; |
| | | // if (that.deptCategory) { |
| | | params["deptId"] = this.deptId; |
| | | // params["deptId"] = this.deptId; |
| | | params["jurisdiction"] = this.jurisdiction; |
| | | // } |
| | | let values = { |
| | |
| | | <template> |
| | | <!-- <iframe src="http://124.71.113.22/map/index.html?openid=PatrolManagement" style="width: 100%;height: 100%" frameborder="0"></iframe> --> |
| | | <div class="securityPapers"> |
| | | |
| | | <iframe :src="url" style="width: 100%; height: 100%" frameborder="0"></iframe> |
| | | </div> |
| | | <!-- <iframe src="http://124.71.113.22/map/index.html?openid=PatrolManagement" style="width: 100%;height: 100%" frameborder="0"></iframe> --> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | // prop: "deptName", |
| | | prop: "deptId", |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | // dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | props: { |
| | | label: "title", |
| | | value: "id", |
| | |
| | | return { |
| | | securityid: "", |
| | | excelBox1: false, |
| | | isSecurity: false, |
| | | excelForm1: {}, |
| | | excelOption1: { |
| | | submitBtn: false, |
| | |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | | border: true, //liu |
| | | border: false, |
| | | stripe: true, |
| | | align: "center", |
| | | index: true, |
| | |
| | | label: "所属保安公司", |
| | | prop: "deptId", |
| | | type: "tree", |
| | | dicUrl: |
| | | "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | // dicUrl: |
| | | // "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | // dicUrl: "/api/blade-system/dept/lazy-tree?parentId=0", |
| | | props: { |
| | | label: "title", |
| | |
| | | { |
| | | prop: "UserPractitionersInfo", |
| | | type: "dynamic", |
| | | border: true, //liu |
| | | border: false, |
| | | span: 24, |
| | | children: { |
| | | align: "left", |
| | |
| | | userInfo: (state) => state.user.userInfo, |
| | | }), |
| | | }, |
| | | beforeCreate() { |
| | | |
| | | }, |
| | | created() { |
| | | |
| | | }, |
| | | mounted() { |
| | | // this.option.column[0].hide = true |
| | | // 非保安单位模式默认加载管理组数据 |
| | | if (!website.tenantMode) { |
| | | this.initData(website.tenantId); |
| | | } |
| | | |
| | | //获取当前登录人员的角色信息 |
| | | var roleIds = this.userInfo.role_id.split(","); |
| | | roleIds.forEach((roleId) => { |
| | | getRoleDetail(roleId).then((res) => { |
| | | var roleAlias = res.data.data.roleAlias; |
| | | if ( |
| | | roleAlias == "保安公司管理员" || |
| | | roleAlias == "保安" || |
| | | roleAlias == "未持证保安" |
| | | ) { |
| | | const column = this.findObject(this.option.column, "deptId"); |
| | | column.search = false; |
| | | } |
| | | }); |
| | | }); |
| | | }, |
| | | methods: { |
| | | handleImport1() { |
| | |
| | | this.onLoad(this.page); |
| | | }, |
| | | initData(tenantId) { |
| | | getRoleTree(tenantId).then((res) => { |
| | | const column = this.findObject(this.option.group, "roleId"); |
| | | column.dicData = res.data.data; |
| | | }); |
| | | // getRoleTree(tenantId).then((res) => { |
| | | // const column = this.findObject(this.option.group, "roleId"); |
| | | // column.dicData = res.data.data; |
| | | // }); |
| | | // getDeptTree(tenantId).then((res) => { |
| | | // const column = this.findObject(this.option.group, "deptId"); |
| | | // column.dicData = res.data.data; |
| | | // }); |
| | | getPostList(tenantId).then((res) => { |
| | | const column = this.findObject(this.option.group, "postId"); |
| | | column.dicData = res.data.data; |
| | | }); |
| | | // getPostList(tenantId).then((res) => { |
| | | // const column = this.findObject(this.option.group, "postId"); |
| | | // column.dicData = res.data.data; |
| | | // }); |
| | | }, |
| | | submitRole() { |
| | | const roleList = this.$refs.treeRole.getCheckedKeys().join(","); |
| | |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | onLoad(page, params = {}) { |
| | | var that = this; |
| | | //获取当前登录人员的角色信息 |
| | | var roleIds = this.userInfo.role_id.split(","); |
| | | roleIds.forEach((roleId) => { |
| | | getRoleDetail(roleId).then((res) => { |
| | | var roleAlias = res.data.data.roleAlias; |
| | | if ( |
| | | roleAlias == "保安公司管理员" || |
| | | roleAlias == "保安" || |
| | | roleAlias == "未持证保安" |
| | | ) { |
| | | //去除保安公司查询 |
| | | const column = that.findObject(that.option.column, "deptId"); |
| | | column.search = false; |
| | | const deptColumn = that.findObject(that.option.group, "deptId"); |
| | | deptColumn.dicUrl = "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697"; |
| | | //禁止编辑 |
| | | deptColumn.disabled = true; |
| | | deptColumn.value = that.userInfo.dept_id; |
| | | that.isSecurity = true; |
| | | //如果是保安公司管理员 |
| | | params["deptId"] = that.userInfo.dept_id; |
| | | }else if (roleAlias == "公安管理员") { |
| | | params["jurisdiction"] = that.userInfo.jurisdiction; |
| | | var columnDept = that.findObject(that.option.column, "deptId"); |
| | | columnDept.dicUrl = |
| | | "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697&jurisdiction="+that.userInfo.jurisdiction |
| | | var ColumnDeptUpdate = that.findObject(that.option.group, "deptId"); |
| | | ColumnDeptUpdate.dicUrl = |
| | | "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697&jurisdiction="+that.userInfo.jurisdiction |
| | | }else{ |
| | | var columnDept1 = that.findObject(that.option.column, "deptId"); |
| | | columnDept1.dicUrl = "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697"; |
| | | var ColumnDeptUpdate1 = that.findObject(that.option.group, "deptId"); |
| | | ColumnDeptUpdate1.dicUrl = "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697"; |
| | | } |
| | | |
| | | let values = { |
| | | ...params, |
| | | }; |
| | | values = { |
| | | ...params, |
| | | roleAlias: "111", |
| | | ...this.query, |
| | | ...that.query, |
| | | }; |
| | | |
| | | //获取当前登录人员的角色信息 |
| | | var roleIds = this.userInfo.role_id.split(","); |
| | | roleIds.forEach((roleId) => { |
| | | getRoleDetail(roleId).then((res) => { |
| | | var roleAlias = res.data.data.roleAlias; |
| | | if (roleAlias == "保安公司管理员") { |
| | | values["deptId"] = this.userInfo.dept_id; |
| | | } |
| | | that.loading = true; |
| | | getList(page.currentPage, page.pageSize, values).then((res) => { |
| | | const data = res.data.data; |
| | | that.page.total = data.total; |
| | | that.data = data.records; |
| | | that.loading = false; |
| | | that.selectionClear(); |
| | | }); |
| | | }); |
| | | }); |
| | | |
| | | if (this.userInfo.role_id == "1414840172333842433") { |
| | | console.log("是公安add jurisdiction"); |
| | | values["jurisdiction"] = this.userInfo.jurisdiction; |
| | | } |
| | | this.loading = true; |
| | | getList(page.currentPage, page.pageSize, values, this.treeDeptId).then( |
| | | (res) => { |
| | | const data = res.data.data; |
| | | this.page.total = data.total; |
| | | this.data = data.records; |
| | | this.loading = false; |
| | | this.selectionClear(); |
| | | } |
| | | ); |
| | | |
| | | |
| | | }, |
| | | platformRowUpdate(row, index, done, loading) { |
| | | updatePlatform(row.id, row.userType, row.userExt).then( |
| | |
| | | prop: "category", |
| | | type: "select", |
| | | dicUrl: "/api/blade-system/dict-biz/dictionary?code=workReportCategory", |
| | | cascaderItem: ["receivedIds"], |
| | | props: { |
| | | label: "dictValue", |
| | | value: "dictKey" |
| | |
| | | prop: "receivedIds", |
| | | span: 24, |
| | | type: "tree", |
| | | // dicUrl: "/api/blade-system/dept/lazy-tree-user", |
| | | // lazy: true, |
| | | dicUrl: "/api/blade-system/dept/lazy-tree-user-app?type={{key}}", |
| | | hide: true, |
| | | props: { |
| | | label: "title", |
| | |
| | | searchMenuSpan: 6, |
| | | border: true, //liu |
| | | addBtnText: "发起", |
| | | saveBtnText: "发起", |
| | | addTitle: "发起", |
| | | index: true, |
| | | stripe: true, |
| | | viewBtn: true, |