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%;