@zscreate/form-component 1.1.664 → 1.1.666-test.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25437,7 +25437,7 @@ async function decrypt_http_v1(response) {
25437
25437
  /***/ ((module) => {
25438
25438
 
25439
25439
  "use strict";
25440
- module.exports = {"rE":"1.1.664"};
25440
+ module.exports = /*#__PURE__*/JSON.parse('{"rE":"1.1.666-test.1"}');
25441
25441
 
25442
25442
  /***/ }),
25443
25443
 
@@ -31529,7 +31529,7 @@ var staticRenderFns = []
31529
31529
 
31530
31530
 
31531
31531
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 1014 modules
31532
- var components = __webpack_require__(33129);
31532
+ var components = __webpack_require__(32732);
31533
31533
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/CorrectionItem.vue?vue&type=script&lang=js
31534
31534
  //
31535
31535
  //
@@ -54244,129 +54244,7 @@ module.exports = function (argument, $default) {
54244
54244
 
54245
54245
  /***/ }),
54246
54246
 
54247
- /***/ 32779:
54248
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
54249
-
54250
- "use strict";
54251
- var __webpack_unused_export__;
54252
-
54253
-
54254
- __webpack_unused_export__ = true;
54255
-
54256
- var _from = __webpack_require__(9780);
54257
-
54258
- var _from2 = _interopRequireDefault(_from);
54259
-
54260
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
54261
-
54262
- exports.A = function (arr) {
54263
- if (Array.isArray(arr)) {
54264
- for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {
54265
- arr2[i] = arr[i];
54266
- }
54267
-
54268
- return arr2;
54269
- } else {
54270
- return (0, _from2.default)(arr);
54271
- }
54272
- };
54273
-
54274
- /***/ }),
54275
-
54276
- /***/ 33025:
54277
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
54278
-
54279
- __webpack_require__(28957);
54280
- __webpack_require__(44345);
54281
- __webpack_require__(32469);
54282
- __webpack_require__(75529);
54283
- module.exports = __webpack_require__(6791).Symbol;
54284
-
54285
-
54286
- /***/ }),
54287
-
54288
- /***/ 33110:
54289
- /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
54290
-
54291
- "use strict";
54292
-
54293
- var $ = __webpack_require__(46518);
54294
- var getBuiltIn = __webpack_require__(97751);
54295
- var apply = __webpack_require__(18745);
54296
- var call = __webpack_require__(69565);
54297
- var uncurryThis = __webpack_require__(79504);
54298
- var fails = __webpack_require__(79039);
54299
- var isCallable = __webpack_require__(94901);
54300
- var isSymbol = __webpack_require__(10757);
54301
- var arraySlice = __webpack_require__(67680);
54302
- var getReplacerFunction = __webpack_require__(66933);
54303
- var NATIVE_SYMBOL = __webpack_require__(4495);
54304
-
54305
- var $String = String;
54306
- var $stringify = getBuiltIn('JSON', 'stringify');
54307
- var exec = uncurryThis(/./.exec);
54308
- var charAt = uncurryThis(''.charAt);
54309
- var charCodeAt = uncurryThis(''.charCodeAt);
54310
- var replace = uncurryThis(''.replace);
54311
- var numberToString = uncurryThis(1.1.toString);
54312
-
54313
- var tester = /[\uD800-\uDFFF]/g;
54314
- var low = /^[\uD800-\uDBFF]$/;
54315
- var hi = /^[\uDC00-\uDFFF]$/;
54316
-
54317
- var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
54318
- var symbol = getBuiltIn('Symbol')('stringify detection');
54319
- // MS Edge converts symbol values to JSON as {}
54320
- return $stringify([symbol]) !== '[null]'
54321
- // WebKit converts symbol values to JSON as null
54322
- || $stringify({ a: symbol }) !== '{}'
54323
- // V8 throws on boxed symbols
54324
- || $stringify(Object(symbol)) !== '{}';
54325
- });
54326
-
54327
- // https://github.com/tc39/proposal-well-formed-stringify
54328
- var ILL_FORMED_UNICODE = fails(function () {
54329
- return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
54330
- || $stringify('\uDEAD') !== '"\\udead"';
54331
- });
54332
-
54333
- var stringifyWithSymbolsFix = function (it, replacer) {
54334
- var args = arraySlice(arguments);
54335
- var $replacer = getReplacerFunction(replacer);
54336
- if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
54337
- args[1] = function (key, value) {
54338
- // some old implementations (like WebKit) could pass numbers as keys
54339
- if (isCallable($replacer)) value = call($replacer, this, $String(key), value);
54340
- if (!isSymbol(value)) return value;
54341
- };
54342
- return apply($stringify, null, args);
54343
- };
54344
-
54345
- var fixIllFormed = function (match, offset, string) {
54346
- var prev = charAt(string, offset - 1);
54347
- var next = charAt(string, offset + 1);
54348
- if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {
54349
- return '\\u' + numberToString(charCodeAt(match, 0), 16);
54350
- } return match;
54351
- };
54352
-
54353
- if ($stringify) {
54354
- // `JSON.stringify` method
54355
- // https://tc39.es/ecma262/#sec-json.stringify
54356
- $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
54357
- // eslint-disable-next-line no-unused-vars -- required for `.length`
54358
- stringify: function stringify(it, replacer, space) {
54359
- var args = arraySlice(arguments);
54360
- var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
54361
- return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;
54362
- }
54363
- });
54364
- }
54365
-
54366
-
54367
- /***/ }),
54368
-
54369
- /***/ 33129:
54247
+ /***/ 32732:
54370
54248
  /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
54371
54249
 
54372
54250
  "use strict";
@@ -70601,7 +70479,7 @@ var componentvue_type_template_id_7e98dcc1_scoped_true_staticRenderFns = []
70601
70479
 
70602
70480
 
70603
70481
  // EXTERNAL MODULE: ./src/form/modules/common/Modals/selectUserModal.vue + 5 modules
70604
- var selectUserModal = __webpack_require__(63828);
70482
+ var selectUserModal = __webpack_require__(73421);
70605
70483
  ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/components/UserSelector/component.vue?vue&type=script&lang=js
70606
70484
 
70607
70485
 
@@ -72659,13 +72537,13 @@ var userSelectorByRole_widgetDesign_component = (0,componentNormalizer/* default
72659
72537
  widgetSetup: userSelectorByRole_widgetSetup,
72660
72538
  widgetDesign: userSelectorByRole_widgetDesign
72661
72539
  });
72662
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=template&id=d1390cda&scoped=true
72663
- var componentvue_type_template_id_d1390cda_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"custom_form_item",class:_vm.hashKey ? ('d_' + _vm.hashKey + _vm.widget.model) : _vm.widget.model,style:({ height: _vm.currHeight })},[_c('a-form-model-item',{ref:_vm.widget.model,attrs:{"colon":false,"label-col":_vm.labelCol,"wrapperCol":_vm.wrapperCol,"prop":_vm.tableKey ? (_vm.tableKey + "." + _vm.tableIndex + "." + (_vm.widget.model)) : _vm.widget.model,"rules":_vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]}},[_c('drag-upload',{directives:[{name:"show",rawName:"v-show",value:(_vm.widget.options.uploadStyle === '1' && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled)),expression:"widget.options.uploadStyle === '1' && fileList.length < parseInt(widget.options.length) && (!widget.options.disabled || isdisabled)"}],ref:"dragUpload",style:(("margin-bottom: " + (_vm.fileList.length ? '10px': 0))),attrs:{"options":_vm.widget.options,"maxLength":_vm.maxLength,"type":"image","model":_vm.widget.model,"QrData":_vm.QrData,"placeholder":_vm.widget.options.placeholder_1,"uploadRef":function () { return _vm.$refs.uploadRef; },"disabled":false,"QrUpload":_vm.widget.options.enableQrUpload},on:{"overLength":_vm.overLengthTip,"add":_vm.uploadAdd}}),_c('a-upload',{ref:"uploadRef",style:(_vm.size),attrs:{"action":_vm.actionUrl,"list-type":"picture-card","file-list":_vm.fileList,"headers":_vm.headers,"disabled":_vm.isdisabled ? _vm.show : _vm.widget.options.disabled,"beforeUpload":_vm.beforeUpload},on:{"preview":_vm.handlePreview,"change":_vm.handleChange}},[(_vm.widget.options.uploadStyle !== '1' && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled))?_c('div',[_c('a-icon',{attrs:{"type":"plus"}}),_c('div',{staticClass:"ant-upload-text"},[_vm._v(_vm._s(_vm.widget.options.placeholder))])],1):_vm._e()]),_c('a-modal',{attrs:{"title":"预览","zIndex":100000,"visible":_vm.previewVisible,"footer":null,"centered":""},on:{"cancel":_vm.handleCancel}},[_c('div',{},[_c('img',{staticStyle:{"width":"100%"},attrs:{"alt":"example","src":_vm.previewImage}})])]),(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
72540
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=template&id=718b5194&scoped=true
72541
+ var componentvue_type_template_id_718b5194_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.widget)?_c('div',{staticClass:"custom_form_item",class:_vm.hashKey ? ('d_' + _vm.hashKey + _vm.widget.model) : _vm.widget.model,style:({ height: _vm.currHeight })},[_c('a-form-model-item',{ref:_vm.widget.model,attrs:{"colon":false,"label-col":_vm.labelCol,"wrapperCol":_vm.wrapperCol,"prop":_vm.tableKey ? (_vm.tableKey + "." + _vm.tableIndex + "." + (_vm.widget.model)) : _vm.widget.model,"rules":_vm.tableKey ? _vm.rules[_vm.tableKey][_vm.widget.model] : _vm.rules[_vm.widget.model]}},[_c('drag-upload',{directives:[{name:"show",rawName:"v-show",value:(_vm.widget.options.uploadStyle === '1' && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled)),expression:"widget.options.uploadStyle === '1' && fileList.length < parseInt(widget.options.length) && (!widget.options.disabled || isdisabled)"}],ref:"dragUpload",style:(("margin-bottom: " + (_vm.fileList.length ? '10px': 0))),attrs:{"options":_vm.widget.options,"maxLength":_vm.maxLength,"type":"image","model":_vm.widget.model,"QrData":_vm.QrData,"placeholder":_vm.widget.options.placeholder_1,"uploadRef":function () { return _vm.$refs.uploadRef; },"disabled":false,"QrUpload":_vm.widget.options.enableQrUpload},on:{"overLength":_vm.overLengthTip,"add":_vm.uploadAdd}}),_c('a-upload',{ref:"uploadRef",style:(_vm.size),attrs:{"action":_vm.actionUrl,"list-type":"picture-card","file-list":_vm.fileList,"headers":_vm.headers,"data":_vm.uploadData,"disabled":_vm.isdisabled ? _vm.show : _vm.widget.options.disabled,"beforeUpload":_vm.beforeUpload},on:{"preview":_vm.handlePreview,"change":_vm.handleChange}},[(_vm.widget.options.uploadStyle !== '1' && _vm.fileList.length < parseInt(_vm.widget.options.length) && (!_vm.widget.options.disabled || _vm.isdisabled))?_c('div',[_c('a-icon',{attrs:{"type":"plus"}}),_c('div',{staticClass:"ant-upload-text"},[_vm._v(_vm._s(_vm.widget.options.placeholder))])],1):_vm._e()]),_c('a-modal',{attrs:{"title":"预览","zIndex":100000,"visible":_vm.previewVisible,"footer":null,"centered":""},on:{"cancel":_vm.handleCancel}},[_c('div',{},[_c('img',{staticStyle:{"width":"100%"},attrs:{"alt":"example","src":_vm.previewImage}})])]),(_vm.widget.options.labelWidth !== 0)?_c('div',{class:[
72664
72542
  _vm.config.align,
72665
72543
  _vm.config.validate === true && _vm.widget.options.required === true
72666
72544
  ? 'is_required'
72667
72545
  : 'no_required' ],style:({ color: this.config.color }),attrs:{"slot":"label"},slot:"label"},[_vm._v(" "+_vm._s(_vm.widget.name)+" ")]):_vm._e()],1)],1):_vm._e()}
72668
- var componentvue_type_template_id_d1390cda_scoped_true_staticRenderFns = []
72546
+ var componentvue_type_template_id_718b5194_scoped_true_staticRenderFns = []
72669
72547
 
72670
72548
 
72671
72549
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
@@ -73044,6 +72922,7 @@ var dragUpload_component = (0,componentNormalizer/* default */.A)(
73044
72922
  //
73045
72923
  //
73046
72924
  //
72925
+ //
73047
72926
 
73048
72927
 
73049
72928
 
@@ -73083,6 +72962,7 @@ function getBase64(file) {
73083
72962
  },
73084
72963
  openId: undefined,
73085
72964
  fileList: [],
72965
+ uploadData: {},
73086
72966
  imgUrl: window._CONFIG.imgDomainURL || window._CONFIG.imgUrl
73087
72967
  };
73088
72968
  },
@@ -73261,25 +73141,37 @@ function getBase64(file) {
73261
73141
  const random_uid = new Date().getTime();
73262
73142
  if (this.widget.options.uploadEncrypt) {
73263
73143
  const fileId = result.fileId;
73264
- this.dataModel.push({
73144
+ const itemData = {
73265
73145
  key: file.uid || random_uid,
73266
73146
  uid: file.uid || random_uid,
73267
73147
  fileId,
73268
73148
  url: message,
73269
73149
  status: 'done',
73270
73150
  name: result.fileName || file.name
73271
- });
73151
+ };
73152
+ console.log('result222', result);
73153
+ // 如果启用了保存文件流,添加stream字段
73154
+ if (this.widget.options.saveBinary) {
73155
+ itemData.stream = result;
73156
+ }
73157
+ this.dataModel.push(itemData);
73272
73158
  if (this.widget.options.uploadEncrypt) {
73273
73159
  this.updateStringModel('formFileIds', fileId, 'add');
73274
73160
  }
73275
73161
  } else {
73276
- this.dataModel.push({
73162
+ const itemData = {
73277
73163
  key: file.uid || random_uid,
73278
73164
  uid: file.uid || random_uid,
73279
73165
  url: response.message,
73280
73166
  status: "done",
73281
73167
  name: file.name
73282
- });
73168
+ };
73169
+ console.log('result111', result);
73170
+ // 如果启用了保存文件流,添加stream字段
73171
+ if (this.widget.options.saveBinary) {
73172
+ itemData.stream = result;
73173
+ }
73174
+ this.dataModel.push(itemData);
73283
73175
  }
73284
73176
  this.showImage();
73285
73177
  this.updateValidateNotify();
@@ -73343,6 +73235,15 @@ function getBase64(file) {
73343
73235
  }
73344
73236
  },
73345
73237
  watch: {
73238
+ 'widget.options.saveBinary': {
73239
+ immediate: true,
73240
+ handler(val) {
73241
+ // 设置上传参数
73242
+ this.uploadData = val ? {
73243
+ streamType: 1
73244
+ } : {};
73245
+ }
73246
+ },
73346
73247
  dataModel: {
73347
73248
  handler(val) {
73348
73249
  if (!Array.isArray(val)) {
@@ -73359,10 +73260,10 @@ function getBase64(file) {
73359
73260
  });
73360
73261
  ;// ./src/form/modules/components/ImgUpload/component.vue?vue&type=script&lang=js
73361
73262
  /* harmony default export */ const components_ImgUpload_componentvue_type_script_lang_js = (ImgUpload_componentvue_type_script_lang_js);
73362
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=d1390cda&prod&lang=less&scoped=true
73263
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=718b5194&prod&lang=less&scoped=true
73363
73264
  // extracted by mini-css-extract-plugin
73364
73265
 
73365
- ;// ./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=d1390cda&prod&lang=less&scoped=true
73266
+ ;// ./src/form/modules/components/ImgUpload/component.vue?vue&type=style&index=0&id=718b5194&prod&lang=less&scoped=true
73366
73267
 
73367
73268
  ;// ./src/form/modules/components/ImgUpload/component.vue
73368
73269
 
@@ -73375,19 +73276,19 @@ function getBase64(file) {
73375
73276
 
73376
73277
  var ImgUpload_component_component = (0,componentNormalizer/* default */.A)(
73377
73278
  components_ImgUpload_componentvue_type_script_lang_js,
73378
- componentvue_type_template_id_d1390cda_scoped_true_render,
73379
- componentvue_type_template_id_d1390cda_scoped_true_staticRenderFns,
73279
+ componentvue_type_template_id_718b5194_scoped_true_render,
73280
+ componentvue_type_template_id_718b5194_scoped_true_staticRenderFns,
73380
73281
  false,
73381
73282
  null,
73382
- "d1390cda",
73283
+ "718b5194",
73383
73284
  null
73384
73285
 
73385
73286
  )
73386
73287
 
73387
73288
  /* harmony default export */ const ImgUpload_component = (ImgUpload_component_component.exports);
73388
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/widgetSetup.vue?vue&type=template&id=063980ac&scoped=true
73389
- var widgetSetupvue_type_template_id_063980ac_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control"},[_c('div',{staticClass:"form_wrap"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{ref:"title",attrs:{"label":"默认值","prop":"title"}},[_c('common-config-sql',{attrs:{"widget":_vm.widget}})],1),(_vm.widget.options.uploadStyle === '1')?_c('a-form-model-item',{attrs:{"label":"移动端占位内容"}},[_c('a-input',{model:{value:(_vm.widget.options.placeholder),callback:function ($$v) {_vm.$set(_vm.widget.options, "placeholder", $$v)},expression:"widget.options.placeholder"}})],1):_vm._e(),(_vm.widget.options.uploadStyle === '1')?_c('a-form-model-item',{attrs:{"label":"扫码上传"}},[_c('a-switch',{model:{value:(_vm.widget.options.enableQrUpload),callback:function ($$v) {_vm.$set(_vm.widget.options, "enableQrUpload", $$v)},expression:"widget.options.enableQrUpload"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"加密上传"}},[_c('a-switch',{model:{value:(_vm.widget.options.uploadEncrypt),callback:function ($$v) {_vm.$set(_vm.widget.options, "uploadEncrypt", $$v)},expression:"widget.options.uploadEncrypt"}})],1),(_vm.widget.options.uploadEncrypt)?_c('a-form-model-item',{attrs:{"label":"Token解密下载"}},[_c('a-switch',{model:{value:(_vm.widget.options.downloadVerifyToken),callback:function ($$v) {_vm.$set(_vm.widget.options, "downloadVerifyToken", $$v)},expression:"widget.options.downloadVerifyToken"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"允许图片上传类型"}},[_c('a-tooltip',{attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_c('span',[_vm._v("请输入允许上传的图片后缀,多个以逗号隔开")])]),_c('a-input',{model:{value:(_vm.widget.ext),callback:function ($$v) {_vm.$set(_vm.widget, "ext", $$v)},expression:"widget.ext"}})],2)],1),_c('a-form-model-item',{attrs:{"label":"最大上传数"}},[_c('a-input-number',{attrs:{"max":5,"min":1},on:{"change":function($event){_vm.widget.options.defaultFiles = [],_vm.fileList = []}},model:{value:(_vm.widget.options.length),callback:function ($$v) {_vm.$set(_vm.widget.options, "length", $$v)},expression:"widget.options.length"}})],1),_c('a-form-model-item',{attrs:{"label":"默认图片"}},[_c('a-upload',{ref:"uploadRef",attrs:{"action":_vm.actionUrl,"file-list":_vm.fileList,"headers":_vm.headers,"beforeUpload":_vm.beforeUpload},on:{"change":_vm.handleChange,"preview":_vm.handlePreview}},[_c('a-button',{attrs:{"disabled":_vm.fileList && _vm.fileList.length >= parseInt(_vm.widget.options.length)}},[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v(" 上传默认图片 ")],1)],1)],1),_c('a-form-model-item',{attrs:{"label":"最大上传图片大小kb"}},[_c('a-input',{model:{value:(_vm.widget.options.fileSize),callback:function ($$v) {_vm.$set(_vm.widget.options, "fileSize", $$v)},expression:"widget.options.fileSize"}})],1),_c('a-form-model-item',{attrs:{"label":"图片上传地址"}},[_c('a-input',{model:{value:(_vm.widget.options.action),callback:function ($$v) {_vm.$set(_vm.widget.options, "action", $$v)},expression:"widget.options.action"}})],1),_c('a-form-model-item',{attrs:{"label":"图片宽度"}},[_c('a-input',{on:{"change":_vm.changeSize},model:{value:(_vm.sizeWidth),callback:function ($$v) {_vm.sizeWidth=$$v},expression:"sizeWidth"}})],1),_c('a-form-model-item',{attrs:{"label":"图片高度"}},[_c('a-input',{on:{"change":_vm.changeSize},model:{value:(_vm.sizeHeight),callback:function ($$v) {_vm.sizeHeight=$$v},expression:"sizeHeight"}})],1)],1),_c('a-modal',{attrs:{"title":"预览","zIndex":100000,"visible":_vm.previewVisible,"footer":null,"centered":""},on:{"cancel":_vm.handleCancel}},[_c('div',{},[_c('img',{staticStyle:{"width":"100%"},attrs:{"alt":"example","src":_vm.previewImage}})])])],1)])])}
73390
- var widgetSetupvue_type_template_id_063980ac_scoped_true_staticRenderFns = []
73289
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/widgetSetup.vue?vue&type=template&id=62eca78c&scoped=true
73290
+ var widgetSetupvue_type_template_id_62eca78c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"control"},[_c('div',{staticClass:"form_wrap"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{ref:"title",attrs:{"label":"默认值","prop":"title"}},[_c('common-config-sql',{attrs:{"widget":_vm.widget}})],1),(_vm.widget.options.uploadStyle === '1')?_c('a-form-model-item',{attrs:{"label":"移动端占位内容"}},[_c('a-input',{model:{value:(_vm.widget.options.placeholder),callback:function ($$v) {_vm.$set(_vm.widget.options, "placeholder", $$v)},expression:"widget.options.placeholder"}})],1):_vm._e(),(_vm.widget.options.uploadStyle === '1')?_c('a-form-model-item',{attrs:{"label":"扫码上传"}},[_c('a-switch',{model:{value:(_vm.widget.options.enableQrUpload),callback:function ($$v) {_vm.$set(_vm.widget.options, "enableQrUpload", $$v)},expression:"widget.options.enableQrUpload"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"加密上传"}},[_c('a-switch',{model:{value:(_vm.widget.options.uploadEncrypt),callback:function ($$v) {_vm.$set(_vm.widget.options, "uploadEncrypt", $$v)},expression:"widget.options.uploadEncrypt"}})],1),_c('a-form-model-item',{attrs:{"label":"是否保存文件流"}},[_c('a-switch',{model:{value:(_vm.widget.options.saveBinary),callback:function ($$v) {_vm.$set(_vm.widget.options, "saveBinary", $$v)},expression:"widget.options.saveBinary"}})],1),(_vm.widget.options.uploadEncrypt)?_c('a-form-model-item',{attrs:{"label":"Token解密下载"}},[_c('a-switch',{model:{value:(_vm.widget.options.downloadVerifyToken),callback:function ($$v) {_vm.$set(_vm.widget.options, "downloadVerifyToken", $$v)},expression:"widget.options.downloadVerifyToken"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"允许图片上传类型"}},[_c('a-tooltip',{attrs:{"placement":"top"}},[_c('template',{slot:"title"},[_c('span',[_vm._v("请输入允许上传的图片后缀,多个以逗号隔开")])]),_c('a-input',{model:{value:(_vm.widget.ext),callback:function ($$v) {_vm.$set(_vm.widget, "ext", $$v)},expression:"widget.ext"}})],2)],1),_c('a-form-model-item',{attrs:{"label":"最大上传数"}},[_c('a-input-number',{attrs:{"max":_vm.widget.options.saveBinary ? 1 : 5,"min":1},on:{"change":function($event){_vm.widget.options.defaultFiles = [],_vm.fileList = []}},model:{value:(_vm.widget.options.length),callback:function ($$v) {_vm.$set(_vm.widget.options, "length", $$v)},expression:"widget.options.length"}}),(_vm.widget.options.saveBinary)?_c('span',{staticStyle:{"display":"inline-block","color":"#999"}},[_vm._v("保存文件流时最多上传1个文件")]):_vm._e()],1),_c('a-form-model-item',{attrs:{"label":"默认图片"}},[_c('a-upload',{ref:"uploadRef",attrs:{"action":_vm.actionUrl,"file-list":_vm.fileList,"headers":_vm.headers,"beforeUpload":_vm.beforeUpload},on:{"change":_vm.handleChange,"preview":_vm.handlePreview}},[_c('a-button',{attrs:{"disabled":_vm.fileList && _vm.fileList.length >= parseInt(_vm.widget.options.length)}},[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v(" 上传默认图片 ")],1)],1)],1),_c('a-form-model-item',{attrs:{"label":"最大上传图片大小kb"}},[_c('a-input',{model:{value:(_vm.widget.options.fileSize),callback:function ($$v) {_vm.$set(_vm.widget.options, "fileSize", $$v)},expression:"widget.options.fileSize"}})],1),_c('a-form-model-item',{attrs:{"label":"图片上传地址"}},[_c('a-input',{model:{value:(_vm.widget.options.action),callback:function ($$v) {_vm.$set(_vm.widget.options, "action", $$v)},expression:"widget.options.action"}})],1),_c('a-form-model-item',{attrs:{"label":"图片宽度"}},[_c('a-input',{on:{"change":_vm.changeSize},model:{value:(_vm.sizeWidth),callback:function ($$v) {_vm.sizeWidth=$$v},expression:"sizeWidth"}})],1),_c('a-form-model-item',{attrs:{"label":"图片高度"}},[_c('a-input',{on:{"change":_vm.changeSize},model:{value:(_vm.sizeHeight),callback:function ($$v) {_vm.sizeHeight=$$v},expression:"sizeHeight"}})],1)],1),_c('a-modal',{attrs:{"title":"预览","zIndex":100000,"visible":_vm.previewVisible,"footer":null,"centered":""},on:{"cancel":_vm.handleCancel}},[_c('div',{},[_c('img',{staticStyle:{"width":"100%"},attrs:{"alt":"example","src":_vm.previewImage}})])])],1)])])}
73291
+ var widgetSetupvue_type_template_id_62eca78c_scoped_true_staticRenderFns = []
73391
73292
 
73392
73293
 
73393
73294
  ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/common/commonConfigSql.vue?vue&type=template&id=2df1220e&scoped=true
@@ -73585,6 +73486,10 @@ var commonConfigSql_component = (0,componentNormalizer/* default */.A)(
73585
73486
  //
73586
73487
  //
73587
73488
  //
73489
+ //
73490
+ //
73491
+ //
73492
+ //
73588
73493
 
73589
73494
 
73590
73495
 
@@ -73622,6 +73527,15 @@ var commonConfigSql_component = (0,componentNormalizer/* default */.A)(
73622
73527
  if (this.widget.options.defaultFiles) this.fileList = this.widget.options.defaultFiles;
73623
73528
  },
73624
73529
  watch: {
73530
+ 'widget.options.saveBinary': {
73531
+ immediate: true,
73532
+ handler(val) {
73533
+ if (val) {
73534
+ // 当启用保存文件流时,限制最大上传数量为1
73535
+ this.widget.options.length = 1;
73536
+ }
73537
+ }
73538
+ },
73625
73539
  "widget.options.uploadEncrypt"(val) {
73626
73540
  this.widget.options.action = val ? "/sys/common/uploadToZip" : "/sys/common/upload";
73627
73541
  }
@@ -73640,6 +73554,15 @@ var commonConfigSql_component = (0,componentNormalizer/* default */.A)(
73640
73554
  }
73641
73555
  },
73642
73556
  methods: {
73557
+ handleMaxUploadChange() {
73558
+ // 如果启用了保存文件流,强制设置最大上传数量为1
73559
+ if (this.widget.options.saveBinary) {
73560
+ this.widget.options.length = 1;
73561
+ }
73562
+ // 清空默认文件和文件列表
73563
+ this.widget.options.defaultFiles = [];
73564
+ this.fileList = [];
73565
+ },
73643
73566
  changeSize(e) {
73644
73567
  this.$set(this.widget.options, "size", {
73645
73568
  width: this.sizeWidth,
@@ -73714,10 +73637,10 @@ var commonConfigSql_component = (0,componentNormalizer/* default */.A)(
73714
73637
  });
73715
73638
  ;// ./src/form/modules/components/ImgUpload/widgetSetup.vue?vue&type=script&lang=js
73716
73639
  /* harmony default export */ const components_ImgUpload_widgetSetupvue_type_script_lang_js = (ImgUpload_widgetSetupvue_type_script_lang_js);
73717
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/widgetSetup.vue?vue&type=style&index=0&id=063980ac&prod&lang=less&scoped=true
73640
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/components/ImgUpload/widgetSetup.vue?vue&type=style&index=0&id=62eca78c&prod&lang=less&scoped=true
73718
73641
  // extracted by mini-css-extract-plugin
73719
73642
 
73720
- ;// ./src/form/modules/components/ImgUpload/widgetSetup.vue?vue&type=style&index=0&id=063980ac&prod&lang=less&scoped=true
73643
+ ;// ./src/form/modules/components/ImgUpload/widgetSetup.vue?vue&type=style&index=0&id=62eca78c&prod&lang=less&scoped=true
73721
73644
 
73722
73645
  ;// ./src/form/modules/components/ImgUpload/widgetSetup.vue
73723
73646
 
@@ -73730,11 +73653,11 @@ var commonConfigSql_component = (0,componentNormalizer/* default */.A)(
73730
73653
 
73731
73654
  var ImgUpload_widgetSetup_component = (0,componentNormalizer/* default */.A)(
73732
73655
  components_ImgUpload_widgetSetupvue_type_script_lang_js,
73733
- widgetSetupvue_type_template_id_063980ac_scoped_true_render,
73734
- widgetSetupvue_type_template_id_063980ac_scoped_true_staticRenderFns,
73656
+ widgetSetupvue_type_template_id_62eca78c_scoped_true_render,
73657
+ widgetSetupvue_type_template_id_62eca78c_scoped_true_staticRenderFns,
73735
73658
  false,
73736
73659
  null,
73737
- "063980ac",
73660
+ "62eca78c",
73738
73661
  null
73739
73662
 
73740
73663
  )
@@ -100779,6 +100702,128 @@ let components_widgetSetupList = {
100779
100702
  widgetSetupList: Object.assign({}, components_widgetSetupList, hnkj.widgetSetupList)
100780
100703
  });
100781
100704
 
100705
+ /***/ }),
100706
+
100707
+ /***/ 32779:
100708
+ /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
100709
+
100710
+ "use strict";
100711
+ var __webpack_unused_export__;
100712
+
100713
+
100714
+ __webpack_unused_export__ = true;
100715
+
100716
+ var _from = __webpack_require__(9780);
100717
+
100718
+ var _from2 = _interopRequireDefault(_from);
100719
+
100720
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
100721
+
100722
+ exports.A = function (arr) {
100723
+ if (Array.isArray(arr)) {
100724
+ for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {
100725
+ arr2[i] = arr[i];
100726
+ }
100727
+
100728
+ return arr2;
100729
+ } else {
100730
+ return (0, _from2.default)(arr);
100731
+ }
100732
+ };
100733
+
100734
+ /***/ }),
100735
+
100736
+ /***/ 33025:
100737
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
100738
+
100739
+ __webpack_require__(28957);
100740
+ __webpack_require__(44345);
100741
+ __webpack_require__(32469);
100742
+ __webpack_require__(75529);
100743
+ module.exports = __webpack_require__(6791).Symbol;
100744
+
100745
+
100746
+ /***/ }),
100747
+
100748
+ /***/ 33110:
100749
+ /***/ ((__unused_webpack_module, __unused_webpack_exports, __webpack_require__) => {
100750
+
100751
+ "use strict";
100752
+
100753
+ var $ = __webpack_require__(46518);
100754
+ var getBuiltIn = __webpack_require__(97751);
100755
+ var apply = __webpack_require__(18745);
100756
+ var call = __webpack_require__(69565);
100757
+ var uncurryThis = __webpack_require__(79504);
100758
+ var fails = __webpack_require__(79039);
100759
+ var isCallable = __webpack_require__(94901);
100760
+ var isSymbol = __webpack_require__(10757);
100761
+ var arraySlice = __webpack_require__(67680);
100762
+ var getReplacerFunction = __webpack_require__(66933);
100763
+ var NATIVE_SYMBOL = __webpack_require__(4495);
100764
+
100765
+ var $String = String;
100766
+ var $stringify = getBuiltIn('JSON', 'stringify');
100767
+ var exec = uncurryThis(/./.exec);
100768
+ var charAt = uncurryThis(''.charAt);
100769
+ var charCodeAt = uncurryThis(''.charCodeAt);
100770
+ var replace = uncurryThis(''.replace);
100771
+ var numberToString = uncurryThis(1.1.toString);
100772
+
100773
+ var tester = /[\uD800-\uDFFF]/g;
100774
+ var low = /^[\uD800-\uDBFF]$/;
100775
+ var hi = /^[\uDC00-\uDFFF]$/;
100776
+
100777
+ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails(function () {
100778
+ var symbol = getBuiltIn('Symbol')('stringify detection');
100779
+ // MS Edge converts symbol values to JSON as {}
100780
+ return $stringify([symbol]) !== '[null]'
100781
+ // WebKit converts symbol values to JSON as null
100782
+ || $stringify({ a: symbol }) !== '{}'
100783
+ // V8 throws on boxed symbols
100784
+ || $stringify(Object(symbol)) !== '{}';
100785
+ });
100786
+
100787
+ // https://github.com/tc39/proposal-well-formed-stringify
100788
+ var ILL_FORMED_UNICODE = fails(function () {
100789
+ return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
100790
+ || $stringify('\uDEAD') !== '"\\udead"';
100791
+ });
100792
+
100793
+ var stringifyWithSymbolsFix = function (it, replacer) {
100794
+ var args = arraySlice(arguments);
100795
+ var $replacer = getReplacerFunction(replacer);
100796
+ if (!isCallable($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
100797
+ args[1] = function (key, value) {
100798
+ // some old implementations (like WebKit) could pass numbers as keys
100799
+ if (isCallable($replacer)) value = call($replacer, this, $String(key), value);
100800
+ if (!isSymbol(value)) return value;
100801
+ };
100802
+ return apply($stringify, null, args);
100803
+ };
100804
+
100805
+ var fixIllFormed = function (match, offset, string) {
100806
+ var prev = charAt(string, offset - 1);
100807
+ var next = charAt(string, offset + 1);
100808
+ if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) {
100809
+ return '\\u' + numberToString(charCodeAt(match, 0), 16);
100810
+ } return match;
100811
+ };
100812
+
100813
+ if ($stringify) {
100814
+ // `JSON.stringify` method
100815
+ // https://tc39.es/ecma262/#sec-json.stringify
100816
+ $({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
100817
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
100818
+ stringify: function stringify(it, replacer, space) {
100819
+ var args = arraySlice(arguments);
100820
+ var result = apply(WRONG_SYMBOLS_CONVERSION ? stringifyWithSymbolsFix : $stringify, null, args);
100821
+ return ILL_FORMED_UNICODE && typeof result == 'string' ? replace(result, tester, fixIllFormed) : result;
100822
+ }
100823
+ });
100824
+ }
100825
+
100826
+
100782
100827
  /***/ }),
100783
100828
 
100784
100829
  /***/ 33392:
@@ -123961,646 +124006,6 @@ module.exports = function (argument) {
123961
124006
  };
123962
124007
 
123963
124008
 
123964
- /***/ }),
123965
-
123966
- /***/ 63828:
123967
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
123968
-
123969
- "use strict";
123970
-
123971
- // EXPORTS
123972
- __webpack_require__.d(__webpack_exports__, {
123973
- A: () => (/* binding */ selectUserModal)
123974
- });
123975
-
123976
- ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/selectUserModal.vue?vue&type=template&id=73e84290&scoped=true
123977
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"title":"选择用户","width":_vm.modalWidth,"visible":_vm.visible,"confirmLoading":_vm.confirmLoading,"afterClose":_vm.afterClose,"cancelText":"关闭","zIndex":1100000},on:{"ok":_vm.handleSubmit,"cancel":_vm.handleCancel}},[_c('a-spin',{attrs:{"tip":"Loading...","spinning":false}},[_c('a-card',{attrs:{"bordered":false}},[_c('div',{staticClass:"table-page-search-wrapper"},[_c('a-form',{attrs:{"layout":"inline","label-col":{ span: 0 },"wrapper-col":{ span: 24 }}},[_c('a-row',{attrs:{"gutter":24}},[(!_vm.tagId && !_vm.accurate)?[_c('a-col',{attrs:{"md":6,"sm":6}},[_c('a-form-item',{staticStyle:{"width":"100%"}},[_c('a-tree-select',{staticStyle:{"width":"100%"},attrs:{"id":"speca","dropdown-style":{ maxHeight: '400px', overflow: 'auto' },"placeholder":"请选择部门","tree-data":_vm.treeData,"getPopupContainer":function (triggerNode) {
123978
- return triggerNode.parentNode || _vm.document.body;
123979
- },"disabled":_vm.applyId ? true : false,"allow-clear":""},on:{"change":_vm.treechange},model:{value:(_vm.queryParam.depId),callback:function ($$v) {_vm.$set(_vm.queryParam, "depId", $$v)},expression:"queryParam.depId"}})],1)],1),(_vm.showuser && !this.role)?_c('a-col',{attrs:{"md":6,"sm":6}},[_c('a-form-item',{staticStyle:{"width":"100%"}},[_c('a-select',{attrs:{"placeholder":"请选择角色","getPopupContainer":function (triggerNode) {
123980
- return triggerNode.parentNode || _vm.document.body;
123981
- }},model:{value:(_vm.queryParam.roleId),callback:function ($$v) {_vm.$set(_vm.queryParam, "roleId", $$v)},expression:"queryParam.roleId"}},_vm._l((_vm.userlist),function(item){return _c('a-select-option',{key:item.id,attrs:{"value":item.id}},[_vm._v(_vm._s(item.roleName))])}),1)],1)],1):_vm._e()]:[(!_vm.accurate)?_c('a-col',{attrs:{"md":6,"sm":6}},[_c('a-form-item',{staticStyle:{"width":"100%"}},[_c('a-select',{staticStyle:{"width":"100%"},attrs:{"placeholder":"请选择部门","allow-clear":"","dropdown-style":{ maxHeight: '400px',zIndex: 1100000 }},model:{value:(_vm.queryParam.depId),callback:function ($$v) {_vm.$set(_vm.queryParam, "depId", $$v)},expression:"queryParam.depId"}},_vm._l((_vm.tagDeparts),function(depart){return _c('a-select-option',{attrs:{"value":depart.departId,"title":depart.departName}},[_vm._v(_vm._s(depart.departName))])}),1)],1)],1):_vm._e()],(!_vm.accurate)?_c('a-col',{attrs:{"md":6,"sm":6}},[_c('a-form-item',[_c('a-input',{attrs:{"placeholder":"用户名/真实姓名查询"},model:{value:(_vm.queryParam.realname),callback:function ($$v) {_vm.$set(_vm.queryParam, "realname", $$v)},expression:"queryParam.realname"}})],1)],1):_c('a-col',{attrs:{"md":6,"sm":6}},[_c('a-form-item',[_c('a-input',{attrs:{"placeholder":"用户名/真实姓名查询"},model:{value:(_vm.queryParam.username),callback:function ($$v) {_vm.$set(_vm.queryParam, "username", $$v)},expression:"queryParam.username"}})],1)],1),_c('a-col',{attrs:{"md":6,"sm":6}},[_c('div',{staticClass:"table-page-search-submitButtons",staticStyle:{"overflow":"hidden","line-height":"34px"}},[_c('a-button',{attrs:{"type":"primary","icon":"search"},on:{"click":_vm.searchQuery}},[_vm._v("查询")])],1)])],2)],1)],1),_c('div',[_c('a-table',{ref:"table",attrs:{"bordered":"","size":"middle","rowKey":"id","columns":_vm.columns,"dataSource":_vm.dataSource,"pagination":_vm.ipagination,"loading":_vm.loading,"rowSelection":_vm.rowSelection,"customRow":_vm.handleCustomRow},on:{"change":_vm.handleTableChange}})],1)])],1)],1)}
123982
- var staticRenderFns = []
123983
-
123984
-
123985
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
123986
- var es_array_push = __webpack_require__(44114);
123987
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
123988
- var es_iterator_constructor = __webpack_require__(18111);
123989
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
123990
- var es_iterator_filter = __webpack_require__(22489);
123991
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
123992
- var es_iterator_map = __webpack_require__(61701);
123993
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
123994
- var es_iterator_some = __webpack_require__(13579);
123995
- // EXTERNAL MODULE: ./src/api/manage.js
123996
- var manage = __webpack_require__(1137);
123997
- // EXTERNAL MODULE: ./src/mixins/JeecgListMixinV2.js
123998
- var JeecgListMixinV2 = __webpack_require__(36099);
123999
- // EXTERNAL MODULE: ./src/api/api.js
124000
- var api = __webpack_require__(40412);
124001
- // EXTERNAL MODULE: ./node_modules/lodash/lodash.js
124002
- var lodash = __webpack_require__(2543);
124003
- ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/selectUserModal.vue?vue&type=script&lang=js
124004
-
124005
-
124006
-
124007
-
124008
-
124009
- //
124010
- //
124011
- //
124012
- //
124013
- //
124014
- //
124015
- //
124016
- //
124017
- //
124018
- //
124019
- //
124020
- //
124021
- //
124022
- //
124023
- //
124024
- //
124025
- //
124026
- //
124027
- //
124028
- //
124029
- //
124030
- //
124031
- //
124032
- //
124033
- //
124034
- //
124035
- //
124036
- //
124037
- //
124038
- //
124039
- //
124040
- //
124041
- //
124042
- //
124043
- //
124044
- //
124045
- //
124046
- //
124047
- //
124048
- //
124049
- //
124050
- //
124051
- //
124052
- //
124053
- //
124054
- //
124055
- //
124056
- //
124057
- //
124058
- //
124059
- //
124060
- //
124061
- //
124062
- //
124063
- //
124064
- //
124065
- //
124066
- //
124067
- //
124068
- //
124069
- //
124070
- //
124071
- //
124072
- //
124073
- //
124074
- //
124075
- //
124076
- //
124077
- //
124078
- //
124079
- //
124080
- //
124081
- //
124082
- //
124083
- //
124084
- //
124085
- //
124086
- //
124087
- //
124088
- //
124089
- //
124090
- //
124091
- //
124092
- //
124093
- //
124094
- //
124095
- //
124096
- //
124097
- //
124098
- //
124099
- //
124100
- //
124101
- //
124102
- //
124103
- //
124104
- //
124105
- //
124106
- //
124107
- //
124108
- //
124109
- //
124110
- //
124111
- //
124112
- //
124113
- //
124114
- //
124115
- //
124116
- //
124117
- //
124118
- //
124119
- //
124120
- //
124121
- //
124122
- //
124123
- //
124124
- //
124125
- //
124126
- //
124127
- //
124128
- //
124129
-
124130
-
124131
-
124132
-
124133
-
124134
- /* harmony default export */ const selectUserModalvue_type_script_lang_js = ({
124135
- name: 'selectUserModal',
124136
- props: ['modalWidth', 'multi', 'users', 'role', 'defaultDepartId', 'applyId', 'tagId'],
124137
- mixins: [{
124138
- ...JeecgListMixinV2/* JeecgListMixin */.C,
124139
- created: undefined
124140
- }],
124141
- // 取消minxin created
124142
- data() {
124143
- return {
124144
- queryParam: {
124145
- depId: undefined,
124146
- roleId: undefined,
124147
- realname: '',
124148
- username: ''
124149
- },
124150
- showuser: false,
124151
- userlist: [],
124152
- visible: false,
124153
- confirmLoading: false,
124154
- treeData: [],
124155
- autoExpandParent: true,
124156
- expandedKeys: [],
124157
- dataList: [],
124158
- checkedKeys: [],
124159
- departTreeData: [],
124160
- checkedRows: [],
124161
- searchValue: "",
124162
- selectionRowsData: [],
124163
- selectedRowKeys: [],
124164
- isFilter: true,
124165
- rowSelection: {
124166
- selectedRowKeys: this.selectedRowKeys,
124167
- // onChange: this.onSelectChange,
124168
-
124169
- type: this.multi ? "checkbox" : "radio"
124170
- },
124171
- columns: [
124172
- // {
124173
- // title: "用户名",
124174
- // dataIndex: "username",
124175
- // },
124176
- // {
124177
- // title: "真实姓名",
124178
- // dataIndex: "realname",
124179
- // },
124180
- // {
124181
- // title: "单位",
124182
- // dataIndex: "departName",
124183
- // },
124184
- // {
124185
- // title: "职务",
124186
- // dataIndex: "zw",
124187
- // },
124188
- // {
124189
- // title: "电话",
124190
- // dataIndex: "phone",
124191
- // },
124192
- ],
124193
- url: {
124194
- syncUser: '/process/extActProcess/doSyncUser',
124195
- list: '/workflow/queryCandidatePersonal',
124196
- delete: '/sys/user/delete',
124197
- deleteBatch: '/sys/user/deleteBatch',
124198
- exportXlsUrl: '/sys/user/exportXls',
124199
- importExcelUrl: 'sys/user/importExcel'
124200
- },
124201
- tagDeparts: [],
124202
- deptId: '',
124203
- accurate: false // 是否精准选人
124204
- };
124205
- },
124206
- created() {
124207
- this.deptId = this.defaultDepartId || undefined;
124208
- this.setQueryParamsVal({
124209
- depId: this.deptId,
124210
- applyId: this.applyId,
124211
- tagId: this.tagId,
124212
- roleId: this.role
124213
- });
124214
- // this.loadData(false, 'first')
124215
- this.loadDepartTree();
124216
- this.setDefaultUser();
124217
- },
124218
- mounted() {
124219
- if (this.deptId) {
124220
- this.treechange(this.deptId);
124221
- }
124222
- },
124223
- computed: {},
124224
- watch: {
124225
- users(v) {
124226
- if (v.length === 0) {
124227
- this.setDefaultUser();
124228
- }
124229
- },
124230
- role(val) {
124231
- this.role = val;
124232
- }
124233
- },
124234
- methods: {
124235
- loadData(arg, type) {
124236
- if (!this.url.list) {
124237
- this.$message.error("请设置url.list属性!");
124238
- return;
124239
- }
124240
- //加载数据 若传入参数1则加载第一页的内容
124241
- if (arg === 1) {
124242
- this.ipagination.current = 1;
124243
- }
124244
- if (this.role) {
124245
- this.setQueryParamsVal({
124246
- roleId: this.role
124247
- });
124248
- }
124249
- if (this.tagId) {
124250
- this.setQueryParamsVal({
124251
- tagId: this.tagId
124252
- });
124253
- }
124254
- let params = this.getQueryParams(); //查询条件
124255
- this.loading = true;
124256
- if (this.accurate && this.selectionRowsData && this.selectionRowsData.length > 0) {
124257
- //精确查询需要带上选中的数据一起查询
124258
- let username = this.selectionRowsData.map(item => item.realname).join(',');
124259
- params.username = params.username ? params.username + ',' + username : username;
124260
- }
124261
- (0,manage/* getAction */.Th)(this.url.list, params).then(res => {
124262
- if (res.success) {
124263
- this.dataSource = res.result.records;
124264
- this.ipagination.total = res.result.total;
124265
- if (type && this.applyId) {
124266
- this.deptId = res.result.params.depId;
124267
- this.setQueryParamsVal({
124268
- depId: this.deptId
124269
- });
124270
- this.treechange(this.deptId);
124271
- }
124272
- }
124273
- if (res.code === 510) {
124274
- this.$message.warning(res.message);
124275
- } else if (res.code === 500) {
124276
- if (res.message.length < 100) {
124277
- this.$message.error(res.message);
124278
- }
124279
- }
124280
- this.loading = false;
124281
- });
124282
- },
124283
- getTagDepart() {
124284
- this.tagDeparts = [];
124285
- (0,manage/* getAction */.Th)("/zhxymatrix/user/listDepartsByTagId", {
124286
- tagId: this.tagId
124287
- }).then(res => {
124288
- if (res.success) {
124289
- this.tagDeparts = res.result || [];
124290
- }
124291
- });
124292
- },
124293
- handleCustomRow(record) {
124294
- return {
124295
- on: {
124296
- click: () => {
124297
- const selectId = record.id;
124298
- const selectedRowKeys = this.rowSelection.selectedRowKeys;
124299
- if (!this.multi) {
124300
- this.rowSelection.selectedRowKeys = [record.id];
124301
- this.selectionRowsData = [record];
124302
- return;
124303
- }
124304
- if (selectedRowKeys.includes(selectId)) {
124305
- this.selectionRowsData = this.selectionRowsData.filter(item => item.id !== selectId);
124306
- this.rowSelection.selectedRowKeys = selectedRowKeys.filter(item => item !== selectId);
124307
- return;
124308
- }
124309
- this.rowSelection.selectedRowKeys.push(record.id);
124310
- this.selectionRowsData.push(record);
124311
- }
124312
- }
124313
- };
124314
- },
124315
- setZindex() {
124316
- return () => document.getElementById("speca");
124317
- },
124318
- //获取部门
124319
- getTreedata() {
124320
- this.treeData = [];
124321
- (0,manage/* getAction */.Th)("formApi/queryTreeList").then(res => {
124322
- if (res.success) {
124323
- for (let i = 0; i < res.result.length; i++) {
124324
- let temp = res.result[i];
124325
- this.treeData.push(temp);
124326
- }
124327
- // let ob = { value: "", title: "请选择" };
124328
- // this.treeData.unshift(ob);
124329
- }
124330
- });
124331
- },
124332
- treechange(e) {
124333
- this.queryParam.roleId = undefined;
124334
- let params = {
124335
- depId: e
124336
- };
124337
- (0,manage/* getAction */.Th)("/sys/role/listWorkFlowDepRole", params).then(res => {
124338
- if (res.success) {
124339
- this.userlist = res.result;
124340
- this.showuser = true;
124341
- }
124342
- });
124343
- },
124344
- setDefaultUser() {
124345
- var selectedRowKeys = [];
124346
- if (Array.isArray(this.users) && this.users.length > 0) {
124347
- selectedRowKeys = this.users.map(item => {
124348
- return item.id;
124349
- });
124350
- this.selectionRowsData = this.users.map(item => {
124351
- return {
124352
- ...item,
124353
- id: item.id,
124354
- realname: item.realname || item.username
124355
- };
124356
- });
124357
- } else {
124358
- this.selectionRowsData = [];
124359
- }
124360
- // console.log(selectedRowKeys)
124361
- this.rowSelection = {
124362
- // onChange: this.onSelectChange,
124363
- type: this.multi ? "checkbox" : "radio",
124364
- selectedRowKeys: selectedRowKeys,
124365
- onSelect: (record, selected, selectedRows, nativeEvent) => {
124366
- // console.log(record, selected, selectedRows, nativeEvent)
124367
- const list = this.selectionRowsData;
124368
- const selectedRowKeys = this.rowSelection.selectedRowKeys;
124369
- if (!selected) {
124370
- // 这里是取消勾选,删除对应的数组项
124371
- // selectedRowKeys.map((x,item) => {
124372
- // if(x === record.id){
124373
- // selectedRowKeys.splice(item,1)
124374
- // }
124375
- // })
124376
- // list.map((x,item) => {
124377
- // if(x === record.id){
124378
- // list.splice(item,1)
124379
- // }
124380
- // })
124381
- this.rowSelection.selectedRowKeys = selectedRowKeys.filter(item => item !== record.id);
124382
- this.selectionRowsData = list.filter(item => item.id !== record.id);
124383
- console.log(this.rowSelection.selectedRowKeys);
124384
- }
124385
- if (selected) {
124386
- if (!this.multi) {
124387
- this.rowSelection.selectedRowKeys = [record.id];
124388
- this.selectionRowsData = [record];
124389
- return;
124390
- }
124391
-
124392
- // 这里是点击勾选,添加workerId字段到selectedRowKeys数组里
124393
- this.rowSelection.selectedRowKeys.push(record.id);
124394
- console.log(this.rowSelection.selectedRowKeys);
124395
- list.push(record);
124396
- }
124397
- },
124398
- //全选
124399
- onSelectAll: (selected, selectedRows, changeRows) => {
124400
- if (selected) {
124401
- changeRows.map(x => {
124402
- if (!this.rowSelection.selectedRowKeys.includes(x.id)) {
124403
- this.rowSelection.selectedRowKeys.push(x.id);
124404
- this.selectedRowKeys.push(x.id);
124405
- this.selectionRowsData.push(x);
124406
- }
124407
- });
124408
- }
124409
- if (!selected) {
124410
- const removeKey = changeRows.map(item => item.id);
124411
- this.selectedRowKeys = this.selectedRowKeys.filter(item => !removeKey.includes(item));
124412
- this.selectionRowsData = this.selectionRowsData.filter(item => !removeKey.includes(item.id));
124413
- this.$set(this.rowSelection, 'selectedRowKeys', this.selectedRowKeys);
124414
- }
124415
- }
124416
- // getCheckboxProps: (record) => {
124417
- // return {
124418
- // props: {
124419
- // defaultChecked: selectedRowKeys.includes(record.id),
124420
- // },
124421
- // };
124422
- // },
124423
- };
124424
- },
124425
- loadDepartTree() {
124426
- const that = this;
124427
- (0,api/* queryDepartTreeList */.vv)().then(res => {
124428
- if (res.success) {
124429
- that.departTreeData = [];
124430
- for (let i = 0; i < res.result.length; i++) {
124431
- let temp = res.result[i];
124432
- that.departTreeData.push(temp);
124433
- }
124434
- that.loading = false;
124435
- }
124436
- });
124437
- },
124438
- show(select, item, selectedUserIds = undefined, userSelectByMyself = '1', accurate = false) {
124439
- this.accurate = accurate;
124440
- this.dataSource = [];
124441
- if (accurate) {
124442
- this.url.list = '/workflow/queryCandidatePersonalByName';
124443
- this.columns = [{
124444
- title: "单位",
124445
- dataIndex: "departName"
124446
- }, {
124447
- title: "姓名",
124448
- dataIndex: "realname"
124449
- }, {
124450
- title: "工号",
124451
- dataIndex: "username"
124452
- }];
124453
- } else {
124454
- this.url.list = '/workflow/queryCandidatePersonal';
124455
- this.columns = [{
124456
- title: "用户名",
124457
- dataIndex: "username"
124458
- }, {
124459
- title: "真实姓名",
124460
- dataIndex: "realname"
124461
- }, {
124462
- title: "单位",
124463
- dataIndex: "departName"
124464
- }];
124465
- }
124466
- console.log(select);
124467
- if (this.tagId) this.getTagDepart();
124468
- if (this.deptId) {
124469
- this.treechange(this.deptId);
124470
- }
124471
- this.setQueryParamsVal({
124472
- tagId: this.tagId,
124473
- roleId: this.role,
124474
- depId: this.deptId,
124475
- applyId: this.applyId,
124476
- selectedUserIds: selectedUserIds,
124477
- userSelectByMyself: userSelectByMyself
124478
- });
124479
-
124480
- //this.loadDepartTree();
124481
- this.checkedRows = [];
124482
- this.rowSelection.selectedRowKeys = select;
124483
- this.selectionRowsData = item;
124484
- this.getTreedata();
124485
- this.loadData();
124486
- this.setDefaultUser();
124487
- this.visible = true;
124488
- },
124489
- onCheck(checkedKeys, info) {
124490
- if (!this.multi) {
124491
- let arr = checkedKeys.checked.filter(item => {
124492
- return this.checkedKeys.indexOf(item) < 0;
124493
- });
124494
- this.checkedKeys = [...arr];
124495
- this.checkedRows = [info.node.dataRef];
124496
- } else {
124497
- this.checkedKeys = checkedKeys.checked;
124498
- this.checkedRows.push(info.node.dataRef);
124499
- }
124500
- //this.$emit("input",this.checkedKeys.join(","))
124501
- //console.log(this.checkedKeys.join(","))
124502
- },
124503
- handleSubmit() {
124504
- this.selectedRowKeys = this.rowSelection.selectedRowKeys;
124505
- if (!this.selectedRowKeys || this.selectedRowKeys.length == 0) {
124506
- this.$emit("ok", "");
124507
- } else {
124508
- this.$emit("ok", this.selectionRowsData, this.selectedRowKeys.join(","));
124509
- }
124510
- this.handleClear();
124511
- },
124512
- //onSelectChange
124513
- // onSelectChange(selectedRowKeys, selectionRows) {
124514
- // this.rowSelection.selectedRowKeys = Array.from(new Set(selectedRowKeys));
124515
- // this.selectionRowsData = this.selectionRows = [...selectionRows];
124516
- // },
124517
- // //选中或者取消某一项时
124518
- // onSelectOption(record, selected, selectedRows, nativeEvent) {
124519
- // if (selected) {
124520
- // this.selectionRowsData.push(record);
124521
- // } else {
124522
- // this.selectionRowsData = this.selectionRowsData.filter((item) => {
124523
- // return item.id != record.id;
124524
- // });
124525
- // }
124526
- // },
124527
- handleCancel() {
124528
- this.handleClear();
124529
- },
124530
- afterClose() {
124531
- this.showuser = false;
124532
- this.ipagination.current = 1;
124533
- this.ipagination.pageSize = 10;
124534
- this.ipagination.total = 0;
124535
- },
124536
- handleClear() {
124537
- this.visible = false;
124538
- this.modalCancel();
124539
- this.checkedKeys = [];
124540
- },
124541
- getParentKey(currKey, treeData) {
124542
- let parentKey;
124543
- for (let i = 0; i < treeData.length; i++) {
124544
- const node = treeData[i];
124545
- if (node.children) {
124546
- if (node.children.some(item => item.key === currKey)) {
124547
- parentKey = node.key;
124548
- } else if (this.getParentKey(currKey, node.children)) {
124549
- parentKey = this.getParentKey(currKey, node.children);
124550
- }
124551
- }
124552
- }
124553
- return parentKey;
124554
- },
124555
- onSearch(value) {
124556
- const expandedKeys = this.dataList.map(item => {
124557
- if (item.title.indexOf(value) > -1) {
124558
- return this.getParentKey(item.key, this.treeData);
124559
- }
124560
- return null;
124561
- }).filter((item, i, self) => item && self.indexOf(item) === i);
124562
- Object.assign(this, {
124563
- expandedKeys,
124564
- searchValue: value,
124565
- autoExpandParent: true
124566
- });
124567
- },
124568
- initDictConfig() {
124569
- this.loadDepartTree();
124570
- }
124571
- }
124572
- });
124573
- ;// ./src/form/modules/common/Modals/selectUserModal.vue?vue&type=script&lang=js
124574
- /* harmony default export */ const Modals_selectUserModalvue_type_script_lang_js = (selectUserModalvue_type_script_lang_js);
124575
- ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/selectUserModal.vue?vue&type=style&index=0&id=73e84290&prod&scoped=true&lang=css
124576
- // extracted by mini-css-extract-plugin
124577
-
124578
- ;// ./src/form/modules/common/Modals/selectUserModal.vue?vue&type=style&index=0&id=73e84290&prod&scoped=true&lang=css
124579
-
124580
- // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
124581
- var componentNormalizer = __webpack_require__(81656);
124582
- ;// ./src/form/modules/common/Modals/selectUserModal.vue
124583
-
124584
-
124585
-
124586
- ;
124587
-
124588
-
124589
- /* normalize component */
124590
-
124591
- var component = (0,componentNormalizer/* default */.A)(
124592
- Modals_selectUserModalvue_type_script_lang_js,
124593
- render,
124594
- staticRenderFns,
124595
- false,
124596
- null,
124597
- "73e84290",
124598
- null
124599
-
124600
- )
124601
-
124602
- /* harmony default export */ const selectUserModal = (component.exports);
124603
-
124604
124009
  /***/ }),
124605
124010
 
124606
124011
  /***/ 63964:
@@ -127442,7 +126847,7 @@ var vuedraggable_umd_default = /*#__PURE__*/__webpack_require__.n(vuedraggable_u
127442
126847
  // EXTERNAL MODULE: ./src/api/manage.js
127443
126848
  var manage = __webpack_require__(1137);
127444
126849
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 1014 modules
127445
- var components = __webpack_require__(33129);
126850
+ var components = __webpack_require__(32732);
127446
126851
  // EXTERNAL MODULE: ./src/form/util/Bus.js
127447
126852
  var Bus = __webpack_require__(361);
127448
126853
  // EXTERNAL MODULE: ./src/form/modules/config/hnkj.js
@@ -128202,6 +127607,664 @@ module.exports = function (input, pref) {
128202
127607
  };
128203
127608
 
128204
127609
 
127610
+ /***/ }),
127611
+
127612
+ /***/ 73421:
127613
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
127614
+
127615
+ "use strict";
127616
+
127617
+ // EXPORTS
127618
+ __webpack_require__.d(__webpack_exports__, {
127619
+ A: () => (/* binding */ selectUserModal)
127620
+ });
127621
+
127622
+ ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/selectUserModal.vue?vue&type=template&id=6e0a220e&scoped=true
127623
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-modal',{attrs:{"title":"选择用户","width":_vm.modalWidth,"visible":_vm.visible,"confirmLoading":_vm.confirmLoading,"afterClose":_vm.afterClose,"cancelText":"关闭","zIndex":1100000},on:{"ok":_vm.handleSubmit,"cancel":_vm.handleCancel}},[_c('a-spin',{attrs:{"tip":"Loading...","spinning":false}},[_c('a-card',{attrs:{"bordered":false}},[_c('div',{staticClass:"table-page-search-wrapper"},[_c('a-form',{attrs:{"layout":"inline","label-col":{ span: 0 },"wrapper-col":{ span: 24 }}},[_c('a-row',{attrs:{"gutter":24}},[(!_vm.tagId && !_vm.accurate)?[_c('a-col',{attrs:{"md":6,"sm":6}},[_c('a-form-item',{staticStyle:{"width":"100%"}},[_c('a-tree-select',{staticStyle:{"width":"100%"},attrs:{"id":"speca","dropdown-style":{ maxHeight: '400px', overflow: 'auto' },"placeholder":"请选择部门","tree-data":_vm.treeData,"treeDefaultExpandedKeys":_vm.defaultExpandedKeys,"getPopupContainer":function (triggerNode) {
127624
+ return triggerNode.parentNode || _vm.document.body;
127625
+ },"disabled":_vm.applyId ? true : false,"allow-clear":""},on:{"change":_vm.treechange},model:{value:(_vm.queryParam.depId),callback:function ($$v) {_vm.$set(_vm.queryParam, "depId", $$v)},expression:"queryParam.depId"}})],1)],1),(_vm.showuser && !this.role)?_c('a-col',{attrs:{"md":6,"sm":6}},[_c('a-form-item',{staticStyle:{"width":"100%"}},[_c('a-select',{attrs:{"placeholder":"请选择角色","getPopupContainer":function (triggerNode) {
127626
+ return triggerNode.parentNode || _vm.document.body;
127627
+ }},model:{value:(_vm.queryParam.roleId),callback:function ($$v) {_vm.$set(_vm.queryParam, "roleId", $$v)},expression:"queryParam.roleId"}},_vm._l((_vm.userlist),function(item){return _c('a-select-option',{key:item.id,attrs:{"value":item.id}},[_vm._v(_vm._s(item.roleName))])}),1)],1)],1):_vm._e()]:[(!_vm.accurate)?_c('a-col',{attrs:{"md":6,"sm":6}},[_c('a-form-item',{staticStyle:{"width":"100%"}},[_c('a-select',{staticStyle:{"width":"100%"},attrs:{"placeholder":"请选择部门","allow-clear":"","dropdown-style":{ maxHeight: '400px',zIndex: 1100000 }},model:{value:(_vm.queryParam.depId),callback:function ($$v) {_vm.$set(_vm.queryParam, "depId", $$v)},expression:"queryParam.depId"}},_vm._l((_vm.tagDeparts),function(depart){return _c('a-select-option',{attrs:{"value":depart.departId,"title":depart.departName}},[_vm._v(_vm._s(depart.departName))])}),1)],1)],1):_vm._e()],(!_vm.accurate)?_c('a-col',{attrs:{"md":6,"sm":6}},[_c('a-form-item',[_c('a-input',{attrs:{"placeholder":"用户名/真实姓名查询"},model:{value:(_vm.queryParam.realname),callback:function ($$v) {_vm.$set(_vm.queryParam, "realname", $$v)},expression:"queryParam.realname"}})],1)],1):_c('a-col',{attrs:{"md":6,"sm":6}},[_c('a-form-item',[_c('a-input',{attrs:{"placeholder":"用户名/真实姓名查询"},model:{value:(_vm.queryParam.username),callback:function ($$v) {_vm.$set(_vm.queryParam, "username", $$v)},expression:"queryParam.username"}})],1)],1),_c('a-col',{attrs:{"md":6,"sm":6}},[_c('div',{staticClass:"table-page-search-submitButtons",staticStyle:{"overflow":"hidden","line-height":"34px"}},[_c('a-button',{attrs:{"type":"primary","icon":"search"},on:{"click":_vm.searchQuery}},[_vm._v("查询")])],1)])],2)],1)],1),_c('div',[_c('a-table',{ref:"table",attrs:{"bordered":"","size":"middle","rowKey":"id","columns":_vm.columns,"dataSource":_vm.dataSource,"pagination":_vm.ipagination,"loading":_vm.loading,"rowSelection":_vm.rowSelection,"customRow":_vm.handleCustomRow},on:{"change":_vm.handleTableChange}})],1)])],1)],1)}
127628
+ var staticRenderFns = []
127629
+
127630
+
127631
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
127632
+ var es_array_push = __webpack_require__(44114);
127633
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.constructor.js
127634
+ var es_iterator_constructor = __webpack_require__(18111);
127635
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.filter.js
127636
+ var es_iterator_filter = __webpack_require__(22489);
127637
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.for-each.js
127638
+ var es_iterator_for_each = __webpack_require__(7588);
127639
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.map.js
127640
+ var es_iterator_map = __webpack_require__(61701);
127641
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.iterator.some.js
127642
+ var es_iterator_some = __webpack_require__(13579);
127643
+ // EXTERNAL MODULE: ./src/api/manage.js
127644
+ var manage = __webpack_require__(1137);
127645
+ // EXTERNAL MODULE: ./src/mixins/JeecgListMixinV2.js
127646
+ var JeecgListMixinV2 = __webpack_require__(36099);
127647
+ // EXTERNAL MODULE: ./src/api/api.js
127648
+ var api = __webpack_require__(40412);
127649
+ // EXTERNAL MODULE: ./node_modules/lodash/lodash.js
127650
+ var lodash = __webpack_require__(2543);
127651
+ ;// ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/selectUserModal.vue?vue&type=script&lang=js
127652
+
127653
+
127654
+
127655
+
127656
+
127657
+
127658
+ //
127659
+ //
127660
+ //
127661
+ //
127662
+ //
127663
+ //
127664
+ //
127665
+ //
127666
+ //
127667
+ //
127668
+ //
127669
+ //
127670
+ //
127671
+ //
127672
+ //
127673
+ //
127674
+ //
127675
+ //
127676
+ //
127677
+ //
127678
+ //
127679
+ //
127680
+ //
127681
+ //
127682
+ //
127683
+ //
127684
+ //
127685
+ //
127686
+ //
127687
+ //
127688
+ //
127689
+ //
127690
+ //
127691
+ //
127692
+ //
127693
+ //
127694
+ //
127695
+ //
127696
+ //
127697
+ //
127698
+ //
127699
+ //
127700
+ //
127701
+ //
127702
+ //
127703
+ //
127704
+ //
127705
+ //
127706
+ //
127707
+ //
127708
+ //
127709
+ //
127710
+ //
127711
+ //
127712
+ //
127713
+ //
127714
+ //
127715
+ //
127716
+ //
127717
+ //
127718
+ //
127719
+ //
127720
+ //
127721
+ //
127722
+ //
127723
+ //
127724
+ //
127725
+ //
127726
+ //
127727
+ //
127728
+ //
127729
+ //
127730
+ //
127731
+ //
127732
+ //
127733
+ //
127734
+ //
127735
+ //
127736
+ //
127737
+ //
127738
+ //
127739
+ //
127740
+ //
127741
+ //
127742
+ //
127743
+ //
127744
+ //
127745
+ //
127746
+ //
127747
+ //
127748
+ //
127749
+ //
127750
+ //
127751
+ //
127752
+ //
127753
+ //
127754
+ //
127755
+ //
127756
+ //
127757
+ //
127758
+ //
127759
+ //
127760
+ //
127761
+ //
127762
+ //
127763
+ //
127764
+ //
127765
+ //
127766
+ //
127767
+ //
127768
+ //
127769
+ //
127770
+ //
127771
+ //
127772
+ //
127773
+ //
127774
+ //
127775
+ //
127776
+ //
127777
+ //
127778
+ //
127779
+
127780
+
127781
+
127782
+
127783
+
127784
+ /* harmony default export */ const selectUserModalvue_type_script_lang_js = ({
127785
+ name: 'selectUserModal',
127786
+ props: ['modalWidth', 'multi', 'users', 'role', 'defaultDepartId', 'applyId', 'tagId'],
127787
+ mixins: [{
127788
+ ...JeecgListMixinV2/* JeecgListMixin */.C,
127789
+ created: undefined
127790
+ }],
127791
+ // 取消minxin created
127792
+ data() {
127793
+ return {
127794
+ queryParam: {
127795
+ depId: undefined,
127796
+ roleId: undefined,
127797
+ realname: '',
127798
+ username: ''
127799
+ },
127800
+ showuser: false,
127801
+ userlist: [],
127802
+ visible: false,
127803
+ confirmLoading: false,
127804
+ treeData: [],
127805
+ autoExpandParent: true,
127806
+ expandedKeys: [],
127807
+ dataList: [],
127808
+ checkedKeys: [],
127809
+ departTreeData: [],
127810
+ checkedRows: [],
127811
+ searchValue: "",
127812
+ selectionRowsData: [],
127813
+ selectedRowKeys: [],
127814
+ isFilter: true,
127815
+ rowSelection: {
127816
+ selectedRowKeys: this.selectedRowKeys,
127817
+ // onChange: this.onSelectChange,
127818
+
127819
+ type: this.multi ? "checkbox" : "radio"
127820
+ },
127821
+ columns: [
127822
+ // {
127823
+ // title: "用户名",
127824
+ // dataIndex: "username",
127825
+ // },
127826
+ // {
127827
+ // title: "真实姓名",
127828
+ // dataIndex: "realname",
127829
+ // },
127830
+ // {
127831
+ // title: "单位",
127832
+ // dataIndex: "departName",
127833
+ // },
127834
+ // {
127835
+ // title: "职务",
127836
+ // dataIndex: "zw",
127837
+ // },
127838
+ // {
127839
+ // title: "电话",
127840
+ // dataIndex: "phone",
127841
+ // },
127842
+ ],
127843
+ url: {
127844
+ syncUser: '/process/extActProcess/doSyncUser',
127845
+ list: '/workflow/queryCandidatePersonal',
127846
+ delete: '/sys/user/delete',
127847
+ deleteBatch: '/sys/user/deleteBatch',
127848
+ exportXlsUrl: '/sys/user/exportXls',
127849
+ importExcelUrl: 'sys/user/importExcel'
127850
+ },
127851
+ tagDeparts: [],
127852
+ deptId: '',
127853
+ accurate: false,
127854
+ // 是否精准选人
127855
+ defaultExpandedKeys: [] // 默认展开的节点
127856
+ };
127857
+ },
127858
+ created() {
127859
+ this.deptId = this.defaultDepartId || undefined;
127860
+ this.setQueryParamsVal({
127861
+ depId: this.deptId,
127862
+ applyId: this.applyId,
127863
+ tagId: this.tagId,
127864
+ roleId: this.role
127865
+ });
127866
+ // this.loadData(false, 'first')
127867
+ this.loadDepartTree();
127868
+ this.setDefaultUser();
127869
+ },
127870
+ mounted() {
127871
+ if (this.deptId) {
127872
+ this.treechange(this.deptId);
127873
+ }
127874
+ },
127875
+ computed: {},
127876
+ watch: {
127877
+ users(v) {
127878
+ if (v.length === 0) {
127879
+ this.setDefaultUser();
127880
+ }
127881
+ },
127882
+ role(val) {
127883
+ this.role = val;
127884
+ }
127885
+ },
127886
+ methods: {
127887
+ loadData(arg, type) {
127888
+ if (!this.url.list) {
127889
+ this.$message.error("请设置url.list属性!");
127890
+ return;
127891
+ }
127892
+ //加载数据 若传入参数1则加载第一页的内容
127893
+ if (arg === 1) {
127894
+ this.ipagination.current = 1;
127895
+ }
127896
+ if (this.role) {
127897
+ this.setQueryParamsVal({
127898
+ roleId: this.role
127899
+ });
127900
+ }
127901
+ if (this.tagId) {
127902
+ this.setQueryParamsVal({
127903
+ tagId: this.tagId
127904
+ });
127905
+ }
127906
+ let params = this.getQueryParams(); //查询条件
127907
+ this.loading = true;
127908
+ if (this.accurate && this.selectionRowsData && this.selectionRowsData.length > 0) {
127909
+ //精确查询需要带上选中的数据一起查询
127910
+ let username = this.selectionRowsData.map(item => item.realname).join(',');
127911
+ params.username = params.username ? params.username + ',' + username : username;
127912
+ }
127913
+ (0,manage/* getAction */.Th)(this.url.list, params).then(res => {
127914
+ if (res.success) {
127915
+ this.dataSource = res.result.records;
127916
+ this.ipagination.total = res.result.total;
127917
+ if (type && this.applyId) {
127918
+ this.deptId = res.result.params.depId;
127919
+ this.setQueryParamsVal({
127920
+ depId: this.deptId
127921
+ });
127922
+ this.treechange(this.deptId);
127923
+ }
127924
+ }
127925
+ if (res.code === 510) {
127926
+ this.$message.warning(res.message);
127927
+ } else if (res.code === 500) {
127928
+ if (res.message.length < 100) {
127929
+ this.$message.error(res.message);
127930
+ }
127931
+ }
127932
+ this.loading = false;
127933
+ });
127934
+ },
127935
+ getTagDepart() {
127936
+ this.tagDeparts = [];
127937
+ (0,manage/* getAction */.Th)("/zhxymatrix/user/listDepartsByTagId", {
127938
+ tagId: this.tagId
127939
+ }).then(res => {
127940
+ if (res.success) {
127941
+ this.tagDeparts = res.result || [];
127942
+ }
127943
+ });
127944
+ },
127945
+ handleCustomRow(record) {
127946
+ return {
127947
+ on: {
127948
+ click: () => {
127949
+ const selectId = record.id;
127950
+ const selectedRowKeys = this.rowSelection.selectedRowKeys;
127951
+ if (!this.multi) {
127952
+ this.rowSelection.selectedRowKeys = [record.id];
127953
+ this.selectionRowsData = [record];
127954
+ return;
127955
+ }
127956
+ if (selectedRowKeys.includes(selectId)) {
127957
+ this.selectionRowsData = this.selectionRowsData.filter(item => item.id !== selectId);
127958
+ this.rowSelection.selectedRowKeys = selectedRowKeys.filter(item => item !== selectId);
127959
+ return;
127960
+ }
127961
+ this.rowSelection.selectedRowKeys.push(record.id);
127962
+ this.selectionRowsData.push(record);
127963
+ }
127964
+ }
127965
+ };
127966
+ },
127967
+ setZindex() {
127968
+ return () => document.getElementById("speca");
127969
+ },
127970
+ //获取部门
127971
+ getTreedata() {
127972
+ this.treeData = [];
127973
+ (0,manage/* getAction */.Th)("formApi/queryTreeList").then(res => {
127974
+ if (res.success) {
127975
+ for (let i = 0; i < res.result.length; i++) {
127976
+ let temp = res.result[i];
127977
+ this.treeData.push(temp);
127978
+ }
127979
+ // let ob = { value: "", title: "请选择" };
127980
+ // this.treeData.unshift(ob);
127981
+
127982
+ // 设置默认展开二级节点
127983
+ this.setDefaultExpandedKeys();
127984
+ }
127985
+ });
127986
+ },
127987
+ // 设置默认展开的节点(只展开到二级)
127988
+ setDefaultExpandedKeys() {
127989
+ const keys = [];
127990
+ // 只收集一级节点的key,这样就只展开到二级
127991
+ this.treeData.forEach(node => {
127992
+ keys.push(node.value || node.key);
127993
+ });
127994
+ this.defaultExpandedKeys = keys;
127995
+ },
127996
+ treechange(e) {
127997
+ this.queryParam.roleId = undefined;
127998
+ let params = {
127999
+ depId: e
128000
+ };
128001
+ (0,manage/* getAction */.Th)("/sys/role/listWorkFlowDepRole", params).then(res => {
128002
+ if (res.success) {
128003
+ this.userlist = res.result;
128004
+ this.showuser = true;
128005
+ }
128006
+ });
128007
+ },
128008
+ setDefaultUser() {
128009
+ var selectedRowKeys = [];
128010
+ if (Array.isArray(this.users) && this.users.length > 0) {
128011
+ selectedRowKeys = this.users.map(item => {
128012
+ return item.id;
128013
+ });
128014
+ this.selectionRowsData = this.users.map(item => {
128015
+ return {
128016
+ ...item,
128017
+ id: item.id,
128018
+ realname: item.realname || item.username
128019
+ };
128020
+ });
128021
+ } else {
128022
+ this.selectionRowsData = [];
128023
+ }
128024
+ // console.log(selectedRowKeys)
128025
+ this.rowSelection = {
128026
+ // onChange: this.onSelectChange,
128027
+ type: this.multi ? "checkbox" : "radio",
128028
+ selectedRowKeys: selectedRowKeys,
128029
+ onSelect: (record, selected, selectedRows, nativeEvent) => {
128030
+ // console.log(record, selected, selectedRows, nativeEvent)
128031
+ const list = this.selectionRowsData;
128032
+ const selectedRowKeys = this.rowSelection.selectedRowKeys;
128033
+ if (!selected) {
128034
+ // 这里是取消勾选,删除对应的数组项
128035
+ // selectedRowKeys.map((x,item) => {
128036
+ // if(x === record.id){
128037
+ // selectedRowKeys.splice(item,1)
128038
+ // }
128039
+ // })
128040
+ // list.map((x,item) => {
128041
+ // if(x === record.id){
128042
+ // list.splice(item,1)
128043
+ // }
128044
+ // })
128045
+ this.rowSelection.selectedRowKeys = selectedRowKeys.filter(item => item !== record.id);
128046
+ this.selectionRowsData = list.filter(item => item.id !== record.id);
128047
+ console.log(this.rowSelection.selectedRowKeys);
128048
+ }
128049
+ if (selected) {
128050
+ if (!this.multi) {
128051
+ this.rowSelection.selectedRowKeys = [record.id];
128052
+ this.selectionRowsData = [record];
128053
+ return;
128054
+ }
128055
+
128056
+ // 这里是点击勾选,添加workerId字段到selectedRowKeys数组里
128057
+ this.rowSelection.selectedRowKeys.push(record.id);
128058
+ console.log(this.rowSelection.selectedRowKeys);
128059
+ list.push(record);
128060
+ }
128061
+ },
128062
+ //全选
128063
+ onSelectAll: (selected, selectedRows, changeRows) => {
128064
+ if (selected) {
128065
+ changeRows.map(x => {
128066
+ if (!this.rowSelection.selectedRowKeys.includes(x.id)) {
128067
+ this.rowSelection.selectedRowKeys.push(x.id);
128068
+ this.selectedRowKeys.push(x.id);
128069
+ this.selectionRowsData.push(x);
128070
+ }
128071
+ });
128072
+ }
128073
+ if (!selected) {
128074
+ const removeKey = changeRows.map(item => item.id);
128075
+ this.selectedRowKeys = this.selectedRowKeys.filter(item => !removeKey.includes(item));
128076
+ this.selectionRowsData = this.selectionRowsData.filter(item => !removeKey.includes(item.id));
128077
+ this.$set(this.rowSelection, 'selectedRowKeys', this.selectedRowKeys);
128078
+ }
128079
+ }
128080
+ // getCheckboxProps: (record) => {
128081
+ // return {
128082
+ // props: {
128083
+ // defaultChecked: selectedRowKeys.includes(record.id),
128084
+ // },
128085
+ // };
128086
+ // },
128087
+ };
128088
+ },
128089
+ loadDepartTree() {
128090
+ const that = this;
128091
+ (0,api/* queryDepartTreeList */.vv)().then(res => {
128092
+ if (res.success) {
128093
+ that.departTreeData = [];
128094
+ for (let i = 0; i < res.result.length; i++) {
128095
+ let temp = res.result[i];
128096
+ that.departTreeData.push(temp);
128097
+ }
128098
+ that.loading = false;
128099
+ }
128100
+ });
128101
+ },
128102
+ show(select, item, selectedUserIds = undefined, userSelectByMyself = '1', accurate = false) {
128103
+ this.accurate = accurate;
128104
+ this.dataSource = [];
128105
+ if (accurate) {
128106
+ this.url.list = '/workflow/queryCandidatePersonalByName';
128107
+ this.columns = [{
128108
+ title: "单位",
128109
+ dataIndex: "departName"
128110
+ }, {
128111
+ title: "姓名",
128112
+ dataIndex: "realname"
128113
+ }, {
128114
+ title: "工号",
128115
+ dataIndex: "username"
128116
+ }];
128117
+ } else {
128118
+ this.url.list = '/workflow/queryCandidatePersonal';
128119
+ this.columns = [{
128120
+ title: "用户名",
128121
+ dataIndex: "username"
128122
+ }, {
128123
+ title: "真实姓名",
128124
+ dataIndex: "realname"
128125
+ }, {
128126
+ title: "单位",
128127
+ dataIndex: "departName"
128128
+ }];
128129
+ }
128130
+ console.log(select);
128131
+ if (this.tagId) this.getTagDepart();
128132
+ if (this.deptId) {
128133
+ this.treechange(this.deptId);
128134
+ }
128135
+ this.setQueryParamsVal({
128136
+ tagId: this.tagId,
128137
+ roleId: this.role,
128138
+ depId: this.deptId,
128139
+ applyId: this.applyId,
128140
+ selectedUserIds: selectedUserIds,
128141
+ userSelectByMyself: userSelectByMyself
128142
+ });
128143
+
128144
+ //this.loadDepartTree();
128145
+ this.checkedRows = [];
128146
+ this.rowSelection.selectedRowKeys = select;
128147
+ this.selectionRowsData = item;
128148
+ this.getTreedata();
128149
+ this.loadData();
128150
+ this.setDefaultUser();
128151
+ this.visible = true;
128152
+ },
128153
+ onCheck(checkedKeys, info) {
128154
+ if (!this.multi) {
128155
+ let arr = checkedKeys.checked.filter(item => {
128156
+ return this.checkedKeys.indexOf(item) < 0;
128157
+ });
128158
+ this.checkedKeys = [...arr];
128159
+ this.checkedRows = [info.node.dataRef];
128160
+ } else {
128161
+ this.checkedKeys = checkedKeys.checked;
128162
+ this.checkedRows.push(info.node.dataRef);
128163
+ }
128164
+ //this.$emit("input",this.checkedKeys.join(","))
128165
+ //console.log(this.checkedKeys.join(","))
128166
+ },
128167
+ handleSubmit() {
128168
+ this.selectedRowKeys = this.rowSelection.selectedRowKeys;
128169
+ if (!this.selectedRowKeys || this.selectedRowKeys.length == 0) {
128170
+ this.$emit("ok", "");
128171
+ } else {
128172
+ this.$emit("ok", this.selectionRowsData, this.selectedRowKeys.join(","));
128173
+ }
128174
+ this.handleClear();
128175
+ },
128176
+ //onSelectChange
128177
+ // onSelectChange(selectedRowKeys, selectionRows) {
128178
+ // this.rowSelection.selectedRowKeys = Array.from(new Set(selectedRowKeys));
128179
+ // this.selectionRowsData = this.selectionRows = [...selectionRows];
128180
+ // },
128181
+ // //选中或者取消某一项时
128182
+ // onSelectOption(record, selected, selectedRows, nativeEvent) {
128183
+ // if (selected) {
128184
+ // this.selectionRowsData.push(record);
128185
+ // } else {
128186
+ // this.selectionRowsData = this.selectionRowsData.filter((item) => {
128187
+ // return item.id != record.id;
128188
+ // });
128189
+ // }
128190
+ // },
128191
+ handleCancel() {
128192
+ this.handleClear();
128193
+ },
128194
+ afterClose() {
128195
+ this.showuser = false;
128196
+ this.ipagination.current = 1;
128197
+ this.ipagination.pageSize = 10;
128198
+ this.ipagination.total = 0;
128199
+ },
128200
+ handleClear() {
128201
+ this.visible = false;
128202
+ this.modalCancel();
128203
+ this.checkedKeys = [];
128204
+ },
128205
+ getParentKey(currKey, treeData) {
128206
+ let parentKey;
128207
+ for (let i = 0; i < treeData.length; i++) {
128208
+ const node = treeData[i];
128209
+ if (node.children) {
128210
+ if (node.children.some(item => item.key === currKey)) {
128211
+ parentKey = node.key;
128212
+ } else if (this.getParentKey(currKey, node.children)) {
128213
+ parentKey = this.getParentKey(currKey, node.children);
128214
+ }
128215
+ }
128216
+ }
128217
+ return parentKey;
128218
+ },
128219
+ onSearch(value) {
128220
+ const expandedKeys = this.dataList.map(item => {
128221
+ if (item.title.indexOf(value) > -1) {
128222
+ return this.getParentKey(item.key, this.treeData);
128223
+ }
128224
+ return null;
128225
+ }).filter((item, i, self) => item && self.indexOf(item) === i);
128226
+ Object.assign(this, {
128227
+ expandedKeys,
128228
+ searchValue: value,
128229
+ autoExpandParent: true
128230
+ });
128231
+ },
128232
+ initDictConfig() {
128233
+ this.loadDepartTree();
128234
+ }
128235
+ }
128236
+ });
128237
+ ;// ./src/form/modules/common/Modals/selectUserModal.vue?vue&type=script&lang=js
128238
+ /* harmony default export */ const Modals_selectUserModalvue_type_script_lang_js = (selectUserModalvue_type_script_lang_js);
128239
+ ;// ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/common/Modals/selectUserModal.vue?vue&type=style&index=0&id=6e0a220e&prod&scoped=true&lang=css
128240
+ // extracted by mini-css-extract-plugin
128241
+
128242
+ ;// ./src/form/modules/common/Modals/selectUserModal.vue?vue&type=style&index=0&id=6e0a220e&prod&scoped=true&lang=css
128243
+
128244
+ // EXTERNAL MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
128245
+ var componentNormalizer = __webpack_require__(81656);
128246
+ ;// ./src/form/modules/common/Modals/selectUserModal.vue
128247
+
128248
+
128249
+
128250
+ ;
128251
+
128252
+
128253
+ /* normalize component */
128254
+
128255
+ var component = (0,componentNormalizer/* default */.A)(
128256
+ Modals_selectUserModalvue_type_script_lang_js,
128257
+ render,
128258
+ staticRenderFns,
128259
+ false,
128260
+ null,
128261
+ "6e0a220e",
128262
+ null
128263
+
128264
+ )
128265
+
128266
+ /* harmony default export */ const selectUserModal = (component.exports);
128267
+
128205
128268
  /***/ }),
128206
128269
 
128207
128270
  /***/ 73506:
@@ -129775,7 +129838,7 @@ exportTypedArrayMethod('with', { 'with': function (index, value) {
129775
129838
  /* harmony import */ var _util_mathUtils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(78032);
129776
129839
  /* harmony import */ var _util_util__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(18187);
129777
129840
  /* harmony import */ var _layoutItem__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(84962);
129778
- /* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(33129);
129841
+ /* harmony import */ var _components_index__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(32732);
129779
129842
  /* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(23224);
129780
129843
  /* harmony import */ var pubsub_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(pubsub_js__WEBPACK_IMPORTED_MODULE_18__);
129781
129844
  /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(9274);
@@ -133086,7 +133149,7 @@ var component = (0,componentNormalizer/* default */.A)(
133086
133149
 
133087
133150
  /* harmony default export */ const CorrectionModal = (component.exports);
133088
133151
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 1014 modules
133089
- var components = __webpack_require__(33129);
133152
+ var components = __webpack_require__(32732);
133090
133153
  // EXTERNAL MODULE: ./node_modules/pubsub-js/src/pubsub.js
133091
133154
  var pubsub = __webpack_require__(23224);
133092
133155
  var pubsub_default = /*#__PURE__*/__webpack_require__.n(pubsub);
@@ -176872,7 +176935,7 @@ var es_array_unshift = __webpack_require__(13609);
176872
176935
  // EXTERNAL MODULE: ./src/form/util/util.js
176873
176936
  var util_util = __webpack_require__(18187);
176874
176937
  // EXTERNAL MODULE: ./src/form/modules/components/index.js + 1014 modules
176875
- var components = __webpack_require__(33129);
176938
+ var components = __webpack_require__(32732);
176876
176939
  // EXTERNAL MODULE: ./src/form/modules/widgetFormItem.vue + 6 modules
176877
176940
  var widgetFormItem = __webpack_require__(71895);
176878
176941
  // EXTERNAL MODULE: ./src/form/modules/WidgetIdeaSignItem.vue + 5 modules
@@ -179552,7 +179615,7 @@ var toLinkageWidget_component = (0,componentNormalizer/* default */.A)(
179552
179615
  // EXTERNAL MODULE: ./src/form/modules/common/querySelectDict.vue + 3 modules
179553
179616
  var querySelectDict = __webpack_require__(6399);
179554
179617
  // EXTERNAL MODULE: ./src/form/modules/common/Modals/selectUserModal.vue + 5 modules
179555
- var selectUserModal = __webpack_require__(63828);
179618
+ var selectUserModal = __webpack_require__(73421);
179556
179619
  ;// ./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/form/modules/common/formLinkage/component/linkageSelectUser.vue?vue&type=template&id=7fd8ad34&scoped=true
179557
179620
  var linkageSelectUservue_type_template_id_7fd8ad34_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-input',{on:{"mousedown":function($event){$event.preventDefault();return _vm.openModal.apply(null, arguments)}},model:{value:(_vm.userNames),callback:function ($$v) {_vm.userNames=$$v},expression:"userNames"}},[_c('a-icon',{attrs:{"slot":"prefix","type":"user","title":"用户选择"},slot:"prefix"}),_c('a-icon',{staticStyle:{"cursor":"pointer"},attrs:{"slot":"suffix","type":"close-circle","title":"清空"},nativeOn:{"click":function($event){$event.stopPropagation();return _vm.handleEmpty.apply(null, arguments)}},slot:"suffix"})],1),_c('select-user-modal',{ref:"selectUserModal",attrs:{"modal-width":"1000px","users":_vm.value,"multi":_vm.multiple},on:{"ok":_vm.handleOK,"initComp":_vm.initComp}})],1)}
179558
179621
  var linkageSelectUservue_type_template_id_7fd8ad34_scoped_true_staticRenderFns = []