| | |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad" |
| | | > |
| | | <template slot-scope="{ row }" slot="deptId"> |
| | | <!-- <template slot-scope="{ row }" slot="deptId"> |
| | | <el-tag |
| | | class="rowClickSelf" |
| | | title="点击查看所属公司情况" |
| | | @click="rowClickSelf(row.deptId)" |
| | | >{{ row.$deptId }}</el-tag |
| | | > |
| | | </template> |
| | | </template> --> |
| | | <template slot-scope="{ type, size, row }" slot="menu"> |
| | | <el-button |
| | | :size="size" |
| | |
| | | display: false, |
| | | }, |
| | | { |
| | | label: "所属保安公司", |
| | | label: "企业名称", |
| | | searchLabelWidth: "110", |
| | | // prop: "deptName", |
| | | prop: "deptId", |
| | |
| | | return ids.join(","); |
| | | }, |
| | | }, |
| | | created(){ |
| | | this.departmentid = this.$route.query.departmentid; |
| | | }, |
| | | mounted() { |
| | | //重复菜单 |
| | | |
| | |
| | | // 判断是否从保安公司人数点击跳转 |
| | | if (this.$route.query.departmentid) { |
| | | this.departmentid = this.$route.query.departmentid; |
| | | // console.log(this.departmentid, "ddddddddddddd"); |
| | | console.log(this.departmentid, "ddddddddddddd"); |
| | | this.spanRight = 24; |
| | | this.spanLeft = 0; |
| | | var d = this.option.column; |
| | |
| | | refreshChange() { |
| | | this.onLoad(this.page, this.query); |
| | | }, |
| | | onLoad(page, params = {}, deptId) { |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | params["jurisdiction"] = this.jurisdiction; |
| | | if (this.departmentid) { |
| | | params["deptId"] = this.departmentid; |
| | | } |
| | | console.log(params,123456) |
| | | console.log(this.query,123456) |
| | | getListSecurity( |
| | | page.currentPage, |
| | | page.pageSize, |