ecinc-cloud-mappaio 9.6.0 → 9.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -251,6 +251,7 @@ module.exports = {
251
251
  /* harmony import */ var _es_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_es_js__WEBPACK_IMPORTED_MODULE_4__);
252
252
  /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3921);
253
253
  /* harmony import */ var _ja_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_ja_js__WEBPACK_IMPORTED_MODULE_5__);
254
+ function _readOnlyError(r) { throw new TypeError('"' + r + '" is read-only'); }
254
255
  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); }
255
256
  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; }
256
257
  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; }
@@ -495,7 +496,10 @@ function getPageTitle(itemName, i18nCode, href, $scope) {
495
496
  }
496
497
  function getLanguage() {
497
498
  var chooseLanguage = js_cookie__WEBPACK_IMPORTED_MODULE_0___default().get('language');
498
- if (chooseLanguage) return chooseLanguage;
499
+ if (chooseLanguage) {
500
+ if (chooseLanguage == 'zh-CN') 'zhCN', _readOnlyError("chooseLanguage");
501
+ return chooseLanguage;
502
+ }
499
503
 
500
504
  // if has not choose language
501
505
  var language = (navigator.language || navigator.browserLanguage || '').toLowerCase();
@@ -6203,10 +6207,12 @@ module.exports = {
6203
6207
  multiplayerSerial: 'Multiple People in Series',
6204
6208
  multiplayerCompetition: 'Multiple People in Competition',
6205
6209
  multiPersonReading: 'Multiple People Reading',
6206
- designatedPersonnel: 'Designated Personnel',
6207
- designatedDepartment: 'Designated Department',
6208
- specifyGroup: 'Designate Group',
6209
- designatedPosition: 'Designated Position',
6210
+ designatedPersonnel: 'Designated personnel',
6211
+ byDepartment: 'By Department',
6212
+ byWorkgroup: 'By Workgroup',
6213
+ byJobPosition: 'By job position',
6214
+ byJobRank: 'By job rank',
6215
+ byHistoryTNUser: 'By history user',
6210
6216
  textTip: 'Confirm',
6211
6217
  writReviewComments: 'Please fill in review comments',
6212
6218
  noWritReview: 'Your reading record does not exist; you cannot fill in review comments.'
@@ -6432,10 +6438,6 @@ module.exports = {
6432
6438
  multiplayerSerial: '多人串行',
6433
6439
  multiplayerCompetition: '多人竞争',
6434
6440
  multiPersonReading: '多人阅文',
6435
- designatedPersonnel: '指定人员',
6436
- designatedDepartment: '指定部门',
6437
- specifyGroup: '指定群组',
6438
- designatedPosition: '指定岗位',
6439
6441
  textTip: '确定',
6440
6442
  writReviewComments: '请填写批阅意见',
6441
6443
  noWritReview: '您的阅文记录不存在,不能填写批阅意见'
@@ -6540,7 +6542,7 @@ if ($defineProperty) {
6540
6542
 
6541
6543
  /***/ }),
6542
6544
 
6543
- /***/ 8846:
6545
+ /***/ 5669:
6544
6546
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6545
6547
 
6546
6548
  "use strict";
@@ -6987,7 +6989,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-1789b27e] .popup-body{backgrou
6987
6989
 
6988
6990
  /***/ }),
6989
6991
 
6990
- /***/ 8551:
6992
+ /***/ 1750:
6991
6993
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6992
6994
 
6993
6995
  "use strict";
@@ -7001,14 +7003,14 @@ __webpack_require__.r(__webpack_exports__);
7001
7003
 
7002
7004
  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()));
7003
7005
  // Module
7004
- ___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}", ""]);
7006
+ ___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}", ""]);
7005
7007
  // Exports
7006
7008
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7007
7009
 
7008
7010
 
7009
7011
  /***/ }),
7010
7012
 
7011
- /***/ 5387:
7013
+ /***/ 91:
7012
7014
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7013
7015
 
7014
7016
  "use strict";
@@ -7022,7 +7024,7 @@ __webpack_require__.r(__webpack_exports__);
7022
7024
 
7023
7025
  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()));
7024
7026
  // Module
7025
- ___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}", ""]);
7027
+ ___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}", ""]);
7026
7028
  // Exports
7027
7029
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7028
7030
 
@@ -7218,7 +7220,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[d
7218
7220
 
7219
7221
  /***/ }),
7220
7222
 
7221
- /***/ 5596:
7223
+ /***/ 6305:
7222
7224
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7223
7225
 
7224
7226
  "use strict";
@@ -7232,7 +7234,7 @@ __webpack_require__.r(__webpack_exports__);
7232
7234
 
7233
7235
  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()));
7234
7236
  // Module
7235
- ___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}", ""]);
7237
+ ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-7e1b7fa2]{margin-top:100px;text-align:center}.upload-progress[data-v-7e1b7fa2]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-7e1b7fa2]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-7e1b7fa2]{font-size:70px}.file-svg-icon .svg-icon[data-v-7e1b7fa2]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-7e1b7fa2]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-7e1b7fa2]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-7e1b7fa2]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-7e1b7fa2]{font-size:16px;margin-right:10px}[data-v-7e1b7fa2] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-7e1b7fa2]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-7e1b7fa2]{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-7e1b7fa2],.attachmentContent .attachmentContent_son .icon_right[data-v-7e1b7fa2]{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-7e1b7fa2]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-7e1b7fa2]{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-7e1b7fa2]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-7e1b7fa2] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-7e1b7fa2] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
7236
7238
  // Exports
7237
7239
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7238
7240
 
@@ -7302,7 +7304,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".popub-container[data-v-6850137e]{widt
7302
7304
 
7303
7305
  /***/ }),
7304
7306
 
7305
- /***/ 5083:
7307
+ /***/ 6024:
7306
7308
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7307
7309
 
7308
7310
  "use strict";
@@ -7321,7 +7323,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
7321
7323
  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()));
7322
7324
  var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
7323
7325
  // Module
7324
- ___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%}", ""]);
7326
+ ___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%}", ""]);
7325
7327
  // Exports
7326
7328
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7327
7329
 
@@ -18086,7 +18088,7 @@ module.exports.InvalidTokenError = InvalidTokenError;
18086
18088
 
18087
18089
  /***/ }),
18088
18090
 
18089
- /***/ 9467:
18091
+ /***/ 1848:
18090
18092
  /***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
18091
18093
 
18092
18094
  //! moment.js locale configuration
@@ -24366,8 +24368,8 @@ var map = {
24366
24368
  "./lv.js": 9532,
24367
24369
  "./me": 8076,
24368
24370
  "./me.js": 8076,
24369
- "./mi": 9467,
24370
- "./mi.js": 9467,
24371
+ "./mi": 1848,
24372
+ "./mi.js": 1848,
24371
24373
  "./mk": 306,
24372
24374
  "./mk.js": 306,
24373
24375
  "./ml": 3739,
@@ -31899,19 +31901,19 @@ module.exports = function getSideChannel() {
31899
31901
 
31900
31902
  /***/ }),
31901
31903
 
31902
- /***/ 4475:
31904
+ /***/ 7860:
31903
31905
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
31904
31906
 
31905
31907
  // style-loader: Adds some css to the DOM by adding a <style> tag
31906
31908
 
31907
31909
  // load the styles
31908
- var content = __webpack_require__(8846);
31910
+ var content = __webpack_require__(5669);
31909
31911
  if(content.__esModule) content = content.default;
31910
31912
  if(typeof content === 'string') content = [[module.id, content, '']];
31911
31913
  if(content.locals) module.exports = content.locals;
31912
31914
  // add the styles to the DOM
31913
31915
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
31914
- var update = add("81c4de74", content, true, {"sourceMap":false,"shadowMode":false});
31916
+ var update = add("2d12a1f9", content, true, {"sourceMap":false,"shadowMode":false});
31915
31917
 
31916
31918
  /***/ }),
31917
31919
 
@@ -32235,35 +32237,35 @@ var update = add("42776ad2", content, true, {"sourceMap":false,"shadowMode":fals
32235
32237
 
32236
32238
  /***/ }),
32237
32239
 
32238
- /***/ 2483:
32240
+ /***/ 6506:
32239
32241
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32240
32242
 
32241
32243
  // style-loader: Adds some css to the DOM by adding a <style> tag
32242
32244
 
32243
32245
  // load the styles
32244
- var content = __webpack_require__(8551);
32246
+ var content = __webpack_require__(1750);
32245
32247
  if(content.__esModule) content = content.default;
32246
32248
  if(typeof content === 'string') content = [[module.id, content, '']];
32247
32249
  if(content.locals) module.exports = content.locals;
32248
32250
  // add the styles to the DOM
32249
32251
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32250
- var update = add("3305e290", content, true, {"sourceMap":false,"shadowMode":false});
32252
+ var update = add("d678c786", content, true, {"sourceMap":false,"shadowMode":false});
32251
32253
 
32252
32254
  /***/ }),
32253
32255
 
32254
- /***/ 767:
32256
+ /***/ 1215:
32255
32257
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32256
32258
 
32257
32259
  // style-loader: Adds some css to the DOM by adding a <style> tag
32258
32260
 
32259
32261
  // load the styles
32260
- var content = __webpack_require__(5387);
32262
+ var content = __webpack_require__(91);
32261
32263
  if(content.__esModule) content = content.default;
32262
32264
  if(typeof content === 'string') content = [[module.id, content, '']];
32263
32265
  if(content.locals) module.exports = content.locals;
32264
32266
  // add the styles to the DOM
32265
32267
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32266
- var update = add("5b1433c1", content, true, {"sourceMap":false,"shadowMode":false});
32268
+ var update = add("726d68fe", content, true, {"sourceMap":false,"shadowMode":false});
32267
32269
 
32268
32270
  /***/ }),
32269
32271
 
@@ -32411,19 +32413,19 @@ var update = add("3ffd4899", content, true, {"sourceMap":false,"shadowMode":fals
32411
32413
 
32412
32414
  /***/ }),
32413
32415
 
32414
- /***/ 9000:
32416
+ /***/ 309:
32415
32417
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32416
32418
 
32417
32419
  // style-loader: Adds some css to the DOM by adding a <style> tag
32418
32420
 
32419
32421
  // load the styles
32420
- var content = __webpack_require__(5596);
32422
+ var content = __webpack_require__(6305);
32421
32423
  if(content.__esModule) content = content.default;
32422
32424
  if(typeof content === 'string') content = [[module.id, content, '']];
32423
32425
  if(content.locals) module.exports = content.locals;
32424
32426
  // add the styles to the DOM
32425
32427
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32426
- var update = add("fe04841a", content, true, {"sourceMap":false,"shadowMode":false});
32428
+ var update = add("3ce58606", content, true, {"sourceMap":false,"shadowMode":false});
32427
32429
 
32428
32430
  /***/ }),
32429
32431
 
@@ -32475,19 +32477,19 @@ var update = add("41a40148", content, true, {"sourceMap":false,"shadowMode":fals
32475
32477
 
32476
32478
  /***/ }),
32477
32479
 
32478
- /***/ 3743:
32480
+ /***/ 1364:
32479
32481
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32480
32482
 
32481
32483
  // style-loader: Adds some css to the DOM by adding a <style> tag
32482
32484
 
32483
32485
  // load the styles
32484
- var content = __webpack_require__(5083);
32486
+ var content = __webpack_require__(6024);
32485
32487
  if(content.__esModule) content = content.default;
32486
32488
  if(typeof content === 'string') content = [[module.id, content, '']];
32487
32489
  if(content.locals) module.exports = content.locals;
32488
32490
  // add the styles to the DOM
32489
32491
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32490
- var update = add("4785afe4", content, true, {"sourceMap":false,"shadowMode":false});
32492
+ var update = add("2869d4b9", content, true, {"sourceMap":false,"shadowMode":false});
32491
32493
 
32492
32494
  /***/ }),
32493
32495
 
@@ -39823,6 +39825,11 @@ var wfengine_install = function install(Vue) {
39823
39825
  if (res.code === 'success') {
39824
39826
  console.log('wfEngineService getWfJsonData success');
39825
39827
  $scope.wfJsonData = res.body.wfJsonData;
39828
+ if (res.body.udmjysp) {
39829
+ $scope.wfInstance.passenger.udmjysp = res.body.udmjysp;
39830
+ $scope.wfInstance.passenger.isUdmNodes = res.body.isUdmNodes;
39831
+ $scope.wfInstance.passenger.udmNodeUsers = res.body.udmNodeUsers;
39832
+ }
39826
39833
 
39827
39834
  // 是否有需要复制引用其它环节处理人
39828
39835
  if ($scope.wfJsonData && $scope.wfJsonData.routes) {
@@ -50736,8 +50743,8 @@ InnerTable_src.install = function (Vue) {
50736
50743
  Vue.component(InnerTable_src.name, InnerTable_src);
50737
50744
  };
50738
50745
  /* harmony default export */ var InnerTable = (InnerTable_src);
50739
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
50740
- var srcvue_type_template_id_16e1b510_scoped_true_render = function render() {
50746
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
50747
+ var srcvue_type_template_id_a2cfb25a_scoped_true_render = function render() {
50741
50748
  var _vm = this,
50742
50749
  _c = _vm._self._c;
50743
50750
  return _c('div', {
@@ -50750,10 +50757,10 @@ var srcvue_type_template_id_16e1b510_scoped_true_render = function render() {
50750
50757
  staticClass: "box-inner"
50751
50758
  }, [_vm.viewBodyFileShow === 'ofd' ? [_c('div', {
50752
50759
  staticStyle: {
50753
- "height": "30px",
50754
- "width": "30px",
50755
- "right": "15px",
50756
- "top": "100px",
50760
+ "width": "17px",
50761
+ "right": "3px",
50762
+ "padding": "8px",
50763
+ "top": "4px",
50757
50764
  "z-index": "1000"
50758
50765
  },
50759
50766
  style: {
@@ -50778,10 +50785,10 @@ var srcvue_type_template_id_16e1b510_scoped_true_render = function render() {
50778
50785
  }
50779
50786
  })])] : [_c('div', {
50780
50787
  staticStyle: {
50781
- "height": "30px",
50782
- "width": "30px",
50783
- "right": "15px",
50784
- "top": "60px",
50788
+ "width": "17px",
50789
+ "right": "3px",
50790
+ "padding": "8px",
50791
+ "top": "4px",
50785
50792
  "z-index": "1000",
50786
50793
  "position": "absolute"
50787
50794
  },
@@ -50858,7 +50865,7 @@ var srcvue_type_template_id_16e1b510_scoped_true_render = function render() {
50858
50865
  }
50859
50866
  }) : _vm._e()], 1) : _vm._e()]);
50860
50867
  };
50861
- var srcvue_type_template_id_16e1b510_scoped_true_staticRenderFns = [];
50868
+ var srcvue_type_template_id_a2cfb25a_scoped_true_staticRenderFns = [];
50862
50869
 
50863
50870
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
50864
50871
  var AddSignvue_type_template_id_4baca1b9_scoped_true_render = function render() {
@@ -51715,23 +51722,17 @@ var ListSeals_component = (0,componentNormalizer/* default */.A)(
51715
51722
  )
51716
51723
 
51717
51724
  /* harmony default export */ var ListSeals = (ListSeals_component.exports);
51718
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
51719
- var showViewervue_type_template_id_5d4a933e_scoped_true_render = function render() {
51725
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
51726
+ var showViewervue_type_template_id_4b0f0103_scoped_true_render = function render() {
51720
51727
  var _vm = this,
51721
51728
  _c = _vm._self._c;
51722
51729
  return _c('div', [_c('div', {
51723
- staticStyle: {
51724
- "position": "fixed",
51725
- "top": "0px",
51726
- "width": "100vw",
51727
- "height": "100vh",
51728
- "background-color": "#ffffff",
51729
- "z-index": "9999"
51730
- }
51730
+ staticClass: "view-container"
51731
51731
  }, [_c('div', {
51732
51732
  staticClass: "divNoContainer"
51733
51733
  }, [_c('div', {
51734
- staticClass: "docDiv",
51734
+ ref: "container",
51735
+ staticClass: "docDiv container",
51735
51736
  attrs: {
51736
51737
  "id": "pdfDiv"
51737
51738
  }
@@ -51762,7 +51763,7 @@ var showViewervue_type_template_id_5d4a933e_scoped_true_render = function render
51762
51763
  }
51763
51764
  }, [_vm._v("关闭")])])])])])]);
51764
51765
  };
51765
- var showViewervue_type_template_id_5d4a933e_scoped_true_staticRenderFns = [];
51766
+ var showViewervue_type_template_id_4b0f0103_scoped_true_staticRenderFns = [];
51766
51767
 
51767
51768
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
51768
51769
  /* harmony default export */ var showViewervue_type_script_lang_js = ({
@@ -51831,9 +51832,9 @@ var showViewervue_type_template_id_5d4a933e_scoped_true_staticRenderFns = [];
51831
51832
  });
51832
51833
  ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=script&lang=js
51833
51834
  /* harmony default export */ var src_showViewervue_type_script_lang_js = (showViewervue_type_script_lang_js);
51834
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
51835
- var showViewervue_type_style_index_0_id_5d4a933e_prod_scoped_true_lang_scss = __webpack_require__(767);
51836
- ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=5d4a933e&prod&scoped=true&lang=scss
51835
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
51836
+ var showViewervue_type_style_index_0_id_4b0f0103_prod_scoped_true_lang_scss = __webpack_require__(1215);
51837
+ ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue?vue&type=style&index=0&id=4b0f0103&prod&scoped=true&lang=scss
51837
51838
 
51838
51839
  ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/showViewer.vue
51839
51840
 
@@ -51846,11 +51847,11 @@ var showViewervue_type_style_index_0_id_5d4a933e_prod_scoped_true_lang_scss = __
51846
51847
 
51847
51848
  var showViewer_component = (0,componentNormalizer/* default */.A)(
51848
51849
  src_showViewervue_type_script_lang_js,
51849
- showViewervue_type_template_id_5d4a933e_scoped_true_render,
51850
- showViewervue_type_template_id_5d4a933e_scoped_true_staticRenderFns,
51850
+ showViewervue_type_template_id_4b0f0103_scoped_true_render,
51851
+ showViewervue_type_template_id_4b0f0103_scoped_true_staticRenderFns,
51851
51852
  false,
51852
51853
  null,
51853
- "5d4a933e",
51854
+ "4b0f0103",
51854
51855
  null
51855
51856
 
51856
51857
  )
@@ -52205,13 +52206,13 @@ function PdfTools_srcvue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
52205
52206
  });
52206
52207
  ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=script&lang=js
52207
52208
  /* harmony default export */ var ecmapp_PdfTools_srcvue_type_script_lang_js = (PdfTools_srcvue_type_script_lang_js);
52208
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
52209
- var srcvue_type_style_index_0_id_16e1b510_prod_scoped_true_lang_scss = __webpack_require__(2483);
52210
- ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=16e1b510&prod&scoped=true&lang=scss
52209
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
52210
+ var srcvue_type_style_index_0_id_a2cfb25a_prod_scoped_true_lang_scss = __webpack_require__(6506);
52211
+ ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=0&id=a2cfb25a&prod&scoped=true&lang=scss
52211
52212
 
52212
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.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
52213
- var srcvue_type_style_index_1_id_16e1b510_prod_lang_css = __webpack_require__(4475);
52214
- ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=16e1b510&prod&lang=css
52213
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-54.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-54.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-54.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
52214
+ var srcvue_type_style_index_1_id_a2cfb25a_prod_lang_css = __webpack_require__(7860);
52215
+ ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue?vue&type=style&index=1&id=a2cfb25a&prod&lang=css
52215
52216
 
52216
52217
  ;// CONCATENATED MODULE: ./packages/ecmapp/PdfTools/src/index.vue
52217
52218
 
@@ -52225,11 +52226,11 @@ var srcvue_type_style_index_1_id_16e1b510_prod_lang_css = __webpack_require__(44
52225
52226
 
52226
52227
  var PdfTools_src_component = (0,componentNormalizer/* default */.A)(
52227
52228
  ecmapp_PdfTools_srcvue_type_script_lang_js,
52228
- srcvue_type_template_id_16e1b510_scoped_true_render,
52229
- srcvue_type_template_id_16e1b510_scoped_true_staticRenderFns,
52229
+ srcvue_type_template_id_a2cfb25a_scoped_true_render,
52230
+ srcvue_type_template_id_a2cfb25a_scoped_true_staticRenderFns,
52230
52231
  false,
52231
52232
  null,
52232
- "16e1b510",
52233
+ "a2cfb25a",
52233
52234
  null
52234
52235
 
52235
52236
  )
@@ -56907,8 +56908,8 @@ var Attachment_component = (0,componentNormalizer/* default */.A)(
56907
56908
  )
56908
56909
 
56909
56910
  /* harmony default export */ var Attachment = (Attachment_component.exports);
56910
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
56911
- var BodyFilevue_type_template_id_37d9b4bc_scoped_true_render = function render() {
56911
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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=7e1b7fa2&scoped=true
56912
+ var BodyFilevue_type_template_id_7e1b7fa2_scoped_true_render = function render() {
56912
56913
  var _vm = this,
56913
56914
  _c = _vm._self._c;
56914
56915
  return _c('div', {
@@ -57272,7 +57273,7 @@ var BodyFilevue_type_template_id_37d9b4bc_scoped_true_render = function render()
57272
57273
  })])]) : _vm._e()]) : _vm._e()];
57273
57274
  })], 2)])], 1);
57274
57275
  };
57275
- var BodyFilevue_type_template_id_37d9b4bc_scoped_true_staticRenderFns = [];
57276
+ var BodyFilevue_type_template_id_7e1b7fa2_scoped_true_staticRenderFns = [];
57276
57277
 
57277
57278
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
57278
57279
  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); }
@@ -57379,7 +57380,9 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57379
57380
  // 签名状态
57380
57381
  pdfSealChange: false,
57381
57382
  // 印章状态
57382
- viewBodyFileShow: ''
57383
+ viewBodyFileShow: '',
57384
+ onlineViewer: null,
57385
+ fuxinBaseUrl: null
57383
57386
  };
57384
57387
  },
57385
57388
  computed: {},
@@ -57403,120 +57406,238 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57403
57406
  mounted: function mounted() {},
57404
57407
  methods: {
57405
57408
  onTabChanged: function onTabChanged(tabActive) {
57406
- if (this.wflowNavbarList[tabActive] === 'BodyFile') {
57407
- this.viewBodyFile();
57408
- }
57409
- this.setFooterBtns(tabActive);
57409
+ var _this2 = this;
57410
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
57411
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
57412
+ while (1) switch (_context.prev = _context.next) {
57413
+ case 0:
57414
+ if (!(_this2.wflowNavbarList[tabActive] === 'BodyFile')) {
57415
+ _context.next = 8;
57416
+ break;
57417
+ }
57418
+ if (!(_this2.$vnode.context.wfInstance.passenger.onlineViewer === 'fuxin')) {
57419
+ _context.next = 6;
57420
+ break;
57421
+ }
57422
+ _context.next = 4;
57423
+ return _this2.$http({
57424
+ method: 'get',
57425
+ contentType: 'application/x-www-form-urlencoded',
57426
+ url: 'base/paramConfig/findParamValueByName?orgCode=standard&paramName=fuxin.viewer.url'
57427
+ }).then(function (res) {
57428
+ if (res.code === 'success') {
57429
+ _this2.fuxinBaseUrl = res.body.value;
57430
+ _this2.onlineViewer = 'fuxin';
57431
+ } else {
57432
+ _this2.onlineViewer = 'pdfjs';
57433
+ }
57434
+ });
57435
+ case 4:
57436
+ _context.next = 7;
57437
+ break;
57438
+ case 6:
57439
+ _this2.onlineViewer = _this2.$vnode.context.wfInstance.passenger.onlineViewer || 'pdfjs';
57440
+ case 7:
57441
+ _this2.viewBodyFile();
57442
+ case 8:
57443
+ _this2.setFooterBtns(tabActive);
57444
+ case 9:
57445
+ case "end":
57446
+ return _context.stop();
57447
+ }
57448
+ }, _callee);
57449
+ }))();
57410
57450
  },
57411
57451
  viewBodyFile: function viewBodyFile() {
57412
- var _this2 = this;
57413
- if (!this.flBodyfile || this.flBodyfile.id === undefined) return;
57414
- this.downloadurl = null;
57415
- this.bodyFileUrl = '';
57416
- this.flBodyfileBak = this.flBodyfile;
57417
- var oriangialName = this.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
57418
- var extName = oriangialName.substring(oriangialName.lastIndexOf('.')).toLowerCase();
57419
- this.seal = false;
57420
- this.$vnode.context.commandBar.forEach(function (btn) {
57421
- if (btn.btnCode === 'btnStampClick' && _this2.$vnode.context.wfInstance.haveDoc === 2) {
57422
- _this2.seal = true;
57423
- }
57424
- });
57425
- if (this.fileNeedSign === 1 && this.$vnode.context.wfInstance.haveDoc === 2) {
57426
- this.sign = true;
57427
- } else {
57428
- this.sign = false;
57429
- }
57430
- var _this = this;
57431
- if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (this.viewer === 'pdfjs' || this.sign || this.seal)) {
57432
- this.viewBodyFileShow = 'pdf';
57433
- if (this.sign || this.seal) {
57434
- this.waterMark = false;
57435
- }
57436
- var fileurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + this.flBodyfile.id + '&widthType=auto&viewType=mobile';
57437
- fileurl += '&httpPort=' + location.port + '&waterMark=' + this.waterMark + '&markContent=' + this.markContent;
57438
- if (this.flBodyfile.fileName.indexOf('{') !== -1 || this.flBodyfile.fileName.indexOf('%') !== -1 || this.flBodyfile.fileName.indexOf('[') !== -1) {
57439
- fileurl += '&fileName=' + encodeURIComponent(this.flBodyfile.fileName);
57440
- } else {
57441
- fileurl += '&fileName=' + this.flBodyfile.fileName;
57442
- }
57443
- this.bodyFileUrl = './plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(fileurl);
57444
- this.$nextTick(function () {
57445
- var iframe = document.getElementById('pdfHtml');
57446
- if (iframe == null) return;
57447
- if (iframe.attachEvent) {
57448
- iframe.attachEvent('onload', function () {
57449
- _this.loaded = false;
57450
- });
57451
- } else {
57452
- iframe.onload = function () {
57452
+ var _this3 = this;
57453
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
57454
+ var oriangialName, extName, _this, appUrl, tSessionId, downUrl, fileurl, _fileurl;
57455
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
57456
+ while (1) switch (_context2.prev = _context2.next) {
57457
+ case 0:
57458
+ if (!(!_this3.flBodyfile || _this3.flBodyfile.id === undefined)) {
57459
+ _context2.next = 2;
57460
+ break;
57461
+ }
57462
+ return _context2.abrupt("return");
57463
+ case 2:
57464
+ _this3.downloadurl = null;
57465
+ _this3.bodyFileUrl = '';
57466
+ _this3.flBodyfileBak = _this3.flBodyfile;
57467
+ oriangialName = _this3.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
57468
+ extName = oriangialName.substring(oriangialName.lastIndexOf('.')).toLowerCase();
57469
+ _this3.seal = false;
57470
+ _this3.$vnode.context.commandBar.forEach(function (btn) {
57471
+ if (btn.btnCode === 'btnStampClick' && _this3.$vnode.context.wfInstance.haveDoc === 2) {
57472
+ _this3.seal = true;
57473
+ }
57474
+ });
57475
+ if (_this3.fileNeedSign === 1 && _this3.$vnode.context.wfInstance.haveDoc === 2) {
57476
+ _this3.sign = true;
57477
+ } else {
57478
+ _this3.sign = false;
57479
+ }
57480
+ _this = _this3;
57481
+ if (!(extName === '.ofd' && _this3.onlineViewer === 'fuxin')) {
57482
+ _context2.next = 28;
57483
+ break;
57484
+ }
57485
+ appUrl = location.href.split('#')[0]; // url
57486
+ if (appUrl.indexOf('/mindex.html') > -1) {
57487
+ appUrl = appUrl.split('/mindex.html')[0];
57488
+ }
57489
+ _context2.next = 16;
57490
+ return _this3.getSessionId();
57491
+ case 16:
57492
+ tSessionId = _context2.sent;
57493
+ downUrl = appUrl + "/apigw";
57494
+ downUrl += _this3.wfAttachUrl.substring(0, 1) === '/' ? _this3.wfAttachUrl : '/' + _this3.wfAttachUrl;
57495
+ downUrl += '/downloadById?attachIds=' + _this3.flBodyfile.id + '&topdf=true';
57496
+ // downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
57497
+ downUrl += '&tSessionId=' + tSessionId;
57498
+ console.log(downUrl);
57499
+ if (_this3.fuxinBaseUrl) {
57500
+ _this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
57501
+ _this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57502
+ } else {
57503
+ _this3.$http({
57504
+ method: 'get',
57505
+ contentType: 'application/x-www-form-urlencoded',
57506
+ url: 'base/paramConfig/findParamValueByName?orgCode=standard&paramName=fuxin.viewer.url'
57507
+ }).then(function (res) {
57508
+ if (res.code === 'success') {
57509
+ _this3.fuxinBaseUrl = res.body.value;
57510
+ _this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
57511
+ _this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57512
+ } else {
57513
+ _this3.$toast.fail('未配置福星预览地址参数 fuxin.viewer.url');
57514
+ }
57515
+ });
57516
+ }
57517
+ console.log('bodyFileUrl=====>', _this3.bodyFileUrl);
57518
+ _this3.viewBodyFileShow = 'ofd';
57519
+ _this3.$nextTick(function () {
57520
+ if (document.getElementById('changeScreenH')) {
57521
+ document.getElementById('changeScreenH').style.display = 'none';
57522
+ }
57523
+ });
57453
57524
  _this.loaded = false;
57454
- };
57525
+ return _context2.abrupt("return");
57526
+ case 28:
57527
+ _this3.viewer = 'pdfjs';
57528
+ if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (_this3.viewer === 'pdfjs' || _this3.sign || _this3.seal)) {
57529
+ _this3.viewBodyFileShow = 'pdf';
57530
+ if (_this3.sign || _this3.seal) {
57531
+ _this3.waterMark = false;
57532
+ }
57533
+ fileurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&widthType=auto&viewType=mobile';
57534
+ fileurl += '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57535
+ if (_this3.flBodyfile.fileName.indexOf('{') !== -1 || _this3.flBodyfile.fileName.indexOf('%') !== -1 || _this3.flBodyfile.fileName.indexOf('[') !== -1) {
57536
+ fileurl += '&fileName=' + encodeURIComponent(_this3.flBodyfile.fileName);
57537
+ } else {
57538
+ fileurl += '&fileName=' + _this3.flBodyfile.fileName;
57539
+ }
57540
+ _this3.bodyFileUrl = './plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(fileurl);
57541
+ _this3.$nextTick(function () {
57542
+ var iframe = document.getElementById('pdfHtml');
57543
+ if (iframe == null) return;
57544
+ if (iframe.attachEvent) {
57545
+ iframe.attachEvent('onload', function () {
57546
+ _this.loaded = false;
57547
+ });
57548
+ } else {
57549
+ iframe.onload = function () {
57550
+ _this.loaded = false;
57551
+ };
57552
+ }
57553
+ });
57554
+ } else if (extName === '.ofd') {
57555
+ _this3.sign = false;
57556
+ _this3.seal = false;
57557
+ _this3.viewBodyFileShow = 'ofd';
57558
+ _fileurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&widthType=auto&viewType=mobile';
57559
+ if (_this3.flBodyfile.fileName.indexOf('{') !== -1 || _this3.flBodyfile.fileName.indexOf('%') !== -1 || _this3.flBodyfile.fileName.indexOf('[') !== -1) {
57560
+ _fileurl += '&fileName=' + encodeURIComponent(_this3.flBodyfile.fileName);
57561
+ } else {
57562
+ _fileurl += '&fileName=' + _this3.flBodyfile.fileName;
57563
+ }
57564
+ _fileurl += '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57565
+ _this3.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
57566
+ _this.loaded = false;
57567
+ } else if (_this3.viewer.indexOf('dcs=') === 0) {
57568
+ _this3.sign = false;
57569
+ _this3.seal = false;
57570
+ _this3.$http({
57571
+ method: 'GET',
57572
+ url: 'base/user/getSessionId'
57573
+ }).then(function (res) {
57574
+ if (res.code === 'success') {
57575
+ var _tSessionId = res.body.tSessionId;
57576
+ var hostname = location.href.split('mindex.html')[0];
57577
+ var _downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?attachIds=' + _this3.flBodyfile.id + '&httpPort=' + location.port + '&tSessionId=' + _tSessionId;
57578
+ var convertType = '0';
57579
+ if (_this3.extName === '.ofd') {
57580
+ convertType = '21';
57581
+ } else if (_this3.extName === '.pdf' || _this3.extName === '.pdfx') {
57582
+ convertType = '20';
57583
+ }
57584
+ _downUrl = _this3.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(_downUrl);
57585
+ if (_this3.viewerUrlParams) {
57586
+ _downUrl += '&' + _this3.viewerUrlParams;
57587
+ }
57588
+ if (_downUrl.indexOf('&acceptTracks=0') === -1) {
57589
+ _downUrl += '&acceptTracks=0';
57590
+ }
57591
+ $.post(_downUrl, {}, function (res) {
57592
+ _this.loaded = false;
57593
+ if (res.errorcode === 0) {
57594
+ _this.bodyFileUrl = res.data.viewUrl;
57595
+ } else {
57596
+ _this3.$dialog.alert({
57597
+ message: res.message
57598
+ });
57599
+ }
57600
+ }, 'json');
57601
+ }
57602
+ });
57603
+ } else {
57604
+ _this3.downloadurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57605
+ }
57606
+ case 30:
57607
+ case "end":
57608
+ return _context2.stop();
57455
57609
  }
57456
- });
57457
- } else if (extName === '.ofd') {
57458
- this.sign = false;
57459
- this.seal = false;
57460
- this.viewBodyFileShow = 'ofd';
57461
- var _fileurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + this.flBodyfile.id + '&widthType=auto&viewType=mobile';
57462
- if (this.flBodyfile.fileName.indexOf('{') !== -1 || this.flBodyfile.fileName.indexOf('%') !== -1 || this.flBodyfile.fileName.indexOf('[') !== -1) {
57463
- _fileurl += '&fileName=' + encodeURIComponent(this.flBodyfile.fileName);
57464
- } else {
57465
- _fileurl += '&fileName=' + this.flBodyfile.fileName;
57466
- }
57467
- _fileurl += '&httpPort=' + location.port + '&waterMark=' + this.waterMark + '&markContent=' + this.markContent;
57468
- this.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
57469
- _this.loaded = false;
57470
- } else if (this.viewer.indexOf('dcs=') === 0) {
57471
- this.sign = false;
57472
- this.seal = false;
57473
- this.$http({
57610
+ }, _callee2);
57611
+ }))();
57612
+ },
57613
+ getSessionId: function getSessionId() {
57614
+ var _this4 = this;
57615
+ return new Promise(function (resolve, reject) {
57616
+ _this4.$http({
57474
57617
  method: 'GET',
57618
+ params: {
57619
+ timeLength: 60
57620
+ },
57475
57621
  url: 'base/user/getSessionId'
57476
57622
  }).then(function (res) {
57477
57623
  if (res.code === 'success') {
57478
- var tSessionId = res.body.tSessionId;
57479
- var hostname = location.href.split('mindex.html')[0];
57480
- var downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?attachIds=' + _this2.flBodyfile.id + '&httpPort=' + location.port + '&tSessionId=' + tSessionId;
57481
- var convertType = '0';
57482
- if (_this2.extName === '.ofd') {
57483
- convertType = '21';
57484
- } else if (_this2.extName === '.pdf' || _this2.extName === '.pdfx') {
57485
- convertType = '20';
57486
- }
57487
- downUrl = _this2.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(downUrl);
57488
- if (_this2.viewerUrlParams) {
57489
- downUrl += '&' + _this2.viewerUrlParams;
57490
- }
57491
- if (downUrl.indexOf('&acceptTracks=0') === -1) {
57492
- downUrl += '&acceptTracks=0';
57493
- }
57494
- $.post(downUrl, {}, function (res) {
57495
- _this.loaded = false;
57496
- if (res.errorcode === 0) {
57497
- _this.bodyFileUrl = res.data.viewUrl;
57498
- } else {
57499
- _this2.$dialog.alert({
57500
- message: res.message
57501
- });
57502
- }
57503
- }, 'json');
57624
+ resolve(res.body.tSessionId);
57625
+ } else {
57626
+ reject(res.msg);
57504
57627
  }
57505
57628
  });
57506
- } else {
57507
- this.downloadurl = "/apigw" + '/' + this.wfAttachUrl + '/downloadById?inline=true&attachIds=' + this.flBodyfile.id + '&httpPort=' + location.port + '&waterMark=' + this.waterMark + '&markContent=' + this.markContent;
57508
- }
57629
+ });
57509
57630
  },
57510
57631
  reloadBodyFile: function reloadBodyFile() {
57511
- var _this3 = this;
57632
+ var _this5 = this;
57512
57633
  this.downloadurl = null;
57513
57634
  this.bodyFileUrl = '';
57514
57635
  this.$nextTick(function () {
57515
- _this3.viewBodyFile();
57636
+ _this5.viewBodyFile();
57516
57637
  });
57517
57638
  },
57518
57639
  setFooterBtns: function setFooterBtns(tabActive) {
57519
- var _this4 = this;
57640
+ var _this6 = this;
57520
57641
  var footerBtns = [];
57521
57642
  if (this.wflowNavbarList[tabActive] !== 'BodyFile') {
57522
57643
  this.$vnode.context.setFooterBtns();
@@ -57549,7 +57670,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57549
57670
  bodyFileList.forEach(function (item) {
57550
57671
  var fileName = item.fileName;
57551
57672
  var bodyFileName = item.bodyFileName ? item.bodyFileName : item.fileName;
57552
- if (bodyFileName.includes('RedTitle_') || bodyFileName === _this4.$vnode.context.vo.flbodyfilename || fileName === _this4.$vnode.context.vo.flbodyfilename || fileName.includes('RedTitle_')) {
57673
+ if (bodyFileName.includes('RedTitle_') || bodyFileName === _this6.$vnode.context.vo.flbodyfilename || fileName === _this6.$vnode.context.vo.flbodyfilename || fileName.includes('RedTitle_')) {
57553
57674
  isSeal = true;
57554
57675
  }
57555
57676
  });
@@ -57731,21 +57852,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57731
57852
  },
57732
57853
  // 保存印章
57733
57854
  pdfSealSave: function pdfSealSave() {
57734
- var _this5 = this;
57735
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
57736
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
57737
- while (1) switch (_context.prev = _context.next) {
57855
+ var _this7 = this;
57856
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
57857
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
57858
+ while (1) switch (_context3.prev = _context3.next) {
57738
57859
  case 0:
57739
- _context.next = 2;
57740
- return _this5.$refs.PdfTools.pdfStamp();
57860
+ _context3.next = 2;
57861
+ return _this7.$refs.PdfTools.pdfStamp();
57741
57862
  case 2:
57742
- _this5.pdfSealChange = false;
57743
- _this5.setFooterBtns(0);
57863
+ _this7.pdfSealChange = false;
57864
+ _this7.setFooterBtns(0);
57744
57865
  case 4:
57745
57866
  case "end":
57746
- return _context.stop();
57867
+ return _context3.stop();
57747
57868
  }
57748
- }, _callee);
57869
+ }, _callee3);
57749
57870
  }))();
57750
57871
  },
57751
57872
  // 添加签名
@@ -57766,21 +57887,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57766
57887
  },
57767
57888
  // 保存签名
57768
57889
  pdfSignSave: function pdfSignSave() {
57769
- var _this6 = this;
57770
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
57771
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
57772
- while (1) switch (_context2.prev = _context2.next) {
57890
+ var _this8 = this;
57891
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
57892
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
57893
+ while (1) switch (_context4.prev = _context4.next) {
57773
57894
  case 0:
57774
- _context2.next = 2;
57775
- return _this6.$refs.PdfTools.pdfSign();
57895
+ _context4.next = 2;
57896
+ return _this8.$refs.PdfTools.pdfSign();
57776
57897
  case 2:
57777
- _this6.pdfSignChange = false;
57778
- _this6.setFooterBtns(0);
57898
+ _this8.pdfSignChange = false;
57899
+ _this8.setFooterBtns(0);
57779
57900
  case 4:
57780
57901
  case "end":
57781
- return _context2.stop();
57902
+ return _context4.stop();
57782
57903
  }
57783
- }, _callee2);
57904
+ }, _callee4);
57784
57905
  }))();
57785
57906
  },
57786
57907
  attachmentDownloadClick: function attachmentDownloadClick(attachment) {
@@ -57800,21 +57921,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57800
57921
  this.$wv.showAttachmentOtherApps(this.flBodyfile);
57801
57922
  },
57802
57923
  btnUploadBodyfileClick: function btnUploadBodyfileClick() {
57803
- var _this7 = this;
57924
+ var _this9 = this;
57804
57925
  new Promise(function (resolve, reject) {
57805
- if (_this7.$vnode.context.wfInstance.haveDoc) {
57806
- _this7.$dialog.confirm({
57807
- message: _this7.$tx('ecmapp.wflowform.coverMainText', '重新上传会覆盖现有正文,是否确认?')
57808
- }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
57809
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
57810
- while (1) switch (_context3.prev = _context3.next) {
57926
+ if (_this9.$vnode.context.wfInstance.haveDoc) {
57927
+ _this9.$dialog.confirm({
57928
+ message: _this9.$tx('ecmapp.wflowform.coverMainText', '重新上传会覆盖现有正文,是否确认?')
57929
+ }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
57930
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
57931
+ while (1) switch (_context5.prev = _context5.next) {
57811
57932
  case 0:
57812
57933
  resolve(true);
57813
57934
  case 1:
57814
57935
  case "end":
57815
- return _context3.stop();
57936
+ return _context5.stop();
57816
57937
  }
57817
- }, _callee3);
57938
+ }, _callee5);
57818
57939
  }))).catch(function () {
57819
57940
  reject('cancel btnUploadBodyfileClick.');
57820
57941
  });
@@ -57822,19 +57943,19 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57822
57943
  resolve(true);
57823
57944
  }
57824
57945
  }).then(function (result) {
57825
- _this7.uploadList = [];
57826
- _this7.$vnode.context.formValidate(function () {
57827
- _this7.$vnode.context.submitHandle.submitType = 'Save';
57946
+ _this9.uploadList = [];
57947
+ _this9.$vnode.context.formValidate(function () {
57948
+ _this9.$vnode.context.submitHandle.submitType = 'Save';
57828
57949
  new Promise(function (resolve, reject) {
57829
- _this7.$vnode.context.formEvents.onWflowFormBeforeSubmit(_this7.$vnode.context, {
57950
+ _this9.$vnode.context.formEvents.onWflowFormBeforeSubmit(_this9.$vnode.context, {
57830
57951
  resolve: resolve,
57831
57952
  reject: reject
57832
57953
  });
57833
57954
  }).then(function (result) {
57834
57955
  if (!result) return;
57835
- _this7.flBodyfile = _this7.flBodyfileBak;
57836
- _this7.$nextTick(function () {
57837
- var uploadBtn = _this7.$el.querySelector('.van-uploader__input');
57956
+ _this9.flBodyfile = _this9.flBodyfileBak;
57957
+ _this9.$nextTick(function () {
57958
+ var uploadBtn = _this9.$el.querySelector('.van-uploader__input');
57838
57959
  uploadBtn.click();
57839
57960
  });
57840
57961
  });
@@ -57844,7 +57965,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57844
57965
  });
57845
57966
  },
57846
57967
  btnOpenWordClick: function btnOpenWordClick() {
57847
- var _this8 = this;
57968
+ var _this10 = this;
57848
57969
  // 编辑正文
57849
57970
  if (this.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57850
57971
  if (this.$vnode.context.wfInstance.haveDoc === 2) {
@@ -57853,7 +57974,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57853
57974
  message: this.$tx('ecmapp.wflowform.alreadlyRed', '该公文已经套红,重新编辑正文后需要重套红!是否继续?'),
57854
57975
  title: this.$tx('common.confirm', '确认操作')
57855
57976
  }).then(function () {
57856
- _this8.$bus.emit('btnOpenWordClick', _this8.$vnode.context);
57977
+ _this10.$bus.emit('btnOpenWordClick', _this10.$vnode.context);
57857
57978
  }).catch(function () {
57858
57979
  // 处理选择否的情况
57859
57980
  return;
@@ -57880,7 +58001,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57880
58001
  });
57881
58002
  },
57882
58003
  handleUploadChange: function handleUploadChange(file) {
57883
- var _this9 = this;
58004
+ var _this11 = this;
57884
58005
  var fileName = file.file.name;
57885
58006
  var extName = fileName.substring(fileName.lastIndexOf('.')).toLowerCase();
57886
58007
  if (this.accept.indexOf(extName) === -1) {
@@ -57916,7 +58037,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57916
58037
  this.$set(this.$vnode.context, 'bodyfile', attach);
57917
58038
  this.bodyFileUrl = '';
57918
58039
  this.$nextTick(function () {
57919
- _this9.$vnode.context.btnSubmitClick('Save');
58040
+ _this11.$vnode.context.btnSubmitClick('Save');
57920
58041
  });
57921
58042
  },
57922
58043
  onUploadProgress: function onUploadProgress(attach) {
@@ -57964,7 +58085,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57964
58085
  }
57965
58086
  },
57966
58087
  btnViewHistoryFilesClick: function btnViewHistoryFilesClick(bodyfile) {
57967
- var _this10 = this;
58088
+ var _this12 = this;
57968
58089
  this.historyDialogVisible = true;
57969
58090
  var listdataUrl = this.wfAttachUrl + '/listAttach';
57970
58091
  var fileId = bodyfile ? bodyfile.fileId : this.flBodyfile.fileId;
@@ -57980,18 +58101,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57980
58101
  url: listdataUrl
57981
58102
  }).then(function (res) {
57982
58103
  if (res.code === 'success') {
57983
- _this10.historyFiles = res.body.pageInfo.list.filter(function (attach) {
57984
- if (_this10.flBodyfile.id !== attach.id && attach.fileStatus === 1 && attach.originalName === _this10.flBodyfile.originalName) {
57985
- _this10.flBodyfile = attach;
57986
- _this10.$vnode.context.bodyfile = _this10.flBodyfile;
57987
- _this10.reloadBodyFile();
58104
+ _this12.historyFiles = res.body.pageInfo.list.filter(function (attach) {
58105
+ if (_this12.flBodyfile.id !== attach.id && attach.fileStatus === 1 && attach.originalName === _this12.flBodyfile.originalName) {
58106
+ _this12.flBodyfile = attach;
58107
+ _this12.$vnode.context.bodyfile = _this12.flBodyfile;
58108
+ _this12.reloadBodyFile();
57988
58109
  }
57989
58110
  attach.updateTime = formatTime(attach.updateTime);
57990
58111
  attach.avatarUrl = "/apigw" + '/base/user/downloadPhotoByAccount?orgCode=' + attach.orgCode + '&account=' + attach.updateBy + '&httpPort=' + location.port;
57991
58112
  return true;
57992
58113
  });
57993
58114
  } else {
57994
- _this10.$dialog.alert({
58115
+ _this12.$dialog.alert({
57995
58116
  message: res.message,
57996
58117
  type: 'error'
57997
58118
  });
@@ -58008,7 +58129,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58008
58129
  this.clickAttach = attach;
58009
58130
  },
58010
58131
  moreMenuitemClick: function moreMenuitemClick(command) {
58011
- var _this11 = this;
58132
+ var _this13 = this;
58012
58133
  if (command.indexOf('view') !== -1) {
58013
58134
  this.downHistoryFile(this.clickAttach);
58014
58135
  } else if (command.indexOf('remove') !== -1) {
@@ -58016,7 +58137,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58016
58137
  } else if (command.indexOf('download') !== -1) {
58017
58138
  var attachIds = this.clickAttach.id;
58018
58139
  this.historyFiles.forEach(function (attach) {
58019
- if (attach.fileVer && attach.fileVer === _this11.clickAttach.fileVer && attach.id !== _this11.clickAttach.id) {
58140
+ if (attach.fileVer && attach.fileVer === _this13.clickAttach.fileVer && attach.id !== _this13.clickAttach.id) {
58020
58141
  attachIds += ',' + attach.id;
58021
58142
  }
58022
58143
  });
@@ -58031,7 +58152,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58031
58152
  this.showMoreBtn = false;
58032
58153
  },
58033
58154
  removeBodyfile: function removeBodyfile(flBodyfile) {
58034
- var _this12 = this;
58155
+ var _this14 = this;
58035
58156
  var confirmMsg = this.$tx('ecmapp.wflowform.delCurrentVersion', '您是否确认删除当前版本文件?');
58036
58157
  if (flBodyfile.fileStatus === 8) {
58037
58158
  confirmMsg = this.$tx('ecmapp.wflowform.delHistoricalVersion', '您是否确认删除历史版本文件?');
@@ -58039,10 +58160,10 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58039
58160
  var _this = this;
58040
58161
  this.$dialog.confirm({
58041
58162
  message: confirmMsg
58042
- }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
58163
+ }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
58043
58164
  var deleteIds, originalName, i;
58044
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
58045
- while (1) switch (_context4.prev = _context4.next) {
58165
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
58166
+ while (1) switch (_context6.prev = _context6.next) {
58046
58167
  case 0:
58047
58168
  deleteIds = flBodyfile.id;
58048
58169
  originalName = flBodyfile.originalName.substring(0, flBodyfile.originalName.indexOf('.'));
@@ -58053,44 +58174,44 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58053
58174
  }
58054
58175
  }
58055
58176
  }
58056
- _this12.$http({
58177
+ _this14.$http({
58057
58178
  method: 'DELETE',
58058
58179
  contentType: 'application/x-www-form-urlencoded',
58059
58180
  params: {
58060
58181
  attachIds: deleteIds
58061
58182
  },
58062
- url: _this12.wfAttachUrl + '/delete'
58183
+ url: _this14.wfAttachUrl + '/delete'
58063
58184
  }).then(function (res) {
58064
58185
  if (res.code === 'success') {
58065
- for (var i = 0; i < _this12.attachments.length; i++) {
58066
- if (_this12.attachments[i].id === flBodyfile.id || _this12.attachments[i].originalName.indexOf(originalName + '.pdf') === 0) {
58067
- _this12.attachments.splice(i--, 1);
58186
+ for (var i = 0; i < _this14.attachments.length; i++) {
58187
+ if (_this14.attachments[i].id === flBodyfile.id || _this14.attachments[i].originalName.indexOf(originalName + '.pdf') === 0) {
58188
+ _this14.attachments.splice(i--, 1);
58068
58189
  }
58069
58190
  }
58070
- _this12.btnViewHistoryFilesClick(_this12.flBodyfile);
58191
+ _this14.btnViewHistoryFilesClick(_this14.flBodyfile);
58071
58192
  if (flBodyfile.fileStatus !== 8) {
58072
- if (typeof _this12.vo.flBodyFilename !== 'undefined') _this12.vo.flBodyFilename = null;
58073
- if (typeof _this12.vo.signedFileName !== 'undefined') _this12.vo.signedFileName = null; //盖章文件名
58074
- if (typeof _this12.vo.sealFileName !== 'undefined') _this12.vo.sealFileName = null; //签章平台文件名
58193
+ if (typeof _this14.vo.flBodyFilename !== 'undefined') _this14.vo.flBodyFilename = null;
58194
+ if (typeof _this14.vo.signedFileName !== 'undefined') _this14.vo.signedFileName = null; //盖章文件名
58195
+ if (typeof _this14.vo.sealFileName !== 'undefined') _this14.vo.sealFileName = null; //签章平台文件名
58075
58196
 
58076
- _this12.$vnode.context.commandBar.forEach(function (btn) {
58197
+ _this14.$vnode.context.commandBar.forEach(function (btn) {
58077
58198
  if (btn.btnCode === 'btnOpenWordClick') {
58078
58199
  btn.btnShow = true;
58079
58200
  }
58080
58201
  });
58081
58202
  if (!res.body.restoreHistoryFile) {
58082
- _this12.flBodyfile = {
58203
+ _this14.flBodyfile = {
58083
58204
  file: {
58084
58205
  name: ''
58085
58206
  }
58086
58207
  };
58087
- _this12.$vnode.context.bodyfile = _this12.flBodyfile;
58088
- _this12.$vnode.context.wfInstance.haveDoc = 0;
58208
+ _this14.$vnode.context.bodyfile = _this14.flBodyfile;
58209
+ _this14.$vnode.context.wfInstance.haveDoc = 0;
58089
58210
  }
58090
- _this12.$vnode.context.btnSubmitClick('Save');
58211
+ _this14.$vnode.context.btnSubmitClick('Save');
58091
58212
  }
58092
58213
  } else {
58093
- _this12.$dialog.alert({
58214
+ _this14.$dialog.alert({
58094
58215
  message: res.message,
58095
58216
  type: 'error'
58096
58217
  });
@@ -58098,18 +58219,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58098
58219
  });
58099
58220
  case 4:
58100
58221
  case "end":
58101
- return _context4.stop();
58222
+ return _context6.stop();
58102
58223
  }
58103
- }, _callee4);
58224
+ }, _callee6);
58104
58225
  })));
58105
58226
  }
58106
58227
  }
58107
58228
  });
58108
58229
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
58109
58230
  /* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
58110
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
58111
- var BodyFilevue_type_style_index_0_id_37d9b4bc_prod_scoped_true_lang_scss = __webpack_require__(9000);
58112
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=37d9b4bc&prod&scoped=true&lang=scss
58231
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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=7e1b7fa2&prod&scoped=true&lang=scss
58232
+ var BodyFilevue_type_style_index_0_id_7e1b7fa2_prod_scoped_true_lang_scss = __webpack_require__(309);
58233
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=7e1b7fa2&prod&scoped=true&lang=scss
58113
58234
 
58114
58235
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
58115
58236
 
@@ -58122,11 +58243,11 @@ var BodyFilevue_type_style_index_0_id_37d9b4bc_prod_scoped_true_lang_scss = __we
58122
58243
 
58123
58244
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
58124
58245
  src_BodyFilevue_type_script_lang_js,
58125
- BodyFilevue_type_template_id_37d9b4bc_scoped_true_render,
58126
- BodyFilevue_type_template_id_37d9b4bc_scoped_true_staticRenderFns,
58246
+ BodyFilevue_type_template_id_7e1b7fa2_scoped_true_render,
58247
+ BodyFilevue_type_template_id_7e1b7fa2_scoped_true_staticRenderFns,
58127
58248
  false,
58128
58249
  null,
58129
- "37d9b4bc",
58250
+ "7e1b7fa2",
58130
58251
  null
58131
58252
 
58132
58253
  )
@@ -58827,8 +58948,8 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
58827
58948
  )
58828
58949
 
58829
58950
  /* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
58830
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
58831
- var SubmitHandlevue_type_template_id_5be1797c_scoped_true_render = function render() {
58951
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
58952
+ var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render = function render() {
58832
58953
  var _vm = this,
58833
58954
  _c = _vm._self._c;
58834
58955
  return _vm.initiated ? _c('div', {
@@ -59440,18 +59561,811 @@ var SubmitHandlevue_type_template_id_5be1797c_scoped_true_render = function rend
59440
59561
  _vm.wfNodeDialogVisible = $event;
59441
59562
  }
59442
59563
  }
59443
- }) : _vm._e()], 2) : _vm._e();
59564
+ }, [_c('WfTaskNode', {
59565
+ attrs: {
59566
+ "task-node": _vm.udmNode,
59567
+ "idea-lables": _vm.wfJsonData.ideaLables
59568
+ }
59569
+ })], 1) : _vm._e()], 2) : _vm._e();
59444
59570
  };
59445
- var SubmitHandlevue_type_template_id_5be1797c_scoped_true_staticRenderFns = [];
59571
+ var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_staticRenderFns = [];
59446
59572
 
59573
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
59574
+ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render() {
59575
+ var _vm = this,
59576
+ _c = _vm._self._c;
59577
+ return _c('div', [_c('van-cell-group', [_c('div', {
59578
+ staticClass: "van-input-field"
59579
+ }, [_c('validation-provider', {
59580
+ staticClass: "cell_item",
59581
+ attrs: {
59582
+ "name": _vm.$tx('ecmapp.wflowform.fields.linkName', '环节名称'),
59583
+ "rules": {
59584
+ required: true
59585
+ }
59586
+ },
59587
+ scopedSlots: _vm._u([{
59588
+ key: "default",
59589
+ fn: function fn(_ref) {
59590
+ var errors = _ref.errors;
59591
+ return [_c('van-field', {
59592
+ directives: [{
59593
+ name: "field-lbl",
59594
+ rawName: "v-field-lbl",
59595
+ value: 'linkName',
59596
+ expression: "'linkName'"
59597
+ }],
59598
+ attrs: {
59599
+ "label": "环节名称",
59600
+ "placeholder": "请输入",
59601
+ "error": errors !== undefined && errors[0] !== undefined || _vm.iserror,
59602
+ "input-align": "right",
59603
+ "maxlength": 20
59604
+ },
59605
+ model: {
59606
+ value: _vm.taskNode.name,
59607
+ callback: function callback($$v) {
59608
+ _vm.$set(_vm.taskNode, "name", $$v);
59609
+ },
59610
+ expression: "taskNode.name"
59611
+ }
59612
+ })];
59613
+ }
59614
+ }])
59615
+ })], 1), _c('div', {
59616
+ staticClass: "van-input-field"
59617
+ }, [_c('validation-provider', {
59618
+ ref: "ValidationProvider",
59619
+ attrs: {
59620
+ "name": _vm.$tx('ecmapp.wflowform.fields.taskType', '任务类型'),
59621
+ "rules": "required"
59622
+ },
59623
+ scopedSlots: _vm._u([{
59624
+ key: "default",
59625
+ fn: function fn(_ref2) {
59626
+ var errors = _ref2.errors;
59627
+ return [_c('van-field', {
59628
+ directives: [{
59629
+ name: "field-lbl",
59630
+ rawName: "v-field-lbl",
59631
+ value: 'taskType',
59632
+ expression: "'taskType'"
59633
+ }],
59634
+ attrs: {
59635
+ "label": "任务类型",
59636
+ "placeholder": "请选择",
59637
+ "input-align": "right",
59638
+ "is-link": !_vm.taskNode.startNode,
59639
+ "readonly": _vm.taskNode.startNode
59640
+ },
59641
+ on: {
59642
+ "click": function click($event) {
59643
+ return _vm.selectItem('任务类型', 'todoMode');
59644
+ }
59645
+ },
59646
+ model: {
59647
+ value: _vm.todoMode,
59648
+ callback: function callback($$v) {
59649
+ _vm.todoMode = $$v;
59650
+ },
59651
+ expression: "todoMode"
59652
+ }
59653
+ })];
59654
+ }
59655
+ }])
59656
+ })], 1), _c('div', {
59657
+ staticClass: "van-input-field"
59658
+ }, [_c('validation-provider', {
59659
+ ref: "ValidationProvider",
59660
+ attrs: {
59661
+ "name": _vm.$tx('ecmapp.wflowform.fields.handleMethod', '处理人选择方式'),
59662
+ "rules": "required"
59663
+ },
59664
+ scopedSlots: _vm._u([{
59665
+ key: "default",
59666
+ fn: function fn(_ref3) {
59667
+ var errors = _ref3.errors;
59668
+ return [_c('van-field', {
59669
+ directives: [{
59670
+ name: "field-lbl",
59671
+ rawName: "v-field-lbl",
59672
+ value: 'handleMethod',
59673
+ expression: "'handleMethod'"
59674
+ }],
59675
+ attrs: {
59676
+ "label": "处理人选择方式",
59677
+ "placeholder": "请选择",
59678
+ "input-align": "right",
59679
+ "is-link": !_vm.taskNode.startNode,
59680
+ "readonly": _vm.taskNode.startNode
59681
+ },
59682
+ on: {
59683
+ "click": function click($event) {
59684
+ return _vm.selectItem('处理人选择方式', 'selectType');
59685
+ }
59686
+ },
59687
+ model: {
59688
+ value: _vm.selectType,
59689
+ callback: function callback($$v) {
59690
+ _vm.selectType = $$v;
59691
+ },
59692
+ expression: "selectType"
59693
+ }
59694
+ })];
59695
+ }
59696
+ }])
59697
+ })], 1), _c('div', {
59698
+ directives: [{
59699
+ name: "show",
59700
+ rawName: "v-show",
59701
+ value: _vm.taskNode.selectType == 0 || _vm.taskNode.selectType == 9,
59702
+ expression: "taskNode.selectType == 0 || taskNode.selectType == 9"
59703
+ }],
59704
+ staticClass: "van-input-field"
59705
+ }, [_c('validation-provider', {
59706
+ ref: "ValidationProvider",
59707
+ attrs: {
59708
+ "name": '组织机构级别',
59709
+ "rules": "required"
59710
+ },
59711
+ scopedSlots: _vm._u([{
59712
+ key: "default",
59713
+ fn: function fn(_ref4) {
59714
+ var errors = _ref4.errors;
59715
+ return [_c('van-field', {
59716
+ attrs: {
59717
+ "label": "组织机构级别",
59718
+ "placeholder": "请选择",
59719
+ "input-align": "right",
59720
+ "is-link": !_vm.taskNode.startNode,
59721
+ "readonly": _vm.taskNode.startNode
59722
+ },
59723
+ on: {
59724
+ "click": function click($event) {
59725
+ return _vm.selectItem('组织机构级别', 'orgLevel');
59726
+ }
59727
+ },
59728
+ model: {
59729
+ value: _vm.orgLevel,
59730
+ callback: function callback($$v) {
59731
+ _vm.orgLevel = $$v;
59732
+ },
59733
+ expression: "orgLevel"
59734
+ }
59735
+ })];
59736
+ }
59737
+ }])
59738
+ })], 1), _c('div', {
59739
+ directives: [{
59740
+ name: "show",
59741
+ rawName: "v-show",
59742
+ value: (_vm.taskNode.selectType == 0 || _vm.taskNode.selectType == 9) && _vm.taskNode.orgLevel != 1 && _vm.taskNode.orgLevel != 5,
59743
+ expression: "(taskNode.selectType == 0 || taskNode.selectType == 9) && taskNode.orgLevel != 1 && taskNode.orgLevel != 5"
59744
+ }],
59745
+ staticClass: "van-input-field"
59746
+ }, [_c('validation-provider', {
59747
+ ref: "ValidationProvider",
59748
+ attrs: {
59749
+ "name": '机构筛选方式',
59750
+ "rules": "required"
59751
+ },
59752
+ scopedSlots: _vm._u([{
59753
+ key: "default",
59754
+ fn: function fn(_ref5) {
59755
+ var errors = _ref5.errors;
59756
+ return [_c('van-field', {
59757
+ attrs: {
59758
+ "label": "机构筛选方式",
59759
+ "placeholder": "请选择",
59760
+ "input-align": "right",
59761
+ "is-link": !_vm.taskNode.startNode,
59762
+ "readonly": _vm.taskNode.startNode
59763
+ },
59764
+ on: {
59765
+ "click": function click($event) {
59766
+ return _vm.selectItem('机构筛选方式', 'orgStaffFilterType');
59767
+ }
59768
+ },
59769
+ model: {
59770
+ value: _vm.orgStaffFilterType,
59771
+ callback: function callback($$v) {
59772
+ _vm.orgStaffFilterType = $$v;
59773
+ },
59774
+ expression: "orgStaffFilterType"
59775
+ }
59776
+ })];
59777
+ }
59778
+ }])
59779
+ })], 1), _c('div', {
59780
+ staticClass: "van-input-field"
59781
+ }, [_vm.taskNode.selectType == 0 ? _c('van-field', {
59782
+ directives: [{
59783
+ name: "field-lbl",
59784
+ rawName: "v-field-lbl",
59785
+ value: 'zdPersonal',
59786
+ expression: "'zdPersonal'"
59787
+ }],
59788
+ attrs: {
59789
+ "label": "处理人指定人员",
59790
+ "placeholder": "请选择",
59791
+ "input-align": "right",
59792
+ "is-link": !_vm.taskNode.startNode,
59793
+ "readonly": _vm.taskNode.startNode
59794
+ },
59795
+ on: {
59796
+ "click": function click($event) {
59797
+ return _vm.openSelectDialog('staff', 'userNames');
59798
+ }
59799
+ },
59800
+ model: {
59801
+ value: _vm.taskNode.userNames,
59802
+ callback: function callback($$v) {
59803
+ _vm.$set(_vm.taskNode, "userNames", $$v);
59804
+ },
59805
+ expression: "taskNode.userNames"
59806
+ }
59807
+ }) : _vm._e(), _vm.taskNode.selectType == 1 ? _c('van-field', {
59808
+ directives: [{
59809
+ name: "field-lbl",
59810
+ rawName: "v-field-lbl",
59811
+ value: 'zdDept',
59812
+ expression: "'zdDept'"
59813
+ }],
59814
+ attrs: {
59815
+ "label": "处理人指定部门",
59816
+ "placeholder": "请选择",
59817
+ "input-align": "right",
59818
+ "is-link": !_vm.taskNode.startNode,
59819
+ "readonly": _vm.taskNode.startNode
59820
+ },
59821
+ on: {
59822
+ "click": function click($event) {
59823
+ return _vm.openSelectDialog('suborg', 'orgNames');
59824
+ }
59825
+ },
59826
+ model: {
59827
+ value: _vm.taskNode.orgNames,
59828
+ callback: function callback($$v) {
59829
+ _vm.$set(_vm.taskNode, "orgNames", $$v);
59830
+ },
59831
+ expression: "taskNode.orgNames"
59832
+ }
59833
+ }) : _vm._e(), _vm.taskNode.selectType == 2 ? _c('van-field', {
59834
+ directives: [{
59835
+ name: "field-lbl",
59836
+ rawName: "v-field-lbl",
59837
+ value: 'zdGroup',
59838
+ expression: "'zdGroup'"
59839
+ }],
59840
+ attrs: {
59841
+ "label": "处理人指定群组",
59842
+ "placeholder": "请选择",
59843
+ "input-align": "right",
59844
+ "is-link": !_vm.taskNode.startNode,
59845
+ "readonly": _vm.taskNode.startNode
59846
+ },
59847
+ on: {
59848
+ "click": function click($event) {
59849
+ return _vm.openSelectDialog('workgroup', 'workgroupNames');
59850
+ }
59851
+ },
59852
+ model: {
59853
+ value: _vm.taskNode.workgroupNames,
59854
+ callback: function callback($$v) {
59855
+ _vm.$set(_vm.taskNode, "workgroupNames", $$v);
59856
+ },
59857
+ expression: "taskNode.workgroupNames"
59858
+ }
59859
+ }) : _vm._e(), _vm.taskNode.selectType == 3 ? _c('van-field', {
59860
+ directives: [{
59861
+ name: "field-lbl",
59862
+ rawName: "v-field-lbl",
59863
+ value: 'zdJobPostion',
59864
+ expression: "'zdJobPostion'"
59865
+ }],
59866
+ attrs: {
59867
+ "label": "处理人指定岗位",
59868
+ "placeholder": "请选择",
59869
+ "input-align": "right",
59870
+ "is-link": !_vm.taskNode.startNode,
59871
+ "readonly": _vm.taskNode.startNode
59872
+ },
59873
+ on: {
59874
+ "click": function click($event) {
59875
+ return _vm.openSelectDialog('jobPosition', 'jopPositionNames');
59876
+ }
59877
+ },
59878
+ model: {
59879
+ value: _vm.taskNode.jopPositionNames,
59880
+ callback: function callback($$v) {
59881
+ _vm.$set(_vm.taskNode, "jopPositionNames", $$v);
59882
+ },
59883
+ expression: "taskNode.jopPositionNames"
59884
+ }
59885
+ }) : _vm._e()], 1), _c('div', {
59886
+ staticClass: "van-input-field"
59887
+ }, [_c('van-cell', {
59888
+ directives: [{
59889
+ name: "field-lbl",
59890
+ rawName: "v-field-lbl",
59891
+ value: 'editPermissions',
59892
+ expression: "'editPermissions'"
59893
+ }],
59894
+ attrs: {
59895
+ "center": "",
59896
+ "title": "编辑权限"
59897
+ },
59898
+ scopedSlots: _vm._u([{
59899
+ key: "right-icon",
59900
+ fn: function fn() {
59901
+ return [_c('van-switch', {
59902
+ attrs: {
59903
+ "active-value": 1,
59904
+ "inactive-value": 0,
59905
+ "size": "24"
59906
+ },
59907
+ model: {
59908
+ value: _vm.taskNode.canEdit,
59909
+ callback: function callback($$v) {
59910
+ _vm.$set(_vm.taskNode, "canEdit", $$v);
59911
+ },
59912
+ expression: "taskNode.canEdit"
59913
+ }
59914
+ })];
59915
+ },
59916
+ proxy: true
59917
+ }])
59918
+ })], 1), _c('div', {
59919
+ staticClass: "van-input-field"
59920
+ }, [_c('validation-provider', {
59921
+ ref: "ValidationProvider",
59922
+ attrs: {
59923
+ "name": _vm.$tx('ecmapp.wflowform.fields.opinionLabel', '处理意见标签'),
59924
+ "rules": "required"
59925
+ },
59926
+ scopedSlots: _vm._u([{
59927
+ key: "default",
59928
+ fn: function fn(_ref6) {
59929
+ var errors = _ref6.errors;
59930
+ return [_c('van-field', {
59931
+ directives: [{
59932
+ name: "field-lbl",
59933
+ rawName: "v-field-lbl",
59934
+ value: 'opinionLabel',
59935
+ expression: "'opinionLabel'"
59936
+ }],
59937
+ attrs: {
59938
+ "label": "处理意见标签",
59939
+ "placeholder": "请选择",
59940
+ "input-align": "right",
59941
+ "is-link": true,
59942
+ "readonly": _vm.taskNode.startNode
59943
+ },
59944
+ on: {
59945
+ "click": function click($event) {
59946
+ return _vm.selectItem('处理意见标签', 'ideaLable');
59947
+ }
59948
+ },
59949
+ model: {
59950
+ value: _vm.taskNode.ideaLable,
59951
+ callback: function callback($$v) {
59952
+ _vm.$set(_vm.taskNode, "ideaLable", $$v);
59953
+ },
59954
+ expression: "taskNode.ideaLable"
59955
+ }
59956
+ })];
59957
+ }
59958
+ }])
59959
+ })], 1)]), _c('FooterButtonGroup', [_c('van-button', {
59960
+ directives: [{
59961
+ name: "pageBtn-lbl",
59962
+ rawName: "v-pageBtn-lbl",
59963
+ value: 'cancel',
59964
+ expression: "'cancel'"
59965
+ }],
59966
+ attrs: {
59967
+ "square": ""
59968
+ },
59969
+ on: {
59970
+ "click": _vm.closeDialog
59971
+ }
59972
+ }, [_vm._v("取 消")]), _c('van-button', {
59973
+ directives: [{
59974
+ name: "pageBtn-lbl",
59975
+ rawName: "v-pageBtn-lbl",
59976
+ value: 'sure',
59977
+ expression: "'sure'"
59978
+ }],
59979
+ attrs: {
59980
+ "type": "info",
59981
+ "square": ""
59982
+ },
59983
+ on: {
59984
+ "click": _vm.submitForm
59985
+ }
59986
+ }, [_vm._v("确 定")])], 1)], 1);
59987
+ };
59988
+ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
59989
+
59990
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
59991
+ /* harmony default export */ var WfTaskNodevue_type_script_lang_js = ({
59992
+ name: 'WfTaskNode',
59993
+ components: {},
59994
+ props: {
59995
+ taskNode: {
59996
+ type: Object,
59997
+ default: function _default() {
59998
+ return {};
59999
+ }
60000
+ },
60001
+ ideaLables: {
60002
+ type: String,
60003
+ default: ''
60004
+ }
60005
+ },
60006
+ data: function data() {
60007
+ return {
60008
+ i18npkg: 'ecmapp',
60009
+ moduleCode: 'wflowform',
60010
+ forceUpdate: false,
60011
+ dialogFormVisible: true,
60012
+ todoModeOptions: [{
60013
+ value: 0,
60014
+ text: this.$tx('ecmapp.wflowform.singlePerson', '单人')
60015
+ }, {
60016
+ value: 1,
60017
+ text: this.$tx('ecmapp.wflowform.multiplayerParallel', '多人并行')
60018
+ }, {
60019
+ value: 2,
60020
+ text: this.$tx('ecmapp.wflowform.multiPersonSignature', '多人会签')
60021
+ }, {
60022
+ value: 3,
60023
+ text: this.$tx('ecmapp.wflowform.multiplayerSerial', '多人串行')
60024
+ }, {
60025
+ value: 4,
60026
+ text: this.$tx('ecmapp.wflowform.multiplayerCompetition', '多人竞争')
60027
+ }, {
60028
+ value: 5,
60029
+ text: this.$tx('ecmapp.wflowform.multiPersonReading', '多人阅文')
60030
+ }],
60031
+ selectTypeOptions: [{
60032
+ value: 0,
60033
+ text: this.$tx('ecmapp.Wflowform.byDepartment', '按组织机构')
60034
+ }, {
60035
+ value: 7,
60036
+ text: this.$tx('ecmapp.Wflowform.byJobPosition', '按工作岗位')
60037
+ }, {
60038
+ value: 1,
60039
+ text: this.$tx('ecmapp.Wflowform.byWorkgroup', '按工作群组')
60040
+ }, {
60041
+ value: 9,
60042
+ text: this.$tx('ecmapp.Wflowform.byJobRank', '按处理人职级')
60043
+ }, {
60044
+ value: 2,
60045
+ text: this.$tx('ecmapp.Wflowform.byHistoryTNUser', '历史节点处理人')
60046
+ }, {
60047
+ value: 3,
60048
+ text: this.$tx('ecmapp.Wflowform.designatedPersonnel', '直接指定人员')
60049
+ }],
60050
+ orgLevelOptions: [{
60051
+ value: 1,
60052
+ text: '一级(公司级)'
60053
+ }, {
60054
+ value: 2,
60055
+ text: '二级(部门级)'
60056
+ }, {
60057
+ value: 3,
60058
+ text: '三级(科室级)'
60059
+ }, {
60060
+ value: 4,
60061
+ text: '四级(班组级)'
60062
+ }],
60063
+ todoMode: '单人',
60064
+ selectType: '直接指定人员',
60065
+ orgLevel: '',
60066
+ orgStaffFilterType: '',
60067
+ curNodeName: ''
60068
+ };
60069
+ },
60070
+ computed: {
60071
+ ideaLableOptions: function ideaLableOptions() {
60072
+ var ideaLablelist = [];
60073
+ this.ideaLables.split(',').forEach(function (lable) {
60074
+ ideaLablelist.push({
60075
+ value: lable,
60076
+ text: lable
60077
+ });
60078
+ });
60079
+ ideaLablelist.push({
60080
+ value: '无',
60081
+ text: '无'
60082
+ });
60083
+ return ideaLablelist;
60084
+ },
60085
+ orgStaffFilterTypeOptions: function orgStaffFilterTypeOptions() {
60086
+ var orgStaffFilterType = [{
60087
+ value: 0,
60088
+ text: '不筛选'
60089
+ }];
60090
+ if (this.taskNode.orgLevel === 2) {
60091
+ orgStaffFilterType.push({
60092
+ value: 1,
60093
+ text: '指定部门'
60094
+ });
60095
+ orgStaffFilterType.push({
60096
+ value: 2,
60097
+ text: '当前用户所在部门'
60098
+ });
60099
+ orgStaffFilterType.push({
60100
+ value: 3,
60101
+ text: '拟稿用户所在部门'
60102
+ });
60103
+ } else if (this.taskNode.orgLevel === 3) {
60104
+ orgStaffFilterType[0].text = '部门内不筛选';
60105
+ orgStaffFilterType.push({
60106
+ value: 5,
60107
+ text: '所有不筛选'
60108
+ });
60109
+ orgStaffFilterType.push({
60110
+ value: 1,
60111
+ text: '指定科室'
60112
+ });
60113
+ orgStaffFilterType.push({
60114
+ value: 2,
60115
+ text: '当前用户所在科室'
60116
+ });
60117
+ orgStaffFilterType.push({
60118
+ value: 3,
60119
+ text: '拟稿用户所在科室'
60120
+ });
60121
+ } else if (this.taskNode.orgLevel === 4) {
60122
+ orgStaffFilterType[0].text = '科室内不筛选';
60123
+ orgStaffFilterType.push({
60124
+ value: 1,
60125
+ text: '指定班组'
60126
+ });
60127
+ orgStaffFilterType.push({
60128
+ value: 2,
60129
+ text: '当前用户所在班组'
60130
+ });
60131
+ orgStaffFilterType.push({
60132
+ value: 3,
60133
+ text: '拟稿用户所在班组'
60134
+ });
60135
+ }
60136
+ return orgStaffFilterType;
60137
+ }
60138
+ },
60139
+ watch: {
60140
+ taskNode: {
60141
+ handler: function handler(newValue, oldValue) {
60142
+ var _this = this;
60143
+ if (this.taskNode.selectType !== undefined) {
60144
+ this.selectTypeOptions.forEach(function (item) {
60145
+ if (item.value === _this.taskNode.selectType) {
60146
+ _this.selectType = item.text;
60147
+ }
60148
+ });
60149
+ }
60150
+ if (this.taskNode.todoMode !== undefined) {
60151
+ this.todoMode = this.todoModeOptions[this.taskNode.todoMode].text;
60152
+ }
60153
+ if (this.taskNode.orgLevel !== undefined) {
60154
+ this.orgLevel = this.orgLevelOptions[this.taskNode.orgLevel - 1].text;
60155
+ }
60156
+ if (this.taskNode.orgStaffFilterType !== undefined) {
60157
+ this.orgStaffFilterTypeOptions.forEach(function (item) {
60158
+ if (item.value === _this.taskNode.orgStaffFilterType) {
60159
+ _this.orgStaffFilterType = item.text;
60160
+ }
60161
+ });
60162
+ }
60163
+ },
60164
+ deep: true,
60165
+ immediate: true
60166
+ }
60167
+ },
60168
+ created: function created() {
60169
+ if (this.taskNode.selectType === undefined) {
60170
+ this.taskNode.selectType = 0;
60171
+ }
60172
+ if (this.taskNode.status === 1) {
60173
+ this.curNodeName = this.taskNode.name;
60174
+ }
60175
+ },
60176
+ beforeDestroy: function beforeDestroy() {},
60177
+ mounted: function mounted() {
60178
+ if (this.taskNode.startNode) {
60179
+ //开始节点,删除“历史节点处理人”选项
60180
+ this.selectTypeOptions.splice(4, 1);
60181
+ }
60182
+ },
60183
+ methods: {
60184
+ selectItem: function selectItem(title, field) {
60185
+ var _this2 = this;
60186
+ if (this.taskNode.startNode) return;
60187
+ var dialogTitle = this.$tx('common.plChoose', '请选择') + title;
60188
+ this.$bus.emit('openListitemDialog', dialogTitle, this[field + 'Options'], function (res) {
60189
+ if (res.code === 'success') {
60190
+ _this2.$set(_this2.taskNode, field, res.value.value);
60191
+ _this2.$forceUpdate();
60192
+ }
60193
+ }, this.taskNode[field], false, 'bottomDialog');
60194
+ },
60195
+ openSelectDialog: function openSelectDialog(dialogType, field) {
60196
+ var _this3 = this;
60197
+ if (this.taskNode.startNode) return;
60198
+ var condition = {
60199
+ selectDialog: dialogType,
60200
+ multiple: true,
60201
+ 'org-level': '2'
60202
+ };
60203
+ var dialogTitle = this.$tx('common.plChoose', '请选择');
60204
+ this.$bus.emit('openTreeDialog', dialogTitle, condition, null, function (res) {
60205
+ if (res.code === 'success') {
60206
+ var callbackFunc = 'onSelect' + dialogType.replace(dialogType[0], dialogType[0].toUpperCase()) + 'Completed';
60207
+ _this3[callbackFunc](res.value, {
60208
+ name: _this3.model
60209
+ });
60210
+ }
60211
+ }, this.taskNode[field]);
60212
+ },
60213
+ // 选择人员
60214
+ onSelectStaffCompleted: function onSelectStaffCompleted(selectedNodes, attr) {
60215
+ var selected = '';
60216
+ selectedNodes.forEach(function (node) {
60217
+ if (selected !== '') selected += '、';
60218
+ selected += node.name;
60219
+ });
60220
+ this.taskNode.users = selectedNodes;
60221
+ this.$set(this.taskNode, 'userNames', selected);
60222
+ this.$set(this.taskNode, 'orgNames', '');
60223
+ this.$set(this.taskNode, 'workgroupNames', '');
60224
+ this.$set(this.taskNode, 'jobPositionNames', '');
60225
+ },
60226
+ // 选择部门、科室、班组
60227
+ onSelectSuborgCompleted: function onSelectSuborgCompleted(selectedNodes, attr) {
60228
+ selectedNodes = JSON.parse(JSON.stringify(selectedNodes));
60229
+ var selected = '';
60230
+ selectedNodes.forEach(function (node) {
60231
+ if (selected !== '') selected += '、';
60232
+ selected += node.name;
60233
+ node.orgId = node.id;
60234
+ delete node.id;
60235
+ });
60236
+ this.taskNode.users = selectedNodes;
60237
+ this.$set(this.taskNode, 'userNames', '');
60238
+ this.$set(this.taskNode, 'orgNames', selected);
60239
+ this.$set(this.taskNode, 'workgroupNames', '');
60240
+ this.$set(this.taskNode, 'jobPositionNames', '');
60241
+ },
60242
+ // 选择工作群组
60243
+ onSelectWorkgroupCompleted: function onSelectWorkgroupCompleted(selectedNodes, attr) {
60244
+ selectedNodes = JSON.parse(JSON.stringify(selectedNodes));
60245
+ var selected = '';
60246
+ selectedNodes.forEach(function (node) {
60247
+ if (selected !== '') selected += '、';
60248
+ selected += node.name;
60249
+ node.workgroupId = node.id;
60250
+ delete node.id;
60251
+ });
60252
+ this.taskNode.users = selectedNodes;
60253
+ this.$set(this.taskNode, 'userNames', '');
60254
+ this.$set(this.taskNode, 'orgNames', '');
60255
+ this.$set(this.taskNode, 'workgroupNames', selected);
60256
+ this.$set(this.taskNode, 'jobPositionNames', '');
60257
+ },
60258
+ // 选择工作岗位
60259
+ onSelectJobPositionCompleted: function onSelectJobPositionCompleted(selectedNodes, attr) {
60260
+ selectedNodes = JSON.parse(JSON.stringify(selectedNodes));
60261
+ var selected = '';
60262
+ selectedNodes.forEach(function (node) {
60263
+ if (selected !== '') selected += '、';
60264
+ selected += node.name;
60265
+ node.jobPositionId = node.id;
60266
+ delete node.id;
60267
+ });
60268
+ this.taskNode.users = selectedNodes;
60269
+ this.$set(this.taskNode, 'userNames', '');
60270
+ this.$set(this.taskNode, 'orgNames', '');
60271
+ this.$set(this.taskNode, 'workgroupNames', '');
60272
+ this.$set(this.taskNode, 'jobPositionNames', selected);
60273
+ },
60274
+ submitForm: function submitForm() {
60275
+ var _this4 = this;
60276
+ this.formValidate(function () {
60277
+ var udmNode = JSON.parse(JSON.stringify(_this4.taskNode));
60278
+ udmNode.tmLmtType = '9';
60279
+ udmNode.type = 1;
60280
+ if (udmNode.todoMode === 5) {
60281
+ udmNode.type = 3;
60282
+ }
60283
+ var wfdNodeList = _this4.$vnode.context.wfInstance.passenger.wfdNodeList;
60284
+ if (wfdNodeList) {
60285
+ wfdNodeList.forEach(function (node) {
60286
+ if (node.processType === udmNode.todoMode && node.nodeType === udmNode.type) {
60287
+ udmNode.id = node.id;
60288
+ }
60289
+ });
60290
+ }
60291
+ if (udmNode.status !== 1) {
60292
+ udmNode.status = 1;
60293
+ udmNode.uuid = _this4.uuid();
60294
+ _this4.$vnode.context.wfInstance.udmNodes.push(udmNode);
60295
+ } else {
60296
+ _this4.$vnode.context.wfInstance.udmNodes.forEach(function (wfnode, index) {
60297
+ if (wfnode.uuid === udmNode.uuid) {
60298
+ _this4.$vnode.context.wfInstance.udmNodes.splice(index, 1, udmNode);
60299
+ if (_this4.$vnode.context.curTN.tnNodeName === _this4.curNodeName) {
60300
+ _this4.$vnode.context.curTN.tnNodeName = udmNode.name;
60301
+ _this4.$vnode.context.curTN.tnCanEdit = udmNode.canEdit;
60302
+ if (udmNode.todoMode === 5) {
60303
+ _this4.$vnode.context.curTN.tnTaskType = 3;
60304
+ } else {
60305
+ _this4.$vnode.context.curTN.tnTaskType = 1;
60306
+ }
60307
+ _this4.$vnode.context.curTN.tnToDoMode = udmNode.todoMode;
60308
+ if (udmNode.ideaLable === '无') {
60309
+ _this4.$vnode.context.curTN.tnIdeaLabelID = '';
60310
+ _this4.$vnode.context.curTN.tnIdeaLabelName = '';
60311
+ } else {
60312
+ _this4.$vnode.context.curTN.tnIdeaLabelID = 'udm_' + udmNode.ideaLable;
60313
+ _this4.$vnode.context.curTN.tnIdeaLabelName = udmNode.ideaLable;
60314
+ _this4.$vnode.context.curTN.tnIdeaIsMust = 1;
60315
+ }
60316
+ }
60317
+ }
60318
+ });
60319
+ }
60320
+ _this4.closeDialog();
60321
+ });
60322
+ },
60323
+ closeDialog: function closeDialog() {
60324
+ this.$vnode.context.wfNodeDialogVisible = false;
60325
+ },
60326
+ uuid: function uuid() {
60327
+ var r = [];
60328
+ var e = '0123456789abcdef';
60329
+ for (var t = 0; t < 36; t++) {
60330
+ r[t] = e.substr(Math.floor(16 * Math.random()), 1);
60331
+ }
60332
+ r[14] = '4';
60333
+ r[19] = e.substr(3 & r[19] | 8, 1);
60334
+ r[8] = r[13] = r[18] = r[23] = '';
60335
+ return r.join('');
60336
+ }
60337
+ }
60338
+ });
60339
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfTaskNode.vue?vue&type=script&lang=js
60340
+ /* harmony default export */ var src_WfTaskNodevue_type_script_lang_js = (WfTaskNodevue_type_script_lang_js);
60341
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/WfTaskNode.vue
60342
+
60343
+
60344
+
60345
+
60346
+
60347
+ /* normalize component */
60348
+ ;
60349
+ var WfTaskNode_component = (0,componentNormalizer/* default */.A)(
60350
+ src_WfTaskNodevue_type_script_lang_js,
60351
+ WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render,
60352
+ WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns,
60353
+ false,
60354
+ null,
60355
+ "59c2fbd4",
60356
+ null
60357
+
60358
+ )
60359
+
60360
+ /* harmony default export */ var WfTaskNode = (WfTaskNode_component.exports);
59447
60361
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.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
59448
60362
  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); }
59449
60363
  var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
59450
- // import WfTaskNode from './WfTaskNode.vue'
60364
+
59451
60365
  /* harmony default export */ var SubmitHandlevue_type_script_lang_js = ({
59452
60366
  name: 'SubmitHandle',
59453
60367
  components: {
59454
- // WfTaskNode
60368
+ WfTaskNode: WfTaskNode
59455
60369
  },
59456
60370
  props: {
59457
60371
  curTN: {
@@ -59658,8 +60572,6 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
59658
60572
  },
59659
60573
  submitHandle: {
59660
60574
  handler: function handler(val, oldVal) {
59661
- console.log('val', val);
59662
- console.log('oldVal', oldVal);
59663
60575
  this.submitHandleValChange();
59664
60576
  this.viewCommentsNum = this.defaultNumber;
59665
60577
  this.selectChangeList = [];
@@ -59678,7 +60590,6 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
59678
60590
  },
59679
60591
  mounted: function mounted() {
59680
60592
  var _this3 = this;
59681
- this.isUdmNodes = this.wfInstance.module.indexOf('udmjysp_') === 0;
59682
60593
  this.msgTypeOptions = this.wfInstance.passenger.msgTypeOptions || null;
59683
60594
  this.initSubmitHandle();
59684
60595
  this.curUserIdea = this.submitHandle.curUserIdea;
@@ -59785,6 +60696,7 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
59785
60696
  var _this5 = this;
59786
60697
  var _this = this;
59787
60698
  _this.showTimeLimit = false;
60699
+ _this.isUdmNodes = _this.wfInstance.passenger.isUdmNodes;
59788
60700
  if (this.wfJsonData.routes && this.wfJsonData.routes.length > 0) {
59789
60701
  new Promise(function (resolve, reject) {
59790
60702
  // 响应路径单击事件
@@ -60306,9 +61218,9 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
60306
61218
  });
60307
61219
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
60308
61220
  /* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
60309
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
60310
- var SubmitHandlevue_type_style_index_0_id_5be1797c_prod_scoped_true_lang_scss = __webpack_require__(3743);
60311
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=5be1797c&prod&scoped=true&lang=scss
61221
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.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
61222
+ var SubmitHandlevue_type_style_index_0_id_ac8cafcc_prod_scoped_true_lang_scss = __webpack_require__(1364);
61223
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=ac8cafcc&prod&scoped=true&lang=scss
60312
61224
 
60313
61225
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue
60314
61226
 
@@ -60321,11 +61233,11 @@ var SubmitHandlevue_type_style_index_0_id_5be1797c_prod_scoped_true_lang_scss =
60321
61233
 
60322
61234
  var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
60323
61235
  src_SubmitHandlevue_type_script_lang_js,
60324
- SubmitHandlevue_type_template_id_5be1797c_scoped_true_render,
60325
- SubmitHandlevue_type_template_id_5be1797c_scoped_true_staticRenderFns,
61236
+ SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render,
61237
+ SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_staticRenderFns,
60326
61238
  false,
60327
61239
  null,
60328
- "5be1797c",
61240
+ "ac8cafcc",
60329
61241
  null
60330
61242
 
60331
61243
  )