ecinc-cloud-mappaio 9.6.6 → 9.6.9

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.
@@ -7198,7 +7198,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0685b481] .van-nav-bar__title{
7198
7198
 
7199
7199
  /***/ }),
7200
7200
 
7201
- /***/ 6037:
7201
+ /***/ 5577:
7202
7202
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7203
7203
 
7204
7204
  "use strict";
@@ -7212,14 +7212,14 @@ __webpack_require__.r(__webpack_exports__);
7212
7212
 
7213
7213
  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()));
7214
7214
  // Module
7215
- ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-25aa7e12],.wfattach-container[data-v-25aa7e12] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-25aa7e12] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-25aa7e12] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-25aa7e12] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-25aa7e12] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-25aa7e12] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-25aa7e12] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-25aa7e12]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-25aa7e12]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-25aa7e12]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-25aa7e12]:first-child:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title[data-v-25aa7e12]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-25aa7e12]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-25aa7e12]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-25aa7e12]{position:relative}.van-attachment-field[data-v-25aa7e12]:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;top:unset;border-width:0;right:0;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}", ""]);
7215
+ ___CSS_LOADER_EXPORT___.push([module.id, ".wfattach-container .van-cell__value[data-v-2c9f8b86],.wfattach-container[data-v-2c9f8b86] .van-cell__title{-webkit-box-flex:0;-ms-flex:none;flex:none}.wfattach-container[data-v-2c9f8b86] .van-cell__title{width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.wfattach-container[data-v-2c9f8b86] .van-cell__value{width:25%;height:24px}.wfattach-container[data-v-2c9f8b86] .van-cell__value .van-icon-add-o{line-height:24px}.wfattach-container[data-v-2c9f8b86] .van-cell__value .van-circle{margin-top:2px}.wfattach-container[data-v-2c9f8b86] .van-cell__value .attach-icon{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.wfattach-container[data-v-2c9f8b86] .van-cell__value .attach-icon .van-icon{line-height:24px;margin-left:15px;font-size:16px}.wfattach-container[data-v-2c9f8b86]:after{border-top-width:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-2c9f8b86]{padding-left:70px;padding-right:36px}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-2c9f8b86]:after{right:0}.attachmants_preview .attachmants .van-cell-group .van-cell[data-v-2c9f8b86]:first-child:before{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;right:0;top:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title[data-v-2c9f8b86]{position:relative}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_photo[data-v-2c9f8b86]{position:absolute;left:-54px;height:44px;width:44px}.attachmants_preview .attachmants .van-cell-group .van-cell .van-cell__title .attach_name[data-v-2c9f8b86]{width:calc(100vw - 107px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.van-attachment-field[data-v-2c9f8b86]{position:relative}.van-attachment-field[data-v-2c9f8b86]:after{position:absolute;-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";pointer-events:none;top:unset;border-width:0;right:0;bottom:0;left:16px;border-bottom:1px solid #ebedf0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}", ""]);
7216
7216
  // Exports
7217
7217
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7218
7218
 
7219
7219
 
7220
7220
  /***/ }),
7221
7221
 
7222
- /***/ 3500:
7222
+ /***/ 4658:
7223
7223
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7224
7224
 
7225
7225
  "use strict";
@@ -7233,7 +7233,7 @@ __webpack_require__.r(__webpack_exports__);
7233
7233
 
7234
7234
  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()));
7235
7235
  // Module
7236
- ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-2e25b2ec]{margin-top:100px;text-align:center}.upload-progress[data-v-2e25b2ec]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-2e25b2ec]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-2e25b2ec]{font-size:70px}.file-svg-icon .svg-icon[data-v-2e25b2ec]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-2e25b2ec]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-2e25b2ec]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-2e25b2ec]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-2e25b2ec]{font-size:16px;margin-right:10px}[data-v-2e25b2ec] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-2e25b2ec]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-2e25b2ec]{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-2e25b2ec],.attachmentContent .attachmentContent_son .icon_right[data-v-2e25b2ec]{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-2e25b2ec]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-2e25b2ec]{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-2e25b2ec]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-2e25b2ec] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-2e25b2ec] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
7236
+ ___CSS_LOADER_EXPORT___.push([module.id, ".loading[data-v-43b13ff3]{margin-top:100px;text-align:center}.upload-progress[data-v-43b13ff3]{background-color:#fff;padding-top:50px;padding-bottom:50px;text-align:center}.van-ellipsis[data-v-43b13ff3]{text-align:center;margin:20px auto 0;max-width:90%}.file-svg-icon[data-v-43b13ff3]{font-size:70px}.file-svg-icon .svg-icon[data-v-43b13ff3]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}.van-cell-group[data-v-43b13ff3]{margin:10px 10px 0 10px;border:1px solid #fbf9f9;border-radius:5px}.more-btns[data-v-43b13ff3]{width:120px;border-radius:6px;padding:16px}.more-btns .btn-item[data-v-43b13ff3]{border-bottom:1px solid #fbf9f9;width:100%;height:44px;line-height:44px}.more-btns .btn-item .van-icon[data-v-43b13ff3]{font-size:16px;margin-right:10px}[data-v-43b13ff3] .van-action-sheet__header{text-align:left!important;padding:0 15px;font-size:14px;color:#666}.attachmentContent[data-v-43b13ff3]{max-height:300px;padding:0 10px}.attachmentContent .attachmentContent_son[data-v-43b13ff3]{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-43b13ff3],.attachmentContent .attachmentContent_son .icon_right[data-v-43b13ff3]{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-43b13ff3]{width:calc(100% - 80px)}.attachmentContent .attachmentContent_son .content .name[data-v-43b13ff3]{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-43b13ff3]{height:20px;line-height:20px;font-size:12px;color:#999}[data-v-43b13ff3] .van-action-sheet__content{border-top:1px solid #f7f8fa}[data-v-43b13ff3] .van-action-sheet__close{color:#000;font-size:16px}", ""]);
7237
7237
  // Exports
7238
7238
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7239
7239
 
@@ -7261,7 +7261,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".handle-idea-container[data-v-5a7e7646
7261
7261
 
7262
7262
  /***/ }),
7263
7263
 
7264
- /***/ 7655:
7264
+ /***/ 9764:
7265
7265
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7266
7266
 
7267
7267
  "use strict";
@@ -7275,7 +7275,7 @@ __webpack_require__.r(__webpack_exports__);
7275
7275
 
7276
7276
  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()));
7277
7277
  // Module
7278
- ___CSS_LOADER_EXPORT___.push([module.id, ".van-cell__label[data-v-db68a166]{color:#323323;font-size:14px}.van-cell__value[data-v-db68a166]{color:#666}.van-wform-operate-cell .van-button[data-v-db68a166]{color:#323323;border:1px;margin-right:0}.van-wform-operate-cell .van-button--info[data-v-db68a166]{color:#fff}", ""]);
7278
+ ___CSS_LOADER_EXPORT___.push([module.id, ".van-cell__label[data-v-897ddfa6]{color:#323323;font-size:14px}.van-cell__value[data-v-897ddfa6]{color:#666}.van-wform-operate-cell .van-button[data-v-897ddfa6]{color:#323323;border:1px;margin-right:0}.van-wform-operate-cell .van-button--info[data-v-897ddfa6]{color:#fff}", ""]);
7279
7279
  // Exports
7280
7280
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7281
7281
 
@@ -7303,7 +7303,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".popub-container[data-v-6850137e]{widt
7303
7303
 
7304
7304
  /***/ }),
7305
7305
 
7306
- /***/ 6024:
7306
+ /***/ 1007:
7307
7307
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7308
7308
 
7309
7309
  "use strict";
@@ -7322,7 +7322,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
7322
7322
  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()));
7323
7323
  var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
7324
7324
  // Module
7325
- ___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
+ ___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-3c078a1b]{text-align:right}.submit-handle-container .idea-button-container .van-cell__value .van-button[data-v-3c078a1b]{margin-right:0;margin-left:5px}.submit-handle-container .curIdea-filed[data-v-3c078a1b] .van-cell__title,.submit-handle-container .curIdea-filed[data-v-3c078a1b]:after{display:none}.submit-handle-container .clearfix[data-v-3c078a1b]:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.submit-handle-container .van-wflow-operate-detail-cell[data-v-3c078a1b]:after{border-top-width:0}.submit-handle-container .van-wflow-operate-detail-cell-path[data-v-3c078a1b]:after{border-width:1px;-webkit-transform:scale(.5);transform:scale(.5)}.submit-handle-container .tnLimit-container[data-v-3c078a1b] .van-field__body:after{color:#323233;content:attr(value-suffix)}.submit-handle-container .delete-icon[data-v-3c078a1b]{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.submit-handle-container .delete-icon .van-icon[data-v-3c078a1b]{line-height:24px;margin-left:5px;font-size:16px}.selectBox_title[data-v-3c078a1b]{height:45px;line-height:45px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px}.selectBox_content[data-v-3c078a1b],.selectBox_title[data-v-3c078a1b]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 15px}.selectBox_content[data-v-3c078a1b]{-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-3c078a1b]{border:1px solid #f1f1f1}.selectBox_content .selectBox_content_son[data-v-3c078a1b],.selectBox_content .selectBox_content_son_change[data-v-3c078a1b]{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-3c078a1b]{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-3c078a1b]{white-space:nowrap;overflow:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch}.selectBox_content_sonall[data-v-3c078a1b]:nth-child(4n){margin-right:0}.selectBox_content_sonall[data-v-3c078a1b]::-webkit-scrollbar{display:none}.viewAllComments[data-v-3c078a1b]{height:45px;line-height:45px;text-align:center;color:#b7b7b7;font-size:12px;background:#fff;display:block;width:100%}", ""]);
7326
7326
  // Exports
7327
7327
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7328
7328
 
@@ -32396,35 +32396,35 @@ var update = add("04d25616", content, true, {"sourceMap":false,"shadowMode":fals
32396
32396
 
32397
32397
  /***/ }),
32398
32398
 
32399
- /***/ 3177:
32399
+ /***/ 4645:
32400
32400
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32401
32401
 
32402
32402
  // style-loader: Adds some css to the DOM by adding a <style> tag
32403
32403
 
32404
32404
  // load the styles
32405
- var content = __webpack_require__(6037);
32405
+ var content = __webpack_require__(5577);
32406
32406
  if(content.__esModule) content = content.default;
32407
32407
  if(typeof content === 'string') content = [[module.id, content, '']];
32408
32408
  if(content.locals) module.exports = content.locals;
32409
32409
  // add the styles to the DOM
32410
32410
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32411
- var update = add("3ffd4899", content, true, {"sourceMap":false,"shadowMode":false});
32411
+ var update = add("0d8e31ed", content, true, {"sourceMap":false,"shadowMode":false});
32412
32412
 
32413
32413
  /***/ }),
32414
32414
 
32415
- /***/ 600:
32415
+ /***/ 78:
32416
32416
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32417
32417
 
32418
32418
  // style-loader: Adds some css to the DOM by adding a <style> tag
32419
32419
 
32420
32420
  // load the styles
32421
- var content = __webpack_require__(3500);
32421
+ var content = __webpack_require__(4658);
32422
32422
  if(content.__esModule) content = content.default;
32423
32423
  if(typeof content === 'string') content = [[module.id, content, '']];
32424
32424
  if(content.locals) module.exports = content.locals;
32425
32425
  // add the styles to the DOM
32426
32426
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32427
- var update = add("2534c2ea", content, true, {"sourceMap":false,"shadowMode":false});
32427
+ var update = add("a50b87d6", content, true, {"sourceMap":false,"shadowMode":false});
32428
32428
 
32429
32429
  /***/ }),
32430
32430
 
@@ -32444,19 +32444,19 @@ var update = add("ee8aebfc", content, true, {"sourceMap":false,"shadowMode":fals
32444
32444
 
32445
32445
  /***/ }),
32446
32446
 
32447
- /***/ 9835:
32447
+ /***/ 6416:
32448
32448
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32449
32449
 
32450
32450
  // style-loader: Adds some css to the DOM by adding a <style> tag
32451
32451
 
32452
32452
  // load the styles
32453
- var content = __webpack_require__(7655);
32453
+ var content = __webpack_require__(9764);
32454
32454
  if(content.__esModule) content = content.default;
32455
32455
  if(typeof content === 'string') content = [[module.id, content, '']];
32456
32456
  if(content.locals) module.exports = content.locals;
32457
32457
  // add the styles to the DOM
32458
32458
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32459
- var update = add("1cb37f12", content, true, {"sourceMap":false,"shadowMode":false});
32459
+ var update = add("234659e8", content, true, {"sourceMap":false,"shadowMode":false});
32460
32460
 
32461
32461
  /***/ }),
32462
32462
 
@@ -32476,19 +32476,19 @@ var update = add("41a40148", content, true, {"sourceMap":false,"shadowMode":fals
32476
32476
 
32477
32477
  /***/ }),
32478
32478
 
32479
- /***/ 1364:
32479
+ /***/ 5947:
32480
32480
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32481
32481
 
32482
32482
  // style-loader: Adds some css to the DOM by adding a <style> tag
32483
32483
 
32484
32484
  // load the styles
32485
- var content = __webpack_require__(6024);
32485
+ var content = __webpack_require__(1007);
32486
32486
  if(content.__esModule) content = content.default;
32487
32487
  if(typeof content === 'string') content = [[module.id, content, '']];
32488
32488
  if(content.locals) module.exports = content.locals;
32489
32489
  // add the styles to the DOM
32490
32490
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32491
- var update = add("2869d4b9", content, true, {"sourceMap":false,"shadowMode":false});
32491
+ var update = add("34253910", content, true, {"sourceMap":false,"shadowMode":false});
32492
32492
 
32493
32493
  /***/ }),
32494
32494
 
@@ -55759,8 +55759,8 @@ WfStatus_src.install = function (Vue) {
55759
55759
  Vue.component(WfStatus_src.name, WfStatus_src);
55760
55760
  };
55761
55761
  /* harmony default export */ var WfStatus = (WfStatus_src);
55762
- ;// 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/Attachment.vue?vue&type=template&id=25aa7e12&scoped=true
55763
- var Attachmentvue_type_template_id_25aa7e12_scoped_true_render = function render() {
55762
+ ;// 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/Attachment.vue?vue&type=template&id=2c9f8b86&scoped=true
55763
+ var Attachmentvue_type_template_id_2c9f8b86_scoped_true_render = function render() {
55764
55764
  var _vm = this,
55765
55765
  _c = _vm._self._c;
55766
55766
  return _c('div', {
@@ -56021,7 +56021,7 @@ var Attachmentvue_type_template_id_25aa7e12_scoped_true_render = function render
56021
56021
  }
56022
56022
  })], 1) : _vm._e()], 1);
56023
56023
  };
56024
- var Attachmentvue_type_template_id_25aa7e12_scoped_true_staticRenderFns = [];
56024
+ var Attachmentvue_type_template_id_2c9f8b86_scoped_true_staticRenderFns = [];
56025
56025
 
56026
56026
  ;// 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/Attachment.vue?vue&type=script&lang=js
56027
56027
  function Attachmentvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return Attachmentvue_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; }, Attachmentvue_type_script_lang_js_typeof(o); }
@@ -56746,7 +56746,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56746
56746
  _this.$set($scope, 'bodyfile', attach);
56747
56747
  if (typeof $scope.vo.flBodyFilename !== 'undefined') $scope.vo.flBodyFilename = attach.fileName;
56748
56748
  }
56749
- if (attach.fileName && attach.fileName.substring(attach.fileName.length - 4) === '.pdf') {
56749
+ if (attach.fileName && (attach.fileName.substring(attach.fileName.length - 4) === '.pdf' || attach.fileName.substring(attach.fileName.length - 4) === '.ofd')) {
56750
56750
  _this.$bus.emit('onUploadProgress', attach);
56751
56751
  }
56752
56752
  });
@@ -56882,9 +56882,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56882
56882
  });
56883
56883
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
56884
56884
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
56885
- // 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/Attachment.vue?vue&type=style&index=0&id=25aa7e12&prod&scoped=true&lang=scss
56886
- var Attachmentvue_type_style_index_0_id_25aa7e12_prod_scoped_true_lang_scss = __webpack_require__(3177);
56887
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=25aa7e12&prod&scoped=true&lang=scss
56885
+ // 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/Attachment.vue?vue&type=style&index=0&id=2c9f8b86&prod&scoped=true&lang=scss
56886
+ var Attachmentvue_type_style_index_0_id_2c9f8b86_prod_scoped_true_lang_scss = __webpack_require__(4645);
56887
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=2c9f8b86&prod&scoped=true&lang=scss
56888
56888
 
56889
56889
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
56890
56890
 
@@ -56897,18 +56897,18 @@ var Attachmentvue_type_style_index_0_id_25aa7e12_prod_scoped_true_lang_scss = __
56897
56897
 
56898
56898
  var Attachment_component = (0,componentNormalizer/* default */.A)(
56899
56899
  src_Attachmentvue_type_script_lang_js,
56900
- Attachmentvue_type_template_id_25aa7e12_scoped_true_render,
56901
- Attachmentvue_type_template_id_25aa7e12_scoped_true_staticRenderFns,
56900
+ Attachmentvue_type_template_id_2c9f8b86_scoped_true_render,
56901
+ Attachmentvue_type_template_id_2c9f8b86_scoped_true_staticRenderFns,
56902
56902
  false,
56903
56903
  null,
56904
- "25aa7e12",
56904
+ "2c9f8b86",
56905
56905
  null
56906
56906
 
56907
56907
  )
56908
56908
 
56909
56909
  /* 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=2e25b2ec&scoped=true
56911
- var BodyFilevue_type_template_id_2e25b2ec_scoped_true_render = function render() {
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=43b13ff3&scoped=true
56911
+ var BodyFilevue_type_template_id_43b13ff3_scoped_true_render = function render() {
56912
56912
  var _vm = this,
56913
56913
  _c = _vm._self._c;
56914
56914
  return _c('div', {
@@ -57272,7 +57272,7 @@ var BodyFilevue_type_template_id_2e25b2ec_scoped_true_render = function render()
57272
57272
  })])]) : _vm._e()]) : _vm._e()];
57273
57273
  })], 2)])], 1);
57274
57274
  };
57275
- var BodyFilevue_type_template_id_2e25b2ec_scoped_true_staticRenderFns = [];
57275
+ var BodyFilevue_type_template_id_43b13ff3_scoped_true_staticRenderFns = [];
57276
57276
 
57277
57277
  ;// 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
57278
  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); }
@@ -57408,113 +57408,101 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57408
57408
  mounted: function mounted() {},
57409
57409
  methods: {
57410
57410
  onTabChanged: function onTabChanged(tabActive) {
57411
+ if (this.wflowNavbarList[tabActive] === 'BodyFile') {
57412
+ this.viewBodyFile();
57413
+ }
57414
+ this.setFooterBtns(tabActive);
57415
+ },
57416
+ viewBodyFile: function viewBodyFile() {
57411
57417
  var _this2 = this;
57412
57418
  return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
57419
+ var oriangialName, extName, _this, appUrl, tSessionId, downUrl, fileurl, _fileurl;
57413
57420
  return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
57414
57421
  while (1) switch (_context.prev = _context.next) {
57415
57422
  case 0:
57416
- if (_this2.wflowNavbarList[tabActive] === 'BodyFile') {
57417
- // if (this.$vnode.context.wfInstance.passenger.onlineViewer === 'fuxin') {
57418
- }
57419
- _this2.setFooterBtns(tabActive);
57420
- case 2:
57421
- case "end":
57422
- return _context.stop();
57423
- }
57424
- }, _callee);
57425
- }))();
57426
- },
57427
- viewBodyFile: function viewBodyFile() {
57428
- var _this3 = this;
57429
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
57430
- var oriangialName, extName, _this, appUrl, tSessionId, downUrl, fileurl, _fileurl;
57431
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
57432
- while (1) switch (_context2.prev = _context2.next) {
57433
- case 0:
57434
- if (!(!_this3.flBodyfile || _this3.flBodyfile.id === undefined)) {
57435
- _context2.next = 2;
57423
+ if (!(!_this2.flBodyfile || _this2.flBodyfile.id === undefined)) {
57424
+ _context.next = 2;
57436
57425
  break;
57437
57426
  }
57438
- return _context2.abrupt("return");
57427
+ return _context.abrupt("return");
57439
57428
  case 2:
57440
- _this3.downloadurl = null;
57441
- _this3.bodyFileUrl = '';
57442
- _this3.flBodyfileBak = _this3.flBodyfile;
57443
- oriangialName = _this3.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
57429
+ _this2.viewBodyFileShow = '';
57430
+ _this2.downloadurl = null;
57431
+ _this2.bodyFileUrl = '';
57432
+ _this2.flBodyfileBak = _this2.flBodyfile;
57433
+ oriangialName = _this2.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
57444
57434
  extName = oriangialName.substring(oriangialName.lastIndexOf('.')).toLowerCase();
57445
- _this3.seal = false;
57446
- _this3.$vnode.context.commandBar.forEach(function (btn) {
57447
- if (btn.btnCode === 'btnStampClick' && _this3.$vnode.context.wfInstance.haveDoc === 2) {
57448
- _this3.seal = true;
57435
+ _this2.seal = false;
57436
+ _this2.$vnode.context.commandBar.forEach(function (btn) {
57437
+ if (btn.btnCode === 'btnStampClick' && _this2.$vnode.context.wfInstance.haveDoc === 2) {
57438
+ _this2.seal = true;
57449
57439
  }
57450
57440
  });
57451
- if (_this3.fileNeedSign === 1 && _this3.$vnode.context.wfInstance.haveDoc === 2) {
57452
- _this3.sign = true;
57441
+ if (_this2.fileNeedSign === 1 && _this2.$vnode.context.wfInstance.haveDoc === 2) {
57442
+ _this2.sign = true;
57453
57443
  } else {
57454
- _this3.sign = false;
57444
+ _this2.sign = false;
57455
57445
  }
57456
- _this = _this3;
57457
- if (!(extName === '.ofd' && _this3.onlineViewer === 'fuxin')) {
57458
- _context2.next = 28;
57446
+ _this = _this2;
57447
+ if (!(extName === '.ofd' && _this2.viewer === 'fuxin')) {
57448
+ _context.next = 28;
57459
57449
  break;
57460
57450
  }
57461
57451
  appUrl = location.href.split('#')[0]; // url
57462
57452
  if (appUrl.indexOf('/mindex.html') > -1) {
57463
57453
  appUrl = appUrl.split('/mindex.html')[0];
57464
57454
  }
57465
- _context2.next = 16;
57466
- return _this3.getSessionId();
57467
- case 16:
57468
- tSessionId = _context2.sent;
57455
+ _context.next = 17;
57456
+ return _this2.getSessionId();
57457
+ case 17:
57458
+ tSessionId = _context.sent;
57469
57459
  downUrl = appUrl + "/apigw";
57470
- downUrl += _this3.wfAttachUrl.substring(0, 1) === '/' ? _this3.wfAttachUrl : '/' + _this3.wfAttachUrl;
57471
- downUrl += '/downloadById?attachIds=' + _this3.flBodyfile.id + '&topdf=true';
57472
- // downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
57460
+ downUrl += _this2.wfAttachUrl.substring(0, 1) === '/' ? _this2.wfAttachUrl : '/' + _this2.wfAttachUrl;
57461
+ downUrl += '/downloadById?attachIds=' + _this2.flBodyfile.id + '&topdf=true';
57473
57462
  downUrl += '&tSessionId=' + tSessionId;
57474
- console.log(downUrl);
57475
- if (_this3.fuxinBaseUrl) {
57476
- _this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
57477
- _this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57463
+ if (_this2.fuxinBaseUrl) {
57464
+ _this2.fuxinBaseUrl = _this2.fuxinBaseUrl.replace('/pc/', '/mobile/');
57465
+ _this2.bodyFileUrl = _this2.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57478
57466
  } else {
57479
- _this3.$http({
57467
+ _this2.$http({
57480
57468
  method: 'get',
57481
57469
  contentType: 'application/x-www-form-urlencoded',
57482
57470
  url: 'base/paramConfig/findParamValueByName?orgCode=standard&paramName=fuxin.viewer.url'
57483
57471
  }).then(function (res) {
57484
57472
  if (res.code === 'success') {
57485
- _this3.fuxinBaseUrl = res.body.value;
57486
- _this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
57487
- _this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57473
+ _this2.fuxinBaseUrl = res.body.value;
57474
+ _this2.fuxinBaseUrl = _this2.fuxinBaseUrl.replace('/pc/', '/mobile/');
57475
+ _this2.bodyFileUrl = _this2.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57488
57476
  } else {
57489
- _this3.$toast.fail('未配置福星预览地址参数 fuxin.viewer.url');
57477
+ _this2.$toast.fail('未配置福星预览地址参数 fuxin.viewer.url');
57490
57478
  }
57491
57479
  });
57492
57480
  }
57493
- console.log('bodyFileUrl=====>', _this3.bodyFileUrl);
57494
- _this3.viewBodyFileShow = 'ofd';
57495
- _this3.$nextTick(function () {
57481
+ console.log('bodyFileUrl=====>', _this2.bodyFileUrl);
57482
+ _this2.viewBodyFileShow = 'ofd';
57483
+ _this2.$nextTick(function () {
57496
57484
  if (document.getElementById('changeScreenH')) {
57497
57485
  document.getElementById('changeScreenH').style.display = 'none';
57498
57486
  }
57499
57487
  });
57500
57488
  _this.loaded = false;
57501
- return _context2.abrupt("return");
57489
+ return _context.abrupt("return");
57502
57490
  case 28:
57503
- _this3.viewer = 'pdfjs';
57504
- if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (_this3.viewer === 'pdfjs' || _this3.sign || _this3.seal)) {
57505
- _this3.viewBodyFileShow = 'pdf';
57506
- if (_this3.sign || _this3.seal) {
57507
- _this3.waterMark = false;
57491
+ _this2.viewer = 'pdfjs';
57492
+ if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (_this2.viewer === 'pdfjs' || _this2.sign || _this2.seal)) {
57493
+ _this2.viewBodyFileShow = 'pdf';
57494
+ if (_this2.sign || _this2.seal) {
57495
+ _this2.waterMark = false;
57508
57496
  }
57509
- fileurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&widthType=auto&viewType=mobile';
57510
- fileurl += '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57511
- if (_this3.flBodyfile.fileName.indexOf('{') !== -1 || _this3.flBodyfile.fileName.indexOf('%') !== -1 || _this3.flBodyfile.fileName.indexOf('[') !== -1) {
57512
- fileurl += '&fileName=' + encodeURIComponent(_this3.flBodyfile.fileName);
57497
+ fileurl = "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this2.flBodyfile.id + '&widthType=auto&viewType=mobile';
57498
+ fileurl += '&httpPort=' + location.port + '&waterMark=' + _this2.waterMark + '&markContent=' + _this2.markContent;
57499
+ if (_this2.flBodyfile.fileName.indexOf('{') !== -1 || _this2.flBodyfile.fileName.indexOf('%') !== -1 || _this2.flBodyfile.fileName.indexOf('[') !== -1) {
57500
+ fileurl += '&fileName=' + encodeURIComponent(_this2.flBodyfile.fileName);
57513
57501
  } else {
57514
- fileurl += '&fileName=' + _this3.flBodyfile.fileName;
57502
+ fileurl += '&fileName=' + _this2.flBodyfile.fileName;
57515
57503
  }
57516
- _this3.bodyFileUrl = './plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(fileurl);
57517
- _this3.$nextTick(function () {
57504
+ _this2.bodyFileUrl = './plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(fileurl);
57505
+ _this2.$nextTick(function () {
57518
57506
  var iframe = document.getElementById('pdfHtml');
57519
57507
  if (iframe == null) return;
57520
57508
  if (iframe.attachEvent) {
@@ -57528,38 +57516,38 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57528
57516
  }
57529
57517
  });
57530
57518
  } else if (extName === '.ofd') {
57531
- _this3.sign = false;
57532
- _this3.seal = false;
57533
- _this3.viewBodyFileShow = 'ofd';
57534
- _fileurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&widthType=auto&viewType=mobile';
57535
- if (_this3.flBodyfile.fileName.indexOf('{') !== -1 || _this3.flBodyfile.fileName.indexOf('%') !== -1 || _this3.flBodyfile.fileName.indexOf('[') !== -1) {
57536
- _fileurl += '&fileName=' + encodeURIComponent(_this3.flBodyfile.fileName);
57519
+ _this2.sign = false;
57520
+ _this2.seal = false;
57521
+ _this2.viewBodyFileShow = 'ofd';
57522
+ _fileurl = "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this2.flBodyfile.id + '&widthType=auto&viewType=mobile';
57523
+ if (_this2.flBodyfile.fileName.indexOf('{') !== -1 || _this2.flBodyfile.fileName.indexOf('%') !== -1 || _this2.flBodyfile.fileName.indexOf('[') !== -1) {
57524
+ _fileurl += '&fileName=' + encodeURIComponent(_this2.flBodyfile.fileName);
57537
57525
  } else {
57538
- _fileurl += '&fileName=' + _this3.flBodyfile.fileName;
57526
+ _fileurl += '&fileName=' + _this2.flBodyfile.fileName;
57539
57527
  }
57540
- _fileurl += '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57541
- _this3.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
57528
+ _fileurl += '&httpPort=' + location.port + '&waterMark=' + _this2.waterMark + '&markContent=' + _this2.markContent;
57529
+ _this2.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
57542
57530
  _this.loaded = false;
57543
- } else if (_this3.viewer.indexOf('dcs=') === 0) {
57544
- _this3.sign = false;
57545
- _this3.seal = false;
57546
- _this3.$http({
57531
+ } else if (_this2.viewer.indexOf('dcs=') === 0) {
57532
+ _this2.sign = false;
57533
+ _this2.seal = false;
57534
+ _this2.$http({
57547
57535
  method: 'GET',
57548
57536
  url: 'base/user/getSessionId'
57549
57537
  }).then(function (res) {
57550
57538
  if (res.code === 'success') {
57551
57539
  var _tSessionId = res.body.tSessionId;
57552
57540
  var hostname = location.href.split('mindex.html')[0];
57553
- var _downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?attachIds=' + _this3.flBodyfile.id + '&httpPort=' + location.port + '&tSessionId=' + _tSessionId;
57541
+ var _downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?attachIds=' + _this2.flBodyfile.id + '&httpPort=' + location.port + '&tSessionId=' + _tSessionId;
57554
57542
  var convertType = '0';
57555
- if (_this3.extName === '.ofd') {
57543
+ if (_this2.extName === '.ofd') {
57556
57544
  convertType = '21';
57557
- } else if (_this3.extName === '.pdf' || _this3.extName === '.pdfx') {
57545
+ } else if (_this2.extName === '.pdf' || _this2.extName === '.pdfx') {
57558
57546
  convertType = '20';
57559
57547
  }
57560
- _downUrl = _this3.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(_downUrl);
57561
- if (_this3.viewerUrlParams) {
57562
- _downUrl += '&' + _this3.viewerUrlParams;
57548
+ _downUrl = _this2.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(_downUrl);
57549
+ if (_this2.viewerUrlParams) {
57550
+ _downUrl += '&' + _this2.viewerUrlParams;
57563
57551
  }
57564
57552
  if (_downUrl.indexOf('&acceptTracks=0') === -1) {
57565
57553
  _downUrl += '&acceptTracks=0';
@@ -57569,7 +57557,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57569
57557
  if (res.errorcode === 0) {
57570
57558
  _this.bodyFileUrl = res.data.viewUrl;
57571
57559
  } else {
57572
- _this3.$dialog.alert({
57560
+ _this2.$dialog.alert({
57573
57561
  message: res.message
57574
57562
  });
57575
57563
  }
@@ -57577,19 +57565,19 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57577
57565
  }
57578
57566
  });
57579
57567
  } else {
57580
- _this3.downloadurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57568
+ _this2.downloadurl = "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this2.flBodyfile.id + '&httpPort=' + location.port + '&waterMark=' + _this2.waterMark + '&markContent=' + _this2.markContent;
57581
57569
  }
57582
57570
  case 30:
57583
57571
  case "end":
57584
- return _context2.stop();
57572
+ return _context.stop();
57585
57573
  }
57586
- }, _callee2);
57574
+ }, _callee);
57587
57575
  }))();
57588
57576
  },
57589
57577
  getSessionId: function getSessionId() {
57590
- var _this4 = this;
57578
+ var _this3 = this;
57591
57579
  return new Promise(function (resolve, reject) {
57592
- _this4.$http({
57580
+ _this3.$http({
57593
57581
  method: 'GET',
57594
57582
  params: {
57595
57583
  timeLength: 60
@@ -57605,42 +57593,42 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57605
57593
  });
57606
57594
  },
57607
57595
  reloadBodyFile: function reloadBodyFile() {
57608
- var _this5 = this;
57596
+ var _this4 = this;
57609
57597
  this.downloadurl = null;
57610
57598
  this.bodyFileUrl = '';
57611
57599
  this.$nextTick(function () {
57612
- _this5.viewBodyFile();
57600
+ _this4.viewBodyFile();
57613
57601
  });
57614
57602
  },
57615
57603
  setFooterBtns: function setFooterBtns(tabActive) {
57616
- var _this6 = this;
57617
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
57604
+ var _this5 = this;
57605
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
57618
57606
  var footerBtns, i, btn, isSeal, bodyFileList, openDocBtn, _openDocBtn, downloadBtn, historyFilesBtn, otherAppBtn, uploadBtn, _uploadBtn, editdocBtn, RedTitleBtn, _openDocBtn2, attachmentsTitleBtn, moreBtns, _i;
57619
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
57620
- while (1) switch (_context3.prev = _context3.next) {
57607
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
57608
+ while (1) switch (_context2.prev = _context2.next) {
57621
57609
  case 0:
57622
57610
  footerBtns = [];
57623
- if (!(_this6.wflowNavbarList[tabActive] !== 'BodyFile')) {
57624
- _context3.next = 5;
57611
+ if (!(_this5.wflowNavbarList[tabActive] !== 'BodyFile')) {
57612
+ _context2.next = 5;
57625
57613
  break;
57626
57614
  }
57627
- _this6.$vnode.context.setFooterBtns();
57628
- _context3.next = 30;
57615
+ _this5.$vnode.context.setFooterBtns();
57616
+ _context2.next = 22;
57629
57617
  break;
57630
57618
  case 5:
57631
- if (!_this6.pdfSealChange) {
57632
- _context3.next = 8;
57619
+ if (!_this5.pdfSealChange) {
57620
+ _context2.next = 8;
57633
57621
  break;
57634
57622
  }
57635
- _this6.setBtnSealSave();
57636
- return _context3.abrupt("return");
57623
+ _this5.setBtnSealSave();
57624
+ return _context2.abrupt("return");
57637
57625
  case 8:
57638
- if (!_this6.pdfSignChange) {
57639
- _context3.next = 11;
57626
+ if (!_this5.pdfSignChange) {
57627
+ _context2.next = 11;
57640
57628
  break;
57641
57629
  }
57642
- _this6.setBtnSingSave();
57643
- return _context3.abrupt("return");
57630
+ _this5.setBtnSingSave();
57631
+ return _context2.abrupt("return");
57644
57632
  case 11:
57645
57633
  for (i = 0; i < footerBtns.length; i++) {
57646
57634
  btn = footerBtns[i];
@@ -57649,10 +57637,10 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57649
57637
  }
57650
57638
  }
57651
57639
  isSeal = false;
57652
- if (_this6.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57640
+ if (_this5.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57653
57641
  // 套红模式下需要先套红在盖章
57654
- console.log(_this6.attachments, 'attachment');
57655
- bodyFileList = _this6.attachments.filter(function (item) {
57642
+ console.log(_this5.attachments, 'attachment');
57643
+ bodyFileList = _this5.attachments.filter(function (item) {
57656
57644
  return item.fileType === 'BODY';
57657
57645
  });
57658
57646
  if (bodyFileList && bodyFileList.length > 0) {
@@ -57662,7 +57650,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57662
57650
  bodyFileList.forEach(function (item) {
57663
57651
  var fileName = item.fileName;
57664
57652
  var bodyFileName = item.bodyFileName ? item.bodyFileName : item.fileName;
57665
- if (bodyFileName.includes('RedTitle_') || bodyFileName === _this6.$vnode.context.vo.flbodyfilename || fileName === _this6.$vnode.context.vo.flbodyfilename || fileName.includes('RedTitle_')) {
57653
+ if (bodyFileName.includes('RedTitle_') || bodyFileName === _this5.$vnode.context.vo.flbodyfilename || fileName === _this5.$vnode.context.vo.flbodyfilename || fileName.includes('RedTitle_')) {
57666
57654
  isSeal = true;
57667
57655
  }
57668
57656
  });
@@ -57672,47 +57660,47 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57672
57660
  // 非套红模式下可直接盖章
57673
57661
  isSeal = true;
57674
57662
  }
57675
- if (_this6.curTN.tnCanEdit === 1) {
57676
- if (_this6.seal && isSeal) {
57663
+ if (_this5.curTN.tnCanEdit === 1) {
57664
+ if (_this5.seal && isSeal) {
57677
57665
  openDocBtn = {
57678
57666
  id: 'btn_openDoc',
57679
57667
  btnName: '盖 章',
57680
57668
  btnIcon: 'upload',
57681
- btnClick: _this6.openSeal,
57669
+ btnClick: _this5.openSeal,
57682
57670
  btnPermission: '',
57683
57671
  btnStyleType: 'default'
57684
57672
  };
57685
57673
  footerBtns.splice(0, 0, openDocBtn);
57686
57674
  }
57687
- if (_this6.sign && isSeal) {
57675
+ if (_this5.sign && isSeal) {
57688
57676
  _openDocBtn = {
57689
57677
  id: 'btn_openDoc',
57690
57678
  btnName: '签 名',
57691
57679
  btnIcon: 'upload',
57692
- btnClick: _this6.pdfSign,
57680
+ btnClick: _this5.pdfSign,
57693
57681
  btnPermission: '',
57694
57682
  btnStyleType: 'default'
57695
57683
  };
57696
57684
  footerBtns.splice(0, 0, _openDocBtn);
57697
57685
  }
57698
57686
  }
57699
- if (_this6.flBodyfile) {
57687
+ if (_this5.flBodyfile) {
57700
57688
  downloadBtn = {
57701
57689
  id: 'btn_download',
57702
57690
  btnName: '下 载',
57703
57691
  btnIcon: 'download',
57704
- btnClick: _this6.downLoadFile,
57692
+ btnClick: _this5.downLoadFile,
57705
57693
  btnPermission: '',
57706
57694
  btnStyleType: 'default'
57707
57695
  };
57708
57696
  footerBtns.splice(0, 0, downloadBtn);
57709
57697
  }
57710
- if (_this6.flBodyfile && _this6.flBodyfile.fileId) {
57698
+ if (_this5.flBodyfile && _this5.flBodyfile.fileId) {
57711
57699
  historyFilesBtn = {
57712
57700
  id: 'btn_historyFiles',
57713
57701
  btnName: '历史版本',
57714
57702
  btnIcon: 'upload',
57715
- btnClick: _this6.btnViewHistoryFilesClick,
57703
+ btnClick: _this5.btnViewHistoryFilesClick,
57716
57704
  btnPermission: '',
57717
57705
  btnStyleType: 'default'
57718
57706
  };
@@ -57723,19 +57711,19 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57723
57711
  id: 'btn_otherApp',
57724
57712
  btnName: '其它应用打开',
57725
57713
  btnIcon: 'otherApp',
57726
- btnClick: _this6.btnOtherAppOpenClick,
57714
+ btnClick: _this5.btnOtherAppOpenClick,
57727
57715
  btnPermission: '',
57728
57716
  btnStyleType: 'default'
57729
57717
  };
57730
57718
  footerBtns.splice(0, 0, otherAppBtn);
57731
57719
  }
57732
- if (_this6.curTN.tnCanEdit === 1) {
57733
- if (!_this6.flBodyfile || !_this6.flBodyfile.id) {
57720
+ if (_this5.curTN.tnCanEdit === 1) {
57721
+ if (!_this5.flBodyfile || !_this5.flBodyfile.id) {
57734
57722
  uploadBtn = {
57735
57723
  id: 'btn_upload',
57736
57724
  btnName: '上传正文',
57737
57725
  btnIcon: 'upload',
57738
- btnClick: _this6.btnUploadBodyfileClick,
57726
+ btnClick: _this5.btnUploadBodyfileClick,
57739
57727
  btnPermission: '',
57740
57728
  btnStyleType: 'default'
57741
57729
  };
@@ -57745,25 +57733,25 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57745
57733
  id: 'btn_upload',
57746
57734
  btnName: '重新上传',
57747
57735
  btnIcon: 'upload',
57748
- btnClick: _this6.btnUploadBodyfileClick,
57736
+ btnClick: _this5.btnUploadBodyfileClick,
57749
57737
  btnPermission: '',
57750
57738
  btnStyleType: 'default'
57751
57739
  };
57752
57740
  footerBtns.splice(0, 0, _uploadBtn);
57753
57741
  }
57754
- editdocBtn = _this6.$vnode.context.commandBar.filter(function (btn) {
57742
+ editdocBtn = _this5.$vnode.context.commandBar.filter(function (btn) {
57755
57743
  if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnOpenWordClick') === 0) return true;
57756
57744
  });
57757
- if (_this6.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57745
+ if (_this5.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57758
57746
  // 套红按钮
57759
- RedTitleBtn = _this6.$vnode.context.commandBar.filter(function (btn) {
57747
+ RedTitleBtn = _this5.$vnode.context.commandBar.filter(function (btn) {
57760
57748
  if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnNoTitleModifyFlTypeClick') === 0) return true;
57761
57749
  });
57762
- RedTitleBtn.btnClick = _this6.btnNoTitleModifyFlTypeClick;
57763
- if (_this6.$vnode.context.wfInstance.haveDoc === 2 && editdocBtn.length > 0) {
57750
+ RedTitleBtn.btnClick = _this5.btnNoTitleModifyFlTypeClick;
57751
+ if (_this5.$vnode.context.wfInstance.haveDoc === 2 && editdocBtn.length > 0) {
57764
57752
  RedTitleBtn.btnName = '重新套红';
57765
57753
  footerBtns.splice(0, 0, RedTitleBtn);
57766
- } else if (_this6.$vnode.context.wfInstance.haveDoc === 1 && editdocBtn.length > 0) {
57754
+ } else if (_this5.$vnode.context.wfInstance.haveDoc === 1 && editdocBtn.length > 0) {
57767
57755
  RedTitleBtn.btnName = '套红';
57768
57756
  footerBtns.splice(0, 0, RedTitleBtn);
57769
57757
  }
@@ -57778,12 +57766,12 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57778
57766
  // }
57779
57767
  // }
57780
57768
 
57781
- if (editdocBtn.length > 0 && (_this6.officeType === 'wpsh5' || _this6.officeType === 'yzh5' || _this6.officeType === 'ech5')) {
57769
+ if (editdocBtn.length > 0 && (_this5.officeType === 'wpsh5' || _this5.officeType === 'yzh5' || _this5.officeType === 'ech5')) {
57782
57770
  _openDocBtn2 = {
57783
57771
  id: 'btn_openDoc',
57784
57772
  btnName: '编辑正文',
57785
57773
  btnIcon: 'upload',
57786
- btnClick: _this6.btnOpenWordClick,
57774
+ btnClick: _this5.btnOpenWordClick,
57787
57775
  btnPermission: '',
57788
57776
  btnStyleType: 'default'
57789
57777
  };
@@ -57791,14 +57779,14 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57791
57779
  }
57792
57780
 
57793
57781
  // if (this.attachments.some(item => item.fileType !== 'BODY')) {
57794
- _this6.attachmentsNum = _this6.attachments.filter(function (val) {
57782
+ _this5.attachmentsNum = _this5.attachments.filter(function (val) {
57795
57783
  return val.fileType !== 'BODY';
57796
57784
  }).length;
57797
57785
  attachmentsTitleBtn = {
57798
57786
  id: 'btn_attachment',
57799
- btnName: "\u9644 \u4EF6(".concat(_this6.attachmentsNum, ")"),
57787
+ btnName: "\u9644 \u4EF6(".concat(_this5.attachmentsNum, ")"),
57800
57788
  btnIcon: 'attachment',
57801
- btnClick: _this6.attachmentFile,
57789
+ btnClick: _this5.attachmentFile,
57802
57790
  btnPermission: '',
57803
57791
  btnStyleType: 'default'
57804
57792
  };
@@ -57821,42 +57809,13 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57821
57809
  }
57822
57810
  footerBtns.splice(1, 0, moreBtns);
57823
57811
  }
57824
- console.log('this.viewer', _this6);
57825
- if (!(_this6.viewer === 'fuxin' && !_this6.fuxinBaseUrl)) {
57826
- _context3.next = 26;
57827
- break;
57828
- }
57829
- _context3.next = 24;
57830
- return _this6.$http({
57831
- method: 'get',
57832
- contentType: 'application/x-www-form-urlencoded',
57833
- url: 'base/paramConfig/findParamValueByName?orgCode=standard&paramName=fuxin.viewer.url'
57834
- }).then(function (res) {
57835
- if (res.code === 'success') {
57836
- _this6.fuxinBaseUrl = res.body.value;
57837
- _this6.onlineViewer = 'fuxin';
57838
- } else {
57839
- _this6.onlineViewer = 'pdfjs';
57840
- }
57841
- });
57842
- case 24:
57843
- _context3.next = 27;
57844
- break;
57845
- case 26:
57846
- if (_this6.viewer === 'fuxin' && _this6.fuxinBaseUrl) {
57847
- _this6.onlineViewer = _this6.viewer;
57848
- } else {
57849
- _this6.onlineViewer = _this6.viewer || 'pdfjs';
57850
- }
57851
- case 27:
57852
- _this6.viewBodyFile();
57853
57812
  console.log(footerBtns, 'footerBtns --- >363');
57854
- _this6.$vnode.context.footerBtns = footerBtns;
57855
- case 30:
57813
+ _this5.$vnode.context.footerBtns = footerBtns;
57814
+ case 22:
57856
57815
  case "end":
57857
- return _context3.stop();
57816
+ return _context2.stop();
57858
57817
  }
57859
- }, _callee3);
57818
+ }, _callee2);
57860
57819
  }))();
57861
57820
  },
57862
57821
  // 选择印章
@@ -57877,21 +57836,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57877
57836
  },
57878
57837
  // 保存印章
57879
57838
  pdfSealSave: function pdfSealSave() {
57880
- var _this7 = this;
57881
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
57882
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
57883
- while (1) switch (_context4.prev = _context4.next) {
57839
+ var _this6 = this;
57840
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
57841
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
57842
+ while (1) switch (_context3.prev = _context3.next) {
57884
57843
  case 0:
57885
- _context4.next = 2;
57886
- return _this7.$refs.PdfTools.pdfStamp();
57844
+ _context3.next = 2;
57845
+ return _this6.$refs.PdfTools.pdfStamp();
57887
57846
  case 2:
57888
- _this7.pdfSealChange = false;
57889
- _this7.setFooterBtns(0);
57847
+ _this6.pdfSealChange = false;
57848
+ _this6.setFooterBtns(0);
57890
57849
  case 4:
57891
57850
  case "end":
57892
- return _context4.stop();
57851
+ return _context3.stop();
57893
57852
  }
57894
- }, _callee4);
57853
+ }, _callee3);
57895
57854
  }))();
57896
57855
  },
57897
57856
  // 添加签名
@@ -57912,21 +57871,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57912
57871
  },
57913
57872
  // 保存签名
57914
57873
  pdfSignSave: function pdfSignSave() {
57915
- var _this8 = this;
57916
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
57917
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
57918
- while (1) switch (_context5.prev = _context5.next) {
57874
+ var _this7 = this;
57875
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
57876
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
57877
+ while (1) switch (_context4.prev = _context4.next) {
57919
57878
  case 0:
57920
- _context5.next = 2;
57921
- return _this8.$refs.PdfTools.pdfSign();
57879
+ _context4.next = 2;
57880
+ return _this7.$refs.PdfTools.pdfSign();
57922
57881
  case 2:
57923
- _this8.pdfSignChange = false;
57924
- _this8.setFooterBtns(0);
57882
+ _this7.pdfSignChange = false;
57883
+ _this7.setFooterBtns(0);
57925
57884
  case 4:
57926
57885
  case "end":
57927
- return _context5.stop();
57886
+ return _context4.stop();
57928
57887
  }
57929
- }, _callee5);
57888
+ }, _callee4);
57930
57889
  }))();
57931
57890
  },
57932
57891
  attachmentDownloadClick: function attachmentDownloadClick(attachment) {
@@ -57946,21 +57905,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57946
57905
  this.$wv.showAttachmentOtherApps(this.flBodyfile);
57947
57906
  },
57948
57907
  btnUploadBodyfileClick: function btnUploadBodyfileClick() {
57949
- var _this9 = this;
57908
+ var _this8 = this;
57950
57909
  new Promise(function (resolve, reject) {
57951
- if (_this9.$vnode.context.wfInstance.haveDoc) {
57952
- _this9.$dialog.confirm({
57953
- message: _this9.$tx('ecmapp.wflowform.coverMainText', '重新上传会覆盖现有正文,是否确认?')
57954
- }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
57955
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
57956
- while (1) switch (_context6.prev = _context6.next) {
57910
+ if (_this8.$vnode.context.wfInstance.haveDoc) {
57911
+ _this8.$dialog.confirm({
57912
+ message: _this8.$tx('ecmapp.wflowform.coverMainText', '重新上传会覆盖现有正文,是否确认?')
57913
+ }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
57914
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
57915
+ while (1) switch (_context5.prev = _context5.next) {
57957
57916
  case 0:
57958
57917
  resolve(true);
57959
57918
  case 1:
57960
57919
  case "end":
57961
- return _context6.stop();
57920
+ return _context5.stop();
57962
57921
  }
57963
- }, _callee6);
57922
+ }, _callee5);
57964
57923
  }))).catch(function () {
57965
57924
  reject('cancel btnUploadBodyfileClick.');
57966
57925
  });
@@ -57968,19 +57927,19 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57968
57927
  resolve(true);
57969
57928
  }
57970
57929
  }).then(function (result) {
57971
- _this9.uploadList = [];
57972
- _this9.$vnode.context.formValidate(function () {
57973
- _this9.$vnode.context.submitHandle.submitType = 'Save';
57930
+ _this8.uploadList = [];
57931
+ _this8.$vnode.context.formValidate(function () {
57932
+ _this8.$vnode.context.submitHandle.submitType = 'Save';
57974
57933
  new Promise(function (resolve, reject) {
57975
- _this9.$vnode.context.formEvents.onWflowFormBeforeSubmit(_this9.$vnode.context, {
57934
+ _this8.$vnode.context.formEvents.onWflowFormBeforeSubmit(_this8.$vnode.context, {
57976
57935
  resolve: resolve,
57977
57936
  reject: reject
57978
57937
  });
57979
57938
  }).then(function (result) {
57980
57939
  if (!result) return;
57981
- _this9.flBodyfile = _this9.flBodyfileBak;
57982
- _this9.$nextTick(function () {
57983
- var uploadBtn = _this9.$el.querySelector('.van-uploader__input');
57940
+ _this8.flBodyfile = _this8.flBodyfileBak;
57941
+ _this8.$nextTick(function () {
57942
+ var uploadBtn = _this8.$el.querySelector('.van-uploader__input');
57984
57943
  uploadBtn.click();
57985
57944
  });
57986
57945
  });
@@ -57990,7 +57949,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57990
57949
  });
57991
57950
  },
57992
57951
  btnOpenWordClick: function btnOpenWordClick() {
57993
- var _this10 = this;
57952
+ var _this9 = this;
57994
57953
  // 编辑正文
57995
57954
  if (this.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57996
57955
  if (this.$vnode.context.wfInstance.haveDoc === 2) {
@@ -57999,7 +57958,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57999
57958
  message: this.$tx('ecmapp.wflowform.alreadlyRed', '该公文已经套红,重新编辑正文后需要重套红!是否继续?'),
58000
57959
  title: this.$tx('common.confirm', '确认操作')
58001
57960
  }).then(function () {
58002
- _this10.$bus.emit('btnOpenWordClick', _this10.$vnode.context);
57961
+ _this9.$bus.emit('btnOpenWordClick', _this9.$vnode.context);
58003
57962
  }).catch(function () {
58004
57963
  // 处理选择否的情况
58005
57964
  return;
@@ -58026,7 +57985,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58026
57985
  });
58027
57986
  },
58028
57987
  handleUploadChange: function handleUploadChange(file) {
58029
- var _this11 = this;
57988
+ var _this10 = this;
58030
57989
  var fileName = file.file.name;
58031
57990
  var extName = fileName.substring(fileName.lastIndexOf('.')).toLowerCase();
58032
57991
  if (this.accept.indexOf(extName) === -1) {
@@ -58062,7 +58021,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58062
58021
  this.$set(this.$vnode.context, 'bodyfile', attach);
58063
58022
  this.bodyFileUrl = '';
58064
58023
  this.$nextTick(function () {
58065
- _this11.$vnode.context.btnSubmitClick('Save');
58024
+ _this10.$vnode.context.btnSubmitClick('Save');
58066
58025
  });
58067
58026
  },
58068
58027
  onUploadProgress: function onUploadProgress(attach) {
@@ -58110,7 +58069,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58110
58069
  }
58111
58070
  },
58112
58071
  btnViewHistoryFilesClick: function btnViewHistoryFilesClick(bodyfile) {
58113
- var _this12 = this;
58072
+ var _this11 = this;
58114
58073
  this.historyDialogVisible = true;
58115
58074
  var listdataUrl = this.wfAttachUrl + '/listAttach';
58116
58075
  var fileId = bodyfile ? bodyfile.fileId : this.flBodyfile.fileId;
@@ -58126,18 +58085,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58126
58085
  url: listdataUrl
58127
58086
  }).then(function (res) {
58128
58087
  if (res.code === 'success') {
58129
- _this12.historyFiles = res.body.pageInfo.list.filter(function (attach) {
58130
- if (_this12.flBodyfile.id !== attach.id && attach.fileStatus === 1 && attach.originalName === _this12.flBodyfile.originalName) {
58131
- _this12.flBodyfile = attach;
58132
- _this12.$vnode.context.bodyfile = _this12.flBodyfile;
58133
- _this12.reloadBodyFile();
58088
+ _this11.historyFiles = res.body.pageInfo.list.filter(function (attach) {
58089
+ if (_this11.flBodyfile.id !== attach.id && attach.fileStatus === 1 && attach.originalName === _this11.flBodyfile.originalName) {
58090
+ _this11.flBodyfile = attach;
58091
+ _this11.$vnode.context.bodyfile = _this11.flBodyfile;
58092
+ _this11.reloadBodyFile();
58134
58093
  }
58135
58094
  attach.updateTime = formatTime(attach.updateTime);
58136
58095
  attach.avatarUrl = "/apigw" + '/base/user/downloadPhotoByAccount?orgCode=' + attach.orgCode + '&account=' + attach.updateBy + '&httpPort=' + location.port;
58137
58096
  return true;
58138
58097
  });
58139
58098
  } else {
58140
- _this12.$dialog.alert({
58099
+ _this11.$dialog.alert({
58141
58100
  message: res.message,
58142
58101
  type: 'error'
58143
58102
  });
@@ -58154,7 +58113,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58154
58113
  this.clickAttach = attach;
58155
58114
  },
58156
58115
  moreMenuitemClick: function moreMenuitemClick(command) {
58157
- var _this13 = this;
58116
+ var _this12 = this;
58158
58117
  if (command.indexOf('view') !== -1) {
58159
58118
  this.downHistoryFile(this.clickAttach);
58160
58119
  } else if (command.indexOf('remove') !== -1) {
@@ -58162,7 +58121,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58162
58121
  } else if (command.indexOf('download') !== -1) {
58163
58122
  var attachIds = this.clickAttach.id;
58164
58123
  this.historyFiles.forEach(function (attach) {
58165
- if (attach.fileVer && attach.fileVer === _this13.clickAttach.fileVer && attach.id !== _this13.clickAttach.id) {
58124
+ if (attach.fileVer && attach.fileVer === _this12.clickAttach.fileVer && attach.id !== _this12.clickAttach.id) {
58166
58125
  attachIds += ',' + attach.id;
58167
58126
  }
58168
58127
  });
@@ -58177,7 +58136,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58177
58136
  this.showMoreBtn = false;
58178
58137
  },
58179
58138
  removeBodyfile: function removeBodyfile(flBodyfile) {
58180
- var _this14 = this;
58139
+ var _this13 = this;
58181
58140
  var confirmMsg = this.$tx('ecmapp.wflowform.delCurrentVersion', '您是否确认删除当前版本文件?');
58182
58141
  if (flBodyfile.fileStatus === 8) {
58183
58142
  confirmMsg = this.$tx('ecmapp.wflowform.delHistoricalVersion', '您是否确认删除历史版本文件?');
@@ -58185,10 +58144,10 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58185
58144
  var _this = this;
58186
58145
  this.$dialog.confirm({
58187
58146
  message: confirmMsg
58188
- }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee7() {
58147
+ }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
58189
58148
  var deleteIds, originalName, i;
58190
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee7$(_context7) {
58191
- while (1) switch (_context7.prev = _context7.next) {
58149
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
58150
+ while (1) switch (_context6.prev = _context6.next) {
58192
58151
  case 0:
58193
58152
  deleteIds = flBodyfile.id;
58194
58153
  originalName = flBodyfile.originalName.substring(0, flBodyfile.originalName.indexOf('.'));
@@ -58199,44 +58158,44 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58199
58158
  }
58200
58159
  }
58201
58160
  }
58202
- _this14.$http({
58161
+ _this13.$http({
58203
58162
  method: 'DELETE',
58204
58163
  contentType: 'application/x-www-form-urlencoded',
58205
58164
  params: {
58206
58165
  attachIds: deleteIds
58207
58166
  },
58208
- url: _this14.wfAttachUrl + '/delete'
58167
+ url: _this13.wfAttachUrl + '/delete'
58209
58168
  }).then(function (res) {
58210
58169
  if (res.code === 'success') {
58211
- for (var i = 0; i < _this14.attachments.length; i++) {
58212
- if (_this14.attachments[i].id === flBodyfile.id || _this14.attachments[i].originalName.indexOf(originalName + '.pdf') === 0) {
58213
- _this14.attachments.splice(i--, 1);
58170
+ for (var i = 0; i < _this13.attachments.length; i++) {
58171
+ if (_this13.attachments[i].id === flBodyfile.id || _this13.attachments[i].originalName.indexOf(originalName + '.pdf') === 0) {
58172
+ _this13.attachments.splice(i--, 1);
58214
58173
  }
58215
58174
  }
58216
- _this14.btnViewHistoryFilesClick(_this14.flBodyfile);
58175
+ _this13.btnViewHistoryFilesClick(_this13.flBodyfile);
58217
58176
  if (flBodyfile.fileStatus !== 8) {
58218
- if (typeof _this14.vo.flBodyFilename !== 'undefined') _this14.vo.flBodyFilename = null;
58219
- if (typeof _this14.vo.signedFileName !== 'undefined') _this14.vo.signedFileName = null; //盖章文件名
58220
- if (typeof _this14.vo.sealFileName !== 'undefined') _this14.vo.sealFileName = null; //签章平台文件名
58177
+ if (typeof _this13.vo.flBodyFilename !== 'undefined') _this13.vo.flBodyFilename = null;
58178
+ if (typeof _this13.vo.signedFileName !== 'undefined') _this13.vo.signedFileName = null; //盖章文件名
58179
+ if (typeof _this13.vo.sealFileName !== 'undefined') _this13.vo.sealFileName = null; //签章平台文件名
58221
58180
 
58222
- _this14.$vnode.context.commandBar.forEach(function (btn) {
58181
+ _this13.$vnode.context.commandBar.forEach(function (btn) {
58223
58182
  if (btn.btnCode === 'btnOpenWordClick') {
58224
58183
  btn.btnShow = true;
58225
58184
  }
58226
58185
  });
58227
58186
  if (!res.body.restoreHistoryFile) {
58228
- _this14.flBodyfile = {
58187
+ _this13.flBodyfile = {
58229
58188
  file: {
58230
58189
  name: ''
58231
58190
  }
58232
58191
  };
58233
- _this14.$vnode.context.bodyfile = _this14.flBodyfile;
58234
- _this14.$vnode.context.wfInstance.haveDoc = 0;
58192
+ _this13.$vnode.context.bodyfile = _this13.flBodyfile;
58193
+ _this13.$vnode.context.wfInstance.haveDoc = 0;
58235
58194
  }
58236
- _this14.$vnode.context.btnSubmitClick('Save');
58195
+ _this13.$vnode.context.btnSubmitClick('Save');
58237
58196
  }
58238
58197
  } else {
58239
- _this14.$dialog.alert({
58198
+ _this13.$dialog.alert({
58240
58199
  message: res.message,
58241
58200
  type: 'error'
58242
58201
  });
@@ -58244,18 +58203,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58244
58203
  });
58245
58204
  case 4:
58246
58205
  case "end":
58247
- return _context7.stop();
58206
+ return _context6.stop();
58248
58207
  }
58249
- }, _callee7);
58208
+ }, _callee6);
58250
58209
  })));
58251
58210
  }
58252
58211
  }
58253
58212
  });
58254
58213
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
58255
58214
  /* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
58256
- // 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=2e25b2ec&prod&scoped=true&lang=scss
58257
- var BodyFilevue_type_style_index_0_id_2e25b2ec_prod_scoped_true_lang_scss = __webpack_require__(600);
58258
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=2e25b2ec&prod&scoped=true&lang=scss
58215
+ // 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=43b13ff3&prod&scoped=true&lang=scss
58216
+ var BodyFilevue_type_style_index_0_id_43b13ff3_prod_scoped_true_lang_scss = __webpack_require__(78);
58217
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=43b13ff3&prod&scoped=true&lang=scss
58259
58218
 
58260
58219
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
58261
58220
 
@@ -58268,11 +58227,11 @@ var BodyFilevue_type_style_index_0_id_2e25b2ec_prod_scoped_true_lang_scss = __we
58268
58227
 
58269
58228
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
58270
58229
  src_BodyFilevue_type_script_lang_js,
58271
- BodyFilevue_type_template_id_2e25b2ec_scoped_true_render,
58272
- BodyFilevue_type_template_id_2e25b2ec_scoped_true_staticRenderFns,
58230
+ BodyFilevue_type_template_id_43b13ff3_scoped_true_render,
58231
+ BodyFilevue_type_template_id_43b13ff3_scoped_true_staticRenderFns,
58273
58232
  false,
58274
58233
  null,
58275
- "2e25b2ec",
58234
+ "43b13ff3",
58276
58235
  null
58277
58236
 
58278
58237
  )
@@ -58973,15 +58932,15 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
58973
58932
  )
58974
58933
 
58975
58934
  /* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
58976
- ;// 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
58977
- var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render = function render() {
58935
+ ;// 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=3c078a1b&scoped=true
58936
+ var SubmitHandlevue_type_template_id_3c078a1b_scoped_true_render = function render() {
58978
58937
  var _vm = this,
58979
58938
  _c = _vm._self._c;
58980
58939
  return _vm.initiated ? _c('div', {
58981
58940
  staticClass: "submit-handle-container"
58982
- }, [_vm.isUdmNodes && _vm.wfInstance.udmNodes && _vm.curTN.modifyUdmNode !== 0 && (_vm.wfInstance.status < 1 || _vm.curTN.tnNodeID != null && _vm.curTN.userAccount == _vm.wfInstance.creatorAccount) ? _c('div', {
58941
+ }, [_vm.isUdmNodes && _vm.wfInstance.udmNodes && _vm.curTN.modifyUdmNode !== 0 && _vm.curTN.userAccount == _vm.wfInstance.creatorAccount ? _c('div', {
58983
58942
  staticClass: "form-slicer"
58984
- }) : _vm._e(), _vm.isUdmNodes && _vm.wfInstance.udmNodes && _vm.curTN.modifyUdmNode !== 0 && (_vm.wfInstance.status < 1 || _vm.curTN.tnNodeID != null && _vm.curTN.userAccount == _vm.wfInstance.creatorAccount) ? _c('van-cell-group', {
58943
+ }) : _vm._e(), _vm.isUdmNodes && _vm.wfInstance.udmNodes && _vm.curTN.modifyUdmNode !== 0 && _vm.curTN.userAccount == _vm.wfInstance.creatorAccount ? _c('van-cell-group', {
58985
58944
  staticClass: "van-wflow-operate-detail-cell"
58986
58945
  }, [_c('van-cell', {
58987
58946
  directives: [{
@@ -59050,7 +59009,7 @@ var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render = function rend
59050
59009
  }
59051
59010
  }
59052
59011
  })], 1)], 2);
59053
- })], 2) : _vm._e(), _vm._t("default", function () {
59012
+ })], 2) : _vm._e(), _vm.wfJsonData && _vm.wfJsonData.routes && _vm.wfJsonData.routes.length > 0 ? _vm._t("default", function () {
59054
59013
  return [_vm.curTN.tnIdeaLabelID !== null && _vm.curTN.tnIdeaLabelID !== '' ? _c('div', {
59055
59014
  staticClass: "form-slicer"
59056
59015
  }) : _vm._e(), _vm.curTN.tnIdeaLabelID !== null && _vm.curTN.tnIdeaLabelID !== '' ? _c('div', {
@@ -59544,7 +59503,7 @@ var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render = function rend
59544
59503
  expression: "keepConcern"
59545
59504
  }
59546
59505
  })], 1) : _vm._e()], 1)];
59547
- }), _vm.popupDialogVisible ? _c('PopupDialog', {
59506
+ }) : _vm._e(), _vm.popupDialogVisible ? _c('PopupDialog', {
59548
59507
  attrs: {
59549
59508
  "showpop": _vm.popupDialogVisible,
59550
59509
  "title": _vm.popupTitle,
@@ -59593,10 +59552,10 @@ var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render = function rend
59593
59552
  }
59594
59553
  })], 1) : _vm._e()], 2) : _vm._e();
59595
59554
  };
59596
- var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_staticRenderFns = [];
59555
+ var SubmitHandlevue_type_template_id_3c078a1b_scoped_true_staticRenderFns = [];
59597
59556
 
59598
- ;// 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
59599
- var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render() {
59557
+ ;// 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=1f810977&scoped=true
59558
+ var WfTaskNodevue_type_template_id_1f810977_scoped_true_render = function render() {
59600
59559
  var _vm = this,
59601
59560
  _c = _vm._self._c;
59602
59561
  return _c('div', [_c('van-cell-group', [_c('div', {
@@ -59621,6 +59580,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59621
59580
  expression: "'linkName'"
59622
59581
  }],
59623
59582
  attrs: {
59583
+ "readonly": !_vm.canModify,
59624
59584
  "label": "环节名称",
59625
59585
  "placeholder": "请输入",
59626
59586
  "error": errors !== undefined && errors[0] !== undefined || _vm.iserror,
@@ -59657,10 +59617,11 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59657
59617
  expression: "'taskType'"
59658
59618
  }],
59659
59619
  attrs: {
59620
+ "disabled": !_vm.canModify,
59660
59621
  "label": "任务类型",
59661
59622
  "placeholder": "请选择",
59662
59623
  "input-align": "right",
59663
- "is-link": !_vm.taskNode.startNode,
59624
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59664
59625
  "readonly": _vm.taskNode.startNode
59665
59626
  },
59666
59627
  on: {
@@ -59701,7 +59662,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59701
59662
  "label": "处理人选择方式",
59702
59663
  "placeholder": "请选择",
59703
59664
  "input-align": "right",
59704
- "is-link": !_vm.taskNode.startNode,
59665
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59705
59666
  "readonly": _vm.taskNode.startNode
59706
59667
  },
59707
59668
  on: {
@@ -59742,7 +59703,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59742
59703
  "label": "组织机构级别",
59743
59704
  "placeholder": "请选择",
59744
59705
  "input-align": "right",
59745
- "is-link": !_vm.taskNode.startNode,
59706
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59746
59707
  "readonly": _vm.taskNode.startNode
59747
59708
  },
59748
59709
  on: {
@@ -59783,7 +59744,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59783
59744
  "label": "机构筛选方式",
59784
59745
  "placeholder": "请选择",
59785
59746
  "input-align": "right",
59786
- "is-link": !_vm.taskNode.startNode,
59747
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59787
59748
  "readonly": _vm.taskNode.startNode
59788
59749
  },
59789
59750
  on: {
@@ -59801,9 +59762,9 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59801
59762
  })];
59802
59763
  }
59803
59764
  }])
59804
- })], 1), _c('div', {
59765
+ })], 1), _vm.taskNode.selectType == 0 && _vm.taskNode.orgStaffFilterType == 1 || _vm.taskNode.selectType == 1 || _vm.taskNode.selectType == 3 || _vm.taskNode.selectType == 7 ? _c('div', {
59805
59766
  staticClass: "van-input-field"
59806
- }, [_vm.taskNode.selectType == 0 ? _c('van-field', {
59767
+ }, [_vm.taskNode.selectType == 3 ? _c('van-field', {
59807
59768
  directives: [{
59808
59769
  name: "field-lbl",
59809
59770
  rawName: "v-field-lbl",
@@ -59829,7 +59790,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59829
59790
  },
59830
59791
  expression: "taskNode.userNames"
59831
59792
  }
59832
- }) : _vm._e(), _vm.taskNode.selectType == 1 ? _c('van-field', {
59793
+ }) : _vm._e(), _vm.taskNode.selectType == 0 && _vm.taskNode.orgStaffFilterType == 1 ? _c('van-field', {
59833
59794
  directives: [{
59834
59795
  name: "field-lbl",
59835
59796
  rawName: "v-field-lbl",
@@ -59855,7 +59816,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59855
59816
  },
59856
59817
  expression: "taskNode.orgNames"
59857
59818
  }
59858
- }) : _vm._e(), _vm.taskNode.selectType == 2 ? _c('van-field', {
59819
+ }) : _vm._e(), _vm.taskNode.selectType == 1 ? _c('van-field', {
59859
59820
  directives: [{
59860
59821
  name: "field-lbl",
59861
59822
  rawName: "v-field-lbl",
@@ -59881,7 +59842,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59881
59842
  },
59882
59843
  expression: "taskNode.workgroupNames"
59883
59844
  }
59884
- }) : _vm._e(), _vm.taskNode.selectType == 3 ? _c('van-field', {
59845
+ }) : _vm._e(), _vm.taskNode.selectType == 7 ? _c('van-field', {
59885
59846
  directives: [{
59886
59847
  name: "field-lbl",
59887
59848
  rawName: "v-field-lbl",
@@ -59907,7 +59868,130 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59907
59868
  },
59908
59869
  expression: "taskNode.jopPositionNames"
59909
59870
  }
59910
- }) : _vm._e()], 1), _c('div', {
59871
+ }) : _vm._e()], 1) : _vm._e(), _c('div', {
59872
+ directives: [{
59873
+ name: "show",
59874
+ rawName: "v-show",
59875
+ value: _vm.taskNode.selectType == 0 || _vm.taskNode.selectType == 6,
59876
+ expression: "taskNode.selectType == 0 || taskNode.selectType == 6"
59877
+ }],
59878
+ staticClass: "van-input-field"
59879
+ }, [_c('validation-provider', {
59880
+ ref: "ValidationProvider",
59881
+ attrs: {
59882
+ "name": '机构参与人',
59883
+ "rules": "required"
59884
+ },
59885
+ scopedSlots: _vm._u([{
59886
+ key: "default",
59887
+ fn: function fn(_ref6) {
59888
+ var errors = _ref6.errors;
59889
+ return [_c('van-field', {
59890
+ attrs: {
59891
+ "label": "机构参与人",
59892
+ "placeholder": "请选择",
59893
+ "input-align": "right",
59894
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59895
+ "readonly": _vm.taskNode.startNode
59896
+ },
59897
+ on: {
59898
+ "click": function click($event) {
59899
+ return _vm.selectItem('机构参与人', 'orgStaffType');
59900
+ }
59901
+ },
59902
+ model: {
59903
+ value: _vm.orgStaffType,
59904
+ callback: function callback($$v) {
59905
+ _vm.orgStaffType = $$v;
59906
+ },
59907
+ expression: "orgStaffType"
59908
+ }
59909
+ })];
59910
+ }
59911
+ }])
59912
+ })], 1), _c('div', {
59913
+ directives: [{
59914
+ name: "show",
59915
+ rawName: "v-show",
59916
+ value: _vm.taskNode.selectType == 9,
59917
+ expression: "taskNode.selectType == 9"
59918
+ }],
59919
+ staticClass: "van-input-field"
59920
+ }, [_c('validation-provider', {
59921
+ ref: "ValidationProvider",
59922
+ attrs: {
59923
+ "name": '处理人职级',
59924
+ "rules": "required"
59925
+ },
59926
+ scopedSlots: _vm._u([{
59927
+ key: "default",
59928
+ fn: function fn(_ref7) {
59929
+ var errors = _ref7.errors;
59930
+ return [_c('van-field', {
59931
+ attrs: {
59932
+ "label": "处理人职级",
59933
+ "placeholder": "请选择",
59934
+ "input-align": "right",
59935
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59936
+ "readonly": _vm.taskNode.startNode
59937
+ },
59938
+ on: {
59939
+ "click": function click($event) {
59940
+ return _vm.selectItem('处理人职级', 'orgStaffType');
59941
+ }
59942
+ },
59943
+ model: {
59944
+ value: _vm.orgStaffType,
59945
+ callback: function callback($$v) {
59946
+ _vm.orgStaffType = $$v;
59947
+ },
59948
+ expression: "orgStaffType"
59949
+ }
59950
+ })];
59951
+ }
59952
+ }])
59953
+ })], 1), _c('div', {
59954
+ directives: [{
59955
+ name: "show",
59956
+ rawName: "v-show",
59957
+ value: _vm.taskNode.selectType == 2,
59958
+ expression: "taskNode.selectType == 2"
59959
+ }],
59960
+ staticClass: "van-input-field"
59961
+ }, [_c('validation-provider', {
59962
+ ref: "ValidationProvider",
59963
+ attrs: {
59964
+ "name": '指定历史节点',
59965
+ "rules": "required"
59966
+ },
59967
+ scopedSlots: _vm._u([{
59968
+ key: "default",
59969
+ fn: function fn(_ref8) {
59970
+ var errors = _ref8.errors;
59971
+ return [_c('van-field', {
59972
+ attrs: {
59973
+ "label": "指定历史节点",
59974
+ "placeholder": "请选择",
59975
+ "input-align": "right",
59976
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59977
+ "readonly": _vm.taskNode.startNode
59978
+ },
59979
+ on: {
59980
+ "click": function click($event) {
59981
+ return _vm.selectItem('指定历史节点', 'historyNodeId');
59982
+ }
59983
+ },
59984
+ model: {
59985
+ value: _vm.taskNode.historyNodeId,
59986
+ callback: function callback($$v) {
59987
+ _vm.$set(_vm.taskNode, "historyNodeId", $$v);
59988
+ },
59989
+ expression: "taskNode.historyNodeId"
59990
+ }
59991
+ })];
59992
+ }
59993
+ }])
59994
+ })], 1), _c('div', {
59911
59995
  staticClass: "van-input-field"
59912
59996
  }, [_c('van-cell', {
59913
59997
  directives: [{
@@ -59925,6 +60009,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59925
60009
  fn: function fn() {
59926
60010
  return [_c('van-switch', {
59927
60011
  attrs: {
60012
+ "disabled": !_vm.canModify,
59928
60013
  "active-value": 1,
59929
60014
  "inactive-value": 0,
59930
60015
  "size": "24"
@@ -59950,8 +60035,8 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59950
60035
  },
59951
60036
  scopedSlots: _vm._u([{
59952
60037
  key: "default",
59953
- fn: function fn(_ref6) {
59954
- var errors = _ref6.errors;
60038
+ fn: function fn(_ref9) {
60039
+ var errors = _ref9.errors;
59955
60040
  return [_c('van-field', {
59956
60041
  directives: [{
59957
60042
  name: "field-lbl",
@@ -59963,7 +60048,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59963
60048
  "label": "处理意见标签",
59964
60049
  "placeholder": "请选择",
59965
60050
  "input-align": "right",
59966
- "is-link": true,
60051
+ "is-link": _vm.canModify,
59967
60052
  "readonly": _vm.taskNode.startNode
59968
60053
  },
59969
60054
  on: {
@@ -59972,16 +60057,86 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59972
60057
  }
59973
60058
  },
59974
60059
  model: {
59975
- value: _vm.taskNode.ideaLable,
60060
+ value: _vm.ideaLable,
59976
60061
  callback: function callback($$v) {
59977
- _vm.$set(_vm.taskNode, "ideaLable", $$v);
60062
+ _vm.ideaLable = $$v;
59978
60063
  },
59979
- expression: "taskNode.ideaLable"
60064
+ expression: "ideaLable"
59980
60065
  }
59981
60066
  })];
59982
60067
  }
59983
60068
  }])
59984
- })], 1)]), _c('FooterButtonGroup', [_c('van-button', {
60069
+ })], 1), _vm.taskNode.ideaLable != '' && _vm.taskNode.ideaLable != '无' ? _c('div', {
60070
+ staticClass: "van-input-field"
60071
+ }, [_c('validation-provider', {
60072
+ ref: "ValidationProvider",
60073
+ attrs: {
60074
+ "name": '是否需要意见附件',
60075
+ "rules": "required"
60076
+ },
60077
+ scopedSlots: _vm._u([{
60078
+ key: "default",
60079
+ fn: function fn(_ref10) {
60080
+ var errors = _ref10.errors;
60081
+ return [_c('van-field', {
60082
+ attrs: {
60083
+ "label": "是否需要意见附件",
60084
+ "placeholder": "请选择",
60085
+ "input-align": "right",
60086
+ "is-link": _vm.canModify,
60087
+ "readonly": _vm.taskNode.startNode
60088
+ },
60089
+ on: {
60090
+ "click": function click($event) {
60091
+ return _vm.selectItem('是否需要意见附件', 'isIdeaAttachment');
60092
+ }
60093
+ },
60094
+ model: {
60095
+ value: _vm.isIdeaAttachment,
60096
+ callback: function callback($$v) {
60097
+ _vm.isIdeaAttachment = $$v;
60098
+ },
60099
+ expression: "isIdeaAttachment"
60100
+ }
60101
+ })];
60102
+ }
60103
+ }], null, false, 2181530220)
60104
+ })], 1) : _vm._e(), _vm.taskNode.ideaLable != '' && _vm.taskNode.ideaLable != '无' ? _c('div', {
60105
+ staticClass: "van-input-field"
60106
+ }, [_c('validation-provider', {
60107
+ ref: "ValidationProvider",
60108
+ attrs: {
60109
+ "name": '是否可以退回',
60110
+ "rules": "required"
60111
+ },
60112
+ scopedSlots: _vm._u([{
60113
+ key: "default",
60114
+ fn: function fn(_ref11) {
60115
+ var errors = _ref11.errors;
60116
+ return [_c('van-field', {
60117
+ attrs: {
60118
+ "label": "是否可以退回",
60119
+ "placeholder": "请选择",
60120
+ "input-align": "right",
60121
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
60122
+ "readonly": _vm.taskNode.startNode
60123
+ },
60124
+ on: {
60125
+ "click": function click($event) {
60126
+ return _vm.selectItem('是否可以退回', 'returnHistoryTN');
60127
+ }
60128
+ },
60129
+ model: {
60130
+ value: _vm.returnHistoryTN,
60131
+ callback: function callback($$v) {
60132
+ _vm.returnHistoryTN = $$v;
60133
+ },
60134
+ expression: "returnHistoryTN"
60135
+ }
60136
+ })];
60137
+ }
60138
+ }], null, false, 4264136526)
60139
+ })], 1) : _vm._e()]), _c('FooterButtonGroup', [_vm.canModify == 1 ? [_c('van-button', {
59985
60140
  directives: [{
59986
60141
  name: "pageBtn-lbl",
59987
60142
  rawName: "v-pageBtn-lbl",
@@ -60008,11 +60163,26 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
60008
60163
  on: {
60009
60164
  "click": _vm.submitForm
60010
60165
  }
60011
- }, [_vm._v("确 定")])], 1)], 1);
60166
+ }, [_vm._v("确 定")])] : [_c('van-button', {
60167
+ directives: [{
60168
+ name: "pageBtn-lbl",
60169
+ rawName: "v-pageBtn-lbl",
60170
+ value: 'cancel',
60171
+ expression: "'cancel'"
60172
+ }],
60173
+ attrs: {
60174
+ "type": "info",
60175
+ "square": ""
60176
+ },
60177
+ on: {
60178
+ "click": _vm.closeDialog
60179
+ }
60180
+ }, [_vm._v("取 消")])]], 2)], 1);
60012
60181
  };
60013
- var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60182
+ var WfTaskNodevue_type_template_id_1f810977_scoped_true_staticRenderFns = [];
60014
60183
 
60015
60184
  ;// 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
60185
+
60016
60186
  /* harmony default export */ var WfTaskNodevue_type_script_lang_js = ({
60017
60187
  name: 'WfTaskNode',
60018
60188
  components: {},
@@ -60034,6 +60204,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60034
60204
  moduleCode: 'wflowform',
60035
60205
  forceUpdate: false,
60036
60206
  dialogFormVisible: true,
60207
+ canModify: null,
60037
60208
  todoModeOptions: [{
60038
60209
  value: 0,
60039
60210
  text: this.$tx('ecmapp.wflowform.singlePerson', '单人')
@@ -60085,25 +60256,64 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60085
60256
  value: 4,
60086
60257
  text: '四级(班组级)'
60087
60258
  }],
60259
+ isIdeaAttachmentOptions: [{
60260
+ value: 0,
60261
+ text: '不需要'
60262
+ }, {
60263
+ value: 1,
60264
+ text: '需要1个'
60265
+ }, {
60266
+ value: 2,
60267
+ text: '可选1个'
60268
+ }, {
60269
+ value: 8,
60270
+ text: '至少1个'
60271
+ }, {
60272
+ value: 9,
60273
+ text: '可选多个'
60274
+ }],
60275
+ returnHistoryTNOptions: [{
60276
+ value: 0,
60277
+ text: '不需要退回'
60278
+ }, {
60279
+ value: 1,
60280
+ text: '退回到上一节点'
60281
+ }, {
60282
+ value: 2,
60283
+ text: '退回到发起节点'
60284
+ }],
60285
+ curNodeName: '',
60088
60286
  todoMode: '单人',
60089
60287
  selectType: '直接指定人员',
60090
60288
  orgLevel: '',
60091
60289
  orgStaffFilterType: '',
60092
- curNodeName: ''
60290
+ orgStaffType: '',
60291
+ ideaLable: '',
60292
+ isIdeaAttachment: '',
60293
+ returnHistoryTN: ''
60093
60294
  };
60094
60295
  },
60095
60296
  computed: {
60096
60297
  ideaLableOptions: function ideaLableOptions() {
60097
60298
  var ideaLablelist = [];
60098
60299
  this.ideaLables.split(',').forEach(function (lable) {
60300
+ if (lable) {
60301
+ ideaLablelist.push({
60302
+ value: lable,
60303
+ text: lable
60304
+ });
60305
+ }
60306
+ });
60307
+ if (ideaLablelist.length == 0 && this.taskNode.name) {
60308
+ //表单上没有定义意见栏
60099
60309
  ideaLablelist.push({
60100
- value: lable,
60101
- text: lable
60310
+ value: 'curNodeName',
60311
+ text: this.taskNode.name + '意见'
60102
60312
  });
60103
- });
60313
+ }
60104
60314
  ideaLablelist.push({
60105
60315
  value: '无',
60106
- text: ''
60316
+ text: '不需要'
60107
60317
  });
60108
60318
  return ideaLablelist;
60109
60319
  },
@@ -60159,6 +60369,56 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60159
60369
  });
60160
60370
  }
60161
60371
  return orgStaffFilterType;
60372
+ },
60373
+ orgStaffTypeOptions: function orgStaffTypeOptions() {
60374
+ if (this.taskNode.selectType === 9) {
60375
+ return [{
60376
+ value: 5,
60377
+ text: '不大于1个职级'
60378
+ }, {
60379
+ value: 6,
60380
+ text: '不大于2个职级'
60381
+ }, {
60382
+ value: 7,
60383
+ text: '不大于3个职级'
60384
+ }, {
60385
+ value: 8,
60386
+ text: '不大于4个职级'
60387
+ }, {
60388
+ value: 9,
60389
+ text: '不大于5个职级'
60390
+ }];
60391
+ } else {
60392
+ return [{
60393
+ value: 0,
60394
+ text: '主负责人'
60395
+ }, {
60396
+ value: 1,
60397
+ text: '主、副负责人'
60398
+ }, {
60399
+ value: 2,
60400
+ text: '副负责人'
60401
+ }, {
60402
+ value: 3,
60403
+ text: '全体人员'
60404
+ }, {
60405
+ value: 4,
60406
+ text: '普通(非负责人)人员'
60407
+ }];
60408
+ }
60409
+ },
60410
+ historyNodeIdOptions: function historyNodeIdOptions() {
60411
+ var historyNodeIds = [];
60412
+ var udmNodes = this.$vnode.context.wfInstance.udmNodes;
60413
+ for (var i = 0; i < udmNodes.length; i++) {
60414
+ if (udmNodes[i].uuid != this.taskNode.uuid) {
60415
+ historyNodeIds.push({
60416
+ value: udmNodes[i].name,
60417
+ text: udmNodes[i].name
60418
+ });
60419
+ }
60420
+ }
60421
+ return historyNodeIds;
60162
60422
  }
60163
60423
  },
60164
60424
  watch: {
@@ -60185,6 +60445,30 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60185
60445
  }
60186
60446
  });
60187
60447
  }
60448
+ if (this.taskNode.orgStaffType !== undefined) {
60449
+ if (this.taskNode.orgStaffType >= 5) {
60450
+ this.orgStaffType = this.orgStaffTypeOptions[this.taskNode.orgStaffType - 5].text;
60451
+ } else {
60452
+ this.orgStaffType = this.orgStaffTypeOptions[this.taskNode.orgStaffType].text;
60453
+ }
60454
+ }
60455
+ if (this.taskNode.ideaLable !== undefined) {
60456
+ this.ideaLableOptions.forEach(function (item) {
60457
+ if (item.value === _this.taskNode.ideaLable) {
60458
+ _this.ideaLable = item.text;
60459
+ }
60460
+ });
60461
+ }
60462
+ if (this.taskNode.isIdeaAttachment !== undefined) {
60463
+ this.isIdeaAttachmentOptions.forEach(function (item) {
60464
+ if (item.value === _this.taskNode.isIdeaAttachment) {
60465
+ _this.isIdeaAttachment = item.text;
60466
+ }
60467
+ });
60468
+ }
60469
+ if (this.taskNode.returnHistoryTN !== undefined) {
60470
+ this.returnHistoryTN = this.returnHistoryTNOptions[this.taskNode.returnHistoryTN].text;
60471
+ }
60188
60472
  },
60189
60473
  deep: true,
60190
60474
  immediate: true
@@ -60192,33 +60476,81 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60192
60476
  },
60193
60477
  created: function created() {
60194
60478
  if (this.taskNode.selectType === undefined) {
60195
- this.taskNode.selectType = 0;
60479
+ this.taskNode.selectType = 3;
60480
+ }
60481
+ if (this.taskNode.orgLevel === undefined) {
60482
+ this.taskNode.orgLevel = 2;
60483
+ }
60484
+ if (this.taskNode.orgStaffFilterType === undefined) {
60485
+ this.taskNode.orgStaffFilterType = 2;
60486
+ }
60487
+ if (this.taskNode.orgStaffType === undefined) {
60488
+ this.taskNode.orgStaffType = 3;
60489
+ }
60490
+ if (!this.taskNode.ideaLable) {
60491
+ this.taskNode.ideaLable = '无';
60492
+ }
60493
+ if (this.taskNode.isIdeaAttachment === undefined) {
60494
+ this.taskNode.isIdeaAttachment = 0;
60196
60495
  }
60197
60496
  if (this.taskNode.status === 1) {
60198
60497
  this.curNodeName = this.taskNode.name;
60199
60498
  }
60499
+ if (!this.taskNode.returnHistoryTN) {
60500
+ this.taskNode.returnHistoryTN = 0;
60501
+ }
60200
60502
  },
60201
60503
  beforeDestroy: function beforeDestroy() {},
60202
60504
  mounted: function mounted() {
60505
+ var _this2 = this;
60203
60506
  if (this.taskNode.startNode) {
60204
60507
  //开始节点,删除“历史节点处理人”选项
60205
60508
  this.selectTypeOptions.splice(4, 1);
60206
60509
  }
60510
+ if (!this.$vnode.context.curTN.tnNodeID) {
60511
+ //无办理权限,检查拟删除的环节是否已经办理过
60512
+ this.$http({
60513
+ method: 'POST',
60514
+ contentType: 'application/x-www-form-urlencoded',
60515
+ params: {
60516
+ wfInstanceId: this.$vnode.context.wfInstance.id
60517
+ },
60518
+ url: 'workflow/wfInstanceNodelog/listWfNodelog'
60519
+ }).then(function (res) {
60520
+ if (res.code === 'success') {
60521
+ var historyWflogs = res.body.listdata.filter(function (wflog) {
60522
+ return wflog.nodeName === _this2.taskNode.name;
60523
+ });
60524
+ if (historyWflogs.length > 0) {
60525
+ _this2.canModify = 0;
60526
+ } else {
60527
+ _this2.canModify = 1;
60528
+ }
60529
+ } else {
60530
+ _this2.canModify = 0;
60531
+ _this2.$dialog.alert({
60532
+ message: res.message
60533
+ });
60534
+ }
60535
+ });
60536
+ } else {
60537
+ this.canModify = 1;
60538
+ }
60207
60539
  },
60208
60540
  methods: {
60209
60541
  selectItem: function selectItem(title, field) {
60210
- var _this2 = this;
60542
+ var _this3 = this;
60211
60543
  if (this.taskNode.startNode) return;
60212
60544
  var dialogTitle = this.$tx('common.plChoose', '请选择') + title;
60213
60545
  this.$bus.emit('openListitemDialog', dialogTitle, this[field + 'Options'], function (res) {
60214
60546
  if (res.code === 'success') {
60215
- _this2.$set(_this2.taskNode, field, res.value.value);
60216
- _this2.$forceUpdate();
60547
+ _this3.$set(_this3.taskNode, field, res.value.value);
60548
+ _this3.$forceUpdate();
60217
60549
  }
60218
60550
  }, this.taskNode[field], false, 'bottomDialog');
60219
60551
  },
60220
60552
  openSelectDialog: function openSelectDialog(dialogType, field) {
60221
- var _this3 = this;
60553
+ var _this4 = this;
60222
60554
  if (this.taskNode.startNode) return;
60223
60555
  var condition = {
60224
60556
  selectDialog: dialogType,
@@ -60229,8 +60561,8 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60229
60561
  this.$bus.emit('openTreeDialog', dialogTitle, condition, null, function (res) {
60230
60562
  if (res.code === 'success') {
60231
60563
  var callbackFunc = 'onSelect' + dialogType.replace(dialogType[0], dialogType[0].toUpperCase()) + 'Completed';
60232
- _this3[callbackFunc](res.value, {
60233
- name: _this3.model
60564
+ _this4[callbackFunc](res.value, {
60565
+ name: _this4.model
60234
60566
  });
60235
60567
  }
60236
60568
  }, this.taskNode[field]);
@@ -60297,15 +60629,49 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60297
60629
  this.$set(this.taskNode, 'jobPositionNames', selected);
60298
60630
  },
60299
60631
  submitForm: function submitForm() {
60300
- var _this4 = this;
60632
+ var _this5 = this;
60301
60633
  this.formValidate(function () {
60302
- var udmNode = JSON.parse(JSON.stringify(_this4.taskNode));
60634
+ var udmNode = JSON.parse(JSON.stringify(_this5.taskNode));
60303
60635
  udmNode.tmLmtType = '9';
60304
60636
  udmNode.type = 1;
60305
60637
  if (udmNode.todoMode === 5) {
60306
60638
  udmNode.type = 3;
60307
60639
  }
60308
- var wfdNodeList = _this4.$vnode.context.wfInstance.passenger.wfdNodeList;
60640
+ if (udmNode.selectType == 0) {
60641
+ //按组织机构
60642
+ var orgStaffTypeMap = {
60643
+ 0: '主负责人',
60644
+ 1: '主、副负责人',
60645
+ 2: '副负责人',
60646
+ 3: '全体人员',
60647
+ 4: '普通(非负责人)人员'
60648
+ };
60649
+ var selectRule = '';
60650
+ if (udmNode.orgLevel == 1) {
60651
+ selectRule = '公司' + orgStaffTypeMap[udmNode.orgStaffType + ''];
60652
+ } else {
60653
+ if (udmNode.orgStaffFilterType == 0) {
60654
+ selectRule = curNode.orgLevel == 2 ? '二级部门' : curNode.orgLevel == 3 ? '部门内科室' : '科室内班组';
60655
+ } else if (udmNode.orgStaffFilterType == 1) {
60656
+ selectRule = udmNode.orgNames;
60657
+ } else if (udmNode.orgStaffFilterType == 2) {
60658
+ selectRule = '当前用户所在' + (udmNode.orgLevel == 2 ? '部门' : udmNode.orgLevel == 3 ? '科室' : '班组');
60659
+ } else if (udmNode.orgStaffFilterType == 3) {
60660
+ selectRule = '拟稿用户所在' + (udmNode.orgLevel == 2 ? '部门' : udmNode.orgLevel == 3 ? '科室' : '班组');
60661
+ } else if (udmNode.orgStaffFilterType == 5) {
60662
+ selectRule = '所有科室';
60663
+ }
60664
+ selectRule += orgStaffTypeMap[udmNode.orgStaffType + ''];
60665
+ }
60666
+ udmNode.selectRule = selectRule;
60667
+ } else if (udmNode.selectType == 2) {
60668
+ //按历史节点处理人
60669
+ udmNode.selectRule = udmNode.historyTNName + '节点处理人';
60670
+ } else if (udmNode.selectType == 9) {
60671
+ //按用户职级
60672
+ udmNode.selectRule = '不大于' + (udmNode.orgStaffType - 4) + '个职级';
60673
+ }
60674
+ var wfdNodeList = _this5.$vnode.context.wfInstance.passenger.wfdNodeList;
60309
60675
  if (wfdNodeList) {
60310
60676
  wfdNodeList.forEach(function (node) {
60311
60677
  if (node.processType === udmNode.todoMode && node.nodeType === udmNode.type) {
@@ -60315,34 +60681,58 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60315
60681
  }
60316
60682
  if (udmNode.status !== 1) {
60317
60683
  udmNode.status = 1;
60318
- udmNode.uuid = _this4.uuid();
60319
- _this4.$vnode.context.wfInstance.udmNodes.push(udmNode);
60684
+ udmNode.uuid = _this5.uuid();
60685
+ _this5.$vnode.context.wfInstance.udmNodes.push(udmNode);
60320
60686
  } else {
60321
- _this4.$vnode.context.wfInstance.udmNodes.forEach(function (wfnode, index) {
60687
+ _this5.$vnode.context.wfInstance.udmNodes.forEach(function (wfnode, index) {
60322
60688
  if (wfnode.uuid === udmNode.uuid) {
60323
- _this4.$vnode.context.wfInstance.udmNodes.splice(index, 1, udmNode);
60324
- if (_this4.$vnode.context.curTN.tnNodeName === _this4.curNodeName) {
60325
- _this4.$vnode.context.curTN.tnNodeName = udmNode.name;
60326
- _this4.$vnode.context.curTN.tnCanEdit = udmNode.canEdit;
60689
+ _this5.$vnode.context.wfInstance.udmNodes.splice(index, 1, udmNode);
60690
+ if (_this5.$vnode.context.curTN.tnNodeName === _this5.curNodeName) {
60691
+ _this5.$vnode.context.curTN.tnNodeName = udmNode.name;
60692
+ _this5.$vnode.context.curTN.tnCanEdit = udmNode.canEdit;
60327
60693
  if (udmNode.todoMode === 5) {
60328
- _this4.$vnode.context.curTN.tnTaskType = 3;
60694
+ _this5.$vnode.context.curTN.tnTaskType = 3;
60329
60695
  } else {
60330
- _this4.$vnode.context.curTN.tnTaskType = 1;
60696
+ _this5.$vnode.context.curTN.tnTaskType = 1;
60331
60697
  }
60332
- _this4.$vnode.context.curTN.tnToDoMode = udmNode.todoMode;
60698
+ _this5.$vnode.context.curTN.tnToDoMode = udmNode.todoMode;
60333
60699
  if (udmNode.ideaLable === '无') {
60334
- _this4.$vnode.context.curTN.tnIdeaLabelID = '';
60335
- _this4.$vnode.context.curTN.tnIdeaLabelName = '';
60700
+ _this5.$vnode.context.curTN.tnIdeaLabelID = '';
60701
+ _this5.$vnode.context.curTN.tnIdeaLabelName = '';
60336
60702
  } else {
60337
- _this4.$vnode.context.curTN.tnIdeaLabelID = 'udm_' + udmNode.ideaLable;
60338
- _this4.$vnode.context.curTN.tnIdeaLabelName = udmNode.ideaLable;
60339
- _this4.$vnode.context.curTN.tnIdeaIsMust = 1;
60703
+ _this5.$vnode.context.curTN.tnIdeaLabelID = 'udm_' + udmNode.ideaLable;
60704
+ _this5.$vnode.context.curTN.tnIdeaLabelName = udmNode.ideaLable;
60705
+ _this5.$vnode.context.curTN.tnIdeaIsMust = 1;
60340
60706
  }
60341
60707
  }
60342
60708
  }
60343
60709
  });
60344
60710
  }
60345
- _this4.closeDialog();
60711
+ var saveData = {
60712
+ wfInstance: JSON.stringify(_this5.$vnode.context.wfInstance),
60713
+ curTN: JSON.stringify(_this5.$vnode.context.curTN)
60714
+ };
60715
+ _this5.$http({
60716
+ method: 'POST',
60717
+ contentType: 'application/x-www-form-urlencoded',
60718
+ data: lib_default().stringify(saveData),
60719
+ params: _this5.$vnode.context.wfParams,
60720
+ url: 'workflow/wfInstance/getUdmNodeUsers'
60721
+ }).then(function (res) {
60722
+ if (res.code === 'success') {
60723
+ _this5.$set(_this5.$vnode.context.wfInstance.passenger, 'udmNodeUsers', res.body.udmNodeUsers);
60724
+ _this5.$vnode.context.wfInstance.udmNodes.forEach(function (wfnode, index) {
60725
+ if (wfnode.uuid === udmNode.uuid) {
60726
+ _this5.$vnode.context.wfInstance.udmNodes.splice(index, 1, udmNode);
60727
+ }
60728
+ });
60729
+ _this5.closeDialog();
60730
+ } else {
60731
+ _this5.$alert(res.message, '操作提示', {
60732
+ type: 'error'
60733
+ });
60734
+ }
60735
+ });
60346
60736
  });
60347
60737
  },
60348
60738
  closeDialog: function closeDialog() {
@@ -60373,11 +60763,11 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60373
60763
  ;
60374
60764
  var WfTaskNode_component = (0,componentNormalizer/* default */.A)(
60375
60765
  src_WfTaskNodevue_type_script_lang_js,
60376
- WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render,
60377
- WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns,
60766
+ WfTaskNodevue_type_template_id_1f810977_scoped_true_render,
60767
+ WfTaskNodevue_type_template_id_1f810977_scoped_true_staticRenderFns,
60378
60768
  false,
60379
60769
  null,
60380
- "59c2fbd4",
60770
+ "1f810977",
60381
60771
  null
60382
60772
 
60383
60773
  )
@@ -60513,14 +60903,17 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
60513
60903
  wfInstance: {
60514
60904
  handler: function handler(newValue, oldValue) {
60515
60905
  var _this2 = this;
60906
+ var _this = this;
60516
60907
  if (this.wfInstance.udmNodes && this.wfInstance.udmNodes !== '[]' && typeof this.wfInstance.udmNodes === 'string') this.wfInstance.udmNodes = JSON.parse(this.wfInstance.udmNodes);
60517
60908
  if (this.wfInstance.udmNodes && SubmitHandlevue_type_script_lang_js_typeof(this.wfInstance.udmNodes) === 'object' && this.curTN.tnNodeID !== null) {
60518
60909
  var curNode = null;
60910
+ var curNodeIndex = -1;
60519
60911
  var customRoutes = [];
60520
60912
  this.wfInstance.udmNodes.forEach(function (taskNode, index) {
60521
60913
  if (taskNode.name === _this2.curTN.tnNodeName) {
60522
60914
  curNode = taskNode;
60523
- if (curNode.canSendToNext !== 0 && _this2.wfInstance.udmNodes.length > index + 1) {
60915
+ curNodeIndex = index;
60916
+ if (curNode.canSendToNext !== 0 && _this2.wfInstance.udmNodes.length > index + 1 && _this.wfInstance.passenger.udmNodeUsers) {
60524
60917
  var nextNode = _this2.wfInstance.udmNodes[index + 1];
60525
60918
  if (!nextNode.users) {
60526
60919
  nextNode.users = [];
@@ -60534,6 +60927,7 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
60534
60927
  taskNodes: [JSON.parse(JSON.stringify(nextNode))],
60535
60928
  type: '0'
60536
60929
  };
60930
+ nextRoute.taskNodes[0].users = _this2.wfInstance.passenger.udmNodeUsers.nextUsers || [];
60537
60931
  customRoutes.push(nextRoute);
60538
60932
  }
60539
60933
  }
@@ -60555,37 +60949,29 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
60555
60949
  };
60556
60950
  customRoutes.push(endRoute);
60557
60951
  }
60558
- if (curNode.canSendback !== 0 && this.wfInstance.udmNodes.length > 0 && this.curTN.tnNodeName !== this.wfInstance.udmNodes[0].name) {
60559
- var _endRoute = {
60952
+ if (curNode.returnHistoryTN !== 0 && curNodeIndex > 0 && this.wfInstance.passenger.udmNodeUsers) {
60953
+ var backRoute = {
60560
60954
  evtMsg: '',
60561
60955
  mustNextTN: '',
60562
60956
  evtCplPercent: '0',
60563
- name: '退回',
60564
- fullName: '退回',
60565
- taskNodes: [JSON.parse(JSON.stringify(this.wfInstance.udmNodes[0]))],
60957
+ name: this.$tx('ecwapp.Wflowform.SubmitHandle.sendBack', '退回'),
60958
+ taskNodes: [],
60566
60959
  type: '3'
60567
60960
  };
60568
- customRoutes.push(_endRoute);
60569
- }
60570
- this.wfInstance.udmNodes.forEach(function (taskNode, index) {
60571
- if (taskNode.name === _this2.curTN.tnNodeName) {
60572
- curNode = taskNode;
60573
- if (curNode.canSendToOther !== 0 && _this2.wfInstance.passenger.allUsers) {
60574
- var sendToOtherNode = JSON.parse(JSON.stringify(taskNode));
60575
- sendToOtherNode.users = JSON.parse(_this2.wfInstance.passenger.allUsers); // 单位全体人员
60576
- var sendToOtherRoute = {
60577
- evtMsg: '',
60578
- mustNextTN: '',
60579
- evtCplPercent: '0',
60580
- name: '增加处理人',
60581
- fullName: '增加处理人',
60582
- taskNodes: [sendToOtherNode],
60583
- type: '4'
60584
- };
60585
- customRoutes.push(sendToOtherRoute);
60586
- }
60961
+ if (curNode.returnHistoryTN == 2) {
60962
+ //退回到发起节点
60963
+ backRoute.name = '退回发起人';
60964
+ backRoute.taskNodes.push(JSON.parse(JSON.stringify(this.wfInstance.udmNodes[0])));
60965
+ backRoute.taskNodes[0].users = this.wfInstance.passenger.udmNodeUsers.returnHistoryTNUser;
60966
+ } else {
60967
+ //退回到上一节点
60968
+ backRoute.name = '退回上一节点';
60969
+ backRoute.taskNodes.push(JSON.parse(JSON.stringify(this.wfInstance.udmNodes[curNodeIndex - 1])));
60970
+ backRoute.taskNodes[0].users = this.wfInstance.passenger.udmNodeUsers.returnHistoryTNUser;
60587
60971
  }
60588
- });
60972
+ backRoute.fullName = backRoute.name;
60973
+ customRoutes.push(backRoute);
60974
+ }
60589
60975
  this.wfJsonData.routes = customRoutes;
60590
60976
  this.initSubmitHandle();
60591
60977
  }
@@ -60855,7 +61241,10 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
60855
61241
  });
60856
61242
  }
60857
61243
  } else if (this.wfInstance.udmNodes && this.wfInstance.udmNodes !== '[]') {
60858
- this.wfInstance.udmNodes = JSON.parse(this.wfInstance.udmNodes);
61244
+ if (typeof this.wfInstance.udmNodes === 'string') {
61245
+ this.wfInstance.udmNodes = JSON.parse(this.wfInstance.udmNodes);
61246
+ }
61247
+ this.initiated = true;
60859
61248
  this.$forceUpdate();
60860
61249
  } else if (this.wfInstance.passenger.udmjysp) {
60861
61250
  var tnUsers = [{
@@ -61224,9 +61613,13 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
61224
61613
  addUdmNode: function addUdmNode() {
61225
61614
  this.udmNode = {
61226
61615
  todoMode: 0,
61227
- selectType: 0,
61616
+ selectType: 3,
61617
+ orgLevel: 2,
61618
+ orgStaffFilterType: 2,
61619
+ orgStaffType: 3,
61228
61620
  canEdit: 1,
61229
- status: 0
61621
+ status: 0,
61622
+ ideaLable: ''
61230
61623
  };
61231
61624
  this.wfNodeDialogVisible = true;
61232
61625
  },
@@ -61235,17 +61628,48 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
61235
61628
  this.wfNodeDialogVisible = true;
61236
61629
  },
61237
61630
  delUdmNode: function delUdmNode(index) {
61631
+ var _this12 = this;
61238
61632
  if (index === 0) return;
61239
- this.wfInstance.udmNodes.splice(index, 1);
61240
- this.$forceUpdate();
61633
+ if (this.curTN.tnNodeID) {
61634
+ this.wfInstance.udmNodes.splice(index, 1);
61635
+ this.$forceUpdate();
61636
+ } else {
61637
+ //无办理权限,检查拟删除的环节是否已经办理过
61638
+ this.$http({
61639
+ method: 'POST',
61640
+ contentType: 'application/x-www-form-urlencoded',
61641
+ params: {
61642
+ wfInstanceId: this.wfInstance.id
61643
+ },
61644
+ url: 'workflow/wfInstanceNodelog/listWfNodelog'
61645
+ }).then(function (res) {
61646
+ if (res.code === 'success') {
61647
+ var historyWflogs = res.body.listdata.filter(function (wflog) {
61648
+ return wflog.nodeName === _this12.wfInstance.udmNodes[index].name;
61649
+ });
61650
+ if (historyWflogs.length > 0) {
61651
+ _this12.$dialog.alert({
61652
+ message: '不允许删除已经送审批或办理的节点!'
61653
+ });
61654
+ } else {
61655
+ _this12.wfInstance.udmNodes.splice(index, 1);
61656
+ _this12.$forceUpdate();
61657
+ }
61658
+ } else {
61659
+ _this12.$dialog.alert({
61660
+ message: res.message
61661
+ });
61662
+ }
61663
+ });
61664
+ }
61241
61665
  }
61242
61666
  }
61243
61667
  });
61244
61668
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
61245
61669
  /* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
61246
- // 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
61247
- var SubmitHandlevue_type_style_index_0_id_ac8cafcc_prod_scoped_true_lang_scss = __webpack_require__(1364);
61248
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=ac8cafcc&prod&scoped=true&lang=scss
61670
+ // 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=3c078a1b&prod&scoped=true&lang=scss
61671
+ var SubmitHandlevue_type_style_index_0_id_3c078a1b_prod_scoped_true_lang_scss = __webpack_require__(5947);
61672
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=3c078a1b&prod&scoped=true&lang=scss
61249
61673
 
61250
61674
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue
61251
61675
 
@@ -61258,11 +61682,11 @@ var SubmitHandlevue_type_style_index_0_id_ac8cafcc_prod_scoped_true_lang_scss =
61258
61682
 
61259
61683
  var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
61260
61684
  src_SubmitHandlevue_type_script_lang_js,
61261
- SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render,
61262
- SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_staticRenderFns,
61685
+ SubmitHandlevue_type_template_id_3c078a1b_scoped_true_render,
61686
+ SubmitHandlevue_type_template_id_3c078a1b_scoped_true_staticRenderFns,
61263
61687
  false,
61264
61688
  null,
61265
- "ac8cafcc",
61689
+ "3c078a1b",
61266
61690
  null
61267
61691
 
61268
61692
  )
@@ -61647,8 +62071,8 @@ var WfNodelogListvue_type_template_id_0e256787_scoped_true_render = function ren
61647
62071
  };
61648
62072
  var WfNodelogListvue_type_template_id_0e256787_scoped_true_staticRenderFns = [];
61649
62073
 
61650
- ;// 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/ModifyWflogAddUser.vue?vue&type=template&id=db68a166&scoped=true
61651
- var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_render = function render() {
62074
+ ;// 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/ModifyWflogAddUser.vue?vue&type=template&id=897ddfa6&scoped=true
62075
+ var ModifyWflogAddUservue_type_template_id_897ddfa6_scoped_true_render = function render() {
61652
62076
  var _vm = this,
61653
62077
  _c = _vm._self._c;
61654
62078
  return _vm.dialogFormVisible ? _c('PopupDialog', {
@@ -61795,7 +62219,7 @@ var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_render = functio
61795
62219
  }
61796
62220
  }, [_vm._v("确 定")])], 1)], 1) : _vm._e();
61797
62221
  };
61798
- var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns = [];
62222
+ var ModifyWflogAddUservue_type_template_id_897ddfa6_scoped_true_staticRenderFns = [];
61799
62223
 
61800
62224
  ;// 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/ModifyWflogAddUser.vue?vue&type=script&lang=js
61801
62225
 
@@ -61847,7 +62271,6 @@ var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns
61847
62271
  _this.wfNodeName = wfNodeName;
61848
62272
  if (!wflog) {
61849
62273
  _this.getCurWflog();
61850
- _this.loading = false;
61851
62274
  return;
61852
62275
  }
61853
62276
  this.wfEngineUrl = this.$route.query.wfEngineUrl || '';
@@ -61861,41 +62284,61 @@ var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns
61861
62284
  this.wflog.pathName = this.$tx('ecmapp.wflowform.batchTransfer', '批量转派');
61862
62285
  }
61863
62286
  this.dialogFormVisible = true;
61864
- this.doing = false;
61865
-
61866
- // 查询流程配置环节
61867
- this.$http({
61868
- method: 'POST',
61869
- params: {
61870
- wfProcessId: wfInstance.wfId
61871
- },
61872
- // 查询当前流程全部环节
61873
- url: 'workflow/wfdProcessMgr/queryWfdNodeByProcessId'
61874
- }).then(function (res) {
61875
- if (res.code === 'success') {
61876
- res.body.listdata.forEach(function (wfd) {
61877
- if (wfd.name !== 'jslc' && wfd.name !== 'start' && wfd.name !== 'jslc' && wfd.name !== 'dfzjd' && wfd.name !== 'jsrw' && !wfd.dccodeType) {
61878
- _this.wfdNodeList.push(wfd);
61879
- if (wfd.name === _this2.wfNodeName) {
61880
- _this.$set(_this.wflog, 'newNode', _this.wfdNodeList.length - 1);
61881
- _this.setTimeLimit(_this.wfdNodeList.length - 1);
61882
- if (_this.wflog.timeLimitDay === 1 && wfd.timeLimitDay === 0) {
61883
- _this.$set(_this.wflog, 'newTimeLimit', _this.wflog.limitTime);
62287
+ if (wfInstance.udmNodes && wfInstance.module.indexOf('udmjysp_') == 0) {
62288
+ var udmNodes = wfInstance.udmNodes;
62289
+ if (typeof udmNodes === 'string') {
62290
+ udmNodes = JSON.parse(udmNodes);
62291
+ }
62292
+ udmNodes.forEach(function (udmNode) {
62293
+ if (_this.modifyType !== 'addCooperationUser' || _this.historyWflogs.filter(function (wflog) {
62294
+ return wflog.nodeName === udmNode.name;
62295
+ }).length > 0) {
62296
+ _this.wfdNodeList.push(udmNode);
62297
+ }
62298
+ if (udmNode.name === _this2.wfNodeName) {
62299
+ _this.$set(_this.wflog, 'newNode', _this.wfdNodeList.length - 1);
62300
+ _this.setTimeLimit(_this.wfdNodeList.length - 1);
62301
+ if (_this.wflog.timeLimitDay === 1 && udmNode.timeLimitDay === 0) {
62302
+ _this.$set(_this.wflog, 'newTimeLimit', _this.wflog.limitTime);
62303
+ }
62304
+ }
62305
+ });
62306
+ _this.loading = false;
62307
+ } else {
62308
+ // 查询流程配置环节
62309
+ this.$http({
62310
+ method: 'POST',
62311
+ params: {
62312
+ wfProcessId: wfInstance.wfId
62313
+ },
62314
+ // 查询当前流程全部环节
62315
+ url: 'workflow/wfdProcessMgr/queryWfdNodeByProcessId'
62316
+ }).then(function (res) {
62317
+ if (res.code === 'success') {
62318
+ res.body.listdata.forEach(function (wfd) {
62319
+ if (wfd.name !== 'jslc' && wfd.name !== 'start' && wfd.name !== 'jslc' && wfd.name !== 'dfzjd' && wfd.name !== 'jsrw' && wfd.name !== 'zyjd' && !wfd.dccodeType) {
62320
+ _this.wfdNodeList.push(wfd);
62321
+ if (wfd.name === _this2.wfNodeName) {
62322
+ _this.$set(_this.wflog, 'newNode', _this.wfdNodeList.length - 1);
62323
+ _this.setTimeLimit(_this.wfdNodeList.length - 1);
62324
+ if (_this.wflog.timeLimitDay === 1 && wfd.timeLimitDay === 0) {
62325
+ _this.$set(_this.wflog, 'newTimeLimit', _this.wflog.limitTime);
62326
+ }
61884
62327
  }
61885
62328
  }
61886
- }
61887
- });
61888
- _this.loading = false;
61889
- } else {
61890
- _this2.$alert({
61891
- message: res.message,
61892
- type: 'error'
61893
- }).then(function () {
61894
- _this.handleDialogClose();
62329
+ });
61895
62330
  _this.loading = false;
61896
- });
61897
- }
61898
- });
62331
+ } else {
62332
+ _this2.$alert({
62333
+ message: res.message,
62334
+ type: 'error'
62335
+ }).then(function () {
62336
+ _this.handleDialogClose();
62337
+ _this.loading = false;
62338
+ });
62339
+ }
62340
+ });
62341
+ }
61899
62342
  },
61900
62343
  getCurWflog: function getCurWflog() {
61901
62344
  var _this3 = this;
@@ -61922,6 +62365,7 @@ var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns
61922
62365
  },
61923
62366
  url: 'workflow/wfInstanceNodelog/listWfNodelog'
61924
62367
  }).then(function (res) {
62368
+ _this.loading = false;
61925
62369
  if (res.code === 'success') {
61926
62370
  res.body.listdata.forEach(function (wflog) {
61927
62371
  if (wflog.id === curTN.tnID) {
@@ -62081,9 +62525,9 @@ var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns
62081
62525
  });
62082
62526
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=script&lang=js
62083
62527
  /* harmony default export */ var src_ModifyWflogAddUservue_type_script_lang_js = (ModifyWflogAddUservue_type_script_lang_js);
62084
- // 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/ModifyWflogAddUser.vue?vue&type=style&index=0&id=db68a166&prod&scoped=true&lang=scss
62085
- var ModifyWflogAddUservue_type_style_index_0_id_db68a166_prod_scoped_true_lang_scss = __webpack_require__(9835);
62086
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=db68a166&prod&scoped=true&lang=scss
62528
+ // 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/ModifyWflogAddUser.vue?vue&type=style&index=0&id=897ddfa6&prod&scoped=true&lang=scss
62529
+ var ModifyWflogAddUservue_type_style_index_0_id_897ddfa6_prod_scoped_true_lang_scss = __webpack_require__(6416);
62530
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=897ddfa6&prod&scoped=true&lang=scss
62087
62531
 
62088
62532
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue
62089
62533
 
@@ -62096,11 +62540,11 @@ var ModifyWflogAddUservue_type_style_index_0_id_db68a166_prod_scoped_true_lang_s
62096
62540
 
62097
62541
  var ModifyWflogAddUser_component = (0,componentNormalizer/* default */.A)(
62098
62542
  src_ModifyWflogAddUservue_type_script_lang_js,
62099
- ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_render,
62100
- ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns,
62543
+ ModifyWflogAddUservue_type_template_id_897ddfa6_scoped_true_render,
62544
+ ModifyWflogAddUservue_type_template_id_897ddfa6_scoped_true_staticRenderFns,
62101
62545
  false,
62102
62546
  null,
62103
- "db68a166",
62547
+ "897ddfa6",
62104
62548
  null
62105
62549
 
62106
62550
  )