From 07f3df4bdaea6c4e90439a60362e3f99da073413 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 19 Jan 2022 11:53:02 +0800
Subject: [PATCH] 保安员列表修改
---
src/views/securityGuardManagement/registerOnce.vue | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/views/securityGuardManagement/registerOnce.vue b/src/views/securityGuardManagement/registerOnce.vue
index 3889c16..90f06c6 100644
--- a/src/views/securityGuardManagement/registerOnce.vue
+++ b/src/views/securityGuardManagement/registerOnce.vue
@@ -28,14 +28,14 @@
@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"
@@ -616,6 +616,9 @@
return ids.join(",");
},
},
+ created(){
+ this.departmentid = this.$route.query.departmentid;
+ },
mounted() {
//重复菜单
@@ -643,7 +646,7 @@
// 判断是否从保安公司人数点击跳转
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;
@@ -809,12 +812,14 @@
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,
--
Gitblit v1.9.3