liuyg
2021-07-07 b2922843fc3fafab8f1097a257f51f4a7f6b5665
保安单位 中的基本信息和出资人登记
8 files modified
5 files added
4364 ■■■■■ changed files
public/img/logo copy.png patch | view | raw | blame | history
public/img/logo.png patch | view | raw | blame | history
src/api/dispatch/dispatch.js 77 ●●●●● patch | view | raw | blame | history
src/api/securityUnit/securityUnit.js 123 ●●●●● patch | view | raw | blame | history
src/router/views/index.js 39 ●●●●● patch | view | raw | blame | history
src/views/dispatch/data.js 292 ●●●●● patch | view | raw | blame | history
src/views/dispatch/index.vue 445 ●●●●● patch | view | raw | blame | history
src/views/recruitmentManagement/data.js 2 ●●● patch | view | raw | blame | history
src/views/recruitmentManagement/index.vue 2 ●●● patch | view | raw | blame | history
src/views/securityAnalysis/index.vue 138 ●●●●● patch | view | raw | blame | history
src/views/securityUnit/data.js 2586 ●●●●● patch | view | raw | blame | history
src/views/securityUnit/index.vue 657 ●●●● patch | view | raw | blame | history
vue.config.js 3 ●●●● patch | view | raw | blame | history
public/img/logo copy.png
public/img/logo.png

src/api/dispatch/dispatch.js
New file
@@ -0,0 +1,77 @@
import request from '@/router/axios';
export const getdata = (current, size, params) => {
  return request({
    url: '/api/dispatcherUnit/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
export const adddata = (row) => {
  return request({
    url: '/api/dispatcherUnit/submit',
    method: 'post',
    data: row
  })
}
export const update = (row) => {
  return request({
    url: '/api/dispatcherUnit/submit',
    method: 'post',
    data: row
  })
}
export const remove = (ids) => {
  return request({
    url: '/api/dispatcherUnit/remove',
    method: 'post',
    params: {
      ids,
    }
  })
}
export const getdata1 = (current, size, params) => {
  return request({
    url: '/api/dispatcher/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
export const adddata1 = (row) => {
  return request({
    url: '/api/dispatcher/submit',
    method: 'post',
    data: row
  })
}
export const update1 = (row) => {
  return request({
    url: '/api/dispatcher/submit',
    method: 'post',
    data: row
  })
}
export const remove1 = (ids) => {
  return request({
    url: '/api/dispatcher/remove',
    method: 'post',
    params: {
      ids,
    }
  })
}
src/api/securityUnit/securityUnit.js
New file
@@ -0,0 +1,123 @@
import request from '@/router/axios';
export const getdata = (current, size, params) => {
  return request({
    // url: '/api/information/page',
    url: 'http://192.168.0.104:80/information/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
export const adddata = (row) => {
  return request({
    // url: '/api/information/save',
    url: 'http://192.168.0.104:80/information/save',
    method: 'post',
    data: row
  })
}
export const update = (row) => {
  return request({
    // url: '/api/information/update',
    url: 'http://192.168.0.104:80/information/update',
    method: 'post',
    data: row
  })
}
export const remove = (ids) => {
  return request({
    // url: '/api/information/remove',
    url: 'http://192.168.0.104:80/information/remove',
    method: 'post',
    params: {
      ids,
    }
  })
}
export const getdata1 = (current, size, params) => {
  return request({
    // url: '/api/shareholder/page',
    url: 'http://192.168.0.104:80/shareholder/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
export const adddata1 = (row) => {
  return request({
    // url: '/api/shareholder/submit',
    url: 'http://192.168.0.104:80/shareholder/submit',
    method: 'post',
    data: row
  })
}
export const update1 = (row) => {
  return request({
    // url: '/api/shareholder/update',
    url: 'http://192.168.0.104:80/shareholder/update',
    method: 'post',
    data: row
  })
}
export const remove1 = (ids) => {
  return request({
    // url: '/api/shareholder/remove',
    url: 'http://192.168.0.104:80/shareholder/remove',
    method: 'post',
    params: {
      ids,
    }
  })
}
export const getdata2 = (current, size, params) => {
  return request({
    // url: '/api/dispatcher/page',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
export const adddata2 = (row) => {
  return request({
    url: '/api/dispatcher/submit',
    method: 'post',
    data: row
  })
}
export const update2 = (row) => {
  return request({
    url: '/api/dispatcher/submit',
    method: 'post',
    data: row
  })
}
export const remove2 = (ids) => {
  return request({
    url: '/api/dispatcher/remove',
    method: 'post',
    params: {
      ids,
    }
  })
}
src/router/views/index.js
@@ -11,7 +11,7 @@
            i18n: 'dashboard'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/wel/index')
            import( /* webpackChunkName: "views" */ '@/views/wel/index')
    }, {
        path: 'dashboard',
        name: '控制台',
@@ -20,7 +20,7 @@
            menu: false,
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
            import( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
    }]
}, {
    path: '/test',
@@ -33,7 +33,7 @@
            i18n: 'test'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/util/test')
            import( /* webpackChunkName: "views" */ '@/views/util/test')
    }]
}, {
    path: '/dict-horizontal',
@@ -46,7 +46,7 @@
            i18n: 'dict'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
            import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-horizontal')
    }]
}, {
    path: '/dict-vertical',
@@ -59,7 +59,7 @@
            i18n: 'dict'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
            import( /* webpackChunkName: "views" */ '@/views/util/demo/dict-vertical')
    }]
}, {
    path: '/info',
@@ -72,7 +72,7 @@
            i18n: 'info'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/system/userinfo')
            import( /* webpackChunkName: "views" */ '@/views/system/userinfo')
    }]
}, {
    path: '/work/process/leave',
@@ -85,7 +85,7 @@
            i18n: 'work'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/form')
            import( /* webpackChunkName: "views" */ '@/views/work/process/leave/form')
    }, {
        path: 'handle/:taskId/:processInstanceId/:businessId',
        name: '处理请假流程',
@@ -93,7 +93,7 @@
            i18n: 'work'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle')
            import( /* webpackChunkName: "views" */ '@/views/work/process/leave/handle')
    }, {
        path: 'detail/:processInstanceId/:businessId',
        name: '请假流程详情',
@@ -101,7 +101,7 @@
            i18n: 'work'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
            import( /* webpackChunkName: "views" */ '@/views/work/process/leave/detail')
    }]
}, {
    path: '/securityAnalysis',
@@ -114,7 +114,7 @@
            i18n: 'dict'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/securityAnalysis/index')
            import( /* webpackChunkName: "views" */ '@/views/securityAnalysis/index')
    }]
}, {
    path: '/recruitmentManagement',
@@ -127,7 +127,7 @@
            i18n: 'dict'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/recruitmentManagement/index')
            import( /* webpackChunkName: "views" */ '@/views/recruitmentManagement/index')
    }]
}, {
    path: '/securityUnit',
@@ -140,7 +140,7 @@
            i18n: 'dict'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/securityUnit/index')
            import( /* webpackChunkName: "views" */ '@/views/securityUnit/index')
    }]
}, {
    path: '/securityGuard',
@@ -153,6 +153,19 @@
            i18n: 'dict'
        },
        component: () =>
            import ( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
            import( /* webpackChunkName: "views" */ '@/views/securityGuard/securityGuard')
    }]
}, {
    path: '/dispatch',
    component: Layout,
    redirect: '/dispatch/index',
    children: [{
        path: 'index',
        name: '派遣服务管理',
        meta: {
            i18n: 'dict'
        },
        component: () =>
            import( /* webpackChunkName: "views" */ '@/views/dispatch/index')
    }]
}]
src/views/dispatch/data.js
New file
@@ -0,0 +1,292 @@
var DIC = [
    {
        label: '招聘中',
        value: 1,
    }, {
        label: '停止招聘',
        value: 2,
    }
]
export var column = [//派遣服务公司登记
    // {
    //     label: "id",
    //     prop: "id",
    //     hide: true,
    //     editDisplay: false,
    //     addDisplay: false
    // },
    // {
    //     label: "保安单位",
    //     prop: "tenantName",
    //     hide: true,
    //     editDisplay: false,
    //     addDisplay: false
    // },
    // {
    //     label: "保安id",
    //     prop: "tenantId",
    //     hide: true,
    //     editDisplay: false,
    //     addDisplay: false
    // },//上面不显示
    {
        label: "派遣单位名称",
        prop: "name",
        // search: true,
    },
    {
        label: "保安公司",
        prop: "tenantId",
        // width: 70,
        // search: true,
    },
    {
        label: " 联系人",
        prop: "linkman",
        // addDisplay: true,
        // editDisplay: true,
        // viewDisplay: true,
        // searchSpan: 5,
        // dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
        // props: {
        //     label: "dictValue",
        //     value: "dictKey"
        // },
        // search: true,
        // type: "select",
        // // rules: [{
        // //     required: true,
        // //     message: "请选择学历",
        // //     trigger: "blur"
        // // }],
    },
    {
        label: "联系电话",
        prop: "phone",
        // addDisplay: true,
        // editDisplay: true,
        // viewDisplay: true,
        // searchSpan: 5,
        // dicUrl: "/api/blade-system/dict-biz/dictionary?code=experienceType",
        // props: {
        //     label: "dictValue",
        //     value: "dictKey"
        // },
        // search: true,
        // type: "select",
        // // rules: [{
        // //     required: true,
        // //     message: "请选择工作经验",
        // //     trigger: "blur"
        // // }],
    },
    {
        label: "详细地址",
        prop: "address",
        // search: true,
        // width: 110,
        // overHidden: true
    },
    {
        label: "创建时间",
        prop: "createTime",
        // search: true,
        // searchSpan: 4,
        // overHidden: true
    }
]
export var column1 = [//派遣服务公司登记
    {
        label: "id",
        prop: "id",
        // search: true,
        // searchSpan: 4,
        // overHidden: true,
        hide: true,
        editDisplay: false,
        addDisplay: false
    }, {
        label: "保安人名称",
        prop: "name",
        // search: true,
        // searchSpan: 4,
        // overHidden: true
    }, {
        label: "身份证",
        prop: "cardid",
        // search: true,
        // searchSpan: 4,
        // overHidden: true
    }, {
        label: "派遣人",
        prop: "dispatcher",
        // search: true,
        // searchSpan: 4,
        // overHidden: true
    }, {
        label: "派遣时间",
        prop: "dispatchertime",
        // search: true,
        // searchSpan: 4,
        // overHidden: true
    }, {
        label: "派遣地址",
        prop: "dispatcheraddress",
        // search: true,
        // searchSpan: 4,
        // overHidden: true
    }, {
        label: "派遣单位",
        prop: "dispatcherUnitId",
        // search: true,
        // searchSpan: 4,
        // overHidden: true
    },
]
export var data = [
    {
        "tenant_id": "xx保安公司", "name": "xx职务",
        "number": "10",
        "education": "大专以上",
        "experience": "2年",
        "max_salary": "8k",
        "units_scale": "200人+",
        "linkman": "XX",
        "phone": "xxxxxxxxxx",
        "address": "环城路地一大道30号口下",
        "start_time": "7月8日",
        "end_time": "7月31日",
        "status": "2"
    },
    {
        "tenant_id": "xx保安公司", "name": "xx职务",
        "number": "10",
        "education": "大专以上",
        "experience": "2年",
        "max_salary": "8k",
        "units_scale": "200人+",
        "linkman": "XX",
        "phone": "xxxxxxxxxx",
        "address": "环城路地一大道30号口下",
        "start_time": "7月8日",
        "end_time": "7月31日",
        "status": "2"
    },
    {
        "tenant_id": "xx保安公司", "name": "xx职务",
        "number": "10",
        "education": "大专以上",
        "experience": "2年",
        "max_salary": "8k",
        "units_scale": "200人+",
        "linkman": "XX",
        "phone": "xxxxxxxxxx",
        "address": "环城路地一大道30号口下",
        "start_time": "7月8日",
        "end_time": "7月31日",
        "status": "2"
    },
    {
        "tenant_id": "xx保安公司", "name": "xx职务",
        "number": "10",
        "education": "大专以上",
        "experience": "3年",
        "max_salary": "8k",
        "units_scale": "200人+",
        "linkman": "XX",
        "phone": "xxxxxxxxxx",
        "address": "环城路地一大道30号口下",
        "start_time": "7月8日",
        "end_time": "7月31日",
        "status": "2"
    },
    {
        "tenant_id": "xx保安公司", "name": "xx职务",
        "number": "10",
        "education": "大专以上",
        "experience": "5年",
        "max_salary": "8k",
        "units_scale": "200人+",
        "linkman": "XX",
        "phone": "xxxxxxxxxx",
        "address": "环城路地一大道30号口下",
        "start_time": "7月8日",
        "end_time": "7月31日",
        "status": "2"
    },
    {
        "tenant_id": "xx保安公司", "name": "xx职务",
        "number": "10",
        "education": "大专以上",
        "experience": "2年",
        "max_salary": "8k",
        "units_scale": "200人+",
        "linkman": "XX",
        "phone": "xxxxxxxxxx",
        "address": "环城路地一大道30号口下",
        "start_time": "7月8日",
        "end_time": "7月31日",
        "status": "2"
    },
    {
        "tenant_id": "xx保安公司", "name": "xx职务",
        "number": "10",
        "education": "大专以上",
        "experience": "2年",
        "max_salary": "8k",
        "units_scale": "200人+",
        "linkman": "XX",
        "phone": "xxxxxxxxxx",
        "address": "环城路地一大道30号口下",
        "start_time": "7月8日",
        "end_time": "7月31日",
        "status": "2"
    },
    {
        "tenant_id": "xx保安公司", "name": "xx职务",
        "number": "10",
        "education": "大专以上",
        "experience": "2年",
        "max_salary": "8k",
        "units_scale": "200人+",
        "linkman": "XX",
        "phone": "xxxxxxxxxx",
        "address": "环城路地一大道30号口下",
        "start_time": "7月8日",
        "end_time": "7月31日",
        "status": "2"
    },
    {
        "tenant_id": "xx保安公司", "name": "xx职务",
        "number": "10",
        "education": "大专以上",
        "experience": "2年",
        "max_salary": "8k",
        "units_scale": "200人+",
        "linkman": "XX",
        "phone": "xxxxxxxxxx",
        "address": "环城路地一大道30号口下",
        "start_time": "7月8日",
        "end_time": "7月31日",
        "status": "2"
    },
    {
        "tenant_id": "xx保安公司", "name": "xx职务",
        "number": "10",
        "education": "大专以上",
        "experience": "2年",
        "max_salary": "8k",
        "units_scale": "200人+",
        "linkman": "XX",
        "phone": "xxxxxxxxxx",
        "address": "环城路地一大道30号口下",
        "start_time": "7月8日",
        "end_time": "7月31日",
        "status": "2"
    }
]
src/views/dispatch/index.vue
New file
@@ -0,0 +1,445 @@
<template>
  <div class="dispatch">
    <avue-tabs :option="optionTABS" @change="handleChangeTABS"></avue-tabs>
    <span v-if="typeTABS.prop === 'tab1'">
      <avue-crud
        :option="option"
        :data="data"
        :page.sync="page"
        ref="crudrec"
        @on-load="onLoad"
        :table-loading="loading"
        @row-save="rowSave"
        @search-change="searchChange"
        @search-reset="searchReset"
        @row-update="rowUpdate"
        @row-del="rowDel"
        @selection-change="selectionChange"
        @refresh-change="refreshChange"
      >
        <template slot="menuLeft">
          <el-button
            type="danger"
            size="small"
            plain
            icon="el-icon-delete"
            @click="handleDelete"
            >删 除
          </el-button>
        </template>
      </avue-crud>
    </span>
    <span v-else-if="typeTABS.prop === 'tab2'">
      <avue-crud
        :option="option1"
        :data="data1"
        :page.sync="page1"
        ref="crudrec1"
        @on-load="onLoad1"
        :table-loading="loading1"
        @row-save="rowSave1"
        @search-change="searchChange1"
        @search-reset="searchReset1"
        @row-update="rowUpdate1"
        @row-del="rowDel1"
        @selection-change="selectionChange1"
        @refresh-change="refreshChange1"
      >
        <template slot="menuLeft">
          <el-button
            type="danger"
            size="small"
            plain
            icon="el-icon-delete"
            @click="handleDelete1"
            >删 除
          </el-button>
        </template>
      </avue-crud>
    </span>
    <!-- <span v-else-if="typeTABS.prop === 'tab3'">选项卡内容3</span> -->
  </div>
</template>
<script>
import { data, column, column1 } from "./data";
import {
  getdata,
  adddata,
  update,
  remove,
  getdata1,
  adddata1,
  update1,
  remove1,
} from "@/api/dispatch/dispatch";
export default {
  data() {
    return {
      typeTABS: {}, //标签页
      optionTABS: {
        column: [
          {
            icon: "el-icon-info",
            label: "派遣服务公司登记",
            prop: "tab1",
          },
          {
            icon: "el-icon-info",
            label: "派遣记录",
            prop: "tab2",
          },
          // {
          //   icon: "el-icon-info",
          //   label: "选项卡3",
          //   prop: "tab3",
          // },
        ],
      },
      loading: true, //派遣服务公司登记
      selectionList: [],
      page: {
        pageSize: 10,
        currentPage: 1,
        total: 0,
      },
      query: {},
      data: [],
      option: {
        card: true,
        searchSize: "mini",
        searchMenuSpan: 6,
        height: 547,
        menuWidth: 160,
        align: "center",
        selection: true,
        column: column,
      },
      loading1: true, //派遣记录
      selectionList1: [],
      page1: {
        pageSize: 10,
        currentPage: 1,
        total: 0,
      },
      query1: {},
      data1: [],
      option1: {
        card: true,
        searchSize: "mini",
        searchMenuSpan: 6,
        height: 547,
        menuWidth: 160,
        align: "center",
        selection: true,
        column: column1,
      },
    };
  },
  computed: {
    ids() {
      let ids = [];
      this.selectionList.forEach((ele) => {
        ids.push(ele.id);
      });
      return ids.join(",");
    },
    ids1() {
      let ids1 = [];
      this.selectionList1.forEach((ele) => {
        ids1.push(ele.id);
      });
      return ids1.join(",");
    },
  },
  methods: {
    handleChangeTABS(column) {
      this.typeTABS = column;
      if (column.prop == "tab1") {
        this.loading1 = false;
        this.onLoad(this.page);
      } else if (column.prop == "tab2") {
        this.loading = false;
        this.onLoad1(this.page1); //第二个表格不会自动执行
      }
      // this.$message.success(JSON.stringify(column));
    },
    //派遣服务公司登记
    sizeChange(val) {
      this.page1.currentPage = 1;
      this.page1.pageSize = val;
      // this.getData();
      this.onLoad(this.page, this.query);
      //   this.$message.success("行数" + val);
    },
    currentChange(val) {
      this.page1.currentPage = val;
      // this.getData();
      this.onLoad(this.page, this.query);
      //   this.$message.success("页码" + val);
    },
    rowSave(form, done, loading) {
      var that = this;
      //   var form = this.data[0];
      //   delete form.id;
      //   for (var k = 0; k < 13; k++) {
      adddata(form).then(
        (res) => {
          this.onLoad(this.page);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          done();
        },
        (error) => {
          window.console.log(error);
          loading();
        }
      );
      //   }
    },
    searchChange(params, done) {
      this.query = params;
      this.page.currentPage = 1;
      this.onLoad(this.page, params);
      done();
    },
    searchReset() {
      this.query = {};
      this.onLoad(this.page);
    },
    rowUpdate(row, index, done, loading) {
      console.log(row);
      update(row).then(
        () => {
          this.onLoad(this.page);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          done();
        },
        (error) => {
          window.console.log(error);
          loading();
        }
      );
    },
    rowDel(row) {
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          return remove(row.id);
        })
        .then(() => {
          this.onLoad(this.page);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
        });
    },
    selectionChange(list) {
      this.selectionList = list;
    },
    handleDelete() {
      if (this.selectionList.length === 0) {
        this.$message.warning("请选择至少一条数据");
        return;
      }
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          return remove(this.ids);
        })
        .then(() => {
          this.onLoad(this.page);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          this.$refs.crudrec.toggleSelection();
        });
    },
    refreshChange() {
      this.onLoad(this.page, this.query);
    },
    onLoad(page, params = {}) {
      this.loading = true;
      getdata(
        page.currentPage,
        page.pageSize,
        Object.assign(params, this.query)
      ).then((res) => {
        // console.log(res);
        const data = res.data.data;
        this.page.total = data.total;
        this.data = data.records;
        console.log(this.data);
        this.loading = false;
      });
    },
    //派遣服务公司登记
    //派遣记录
    sizeChange1(val) {
      this.page1.currentPage = 1;
      this.page1.pageSize = val;
      // this.getData();
      this.onLoad1(this.page1, this.query1);
      //   this.$message.success("行数" + val);
    },
    currentChange1(val) {
      this.page1.currentPage = val;
      // this.getData();
      this.onLoad1(this.page1, this.query1);
      //   this.$message.success("页码" + val);
    },
    rowSave1(form, done, loading) {
      var that = this;
      //   var form = this.data[0];
      //   delete form.id;
      //   for (var k = 0; k < 13; k++) {
      adddata1(form).then(
        (res) => {
          this.onLoad1(this.page1);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          done();
        },
        (error) => {
          window.console.log(error);
          loading();
        }
      );
      //   }
    },
    searchChange1(params, done) {
      this.query1 = params;
      this.page1.currentPage = 1;
      this.onLoad1(this.page1, params);
      done();
    },
    searchReset1() {
      this.query = {};
      this.onLoad1(this.page1);
    },
    rowUpdate1(row, index, done, loading) {
      console.log(row);
      update1(row).then(
        () => {
          this.onLoad1(this.page1);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          done();
        },
        (error) => {
          window.console.log(error);
          loading();
        }
      );
    },
    rowDel1(row) {
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          return remove1(row.id);
        })
        .then(() => {
          this.onLoad1(this.page1);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
        });
    },
    selectionChange1(list) {
      this.selectionList1 = list;
      console.log(this.selectionList1.length);
    },
    handleDelete1() {
      console.log(this.selectionList1);
      if (this.selectionList1.length === 0) {
        this.$message.warning("请选择至少一条数据");
        return;
      }
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          return remove1(this.ids1);
        })
        .then(() => {
          this.onLoad1(this.page1);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          this.$refs.crudrec1.toggleSelection();
        });
    },
    refreshChange1() {
      // console.log(4534)
      this.onLoad1(this.page1, this.query1);
    },
    //
    onLoad1(page, params = {}) {
      this.loading1 = true;
      // console.log(page);
      getdata1(
        page.currentPage,
        page.pageSize,
        Object.assign(params, this.query)
      ).then((res) => {
        // console.log(res);
        const data = res.data.data;
        this.page1.total = data.total;
        this.data1 = data.records;
        console.log(this.data1, 1);
        this.loading1 = false;
      });
    },
    //派遣记录
  },
  mounted() {
    this.typeTABS = this.optionTABS.column[0];
  },
};
</script>
<style lang="scss">
.dispatch {
  width: 100%;
  height: 100%;
  //   border: 1px solid #000;
  box-sizing: border-box;
}
.el-card__body {
  padding-bottom: 5px !important;
}
.avue-crud__tip,
.el-tag,
.el-tag--light {
  padding: 0 !important;
}
</style>
src/views/recruitmentManagement/data.js
@@ -67,7 +67,7 @@
        addDisplay: true,
        editDisplay: true,
        viewDisplay: true,
        searchSpan: 4,
        searchSpan: 5,
        dicUrl: "/api/blade-system/dict-biz/dictionary?code=experienceType",
        props: {
            label: "dictValue",
src/views/recruitmentManagement/index.vue
@@ -88,7 +88,7 @@
    //   var form = this.data[0];
    //   delete form.id;
    //   for (var k = 0; k < 13; k++) {
        adddata(form).then(
        adddata('form').then(
          (res) => {
            this.onLoad(this.page);
            this.$message({
src/views/securityAnalysis/index.vue
@@ -61,7 +61,7 @@
      option = {
        title: {
          text: "某站点用户访问来源",
          text: "保安员审查情况统计",
          subtext: "纯属虚构",
          left: "center",
        },
@@ -102,7 +102,7 @@
      option = {
        title: {
          text: "某站点用户访问来源",
          text: "保安员持证情况统计",
          subtext: "纯属虚构",
          left: "center",
        },
@@ -138,14 +138,136 @@
      this.EC2.setOption(option);
    },
    setEC3() {},
    setEC4() {},
    setEC3() {
      var option = {
        title: {
          text: "保安员考试情况统计",
          left: "center",
          top:20
        },
        tooltip: {
          trigger: "axis",
          axisPointer: {
            type: "cross",
            label: {
              backgroundColor: "#6a7985",
            },
          },
        },
        legend: {
          data: ["邮件营销", "联盟广告", "视频广告", "直接访问", "搜索引擎"],
        },
        toolbox: {
          feature: {
            saveAsImage: {},
          },
        },
        grid: {
          left: "3%",
          right: "4%",
          bottom: "3%",
          containLabel: true,
        },
        xAxis: [
          {
            type: "category",
            boundaryGap: false,
            data: ["周一", "周二", "周三", "周四", "周五", "周六", "周日"],
          },
        ],
        yAxis: [
          {
            type: "value",
          },
        ],
        series: [
          {
            name: "邮件营销",
            type: "line",
            stack: "总量",
            areaStyle: {},
            emphasis: {
              focus: "series",
            },
            data: [120, 132, 101, 134, 90, 230, 210],
          },
          {
            name: "联盟广告",
            type: "line",
            stack: "总量",
            areaStyle: {},
            emphasis: {
              focus: "series",
            },
            data: [220, 182, 191, 234, 290, 330, 310],
          },
          {
            name: "视频广告",
            type: "line",
            stack: "总量",
            areaStyle: {},
            emphasis: {
              focus: "series",
            },
            data: [150, 232, 201, 154, 190, 330, 410],
          },
          {
            name: "直接访问",
            type: "line",
            stack: "总量",
            areaStyle: {},
            emphasis: {
              focus: "series",
            },
            data: [320, 332, 301, 334, 390, 330, 320],
          },
          {
            name: "搜索引擎",
            type: "line",
            stack: "总量",
            label: {
              show: true,
              position: "top",
            },
            areaStyle: {},
            emphasis: {
              focus: "series",
            },
            data: [820, 932, 901, 934, 1290, 1330, 1320],
          },
        ],
      };
      this.EC3.setOption(option);
    },
    setEC4() {
      var option = {
         title: {
          text: "派遣服务单位统计",
          left: "center",
        },
        xAxis: {
          type: "category",
          data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
        },
        yAxis: {
          type: "value",
        },
        series: [
          {
            data: [120, 200, 150, 80, 70, 110, 130],
            type: "bar",
          },
        ],
      };
      this.EC4.setOption(option);
    },
    setEC5() {
      var option;
      option = {
        title: {
          text: "某站点用户访问来源",
          text: "保安派遣情况统计",
          subtext: "纯属虚构",
          left: "center",
        },
@@ -186,7 +308,7 @@
      option = {
        title: {
          text: "某站点用户访问来源",
          text: "社保缴纳情况统计",
          subtext: "纯属虚构",
          left: "center",
        },
@@ -222,14 +344,14 @@
      this.EC6.setOption(option);
    },
    biginOUREC(){
    biginOUREC() {
      this.setEC1();
      this.setEC2();
      this.setEC3();
      this.setEC4();
      this.setEC5();
      this.setEC6();
    }
    },
  },
  mounted() {
    this.$nextTick(() => {
src/views/securityUnit/data.js
@@ -1,77 +1,262 @@
var DIC = [
    {
        label: '招聘中',
        value: 1,
    }, {
        label: '停止招聘',
        value: 2,
    }
]
export var column = [
    // {
    //     label: "id",
    //     prop: "id",
    //     hide: true,
    //     editDisplay: false,
    //     addDisplay: false
    // },
    {
        label: "保安单位",
        prop: "tenant_id",
        label: "统一社会信用代码",
        prop: "creditcode",
        // hide: true,
        // editDisplay: false,
        // addDisplay: false
    },
    // {
    //     label: "保安id",
    //     prop: "tenantId",
    //     hide: true,
    //     editDisplay: false,
    //     addDisplay: false
    // },//上面不显示
    {
        label: "企业名称",
        prop: "enterprisename",
        // search: true,
    },
    {
        label: "招聘岗位",
        prop: "name",
        label: "法定代表人",
        prop: "representative",
        // width: 70,
        // search: true,
    },
    // {
    //     label: "登记状态",
    //     prop: "regstsat",
    //     // addDisplay: true,
    //     // editDisplay: true,
    //     // viewDisplay: true,
    //     // searchSpan: 5,
    //     // dicUrl: "/api/blade-system/dict-biz/dictionary?code=educationType",
    //     // props: {
    //     //     label: "dictValue",
    //     //     value: "dictKey"
    //     // },
    //     // search: true,
    //     // type: "select",
    //     // // rules: [{
    //     // //     required: true,
    //     // //     message: "请选择学历",
    //     // //     trigger: "blur"
    //     // // }],
    // },
    {
        label: "招聘人数",
        prop: "number",
        width: 70,
        label: "成立日期",
        prop: "establishtime",
        // addDisplay: true,
        // editDisplay: true,
        // viewDisplay: true,
        // searchSpan: 4,
        // dicUrl: "/api/blade-system/dict-biz/dictionary?code=experienceType",
        // props: {
        //     label: "dictValue",
        //     value: "dictKey"
        // },
        // search: true,
        // type: "select",
        // // rules: [{
        // //     required: true,
        // //     message: "请选择工作经验",
        // //     trigger: "blur"
        // // }],
    },
    {
        label: "学历要求",
        prop: "education",
        search: true,
        searchSpan: 4,
    },
    {
        label: "工作经验",
        prop: "experience",
        search: true,
        searchSpan: 4,
    },
    {
        label: "最高薪资",
        prop: "max_salary",
        search: true,
        searchSpan: 4,
    },
    {
        label: "单位规模",
        prop: "units_scale",
        label: "注册资本",
        prop: "registeredcapital",
        // search: true,
        // width: 110,
        // overHidden: true
    },
    {
        label: "联系人",
        prop: "linkman",
        label: "实缴资本",
        prop: "capital",
        // search: true,
        // searchSpan: 4,
        // overHidden: true
    },
    {
        label: "联系人电话",
        prop: "phone",
        label: "组织机构代码",
        prop: "organizationcode",
        // search: true,
        // searchSpan: 4,
    },
    {
        label: "详细地址",
        label: "工商注册号",
        prop: "registrationnumber",
        // search: true,
        // searchSpan: 4,
    },
    {
        label: "纳税人识别号",
        prop: "identificationnumber",
        // addDisplay: true,
        // editDisplay: true,
        // viewDisplay: true,
        // searchSpan: 4,
        // dicUrl: "/api/blade-system/dict-biz/dictionary?code=unitsNatureType",
        // props: {
        //     label: "dictValue",
        //     value: "dictKey"
        // },
        // // search: true,
        // type: "select",
        // // rules: [{
        // //     required: false,
        // //     message: "请选择单位规模",
        // //     trigger: "blur"
        // // }],
    },
    {
        label: "企业类型",
        prop: "enterprises",
        // addDisplay: true,
        // editDisplay: true,
        // viewDisplay: true,
        // searchSpan: 4,
        // dicUrl: "/api/blade-system/dict-biz/dictionary?code=unitsScaleType",
        // props: {
        //     label: "dictValue",
        //     value: "dictKey"
        // },
        // // search: true,
        // type: "select",
        // // rules: [{
        // //     required: true,
        // //     message: "请选择单位规模",
        // //     trigger: "blur"
        // // }],
    },
    {
        label: "注册地址",
        prop: "address",
        width: 160,
        // search: true,
    },
    {
        label: "开始时间",
        prop: "start_time",
        label: "经营范围",
        prop: "business",
        // search: true,
        width: 110,
        overHidden: true
    },
    {
        label: "结束时间",
        prop: "end_time",
        label: "所属地区",
        prop: "region",
        width: 110,
        // search: true,
        overHidden: true
    },
    {
        label: "招聘状态",
        prop: "status",
        search: true,
        searchSpan: 4,
        label: "登记机关",
        prop: "registration",
        // search: true,
        // width: 88,
    },
    {
        label: "所属行业",
        prop: "industry",
        // search: true,
        // width: 88,
    },
    // {
    //     label: "租户ID",
    //     // prop: "status",
    //     // search: true,
    //     // searchSpan: 4,
    //     prop: 'tenant_id',
    //     // filter: false,
    //     // type: 'tree',
    //     // dicData: DIC,
    //     // rules: [{
    //     //     required: true,
    //     //     message: "请选择单位规模",
    //     //     trigger: "blur"
    //     // }],
    // },
]
export var column1 = [
    {
        label: "id",
        prop: "id",
    },{
        label: "股东",
        prop: "shareholder",
    },{
        label: "持股比例",
        prop: "shareholdingratio",
    },{
        label: "最终受益股份",
        prop: "beneficial",
    },{
        label: "出资金额",
        prop: "capital",
    },{
        label: "出资时间",
        prop: "capitaltime",
    },{
        label: "身份证",
        prop: "cardid",
    },{
        label: "联系电话",
        prop: "cell",
    },{
        label: "统一社会信用代码",
        prop: "creditcode",
    },
]
export var column2 = [
    {
        label: "id",
        prop: "id",
    },{
        label: "股东",
        prop: "shareholder",
    },{
        label: "持股比例",
        prop: "shareholdingRatio",
    },{
        label: "最终受益股份",
        prop: "beneficial",
    },{
        label: "出资金额",
        prop: "capital",
    },{
        label: "出资时间",
        prop: "capitalTime",
    },{
        label: "身份证",
        prop: "cardid",
    },{
        label: "联系电话",
        prop: "cell",
    },{
        label: "统一社会信用代码",
        prop: "creditCode",
    },
]
export var data = [
    {
@@ -213,2322 +398,5 @@
        "start_time": "7月8日",
        "end_time": "7月31日",
        "status": "2"
    },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // }, {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "3年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "5年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // }, {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "3年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "5年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // }, {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "3年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "5年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // }, {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "3年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "5年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // }, {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "3年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "5年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // }, {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "3年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "5年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // }, {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "3年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "5年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // },
    // {
    //     "tenant_id": "xx保安公司", "name": "xx职务",
    //     "number": "10",
    //     "education": "大专以上",
    //     "experience": "2年",
    //     "max_salary": "8k",
    //     "units_scale": "200人+",
    //     "linkman": "XX",
    //     "phone": "xxxxxxxxxx",
    //     "address": "环城路地一大道30号口下",
    //     "start_time": "7月8日",
    //     "end_time": "7月31日",
    //     "status": "2"
    // }
    }
]
src/views/securityUnit/index.vue
@@ -1,118 +1,639 @@
<template>
  <div class="recruitmentManagement">
    <avue-crud
      :option="option"
      :data="data"
      :page.sync="page1"
      @size-change="sizeChange"
      @current-change="currentChange"
      @row-save="rowSave"
      @row-update="rowUpdate"
      @row-del="rowDel"
      @refresh-change="refresh"
    ></avue-crud>
  <div class="dispatch">
    <avue-tabs :option="optionTABS" @change="handleChangeTABS"></avue-tabs>
    <span v-if="typeTABS.prop === 'tab1'">
      <avue-crud
        :option="option"
        :data="data"
        :page.sync="page"
        ref="crudrec"
        @on-load="onLoad"
        :table-loading="loading"
        @row-save="rowSave"
        @search-change="searchChange"
        @search-reset="searchReset"
        @row-update="rowUpdate"
        @row-del="rowDel"
        @selection-change="selectionChange"
        @refresh-change="refreshChange"
      >
        <template slot="menuLeft">
          <el-button
            type="danger"
            size="small"
            plain
            icon="el-icon-delete"
            @click="handleDelete"
            >删 除
          </el-button>
        </template>
      </avue-crud>
    </span>
    <span v-else-if="typeTABS.prop === 'tab2'">
      <avue-crud
        :option="option1"
        :data="data1"
        :page.sync="page1"
        ref="crudrec1"
        @on-load="onLoad1"
        :table-loading="loading1"
        @row-save="rowSave1"
        @search-change="searchChange1"
        @search-reset="searchReset1"
        @row-update="rowUpdate1"
        @row-del="rowDel1"
        @selection-change="selectionChange1"
        @refresh-change="refreshChange1"
      >
        <template slot="menuLeft">
          <el-button
            type="danger"
            size="small"
            plain
            icon="el-icon-delete"
            @click="handleDelete1"
            >删 除
          </el-button>
        </template>
      </avue-crud>
    </span>
    <span v-else-if="typeTABS.prop === 'tab3'">
      <avue-crud
        :option="option2"
        :data="data2"
        :page.sync="page2"
        ref="crudrec2"
        @on-load="onLoad2"
        :table-loading="loading2"
        @row-save="rowSave2"
        @search-change="searchChange2"
        @search-reset="searchReset2"
        @row-update="rowUpdate2"
        @row-del="rowDel2"
        @selection-change="selectionChange2"
        @refresh-change="refreshChange2"
      >
        <template slot="menuLeft">
          <el-button
            type="danger"
            size="small"
            plain
            icon="el-icon-delete"
            @click="handleDelete2"
            >删 除
          </el-button>
        </template>
      </avue-crud>
    </span>
  </div>
</template>
</template>
<script>
import { data, column } from "./data";
import { data, column, column1, column2 } from "./data";
import {
  getdata,
  adddata,
  update,
  remove,
  getdata1,
  adddata1,
  update1,
  remove1,
  getdata2,
  adddata2,
  update2,
  remove2,
} from "@/api/securityUnit/securityUnit";
export default {
  data() {
    return {
      Ourdata: "",
      page1: {
        currentPage: 1,
        total: 20,
        layout: "total,pager,prev, next",
        background: false,
        pageSize: 10,
      typeTABS: {}, //标签页
      optionTABS: {
        column: [
          {
            icon: "el-icon-info",
            label: "保安单位基本信息",
            prop: "tab1",
          },
          {
            icon: "el-icon-info",
            label: "保安单位出资人员登记",
            prop: "tab2",
          },
          {
            icon: "el-icon-info",
            label: "主要管理人员信息采集",
            prop: "tab3",
          },
        ],
      },
      loading: true, //保安单位基本信息
      selectionList: [],
      page: {
        pageSize: 10,
        currentPage: 1,
        total: 0,
      },
      query: {},
      data: [],
      option: {
        card: true,
        searchSize: "mini",
        searchMenuSpan: 6,
        height: 545,
        height: 547,
        menuWidth: 160,
        align: "center",
        selection: true,
        column: column,
      },
      loading1: true, //派遣记录
      selectionList1: [],
      page1: {
        pageSize: 10,
        currentPage: 1,
        total: 0,
      },
      query1: {},
      data1: [],
      option1: {
        card: true,
        searchSize: "mini",
        searchMenuSpan: 6,
        height: 547,
        menuWidth: 160,
        align: "center",
        selection: true,
        column: column1,
      },
      loading2: true, //派遣记录
      selectionList2: [],
      page2: {
        pageSize: 10,
        currentPage: 1,
        total: 0,
      },
      query2: {},
      data2: [],
      option2: {
        card: true,
        searchSize: "mini",
        searchMenuSpan: 6,
        height: 547,
        menuWidth: 160,
        align: "center",
        selection: true,
        column: column2,
      },
    };
  },
  computed: {
    ids() {
      let ids = [];
      this.selectionList.forEach((ele) => {
        ids.push(ele.id);
      });
      return ids.join(",");
    },
    ids1() {
      let ids1 = [];
      this.selectionList1.forEach((ele) => {
        ids1.push(ele.id);
      });
      return ids1.join(",");
    },
    ids2() {
      let ids2 = [];
      this.selectionList2.forEach((ele) => {
        ids2.push(ele.id);
      });
      return ids2.join(",");
    },
  },
  methods: {
    getData() {
      this.page1.total = this.Ourdata.length;
      var maxi = +this.Ourdata.length / +this.page1.pageSize;
      var y = String(maxi).indexOf(".") + 1; //判断小数
      if (y != 0) {
        maxi++;
      }
      for (var i = 1; i <= maxi; i++) {
        if (this.page1.currentPage === i) {
          this.data = this.Ourdata.slice(
            (i - 1) * this.page1.pageSize,
            i * this.page1.pageSize
          );
        }
    handleChangeTABS(column) {
      this.typeTABS = column;
      // this.$message.success(JSON.stringify(column));
      if (column.prop == "tab1") {
        this.loading1 = false;
        this.loading2 = false;
        this.onLoad(this.page);
      } else if (column.prop == "tab2") {
        this.loading = false;
        this.loading2 = false;
        this.onLoad1(this.page1); //第二个表格不会自动执行
      } else if (column.prop == "tab3") {
        this.loading1 = false;
        this.loading = false;
        this.onLoad2(this.page2); //第二个表格不会自动执行
      }
    },
    //保安单位基本信息
    sizeChange(val) {
      this.page1.currentPage = 1;
      this.page1.pageSize = val;
      this.getData();
      // this.getData();
      this.onLoad(this.page, this.query);
      //   this.$message.success("行数" + val);
    },
    currentChange(val) {
      this.page1.currentPage = val;
      this.getData();
      // this.getData();
      this.onLoad(this.page, this.query);
      //   this.$message.success("页码" + val);
    },
    rowSave(form, done, loading) {
      var that = this;
      this.$message.success("模拟网络请求");
      setTimeout(() => {
        this.$message.success("关闭按钮等待");
        loading();
      }, 1000);
      setTimeout(() => {
        this.$message.success("新增数据" + JSON.stringify(form));
        done();
        that.Ourdata.push(form);
        this.getData()
      }, 2000);
      //   var form = this.data[0];
      //   delete form.id;
      //   for (var k = 0; k < 13; k++) {
      adddata(form).then(
        (res) => {
          this.onLoad(this.page);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          done();
        },
        (error) => {
          window.console.log(error);
          loading();
        }
      );
      //   }
    },
    refresh(val) {
      this.$message.success("刷新回调,当前分页对象" + JSON.stringify(val));
    searchChange(params, done) {
      this.query = params;
      this.page.currentPage = 1;
      this.onLoad(this.page, params);
      done();
    },
    rowDel(form, index) {
      this.$message.success("删除数据" + JSON.stringify(form));
    searchReset() {
      this.query = {};
      this.onLoad(this.page);
    },
    rowUpdate(form, index, done, loading) {
      this.$message.success("模拟网络请求");
      setTimeout(() => {
        this.$message.success("关闭按钮等待");
        loading();
      }, 1000);
      setTimeout(() => {
        this.$message.success(
          "编辑数据" + JSON.stringify(form) + "数据序号" + index
        );
        done(form);
      }, 2000);
    rowUpdate(row, index, done, loading) {
      delete row.tenantid;
      console.log(row, 0);
      update(row).then(
        () => {
          this.onLoad(this.page);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          done();
        },
        (error) => {
          window.console.log(error);
          loading();
        }
      );
    },
    rowDel(row) {
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          return remove(row.id);
        })
        .then(() => {
          this.onLoad(this.page);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
        });
    },
    selectionChange(list) {
      this.selectionList = list;
    },
    handleDelete() {
      if (this.selectionList.length === 0) {
        this.$message.warning("请选择至少一条数据");
        return;
      }
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          return remove(this.ids);
        })
        .then(() => {
          this.onLoad(this.page);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          this.$refs.crudrec.toggleSelection();
        });
    },
    refreshChange() {
      this.onLoad(this.page, this.query);
    },
    onLoad(page, params = {}) {
      this.loading = true;
      getdata(
        page.currentPage,
        page.pageSize,
        Object.assign(params, this.query)
      ).then((res) => {
        // console.log(res);
        const data = res.data.data;
        this.page.total = data.total;
        this.data = data.records;
        console.log(this.data);
        this.loading = false;
      });
    },
    //保安单位基本信息
    //派遣记录
    sizeChange1(val) {
      this.page1.currentPage = 1;
      this.page1.pageSize = val;
      // this.getData();
      this.onLoad1(this.page1, this.query1);
      //   this.$message.success("行数" + val);
    },
    currentChange1(val) {
      this.page1.currentPage = val;
      // this.getData();
      this.onLoad1(this.page1, this.query1);
      //   this.$message.success("页码" + val);
    },
    rowSave1(form, done, loading) {
      var that = this;
      //   var form = this.data[0];
      //   delete form.id;
      //   for (var k = 0; k < 13; k++) {
      adddata1(form).then(
        (res) => {
          this.onLoad1(this.page1);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          done();
        },
        (error) => {
          window.console.log(error);
          loading();
        }
      );
      //   }
    },
    searchChange1(params, done) {
      this.query1 = params;
      this.page1.currentPage = 1;
      this.onLoad1(this.page1, params);
      done();
    },
    searchReset1() {
      this.query = {};
      this.onLoad1(this.page1);
    },
    rowUpdate1(row, index, done, loading) {
      delete row.shareholdingratio;
      delete row.tenantId;
      console.log(row);
      update1(row).then(
        () => {
          this.onLoad1(this.page1);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          done();
        },
        (error) => {
          window.console.log(error);
          loading();
        }
      );
    },
    rowDel1(row) {
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          return remove1(row.id);
        })
        .then(() => {
          this.onLoad1(this.page1);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
        });
    },
    selectionChange1(list) {
      this.selectionList1 = list;
    },
    handleDelete1() {
      if (this.selectionList1.length === 0) {
        this.$message.warning("请选择至少一条数据");
        return;
      }
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          return remove1(this.ids1);
        })
        .then(() => {
          this.onLoad1(this.page1);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          this.$refs.crudrec1.toggleSelection();
        });
    },
    refreshChange1() {
      this.onLoad1(this.page1, this.query1);
    },
    //
    onLoad1(page, params = {}) {
      this.loading1 = true;
      // console.log(page);
      getdata1(
        page.currentPage,
        page.pageSize,
        Object.assign(params, this.query)
      ).then((res) => {
        // console.log(res);
        const data = res.data.data;
        this.page1.total = data.total;
        this.data1 = data.records;
        console.log(this.data1);
        this.loading1 = false;
      });
    },
    //派遣记录
    //派遣记录
    sizeChange2(val) {
      this.page2.currentPage = 1;
      this.page2.pageSize = val;
      // this.getData();
      this.onLoad2(this.page2, this.query2);
      //   this.$message.success("行数" + val);
    },
    currentChange2(val) {
      this.page2.currentPage = val;
      // this.getData();
      this.onLoad2(this.page2, this.query2);
      //   this.$message.success("页码" + val);
    },
    rowSave2(form, done, loading) {
      var that = this;
      //   var form = this.data[0];
      //   delete form.id;
      //   for (var k = 0; k < 13; k++) {
      adddata2(form).then(
        (res) => {
          this.onLoad2(this.page1);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          done();
        },
        (error) => {
          window.console.log(error);
          loading();
        }
      );
      //   }
    },
    searchChange2(params, done) {
      this.query2 = params;
      this.page2.currentPage = 1;
      this.onLoad2(this.page2, params);
      done();
    },
    searchReset2() {
      this.query = {};
      this.onLoad2(this.page2);
    },
    rowUpdate2(row, index, done, loading) {
      console.log(row);
      update2(row).then(
        () => {
          this.onLoad2(this.page2);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          done();
        },
        (error) => {
          window.console.log(error);
          loading();
        }
      );
    },
    rowDel2(row) {
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          return remove2(row.id);
        })
        .then(() => {
          this.onLoad2(this.page1);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
        });
    },
    selectionChange2(list) {
      this.selectionList2 = list;
    },
    handleDelete2() {
      if (this.selectionList2.length === 0) {
        this.$message.warning("请选择至少一条数据");
        return;
      }
      this.$confirm("确定将选择数据删除?", {
        confirmButtonText: "确定",
        cancelButtonText: "取消",
        type: "warning",
      })
        .then(() => {
          return remove2(this.ids2);
        })
        .then(() => {
          this.onLoad2(this.page2);
          this.$message({
            type: "success",
            message: "操作成功!",
          });
          this.$refs.crudrec2.toggleSelection();
        });
    },
    refreshChange2() {
      this.onLoad2(this.page2, this.query2);
    },
    //
    onLoad2(page, params = {}) {
      this.loading2 = true;
      console.log(page);
      getdata2(
        page.currentPage,
        page.pageSize,
        Object.assign(params, this.query)
      ).then((res) => {
        // console.log(res);
        const data = res.data.data;
        this.page2.total = data.total;
        this.data2 = data.records;
        console.log(this.data2);
        this.loading2 = false;
      });
    },
    //派遣记录
  },
  mounted() {
    this.Ourdata = data;
    this.getData();
    // this.Ourdata = data;
    // this.onLoad1(this.page1); //第二个表格不会自动执行
    // this.onLoad2(this.page2); //第三个表格不会自动执行
    this.typeTABS = this.optionTABS.column[0];
  },
};
</script>
<style lang="scss">
.recruitmentManagement {
.dispatch {
  width: 100%;
  height: 100%;
  //   border: 1px solid #000;
  box-sizing: border-box;
}
.el-card__body {
  padding-bottom: 5px !important;
}
.avue-crud__tip,
.el-tag,
.el-tag--light {
  padding: 0 !important;
}
</style>
vue.config.js
@@ -27,7 +27,8 @@
      '/api': {
        //本地服务接口地址
        // target: 'http://localhost',
        target: 'http://192.168.0.114:81',
        target: 'http://192.168.0.114:81',//钟W
        // target: 'http://192.168.0.104:80',//唐N
        //远程演示服务地址,可用于直接启动项目
        // target: 'https://saber.bladex.vip/api',
        ws: true,