| | |
| | | } */ |
| | | |
| | | .print { |
| | | position: absolute; |
| | | position: relative; |
| | | left: 47%; |
| | | top: 58%; |
| | | margin-top: 30px; |
| | | width: 7%; |
| | | height: 30px; |
| | | border: 0px; |
| | |
| | | |
| | | <body> |
| | | <div> |
| | | <div class="print-header"> |
| | | <button onclick="preview(1)" class="print">打印</button> |
| | | </div> |
| | | |
| | | <!--startprint--> |
| | | <div id="table"> |
| | | <!-- <span class="title">准考证信息</span> |
| | |
| | | <td></td> |
| | | </tr> |
| | | |
| | | </table> |
| | | </div> --> |
| | | </table>--> |
| | | </div> |
| | | <!--endprint--> |
| | | |
| | | |
| | | <div class="print-header"> |
| | | <button onclick="preview(1)" class="print">打印</button> |
| | | </div> |
| | | </div> |
| | | <script> |
| | | var getData = function(name) { |
| | |
| | | <td></td> |
| | | </tr> |
| | | |
| | | </table> |
| | | </div>` |
| | | </table>` |
| | | |
| | | var dom = $('#table'); |
| | | dom.empty(); |
| | |
| | | // console.log(params.deptId); |
| | | if (this.fromDeptId != undefined) { |
| | | params["deptId"] = this.fromDeptId; |
| | | this.option.column[4].search = false; |
| | | this.option.column[6].search = false; |
| | | this.option.column[6].hide = true; |
| | | this.option.column[6].addDisplay = false; |
| | | this.option.column[6].editDisplay = false; |
| | | } else { |
| | | this.option.column[4].search = true; |
| | | this.option.column[6].search = true; |
| | | this.option.column[6].hide = false; |
| | | this.option.column[6].addDisplay = true; |
| | |
| | | label: "title", |
| | | value: "id", |
| | | }, |
| | | // hide: true, |
| | | slot: true, |
| | | searchSpan: 5, |
| | | display: false, |
| | | search: true, |
| | | minWidth: 260 |
| | | }, |
| | | // { |
| | | // label: "所属保安公司", |
| | | // searchLabelWidth: "110", |
| | | // prop: "deptName", |
| | | // // type: "tree", |
| | | // // dicUrl: "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697", |
| | | // // props: { |
| | | // // label: "title", |
| | | // // value: "id", |
| | | // // }, |
| | | // // slot: true, |
| | | // // searchSpan: 5, |
| | | // display: false, |
| | | // // search: true, |
| | | // minWidth: 260 |
| | | // }, |
| | | { |
| | | label: "性别", |
| | | prop: "sex", |
| | |
| | | class="rowClickSelf" |
| | | title="点击查看所属公司情况" |
| | | @click="rowClickSelf(row.deptId)" |
| | | >{{ row.$deptId }}</el-tag |
| | | >{{ row.deptName }}</el-tag |
| | | > |
| | | </template> |
| | | <template slot-scope="{ row }" slot="tenantName"> |
| | |
| | | var roleAlias = res.data.data.roleAlias; |
| | | if ( |
| | | roleAlias == "保安公司管理员" || |
| | | roleAlias == "保安" || |
| | | roleAlias == "未持证保安" |
| | | roleAlias == "保安" |
| | | ) { |
| | | //去除保安公司查询 |
| | | const column = that.findObject(that.option.column, "deptId"); |
| | |
| | | this.loading1 = true; |
| | | console.log(page, params, 3435434); |
| | | params["creditcode"] = this.creditcode; |
| | | params["deptId"] = this.departmentid; |
| | | getdataOnce1( |
| | | page.currentPage, |
| | | page.pageSize, |
| | |
| | | // console.log(page); |
| | | // getdata2( |
| | | params["creditcode"] = this.creditcode; |
| | | params["deptId"] = this.departmentid; |
| | | getdataOnce2( |
| | | page.currentPage, |
| | | page.pageSize, |
| | |
| | | if (that.readLock("danweidata") != null) { |
| | | row = JSON.parse(that.readLock("danweidata")); |
| | | // that.obj0.title = row.enterprisename; |
| | | console.log(row, "row"); |
| | | console.log(row, "rowneibu"); |
| | | that.departmentid = row.departmentid; |
| | | for (var k in row) { |
| | | that.obj0[k] = row[k]; |