Administrator
2021-08-28 e4100ecc3a88273dcdbc2c1452d4e9f00736f3db
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"
@@ -281,9 +297,11 @@
        // card: true,
        tip: false,
        searchSize: "mini",
        border: true,
        searchMenuSpan: 6,
        height: 583,
        menuWidth: 220,
        menuWidth: 275,
        align: "center",
        selection: true,
        column: column,
@@ -318,6 +336,13 @@
    },
  },
  methods: {
    rowClickSelf(val) {
      // console.log(val.departmentid);
      this.$router.push({
        path: "/securityGuardOnce/index",
        query: { departmentid: val.departmentid },
      });
    },
    handleImport1() {
      this.excelBox1 = true;
    },