((typeof self !== 'undefined' ? self : this)["webpackJsonpcontractor_management_sm"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpcontractor_management_sm"] || []).push([[36,37],{

/***/ "2909":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";

// EXPORTS
__webpack_require__.d(__webpack_exports__, "a", function() { return /* binding */ _toConsumableArray; });

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
var arrayLikeToArray = __webpack_require__("6b75");

// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js

function _arrayWithoutHoles(r) {
  if (Array.isArray(r)) return Object(arrayLikeToArray["a" /* default */])(r);
}

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
var es_symbol = __webpack_require__("a4d3");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.description.js
var es_symbol_description = __webpack_require__("e01a");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.iterator.js
var es_symbol_iterator = __webpack_require__("d28b");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
var es_array_from = __webpack_require__("a630");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.iterator.js
var es_array_iterator = __webpack_require__("e260");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
var es_object_to_string = __webpack_require__("d3b7");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.iterator.js
var es_string_iterator = __webpack_require__("3ca3");

// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.iterator.js
var web_dom_collections_iterator = __webpack_require__("ddb0");

// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js








function _iterableToArray(r) {
  if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
}

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
var unsupportedIterableToArray = __webpack_require__("06c5");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.error.cause.js
var es_error_cause = __webpack_require__("d9e2");

// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js

function _nonIterableSpread() {
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}

// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js




function _toConsumableArray(r) {
  return _arrayWithoutHoles(r) || _iterableToArray(r) || Object(unsupportedIterableToArray["a" /* default */])(r) || _nonIterableSpread();
}


/***/ }),

/***/ "497f":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectPeople_vue_vue_type_style_index_0_id_395e2272_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("71fb");
/* harmony import */ var _node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectPeople_vue_vue_type_style_index_0_id_395e2272_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_windicss_webpack_plugin_dist_loaders_windicss_style_pitcher_cjs_node_modules_vue_style_loader_index_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_windicss_webpack_plugin_dist_loaders_windicss_template_cjs_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_SelectPeople_vue_vue_type_style_index_0_id_395e2272_prod_lang_scss_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

/***/ "4e04":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);

// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"28eb61d9-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/components/safety/WizSafetyPage/safetyFactor/SelectPeople.vue?vue&type=template&id=395e2272&scoped=true
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{directives:[{name:"dialogDrag",rawName:"v-dialogDrag"}],staticClass:"small-dialog",attrs:{"title":("" + (_vm.$t('人员选择'))),"visible":_vm.dialogVisible,"append-to-body":"","close-on-click-modal":false},on:{"update:visible":function($event){_vm.dialogVisible=$event}}},[_c('el-row',{staticClass:"h-full"},[_c('el-col',{staticClass:"h-full",attrs:{"span":12}},[_c('div',{staticClass:"mr-10px h-full"},[_c('el-card',{staticClass:"h-full"},[_c('el-row',{staticClass:"mb-10px flex"},[_c('el-input',{staticClass:"inline-block",attrs:{"placeholder":("" + (_vm.$t('请输入'))),"prefix-icon":"el-icon-search","clearable":""},model:{value:(_vm.directoryTreeKeyWords),callback:function ($$v) {_vm.directoryTreeKeyWords=$$v},expression:"directoryTreeKeyWords"}}),_c('el-button',{staticClass:"ml-6px",attrs:{"type":"primary"},on:{"click":_vm.searchTree}},[_vm._v(_vm._s(_vm.$t('搜索')))])],1),_c('el-row',{staticClass:"tree-box"},[_c('el-tree',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.treeLoading),expression:"treeLoading"}],ref:"treeRef",staticClass:"min-h-300px max-h-full overflow-auto",attrs:{"highlight-current":"","show-checkbox":"","data":_vm.treeData,"props":_vm.defaultProps,"render-after-expand":false,"node-key":"keyId","filter-node-method":_vm.treeFilterMethod,"default-checked-keys":_vm.defaultCheckedList},on:{"check-change":_vm.checkNodeChange},scopedSlots:_vm._u([{key:"default",fn:function(ref){
var node = ref.node;
var data = ref.data;
return _c('div',{staticClass:"flex items-center w-full text-14px"},[(data.childen)?_c('i',{staticClass:"iconfont icon-line-folder text-14px mr-5px"}):_vm._e(),_c('p',{staticClass:"flex-1"},[_vm._v("\n                  "+_vm._s(node.label)+"\n                ")]),(data.userList)?_c('span',[_vm._v(_vm._s(data.userList.length))]):_vm._e()])}}])})],1)],1)],1)]),_c('el-col',{staticClass:"h-full",attrs:{"span":12}},[_c('div',{staticClass:"h-60px !leading-60px text-16px font-weight"},[_c('span',[_vm._v("已选择："+_vm._s(_vm.selectedNodeList.length))])]),_c('div',{staticClass:"people-list overflow-auto"},_vm._l((_vm.selectedNodeList),function(nodeItem){return _c('div',{key:nodeItem.keyId,staticClass:"flex mt-10px"},[_c('span',{staticClass:"mr-10px iconfont icon-bg-me text-16px"}),_c('span',{staticClass:"flex-1 mr-10px text-16px"},[_vm._v(_vm._s(nodeItem.name))]),_c('span',{staticClass:"cursor-pointer text-16px",on:{"click":function($event){return _vm.deleteSelected(nodeItem)}}},[_vm._v("X")])])}),0),_c('div',{staticClass:"mt-20px flex justify-center"},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.createMember}},[_vm._v(_vm._s(_vm.$t('创建')))]),_c('el-button',{attrs:{"size":"small"},on:{"click":_vm.clearSelected}},[_vm._v(_vm._s(_vm.$t('清空')))]),_c('el-button',{attrs:{"size":"small"},on:{"click":function($event){_vm.dialogVisible = false}}},[_vm._v(_vm._s(_vm.$t('取消')))])],1)])],1)],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/components/safety/WizSafetyPage/safetyFactor/SelectPeople.vue?vue&type=template&id=395e2272&scoped=true

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js
var objectSpread2 = __webpack_require__("5530");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
var toConsumableArray = __webpack_require__("2909");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/regenerator.js + 1 modules
var regenerator = __webpack_require__("c14f");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js + 3 modules
var slicedToArray = __webpack_require__("3835");

// EXTERNAL MODULE: ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
var asyncToGenerator = __webpack_require__("1da1");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
var es_array_filter = __webpack_require__("4de4");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
var es_array_find_index = __webpack_require__("c740");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
var es_array_includes = __webpack_require__("caad");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
var es_array_map = __webpack_require__("d81d");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
var es_array_push = __webpack_require__("14d9");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
var es_array_splice = __webpack_require__("a434");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
var es_function_name = __webpack_require__("b0c0");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
var es_iterator_constructor = __webpack_require__("e9f5");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
var es_iterator_filter = __webpack_require__("910d");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
var es_iterator_for_each = __webpack_require__("7d54");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
var es_iterator_map = __webpack_require__("ab43");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.to-string.js
var es_object_to_string = __webpack_require__("d3b7");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
var es_string_includes = __webpack_require__("2532");

// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
var web_dom_collections_for_each = __webpack_require__("159b");

// EXTERNAL MODULE: ./node_modules/@wiz-api/account/lib/account.umd.js
var account_umd = __webpack_require__("32d0");

// CONCATENATED MODULE: ./node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib??ref--12-1!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/windicss-webpack-plugin/dist/loaders/windicss-template.cjs!./src/components/safety/WizSafetyPage/safetyFactor/SelectPeople.vue?vue&type=script&lang=js



















//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//


var eafOrganizationUnitUserApi = new account_umd["EafOrganizationUnitUserApi"]();
/* harmony default export */ var SelectPeoplevue_type_script_lang_js = ({
  name: 'selectPerson',
  props: {
    isMultiple: {
      type: Boolean,
      default: false
    },
    visible: {
      type: Boolean,
      default: false
    },
    // 弹窗显隐
    selectedPersonList: {
      type: Array,
      default: function _default() {
        return [];
      }
    } // 默认已选中人员
  },
  computed: {
    dialogVisible: {
      get: function get() {
        return this.visible;
      },
      set: function set(val) {
        this.$emit('update:visible', val);
      }
    }
  },
  created: function created() {
    // const selectedKeyIds = _.map(this.selectedPersonList, 'keyId')
    // this.defaultCheckedList = selectedKeyIds.flat(1)
    this.getUserTree();
  },
  data: function data() {
    return {
      directoryTreeKeyWords: '',
      // 目录树搜索关键字
      treeData: [],
      // 目录树数据
      treeLoading: false,
      // 目录树loading
      defaultProps: {
        children: 'childen',
        label: 'name'
      },
      // 目录树默认配置
      selectedNodeList: [],
      // 目录树已勾选节点
      defaultCheckedList: [] // 目录树默认勾选
    };
  },
  methods: {
    /**
     * @description 获取组织机构和人员
     */
    getUserTree: function getUserTree() {
      var _this = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regenerator["a" /* default */])().m(function _callee() {
        var _yield$eafOrganizatio, _yield$eafOrganizatio2, err, res;
        return Object(regenerator["a" /* default */])().w(function (_context) {
          while (1) switch (_context.n) {
            case 0:
              _this.treeLoading = true;
              _context.n = 1;
              return eafOrganizationUnitUserApi.getOrganizationUnitUserTree({
                outputPost: true,
                isActive: true
              });
            case 1:
              _yield$eafOrganizatio = _context.v;
              _yield$eafOrganizatio2 = Object(slicedToArray["a" /* default */])(_yield$eafOrganizatio, 2);
              err = _yield$eafOrganizatio2[0];
              res = _yield$eafOrganizatio2[1];
              _this.treeLoading = false;
              if (!err) {
                _this.treeData = res;
                _this.dealUserTree(_this.treeData);
                _this.initCheckTree();
              }
            case 2:
              return _context.a(2);
          }
        }, _callee);
      }))();
    },
    /**
     * @description 目录树子节点数据调整
     * @param {Array} treeData
     */
    dealUserTree: function dealUserTree(treeData) {
      var _this2 = this;
      _.forEach(treeData, function (treeItem) {
        if (treeItem.childen) {
          treeItem.keyId = treeItem.organizationUnitId;
          treeItem.name = treeItem.organizationUnitName;
          if (treeItem.userList) {
            var _treeItem$childen;
            _.forEach(treeItem.userList, function (userItem) {
              userItem.keyId = treeItem.organizationUnitId + userItem.id;
              userItem.organizationUnitId = treeItem.organizationUnitId;
              userItem.organizationUnitName = treeItem.organizationUnitName;
            });
            (_treeItem$childen = treeItem.childen).push.apply(_treeItem$childen, Object(toConsumableArray["a" /* default */])(treeItem.userList));
          }
          _this2.dealUserTree(treeItem.childen);
        }
      });
    },
    /**
     * @description 获取目录树下不同组织下的同一人员(id相同)
     * @param {Array} treeData
     * @param {String} keyId 需查询的人员id
     * @returns personList
     */
    getPerson: function getPerson(treeData, keyId) {
      var _this3 = this;
      var personList = [];
      _.forEach(treeData, function (treeItem) {
        if (treeItem.childen) {
          var resultList = _this3.getPerson(treeItem.childen, keyId);
          personList.push.apply(personList, Object(toConsumableArray["a" /* default */])(resultList));
        }
        if (treeItem.userList) {
          _.forEach(treeItem.userList, function (userItem) {
            if (userItem.id === keyId) {
              personList.push(userItem);
            }
          });
        }
      });
      return personList;
    },
    /**
     * @description 初始化目录树默认勾选人员
     */
    initCheckTree: function initCheckTree() {
      var _this4 = this;
      this.$nextTick(function () {
        var _this4$$refs$treeRef2;
        var keyIds = [];
        var selectedKeyIds = _.map(_this4.selectedPersonList, 'keyId');
        var selectedNodeList = [];
        selectedKeyIds.forEach(function (item) {
          var _this4$$refs$treeRef, _this4$$refs$treeRef$;
          var data = (_this4$$refs$treeRef = _this4.$refs.treeRef) === null || _this4$$refs$treeRef === void 0 ? void 0 : (_this4$$refs$treeRef$ = _this4$$refs$treeRef.getNode(item)) === null || _this4$$refs$treeRef$ === void 0 ? void 0 : _this4$$refs$treeRef$.data;
          if (!data) return;
          var singleData = _this4.getPerson(_this4.treeData, data.id);
          if (singleData.length) {
            var props = _.map(singleData, 'keyId');
            singleData.forEach(function (val) {
              val.keyIds = props;
              keyIds.push(val.keyId);
            });
            selectedNodeList.push(singleData[0]);
          }
        });
        (_this4$$refs$treeRef2 = _this4.$refs.treeRef) === null || _this4$$refs$treeRef2 === void 0 ? void 0 : _this4$$refs$treeRef2.setCheckedKeys(keyIds);
        _this4.selectedNodeList = selectedNodeList;
      });
    },
    /**
     * @description 目录树搜索
     */
    searchTree: function searchTree() {
      this.$refs.treeRef.filter(this.directoryTreeKeyWords);
    },
    /**
     * @description 目录树过滤
     */
    treeFilterMethod: function treeFilterMethod(value, data) {
      if (!value) return true;
      return data.name && data.name.indexOf(value) !== -1;
    },
    /**
     * @description 目录树节点勾选变化
     */
    checkNodeChange: function checkNodeChange(data, isCheck) {
      var _this5 = this;
      if (isCheck) {
        // 勾选
        if (data.childen) return;
        var findIndex = _.findIndex(this.selectedNodeList, function (selectedItem) {
          var _selectedItem$keyIds;
          return (_selectedItem$keyIds = selectedItem.keyIds) === null || _selectedItem$keyIds === void 0 ? void 0 : _selectedItem$keyIds.includes(data.keyId);
        });
        if (findIndex === -1) {
          // 不同组织下的同一人员，也需勾选
          var repeatPersonList = this.getPerson(this.treeData, data.id);
          this.selectedNodeList.push(Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, data), {}, {
            organizationUnitIdList: _.map(repeatPersonList, 'organizationUnitId'),
            // 记录所有不同组织下的同一人员的组织
            organizationUnitNameList: _.map(repeatPersonList, 'organizationUnitName'),
            // 记录所有不同组织下的同一人员的组织
            keyIds: _.map(repeatPersonList, 'keyId') // 记录所有不同组织下的同一人员的keyId
          }));
          _.forEach(repeatPersonList, function (personItem) {
            if (personItem.keyId === data.keyId) return;
            _this5.$refs.treeRef && _this5.$refs.treeRef.setChecked(personItem.keyId, true);
          });
        }
      } else {
        // 取消勾选
        if (data.childen) return;
        var _findIndex = _.findIndex(this.selectedNodeList, function (selectedItem) {
          var _selectedItem$keyIds2;
          return (_selectedItem$keyIds2 = selectedItem.keyIds) === null || _selectedItem$keyIds2 === void 0 ? void 0 : _selectedItem$keyIds2.includes(data.keyId);
        });
        if (_findIndex !== -1) {
          this.selectedNodeList.splice(_findIndex, 1);
          // 不同组织下的同一人员，也需取消勾选
          var _repeatPersonList = this.getPerson(this.treeData, data.id);
          _.forEach(_repeatPersonList, function (personItem) {
            if (personItem.keyId === data.keyId) return;
            _this5.$refs.treeRef && _this5.$refs.treeRef.setChecked(personItem.keyId, false);
          });
        }
      }
    },
    /**
     * @description 创建人员选择
     */
    createMember: function createMember() {
      this.$emit('getSelectedList', this.selectedNodeList);
      this.dialogVisible = false;
    },
    /**
     * @description 清空已勾选
     */
    clearSelected: function clearSelected() {
      this.selectedNodeList = [];
      this.defaultCheckedList = [];
      this.$refs.treeRef && this.$refs.treeRef.setCheckedKeys([]);
    },
    /**
     * @description 删除已勾选
     * @param {Object} deleteItem 删除项数据
     */
    deleteSelected: function deleteSelected(deleteItem) {
      var _this6 = this;
      var deleteIndex = _.findIndex(this.selectedNodeList, function (selectedItem) {
        return selectedItem.keyId === deleteItem.keyId;
      });
      if (deleteIndex !== -1) {
        this.selectedNodeList.splice(deleteIndex, 1);
        var repeatPersonList = this.getPerson(this.treeData, deleteItem.id);
        _.forEach(repeatPersonList, function (personItem) {
          _this6.$refs.treeRef && _this6.$refs.treeRef.setChecked(personItem.keyId, false);
        });
      }
    }
  }
});
// CONCATENATED MODULE: ./src/components/safety/WizSafetyPage/safetyFactor/SelectPeople.vue?vue&type=script&lang=js
 /* harmony default export */ var safetyFactor_SelectPeoplevue_type_script_lang_js = (SelectPeoplevue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/components/safety/WizSafetyPage/safetyFactor/SelectPeople.vue?vue&type=style&index=0&id=395e2272&prod&lang=scss&scoped=true
var SelectPeoplevue_type_style_index_0_id_395e2272_prod_lang_scss_scoped_true = __webpack_require__("497f");

// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
var componentNormalizer = __webpack_require__("2877");

// CONCATENATED MODULE: ./src/components/safety/WizSafetyPage/safetyFactor/SelectPeople.vue






/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  safetyFactor_SelectPeoplevue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  null,
  "395e2272",
  null
  
)

/* harmony default export */ var SelectPeople = __webpack_exports__["default"] = (component.exports);

/***/ }),

/***/ "71fb":
/***/ (function(module, exports, __webpack_require__) {

// style-loader: Adds some css to the DOM by adding a <style> tag

// load the styles
var content = __webpack_require__("ab3f");
if(content.__esModule) content = content.default;
if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals;
// add the styles to the DOM
var add = __webpack_require__("499e").default
var update = add("9d07bf24", content, true, {"sourceMap":false,"shadowMode":false});

/***/ }),

/***/ "a434":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var toObject = __webpack_require__("7b0b");
var toAbsoluteIndex = __webpack_require__("23cb");
var toIntegerOrInfinity = __webpack_require__("5926");
var lengthOfArrayLike = __webpack_require__("07fa");
var setArrayLength = __webpack_require__("3a34");
var doesNotExceedSafeInteger = __webpack_require__("3511");
var arraySpeciesCreate = __webpack_require__("65f0");
var createProperty = __webpack_require__("8418");
var deletePropertyOrThrow = __webpack_require__("083a");
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");

var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');

var max = Math.max;
var min = Math.min;

// `Array.prototype.splice` method
// https://tc39.es/ecma262/#sec-array.prototype.splice
// with adding support of @@species
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
  splice: function splice(start, deleteCount /* , ...items */) {
    var O = toObject(this);
    var len = lengthOfArrayLike(O);
    var actualStart = toAbsoluteIndex(start, len);
    var argumentsLength = arguments.length;
    var insertCount, actualDeleteCount, A, k, from, to;
    if (argumentsLength === 0) {
      insertCount = actualDeleteCount = 0;
    } else if (argumentsLength === 1) {
      insertCount = 0;
      actualDeleteCount = len - actualStart;
    } else {
      insertCount = argumentsLength - 2;
      actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);
    }
    doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);
    A = arraySpeciesCreate(O, actualDeleteCount);
    for (k = 0; k < actualDeleteCount; k++) {
      from = actualStart + k;
      if (from in O) createProperty(A, k, O[from]);
    }
    A.length = actualDeleteCount;
    if (insertCount < actualDeleteCount) {
      for (k = actualStart; k < len - actualDeleteCount; k++) {
        from = k + actualDeleteCount;
        to = k + insertCount;
        if (from in O) O[to] = O[from];
        else deletePropertyOrThrow(O, to);
      }
      for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);
    } else if (insertCount > actualDeleteCount) {
      for (k = len - actualDeleteCount; k > actualStart; k--) {
        from = k + actualDeleteCount - 1;
        to = k + insertCount - 1;
        if (from in O) O[to] = O[from];
        else deletePropertyOrThrow(O, to);
      }
    }
    for (k = 0; k < insertCount; k++) {
      O[k + actualStart] = arguments[k + 2];
    }
    setArrayLength(O, len - actualDeleteCount + insertCount);
    return A;
  }
});


/***/ }),

/***/ "ab3f":
/***/ (function(module, exports, __webpack_require__) {

exports = module.exports = __webpack_require__("2350")(false);
// imports


// module
exports.push([module.i, "[data-v-395e2272] .el-form-item__label{text-align:right}[data-v-395e2272] .el-card__body{height:100%}.people-list[data-v-395e2272]{height:calc(100% - 116px)}.tree-box[data-v-395e2272]{height:calc(100% - 46px)}", ""]);

// exports


/***/ }),

/***/ "c740":
/***/ (function(module, exports, __webpack_require__) {

"use strict";

var $ = __webpack_require__("23e7");
var $findIndex = __webpack_require__("b727").findIndex;
var addToUnscopables = __webpack_require__("44d2");

var FIND_INDEX = 'findIndex';
var SKIPS_HOLES = true;

// Shouldn't skip holes
// eslint-disable-next-line es/no-array-prototype-findindex -- testing
if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });

// `Array.prototype.findIndex` method
// https://tc39.es/ecma262/#sec-array.prototype.findindex
$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
  findIndex: function findIndex(callbackfn /* , that = undefined */) {
    return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
  }
});

// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
addToUnscopables(FIND_INDEX);


/***/ })

}]);
//# sourceMappingURL=contractor-management-sm.umd.36.js.map