Administrator
2021-08-28 e4100ecc3a88273dcdbc2c1452d4e9f00736f3db
src/views/securityUnit/selfRecruitedSecurityGuard.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"
@@ -283,10 +299,29 @@
        searchSize: "mini",
        searchMenuSpan: 6,
        height: 583,
        menuWidth: 220,
        menuWidth: 275,
        align: "center",
        border: true,
        selection: true,
        column: column,
        column: [
          ...column,
          {
            label: "服务区域",
            labelWidth: 160,
            prop: "fregion",
            width: 69,
          },
          {
            label: "服务时间",
            labelWidth: 160,
            prop: "ftime",
            width: 69,
            type: "date",
            format: "yyyy-MM-dd",
            valueFormat: "timestamp",
          },
        ],
      },
    };
  },
@@ -318,6 +353,13 @@
    },
  },
  methods: {
    rowClickSelf(val) {
      // console.log(val.departmentid);
      this.$router.push({
        path: "/securityGuardOnce/index",
        query: { departmentid: val.departmentid },
      });
    },
    handleImport1() {
      this.excelBox1 = true;
    },