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/securityUnitChild/index.vue | 39 ++++++++++++++++++++++++++++++++++-----
1 files changed, 34 insertions(+), 5 deletions(-)
diff --git a/src/views/securityUnitChild/index.vue b/src/views/securityUnitChild/index.vue
index a21c28d..1661438 100644
--- a/src/views/securityUnitChild/index.vue
+++ b/src/views/securityUnitChild/index.vue
@@ -120,10 +120,19 @@
<!-- 车辆管理 -->
<car :fromDeptId="departmentid"></car>
</span>
- <span v-else-if="typeTABS.prop === 'tab6'" class="tab">
- <!-- 枪支管理 -->
+ <!-- <span v-else-if="typeTABS.prop === 'tab6'" class="tab">
+ 枪支管理
<gun :fromDeptId="departmentid"></gun>
+ </span> -->
+ <span v-else-if="typeTABS.prop === 'tab7'" class="tab">
+ <!-- 营业执照 -->
+ <businessLicense :row="obj0"></businessLicense>
</span>
+ <span v-else-if="typeTABS.prop === 'tab8'" class="tab">
+ <!-- 许可证 -->
+ <licence :row="obj0"></licence>
+ </span>
+ <span v-else-if="typeTABS.prop === 'tab9'" class="tab"> 社保记录 </span>
<el-dialog
title="出资人导入"
append-to-body
@@ -186,12 +195,16 @@
import equipments from "../securityEquipment/equipments.vue";
import car from "../securityEquipment/car.vue";
import gun from "../securityEquipment/gun.vue";
+import licence from "./licence.vue";
+import businessLicense from "./businessLicense.vue";
export default {
components: {
equipments: equipments,
car: car,
gun: gun,
+ licence: licence,
+ businessLicense: businessLicense,
},
data() {
var DIC = {
@@ -303,10 +316,25 @@
label: "车辆管理 ",
prop: "tab5",
},
+ // {
+ // // icon: "el-icon-info",
+ // label: "枪支管理 ",
+ // prop: "tab6",
+ // },
{
// icon: "el-icon-info",
- label: "枪支管理 ",
- prop: "tab6",
+ label: "营业执照 ",
+ prop: "tab7",
+ },
+ {
+ // icon: "el-icon-info",
+ label: "许可证 ",
+ prop: "tab8",
+ },
+ {
+ // icon: "el-icon-info",
+ label: "社保记录 ",
+ prop: "tab9",
},
],
},
@@ -732,7 +760,7 @@
if (that.readLock("danweidata") != null) {
row = JSON.parse(that.readLock("danweidata"));
// that.obj0.title = row.enterprisename;
- // console.log(row, "row");
+ console.log(row, "row");
that.departmentid = row.departmentid;
for (var k in row) {
that.obj0[k] = row[k];
@@ -828,6 +856,7 @@
.tab {
position: relative;
// border: 1px solid red;
+ background-color: #fff;
height: 92%;
display: inline-block;
width: 100%;
--
Gitblit v1.9.3