((typeof self !== 'undefined' ? self : this)["webpackJsonpdouble_prevention_management_sm"] = (typeof self !== 'undefined' ? self : this)["webpackJsonpdouble_prevention_management_sm"] || []).push([[5],{

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

"use strict";

var collection = __webpack_require__("6d61");
var collectionStrong = __webpack_require__("6566");

// `Set` constructor
// https://tc39.es/ecma262/#sec-set-objects
collection('Set', function (init) {
  return function Set() { return init(this, arguments.length ? arguments[0] : undefined); };
}, collectionStrong);


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var symmetricDifference = __webpack_require__("9961");
var setMethodAcceptSetLike = __webpack_require__("dad2");

// `Set.prototype.symmetricDifference` method
// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, {
  symmetricDifference: symmetricDifference
});


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var difference = __webpack_require__("a5f7");
var setMethodAcceptSetLike = __webpack_require__("dad2");

var INCORRECT = !setMethodAcceptSetLike('difference', function (result) {
  return result.size === 0;
});

// `Set.prototype.difference` method
// https://tc39.es/ecma262/#sec-set.prototype.difference
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
  difference: difference
});


/***/ }),

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

"use strict";

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

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

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

// 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/@babel/runtime/helpers/esm/classCallCheck.js
var classCallCheck = __webpack_require__("d4ec");

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

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
var es_array_concat = __webpack_require__("99af");

// 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.promise.js
var es_promise = __webpack_require__("e6cf");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
var es_regexp_exec = __webpack_require__("ac1f");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.to-string.js
var es_regexp_to_string = __webpack_require__("25f0");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match.js
var es_string_match = __webpack_require__("466d");

// EXTERNAL MODULE: ./node_modules/superagent/lib/client.js
var client = __webpack_require__("db82");
var client_default = /*#__PURE__*/__webpack_require__.n(client);

// CONCATENATED MODULE: ./src/modules/double-prevention-management-sm/assets/utils/superagent.js









var toType = function toType(obj) {
  return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase();
};
var handleResult = function handleResult(request) {
  return new Promise(function (resolve) {
    request.end(function (err, res) {
      if (err) {
        var _err$response;
        resolve([((_err$response = err.response) === null || _err$response === void 0 ? void 0 : _err$response.body) || err, null]);
      } else {
        resolve([null, res.body]);
      }
    });
  });
};
var commonHeader = {
  'Content-Type': 'application/json;chatset=utf-8'
};
var superagent_SuperagentApi = /*#__PURE__*/function () {
  function SuperagentApi(_ref) {
    var baseUrl = _ref.baseUrl;
    Object(classCallCheck["a" /* default */])(this, SuperagentApi);
    this.agent = client_default.a;
    this.baseUrl = baseUrl;
  }
  /**
   *
   * @param {String} api 接口路由
   * @param {Object} params1 扩展对象，满足不同类型参数传递，params为url携带参数,headers为自定义头参数
   * @returns
   */
  return Object(createClass["a" /* default */])(SuperagentApi, [{
    key: "get",
    value: function get(api, _ref2) {
      var params = _ref2.params,
        _ref2$headers = _ref2.headers,
        headers = _ref2$headers === void 0 ? commonHeader : _ref2$headers;
      var request = this.agent.get("".concat(this.baseUrl).concat(api));
      request.set(headers);
      request.query(params);
      return handleResult(request);
    }
    /**
     *
     * @param {String} api 接口路由
     * @param {Object} params1 扩展对象，满足不同类型参数传递，data为body参数，params为url携带参数,headers为自定义头参数
     * @returns
     */
  }, {
    key: "post",
    value: function post(api, _ref3) {
      var data = _ref3.data,
        params = _ref3.params,
        _ref3$headers = _ref3.headers,
        headers = _ref3$headers === void 0 ? commonHeader : _ref3$headers;
      var type = 'json';
      if (toType(data) === 'formdata') {
        type = 'form';
      }
      var request = this.agent.post("".concat(this.baseUrl).concat(api));
      request.type(type);
      request.set(headers);
      request.query(params);
      request.send(data);
      return handleResult(request);
    }
    /**
     *
     * @param {String} api 接口路由
     * @param {Object} params1 扩展对象，满足不同类型参数传递，params为url携带参数,headers为自定义头参数
     * @returns
     */
  }, {
    key: "delete",
    value: function _delete(api, _ref4) {
      var params = _ref4.params,
        _ref4$headers = _ref4.headers,
        headers = _ref4$headers === void 0 ? commonHeader : _ref4$headers;
      var request = this.agent.del("".concat(this.baseUrl).concat(api));
      request.set(headers);
      request.query(params);
      return handleResult(request);
    }
  }]);
}();

// CONCATENATED MODULE: ./src/modules/double-prevention-management-sm/services/DiyService.js








var token = Wiz.AuthHooks.GetToken();
var headers = {
  Authorization: "Bearer ".concat(localStorage.getItem('authorization') || token)
};
console.log(headers, 111111111);
var superagentApi = new superagent_SuperagentApi({
  baseUrl: window.ApiBase || 'http://pr.code.wiz.top:1052'
});
var DiyService_DiyService = /*#__PURE__*/function () {
  function DiyService() {
    Object(classCallCheck["a" /* default */])(this, DiyService);
  }
  return Object(createClass["a" /* default */])(DiyService, null, [{
    key: "getTableData",
    value: // 获取列表数据
    function () {
      var _getTableData = Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee(payload) {
        var _yield$superagentApi$, _yield$superagentApi$2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              _context.next = 2;
              return superagentApi.post('/api/FormEngine/getTableData', {
                data: payload,
                headers: headers
              });
            case 2:
              _yield$superagentApi$ = _context.sent;
              _yield$superagentApi$2 = Object(slicedToArray["a" /* default */])(_yield$superagentApi$, 2);
              err = _yield$superagentApi$2[0];
              res = _yield$superagentApi$2[1];
              return _context.abrupt("return", [err, res]);
            case 7:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }));
      function getTableData(_x) {
        return _getTableData.apply(this, arguments);
      }
      return getTableData;
    }() // 获取节点审批人
  }, {
    key: "getNodeConfirmUsers",
    value: function () {
      var _getNodeConfirmUsers = Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2(payload) {
        var _yield$superagentApi$3, _yield$superagentApi$4, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              _context2.next = 2;
              return superagentApi.post('/api/WorkFlow/GetNodeConfirmUsers', {
                data: payload,
                headers: Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, headers), {}, {
                  'Content-Type': 'application/x-www-form-urlencoded'
                })
              });
            case 2:
              _yield$superagentApi$3 = _context2.sent;
              _yield$superagentApi$4 = Object(slicedToArray["a" /* default */])(_yield$superagentApi$3, 2);
              err = _yield$superagentApi$4[0];
              res = _yield$superagentApi$4[1];
              return _context2.abrupt("return", [err, res]);
            case 7:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }));
      function getNodeConfirmUsers(_x2) {
        return _getNodeConfirmUsers.apply(this, arguments);
      }
      return getNodeConfirmUsers;
    }() // 获取下一节点审批人
  }, {
    key: "getNextNodeConfirmUsers",
    value: function () {
      var _getNextNodeConfirmUsers = Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee3(payload) {
        var _yield$superagentApi$5, _yield$superagentApi$6, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee3$(_context3) {
          while (1) switch (_context3.prev = _context3.next) {
            case 0:
              _context3.next = 2;
              return superagentApi.post('/api/WorkFlow/getNextNodeConfirmUsers', {
                data: payload,
                headers: Object(objectSpread2["a" /* default */])(Object(objectSpread2["a" /* default */])({}, headers), {}, {
                  'Content-Type': 'application/x-www-form-urlencoded'
                })
              });
            case 2:
              _yield$superagentApi$5 = _context3.sent;
              _yield$superagentApi$6 = Object(slicedToArray["a" /* default */])(_yield$superagentApi$5, 2);
              err = _yield$superagentApi$6[0];
              res = _yield$superagentApi$6[1];
              return _context3.abrupt("return", [err, res]);
            case 7:
            case "end":
              return _context3.stop();
          }
        }, _callee3);
      }));
      function getNextNodeConfirmUsers(_x3) {
        return _getNextNodeConfirmUsers.apply(this, arguments);
      }
      return getNextNodeConfirmUsers;
    }()
  }]);
}();


/***/ }),

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

"use strict";

var uncurryThis = __webpack_require__("e330");
var iterateSimple = __webpack_require__("5388");
var SetHelpers = __webpack_require__("cb27");

var Set = SetHelpers.Set;
var SetPrototype = SetHelpers.proto;
var forEach = uncurryThis(SetPrototype.forEach);
var keys = uncurryThis(SetPrototype.keys);
var next = keys(new Set()).next;

module.exports = function (set, fn, interruptible) {
  return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn);
};


/***/ }),

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

"use strict";

var aSet = __webpack_require__("dc19");
var has = __webpack_require__("cb27").has;
var size = __webpack_require__("8e16");
var getSetRecord = __webpack_require__("7f65");
var iterateSimple = __webpack_require__("5388");
var iteratorClose = __webpack_require__("2a62");

// `Set.prototype.isSupersetOf` method
// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf
module.exports = function isSupersetOf(other) {
  var O = aSet(this);
  var otherRec = getSetRecord(other);
  if (size(O) < otherRec.size) return false;
  var iterator = otherRec.getIterator();
  return iterateSimple(iterator, function (e) {
    if (!has(O, e)) return iteratorClose(iterator, 'normal', false);
  }) !== false;
};


/***/ }),

/***/ "4336":
/***/ (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__("90fd");
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("28a7cfbe", content, true, {"sourceMap":false,"shadowMode":false});

/***/ }),

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

"use strict";

var call = __webpack_require__("c65b");

module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
  var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
  var next = record.next;
  var step, result;
  while (!(step = call(next, iterator)).done) {
    result = fn(step.value);
    if (result !== undefined) return result;
  }
};


/***/ }),

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

"use strict";

// TODO: Remove this module from `core-js@4` since it's replaced to module below
__webpack_require__("1c59");


/***/ }),

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

"use strict";

var create = __webpack_require__("7c73");
var defineBuiltInAccessor = __webpack_require__("edd0");
var defineBuiltIns = __webpack_require__("6964");
var bind = __webpack_require__("0366");
var anInstance = __webpack_require__("19aa");
var isNullOrUndefined = __webpack_require__("7234");
var iterate = __webpack_require__("2266");
var defineIterator = __webpack_require__("c6d2");
var createIterResultObject = __webpack_require__("4754");
var setSpecies = __webpack_require__("2626");
var DESCRIPTORS = __webpack_require__("83ab");
var fastKey = __webpack_require__("f183").fastKey;
var InternalStateModule = __webpack_require__("69f3");

var setInternalState = InternalStateModule.set;
var internalStateGetterFor = InternalStateModule.getterFor;

module.exports = {
  getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) {
    var Constructor = wrapper(function (that, iterable) {
      anInstance(that, Prototype);
      setInternalState(that, {
        type: CONSTRUCTOR_NAME,
        index: create(null),
        first: null,
        last: null,
        size: 0
      });
      if (!DESCRIPTORS) that.size = 0;
      if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
    });

    var Prototype = Constructor.prototype;

    var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME);

    var define = function (that, key, value) {
      var state = getInternalState(that);
      var entry = getEntry(that, key);
      var previous, index;
      // change existing entry
      if (entry) {
        entry.value = value;
      // create new entry
      } else {
        state.last = entry = {
          index: index = fastKey(key, true),
          key: key,
          value: value,
          previous: previous = state.last,
          next: null,
          removed: false
        };
        if (!state.first) state.first = entry;
        if (previous) previous.next = entry;
        if (DESCRIPTORS) state.size++;
        else that.size++;
        // add to index
        if (index !== 'F') state.index[index] = entry;
      } return that;
    };

    var getEntry = function (that, key) {
      var state = getInternalState(that);
      // fast case
      var index = fastKey(key);
      var entry;
      if (index !== 'F') return state.index[index];
      // frozen object case
      for (entry = state.first; entry; entry = entry.next) {
        if (entry.key === key) return entry;
      }
    };

    defineBuiltIns(Prototype, {
      // `{ Map, Set }.prototype.clear()` methods
      // https://tc39.es/ecma262/#sec-map.prototype.clear
      // https://tc39.es/ecma262/#sec-set.prototype.clear
      clear: function clear() {
        var that = this;
        var state = getInternalState(that);
        var entry = state.first;
        while (entry) {
          entry.removed = true;
          if (entry.previous) entry.previous = entry.previous.next = null;
          entry = entry.next;
        }
        state.first = state.last = null;
        state.index = create(null);
        if (DESCRIPTORS) state.size = 0;
        else that.size = 0;
      },
      // `{ Map, Set }.prototype.delete(key)` methods
      // https://tc39.es/ecma262/#sec-map.prototype.delete
      // https://tc39.es/ecma262/#sec-set.prototype.delete
      'delete': function (key) {
        var that = this;
        var state = getInternalState(that);
        var entry = getEntry(that, key);
        if (entry) {
          var next = entry.next;
          var prev = entry.previous;
          delete state.index[entry.index];
          entry.removed = true;
          if (prev) prev.next = next;
          if (next) next.previous = prev;
          if (state.first === entry) state.first = next;
          if (state.last === entry) state.last = prev;
          if (DESCRIPTORS) state.size--;
          else that.size--;
        } return !!entry;
      },
      // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods
      // https://tc39.es/ecma262/#sec-map.prototype.foreach
      // https://tc39.es/ecma262/#sec-set.prototype.foreach
      forEach: function forEach(callbackfn /* , that = undefined */) {
        var state = getInternalState(this);
        var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined);
        var entry;
        while (entry = entry ? entry.next : state.first) {
          boundFunction(entry.value, entry.key, this);
          // revert to the last existing entry
          while (entry && entry.removed) entry = entry.previous;
        }
      },
      // `{ Map, Set}.prototype.has(key)` methods
      // https://tc39.es/ecma262/#sec-map.prototype.has
      // https://tc39.es/ecma262/#sec-set.prototype.has
      has: function has(key) {
        return !!getEntry(this, key);
      }
    });

    defineBuiltIns(Prototype, IS_MAP ? {
      // `Map.prototype.get(key)` method
      // https://tc39.es/ecma262/#sec-map.prototype.get
      get: function get(key) {
        var entry = getEntry(this, key);
        return entry && entry.value;
      },
      // `Map.prototype.set(key, value)` method
      // https://tc39.es/ecma262/#sec-map.prototype.set
      set: function set(key, value) {
        return define(this, key === 0 ? 0 : key, value);
      }
    } : {
      // `Set.prototype.add(value)` method
      // https://tc39.es/ecma262/#sec-set.prototype.add
      add: function add(value) {
        return define(this, value = value === 0 ? 0 : value, value);
      }
    });
    if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', {
      configurable: true,
      get: function () {
        return getInternalState(this).size;
      }
    });
    return Constructor;
  },
  setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) {
    var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator';
    var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME);
    var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME);
    // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods
    // https://tc39.es/ecma262/#sec-map.prototype.entries
    // https://tc39.es/ecma262/#sec-map.prototype.keys
    // https://tc39.es/ecma262/#sec-map.prototype.values
    // https://tc39.es/ecma262/#sec-map.prototype-@@iterator
    // https://tc39.es/ecma262/#sec-set.prototype.entries
    // https://tc39.es/ecma262/#sec-set.prototype.keys
    // https://tc39.es/ecma262/#sec-set.prototype.values
    // https://tc39.es/ecma262/#sec-set.prototype-@@iterator
    defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) {
      setInternalState(this, {
        type: ITERATOR_NAME,
        target: iterated,
        state: getInternalCollectionState(iterated),
        kind: kind,
        last: null
      });
    }, function () {
      var state = getInternalIteratorState(this);
      var kind = state.kind;
      var entry = state.last;
      // revert to the last existing entry
      while (entry && entry.removed) entry = entry.previous;
      // get next entry
      if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) {
        // or finish the iteration
        state.target = null;
        return createIterResultObject(undefined, true);
      }
      // return step by kind
      if (kind === 'keys') return createIterResultObject(entry.key, false);
      if (kind === 'values') return createIterResultObject(entry.value, false);
      return createIterResultObject([entry.key, entry.value], false);
    }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);

    // `{ Map, Set }.prototype[@@species]` accessors
    // https://tc39.es/ecma262/#sec-get-map-@@species
    // https://tc39.es/ecma262/#sec-get-set-@@species
    setSpecies(CONSTRUCTOR_NAME);
  }
};


/***/ }),

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

"use strict";

var aSet = __webpack_require__("dc19");
var size = __webpack_require__("8e16");
var iterate = __webpack_require__("384f");
var getSetRecord = __webpack_require__("7f65");

// `Set.prototype.isSubsetOf` method
// https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf
module.exports = function isSubsetOf(other) {
  var O = aSet(this);
  var otherRec = getSetRecord(other);
  if (size(O) > otherRec.size) return false;
  return iterate(O, function (e) {
    if (!otherRec.includes(e)) return false;
  }, true) !== false;
};


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var globalThis = __webpack_require__("cfe9");
var uncurryThis = __webpack_require__("e330");
var isForced = __webpack_require__("94ca");
var defineBuiltIn = __webpack_require__("cb2d");
var InternalMetadataModule = __webpack_require__("f183");
var iterate = __webpack_require__("2266");
var anInstance = __webpack_require__("19aa");
var isCallable = __webpack_require__("1626");
var isNullOrUndefined = __webpack_require__("7234");
var isObject = __webpack_require__("861d");
var fails = __webpack_require__("d039");
var checkCorrectnessOfIteration = __webpack_require__("1c7e");
var setToStringTag = __webpack_require__("d44e");
var inheritIfRequired = __webpack_require__("7156");

module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
  var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1;
  var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1;
  var ADDER = IS_MAP ? 'set' : 'add';
  var NativeConstructor = globalThis[CONSTRUCTOR_NAME];
  var NativePrototype = NativeConstructor && NativeConstructor.prototype;
  var Constructor = NativeConstructor;
  var exported = {};

  var fixMethod = function (KEY) {
    var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]);
    defineBuiltIn(NativePrototype, KEY,
      KEY === 'add' ? function add(value) {
        uncurriedNativeMethod(this, value === 0 ? 0 : value);
        return this;
      } : KEY === 'delete' ? function (key) {
        return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
      } : KEY === 'get' ? function get(key) {
        return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key);
      } : KEY === 'has' ? function has(key) {
        return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key);
      } : function set(key, value) {
        uncurriedNativeMethod(this, key === 0 ? 0 : key, value);
        return this;
      }
    );
  };

  var REPLACE = isForced(
    CONSTRUCTOR_NAME,
    !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {
      new NativeConstructor().entries().next();
    }))
  );

  if (REPLACE) {
    // create collection constructor
    Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER);
    InternalMetadataModule.enable();
  } else if (isForced(CONSTRUCTOR_NAME, true)) {
    var instance = new Constructor();
    // early implementations not supports chaining
    var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance;
    // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
    var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
    // most early implementations doesn't supports iterables, most modern - not close it correctly
    // eslint-disable-next-line no-new -- required for testing
    var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); });
    // for early implementations -0 and +0 not the same
    var BUGGY_ZERO = !IS_WEAK && fails(function () {
      // V8 ~ Chromium 42- fails only with 5+ elements
      var $instance = new NativeConstructor();
      var index = 5;
      while (index--) $instance[ADDER](index, index);
      return !$instance.has(-0);
    });

    if (!ACCEPT_ITERABLES) {
      Constructor = wrapper(function (dummy, iterable) {
        anInstance(dummy, NativePrototype);
        var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor);
        if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP });
        return that;
      });
      Constructor.prototype = NativePrototype;
      NativePrototype.constructor = Constructor;
    }

    if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {
      fixMethod('delete');
      fixMethod('has');
      IS_MAP && fixMethod('get');
    }

    if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);

    // weak collections should not contains .clear method
    if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear;
  }

  exported[CONSTRUCTOR_NAME] = Constructor;
  $({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported);

  setToStringTag(Constructor, CONSTRUCTOR_NAME);

  if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP);

  return Constructor;
};


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var union = __webpack_require__("e9bc");
var setMethodAcceptSetLike = __webpack_require__("dad2");

// `Set.prototype.union` method
// https://tc39.es/ecma262/#sec-set.prototype.union
$({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
  union: union
});


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var fails = __webpack_require__("d039");
var intersection = __webpack_require__("953b");
var setMethodAcceptSetLike = __webpack_require__("dad2");

var INCORRECT = !setMethodAcceptSetLike('intersection', function (result) {
  return result.size === 2 && result.has(1) && result.has(2);
}) || fails(function () {
  // eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
  return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
});

// `Set.prototype.intersection` method
// https://tc39.es/ecma262/#sec-set.prototype.intersection
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
  intersection: intersection
});


/***/ }),

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

"use strict";

var aCallable = __webpack_require__("59ed");
var anObject = __webpack_require__("825a");
var call = __webpack_require__("c65b");
var toIntegerOrInfinity = __webpack_require__("5926");
var getIteratorDirect = __webpack_require__("46c4");

var INVALID_SIZE = 'Invalid size';
var $RangeError = RangeError;
var $TypeError = TypeError;
var max = Math.max;

var SetRecord = function (set, intSize) {
  this.set = set;
  this.size = max(intSize, 0);
  this.has = aCallable(set.has);
  this.keys = aCallable(set.keys);
};

SetRecord.prototype = {
  getIterator: function () {
    return getIteratorDirect(anObject(call(this.keys, this.set)));
  },
  includes: function (it) {
    return call(this.has, this.set, it);
  }
};

// `GetSetRecord` abstract operation
// https://tc39.es/proposal-set-methods/#sec-getsetrecord
module.exports = function (obj) {
  anObject(obj);
  var numSize = +obj.size;
  // NOTE: If size is undefined, then numSize will be NaN
  // eslint-disable-next-line no-self-compare -- NaN check
  if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
  var intSize = toIntegerOrInfinity(numSize);
  if (intSize < 0) throw new $RangeError(INVALID_SIZE);
  return new SetRecord(obj, intSize);
};


/***/ }),

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

"use strict";

var SetHelpers = __webpack_require__("cb27");
var iterate = __webpack_require__("384f");

var Set = SetHelpers.Set;
var add = SetHelpers.add;

module.exports = function (set) {
  var result = new Set();
  iterate(set, function (it) {
    add(result, it);
  });
  return result;
};


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var isSubsetOf = __webpack_require__("68df");
var setMethodAcceptSetLike = __webpack_require__("dad2");

var INCORRECT = !setMethodAcceptSetLike('isSubsetOf', function (result) {
  return result;
});

// `Set.prototype.isSubsetOf` method
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
  isSubsetOf: isSubsetOf
});


/***/ }),

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

"use strict";

var uncurryThisAccessor = __webpack_require__("7282");
var SetHelpers = __webpack_require__("cb27");

module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) {
  return set.size;
};


/***/ }),

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

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


// module
exports.push([module.i, ".tree[data-v-6131cbb9]{height:calc(100% - 74px)}.tree[data-v-6131cbb9]  .el-tree-node__content{height:35px}.tree[data-v-6131cbb9]  .el-tree-node__content .node-item{width:calc(100% - 24px)}.tree[data-v-6131cbb9]  .el-tree-node__content .node-item .custom-tree-node{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px}[data-v-6131cbb9] .el-select-dropdown__item{background-color:#fff!important;overflow:hidden;-ms-flex-wrap:nowrap;flex-wrap:nowrap}[data-v-6131cbb9] .el-card__body{height:100%}[data-v-6131cbb9] .el-input__validateIcon{display:none}.vertial-border[data-v-6131cbb9]{background-color:#0086f7}", ""]);

// exports


/***/ }),

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

"use strict";

var aSet = __webpack_require__("dc19");
var SetHelpers = __webpack_require__("cb27");
var size = __webpack_require__("8e16");
var getSetRecord = __webpack_require__("7f65");
var iterateSet = __webpack_require__("384f");
var iterateSimple = __webpack_require__("5388");

var Set = SetHelpers.Set;
var add = SetHelpers.add;
var has = SetHelpers.has;

// `Set.prototype.intersection` method
// https://github.com/tc39/proposal-set-methods
module.exports = function intersection(other) {
  var O = aSet(this);
  var otherRec = getSetRecord(other);
  var result = new Set();

  if (size(O) > otherRec.size) {
    iterateSimple(otherRec.getIterator(), function (e) {
      if (has(O, e)) add(result, e);
    });
  } else {
    iterateSet(O, function (e) {
      if (otherRec.includes(e)) add(result, e);
    });
  }

  return result;
};


/***/ }),

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

"use strict";

var aSet = __webpack_require__("dc19");
var SetHelpers = __webpack_require__("cb27");
var clone = __webpack_require__("83b9");
var getSetRecord = __webpack_require__("7f65");
var iterateSimple = __webpack_require__("5388");

var add = SetHelpers.add;
var has = SetHelpers.has;
var remove = SetHelpers.remove;

// `Set.prototype.symmetricDifference` method
// https://github.com/tc39/proposal-set-methods
module.exports = function symmetricDifference(other) {
  var O = aSet(this);
  var keysIter = getSetRecord(other).getIterator();
  var result = clone(O);
  iterateSimple(keysIter, function (e) {
    if (has(O, e)) remove(result, e);
    else add(result, e);
  });
  return result;
};


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var isSupersetOf = __webpack_require__("395e");
var setMethodAcceptSetLike = __webpack_require__("dad2");

var INCORRECT = !setMethodAcceptSetLike('isSupersetOf', function (result) {
  return !result;
});

// `Set.prototype.isSupersetOf` method
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
  isSupersetOf: isSupersetOf
});


/***/ }),

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

"use strict";

var aSet = __webpack_require__("dc19");
var SetHelpers = __webpack_require__("cb27");
var clone = __webpack_require__("83b9");
var size = __webpack_require__("8e16");
var getSetRecord = __webpack_require__("7f65");
var iterateSet = __webpack_require__("384f");
var iterateSimple = __webpack_require__("5388");

var has = SetHelpers.has;
var remove = SetHelpers.remove;

// `Set.prototype.difference` method
// https://github.com/tc39/proposal-set-methods
module.exports = function difference(other) {
  var O = aSet(this);
  var otherRec = getSetRecord(other);
  var result = clone(O);
  if (size(O) <= otherRec.size) iterateSet(O, function (e) {
    if (otherRec.includes(e)) remove(result, e);
  });
  else iterateSimple(otherRec.getIterator(), function (e) {
    if (has(O, e)) remove(result, e);
  });
  return result;
};


/***/ }),

/***/ "a9c7":
/***/ (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_SelecWorkFlowtUser_vue_vue_type_style_index_0_id_6131cbb9_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4336");
/* 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_SelecWorkFlowtUser_vue_vue_type_style_index_0_id_6131cbb9_prod_scoped_true_lang_scss__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_SelecWorkFlowtUser_vue_vue_type_style_index_0_id_6131cbb9_prod_scoped_true_lang_scss__WEBPACK_IMPORTED_MODULE_0__);
/* unused harmony reexport * */


/***/ }),

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

"use strict";

var aSet = __webpack_require__("dc19");
var has = __webpack_require__("cb27").has;
var size = __webpack_require__("8e16");
var getSetRecord = __webpack_require__("7f65");
var iterateSet = __webpack_require__("384f");
var iterateSimple = __webpack_require__("5388");
var iteratorClose = __webpack_require__("2a62");

// `Set.prototype.isDisjointFrom` method
// https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom
module.exports = function isDisjointFrom(other) {
  var O = aSet(this);
  var otherRec = getSetRecord(other);
  if (size(O) <= otherRec.size) return iterateSet(O, function (e) {
    if (otherRec.includes(e)) return false;
  }, true) !== false;
  var iterator = otherRec.getIterator();
  return iterateSimple(iterator, function (e) {
    if (has(O, e)) return iteratorClose(iterator, 'normal', false);
  }) !== false;
};


/***/ }),

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

"use strict";

var $ = __webpack_require__("23e7");
var isDisjointFrom = __webpack_require__("b4bc");
var setMethodAcceptSetLike = __webpack_require__("dad2");

var INCORRECT = !setMethodAcceptSetLike('isDisjointFrom', function (result) {
  return !result;
});

// `Set.prototype.isDisjointFrom` method
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
$({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
  isDisjointFrom: isDisjointFrom
});


/***/ }),

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

"use strict";

var uncurryThis = __webpack_require__("e330");

// eslint-disable-next-line es/no-set -- safe
var SetPrototype = Set.prototype;

module.exports = {
  // eslint-disable-next-line es/no-set -- safe
  Set: Set,
  add: uncurryThis(SetPrototype.add),
  has: uncurryThis(SetPrototype.has),
  remove: uncurryThis(SetPrototype['delete']),
  proto: SetPrototype
};


/***/ }),

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

"use strict";

var getBuiltIn = __webpack_require__("d066");

var createSetLike = function (size) {
  return {
    size: size,
    has: function () {
      return false;
    },
    keys: function () {
      return {
        next: function () {
          return { done: true };
        }
      };
    }
  };
};

var createSetLikeWithInfinitySize = function (size) {
  return {
    size: size,
    has: function () {
      return true;
    },
    keys: function () {
      throw new Error('e');
    }
  };
};

module.exports = function (name, callback) {
  var Set = getBuiltIn('Set');
  try {
    new Set()[name](createSetLike(0));
    try {
      // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it
      // https://github.com/tc39/proposal-set-methods/pull/88
      new Set()[name](createSetLike(-1));
      return false;
    } catch (error2) {
      if (!callback) return true;
      // early V8 implementation bug
      // https://issues.chromium.org/issues/351332634
      try {
        new Set()[name](createSetLikeWithInfinitySize(-Infinity));
        return false;
      } catch (error) {
        var set = new Set();
        set.add(1);
        set.add(2);
        return callback(set[name](createSetLikeWithInfinitySize(Infinity)));
      }
    }
  } catch (error) {
    return false;
  }
};


/***/ }),

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

"use strict";

var has = __webpack_require__("cb27").has;

// Perform ? RequireInternalSlot(M, [[SetData]])
module.exports = function (it) {
  has(it);
  return it;
};


/***/ }),

/***/ "dcfc":
/***/ (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":"11b7bec2-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/modules/double-prevention-management-sm/components/HiddenVerify/SelecWorkFlowtUser.vue?vue&type=template&id=6131cbb9&scoped=true
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"h-full"},[_c('el-dialog',{attrs:{"append-to-body":"","close-on-click-modal":false,"title":"选择人员","width":"450px","top":"30vh","visible":_vm.visible,"before-close":_vm.closeDialog},on:{"update:visible":function($event){_vm.visible=$event}}},[_c('div',{directives:[{name:"loading",rawName:"v-loading",value:(_vm.tableLoading),expression:"tableLoading"}],staticClass:"w-full h-full"},[_c('el-form',{ref:"form",staticClass:"py-45px",attrs:{"model":_vm.selectForm,"label-width":"120px","size":"normal"}},[(_vm.isMultiple)?_c('el-form-item',{attrs:{"label":"部门"}},[_c('el-select',{staticClass:"w-full",attrs:{"filterable":"","clearable":"","placeholder":"请选择","size":"small"},model:{value:(_vm.deptValue),callback:function ($$v) {_vm.deptValue=$$v},expression:"deptValue"}},_vm._l((_vm.deptList),function(item){return _c('el-option',{key:item.label,attrs:{"label":item.label,"value":item.label}})}),1)],1):_vm._e(),(_vm.isMultiple)?_c('el-form-item',{attrs:{"label":_vm.formLabel,"prop":"multiplePeopleSelect","rules":[
            {
              required: true,
              message: ("请选择" + _vm.formLabel),
              trigger: ['blur', 'change'],
            } ]}},[_c('el-select',{staticClass:"w-full",attrs:{"filterable":"","multiple":"","placeholder":"请选择"},model:{value:(_vm.selectForm.multiplePeopleSelect),callback:function ($$v) {_vm.$set(_vm.selectForm, "multiplePeopleSelect", $$v)},expression:"selectForm.multiplePeopleSelect"}},_vm._l((_vm.tableData),function(item){return _c('el-option',{key:item.Id,attrs:{"label":item.Name,"value":item.Id}})}),1)],1):_c('el-form-item',{attrs:{"label":_vm.formLabel,"prop":"singlePeopleSelect","rules":[
            {
              required: true,
              message: ("请选择" + _vm.formLabel),
              trigger: ['blur', 'change'],
            } ]}},[_c('el-select',{staticClass:"w-full",attrs:{"filterable":"","placeholder":"请选择"},model:{value:(_vm.selectForm.singlePeopleSelect),callback:function ($$v) {_vm.$set(_vm.selectForm, "singlePeopleSelect", $$v)},expression:"selectForm.singlePeopleSelect"}},_vm._l((_vm.tableData),function(item){return _c('el-option',{key:item.Id,attrs:{"label":item.Name,"value":item.Id}})}),1)],1),(_vm.isReportLeader)?_c('el-form-item',{attrs:{"label":"上报原因","prop":"reportReason","rules":[
            {
              required: true,
              message: "请填写上报原因",
              trigger: ['blur', 'change'],
            } ]}},[_c('el-input',{attrs:{"placeholder":"请输入","type":"textarea","autosize":{ minRows: 4, maxRows: 6 }},model:{value:(_vm.selectForm.reportReason),callback:function ($$v) {_vm.$set(_vm.selectForm, "reportReason", $$v)},expression:"selectForm.reportReason"}})],1):_vm._e()],1),_c('div',{staticClass:"flex flex-wrap justify-center items-center mt-20px"},[_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.save}},[_vm._v(" 确定 ")]),_c('el-button',{attrs:{"type":"primary","size":"small"},on:{"click":_vm.closeDialog}},[_vm._v(" 关闭 ")])],1)],1)])],1)}
var staticRenderFns = []


// CONCATENATED MODULE: ./src/modules/double-prevention-management-sm/components/HiddenVerify/SelecWorkFlowtUser.vue?vue&type=template&id=6131cbb9&scoped=true

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

// 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/@babel/runtime/helpers/esm/toConsumableArray.js + 3 modules
var toConsumableArray = __webpack_require__("2909");

// 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.js
var es_array_find = __webpack_require__("7db0");

// 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.array.map.js
var es_array_map = __webpack_require__("d81d");

// 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.find.js
var es_iterator_find = __webpack_require__("f665");

// 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.set.js
var es_set = __webpack_require__("6062");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.difference.v2.js
var es_set_difference_v2 = __webpack_require__("1e70");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.intersection.v2.js
var es_set_intersection_v2 = __webpack_require__("79a4");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-disjoint-from.v2.js
var es_set_is_disjoint_from_v2 = __webpack_require__("c1a1");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-subset-of.v2.js
var es_set_is_subset_of_v2 = __webpack_require__("8b00");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.is-superset-of.v2.js
var es_set_is_superset_of_v2 = __webpack_require__("a4e7");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.symmetric-difference.v2.js
var es_set_symmetric_difference_v2 = __webpack_require__("1e5a");

// EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.union.v2.js
var es_set_union_v2 = __webpack_require__("72c3");

// 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");

// EXTERNAL MODULE: ./src/modules/double-prevention-management-sm/services/DiyService.js + 1 modules
var DiyService = __webpack_require__("21a7");

// 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/modules/double-prevention-management-sm/components/HiddenVerify/SelecWorkFlowtUser.vue?vue&type=script&lang=js























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


/* harmony default export */ var SelecWorkFlowtUservue_type_script_lang_js = ({
  name: 'person-select',
  components: {},
  props: {
    formLabel: {
      type: String,
      default: ''
    },
    isReportLeader: {
      type: Boolean,
      default: false
    },
    type: {
      type: String,
      default: ''
    },
    workFlowTaskId: {
      type: String,
      default: ''
    },
    nodeName: {
      type: String,
      default: ''
    },
    dataId: {
      type: String,
      default: ''
    },
    visible: {
      type: Boolean,
      default: false
    },
    // 弹窗显隐
    // 是否禁用选择按钮
    disabled: {
      type: Boolean,
      default: false
    },
    // 是否多选
    isMultiple: {
      type: Boolean,
      default: false
    },
    value: {
      default: ''
    }
  },
  model: {
    prop: 'value',
    event: 'change'
  },
  data: function data() {
    return {
      workFlowDesignId: '',
      workFlowNodeId: '',
      searchOrganizationId: '',
      tableLoading: false,
      tableData: [],
      initUserList: [],
      // 初始化用户列表数据
      deptList: [],
      // 部门列表数据
      deptValue: '',
      // 部门
      saveLoading: false,
      selectForm: {
        multiplePeopleSelect: [],
        singlePeopleSelect: '',
        reportReason: ''
      }
    };
  },
  computed: {},
  watch: {
    visible: function visible(val) {
      if (val) {
        this.initDialog();
      }
    },
    deptValue: function deptValue(newValue) {
      this.selectForm.multiplePeopleSelect = [];
      if (!newValue) {
        this.tableData = Object(toConsumableArray["a" /* default */])(this.initUserList);
        return;
      }
      this.tableData = this.initUserList.filter(function (item) {
        return item.DeptName === newValue;
      });
    }
  },
  methods: {
    // 获取待办
    getByFlowTaskId: function getByFlowTaskId() {
      var _this = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee() {
        var _res$Data;
        var _yield$DiyService$get, _yield$DiyService$get2, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee$(_context) {
          while (1) switch (_context.prev = _context.next) {
            case 0:
              _context.next = 2;
              return DiyService["a" /* default */].getTableData({
                TableName: 'WF_Work',
                _SearchEqual: {
                  FlowId: _this.workFlowTaskId
                },
                _Where: [{
                  Name: 'WorkState',
                  Value: 'Todo',
                  Type: '='
                }]
              });
            case 2:
              _yield$DiyService$get = _context.sent;
              _yield$DiyService$get2 = Object(slicedToArray["a" /* default */])(_yield$DiyService$get, 2);
              err = _yield$DiyService$get2[0];
              res = _yield$DiyService$get2[1];
              if (!err && res.Code === 1 && (_res$Data = res.Data) !== null && _res$Data !== void 0 && _res$Data.length) {
                _this.workFlowNodeId = res.Data[0].NodeId;
              }
            case 7:
            case "end":
              return _context.stop();
          }
        }, _callee);
      }))();
    },
    // 获取下一级节点用户
    getNextNodeUsers: function getNextNodeUsers() {
      var _this2 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee2() {
        var _yield$DiyService$get3, _yield$DiyService$get4, err, res;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee2$(_context2) {
          while (1) switch (_context2.prev = _context2.next) {
            case 0:
              _context2.next = 2;
              return DiyService["a" /* default */].getNextNodeConfirmUsers({
                NodeId: _this2.workFlowNodeId,
                ApprovalType: 'Agree',
                '_Where[0]': {
                  Name: 'LineName',
                  Value: '上级领导审批',
                  Type: '='
                }
              });
            case 2:
              _yield$DiyService$get3 = _context2.sent;
              _yield$DiyService$get4 = Object(slicedToArray["a" /* default */])(_yield$DiyService$get3, 2);
              err = _yield$DiyService$get4[0];
              res = _yield$DiyService$get4[1];
              if (!err && res.Code === 1 && res.Data && res.Data.SelectUsers) {
                _this2.tableData = res.Data.SelectUsers;
              }
            case 7:
            case "end":
              return _context2.stop();
          }
        }, _callee2);
      }))();
    },
    // 初始化弹窗
    initDialog: function initDialog() {
      var _this3 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee3() {
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee3$(_context3) {
          while (1) switch (_context3.prev = _context3.next) {
            case 0:
              _this3.tableLoading = true;
              if (!_this3.workFlowTaskId) {
                _context3.next = 8;
                break;
              }
              _context3.next = 4;
              return _this3.getByFlowTaskId();
            case 4:
              _context3.next = 6;
              return _this3.getNextNodeUsers();
            case 6:
              _context3.next = 14;
              break;
            case 8:
              _context3.next = 10;
              return _this3.getDataDetail();
            case 10:
              _context3.next = 12;
              return _this3.getWorkFlowNodes();
            case 12:
              _context3.next = 14;
              return _this3.getUserList();
            case 14:
              _this3.tableLoading = false;
            case 15:
            case "end":
              return _context3.stop();
          }
        }, _callee3);
      }))();
    },
    // 获取流程节点
    getWorkFlowNodes: function getWorkFlowNodes() {
      var _this4 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee4() {
        var _yield$DiyService$get5, _yield$DiyService$get6, err, res, currentNode;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee4$(_context4) {
          while (1) switch (_context4.prev = _context4.next) {
            case 0:
              _context4.next = 2;
              return DiyService["a" /* default */].getTableData({
                TableName: 'WF_Node',
                _SearchEqual: {
                  FlowDesignId: _this4.workFlowDesignId
                }
              });
            case 2:
              _yield$DiyService$get5 = _context4.sent;
              _yield$DiyService$get6 = Object(slicedToArray["a" /* default */])(_yield$DiyService$get5, 2);
              err = _yield$DiyService$get6[0];
              res = _yield$DiyService$get6[1];
              if (!err && res && res.Code === 1 && res.Data && res.Data.length) {
                currentNode = _.find(res.Data, ['NodeName', _this4.nodeName]);
                if (currentNode) {
                  _this4.workFlowNodeId = currentNode.Id;
                }
              }
            case 7:
            case "end":
              return _context4.stop();
          }
        }, _callee4);
      }))();
    },
    // 获取流程
    getWorkFlowDesign: function getWorkFlowDesign(name) {
      var _this5 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee5() {
        var _yield$DiyService$get7, _yield$DiyService$get8, err, res, currentFlowDesign;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee5$(_context5) {
          while (1) switch (_context5.prev = _context5.next) {
            case 0:
              _context5.next = 2;
              return DiyService["a" /* default */].getTableData({
                TableName: 'WF_FlowDesign',
                _PageSize: 15,
                _PageIndex: 1,
                _Where: [{
                  Name: 'FlowName',
                  Value: name,
                  Type: 'Like'
                }]
              });
            case 2:
              _yield$DiyService$get7 = _context5.sent;
              _yield$DiyService$get8 = Object(slicedToArray["a" /* default */])(_yield$DiyService$get7, 2);
              err = _yield$DiyService$get8[0];
              res = _yield$DiyService$get8[1];
              if (!err && res && res.Code === 1 && res.Data && res.Data.length) {
                currentFlowDesign = _.find(res.Data, ['FlowName', '隐患治理审批主流程']);
                if (currentFlowDesign) {
                  _this5.workFlowDesignId = currentFlowDesign.Id;
                }
              }
            case 7:
            case "end":
              return _context5.stop();
          }
        }, _callee5);
      }))();
    },
    // 获取数据详情
    getDataDetail: function getDataDetail() {
      var _this6 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee6() {
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee6$(_context6) {
          while (1) switch (_context6.prev = _context6.next) {
            case 0:
              if (!(_this6.type === 'hiddenList')) {
                _context6.next = 3;
                break;
              }
              _context6.next = 3;
              return _this6.getWorkFlowDesign('隐患治理审批主流程');
            case 3:
            case "end":
              return _context6.stop();
          }
        }, _callee6);
      }))();
    },
    // 关闭弹窗
    closeDialog: function closeDialog() {
      this.$emit('update:visible', false);
      this.$emit('close');
    },
    // 保存
    save: function save() {
      var _this7 = this;
      this.$refs.form.validate(function (valid) {
        if (valid) {
          _this7.$emit('selected', _this7.isMultiple ? _this7.selectForm.multiplePeopleSelect : _this7.selectForm.singlePeopleSelect, _this7.selectForm.reportReason);
          _this7.$emit('update:visible', false);
        }
      });
    },
    // 获取用户列表
    getUserList: function getUserList() {
      var _this8 = this;
      return Object(asyncToGenerator["a" /* default */])(/*#__PURE__*/Object(regeneratorRuntime["a" /* default */])().mark(function _callee7() {
        var _yield$DiyService$get9, _yield$DiyService$get10, err, res, deptList, filterDeptList;
        return Object(regeneratorRuntime["a" /* default */])().wrap(function _callee7$(_context7) {
          while (1) switch (_context7.prev = _context7.next) {
            case 0:
              _context7.next = 2;
              return DiyService["a" /* default */].getNodeConfirmUsers({
                NodeId: _this8.workFlowNodeId,
                ApprovalType: 'Agree'
              });
            case 2:
              _yield$DiyService$get9 = _context7.sent;
              _yield$DiyService$get10 = Object(slicedToArray["a" /* default */])(_yield$DiyService$get9, 2);
              err = _yield$DiyService$get10[0];
              res = _yield$DiyService$get10[1];
              if (!err && res.Code === 1 && res.Data && res.Data.SelectUsers) {
                _this8.tableData = res.Data.SelectUsers;
                _this8.initUserList = Object(toConsumableArray["a" /* default */])(res.Data.SelectUsers);
                deptList = res.Data.SelectUsers.map(function (item) {
                  return item.DeptName;
                });
                filterDeptList = deptList.filter(function (item) {
                  return item;
                });
                _this8.deptList = Object(toConsumableArray["a" /* default */])(new Set(filterDeptList)).map(function (item) {
                  return {
                    label: item,
                    value: item
                  };
                });
              }
            case 7:
            case "end":
              return _context7.stop();
          }
        }, _callee7);
      }))();
    }
  },
  created: function created() {
    this.initDialog();
  }
});
// CONCATENATED MODULE: ./src/modules/double-prevention-management-sm/components/HiddenVerify/SelecWorkFlowtUser.vue?vue&type=script&lang=js
 /* harmony default export */ var HiddenVerify_SelecWorkFlowtUservue_type_script_lang_js = (SelecWorkFlowtUservue_type_script_lang_js); 
// EXTERNAL MODULE: ./src/modules/double-prevention-management-sm/components/HiddenVerify/SelecWorkFlowtUser.vue?vue&type=style&index=0&id=6131cbb9&prod&scoped=true&lang=scss
var SelecWorkFlowtUservue_type_style_index_0_id_6131cbb9_prod_scoped_true_lang_scss = __webpack_require__("a9c7");

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

// CONCATENATED MODULE: ./src/modules/double-prevention-management-sm/components/HiddenVerify/SelecWorkFlowtUser.vue






/* normalize component */

var component = Object(componentNormalizer["a" /* default */])(
  HiddenVerify_SelecWorkFlowtUservue_type_script_lang_js,
  render,
  staticRenderFns,
  false,
  null,
  "6131cbb9",
  null
  
)

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

/***/ }),

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

"use strict";

var aSet = __webpack_require__("dc19");
var add = __webpack_require__("cb27").add;
var clone = __webpack_require__("83b9");
var getSetRecord = __webpack_require__("7f65");
var iterateSimple = __webpack_require__("5388");

// `Set.prototype.union` method
// https://github.com/tc39/proposal-set-methods
module.exports = function union(other) {
  var O = aSet(this);
  var keysIter = getSetRecord(other).getIterator();
  var result = clone(O);
  iterateSimple(keysIter, function (it) {
    add(result, it);
  });
  return result;
};


/***/ })

}]);
//# sourceMappingURL=double-prevention-management-sm.umd.5.js.map