ecinc-cloud-yoaemail 9.6.247 → 9.6.248

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.
@@ -2391,7 +2391,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".widthChange[data-v-45c17f86] .el-tabl
2391
2391
 
2392
2392
  /***/ }),
2393
2393
 
2394
- /***/ 3520:
2394
+ /***/ 8732:
2395
2395
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2396
2396
 
2397
2397
  "use strict";
@@ -2405,7 +2405,7 @@ __webpack_require__.r(__webpack_exports__);
2405
2405
 
2406
2406
  var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
2407
2407
  // Module
2408
- ___CSS_LOADER_EXPORT___.push([module.id, ".left_account ul[data-v-a78c7e32]{margin:0;padding:0}.left_account ul li[data-v-a78c7e32],.top[data-v-a78c7e32]{width:100%;height:47.2px;line-height:47.2px;text-align:left;list-style:none;font-size:var(--portalFontSize12);border-bottom:1px solid #ececec;cursor:pointer;padding-left:10px}.checkBoxlabel[data-v-a78c7e32] .el-checkbox__label{line-height:14px!important}", ""]);
2408
+ ___CSS_LOADER_EXPORT___.push([module.id, ".left_account ul[data-v-08555dbc]{margin:0;padding:0}.left_account ul li[data-v-08555dbc],.top[data-v-08555dbc]{width:100%;height:47.2px;line-height:47.2px;text-align:left;list-style:none;font-size:var(--portalFontSize12);border-bottom:1px solid #ececec;cursor:pointer;padding-left:10px}.checkBoxlabel[data-v-08555dbc] .el-checkbox__label{line-height:14px!important}", ""]);
2409
2409
  // Exports
2410
2410
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
2411
2411
 
@@ -26894,19 +26894,19 @@ var update = add("5dfb5a3e", content, true, {"sourceMap":false,"shadowMode":fals
26894
26894
 
26895
26895
  /***/ }),
26896
26896
 
26897
- /***/ 5898:
26897
+ /***/ 6090:
26898
26898
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
26899
26899
 
26900
26900
  // style-loader: Adds some css to the DOM by adding a <style> tag
26901
26901
 
26902
26902
  // load the styles
26903
- var content = __webpack_require__(3520);
26903
+ var content = __webpack_require__(8732);
26904
26904
  if(content.__esModule) content = content.default;
26905
26905
  if(typeof content === 'string') content = [[module.id, content, '']];
26906
26906
  if(content.locals) module.exports = content.locals;
26907
26907
  // add the styles to the DOM
26908
26908
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
26909
- var update = add("66391473", content, true, {"sourceMap":false,"shadowMode":false});
26909
+ var update = add("0d473046", content, true, {"sourceMap":false,"shadowMode":false});
26910
26910
 
26911
26911
  /***/ }),
26912
26912
 
@@ -30685,8 +30685,12 @@ var accessoryList_component = normalizeComponent(
30685
30685
  )
30686
30686
 
30687
30687
  /* harmony default export */ var accessoryList = (accessoryList_component.exports);
30688
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/address.vue?vue&type=template&id=a78c7e32&scoped=true
30689
- var addressvue_type_template_id_a78c7e32_scoped_true_render = function render() {
30688
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/address.vue?vue&type=template&id=08555dbc&scoped=true
30689
+ function addressvue_type_template_id_08555dbc_scoped_true_typeof(o) { "@babel/helpers - typeof"; return addressvue_type_template_id_08555dbc_scoped_true_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, addressvue_type_template_id_08555dbc_scoped_true_typeof(o); }
30690
+ function addressvue_type_template_id_08555dbc_scoped_true_defineProperty(e, r, t) { return (r = addressvue_type_template_id_08555dbc_scoped_true_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
30691
+ function addressvue_type_template_id_08555dbc_scoped_true_toPropertyKey(t) { var i = addressvue_type_template_id_08555dbc_scoped_true_toPrimitive(t, "string"); return "symbol" == addressvue_type_template_id_08555dbc_scoped_true_typeof(i) ? i : i + ""; }
30692
+ function addressvue_type_template_id_08555dbc_scoped_true_toPrimitive(t, r) { if ("object" != addressvue_type_template_id_08555dbc_scoped_true_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != addressvue_type_template_id_08555dbc_scoped_true_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
30693
+ var addressvue_type_template_id_08555dbc_scoped_true_render = function render() {
30690
30694
  var _vm = this,
30691
30695
  _c = _vm._self._c;
30692
30696
  return _c('LRLayout', [_c('LeftPanel', {
@@ -31113,7 +31117,7 @@ var addressvue_type_template_id_a78c7e32_scoped_true_render = function render()
31113
31117
  }, [_vm.isUpdate ? _c('form-item', {
31114
31118
  ref: "flCreator",
31115
31119
  attrs: {
31116
- "field": {
31120
+ "field": addressvue_type_template_id_08555dbc_scoped_true_defineProperty(addressvue_type_template_id_08555dbc_scoped_true_defineProperty(addressvue_type_template_id_08555dbc_scoped_true_defineProperty({
31117
31121
  defaultValue: null,
31118
31122
  elementCanEdit: '{${canEdit}}',
31119
31123
  elementCssHeight: null,
@@ -31132,25 +31136,71 @@ var addressvue_type_template_id_a78c7e32_scoped_true_render = function render()
31132
31136
  propName: 'name',
31133
31137
  propType: 'String',
31134
31138
  textFormatter: 'textfield',
31135
- valueMaxLength: 32,
31139
+ valueMaxLength: 1000,
31136
31140
  valueMinLength: null,
31137
31141
  model: 'vo.flCreator',
31138
31142
  option: [],
31139
31143
  tbFieldName: 'flcreator',
31140
31144
  dialog: 1,
31141
31145
  dialogType: 'staff',
31142
- dialogMultiple: false,
31146
+ dialogMultiple: _vm.isBatchAdd,
31147
+ 'dialogOrgLevel': '0',
31148
+ 'dialogSelectedOrderBy': 'orgOrderNo',
31143
31149
  dialogShowemail: false,
31144
31150
  dialogShowmobile: false,
31145
- dialogShowaccount: false,
31146
- dialogOrgLevel: _vm.isShowGroup ? '0' : '',
31147
- dialogSubOrgName: '',
31148
- dialogOrgSelf: false
31149
- },
31151
+ dialogShowaccount: false
31152
+ }, "dialogOrgLevel", _vm.isShowGroup ? '0' : ''), "dialogSubOrgName", ''), "dialogOrgSelf", false),
31150
31153
  "vo": _vm.formTxl,
31151
31154
  "can-edit": 1
31152
31155
  }
31153
- }) : _c('span', [_vm._v(_vm._s(_vm.formTxl.name))])], 1)]), _c('tr', [_c('td', {
31156
+ }) : _c('span', [_vm._v(_vm._s(_vm.formTxl.name))])], 1)]), !_vm.isBatchAdd ? _c('tr', [_c('td', {
31157
+ staticClass: "el-table__cell tdlbl tdw17"
31158
+ }, [_c('span', {
31159
+ staticClass: "required",
31160
+ staticStyle: {
31161
+ "color": "red"
31162
+ }
31163
+ }, [_vm._v("*")]), _vm._v("排序 : ")]), _c('td', {
31164
+ staticClass: "el-table__cell tdcont tdw83"
31165
+ }, [_vm.isUpdate ? _c('ValidationProvider', {
31166
+ ref: "ValidationProvider",
31167
+ attrs: {
31168
+ "name": "排序",
31169
+ "rules": "required"
31170
+ },
31171
+ scopedSlots: _vm._u([{
31172
+ key: "default",
31173
+ fn: function fn(_ref3) {
31174
+ var errors = _ref3.errors;
31175
+ return [_c('el-tooltip', {
31176
+ class: {
31177
+ 'invalid-field': errors[0] !== undefined
31178
+ },
31179
+ attrs: {
31180
+ "disabled": errors[0] === undefined,
31181
+ "content": errors[0],
31182
+ "popper-class": "error-popper-class",
31183
+ "placement": "right-start",
31184
+ "effect": "dark"
31185
+ }
31186
+ }, [_c('el-input', {
31187
+ ref: "emailReceiveServer",
31188
+ attrs: {
31189
+ "type": "number",
31190
+ "autocomplete": "false",
31191
+ "placeholder": "请输入4位数字排序"
31192
+ },
31193
+ model: {
31194
+ value: _vm.formTxl.orderNum,
31195
+ callback: function callback($$v) {
31196
+ _vm.$set(_vm.formTxl, "orderNum", $$v);
31197
+ },
31198
+ expression: "formTxl.orderNum"
31199
+ }
31200
+ })], 1)];
31201
+ }
31202
+ }], null, false, 1130582095)
31203
+ }) : _c('span', [_vm._v(_vm._s(_vm.formTxl.orderNum))])], 1)]) : _vm._e(), !_vm.isBatchAdd ? _c('tr', [_c('td', {
31154
31204
  staticClass: "el-table__cell tdlbl tdw17"
31155
31205
  }, [_c('span', {
31156
31206
  staticClass: "required",
@@ -31174,8 +31224,8 @@ var addressvue_type_template_id_a78c7e32_scoped_true_render = function render()
31174
31224
  },
31175
31225
  scopedSlots: _vm._u([{
31176
31226
  key: "default",
31177
- fn: function fn(_ref3) {
31178
- var errors = _ref3.errors;
31227
+ fn: function fn(_ref4) {
31228
+ var errors = _ref4.errors;
31179
31229
  return [_c('el-tooltip', {
31180
31230
  class: {
31181
31231
  'invalid-field': errors[0] !== undefined
@@ -31204,7 +31254,7 @@ var addressvue_type_template_id_a78c7e32_scoped_true_render = function render()
31204
31254
  })], 1)];
31205
31255
  }
31206
31256
  }], null, false, 1389631351)
31207
- }) : _c('span', [_vm._v(_vm._s(_vm.formTxl.email))])], 1)]), _c('tr', [_c('td', {
31257
+ }) : _c('span', [_vm._v(_vm._s(_vm.formTxl.email))])], 1)]) : _vm._e(), _c('tr', [_c('td', {
31208
31258
  directives: [{
31209
31259
  name: "text-lbl",
31210
31260
  rawName: "v-text-lbl",
@@ -31295,10 +31345,15 @@ var addressvue_type_template_id_a78c7e32_scoped_true_render = function render()
31295
31345
  }
31296
31346
  }, [_vm._v("保 存")]) : _vm._e()], 1)], 1) : _vm._e()], 1);
31297
31347
  };
31298
- var addressvue_type_template_id_a78c7e32_scoped_true_staticRenderFns = [];
31348
+ var addressvue_type_template_id_08555dbc_scoped_true_staticRenderFns = [];
31299
31349
 
31300
31350
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/address.vue?vue&type=script&lang=js
31301
31351
  function addressvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return addressvue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, addressvue_type_script_lang_js_typeof(o); }
31352
+ function addressvue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
31353
+ function addressvue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? addressvue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { addressvue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : addressvue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
31354
+ function addressvue_type_script_lang_js_defineProperty(e, r, t) { return (r = addressvue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
31355
+ function addressvue_type_script_lang_js_toPropertyKey(t) { var i = addressvue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == addressvue_type_script_lang_js_typeof(i) ? i : i + ""; }
31356
+ function addressvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != addressvue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != addressvue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
31302
31357
  function addressvue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ addressvue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == addressvue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(addressvue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
31303
31358
  function addressvue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
31304
31359
  function addressvue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { addressvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { addressvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
@@ -31392,6 +31447,12 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31392
31447
  sortable: true,
31393
31448
  listAdvSearchElement: 'input',
31394
31449
  listAdvSearchIndex: 0
31450
+ }, {
31451
+ field: 'orderNum',
31452
+ title: '排序号',
31453
+ width: '100px',
31454
+ align: 'center',
31455
+ valign: 'middle'
31395
31456
  }, {
31396
31457
  field: 'column_operate',
31397
31458
  title: this.$tx('pageBtns.operate', '操作'),
@@ -31400,6 +31461,13 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31400
31461
  valign: 'middle'
31401
31462
  }],
31402
31463
  listpageBtns: [{
31464
+ btnName: '添加',
31465
+ btnIcon: 'plus',
31466
+ btnClick: this.batchAdd,
31467
+ btnPermission: 'add',
31468
+ id: 'btn_add',
31469
+ btnType: 'toolbar'
31470
+ }, {
31403
31471
  btnName: '新增',
31404
31472
  btnIcon: 'plus',
31405
31473
  btnClick: this.addContacts,
@@ -31463,7 +31531,10 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31463
31531
  emlUrl: '',
31464
31532
  selectGroundId: '',
31465
31533
  selectGroundName: '',
31466
- isShowGroup: false // 是否显示集团选择人员
31534
+ isShowGroup: false,
31535
+ // 是否显示集团选择人员
31536
+ isBatchAdd: false,
31537
+ batchList: []
31467
31538
  };
31468
31539
  },
31469
31540
  computed: {
@@ -31492,38 +31563,106 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31492
31563
  // 选择经办人
31493
31564
  onSelectStaffCompleted: function onSelectStaffCompleted(selectedNodes, attr) {
31494
31565
  var _this2 = this;
31495
- this.$http({
31496
- method: 'GET',
31497
- contentType: 'application/json',
31498
- url: '/mail/linkman/getEmailMainByRootOrgId?rootOrgId=' + selectedNodes[0].orgFullId.split('-')[0]
31499
- }).then(function (res) {
31500
- if (res.code === 'success') {
31501
- _this2.formTxl.email = selectedNodes[0].account + res.body.emailMain;
31502
- } else {
31503
- _this2.formTxl.email = selectedNodes[0].account + _this2.emlUrl;
31504
- }
31505
- });
31506
- this.formTxl.name = selectedNodes[0].name;
31507
- this.formTxl.staffId = selectedNodes[0].id;
31508
- this.formTxl.account = selectedNodes[0].account;
31509
- console.log(selectedNodes[0], this.$store.getters.loginUser, 'selectedNodes');
31566
+ return addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
31567
+ var emailMainMap;
31568
+ return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
31569
+ while (1) switch (_context2.prev = _context2.next) {
31570
+ case 0:
31571
+ if (!_this2.isBatchAdd) {
31572
+ _context2.next = 8;
31573
+ break;
31574
+ }
31575
+ emailMainMap = new Map();
31576
+ _this2.formTxl.name = selectedNodes.map(function (item) {
31577
+ return item.name;
31578
+ }).join('、');
31579
+ _this2.formTxl.staffId = selectedNodes.map(function (item) {
31580
+ return item.id;
31581
+ }).join(',');
31582
+ _this2.formTxl.account = selectedNodes.map(function (item) {
31583
+ return item.account;
31584
+ }).join(',');
31585
+ _this2.batchList = selectedNodes;
31586
+ _this2.batchList.forEach( /*#__PURE__*/function () {
31587
+ var _ref = addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee(item) {
31588
+ var orgCode, emailMain, res;
31589
+ return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
31590
+ while (1) switch (_context.prev = _context.next) {
31591
+ case 0:
31592
+ orgCode = item.orgFullId.split('-')[0];
31593
+ if (!emailMainMap.has(orgCode)) {
31594
+ _context.next = 6;
31595
+ break;
31596
+ }
31597
+ emailMain = emailMainMap.get(orgCode);
31598
+ item.email = item.account + emailMain;
31599
+ _context.next = 10;
31600
+ break;
31601
+ case 6:
31602
+ _context.next = 8;
31603
+ return _this2.$http({
31604
+ method: 'GET',
31605
+ contentType: 'application/json',
31606
+ url: '/mail/linkman/getEmailMainByRootOrgId?rootOrgId=' + orgCode
31607
+ });
31608
+ case 8:
31609
+ res = _context.sent;
31610
+ if (res.code == 'success') {
31611
+ emailMainMap.set(orgCode, res.body.emailMain);
31612
+ item.email = item.account + res.body.emailMain;
31613
+ } else {
31614
+ item.email = item.account + _this2.emlUrl;
31615
+ }
31616
+ case 10:
31617
+ case "end":
31618
+ return _context.stop();
31619
+ }
31620
+ }, _callee);
31621
+ }));
31622
+ return function (_x) {
31623
+ return _ref.apply(this, arguments);
31624
+ };
31625
+ }());
31626
+ return _context2.abrupt("return");
31627
+ case 8:
31628
+ _this2.$http({
31629
+ method: 'GET',
31630
+ contentType: 'application/json',
31631
+ url: '/mail/linkman/getEmailMainByRootOrgId?rootOrgId=' + selectedNodes[0].orgFullId.split('-')[0]
31632
+ }).then(function (res) {
31633
+ if (res.code === 'success') {
31634
+ _this2.formTxl.email = selectedNodes[0].account + res.body.emailMain;
31635
+ } else {
31636
+ _this2.formTxl.email = selectedNodes[0].account + _this2.emlUrl;
31637
+ }
31638
+ });
31639
+ _this2.formTxl.name = selectedNodes[0].name;
31640
+ _this2.formTxl.staffId = selectedNodes[0].id;
31641
+ _this2.formTxl.account = selectedNodes[0].account;
31642
+ console.log(selectedNodes[0], _this2.$store.getters.loginUser, 'selectedNodes');
31643
+ case 13:
31644
+ case "end":
31645
+ return _context2.stop();
31646
+ }
31647
+ }, _callee2);
31648
+ }))();
31510
31649
  },
31511
31650
  // 删除通讯录联系人
31512
31651
  deleteIdsLxr: function deleteIdsLxr(row) {
31513
31652
  var _this3 = this;
31514
31653
  this.$confirm(this.$tx('email.messages.isDel', '确定要删除该联系人吗?'), this.$tx('common.confirmOperate', '确认操作'), {
31515
31654
  type: 'warning'
31516
- }).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
31655
+ }).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
31517
31656
  var ids, res;
31518
- return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
31519
- while (1) switch (_context.prev = _context.next) {
31657
+ return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
31658
+ while (1) switch (_context3.prev = _context3.next) {
31520
31659
  case 0:
31521
31660
  ids = [];
31522
31661
  ids.push(row.id);
31523
- _context.next = 4;
31662
+ _context3.next = 4;
31524
31663
  return _this3.$app.deleteByIds(_this3.moduleInfo.delUrl, ids);
31525
31664
  case 4:
31526
- res = _context.sent;
31665
+ res = _context3.sent;
31527
31666
  if (res.code === 'success') {
31528
31667
  _this3.$message.success(res.message);
31529
31668
  _this3.$bus.emit('refreshListData');
@@ -31532,9 +31671,9 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31532
31671
  }
31533
31672
  case 6:
31534
31673
  case "end":
31535
- return _context.stop();
31674
+ return _context3.stop();
31536
31675
  }
31537
- }, _callee);
31676
+ }, _callee3);
31538
31677
  })));
31539
31678
  },
31540
31679
  // 点击行
@@ -31557,10 +31696,10 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31557
31696
  if (this.row.length > 0) {
31558
31697
  this.$confirm(this.$tx('email.messages.isTransfer', '确定要转移选中的联系人吗?'), this.$tx('common.confirmOperate', '确认操作'), {
31559
31698
  type: 'warning'
31560
- }).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
31699
+ }).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
31561
31700
  var ids, linkman, res;
31562
- return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
31563
- while (1) switch (_context2.prev = _context2.next) {
31701
+ return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
31702
+ while (1) switch (_context4.prev = _context4.next) {
31564
31703
  case 0:
31565
31704
  ids = [];
31566
31705
  _this4.row.forEach(function (item) {
@@ -31577,10 +31716,10 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31577
31716
  ids: ids
31578
31717
  });
31579
31718
  _this4.$set(linkman, 'personId', null);
31580
- _context2.next = 13;
31719
+ _context4.next = 13;
31581
31720
  return _this4.$app.update(_this4.moduleInfo.updateGroupUrl, linkman);
31582
31721
  case 13:
31583
- res = _context2.sent;
31722
+ res = _context4.sent;
31584
31723
  if (res.code === 'success') {
31585
31724
  _this4.$message.success(res.message);
31586
31725
  _this4.$bus.emit('refreshListData');
@@ -31589,9 +31728,9 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31589
31728
  }
31590
31729
  case 15:
31591
31730
  case "end":
31592
- return _context2.stop();
31731
+ return _context4.stop();
31593
31732
  }
31594
- }, _callee2);
31733
+ }, _callee4);
31595
31734
  })));
31596
31735
  } else {
31597
31736
  this.$message.error(this.$tx('email.messages.selectTransfer', '请选择要转移的联系人'));
@@ -31600,6 +31739,8 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31600
31739
  // 编辑联系人
31601
31740
  editObjectId: function editObjectId(val) {
31602
31741
  var _this5 = this;
31742
+ this.resetForm();
31743
+ this.isBatchAdd = false;
31603
31744
  this.addOrupdateContacts = false;
31604
31745
  this.$http({
31605
31746
  url: this.moduleInfo.getByIdUrl,
@@ -31667,6 +31808,12 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31667
31808
  // sortable: true,
31668
31809
  listAdvSearchElement: 'input',
31669
31810
  listAdvSearchIndex: 0
31811
+ }, {
31812
+ field: 'orderNum',
31813
+ title: '排序号',
31814
+ width: '100px',
31815
+ align: 'center',
31816
+ valign: 'middle'
31670
31817
  }, {
31671
31818
  field: 'column_operate',
31672
31819
  title: this.$tx('fields.operate', '操作'),
@@ -31730,6 +31877,12 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31730
31877
  sortable: true,
31731
31878
  listAdvSearchElement: 'input',
31732
31879
  listAdvSearchIndex: 0
31880
+ }, {
31881
+ field: 'orderNum',
31882
+ title: '排序号',
31883
+ width: '100px',
31884
+ align: 'center',
31885
+ valign: 'middle'
31733
31886
  }, {
31734
31887
  field: 'column_operate',
31735
31888
  title: this.$tx('fields.operate', '操作'),
@@ -31793,6 +31946,12 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31793
31946
  sortable: true,
31794
31947
  listAdvSearchElement: 'input',
31795
31948
  listAdvSearchIndex: 0
31949
+ }, {
31950
+ field: 'orderNum',
31951
+ title: '排序号',
31952
+ width: '100px',
31953
+ align: 'center',
31954
+ valign: 'middle'
31796
31955
  }, {
31797
31956
  field: 'column_operate',
31798
31957
  title: this.$tx('fields.operate', '操作'),
@@ -31841,6 +32000,13 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31841
32000
  if (res.code === 'success') {
31842
32001
  var listArr = [];
31843
32002
  var mewListArr = [{
32003
+ btnName: '添加',
32004
+ btnIcon: 'plus',
32005
+ btnClick: _this7.batchAdd,
32006
+ btnPermission: 'add',
32007
+ id: 'btn_add',
32008
+ btnType: 'toolbar'
32009
+ }, {
31844
32010
  btnName: '新增',
31845
32011
  btnIcon: 'plus',
31846
32012
  btnClick: _this7.addContacts,
@@ -31955,62 +32121,94 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
31955
32121
  // 添加通讯录确定按钮
31956
32122
  groupingConfirmTxl: function groupingConfirmTxl() {
31957
32123
  var _this10 = this;
31958
- this.formValidate( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
31959
- var reg, res;
31960
- return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
31961
- while (1) switch (_context3.prev = _context3.next) {
32124
+ this.formValidate( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
32125
+ var params, res, reg, _res;
32126
+ return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
32127
+ while (1) switch (_context5.prev = _context5.next) {
31962
32128
  case 0:
31963
32129
  _this10.accountList.forEach(function (item) {
31964
32130
  if (item.id === _this10.formTxl.groupId) {
31965
32131
  _this10.formTxl.groupName = item.groupName;
31966
32132
  }
31967
32133
  });
32134
+ if (!_this10.isBatchAdd) {
32135
+ _context5.next = 8;
32136
+ break;
32137
+ }
32138
+ params = _this10.batchList.map(function (item) {
32139
+ return addressvue_type_script_lang_js_objectSpread(addressvue_type_script_lang_js_objectSpread({}, _this10.formTxl), {}, {
32140
+ name: item.name,
32141
+ email: item.email,
32142
+ account: item.account,
32143
+ staffId: item.id
32144
+ });
32145
+ });
32146
+ _context5.next = 5;
32147
+ return _this10.$http({
32148
+ method: 'post',
32149
+ url: '/mail/linkman/batchInsert',
32150
+ data: params
32151
+ });
32152
+ case 5:
32153
+ res = _context5.sent;
32154
+ if (res.code === 'success') {
32155
+ _this10.$message.success(res.message);
32156
+ _this10.dialogFormVisibleTxl = false;
32157
+ _this10.formTxl = {};
32158
+ _this10.$bus.emit('refreshListData');
32159
+ } else {
32160
+ _this10.$message.error(res.message);
32161
+ }
32162
+ return _context5.abrupt("return");
32163
+ case 8:
31968
32164
  reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
31969
32165
  if (!(_this10.formTxl.email && !reg.test(_this10.formTxl.email))) {
31970
- _context3.next = 6;
32166
+ _context5.next = 13;
31971
32167
  break;
31972
32168
  }
31973
32169
  _this10.$alert(_this10.$tx('email.address.emailNot', '邮件格式不正确!'), _this10.$tx('common.operationTip', '操作提示'), {
31974
32170
  type: 'warning'
31975
32171
  });
31976
- _context3.next = 17;
32172
+ _context5.next = 24;
31977
32173
  break;
31978
- case 6:
31979
- res = null;
32174
+ case 13:
32175
+ _res = null;
31980
32176
  if (!_this10.addOrupdateContacts) {
31981
- _context3.next = 13;
32177
+ _context5.next = 20;
31982
32178
  break;
31983
32179
  }
31984
- _context3.next = 10;
32180
+ _context5.next = 17;
31985
32181
  return _this10.$app.insert(_this10.moduleInfo.insertUrl, _this10.formTxl);
31986
- case 10:
31987
- res = _context3.sent;
31988
- _context3.next = 16;
32182
+ case 17:
32183
+ _res = _context5.sent;
32184
+ _context5.next = 23;
31989
32185
  break;
31990
- case 13:
31991
- _context3.next = 15;
32186
+ case 20:
32187
+ _context5.next = 22;
31992
32188
  return _this10.$app.update(_this10.moduleInfo.updateUrl, _this10.formTxl);
31993
- case 15:
31994
- res = _context3.sent;
31995
- case 16:
31996
- if (res.code === 'success') {
31997
- _this10.$message.success(res.message);
32189
+ case 22:
32190
+ _res = _context5.sent;
32191
+ case 23:
32192
+ if (_res.code === 'success') {
32193
+ _this10.$message.success(_res.message);
31998
32194
  _this10.dialogFormVisibleTxl = false;
31999
32195
  _this10.formTxl = {};
32000
32196
  _this10.$bus.emit('refreshListData');
32001
32197
  } else {
32002
- _this10.$message.error(res.message);
32198
+ _this10.$message.error(_res.message);
32003
32199
  }
32004
- case 17:
32200
+ case 24:
32005
32201
  case "end":
32006
- return _context3.stop();
32202
+ return _context5.stop();
32007
32203
  }
32008
- }, _callee3);
32204
+ }, _callee5);
32009
32205
  })), null, 1);
32010
32206
  },
32011
32207
  // 添加通讯录联系人
32012
32208
  addContacts: function addContacts() {
32013
32209
  var _this11 = this;
32210
+ this.resetForm();
32211
+ this.isBatchAdd = false;
32014
32212
  this.addOrupdateContacts = true;
32015
32213
  this.isUpdate = true;
32016
32214
  this.$http({
@@ -32028,36 +32226,56 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
32028
32226
  });
32029
32227
  this.dialogFormVisibleTxl = true;
32030
32228
  },
32229
+ batchAdd: function batchAdd() {
32230
+ var _this12 = this;
32231
+ this.resetForm();
32232
+ this.isBatchAdd = true;
32233
+ this.isUpdate = true;
32234
+ this.$http({
32235
+ url: this.moduleInfo.addNewUrl,
32236
+ method: 'POST'
32237
+ }).then(function (res) {
32238
+ if (res.code === 'success') {
32239
+ _this12.formTxl = res.body.vo;
32240
+ _this12.formTxl.groupName = _this12.selectGroundName;
32241
+ _this12.formTxl.groupId = _this12.selectGroundId ? _this12.selectGroundId : '0';
32242
+ _this12.formTxl.personId = _this12.usersetId.personId;
32243
+ } else {
32244
+ _this12.$message.error(res.message);
32245
+ }
32246
+ });
32247
+ this.dialogFormVisibleTxl = true;
32248
+ },
32031
32249
  // 删除通讯录联系人
32032
32250
  delete: function _delete() {
32033
- var _this12 = this;
32251
+ var _this13 = this;
32034
32252
  if (this.row.length > 0) {
32035
32253
  this.$confirm(this.$tx('email.messages.isSelectlxr', '确定要删除选中的联系人吗?'), this.$tx('common.confirmOperate', '确认操作'), {
32036
32254
  type: 'warning'
32037
- }).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
32255
+ }).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
32038
32256
  var ids, res;
32039
- return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
32040
- while (1) switch (_context4.prev = _context4.next) {
32257
+ return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
32258
+ while (1) switch (_context6.prev = _context6.next) {
32041
32259
  case 0:
32042
32260
  ids = [];
32043
- _this12.row.forEach(function (item) {
32261
+ _this13.row.forEach(function (item) {
32044
32262
  ids.push(item.id);
32045
32263
  });
32046
- _context4.next = 4;
32047
- return _this12.$app.deleteByIds(_this12.moduleInfo.delUrl, ids);
32264
+ _context6.next = 4;
32265
+ return _this13.$app.deleteByIds(_this13.moduleInfo.delUrl, ids);
32048
32266
  case 4:
32049
- res = _context4.sent;
32267
+ res = _context6.sent;
32050
32268
  if (res.code === 'success') {
32051
- _this12.$message.success(res.message);
32052
- _this12.$bus.emit('refreshListData');
32269
+ _this13.$message.success(res.message);
32270
+ _this13.$bus.emit('refreshListData');
32053
32271
  } else {
32054
- _this12.$message.error(res.message);
32272
+ _this13.$message.error(res.message);
32055
32273
  }
32056
32274
  case 6:
32057
32275
  case "end":
32058
- return _context4.stop();
32276
+ return _context6.stop();
32059
32277
  }
32060
- }, _callee4);
32278
+ }, _callee6);
32061
32279
  })));
32062
32280
  } else {
32063
32281
  this.$message.error(this.$tx('email.messages.selectlxr', '请选择要删除的联系人'));
@@ -32067,7 +32285,7 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
32067
32285
  transfer: function transfer() {},
32068
32286
  // 编辑分组
32069
32287
  editingGroup: function editingGroup(id) {
32070
- var _this13 = this;
32288
+ var _this14 = this;
32071
32289
  this.addOrupdate = false;
32072
32290
  this.$http({
32073
32291
  contentType: 'application/x-www-form-urlencoded',
@@ -32078,10 +32296,10 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
32078
32296
  }
32079
32297
  }).then(function (res) {
32080
32298
  if (res.code === 'success') {
32081
- _this13.form = res.body.vo;
32082
- _this13.dialogFormVisible = true;
32299
+ _this14.form = res.body.vo;
32300
+ _this14.dialogFormVisible = true;
32083
32301
  } else {
32084
- _this13.$message.error(res.message);
32302
+ _this14.$message.error(res.message);
32085
32303
  }
32086
32304
  });
32087
32305
  },
@@ -32092,88 +32310,88 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
32092
32310
  },
32093
32311
  // 添加分组确定
32094
32312
  groupingConfirm: function groupingConfirm() {
32095
- var _this14 = this;
32313
+ var _this15 = this;
32096
32314
  var res = null;
32097
- this.formValidate( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
32315
+ this.formValidate( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee7() {
32098
32316
  var reg;
32099
- return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
32100
- while (1) switch (_context5.prev = _context5.next) {
32317
+ return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee7$(_context7) {
32318
+ while (1) switch (_context7.prev = _context7.next) {
32101
32319
  case 0:
32102
- if (!(_this14.form.groupName && _this14.form.ordreNo)) {
32103
- _context5.next = 17;
32320
+ if (!(_this15.form.groupName && _this15.form.ordreNo)) {
32321
+ _context7.next = 17;
32104
32322
  break;
32105
32323
  }
32106
32324
  reg = /^\d{4}$/;
32107
- if (reg.test(_this14.form.ordreNo)) {
32108
- _context5.next = 6;
32325
+ if (reg.test(_this15.form.ordreNo)) {
32326
+ _context7.next = 6;
32109
32327
  break;
32110
32328
  }
32111
- _this14.$alert(_this14.$tx('email.messages.isorderNUmber', '请正确填写4位数字排序号'), _this14.$tx('common.operationTip', '操作提示'), {
32329
+ _this15.$alert(_this15.$tx('email.messages.isorderNUmber', '请正确填写4位数字排序号'), _this15.$tx('common.operationTip', '操作提示'), {
32112
32330
  type: 'warning'
32113
32331
  });
32114
- _context5.next = 17;
32332
+ _context7.next = 17;
32115
32333
  break;
32116
32334
  case 6:
32117
- _this14.form.personId = _this14.usersetId.personId;
32118
- if (!_this14.addOrupdate) {
32119
- _context5.next = 13;
32335
+ _this15.form.personId = _this15.usersetId.personId;
32336
+ if (!_this15.addOrupdate) {
32337
+ _context7.next = 13;
32120
32338
  break;
32121
32339
  }
32122
- _context5.next = 10;
32123
- return _this14.$app.insert(_this14.groupingUrl.insert, _this14.form);
32340
+ _context7.next = 10;
32341
+ return _this15.$app.insert(_this15.groupingUrl.insert, _this15.form);
32124
32342
  case 10:
32125
- res = _context5.sent;
32126
- _context5.next = 16;
32343
+ res = _context7.sent;
32344
+ _context7.next = 16;
32127
32345
  break;
32128
32346
  case 13:
32129
- _context5.next = 15;
32130
- return _this14.$app.update(_this14.groupingUrl.update, _this14.form);
32347
+ _context7.next = 15;
32348
+ return _this15.$app.update(_this15.groupingUrl.update, _this15.form);
32131
32349
  case 15:
32132
- res = _context5.sent;
32350
+ res = _context7.sent;
32133
32351
  case 16:
32134
32352
  if (res.code === 'success') {
32135
- _this14.$message.success(res.message);
32136
- _this14.dialogFormVisible = false;
32353
+ _this15.$message.success(res.message);
32354
+ _this15.dialogFormVisible = false;
32137
32355
  // this.form = {}
32138
- _this14.getGrouping();
32139
- _this14.getXlGrouping();
32356
+ _this15.getGrouping();
32357
+ _this15.getXlGrouping();
32140
32358
  } else {
32141
- _this14.$message.error(res.message);
32359
+ _this15.$message.error(res.message);
32142
32360
  }
32143
32361
  case 17:
32144
32362
  case "end":
32145
- return _context5.stop();
32363
+ return _context7.stop();
32146
32364
  }
32147
- }, _callee5);
32365
+ }, _callee7);
32148
32366
  })), null, 1);
32149
32367
  },
32150
32368
  // 删除分组
32151
32369
  deleteMail: function deleteMail() {
32152
- var _this15 = this;
32370
+ var _this16 = this;
32153
32371
  if (this.checkedCities.length > 0) {
32154
32372
  this.$confirm(this.$tx('email.messages.isDelGroup', '确定要删除选中分组吗?'), this.$tx('common.confirmOperate', '确认操作'), {
32155
32373
  type: 'warning'
32156
- }).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
32374
+ }).then( /*#__PURE__*/addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee8() {
32157
32375
  var res;
32158
- return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
32159
- while (1) switch (_context6.prev = _context6.next) {
32376
+ return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee8$(_context8) {
32377
+ while (1) switch (_context8.prev = _context8.next) {
32160
32378
  case 0:
32161
- _context6.next = 2;
32162
- return _this15.$app.deleteByIds(_this15.groupingUrl.delete, _this15.checkedCities);
32379
+ _context8.next = 2;
32380
+ return _this16.$app.deleteByIds(_this16.groupingUrl.delete, _this16.checkedCities);
32163
32381
  case 2:
32164
- res = _context6.sent;
32382
+ res = _context8.sent;
32165
32383
  if (res.code === 'success') {
32166
- _this15.$message.success(res.message);
32167
- _this15.getGrouping();
32168
- _this15.getXlGrouping();
32384
+ _this16.$message.success(res.message);
32385
+ _this16.getGrouping();
32386
+ _this16.getXlGrouping();
32169
32387
  } else {
32170
- _this15.$message.error(res.message);
32388
+ _this16.$message.error(res.message);
32171
32389
  }
32172
32390
  case 4:
32173
32391
  case "end":
32174
- return _context6.stop();
32392
+ return _context8.stop();
32175
32393
  }
32176
- }, _callee6);
32394
+ }, _callee8);
32177
32395
  })));
32178
32396
  } else {
32179
32397
  this.$message.error(this.$tx('email.messages.selectDelGroup', '请选择要删除的分组'));
@@ -32196,7 +32414,7 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
32196
32414
  },
32197
32415
  // 添加分组
32198
32416
  addEmail: function addEmail() {
32199
- var _this16 = this;
32417
+ var _this17 = this;
32200
32418
  this.addOrupdate = true;
32201
32419
  this.$http({
32202
32420
  contentType: 'application/x-www-form-urlencoded',
@@ -32204,9 +32422,9 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
32204
32422
  method: 'POST'
32205
32423
  }).then(function (res) {
32206
32424
  if (res.code === 'success') {
32207
- _this16.form = res.body.vo;
32425
+ _this17.form = res.body.vo;
32208
32426
  } else {
32209
- _this16.$message.error(res.message);
32427
+ _this17.$message.error(res.message);
32210
32428
  }
32211
32429
  });
32212
32430
  this.dialogFormVisible = true;
@@ -32215,32 +32433,39 @@ function addressvue_type_script_lang_js_asyncToGenerator(n) { return function ()
32215
32433
  * 加载数据准备,qparams为查询参数对象,不需要返回值
32216
32434
  */
32217
32435
  onListDataBeforeLoad: function onListDataBeforeLoad($scope, qparams) {
32218
- var _this17 = this;
32219
- return addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee7() {
32220
- return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee7$(_context7) {
32221
- while (1) switch (_context7.prev = _context7.next) {
32436
+ var _this18 = this;
32437
+ return addressvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/addressvue_type_script_lang_js_regeneratorRuntime().mark(function _callee9() {
32438
+ return addressvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee9$(_context9) {
32439
+ while (1) switch (_context9.prev = _context9.next) {
32222
32440
  case 0:
32223
32441
  // qparams.orderBy = 'createDate desc'
32224
- _this17.getGrouping();
32225
- if (_this17.urlSechId) {
32226
- qparams.urlsearch = "groupId:".concat(_this17.urlSechId, ";personId:").concat(_this17.usersetId.personId, ";orgCode:").concat($scope.loginUser.orgCode);
32442
+ qparams.orderBy = 'orderNum asc';
32443
+ _this18.getGrouping();
32444
+ if (_this18.urlSechId) {
32445
+ qparams.urlsearch = "groupId:".concat(_this18.urlSechId, ";personId:").concat(_this18.usersetId.personId, ";orgCode:").concat($scope.loginUser.orgCode);
32227
32446
  } else {
32228
- qparams.urlsearch = "personId:".concat(_this17.usersetId.personId, ";orgCode:").concat($scope.loginUser.orgCode);
32447
+ qparams.urlsearch = "personId:".concat(_this18.usersetId.personId, ";orgCode:").concat($scope.loginUser.orgCode);
32229
32448
  }
32230
- case 2:
32449
+ case 3:
32231
32450
  case "end":
32232
- return _context7.stop();
32451
+ return _context9.stop();
32233
32452
  }
32234
- }, _callee7);
32453
+ }, _callee9);
32235
32454
  }))();
32455
+ },
32456
+ resetForm: function resetForm() {
32457
+ this.formTxl.name = '';
32458
+ this.formTxl.staffId = '';
32459
+ this.formTxl.account = '';
32460
+ this.batchList = [];
32236
32461
  }
32237
32462
  }
32238
32463
  });
32239
32464
  ;// CONCATENATED MODULE: ./packages/ecyoa/email/src/address.vue?vue&type=script&lang=js
32240
32465
  /* harmony default export */ var src_addressvue_type_script_lang_js = (addressvue_type_script_lang_js);
32241
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/address.vue?vue&type=style&index=0&id=a78c7e32&prod&scoped=true&lang=scss
32242
- var addressvue_type_style_index_0_id_a78c7e32_prod_scoped_true_lang_scss = __webpack_require__(5898);
32243
- ;// CONCATENATED MODULE: ./packages/ecyoa/email/src/address.vue?vue&type=style&index=0&id=a78c7e32&prod&scoped=true&lang=scss
32466
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/email/src/address.vue?vue&type=style&index=0&id=08555dbc&prod&scoped=true&lang=scss
32467
+ var addressvue_type_style_index_0_id_08555dbc_prod_scoped_true_lang_scss = __webpack_require__(6090);
32468
+ ;// CONCATENATED MODULE: ./packages/ecyoa/email/src/address.vue?vue&type=style&index=0&id=08555dbc&prod&scoped=true&lang=scss
32244
32469
 
32245
32470
  ;// CONCATENATED MODULE: ./packages/ecyoa/email/src/address.vue
32246
32471
 
@@ -32253,11 +32478,11 @@ var addressvue_type_style_index_0_id_a78c7e32_prod_scoped_true_lang_scss = __web
32253
32478
 
32254
32479
  var address_component = normalizeComponent(
32255
32480
  src_addressvue_type_script_lang_js,
32256
- addressvue_type_template_id_a78c7e32_scoped_true_render,
32257
- addressvue_type_template_id_a78c7e32_scoped_true_staticRenderFns,
32481
+ addressvue_type_template_id_08555dbc_scoped_true_render,
32482
+ addressvue_type_template_id_08555dbc_scoped_true_staticRenderFns,
32258
32483
  false,
32259
32484
  null,
32260
- "a78c7e32",
32485
+ "08555dbc",
32261
32486
  null
32262
32487
 
32263
32488
  )