ecinc-cloud-mappaio 9.6.0 → 9.6.2

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.
@@ -241,6 +241,7 @@ module.exports = {
241
241
  /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_4__);
242
242
  /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(8051);
243
243
  /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_5__);
244
+ function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
244
245
  function _typeof(o) { "@babel/helpers - typeof"; return _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; }, _typeof(o); }
245
246
  function 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; }
246
247
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -485,7 +486,10 @@ function getPageTitle(itemName, i18nCode, href, $scope) {
485
486
  }
486
487
  function getLanguage() {
487
488
  var chooseLanguage = js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('language');
488
- if (chooseLanguage) return chooseLanguage;
489
+ if (chooseLanguage) {
490
+ if (chooseLanguage == 'zh-CN') 'zhCN', _readOnlyError("chooseLanguage");
491
+ return chooseLanguage;
492
+ }
489
493
 
490
494
  // if has not choose language
491
495
  var language = (navigator.language || navigator.browserLanguage || '').toLowerCase();
@@ -6193,10 +6197,12 @@ module.exports = {
6193
6197
  multiplayerSerial: 'Multiple People in Series',
6194
6198
  multiplayerCompetition: 'Multiple People in Competition',
6195
6199
  multiPersonReading: 'Multiple People Reading',
6196
- designatedPersonnel: 'Designated Personnel',
6197
- designatedDepartment: 'Designated Department',
6198
- specifyGroup: 'Designate Group',
6199
- designatedPosition: 'Designated Position',
6200
+ designatedPersonnel: 'Designated personnel',
6201
+ byDepartment: 'By Department',
6202
+ byWorkgroup: 'By Workgroup',
6203
+ byJobPosition: 'By job position',
6204
+ byJobRank: 'By job rank',
6205
+ byHistoryTNUser: 'By history user',
6200
6206
  textTip: 'Confirm',
6201
6207
  writReviewComments: 'Please fill in review comments',
6202
6208
  noWritReview: 'Your reading record does not exist; you cannot fill in review comments.'
@@ -6422,10 +6428,6 @@ module.exports = {
6422
6428
  multiplayerSerial: '多人串行',
6423
6429
  multiplayerCompetition: '多人竞争',
6424
6430
  multiPersonReading: '多人阅文',
6425
- designatedPersonnel: '指定人员',
6426
- designatedDepartment: '指定部门',
6427
- specifyGroup: '指定群组',
6428
- designatedPosition: '指定岗位',
6429
6431
  textTip: '确定',
6430
6432
  writReviewComments: '请填写批阅意见',
6431
6433
  noWritReview: '您的阅文记录不存在,不能填写批阅意见'
@@ -6530,7 +6532,7 @@ if ($defineProperty) {
6530
6532
 
6531
6533
  /***/ }),
6532
6534
 
6533
- /***/ 9016:
6535
+ /***/ 187:
6534
6536
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6535
6537
 
6536
6538
  "use strict";
@@ -6977,7 +6979,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-1789b27e] .popup-body{backgrou
6977
6979
 
6978
6980
  /***/ }),
6979
6981
 
6980
- /***/ 6903:
6982
+ /***/ 102:
6981
6983
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6982
6984
 
6983
6985
  "use strict";
@@ -6991,14 +6993,14 @@ __webpack_require__.r(__webpack_exports__);
6991
6993
 
6992
6994
  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()));
6993
6995
  // Module
6994
- ___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-16e1b510]{position:absolute;width:100%;overflow:hidden}#bodyfilebox[data-v-16e1b510]:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:20;left:0;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5);z-index:1}#bodyfilebox .box[data-v-16e1b510]{height:100%}#bodyfilebox .box .box-inner[data-v-16e1b510]{position:relative;width:100%;height:100%}#bodyfilebox[data-v-16e1b510] .van-cell__title{text-align:left}.busi-form-container #bodyfilebox[data-v-16e1b510]{height:calc(100vh - 104px - var(--headerHeight))}.busi-form-nobtn-container #bodyfilebox[data-v-16e1b510]{height:calc(100vh - 44px - var(--headerHeight))}.bottom-bar[data-v-16e1b510]{position:absolute;bottom:20px;width:100%;text-align:center}.bottom-bar .btn-g[data-v-16e1b510]:not(:first-child){margin-top:10px}.van-loading[data-v-16e1b510]{height:inherit;padding:inherit}", ""]);
6996
+ ___CSS_LOADER_EXPORT___.push([module.id, "#bodyfilebox[data-v-a2cfb25a]{position:absolute;width:100%;overflow:hidden}#bodyfilebox[data-v-a2cfb25a]:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:20;left:0;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5);z-index:1}#bodyfilebox .box[data-v-a2cfb25a]{height:100%}#bodyfilebox .box .box-inner[data-v-a2cfb25a]{position:relative;width:100%;height:100%}#bodyfilebox[data-v-a2cfb25a] .van-cell__title{text-align:left}.busi-form-container #bodyfilebox[data-v-a2cfb25a]{height:calc(100vh - 104px - var(--headerHeight))}.busi-form-nobtn-container #bodyfilebox[data-v-a2cfb25a]{height:calc(100vh - 44px - var(--headerHeight))}.bottom-bar[data-v-a2cfb25a]{position:absolute;bottom:20px;width:100%;text-align:center}.bottom-bar .btn-g[data-v-a2cfb25a]:not(:first-child){margin-top:10px}.van-loading[data-v-a2cfb25a]{height:inherit;padding:inherit}", ""]);
6995
6997
  // Exports
6996
6998
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
6997
6999
 
6998
7000
 
6999
7001
  /***/ }),
7000
7002
 
7001
- /***/ 8843:
7003
+ /***/ 5928:
7002
7004
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7003
7005
 
7004
7006
  "use strict";
@@ -7012,7 +7014,7 @@ __webpack_require__.r(__webpack_exports__);
7012
7014
 
7013
7015
  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()));
7014
7016
  // Module
7015
- ___CSS_LOADER_EXPORT___.push([module.id, ".divNoContainer[data-v-5d4a933e]{-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:bottom left;transform-origin:bottom left;position:absolute;top:-100vw;height:100vw;width:100vh}.tool-dv[data-v-5d4a933e]{position:absolute;bottom:calc(100vw - 38px);left:calc(100vh - 100px);width:100px;height:37px;background-color:#f1f1f1}.docDiv[data-v-5d4a933e],.iframe[data-v-5d4a933e]{height:100%;width:100%}.docDiv[data-v-5d4a933e]{position:relative;background-color:#fff}.buttomDiv[data-v-5d4a933e]{right:10px}.buttomDiv[data-v-5d4a933e],.buttomDivD[data-v-5d4a933e]{float:right;top:7px;z-index:111;position:absolute;background-color:#1a82e3;font-size:10px;width:40px;line-height:25px;color:#fff;text-align:center;border-radius:2px}.buttomDivD[data-v-5d4a933e]{right:60px}", ""]);
7017
+ ___CSS_LOADER_EXPORT___.push([module.id, ".divNoContainer[data-v-4b0f0103]{-webkit-transform:rotate(90deg);transform:rotate(90deg);-webkit-transform-origin:bottom left;transform-origin:bottom left;position:absolute;top:-100vw;height:100vw;width:100vh}.view-container[data-v-4b0f0103]{position:fixed;top:0;width:100vw;height:100vh;background-color:#fff;z-index:9999}.tool-dv[data-v-4b0f0103]{position:absolute;bottom:calc(100vw - 38px);left:calc(100vh - 100px);width:100px;height:37px;background-color:#f1f1f1}.docDiv[data-v-4b0f0103],.iframe[data-v-4b0f0103]{height:100%;width:100%}.docDiv[data-v-4b0f0103]{position:relative;background-color:#fff}.buttomDiv[data-v-4b0f0103]{right:10px}.buttomDiv[data-v-4b0f0103],.buttomDivD[data-v-4b0f0103]{float:right;top:7px;z-index:111;position:absolute;background-color:#1a82e3;font-size:10px;width:40px;line-height:25px;color:#fff;text-align:center;border-radius:2px}.buttomDivD[data-v-4b0f0103]{right:60px}", ""]);
7016
7018
  // Exports
7017
7019
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7018
7020
 
@@ -7208,7 +7210,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[d
7208
7210
 
7209
7211
  /***/ }),
7210
7212
 
7211
- /***/ 8156:
7213
+ /***/ 8048:
7212
7214
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7213
7215
 
7214
7216
  "use strict";
@@ -7222,7 +7224,7 @@ __webpack_require__.r(__webpack_exports__);
7222
7224
 
7223
7225
  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()));
7224
7226
  // Module
7225
- ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-37d9b4bc]{margin-top:100px;text-align:center}.upload-progress[data-v-37d9b4bc]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-37d9b4bc]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-37d9b4bc]{font-size:70px}.file-svg-icon .svg-icon[data-v-37d9b4bc]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-37d9b4bc]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-37d9b4bc]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-37d9b4bc]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-37d9b4bc]{font-size:16px;margin-right:10px}[data-v-37d9b4bc] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-37d9b4bc]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-37d9b4bc]{height:50px;line-height:50px;border-bottom:1px solid #f7f8fa;padding:10px 0;display:-webkit-box;display:-ms-flexbox;display:flex}.attachmentContent .attachmentContent_son .icon_left[data-v-37d9b4bc],.attachmentContent .attachmentContent_son .icon_right[data-v-37d9b4bc]{width:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.attachmentContent .attachmentContent_son .content[data-v-37d9b4bc]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-37d9b4bc]{height:30px;line-height:30px;font-size:16px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.attachmentContent .attachmentContent_son .content .size[data-v-37d9b4bc]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-37d9b4bc] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-37d9b4bc] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
7227
+ ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-a86700cc]{margin-top:100px;text-align:center}.upload-progress[data-v-a86700cc]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-a86700cc]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-a86700cc]{font-size:70px}.file-svg-icon .svg-icon[data-v-a86700cc]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-a86700cc]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-a86700cc]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-a86700cc]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-a86700cc]{font-size:16px;margin-right:10px}[data-v-a86700cc] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-a86700cc]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-a86700cc]{height:50px;line-height:50px;border-bottom:1px solid #f7f8fa;padding:10px 0;display:-webkit-box;display:-ms-flexbox;display:flex}.attachmentContent .attachmentContent_son .icon_left[data-v-a86700cc],.attachmentContent .attachmentContent_son .icon_right[data-v-a86700cc]{width:50px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.attachmentContent .attachmentContent_son .content[data-v-a86700cc]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-a86700cc]{height:30px;line-height:30px;font-size:16px;color:#333;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.attachmentContent .attachmentContent_son .content .size[data-v-a86700cc]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-a86700cc] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-a86700cc] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
7226
7228
  // Exports
7227
7229
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7228
7230
 
@@ -7292,7 +7294,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".popub-container[data-v-6850137e]{widt
7292
7294
 
7293
7295
  /***/ }),
7294
7296
 
7295
- /***/ 6587:
7297
+ /***/ 1176:
7296
7298
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7297
7299
 
7298
7300
  "use strict";
@@ -7311,7 +7313,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
7311
7313
  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()));
7312
7314
  var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
7313
7315
  // Module
7314
- ___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-5be1797c]{text-align:right}.submit-handle-container .idea-button-container .van-cell__value .van-button[data-v-5be1797c]{margin-right:0;margin-left:5px}.submit-handle-container .curIdea-filed[data-v-5be1797c] .van-cell__title,.submit-handle-container .curIdea-filed[data-v-5be1797c]:after{display:none}.submit-handle-container .clearfix[data-v-5be1797c]:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.submit-handle-container .van-wflow-operate-detail-cell[data-v-5be1797c]:after{border-top-width:0}.submit-handle-container .van-wflow-operate-detail-cell-path[data-v-5be1797c]:after{border-width:1px;-webkit-transform:scale(.5);transform:scale(.5)}.submit-handle-container .tnLimit-container[data-v-5be1797c] .van-field__body:after{color:#323233;content:attr(value-suffix)}.submit-handle-container .delete-icon[data-v-5be1797c]{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.submit-handle-container .delete-icon .van-icon[data-v-5be1797c]{line-height:24px;margin-left:5px;font-size:16px}.selectBox_title[data-v-5be1797c]{height:45px;line-height:45px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px}.selectBox_content[data-v-5be1797c],.selectBox_title[data-v-5be1797c]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 15px}.selectBox_content[data-v-5be1797c]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.selectBox_content .selectBox_content_son[data-v-5be1797c]{border:1px solid #f1f1f1}.selectBox_content .selectBox_content_son[data-v-5be1797c],.selectBox_content .selectBox_content_son_change[data-v-5be1797c]{padding:4px;background:#f8fafb;font-size:14px;margin-bottom:10px!important;text-align:center;height:22px;line-height:22px;width:calc(25% - 17.5px);margin-right:10px}.selectBox_content .selectBox_content_son_change[data-v-5be1797c]{border:1px solid #3f88f1;background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-repeat:no-repeat;background-size:15px 15px;background-position:100% 100%;color:#3f88f1}.selectBox_content_sonall[data-v-5be1797c]{white-space:nowrap;overflow:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch}.selectBox_content_sonall[data-v-5be1797c]:nth-child(4n){margin-right:0}.selectBox_content_sonall[data-v-5be1797c]::-webkit-scrollbar{display:none}.viewAllComments[data-v-5be1797c]{height:45px;line-height:45px;text-align:center;color:#b7b7b7;font-size:12px;background:#fff;display:block;width:100%}", ""]);
7316
+ ___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-ac8cafcc]{text-align:right}.submit-handle-container .idea-button-container .van-cell__value .van-button[data-v-ac8cafcc]{margin-right:0;margin-left:5px}.submit-handle-container .curIdea-filed[data-v-ac8cafcc] .van-cell__title,.submit-handle-container .curIdea-filed[data-v-ac8cafcc]:after{display:none}.submit-handle-container .clearfix[data-v-ac8cafcc]:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.submit-handle-container .van-wflow-operate-detail-cell[data-v-ac8cafcc]:after{border-top-width:0}.submit-handle-container .van-wflow-operate-detail-cell-path[data-v-ac8cafcc]:after{border-width:1px;-webkit-transform:scale(.5);transform:scale(.5)}.submit-handle-container .tnLimit-container[data-v-ac8cafcc] .van-field__body:after{color:#323233;content:attr(value-suffix)}.submit-handle-container .delete-icon[data-v-ac8cafcc]{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.submit-handle-container .delete-icon .van-icon[data-v-ac8cafcc]{line-height:24px;margin-left:5px;font-size:16px}.selectBox_title[data-v-ac8cafcc]{height:45px;line-height:45px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px}.selectBox_content[data-v-ac8cafcc],.selectBox_title[data-v-ac8cafcc]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 15px}.selectBox_content[data-v-ac8cafcc]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.selectBox_content .selectBox_content_son[data-v-ac8cafcc]{border:1px solid #f1f1f1}.selectBox_content .selectBox_content_son[data-v-ac8cafcc],.selectBox_content .selectBox_content_son_change[data-v-ac8cafcc]{padding:4px;background:#f8fafb;font-size:14px;margin-bottom:10px!important;text-align:center;height:22px;line-height:22px;width:calc(25% - 17.5px);margin-right:10px}.selectBox_content .selectBox_content_son_change[data-v-ac8cafcc]{border:1px solid #3f88f1;background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-repeat:no-repeat;background-size:15px 15px;background-position:100% 100%;color:#3f88f1}.selectBox_content_sonall[data-v-ac8cafcc]{white-space:nowrap;overflow:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch}.selectBox_content_sonall[data-v-ac8cafcc]:nth-child(4n){margin-right:0}.selectBox_content_sonall[data-v-ac8cafcc]::-webkit-scrollbar{display:none}.viewAllComments[data-v-ac8cafcc]{height:45px;line-height:45px;text-align:center;color:#b7b7b7;font-size:12px;background:#fff;display:block;width:100%}", ""]);
7315
7317
  // Exports
7316
7318
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7317
7319
 
@@ -31889,19 +31891,19 @@ module.exports = function getSideChannel() {
31889
31891
 
31890
31892
  /***/ }),
31891
31893
 
31892
- /***/ 3819:
31894
+ /***/ 3620:
31893
31895
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
31894
31896
 
31895
31897
  // style-loader: Adds some css to the DOM by adding a <style> tag
31896
31898
 
31897
31899
  // load the styles
31898
- var content = __webpack_require__(9016);
31900
+ var content = __webpack_require__(187);
31899
31901
  if(content.__esModule) content = content.default;
31900
31902
  if(typeof content === 'string') content = [[module.id, content, '']];
31901
31903
  if(content.locals) module.exports = content.locals;
31902
31904
  // add the styles to the DOM
31903
31905
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
31904
- var update = add("37d39f44", content, true, {"sourceMap":false,"shadowMode":false});
31906
+ var update = add("b46e9f12", content, true, {"sourceMap":false,"shadowMode":false});
31905
31907
 
31906
31908
  /***/ }),
31907
31909
 
@@ -32225,35 +32227,35 @@ var update = add("3e7011d4", content, true, {"sourceMap":false,"shadowMode":fals
32225
32227
 
32226
32228
  /***/ }),
32227
32229
 
32228
- /***/ 1529:
32230
+ /***/ 6764:
32229
32231
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32230
32232
 
32231
32233
  // style-loader: Adds some css to the DOM by adding a <style> tag
32232
32234
 
32233
32235
  // load the styles
32234
- var content = __webpack_require__(6903);
32236
+ var content = __webpack_require__(102);
32235
32237
  if(content.__esModule) content = content.default;
32236
32238
  if(typeof content === 'string') content = [[module.id, content, '']];
32237
32239
  if(content.locals) module.exports = content.locals;
32238
32240
  // add the styles to the DOM
32239
32241
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32240
- var update = add("0b38f2d4", content, true, {"sourceMap":false,"shadowMode":false});
32242
+ var update = add("6cf6ac81", content, true, {"sourceMap":false,"shadowMode":false});
32241
32243
 
32242
32244
  /***/ }),
32243
32245
 
32244
- /***/ 1645:
32246
+ /***/ 5105:
32245
32247
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32246
32248
 
32247
32249
  // style-loader: Adds some css to the DOM by adding a <style> tag
32248
32250
 
32249
32251
  // load the styles
32250
- var content = __webpack_require__(8843);
32252
+ var content = __webpack_require__(5928);
32251
32253
  if(content.__esModule) content = content.default;
32252
32254
  if(typeof content === 'string') content = [[module.id, content, '']];
32253
32255
  if(content.locals) module.exports = content.locals;
32254
32256
  // add the styles to the DOM
32255
32257
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32256
- var update = add("b11a81f6", content, true, {"sourceMap":false,"shadowMode":false});
32258
+ var update = add("1327d6c5", content, true, {"sourceMap":false,"shadowMode":false});
32257
32259
 
32258
32260
  /***/ }),
32259
32261
 
@@ -32401,19 +32403,19 @@ var update = add("7f7025d5", content, true, {"sourceMap":false,"shadowMode":fals
32401
32403
 
32402
32404
  /***/ }),
32403
32405
 
32404
- /***/ 4054:
32406
+ /***/ 1598:
32405
32407
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32406
32408
 
32407
32409
  // style-loader: Adds some css to the DOM by adding a <style> tag
32408
32410
 
32409
32411
  // load the styles
32410
- var content = __webpack_require__(8156);
32412
+ var content = __webpack_require__(8048);
32411
32413
  if(content.__esModule) content = content.default;
32412
32414
  if(typeof content === 'string') content = [[module.id, content, '']];
32413
32415
  if(content.locals) module.exports = content.locals;
32414
32416
  // add the styles to the DOM
32415
32417
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32416
- var update = add("4408992f", content, true, {"sourceMap":false,"shadowMode":false});
32418
+ var update = add("59678d7b", content, true, {"sourceMap":false,"shadowMode":false});
32417
32419
 
32418
32420
  /***/ }),
32419
32421
 
@@ -32465,19 +32467,19 @@ var update = add("0bbd0584", content, true, {"sourceMap":false,"shadowMode":fals
32465
32467
 
32466
32468
  /***/ }),
32467
32469
 
32468
- /***/ 6497:
32470
+ /***/ 8562:
32469
32471
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32470
32472
 
32471
32473
  // style-loader: Adds some css to the DOM by adding a <style> tag
32472
32474
 
32473
32475
  // load the styles
32474
- var content = __webpack_require__(6587);
32476
+ var content = __webpack_require__(1176);
32475
32477
  if(content.__esModule) content = content.default;
32476
32478
  if(typeof content === 'string') content = [[module.id, content, '']];
32477
32479
  if(content.locals) module.exports = content.locals;
32478
32480
  // add the styles to the DOM
32479
32481
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32480
- var update = add("4047074a", content, true, {"sourceMap":false,"shadowMode":false});
32482
+ var update = add("e7189816", content, true, {"sourceMap":false,"shadowMode":false});
32481
32483
 
32482
32484
  /***/ }),
32483
32485
 
@@ -39813,6 +39815,11 @@ var wfengine_install = function install(Vue) {
39813
39815
  if (res.code === 'success') {
39814
39816
  console.log('wfEngineService getWfJsonData success');
39815
39817
  $scope.wfJsonData = res.body.wfJsonData;
39818
+ if (res.body.udmjysp) {
39819
+ $scope.wfInstance.passenger.udmjysp = res.body.udmjysp;
39820
+ $scope.wfInstance.passenger.isUdmNodes = res.body.isUdmNodes;
39821
+ $scope.wfInstance.passenger.udmNodeUsers = res.body.udmNodeUsers;
39822
+ }
39816
39823
 
39817
39824
  // 是否有需要复制引用其它环节处理人
39818
39825
  if ($scope.wfJsonData && $scope.wfJsonData.routes) {
@@ -50726,8 +50733,8 @@ InnerTable_src.install = function (Vue) {
50726
50733
  Vue.component(InnerTable_src.name, InnerTable_src);
50727
50734
  };
50728
50735
  /* harmony default export */ var InnerTable = (InnerTable_src);
50729
- ;// 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/ecmapp/PdfTools/src/index.vue?vue&type=template&id=16e1b510&scoped=true
50730
- var srcvue_type_template_id_16e1b510_scoped_true_render = function render() {
50736
+ ;// 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/ecmapp/PdfTools/src/index.vue?vue&type=template&id=a2cfb25a&scoped=true
50737
+ var srcvue_type_template_id_a2cfb25a_scoped_true_render = function render() {
50731
50738
  var _vm = this,
50732
50739
  _c = _vm._self._c;
50733
50740
  return _c('div', {
@@ -50740,10 +50747,10 @@ var srcvue_type_template_id_16e1b510_scoped_true_render = function render() {
50740
50747
  staticClass: "box-inner"
50741
50748
  }, [_vm.viewBodyFileShow === 'ofd' ? [_c('div', {
50742
50749
  staticStyle: {
50743
- "height": "30px",
50744
- "width": "30px",
50745
- "right": "15px",
50746
- "top": "100px",
50750
+ "width": "17px",
50751
+ "right": "3px",
50752
+ "padding": "8px",
50753
+ "top": "4px",
50747
50754
  "z-index": "1000"
50748
50755
  },
50749
50756
  style: {
@@ -50768,10 +50775,10 @@ var srcvue_type_template_id_16e1b510_scoped_true_render = function render() {
50768
50775
  }
50769
50776
  })])] : [_c('div', {
50770
50777
  staticStyle: {
50771
- "height": "30px",
50772
- "width": "30px",
50773
- "right": "15px",
50774
- "top": "60px",
50778
+ "width": "17px",
50779
+ "right": "3px",
50780
+ "padding": "8px",
50781
+ "top": "4px",
50775
50782
  "z-index": "1000",
50776
50783
  "position": "absolute"
50777
50784
  },
@@ -50848,7 +50855,7 @@ var srcvue_type_template_id_16e1b510_scoped_true_render = function render() {
50848
50855
  }
50849
50856
  }) : _vm._e()], 1) : _vm._e()]);
50850
50857
  };
50851
- var srcvue_type_template_id_16e1b510_scoped_true_staticRenderFns = [];
50858
+ var srcvue_type_template_id_a2cfb25a_scoped_true_staticRenderFns = [];
50852
50859
 
50853
50860
  ;// 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/ecmapp/PdfTools/src/AddSign.vue?vue&type=template&id=4baca1b9&scoped=true
50854
50861
  var AddSignvue_type_template_id_4baca1b9_scoped_true_render = function render() {
@@ -51705,23 +51712,17 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
51705
51712
  )
51706
51713
 
51707
51714
  /* harmony default export */ var ListSeals = (ListSeals_component.exports);
51708
- ;// 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/ecmapp/PdfTools/src/showViewer.vue?vue&type=template&id=5d4a933e&scoped=true
51709
- var showViewervue_type_template_id_5d4a933e_scoped_true_render = function render() {
51715
+ ;// 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/ecmapp/PdfTools/src/showViewer.vue?vue&type=template&id=4b0f0103&scoped=true
51716
+ var showViewervue_type_template_id_4b0f0103_scoped_true_render = function render() {
51710
51717
  var _vm = this,
51711
51718
  _c = _vm._self._c;
51712
51719
  return _c('div', [_c('div', {
51713
- staticStyle: {
51714
- "position": "fixed",
51715
- "top": "0px",
51716
- "width": "100vw",
51717
- "height": "100vh",
51718
- "background-color": "#ffffff",
51719
- "z-index": "9999"
51720
- }
51720
+ staticClass: "view-container"
51721
51721
  }, [_c('div', {
51722
51722
  staticClass: "divNoContainer"
51723
51723
  }, [_c('div', {
51724
- staticClass: "docDiv",
51724
+ ref: "container",
51725
+ staticClass: "docDiv container",
51725
51726
  attrs: {
51726
51727
  "id": "pdfDiv"
51727
51728
  }
@@ -51752,7 +51753,7 @@ var showViewervue_type_template_id_5d4a933e_scoped_true_render = function render
51752
51753
  }
51753
51754
  }, [_vm._v("关闭")])])])])])]);
51754
51755
  };
51755
- var showViewervue_type_template_id_5d4a933e_scoped_true_staticRenderFns = [];
51756
+ var showViewervue_type_template_id_4b0f0103_scoped_true_staticRenderFns = [];
51756
51757
 
51757
51758
  ;// 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/ecmapp/PdfTools/src/showViewer.vue?vue&type=script&lang=js
51758
51759
  /* harmony default export */ var showViewervue_type_script_lang_js = ({
@@ -51821,9 +51822,9 @@ var showViewervue_type_template_id_5d4a933e_scoped_true_staticRenderFns = [];
51821
51822
  });
51822
51823
  ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=script&lang=js
51823
51824
  /* harmony default export */ var src_showViewervue_type_script_lang_js = (showViewervue_type_script_lang_js);
51824
- // 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/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=5d4a933e&prod&scoped=true&lang=scss
51825
- var showViewervue_type_style_index_0_id_5d4a933e_prod_scoped_true_lang_scss = __webpack_require__(1645);
51826
- ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=5d4a933e&prod&scoped=true&lang=scss
51825
+ // 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/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=4b0f0103&prod&scoped=true&lang=scss
51826
+ var showViewervue_type_style_index_0_id_4b0f0103_prod_scoped_true_lang_scss = __webpack_require__(5105);
51827
+ ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=4b0f0103&prod&scoped=true&lang=scss
51827
51828
 
51828
51829
  ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue
51829
51830
 
@@ -51836,11 +51837,11 @@ var showViewervue_type_style_index_0_id_5d4a933e_prod_scoped_true_lang_scss = __
51836
51837
 
51837
51838
  var showViewer_component = (0,componentNormalizer/* default */.A)(
51838
51839
  src_showViewervue_type_script_lang_js,
51839
- showViewervue_type_template_id_5d4a933e_scoped_true_render,
51840
- showViewervue_type_template_id_5d4a933e_scoped_true_staticRenderFns,
51840
+ showViewervue_type_template_id_4b0f0103_scoped_true_render,
51841
+ showViewervue_type_template_id_4b0f0103_scoped_true_staticRenderFns,
51841
51842
  false,
51842
51843
  null,
51843
- "5d4a933e",
51844
+ "4b0f0103",
51844
51845
  null
51845
51846
 
51846
51847
  )
@@ -52195,13 +52196,13 @@ function PdfTools_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
52195
52196
  });
52196
52197
  ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=script&lang=js
52197
52198
  /* harmony default export */ var ecmapp_PdfTools_srcvue_type_script_lang_js = (PdfTools_srcvue_type_script_lang_js);
52198
- // 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/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=16e1b510&prod&scoped=true&lang=scss
52199
- var srcvue_type_style_index_0_id_16e1b510_prod_scoped_true_lang_scss = __webpack_require__(1529);
52200
- ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=16e1b510&prod&scoped=true&lang=scss
52199
+ // 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/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=a2cfb25a&prod&scoped=true&lang=scss
52200
+ var srcvue_type_style_index_0_id_a2cfb25a_prod_scoped_true_lang_scss = __webpack_require__(6764);
52201
+ ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=a2cfb25a&prod&scoped=true&lang=scss
52201
52202
 
52202
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.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/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=16e1b510&prod&lang=css
52203
- var srcvue_type_style_index_1_id_16e1b510_prod_lang_css = __webpack_require__(3819);
52204
- ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=16e1b510&prod&lang=css
52203
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.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/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=a2cfb25a&prod&lang=css
52204
+ var srcvue_type_style_index_1_id_a2cfb25a_prod_lang_css = __webpack_require__(3620);
52205
+ ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=a2cfb25a&prod&lang=css
52205
52206
 
52206
52207
  ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue
52207
52208
 
@@ -52215,11 +52216,11 @@ var srcvue_type_style_index_1_id_16e1b510_prod_lang_css = __webpack_require__(38
52215
52216
 
52216
52217
  var PdfTools_src_component = (0,componentNormalizer/* default */.A)(
52217
52218
  ecmapp_PdfTools_srcvue_type_script_lang_js,
52218
- srcvue_type_template_id_16e1b510_scoped_true_render,
52219
- srcvue_type_template_id_16e1b510_scoped_true_staticRenderFns,
52219
+ srcvue_type_template_id_a2cfb25a_scoped_true_render,
52220
+ srcvue_type_template_id_a2cfb25a_scoped_true_staticRenderFns,
52220
52221
  false,
52221
52222
  null,
52222
- "16e1b510",
52223
+ "a2cfb25a",
52223
52224
  null
52224
52225
 
52225
52226
  )
@@ -56897,8 +56898,8 @@ var Attachment_component = (0,componentNormalizer/* default */.A)(
56897
56898
  )
56898
56899
 
56899
56900
  /* harmony default export */ var Attachment = (Attachment_component.exports);
56900
- ;// 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/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=37d9b4bc&scoped=true
56901
- var BodyFilevue_type_template_id_37d9b4bc_scoped_true_render = function render() {
56901
+ ;// 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/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=a86700cc&scoped=true
56902
+ var BodyFilevue_type_template_id_a86700cc_scoped_true_render = function render() {
56902
56903
  var _vm = this,
56903
56904
  _c = _vm._self._c;
56904
56905
  return _c('div', {
@@ -57262,7 +57263,7 @@ var BodyFilevue_type_template_id_37d9b4bc_scoped_true_render = function render()
57262
57263
  })])]) : _vm._e()]) : _vm._e()];
57263
57264
  })], 2)])], 1);
57264
57265
  };
57265
- var BodyFilevue_type_template_id_37d9b4bc_scoped_true_staticRenderFns = [];
57266
+ var BodyFilevue_type_template_id_a86700cc_scoped_true_staticRenderFns = [];
57266
57267
 
57267
57268
  ;// 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/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
57268
57269
  function BodyFilevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return BodyFilevue_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; }, BodyFilevue_type_script_lang_js_typeof(o); }
@@ -57369,7 +57370,9 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57369
57370
  // 签名状态
57370
57371
  pdfSealChange: false,
57371
57372
  // 印章状态
57372
- viewBodyFileShow: ''
57373
+ viewBodyFileShow: '',
57374
+ onlineViewer: null,
57375
+ fuxinBaseUrl: null
57373
57376
  };
57374
57377
  },
57375
57378
  computed: {},
@@ -57393,120 +57396,238 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57393
57396
  mounted: function mounted() {},
57394
57397
  methods: {
57395
57398
  onTabChanged: function onTabChanged(tabActive) {
57396
- if (this.wflowNavbarList[tabActive] === 'BodyFile') {
57397
- this.viewBodyFile();
57398
- }
57399
- this.setFooterBtns(tabActive);
57399
+ var _this2 = this;
57400
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
57401
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
57402
+ while (1) switch (_context.prev = _context.next) {
57403
+ case 0:
57404
+ if (!(_this2.wflowNavbarList[tabActive] === 'BodyFile')) {
57405
+ _context.next = 8;
57406
+ break;
57407
+ }
57408
+ if (!(_this2.viewer === 'fuxin')) {
57409
+ _context.next = 6;
57410
+ break;
57411
+ }
57412
+ _context.next = 4;
57413
+ return _this2.$http({
57414
+ method: 'get',
57415
+ contentType: 'application/x-www-form-urlencoded',
57416
+ url: 'base/paramConfig/findParamValueByName?orgCode=standard&paramName=fuxin.viewer.url'
57417
+ }).then(function (res) {
57418
+ if (res.code === 'success') {
57419
+ _this2.fuxinBaseUrl = res.body.value;
57420
+ _this2.onlineViewer = 'fuxin';
57421
+ } else {
57422
+ _this2.onlineViewer = 'pdfjs';
57423
+ }
57424
+ });
57425
+ case 4:
57426
+ _context.next = 7;
57427
+ break;
57428
+ case 6:
57429
+ _this2.onlineViewer = _this2.viewer || 'pdfjs';
57430
+ case 7:
57431
+ _this2.viewBodyFile();
57432
+ case 8:
57433
+ _this2.setFooterBtns(tabActive);
57434
+ case 9:
57435
+ case "end":
57436
+ return _context.stop();
57437
+ }
57438
+ }, _callee);
57439
+ }))();
57400
57440
  },
57401
57441
  viewBodyFile: function viewBodyFile() {
57402
- var _this2 = this;
57403
- if (!this.flBodyfile || this.flBodyfile.id === undefined) return;
57404
- this.downloadurl = null;
57405
- this.bodyFileUrl = '';
57406
- this.flBodyfileBak = this.flBodyfile;
57407
- var oriangialName = this.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
57408
- var extName = oriangialName.substring(oriangialName.lastIndexOf('.')).toLowerCase();
57409
- this.seal = false;
57410
- this.$vnode.context.commandBar.forEach(function (btn) {
57411
- if (btn.btnCode === 'btnStampClick' && _this2.$vnode.context.wfInstance.haveDoc === 2) {
57412
- _this2.seal = true;
57413
- }
57414
- });
57415
- if (this.fileNeedSign === 1 && this.$vnode.context.wfInstance.haveDoc === 2) {
57416
- this.sign = true;
57417
- } else {
57418
- this.sign = false;
57419
- }
57420
- var _this = this;
57421
- if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (this.viewer === 'pdfjs' || this.sign || this.seal)) {
57422
- this.viewBodyFileShow = 'pdf';
57423
- if (this.sign || this.seal) {
57424
- this.waterMark = false;
57425
- }
57426
- var fileurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + this.flBodyfile.id + '&widthType=auto&viewType=mobile';
57427
- fileurl += '&httpPort=' + location.port + '&waterMark=' + this.waterMark + '&markContent=' + this.markContent;
57428
- if (this.flBodyfile.fileName.indexOf('{') !== -1 || this.flBodyfile.fileName.indexOf('%') !== -1 || this.flBodyfile.fileName.indexOf('[') !== -1) {
57429
- fileurl += '&fileName=' + encodeURIComponent(this.flBodyfile.fileName);
57430
- } else {
57431
- fileurl += '&fileName=' + this.flBodyfile.fileName;
57432
- }
57433
- this.bodyFileUrl = './plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(fileurl);
57434
- this.$nextTick(function () {
57435
- var iframe = document.getElementById('pdfHtml');
57436
- if (iframe == null) return;
57437
- if (iframe.attachEvent) {
57438
- iframe.attachEvent('onload', function () {
57439
- _this.loaded = false;
57440
- });
57441
- } else {
57442
- iframe.onload = function () {
57442
+ var _this3 = this;
57443
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
57444
+ var oriangialName, extName, _this, appUrl, tSessionId, downUrl, fileurl, _fileurl;
57445
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
57446
+ while (1) switch (_context2.prev = _context2.next) {
57447
+ case 0:
57448
+ if (!(!_this3.flBodyfile || _this3.flBodyfile.id === undefined)) {
57449
+ _context2.next = 2;
57450
+ break;
57451
+ }
57452
+ return _context2.abrupt("return");
57453
+ case 2:
57454
+ _this3.downloadurl = null;
57455
+ _this3.bodyFileUrl = '';
57456
+ _this3.flBodyfileBak = _this3.flBodyfile;
57457
+ oriangialName = _this3.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
57458
+ extName = oriangialName.substring(oriangialName.lastIndexOf('.')).toLowerCase();
57459
+ _this3.seal = false;
57460
+ _this3.$vnode.context.commandBar.forEach(function (btn) {
57461
+ if (btn.btnCode === 'btnStampClick' && _this3.$vnode.context.wfInstance.haveDoc === 2) {
57462
+ _this3.seal = true;
57463
+ }
57464
+ });
57465
+ if (_this3.fileNeedSign === 1 && _this3.$vnode.context.wfInstance.haveDoc === 2) {
57466
+ _this3.sign = true;
57467
+ } else {
57468
+ _this3.sign = false;
57469
+ }
57470
+ _this = _this3;
57471
+ if (!(extName === '.ofd' && _this3.onlineViewer === 'fuxin')) {
57472
+ _context2.next = 28;
57473
+ break;
57474
+ }
57475
+ appUrl = location.href.split('#')[0]; // url
57476
+ if (appUrl.indexOf('/mindex.html') > -1) {
57477
+ appUrl = appUrl.split('/mindex.html')[0];
57478
+ }
57479
+ _context2.next = 16;
57480
+ return _this3.getSessionId();
57481
+ case 16:
57482
+ tSessionId = _context2.sent;
57483
+ downUrl = appUrl + "/apigw";
57484
+ downUrl += _this3.wfAttachUrl.substring(0, 1) === '/' ? _this3.wfAttachUrl : '/' + _this3.wfAttachUrl;
57485
+ downUrl += '/downloadById?attachIds=' + _this3.flBodyfile.id + '&topdf=true';
57486
+ // downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
57487
+ downUrl += '&tSessionId=' + tSessionId;
57488
+ console.log(downUrl);
57489
+ if (_this3.fuxinBaseUrl) {
57490
+ _this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
57491
+ _this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57492
+ } else {
57493
+ _this3.$http({
57494
+ method: 'get',
57495
+ contentType: 'application/x-www-form-urlencoded',
57496
+ url: 'base/paramConfig/findParamValueByName?orgCode=standard&paramName=fuxin.viewer.url'
57497
+ }).then(function (res) {
57498
+ if (res.code === 'success') {
57499
+ _this3.fuxinBaseUrl = res.body.value;
57500
+ _this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
57501
+ _this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57502
+ } else {
57503
+ _this3.$toast.fail('未配置福星预览地址参数 fuxin.viewer.url');
57504
+ }
57505
+ });
57506
+ }
57507
+ console.log('bodyFileUrl=====>', _this3.bodyFileUrl);
57508
+ _this3.viewBodyFileShow = 'ofd';
57509
+ _this3.$nextTick(function () {
57510
+ if (document.getElementById('changeScreenH')) {
57511
+ document.getElementById('changeScreenH').style.display = 'none';
57512
+ }
57513
+ });
57443
57514
  _this.loaded = false;
57444
- };
57515
+ return _context2.abrupt("return");
57516
+ case 28:
57517
+ _this3.viewer = 'pdfjs';
57518
+ if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (_this3.viewer === 'pdfjs' || _this3.sign || _this3.seal)) {
57519
+ _this3.viewBodyFileShow = 'pdf';
57520
+ if (_this3.sign || _this3.seal) {
57521
+ _this3.waterMark = false;
57522
+ }
57523
+ fileurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&widthType=auto&viewType=mobile';
57524
+ fileurl += '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57525
+ if (_this3.flBodyfile.fileName.indexOf('{') !== -1 || _this3.flBodyfile.fileName.indexOf('%') !== -1 || _this3.flBodyfile.fileName.indexOf('[') !== -1) {
57526
+ fileurl += '&fileName=' + encodeURIComponent(_this3.flBodyfile.fileName);
57527
+ } else {
57528
+ fileurl += '&fileName=' + _this3.flBodyfile.fileName;
57529
+ }
57530
+ _this3.bodyFileUrl = './plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(fileurl);
57531
+ _this3.$nextTick(function () {
57532
+ var iframe = document.getElementById('pdfHtml');
57533
+ if (iframe == null) return;
57534
+ if (iframe.attachEvent) {
57535
+ iframe.attachEvent('onload', function () {
57536
+ _this.loaded = false;
57537
+ });
57538
+ } else {
57539
+ iframe.onload = function () {
57540
+ _this.loaded = false;
57541
+ };
57542
+ }
57543
+ });
57544
+ } else if (extName === '.ofd') {
57545
+ _this3.sign = false;
57546
+ _this3.seal = false;
57547
+ _this3.viewBodyFileShow = 'ofd';
57548
+ _fileurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&widthType=auto&viewType=mobile';
57549
+ if (_this3.flBodyfile.fileName.indexOf('{') !== -1 || _this3.flBodyfile.fileName.indexOf('%') !== -1 || _this3.flBodyfile.fileName.indexOf('[') !== -1) {
57550
+ _fileurl += '&fileName=' + encodeURIComponent(_this3.flBodyfile.fileName);
57551
+ } else {
57552
+ _fileurl += '&fileName=' + _this3.flBodyfile.fileName;
57553
+ }
57554
+ _fileurl += '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57555
+ _this3.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
57556
+ _this.loaded = false;
57557
+ } else if (_this3.viewer.indexOf('dcs=') === 0) {
57558
+ _this3.sign = false;
57559
+ _this3.seal = false;
57560
+ _this3.$http({
57561
+ method: 'GET',
57562
+ url: 'base/user/getSessionId'
57563
+ }).then(function (res) {
57564
+ if (res.code === 'success') {
57565
+ var _tSessionId = res.body.tSessionId;
57566
+ var hostname = location.href.split('mindex.html')[0];
57567
+ var _downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?attachIds=' + _this3.flBodyfile.id + '&httpPort=' + location.port + '&tSessionId=' + _tSessionId;
57568
+ var convertType = '0';
57569
+ if (_this3.extName === '.ofd') {
57570
+ convertType = '21';
57571
+ } else if (_this3.extName === '.pdf' || _this3.extName === '.pdfx') {
57572
+ convertType = '20';
57573
+ }
57574
+ _downUrl = _this3.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(_downUrl);
57575
+ if (_this3.viewerUrlParams) {
57576
+ _downUrl += '&' + _this3.viewerUrlParams;
57577
+ }
57578
+ if (_downUrl.indexOf('&acceptTracks=0') === -1) {
57579
+ _downUrl += '&acceptTracks=0';
57580
+ }
57581
+ $.post(_downUrl, {}, function (res) {
57582
+ _this.loaded = false;
57583
+ if (res.errorcode === 0) {
57584
+ _this.bodyFileUrl = res.data.viewUrl;
57585
+ } else {
57586
+ _this3.$dialog.alert({
57587
+ message: res.message
57588
+ });
57589
+ }
57590
+ }, 'json');
57591
+ }
57592
+ });
57593
+ } else {
57594
+ _this3.downloadurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57595
+ }
57596
+ case 30:
57597
+ case "end":
57598
+ return _context2.stop();
57445
57599
  }
57446
- });
57447
- } else if (extName === '.ofd') {
57448
- this.sign = false;
57449
- this.seal = false;
57450
- this.viewBodyFileShow = 'ofd';
57451
- var _fileurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + this.flBodyfile.id + '&widthType=auto&viewType=mobile';
57452
- if (this.flBodyfile.fileName.indexOf('{') !== -1 || this.flBodyfile.fileName.indexOf('%') !== -1 || this.flBodyfile.fileName.indexOf('[') !== -1) {
57453
- _fileurl += '&fileName=' + encodeURIComponent(this.flBodyfile.fileName);
57454
- } else {
57455
- _fileurl += '&fileName=' + this.flBodyfile.fileName;
57456
- }
57457
- _fileurl += '&httpPort=' + location.port + '&waterMark=' + this.waterMark + '&markContent=' + this.markContent;
57458
- this.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
57459
- _this.loaded = false;
57460
- } else if (this.viewer.indexOf('dcs=') === 0) {
57461
- this.sign = false;
57462
- this.seal = false;
57463
- this.$http({
57600
+ }, _callee2);
57601
+ }))();
57602
+ },
57603
+ getSessionId: function getSessionId() {
57604
+ var _this4 = this;
57605
+ return new Promise(function (resolve, reject) {
57606
+ _this4.$http({
57464
57607
  method: 'GET',
57608
+ params: {
57609
+ timeLength: 60
57610
+ },
57465
57611
  url: 'base/user/getSessionId'
57466
57612
  }).then(function (res) {
57467
57613
  if (res.code === 'success') {
57468
- var tSessionId = res.body.tSessionId;
57469
- var hostname = location.href.split('mindex.html')[0];
57470
- var downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?attachIds=' + _this2.flBodyfile.id + '&httpPort=' + location.port + '&tSessionId=' + tSessionId;
57471
- var convertType = '0';
57472
- if (_this2.extName === '.ofd') {
57473
- convertType = '21';
57474
- } else if (_this2.extName === '.pdf' || _this2.extName === '.pdfx') {
57475
- convertType = '20';
57476
- }
57477
- downUrl = _this2.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(downUrl);
57478
- if (_this2.viewerUrlParams) {
57479
- downUrl += '&' + _this2.viewerUrlParams;
57480
- }
57481
- if (downUrl.indexOf('&acceptTracks=0') === -1) {
57482
- downUrl += '&acceptTracks=0';
57483
- }
57484
- $.post(downUrl, {}, function (res) {
57485
- _this.loaded = false;
57486
- if (res.errorcode === 0) {
57487
- _this.bodyFileUrl = res.data.viewUrl;
57488
- } else {
57489
- _this2.$dialog.alert({
57490
- message: res.message
57491
- });
57492
- }
57493
- }, 'json');
57614
+ resolve(res.body.tSessionId);
57615
+ } else {
57616
+ reject(res.msg);
57494
57617
  }
57495
57618
  });
57496
- } else {
57497
- this.downloadurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + this.flBodyfile.id + '&httpPort=' + location.port + '&waterMark=' + this.waterMark + '&markContent=' + this.markContent;
57498
- }
57619
+ });
57499
57620
  },
57500
57621
  reloadBodyFile: function reloadBodyFile() {
57501
- var _this3 = this;
57622
+ var _this5 = this;
57502
57623
  this.downloadurl = null;
57503
57624
  this.bodyFileUrl = '';
57504
57625
  this.$nextTick(function () {
57505
- _this3.viewBodyFile();
57626
+ _this5.viewBodyFile();
57506
57627
  });
57507
57628
  },
57508
57629
  setFooterBtns: function setFooterBtns(tabActive) {
57509
- var _this4 = this;
57630
+ var _this6 = this;
57510
57631
  var footerBtns = [];
57511
57632
  if (this.wflowNavbarList[tabActive] !== 'BodyFile') {
57512
57633
  this.$vnode.context.setFooterBtns();
@@ -57539,7 +57660,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57539
57660
  bodyFileList.forEach(function (item) {
57540
57661
  var fileName = item.fileName;
57541
57662
  var bodyFileName = item.bodyFileName ? item.bodyFileName : item.fileName;
57542
- if (bodyFileName.includes('RedTitle_') || bodyFileName === _this4.$vnode.context.vo.flbodyfilename || fileName === _this4.$vnode.context.vo.flbodyfilename || fileName.includes('RedTitle_')) {
57663
+ if (bodyFileName.includes('RedTitle_') || bodyFileName === _this6.$vnode.context.vo.flbodyfilename || fileName === _this6.$vnode.context.vo.flbodyfilename || fileName.includes('RedTitle_')) {
57543
57664
  isSeal = true;
57544
57665
  }
57545
57666
  });
@@ -57721,21 +57842,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57721
57842
  },
57722
57843
  // 保存印章
57723
57844
  pdfSealSave: function pdfSealSave() {
57724
- var _this5 = this;
57725
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
57726
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
57727
- while (1) switch (_context.prev = _context.next) {
57845
+ var _this7 = this;
57846
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
57847
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
57848
+ while (1) switch (_context3.prev = _context3.next) {
57728
57849
  case 0:
57729
- _context.next = 2;
57730
- return _this5.$refs.PdfTools.pdfStamp();
57850
+ _context3.next = 2;
57851
+ return _this7.$refs.PdfTools.pdfStamp();
57731
57852
  case 2:
57732
- _this5.pdfSealChange = false;
57733
- _this5.setFooterBtns(0);
57853
+ _this7.pdfSealChange = false;
57854
+ _this7.setFooterBtns(0);
57734
57855
  case 4:
57735
57856
  case "end":
57736
- return _context.stop();
57857
+ return _context3.stop();
57737
57858
  }
57738
- }, _callee);
57859
+ }, _callee3);
57739
57860
  }))();
57740
57861
  },
57741
57862
  // 添加签名
@@ -57756,21 +57877,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57756
57877
  },
57757
57878
  // 保存签名
57758
57879
  pdfSignSave: function pdfSignSave() {
57759
- var _this6 = this;
57760
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
57761
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
57762
- while (1) switch (_context2.prev = _context2.next) {
57880
+ var _this8 = this;
57881
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
57882
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
57883
+ while (1) switch (_context4.prev = _context4.next) {
57763
57884
  case 0:
57764
- _context2.next = 2;
57765
- return _this6.$refs.PdfTools.pdfSign();
57885
+ _context4.next = 2;
57886
+ return _this8.$refs.PdfTools.pdfSign();
57766
57887
  case 2:
57767
- _this6.pdfSignChange = false;
57768
- _this6.setFooterBtns(0);
57888
+ _this8.pdfSignChange = false;
57889
+ _this8.setFooterBtns(0);
57769
57890
  case 4:
57770
57891
  case "end":
57771
- return _context2.stop();
57892
+ return _context4.stop();
57772
57893
  }
57773
- }, _callee2);
57894
+ }, _callee4);
57774
57895
  }))();
57775
57896
  },
57776
57897
  attachmentDownloadClick: function attachmentDownloadClick(attachment) {
@@ -57790,21 +57911,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57790
57911
  this.$wv.showAttachmentOtherApps(this.flBodyfile);
57791
57912
  },
57792
57913
  btnUploadBodyfileClick: function btnUploadBodyfileClick() {
57793
- var _this7 = this;
57914
+ var _this9 = this;
57794
57915
  new Promise(function (resolve, reject) {
57795
- if (_this7.$vnode.context.wfInstance.haveDoc) {
57796
- _this7.$dialog.confirm({
57797
- message: _this7.$tx('ecmapp.wflowform.coverMainText', '重新上传会覆盖现有正文,是否确认?')
57798
- }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
57799
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
57800
- while (1) switch (_context3.prev = _context3.next) {
57916
+ if (_this9.$vnode.context.wfInstance.haveDoc) {
57917
+ _this9.$dialog.confirm({
57918
+ message: _this9.$tx('ecmapp.wflowform.coverMainText', '重新上传会覆盖现有正文,是否确认?')
57919
+ }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
57920
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
57921
+ while (1) switch (_context5.prev = _context5.next) {
57801
57922
  case 0:
57802
57923
  resolve(true);
57803
57924
  case 1:
57804
57925
  case "end":
57805
- return _context3.stop();
57926
+ return _context5.stop();
57806
57927
  }
57807
- }, _callee3);
57928
+ }, _callee5);
57808
57929
  }))).catch(function () {
57809
57930
  reject('cancel btnUploadBodyfileClick.');
57810
57931
  });
@@ -57812,19 +57933,19 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57812
57933
  resolve(true);
57813
57934
  }
57814
57935
  }).then(function (result) {
57815
- _this7.uploadList = [];
57816
- _this7.$vnode.context.formValidate(function () {
57817
- _this7.$vnode.context.submitHandle.submitType = 'Save';
57936
+ _this9.uploadList = [];
57937
+ _this9.$vnode.context.formValidate(function () {
57938
+ _this9.$vnode.context.submitHandle.submitType = 'Save';
57818
57939
  new Promise(function (resolve, reject) {
57819
- _this7.$vnode.context.formEvents.onWflowFormBeforeSubmit(_this7.$vnode.context, {
57940
+ _this9.$vnode.context.formEvents.onWflowFormBeforeSubmit(_this9.$vnode.context, {
57820
57941
  resolve: resolve,
57821
57942
  reject: reject
57822
57943
  });
57823
57944
  }).then(function (result) {
57824
57945
  if (!result) return;
57825
- _this7.flBodyfile = _this7.flBodyfileBak;
57826
- _this7.$nextTick(function () {
57827
- var uploadBtn = _this7.$el.querySelector('.van-uploader__input');
57946
+ _this9.flBodyfile = _this9.flBodyfileBak;
57947
+ _this9.$nextTick(function () {
57948
+ var uploadBtn = _this9.$el.querySelector('.van-uploader__input');
57828
57949
  uploadBtn.click();
57829
57950
  });
57830
57951
  });
@@ -57834,7 +57955,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57834
57955
  });
57835
57956
  },
57836
57957
  btnOpenWordClick: function btnOpenWordClick() {
57837
- var _this8 = this;
57958
+ var _this10 = this;
57838
57959
  // 编辑正文
57839
57960
  if (this.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57840
57961
  if (this.$vnode.context.wfInstance.haveDoc === 2) {
@@ -57843,7 +57964,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57843
57964
  message: this.$tx('ecmapp.wflowform.alreadlyRed', '该公文已经套红,重新编辑正文后需要重套红!是否继续?'),
57844
57965
  title: this.$tx('common.confirm', '确认操作')
57845
57966
  }).then(function () {
57846
- _this8.$bus.emit('btnOpenWordClick', _this8.$vnode.context);
57967
+ _this10.$bus.emit('btnOpenWordClick', _this10.$vnode.context);
57847
57968
  }).catch(function () {
57848
57969
  // 处理选择否的情况
57849
57970
  return;
@@ -57870,7 +57991,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57870
57991
  });
57871
57992
  },
57872
57993
  handleUploadChange: function handleUploadChange(file) {
57873
- var _this9 = this;
57994
+ var _this11 = this;
57874
57995
  var fileName = file.file.name;
57875
57996
  var extName = fileName.substring(fileName.lastIndexOf('.')).toLowerCase();
57876
57997
  if (this.accept.indexOf(extName) === -1) {
@@ -57906,7 +58027,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57906
58027
  this.$set(this.$vnode.context, 'bodyfile', attach);
57907
58028
  this.bodyFileUrl = '';
57908
58029
  this.$nextTick(function () {
57909
- _this9.$vnode.context.btnSubmitClick('Save');
58030
+ _this11.$vnode.context.btnSubmitClick('Save');
57910
58031
  });
57911
58032
  },
57912
58033
  onUploadProgress: function onUploadProgress(attach) {
@@ -57954,7 +58075,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57954
58075
  }
57955
58076
  },
57956
58077
  btnViewHistoryFilesClick: function btnViewHistoryFilesClick(bodyfile) {
57957
- var _this10 = this;
58078
+ var _this12 = this;
57958
58079
  this.historyDialogVisible = true;
57959
58080
  var listdataUrl = this.wfAttachUrl + '/listAttach';
57960
58081
  var fileId = bodyfile ? bodyfile.fileId : this.flBodyfile.fileId;
@@ -57970,18 +58091,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57970
58091
  url: listdataUrl
57971
58092
  }).then(function (res) {
57972
58093
  if (res.code === 'success') {
57973
- _this10.historyFiles = res.body.pageInfo.list.filter(function (attach) {
57974
- if (_this10.flBodyfile.id !== attach.id && attach.fileStatus === 1 && attach.originalName === _this10.flBodyfile.originalName) {
57975
- _this10.flBodyfile = attach;
57976
- _this10.$vnode.context.bodyfile = _this10.flBodyfile;
57977
- _this10.reloadBodyFile();
58094
+ _this12.historyFiles = res.body.pageInfo.list.filter(function (attach) {
58095
+ if (_this12.flBodyfile.id !== attach.id && attach.fileStatus === 1 && attach.originalName === _this12.flBodyfile.originalName) {
58096
+ _this12.flBodyfile = attach;
58097
+ _this12.$vnode.context.bodyfile = _this12.flBodyfile;
58098
+ _this12.reloadBodyFile();
57978
58099
  }
57979
58100
  attach.updateTime = formatTime(attach.updateTime);
57980
58101
  attach.avatarUrl = "/apigw" + '/base/user/downloadPhotoByAccount?orgCode=' + attach.orgCode + '&account=' + attach.updateBy + '&httpPort=' + location.port;
57981
58102
  return true;
57982
58103
  });
57983
58104
  } else {
57984
- _this10.$dialog.alert({
58105
+ _this12.$dialog.alert({
57985
58106
  message: res.message,
57986
58107
  type: 'error'
57987
58108
  });
@@ -57998,7 +58119,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57998
58119
  this.clickAttach = attach;
57999
58120
  },
58000
58121
  moreMenuitemClick: function moreMenuitemClick(command) {
58001
- var _this11 = this;
58122
+ var _this13 = this;
58002
58123
  if (command.indexOf('view') !== -1) {
58003
58124
  this.downHistoryFile(this.clickAttach);
58004
58125
  } else if (command.indexOf('remove') !== -1) {
@@ -58006,7 +58127,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58006
58127
  } else if (command.indexOf('download') !== -1) {
58007
58128
  var attachIds = this.clickAttach.id;
58008
58129
  this.historyFiles.forEach(function (attach) {
58009
- if (attach.fileVer && attach.fileVer === _this11.clickAttach.fileVer && attach.id !== _this11.clickAttach.id) {
58130
+ if (attach.fileVer && attach.fileVer === _this13.clickAttach.fileVer && attach.id !== _this13.clickAttach.id) {
58010
58131
  attachIds += ',' + attach.id;
58011
58132
  }
58012
58133
  });
@@ -58021,7 +58142,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58021
58142
  this.showMoreBtn = false;
58022
58143
  },
58023
58144
  removeBodyfile: function removeBodyfile(flBodyfile) {
58024
- var _this12 = this;
58145
+ var _this14 = this;
58025
58146
  var confirmMsg = this.$tx('ecmapp.wflowform.delCurrentVersion', '您是否确认删除当前版本文件?');
58026
58147
  if (flBodyfile.fileStatus === 8) {
58027
58148
  confirmMsg = this.$tx('ecmapp.wflowform.delHistoricalVersion', '您是否确认删除历史版本文件?');
@@ -58029,10 +58150,10 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58029
58150
  var _this = this;
58030
58151
  this.$dialog.confirm({
58031
58152
  message: confirmMsg
58032
- }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
58153
+ }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
58033
58154
  var deleteIds, originalName, i;
58034
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
58035
- while (1) switch (_context4.prev = _context4.next) {
58155
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
58156
+ while (1) switch (_context6.prev = _context6.next) {
58036
58157
  case 0:
58037
58158
  deleteIds = flBodyfile.id;
58038
58159
  originalName = flBodyfile.originalName.substring(0, flBodyfile.originalName.indexOf('.'));
@@ -58043,44 +58164,44 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58043
58164
  }
58044
58165
  }
58045
58166
  }
58046
- _this12.$http({
58167
+ _this14.$http({
58047
58168
  method: 'DELETE',
58048
58169
  contentType: 'application/x-www-form-urlencoded',
58049
58170
  params: {
58050
58171
  attachIds: deleteIds
58051
58172
  },
58052
- url: _this12.wfAttachUrl + '/delete'
58173
+ url: _this14.wfAttachUrl + '/delete'
58053
58174
  }).then(function (res) {
58054
58175
  if (res.code === 'success') {
58055
- for (var i = 0; i < _this12.attachments.length; i++) {
58056
- if (_this12.attachments[i].id === flBodyfile.id || _this12.attachments[i].originalName.indexOf(originalName + '.pdf') === 0) {
58057
- _this12.attachments.splice(i--, 1);
58176
+ for (var i = 0; i < _this14.attachments.length; i++) {
58177
+ if (_this14.attachments[i].id === flBodyfile.id || _this14.attachments[i].originalName.indexOf(originalName + '.pdf') === 0) {
58178
+ _this14.attachments.splice(i--, 1);
58058
58179
  }
58059
58180
  }
58060
- _this12.btnViewHistoryFilesClick(_this12.flBodyfile);
58181
+ _this14.btnViewHistoryFilesClick(_this14.flBodyfile);
58061
58182
  if (flBodyfile.fileStatus !== 8) {
58062
- if (typeof _this12.vo.flBodyFilename !== 'undefined') _this12.vo.flBodyFilename = null;
58063
- if (typeof _this12.vo.signedFileName !== 'undefined') _this12.vo.signedFileName = null; //盖章文件名
58064
- if (typeof _this12.vo.sealFileName !== 'undefined') _this12.vo.sealFileName = null; //签章平台文件名
58183
+ if (typeof _this14.vo.flBodyFilename !== 'undefined') _this14.vo.flBodyFilename = null;
58184
+ if (typeof _this14.vo.signedFileName !== 'undefined') _this14.vo.signedFileName = null; //盖章文件名
58185
+ if (typeof _this14.vo.sealFileName !== 'undefined') _this14.vo.sealFileName = null; //签章平台文件名
58065
58186
 
58066
- _this12.$vnode.context.commandBar.forEach(function (btn) {
58187
+ _this14.$vnode.context.commandBar.forEach(function (btn) {
58067
58188
  if (btn.btnCode === 'btnOpenWordClick') {
58068
58189
  btn.btnShow = true;
58069
58190
  }
58070
58191
  });
58071
58192
  if (!res.body.restoreHistoryFile) {
58072
- _this12.flBodyfile = {
58193
+ _this14.flBodyfile = {
58073
58194
  file: {
58074
58195
  name: ''
58075
58196
  }
58076
58197
  };
58077
- _this12.$vnode.context.bodyfile = _this12.flBodyfile;
58078
- _this12.$vnode.context.wfInstance.haveDoc = 0;
58198
+ _this14.$vnode.context.bodyfile = _this14.flBodyfile;
58199
+ _this14.$vnode.context.wfInstance.haveDoc = 0;
58079
58200
  }
58080
- _this12.$vnode.context.btnSubmitClick('Save');
58201
+ _this14.$vnode.context.btnSubmitClick('Save');
58081
58202
  }
58082
58203
  } else {
58083
- _this12.$dialog.alert({
58204
+ _this14.$dialog.alert({
58084
58205
  message: res.message,
58085
58206
  type: 'error'
58086
58207
  });
@@ -58088,18 +58209,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58088
58209
  });
58089
58210
  case 4:
58090
58211
  case "end":
58091
- return _context4.stop();
58212
+ return _context6.stop();
58092
58213
  }
58093
- }, _callee4);
58214
+ }, _callee6);
58094
58215
  })));
58095
58216
  }
58096
58217
  }
58097
58218
  });
58098
58219
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
58099
58220
  /* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
58100
- // 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/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=37d9b4bc&prod&scoped=true&lang=scss
58101
- var BodyFilevue_type_style_index_0_id_37d9b4bc_prod_scoped_true_lang_scss = __webpack_require__(4054);
58102
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=37d9b4bc&prod&scoped=true&lang=scss
58221
+ // 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/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=a86700cc&prod&scoped=true&lang=scss
58222
+ var BodyFilevue_type_style_index_0_id_a86700cc_prod_scoped_true_lang_scss = __webpack_require__(1598);
58223
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=a86700cc&prod&scoped=true&lang=scss
58103
58224
 
58104
58225
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
58105
58226
 
@@ -58112,11 +58233,11 @@ var BodyFilevue_type_style_index_0_id_37d9b4bc_prod_scoped_true_lang_scss = __we
58112
58233
 
58113
58234
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
58114
58235
  src_BodyFilevue_type_script_lang_js,
58115
- BodyFilevue_type_template_id_37d9b4bc_scoped_true_render,
58116
- BodyFilevue_type_template_id_37d9b4bc_scoped_true_staticRenderFns,
58236
+ BodyFilevue_type_template_id_a86700cc_scoped_true_render,
58237
+ BodyFilevue_type_template_id_a86700cc_scoped_true_staticRenderFns,
58117
58238
  false,
58118
58239
  null,
58119
- "37d9b4bc",
58240
+ "a86700cc",
58120
58241
  null
58121
58242
 
58122
58243
  )
@@ -58817,8 +58938,8 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
58817
58938
  )
58818
58939
 
58819
58940
  /* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
58820
- ;// 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/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=template&id=5be1797c&scoped=true
58821
- var SubmitHandlevue_type_template_id_5be1797c_scoped_true_render = function render() {
58941
+ ;// 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/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=template&id=ac8cafcc&scoped=true
58942
+ var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render = function render() {
58822
58943
  var _vm = this,
58823
58944
  _c = _vm._self._c;
58824
58945
  return _vm.initiated ? _c('div', {
@@ -59430,18 +59551,811 @@ var SubmitHandlevue_type_template_id_5be1797c_scoped_true_render = function rend
59430
59551
  _vm.wfNodeDialogVisible = $event;
59431
59552
  }
59432
59553
  }
59433
- }) : _vm._e()], 2) : _vm._e();
59554
+ }, [_c('WfTaskNode', {
59555
+ attrs: {
59556
+ "task-node": _vm.udmNode,
59557
+ "idea-lables": _vm.wfJsonData.ideaLables
59558
+ }
59559
+ })], 1) : _vm._e()], 2) : _vm._e();
59434
59560
  };
59435
- var SubmitHandlevue_type_template_id_5be1797c_scoped_true_staticRenderFns = [];
59561
+ var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_staticRenderFns = [];
59436
59562
 
59563
+ ;// 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/ecmapp/Wflowform/src/WfTaskNode.vue?vue&type=template&id=59c2fbd4&scoped=true
59564
+ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render() {
59565
+ var _vm = this,
59566
+ _c = _vm._self._c;
59567
+ return _c('div', [_c('van-cell-group', [_c('div', {
59568
+ staticClass: "van-input-field"
59569
+ }, [_c('validation-provider', {
59570
+ staticClass: "cell_item",
59571
+ attrs: {
59572
+ "name": _vm.$tx('ecmapp.wflowform.fields.linkName', '环节名称'),
59573
+ "rules": {
59574
+ required: true
59575
+ }
59576
+ },
59577
+ scopedSlots: _vm._u([{
59578
+ key: "default",
59579
+ fn: function fn(_ref) {
59580
+ var errors = _ref.errors;
59581
+ return [_c('van-field', {
59582
+ directives: [{
59583
+ name: "field-lbl",
59584
+ rawName: "v-field-lbl",
59585
+ value: 'linkName',
59586
+ expression: "'linkName'"
59587
+ }],
59588
+ attrs: {
59589
+ "label": "环节名称",
59590
+ "placeholder": "请输入",
59591
+ "error": errors !== undefined && errors[0] !== undefined || _vm.iserror,
59592
+ "input-align": "right",
59593
+ "maxlength": 20
59594
+ },
59595
+ model: {
59596
+ value: _vm.taskNode.name,
59597
+ callback: function callback($$v) {
59598
+ _vm.$set(_vm.taskNode, "name", $$v);
59599
+ },
59600
+ expression: "taskNode.name"
59601
+ }
59602
+ })];
59603
+ }
59604
+ }])
59605
+ })], 1), _c('div', {
59606
+ staticClass: "van-input-field"
59607
+ }, [_c('validation-provider', {
59608
+ ref: "ValidationProvider",
59609
+ attrs: {
59610
+ "name": _vm.$tx('ecmapp.wflowform.fields.taskType', '任务类型'),
59611
+ "rules": "required"
59612
+ },
59613
+ scopedSlots: _vm._u([{
59614
+ key: "default",
59615
+ fn: function fn(_ref2) {
59616
+ var errors = _ref2.errors;
59617
+ return [_c('van-field', {
59618
+ directives: [{
59619
+ name: "field-lbl",
59620
+ rawName: "v-field-lbl",
59621
+ value: 'taskType',
59622
+ expression: "'taskType'"
59623
+ }],
59624
+ attrs: {
59625
+ "label": "任务类型",
59626
+ "placeholder": "请选择",
59627
+ "input-align": "right",
59628
+ "is-link": !_vm.taskNode.startNode,
59629
+ "readonly": _vm.taskNode.startNode
59630
+ },
59631
+ on: {
59632
+ "click": function click($event) {
59633
+ return _vm.selectItem('任务类型', 'todoMode');
59634
+ }
59635
+ },
59636
+ model: {
59637
+ value: _vm.todoMode,
59638
+ callback: function callback($$v) {
59639
+ _vm.todoMode = $$v;
59640
+ },
59641
+ expression: "todoMode"
59642
+ }
59643
+ })];
59644
+ }
59645
+ }])
59646
+ })], 1), _c('div', {
59647
+ staticClass: "van-input-field"
59648
+ }, [_c('validation-provider', {
59649
+ ref: "ValidationProvider",
59650
+ attrs: {
59651
+ "name": _vm.$tx('ecmapp.wflowform.fields.handleMethod', '处理人选择方式'),
59652
+ "rules": "required"
59653
+ },
59654
+ scopedSlots: _vm._u([{
59655
+ key: "default",
59656
+ fn: function fn(_ref3) {
59657
+ var errors = _ref3.errors;
59658
+ return [_c('van-field', {
59659
+ directives: [{
59660
+ name: "field-lbl",
59661
+ rawName: "v-field-lbl",
59662
+ value: 'handleMethod',
59663
+ expression: "'handleMethod'"
59664
+ }],
59665
+ attrs: {
59666
+ "label": "处理人选择方式",
59667
+ "placeholder": "请选择",
59668
+ "input-align": "right",
59669
+ "is-link": !_vm.taskNode.startNode,
59670
+ "readonly": _vm.taskNode.startNode
59671
+ },
59672
+ on: {
59673
+ "click": function click($event) {
59674
+ return _vm.selectItem('处理人选择方式', 'selectType');
59675
+ }
59676
+ },
59677
+ model: {
59678
+ value: _vm.selectType,
59679
+ callback: function callback($$v) {
59680
+ _vm.selectType = $$v;
59681
+ },
59682
+ expression: "selectType"
59683
+ }
59684
+ })];
59685
+ }
59686
+ }])
59687
+ })], 1), _c('div', {
59688
+ directives: [{
59689
+ name: "show",
59690
+ rawName: "v-show",
59691
+ value: _vm.taskNode.selectType == 0 || _vm.taskNode.selectType == 9,
59692
+ expression: "taskNode.selectType == 0 || taskNode.selectType == 9"
59693
+ }],
59694
+ staticClass: "van-input-field"
59695
+ }, [_c('validation-provider', {
59696
+ ref: "ValidationProvider",
59697
+ attrs: {
59698
+ "name": '组织机构级别',
59699
+ "rules": "required"
59700
+ },
59701
+ scopedSlots: _vm._u([{
59702
+ key: "default",
59703
+ fn: function fn(_ref4) {
59704
+ var errors = _ref4.errors;
59705
+ return [_c('van-field', {
59706
+ attrs: {
59707
+ "label": "组织机构级别",
59708
+ "placeholder": "请选择",
59709
+ "input-align": "right",
59710
+ "is-link": !_vm.taskNode.startNode,
59711
+ "readonly": _vm.taskNode.startNode
59712
+ },
59713
+ on: {
59714
+ "click": function click($event) {
59715
+ return _vm.selectItem('组织机构级别', 'orgLevel');
59716
+ }
59717
+ },
59718
+ model: {
59719
+ value: _vm.orgLevel,
59720
+ callback: function callback($$v) {
59721
+ _vm.orgLevel = $$v;
59722
+ },
59723
+ expression: "orgLevel"
59724
+ }
59725
+ })];
59726
+ }
59727
+ }])
59728
+ })], 1), _c('div', {
59729
+ directives: [{
59730
+ name: "show",
59731
+ rawName: "v-show",
59732
+ value: (_vm.taskNode.selectType == 0 || _vm.taskNode.selectType == 9) && _vm.taskNode.orgLevel != 1 && _vm.taskNode.orgLevel != 5,
59733
+ expression: "(taskNode.selectType == 0 || taskNode.selectType == 9) && taskNode.orgLevel != 1 && taskNode.orgLevel != 5"
59734
+ }],
59735
+ staticClass: "van-input-field"
59736
+ }, [_c('validation-provider', {
59737
+ ref: "ValidationProvider",
59738
+ attrs: {
59739
+ "name": '机构筛选方式',
59740
+ "rules": "required"
59741
+ },
59742
+ scopedSlots: _vm._u([{
59743
+ key: "default",
59744
+ fn: function fn(_ref5) {
59745
+ var errors = _ref5.errors;
59746
+ return [_c('van-field', {
59747
+ attrs: {
59748
+ "label": "机构筛选方式",
59749
+ "placeholder": "请选择",
59750
+ "input-align": "right",
59751
+ "is-link": !_vm.taskNode.startNode,
59752
+ "readonly": _vm.taskNode.startNode
59753
+ },
59754
+ on: {
59755
+ "click": function click($event) {
59756
+ return _vm.selectItem('机构筛选方式', 'orgStaffFilterType');
59757
+ }
59758
+ },
59759
+ model: {
59760
+ value: _vm.orgStaffFilterType,
59761
+ callback: function callback($$v) {
59762
+ _vm.orgStaffFilterType = $$v;
59763
+ },
59764
+ expression: "orgStaffFilterType"
59765
+ }
59766
+ })];
59767
+ }
59768
+ }])
59769
+ })], 1), _c('div', {
59770
+ staticClass: "van-input-field"
59771
+ }, [_vm.taskNode.selectType == 0 ? _c('van-field', {
59772
+ directives: [{
59773
+ name: "field-lbl",
59774
+ rawName: "v-field-lbl",
59775
+ value: 'zdPersonal',
59776
+ expression: "'zdPersonal'"
59777
+ }],
59778
+ attrs: {
59779
+ "label": "处理人指定人员",
59780
+ "placeholder": "请选择",
59781
+ "input-align": "right",
59782
+ "is-link": !_vm.taskNode.startNode,
59783
+ "readonly": _vm.taskNode.startNode
59784
+ },
59785
+ on: {
59786
+ "click": function click($event) {
59787
+ return _vm.openSelectDialog('staff', 'userNames');
59788
+ }
59789
+ },
59790
+ model: {
59791
+ value: _vm.taskNode.userNames,
59792
+ callback: function callback($$v) {
59793
+ _vm.$set(_vm.taskNode, "userNames", $$v);
59794
+ },
59795
+ expression: "taskNode.userNames"
59796
+ }
59797
+ }) : _vm._e(), _vm.taskNode.selectType == 1 ? _c('van-field', {
59798
+ directives: [{
59799
+ name: "field-lbl",
59800
+ rawName: "v-field-lbl",
59801
+ value: 'zdDept',
59802
+ expression: "'zdDept'"
59803
+ }],
59804
+ attrs: {
59805
+ "label": "处理人指定部门",
59806
+ "placeholder": "请选择",
59807
+ "input-align": "right",
59808
+ "is-link": !_vm.taskNode.startNode,
59809
+ "readonly": _vm.taskNode.startNode
59810
+ },
59811
+ on: {
59812
+ "click": function click($event) {
59813
+ return _vm.openSelectDialog('suborg', 'orgNames');
59814
+ }
59815
+ },
59816
+ model: {
59817
+ value: _vm.taskNode.orgNames,
59818
+ callback: function callback($$v) {
59819
+ _vm.$set(_vm.taskNode, "orgNames", $$v);
59820
+ },
59821
+ expression: "taskNode.orgNames"
59822
+ }
59823
+ }) : _vm._e(), _vm.taskNode.selectType == 2 ? _c('van-field', {
59824
+ directives: [{
59825
+ name: "field-lbl",
59826
+ rawName: "v-field-lbl",
59827
+ value: 'zdGroup',
59828
+ expression: "'zdGroup'"
59829
+ }],
59830
+ attrs: {
59831
+ "label": "处理人指定群组",
59832
+ "placeholder": "请选择",
59833
+ "input-align": "right",
59834
+ "is-link": !_vm.taskNode.startNode,
59835
+ "readonly": _vm.taskNode.startNode
59836
+ },
59837
+ on: {
59838
+ "click": function click($event) {
59839
+ return _vm.openSelectDialog('workgroup', 'workgroupNames');
59840
+ }
59841
+ },
59842
+ model: {
59843
+ value: _vm.taskNode.workgroupNames,
59844
+ callback: function callback($$v) {
59845
+ _vm.$set(_vm.taskNode, "workgroupNames", $$v);
59846
+ },
59847
+ expression: "taskNode.workgroupNames"
59848
+ }
59849
+ }) : _vm._e(), _vm.taskNode.selectType == 3 ? _c('van-field', {
59850
+ directives: [{
59851
+ name: "field-lbl",
59852
+ rawName: "v-field-lbl",
59853
+ value: 'zdJobPostion',
59854
+ expression: "'zdJobPostion'"
59855
+ }],
59856
+ attrs: {
59857
+ "label": "处理人指定岗位",
59858
+ "placeholder": "请选择",
59859
+ "input-align": "right",
59860
+ "is-link": !_vm.taskNode.startNode,
59861
+ "readonly": _vm.taskNode.startNode
59862
+ },
59863
+ on: {
59864
+ "click": function click($event) {
59865
+ return _vm.openSelectDialog('jobPosition', 'jopPositionNames');
59866
+ }
59867
+ },
59868
+ model: {
59869
+ value: _vm.taskNode.jopPositionNames,
59870
+ callback: function callback($$v) {
59871
+ _vm.$set(_vm.taskNode, "jopPositionNames", $$v);
59872
+ },
59873
+ expression: "taskNode.jopPositionNames"
59874
+ }
59875
+ }) : _vm._e()], 1), _c('div', {
59876
+ staticClass: "van-input-field"
59877
+ }, [_c('van-cell', {
59878
+ directives: [{
59879
+ name: "field-lbl",
59880
+ rawName: "v-field-lbl",
59881
+ value: 'editPermissions',
59882
+ expression: "'editPermissions'"
59883
+ }],
59884
+ attrs: {
59885
+ "center": "",
59886
+ "title": "编辑权限"
59887
+ },
59888
+ scopedSlots: _vm._u([{
59889
+ key: "right-icon",
59890
+ fn: function fn() {
59891
+ return [_c('van-switch', {
59892
+ attrs: {
59893
+ "active-value": 1,
59894
+ "inactive-value": 0,
59895
+ "size": "24"
59896
+ },
59897
+ model: {
59898
+ value: _vm.taskNode.canEdit,
59899
+ callback: function callback($$v) {
59900
+ _vm.$set(_vm.taskNode, "canEdit", $$v);
59901
+ },
59902
+ expression: "taskNode.canEdit"
59903
+ }
59904
+ })];
59905
+ },
59906
+ proxy: true
59907
+ }])
59908
+ })], 1), _c('div', {
59909
+ staticClass: "van-input-field"
59910
+ }, [_c('validation-provider', {
59911
+ ref: "ValidationProvider",
59912
+ attrs: {
59913
+ "name": _vm.$tx('ecmapp.wflowform.fields.opinionLabel', '处理意见标签'),
59914
+ "rules": "required"
59915
+ },
59916
+ scopedSlots: _vm._u([{
59917
+ key: "default",
59918
+ fn: function fn(_ref6) {
59919
+ var errors = _ref6.errors;
59920
+ return [_c('van-field', {
59921
+ directives: [{
59922
+ name: "field-lbl",
59923
+ rawName: "v-field-lbl",
59924
+ value: 'opinionLabel',
59925
+ expression: "'opinionLabel'"
59926
+ }],
59927
+ attrs: {
59928
+ "label": "处理意见标签",
59929
+ "placeholder": "请选择",
59930
+ "input-align": "right",
59931
+ "is-link": true,
59932
+ "readonly": _vm.taskNode.startNode
59933
+ },
59934
+ on: {
59935
+ "click": function click($event) {
59936
+ return _vm.selectItem('处理意见标签', 'ideaLable');
59937
+ }
59938
+ },
59939
+ model: {
59940
+ value: _vm.taskNode.ideaLable,
59941
+ callback: function callback($$v) {
59942
+ _vm.$set(_vm.taskNode, "ideaLable", $$v);
59943
+ },
59944
+ expression: "taskNode.ideaLable"
59945
+ }
59946
+ })];
59947
+ }
59948
+ }])
59949
+ })], 1)]), _c('FooterButtonGroup', [_c('van-button', {
59950
+ directives: [{
59951
+ name: "pageBtn-lbl",
59952
+ rawName: "v-pageBtn-lbl",
59953
+ value: 'cancel',
59954
+ expression: "'cancel'"
59955
+ }],
59956
+ attrs: {
59957
+ "square": ""
59958
+ },
59959
+ on: {
59960
+ "click": _vm.closeDialog
59961
+ }
59962
+ }, [_vm._v("取 消")]), _c('van-button', {
59963
+ directives: [{
59964
+ name: "pageBtn-lbl",
59965
+ rawName: "v-pageBtn-lbl",
59966
+ value: 'sure',
59967
+ expression: "'sure'"
59968
+ }],
59969
+ attrs: {
59970
+ "type": "info",
59971
+ "square": ""
59972
+ },
59973
+ on: {
59974
+ "click": _vm.submitForm
59975
+ }
59976
+ }, [_vm._v("确 定")])], 1)], 1);
59977
+ };
59978
+ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
59979
+
59980
+ ;// 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/ecmapp/Wflowform/src/WfTaskNode.vue?vue&type=script&lang=js
59981
+ /* harmony default export */ var WfTaskNodevue_type_script_lang_js = ({
59982
+ name: 'WfTaskNode',
59983
+ components: {},
59984
+ props: {
59985
+ taskNode: {
59986
+ type: Object,
59987
+ default: function _default() {
59988
+ return {};
59989
+ }
59990
+ },
59991
+ ideaLables: {
59992
+ type: String,
59993
+ default: ''
59994
+ }
59995
+ },
59996
+ data: function data() {
59997
+ return {
59998
+ i18npkg: 'ecmapp',
59999
+ moduleCode: 'wflowform',
60000
+ forceUpdate: false,
60001
+ dialogFormVisible: true,
60002
+ todoModeOptions: [{
60003
+ value: 0,
60004
+ text: this.$tx('ecmapp.wflowform.singlePerson', '单人')
60005
+ }, {
60006
+ value: 1,
60007
+ text: this.$tx('ecmapp.wflowform.multiplayerParallel', '多人并行')
60008
+ }, {
60009
+ value: 2,
60010
+ text: this.$tx('ecmapp.wflowform.multiPersonSignature', '多人会签')
60011
+ }, {
60012
+ value: 3,
60013
+ text: this.$tx('ecmapp.wflowform.multiplayerSerial', '多人串行')
60014
+ }, {
60015
+ value: 4,
60016
+ text: this.$tx('ecmapp.wflowform.multiplayerCompetition', '多人竞争')
60017
+ }, {
60018
+ value: 5,
60019
+ text: this.$tx('ecmapp.wflowform.multiPersonReading', '多人阅文')
60020
+ }],
60021
+ selectTypeOptions: [{
60022
+ value: 0,
60023
+ text: this.$tx('ecmapp.Wflowform.byDepartment', '按组织机构')
60024
+ }, {
60025
+ value: 7,
60026
+ text: this.$tx('ecmapp.Wflowform.byJobPosition', '按工作岗位')
60027
+ }, {
60028
+ value: 1,
60029
+ text: this.$tx('ecmapp.Wflowform.byWorkgroup', '按工作群组')
60030
+ }, {
60031
+ value: 9,
60032
+ text: this.$tx('ecmapp.Wflowform.byJobRank', '按处理人职级')
60033
+ }, {
60034
+ value: 2,
60035
+ text: this.$tx('ecmapp.Wflowform.byHistoryTNUser', '历史节点处理人')
60036
+ }, {
60037
+ value: 3,
60038
+ text: this.$tx('ecmapp.Wflowform.designatedPersonnel', '直接指定人员')
60039
+ }],
60040
+ orgLevelOptions: [{
60041
+ value: 1,
60042
+ text: '一级(公司级)'
60043
+ }, {
60044
+ value: 2,
60045
+ text: '二级(部门级)'
60046
+ }, {
60047
+ value: 3,
60048
+ text: '三级(科室级)'
60049
+ }, {
60050
+ value: 4,
60051
+ text: '四级(班组级)'
60052
+ }],
60053
+ todoMode: '单人',
60054
+ selectType: '直接指定人员',
60055
+ orgLevel: '',
60056
+ orgStaffFilterType: '',
60057
+ curNodeName: ''
60058
+ };
60059
+ },
60060
+ computed: {
60061
+ ideaLableOptions: function ideaLableOptions() {
60062
+ var ideaLablelist = [];
60063
+ this.ideaLables.split(',').forEach(function (lable) {
60064
+ ideaLablelist.push({
60065
+ value: lable,
60066
+ text: lable
60067
+ });
60068
+ });
60069
+ ideaLablelist.push({
60070
+ value: '无',
60071
+ text: '无'
60072
+ });
60073
+ return ideaLablelist;
60074
+ },
60075
+ orgStaffFilterTypeOptions: function orgStaffFilterTypeOptions() {
60076
+ var orgStaffFilterType = [{
60077
+ value: 0,
60078
+ text: '不筛选'
60079
+ }];
60080
+ if (this.taskNode.orgLevel === 2) {
60081
+ orgStaffFilterType.push({
60082
+ value: 1,
60083
+ text: '指定部门'
60084
+ });
60085
+ orgStaffFilterType.push({
60086
+ value: 2,
60087
+ text: '当前用户所在部门'
60088
+ });
60089
+ orgStaffFilterType.push({
60090
+ value: 3,
60091
+ text: '拟稿用户所在部门'
60092
+ });
60093
+ } else if (this.taskNode.orgLevel === 3) {
60094
+ orgStaffFilterType[0].text = '部门内不筛选';
60095
+ orgStaffFilterType.push({
60096
+ value: 5,
60097
+ text: '所有不筛选'
60098
+ });
60099
+ orgStaffFilterType.push({
60100
+ value: 1,
60101
+ text: '指定科室'
60102
+ });
60103
+ orgStaffFilterType.push({
60104
+ value: 2,
60105
+ text: '当前用户所在科室'
60106
+ });
60107
+ orgStaffFilterType.push({
60108
+ value: 3,
60109
+ text: '拟稿用户所在科室'
60110
+ });
60111
+ } else if (this.taskNode.orgLevel === 4) {
60112
+ orgStaffFilterType[0].text = '科室内不筛选';
60113
+ orgStaffFilterType.push({
60114
+ value: 1,
60115
+ text: '指定班组'
60116
+ });
60117
+ orgStaffFilterType.push({
60118
+ value: 2,
60119
+ text: '当前用户所在班组'
60120
+ });
60121
+ orgStaffFilterType.push({
60122
+ value: 3,
60123
+ text: '拟稿用户所在班组'
60124
+ });
60125
+ }
60126
+ return orgStaffFilterType;
60127
+ }
60128
+ },
60129
+ watch: {
60130
+ taskNode: {
60131
+ handler: function handler(newValue, oldValue) {
60132
+ var _this = this;
60133
+ if (this.taskNode.selectType !== undefined) {
60134
+ this.selectTypeOptions.forEach(function (item) {
60135
+ if (item.value === _this.taskNode.selectType) {
60136
+ _this.selectType = item.text;
60137
+ }
60138
+ });
60139
+ }
60140
+ if (this.taskNode.todoMode !== undefined) {
60141
+ this.todoMode = this.todoModeOptions[this.taskNode.todoMode].text;
60142
+ }
60143
+ if (this.taskNode.orgLevel !== undefined) {
60144
+ this.orgLevel = this.orgLevelOptions[this.taskNode.orgLevel - 1].text;
60145
+ }
60146
+ if (this.taskNode.orgStaffFilterType !== undefined) {
60147
+ this.orgStaffFilterTypeOptions.forEach(function (item) {
60148
+ if (item.value === _this.taskNode.orgStaffFilterType) {
60149
+ _this.orgStaffFilterType = item.text;
60150
+ }
60151
+ });
60152
+ }
60153
+ },
60154
+ deep: true,
60155
+ immediate: true
60156
+ }
60157
+ },
60158
+ created: function created() {
60159
+ if (this.taskNode.selectType === undefined) {
60160
+ this.taskNode.selectType = 0;
60161
+ }
60162
+ if (this.taskNode.status === 1) {
60163
+ this.curNodeName = this.taskNode.name;
60164
+ }
60165
+ },
60166
+ beforeDestroy: function beforeDestroy() {},
60167
+ mounted: function mounted() {
60168
+ if (this.taskNode.startNode) {
60169
+ //开始节点,删除“历史节点处理人”选项
60170
+ this.selectTypeOptions.splice(4, 1);
60171
+ }
60172
+ },
60173
+ methods: {
60174
+ selectItem: function selectItem(title, field) {
60175
+ var _this2 = this;
60176
+ if (this.taskNode.startNode) return;
60177
+ var dialogTitle = this.$tx('common.plChoose', '请选择') + title;
60178
+ this.$bus.emit('openListitemDialog', dialogTitle, this[field + 'Options'], function (res) {
60179
+ if (res.code === 'success') {
60180
+ _this2.$set(_this2.taskNode, field, res.value.value);
60181
+ _this2.$forceUpdate();
60182
+ }
60183
+ }, this.taskNode[field], false, 'bottomDialog');
60184
+ },
60185
+ openSelectDialog: function openSelectDialog(dialogType, field) {
60186
+ var _this3 = this;
60187
+ if (this.taskNode.startNode) return;
60188
+ var condition = {
60189
+ selectDialog: dialogType,
60190
+ multiple: true,
60191
+ 'org-level': '2'
60192
+ };
60193
+ var dialogTitle = this.$tx('common.plChoose', '请选择');
60194
+ this.$bus.emit('openTreeDialog', dialogTitle, condition, null, function (res) {
60195
+ if (res.code === 'success') {
60196
+ var callbackFunc = 'onSelect' + dialogType.replace(dialogType[0], dialogType[0].toUpperCase()) + 'Completed';
60197
+ _this3[callbackFunc](res.value, {
60198
+ name: _this3.model
60199
+ });
60200
+ }
60201
+ }, this.taskNode[field]);
60202
+ },
60203
+ // 选择人员
60204
+ onSelectStaffCompleted: function onSelectStaffCompleted(selectedNodes, attr) {
60205
+ var selected = '';
60206
+ selectedNodes.forEach(function (node) {
60207
+ if (selected !== '') selected += '、';
60208
+ selected += node.name;
60209
+ });
60210
+ this.taskNode.users = selectedNodes;
60211
+ this.$set(this.taskNode, 'userNames', selected);
60212
+ this.$set(this.taskNode, 'orgNames', '');
60213
+ this.$set(this.taskNode, 'workgroupNames', '');
60214
+ this.$set(this.taskNode, 'jobPositionNames', '');
60215
+ },
60216
+ // 选择部门、科室、班组
60217
+ onSelectSuborgCompleted: function onSelectSuborgCompleted(selectedNodes, attr) {
60218
+ selectedNodes = JSON.parse(JSON.stringify(selectedNodes));
60219
+ var selected = '';
60220
+ selectedNodes.forEach(function (node) {
60221
+ if (selected !== '') selected += '、';
60222
+ selected += node.name;
60223
+ node.orgId = node.id;
60224
+ delete node.id;
60225
+ });
60226
+ this.taskNode.users = selectedNodes;
60227
+ this.$set(this.taskNode, 'userNames', '');
60228
+ this.$set(this.taskNode, 'orgNames', selected);
60229
+ this.$set(this.taskNode, 'workgroupNames', '');
60230
+ this.$set(this.taskNode, 'jobPositionNames', '');
60231
+ },
60232
+ // 选择工作群组
60233
+ onSelectWorkgroupCompleted: function onSelectWorkgroupCompleted(selectedNodes, attr) {
60234
+ selectedNodes = JSON.parse(JSON.stringify(selectedNodes));
60235
+ var selected = '';
60236
+ selectedNodes.forEach(function (node) {
60237
+ if (selected !== '') selected += '、';
60238
+ selected += node.name;
60239
+ node.workgroupId = node.id;
60240
+ delete node.id;
60241
+ });
60242
+ this.taskNode.users = selectedNodes;
60243
+ this.$set(this.taskNode, 'userNames', '');
60244
+ this.$set(this.taskNode, 'orgNames', '');
60245
+ this.$set(this.taskNode, 'workgroupNames', selected);
60246
+ this.$set(this.taskNode, 'jobPositionNames', '');
60247
+ },
60248
+ // 选择工作岗位
60249
+ onSelectJobPositionCompleted: function onSelectJobPositionCompleted(selectedNodes, attr) {
60250
+ selectedNodes = JSON.parse(JSON.stringify(selectedNodes));
60251
+ var selected = '';
60252
+ selectedNodes.forEach(function (node) {
60253
+ if (selected !== '') selected += '、';
60254
+ selected += node.name;
60255
+ node.jobPositionId = node.id;
60256
+ delete node.id;
60257
+ });
60258
+ this.taskNode.users = selectedNodes;
60259
+ this.$set(this.taskNode, 'userNames', '');
60260
+ this.$set(this.taskNode, 'orgNames', '');
60261
+ this.$set(this.taskNode, 'workgroupNames', '');
60262
+ this.$set(this.taskNode, 'jobPositionNames', selected);
60263
+ },
60264
+ submitForm: function submitForm() {
60265
+ var _this4 = this;
60266
+ this.formValidate(function () {
60267
+ var udmNode = JSON.parse(JSON.stringify(_this4.taskNode));
60268
+ udmNode.tmLmtType = '9';
60269
+ udmNode.type = 1;
60270
+ if (udmNode.todoMode === 5) {
60271
+ udmNode.type = 3;
60272
+ }
60273
+ var wfdNodeList = _this4.$vnode.context.wfInstance.passenger.wfdNodeList;
60274
+ if (wfdNodeList) {
60275
+ wfdNodeList.forEach(function (node) {
60276
+ if (node.processType === udmNode.todoMode && node.nodeType === udmNode.type) {
60277
+ udmNode.id = node.id;
60278
+ }
60279
+ });
60280
+ }
60281
+ if (udmNode.status !== 1) {
60282
+ udmNode.status = 1;
60283
+ udmNode.uuid = _this4.uuid();
60284
+ _this4.$vnode.context.wfInstance.udmNodes.push(udmNode);
60285
+ } else {
60286
+ _this4.$vnode.context.wfInstance.udmNodes.forEach(function (wfnode, index) {
60287
+ if (wfnode.uuid === udmNode.uuid) {
60288
+ _this4.$vnode.context.wfInstance.udmNodes.splice(index, 1, udmNode);
60289
+ if (_this4.$vnode.context.curTN.tnNodeName === _this4.curNodeName) {
60290
+ _this4.$vnode.context.curTN.tnNodeName = udmNode.name;
60291
+ _this4.$vnode.context.curTN.tnCanEdit = udmNode.canEdit;
60292
+ if (udmNode.todoMode === 5) {
60293
+ _this4.$vnode.context.curTN.tnTaskType = 3;
60294
+ } else {
60295
+ _this4.$vnode.context.curTN.tnTaskType = 1;
60296
+ }
60297
+ _this4.$vnode.context.curTN.tnToDoMode = udmNode.todoMode;
60298
+ if (udmNode.ideaLable === '无') {
60299
+ _this4.$vnode.context.curTN.tnIdeaLabelID = '';
60300
+ _this4.$vnode.context.curTN.tnIdeaLabelName = '';
60301
+ } else {
60302
+ _this4.$vnode.context.curTN.tnIdeaLabelID = 'udm_' + udmNode.ideaLable;
60303
+ _this4.$vnode.context.curTN.tnIdeaLabelName = udmNode.ideaLable;
60304
+ _this4.$vnode.context.curTN.tnIdeaIsMust = 1;
60305
+ }
60306
+ }
60307
+ }
60308
+ });
60309
+ }
60310
+ _this4.closeDialog();
60311
+ });
60312
+ },
60313
+ closeDialog: function closeDialog() {
60314
+ this.$vnode.context.wfNodeDialogVisible = false;
60315
+ },
60316
+ uuid: function uuid() {
60317
+ var r = [];
60318
+ var e = '0123456789abcdef';
60319
+ for (var t = 0; t < 36; t++) {
60320
+ r[t] = e.substr(Math.floor(16 * Math.random()), 1);
60321
+ }
60322
+ r[14] = '4';
60323
+ r[19] = e.substr(3 & r[19] | 8, 1);
60324
+ r[8] = r[13] = r[18] = r[23] = '';
60325
+ return r.join('');
60326
+ }
60327
+ }
60328
+ });
60329
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfTaskNode.vue?vue&type=script&lang=js
60330
+ /* harmony default export */ var src_WfTaskNodevue_type_script_lang_js = (WfTaskNodevue_type_script_lang_js);
60331
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfTaskNode.vue
60332
+
60333
+
60334
+
60335
+
60336
+
60337
+ /* normalize component */
60338
+ ;
60339
+ var WfTaskNode_component = (0,componentNormalizer/* default */.A)(
60340
+ src_WfTaskNodevue_type_script_lang_js,
60341
+ WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render,
60342
+ WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns,
60343
+ false,
60344
+ null,
60345
+ "59c2fbd4",
60346
+ null
60347
+
60348
+ )
60349
+
60350
+ /* harmony default export */ var WfTaskNode = (WfTaskNode_component.exports);
59437
60351
  ;// 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/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
59438
60352
  function SubmitHandlevue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return SubmitHandlevue_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; }, SubmitHandlevue_type_script_lang_js_typeof(o); }
59439
60353
  var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
59440
- // import WfTaskNode from './WfTaskNode.vue'
60354
+
59441
60355
  /* harmony default export */ var SubmitHandlevue_type_script_lang_js = ({
59442
60356
  name: 'SubmitHandle',
59443
60357
  components: {
59444
- // WfTaskNode
60358
+ WfTaskNode: WfTaskNode
59445
60359
  },
59446
60360
  props: {
59447
60361
  curTN: {
@@ -59648,8 +60562,6 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
59648
60562
  },
59649
60563
  submitHandle: {
59650
60564
  handler: function handler(val, oldVal) {
59651
- console.log('val', val);
59652
- console.log('oldVal', oldVal);
59653
60565
  this.submitHandleValChange();
59654
60566
  this.viewCommentsNum = this.defaultNumber;
59655
60567
  this.selectChangeList = [];
@@ -59668,7 +60580,6 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
59668
60580
  },
59669
60581
  mounted: function mounted() {
59670
60582
  var _this3 = this;
59671
- this.isUdmNodes = this.wfInstance.module.indexOf('udmjysp_') === 0;
59672
60583
  this.msgTypeOptions = this.wfInstance.passenger.msgTypeOptions || null;
59673
60584
  this.initSubmitHandle();
59674
60585
  this.curUserIdea = this.submitHandle.curUserIdea;
@@ -59775,6 +60686,7 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
59775
60686
  var _this5 = this;
59776
60687
  var _this = this;
59777
60688
  _this.showTimeLimit = false;
60689
+ _this.isUdmNodes = _this.wfInstance.passenger.isUdmNodes;
59778
60690
  if (this.wfJsonData.routes && this.wfJsonData.routes.length > 0) {
59779
60691
  new Promise(function (resolve, reject) {
59780
60692
  // 响应路径单击事件
@@ -60296,9 +61208,9 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
60296
61208
  });
60297
61209
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
60298
61210
  /* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
60299
- // 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/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=5be1797c&prod&scoped=true&lang=scss
60300
- var SubmitHandlevue_type_style_index_0_id_5be1797c_prod_scoped_true_lang_scss = __webpack_require__(6497);
60301
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=5be1797c&prod&scoped=true&lang=scss
61211
+ // 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/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=ac8cafcc&prod&scoped=true&lang=scss
61212
+ var SubmitHandlevue_type_style_index_0_id_ac8cafcc_prod_scoped_true_lang_scss = __webpack_require__(8562);
61213
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=ac8cafcc&prod&scoped=true&lang=scss
60302
61214
 
60303
61215
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue
60304
61216
 
@@ -60311,11 +61223,11 @@ var SubmitHandlevue_type_style_index_0_id_5be1797c_prod_scoped_true_lang_scss =
60311
61223
 
60312
61224
  var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
60313
61225
  src_SubmitHandlevue_type_script_lang_js,
60314
- SubmitHandlevue_type_template_id_5be1797c_scoped_true_render,
60315
- SubmitHandlevue_type_template_id_5be1797c_scoped_true_staticRenderFns,
61226
+ SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render,
61227
+ SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_staticRenderFns,
60316
61228
  false,
60317
61229
  null,
60318
- "5be1797c",
61230
+ "ac8cafcc",
60319
61231
  null
60320
61232
 
60321
61233
  )