From bed6bacb26e0b05c77be9f295342112fcc665130 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Mon, 23 Aug 2021 15:23:36 +0800
Subject: [PATCH] 保安公司 点击数量跳转 到该公司保安人员保安公司详情 添加营业执照,许可证,社保记录
---
src/views/securityUnit/securityTraining.vue | 27 +++++++++++++++++++++++++--
1 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/src/views/securityUnit/securityTraining.vue b/src/views/securityUnit/securityTraining.vue
index f63ecc6..12384fb 100644
--- a/src/views/securityUnit/securityTraining.vue
+++ b/src/views/securityUnit/securityTraining.vue
@@ -15,9 +15,25 @@
@row-del="rowDel"
@selection-change="selectionChange"
@refresh-change="refreshChange"
- @row-click="rowClick"
>
+ <!-- @row-click="rowClick" -->
+ <template slot-scope="{ row }" slot="znum">
+ <el-tag
+ class="rowClickSelf"
+ @click="rowClickSelf(row)"
+ title="点击查看保安人员情况"
+ >{{ row.znum }}</el-tag
+ >
+ </template>
+
<template slot-scope="{ type, size, row }" slot="menu">
+ <el-button
+ icon="el-icon-s-custom"
+ :size="size"
+ :type="type"
+ @click.stop="rowClick(row)"
+ >查看
+ </el-button>
<el-button
:size="size"
:type="type"
@@ -285,7 +301,7 @@
searchMenuSpan: 6,
height: 583,
- menuWidth: 220,
+ menuWidth: 275,
align: "center",
selection: true,
column: column,
@@ -320,6 +336,13 @@
},
},
methods: {
+ rowClickSelf(val) {
+ // console.log(val.departmentid);
+ this.$router.push({
+ path: "/securityGuardOnce/index",
+ query: { departmentid: val.departmentid },
+ });
+ },
handleImport1() {
this.excelBox1 = true;
},
--
Gitblit v1.9.3