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.
@@ -7188,7 +7188,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-0685b481] .van-nav-bar__title{
7188
7188
 
7189
7189
  /***/ }),
7190
7190
 
7191
- /***/ 2581:
7191
+ /***/ 2121:
7192
7192
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7193
7193
 
7194
7194
  "use strict";
@@ -7202,14 +7202,14 @@ __webpack_require__.r(__webpack_exports__);
7202
7202
 
7203
7203
  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()));
7204
7204
  // Module
7205
- ___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)}", ""]);
7205
+ ___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)}", ""]);
7206
7206
  // Exports
7207
7207
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7208
7208
 
7209
7209
 
7210
7210
  /***/ }),
7211
7211
 
7212
- /***/ 2412:
7212
+ /***/ 7218:
7213
7213
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7214
7214
 
7215
7215
  "use strict";
@@ -7223,7 +7223,7 @@ __webpack_require__.r(__webpack_exports__);
7223
7223
 
7224
7224
  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()));
7225
7225
  // Module
7226
- ___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}", ""]);
7226
+ ___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}", ""]);
7227
7227
  // Exports
7228
7228
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7229
7229
 
@@ -7251,7 +7251,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".handle-idea-container[data-v-5a7e7646
7251
7251
 
7252
7252
  /***/ }),
7253
7253
 
7254
- /***/ 6359:
7254
+ /***/ 8468:
7255
7255
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7256
7256
 
7257
7257
  "use strict";
@@ -7265,7 +7265,7 @@ __webpack_require__.r(__webpack_exports__);
7265
7265
 
7266
7266
  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()));
7267
7267
  // Module
7268
- ___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}", ""]);
7268
+ ___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}", ""]);
7269
7269
  // Exports
7270
7270
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7271
7271
 
@@ -7293,7 +7293,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".popub-container[data-v-6850137e]{widt
7293
7293
 
7294
7294
  /***/ }),
7295
7295
 
7296
- /***/ 1176:
7296
+ /***/ 6159:
7297
7297
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7298
7298
 
7299
7299
  "use strict";
@@ -7312,7 +7312,7 @@ var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require
7312
7312
  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()));
7313
7313
  var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___);
7314
7314
  // Module
7315
- ___CSS_LOADER_EXPORT___.push([module.id, ".submit-handle-container .idea-button-container .van-cell__value[data-v-ac8cafcc]{text-align:right}.submit-handle-container .idea-button-container .van-cell__value .van-button[data-v-ac8cafcc]{margin-right:0;margin-left:5px}.submit-handle-container .curIdea-filed[data-v-ac8cafcc] .van-cell__title,.submit-handle-container .curIdea-filed[data-v-ac8cafcc]:after{display:none}.submit-handle-container .clearfix[data-v-ac8cafcc]:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.submit-handle-container .van-wflow-operate-detail-cell[data-v-ac8cafcc]:after{border-top-width:0}.submit-handle-container .van-wflow-operate-detail-cell-path[data-v-ac8cafcc]:after{border-width:1px;-webkit-transform:scale(.5);transform:scale(.5)}.submit-handle-container .tnLimit-container[data-v-ac8cafcc] .van-field__body:after{color:#323233;content:attr(value-suffix)}.submit-handle-container .delete-icon[data-v-ac8cafcc]{display:-webkit-box;display:-ms-flexbox;display:flex;float:right}.submit-handle-container .delete-icon .van-icon[data-v-ac8cafcc]{line-height:24px;margin-left:5px;font-size:16px}.selectBox_title[data-v-ac8cafcc]{height:45px;line-height:45px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;font-size:14px}.selectBox_content[data-v-ac8cafcc],.selectBox_title[data-v-ac8cafcc]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 15px}.selectBox_content[data-v-ac8cafcc]{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap}.selectBox_content .selectBox_content_son[data-v-ac8cafcc]{border:1px solid #f1f1f1}.selectBox_content .selectBox_content_son[data-v-ac8cafcc],.selectBox_content .selectBox_content_son_change[data-v-ac8cafcc]{padding:4px;background:#f8fafb;font-size:14px;margin-bottom:10px!important;text-align:center;height:22px;line-height:22px;width:calc(25% - 17.5px);margin-right:10px}.selectBox_content .selectBox_content_son_change[data-v-ac8cafcc]{border:1px solid #3f88f1;background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-repeat:no-repeat;background-size:15px 15px;background-position:100% 100%;color:#3f88f1}.selectBox_content_sonall[data-v-ac8cafcc]{white-space:nowrap;overflow:hidden;overflow-x:scroll;-webkit-overflow-scrolling:touch}.selectBox_content_sonall[data-v-ac8cafcc]:nth-child(4n){margin-right:0}.selectBox_content_sonall[data-v-ac8cafcc]::-webkit-scrollbar{display:none}.viewAllComments[data-v-ac8cafcc]{height:45px;line-height:45px;text-align:center;color:#b7b7b7;font-size:12px;background:#fff;display:block;width:100%}", ""]);
7315
+ ___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%}", ""]);
7316
7316
  // Exports
7317
7317
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
7318
7318
 
@@ -32386,35 +32386,35 @@ var update = add("a502c74c", content, true, {"sourceMap":false,"shadowMode":fals
32386
32386
 
32387
32387
  /***/ }),
32388
32388
 
32389
- /***/ 7179:
32389
+ /***/ 799:
32390
32390
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32391
32391
 
32392
32392
  // style-loader: Adds some css to the DOM by adding a <style> tag
32393
32393
 
32394
32394
  // load the styles
32395
- var content = __webpack_require__(2581);
32395
+ var content = __webpack_require__(2121);
32396
32396
  if(content.__esModule) content = content.default;
32397
32397
  if(typeof content === 'string') content = [[module.id, content, '']];
32398
32398
  if(content.locals) module.exports = content.locals;
32399
32399
  // add the styles to the DOM
32400
32400
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32401
- var update = add("7f7025d5", content, true, {"sourceMap":false,"shadowMode":false});
32401
+ var update = add("4d010f29", content, true, {"sourceMap":false,"shadowMode":false});
32402
32402
 
32403
32403
  /***/ }),
32404
32404
 
32405
- /***/ 2606:
32405
+ /***/ 2496:
32406
32406
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32407
32407
 
32408
32408
  // style-loader: Adds some css to the DOM by adding a <style> tag
32409
32409
 
32410
32410
  // load the styles
32411
- var content = __webpack_require__(2412);
32411
+ var content = __webpack_require__(7218);
32412
32412
  if(content.__esModule) content = content.default;
32413
32413
  if(typeof content === 'string') content = [[module.id, content, '']];
32414
32414
  if(content.locals) module.exports = content.locals;
32415
32415
  // add the styles to the DOM
32416
32416
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32417
- var update = add("9f1f0c72", content, true, {"sourceMap":false,"shadowMode":false});
32417
+ var update = add("70851751", content, true, {"sourceMap":false,"shadowMode":false});
32418
32418
 
32419
32419
  /***/ }),
32420
32420
 
@@ -32434,19 +32434,19 @@ var update = add("6fa53184", content, true, {"sourceMap":false,"shadowMode":fals
32434
32434
 
32435
32435
  /***/ }),
32436
32436
 
32437
- /***/ 5369:
32437
+ /***/ 8786:
32438
32438
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32439
32439
 
32440
32440
  // style-loader: Adds some css to the DOM by adding a <style> tag
32441
32441
 
32442
32442
  // load the styles
32443
- var content = __webpack_require__(6359);
32443
+ var content = __webpack_require__(8468);
32444
32444
  if(content.__esModule) content = content.default;
32445
32445
  if(typeof content === 'string') content = [[module.id, content, '']];
32446
32446
  if(content.locals) module.exports = content.locals;
32447
32447
  // add the styles to the DOM
32448
32448
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32449
- var update = add("cce1b49a", content, true, {"sourceMap":false,"shadowMode":false});
32449
+ var update = add("d3748f70", content, true, {"sourceMap":false,"shadowMode":false});
32450
32450
 
32451
32451
  /***/ }),
32452
32452
 
@@ -32466,19 +32466,19 @@ var update = add("0bbd0584", content, true, {"sourceMap":false,"shadowMode":fals
32466
32466
 
32467
32467
  /***/ }),
32468
32468
 
32469
- /***/ 8562:
32469
+ /***/ 5877:
32470
32470
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
32471
32471
 
32472
32472
  // style-loader: Adds some css to the DOM by adding a <style> tag
32473
32473
 
32474
32474
  // load the styles
32475
- var content = __webpack_require__(1176);
32475
+ var content = __webpack_require__(6159);
32476
32476
  if(content.__esModule) content = content.default;
32477
32477
  if(typeof content === 'string') content = [[module.id, content, '']];
32478
32478
  if(content.locals) module.exports = content.locals;
32479
32479
  // add the styles to the DOM
32480
32480
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
32481
- var update = add("e7189816", content, true, {"sourceMap":false,"shadowMode":false});
32481
+ var update = add("49f742b4", content, true, {"sourceMap":false,"shadowMode":false});
32482
32482
 
32483
32483
  /***/ }),
32484
32484
 
@@ -55749,8 +55749,8 @@ WfStatus_src.install = function (Vue) {
55749
55749
  Vue.component(WfStatus_src.name, WfStatus_src);
55750
55750
  };
55751
55751
  /* harmony default export */ var WfStatus = (WfStatus_src);
55752
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=25aa7e12&scoped=true
55753
- var Attachmentvue_type_template_id_25aa7e12_scoped_true_render = function render() {
55752
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=template&id=2c9f8b86&scoped=true
55753
+ var Attachmentvue_type_template_id_2c9f8b86_scoped_true_render = function render() {
55754
55754
  var _vm = this,
55755
55755
  _c = _vm._self._c;
55756
55756
  return _c('div', {
@@ -56011,7 +56011,7 @@ var Attachmentvue_type_template_id_25aa7e12_scoped_true_render = function render
56011
56011
  }
56012
56012
  })], 1) : _vm._e()], 1);
56013
56013
  };
56014
- var Attachmentvue_type_template_id_25aa7e12_scoped_true_staticRenderFns = [];
56014
+ var Attachmentvue_type_template_id_2c9f8b86_scoped_true_staticRenderFns = [];
56015
56015
 
56016
56016
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
56017
56017
  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); }
@@ -56736,7 +56736,7 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56736
56736
  _this.$set($scope, 'bodyfile', attach);
56737
56737
  if (typeof $scope.vo.flBodyFilename !== 'undefined') $scope.vo.flBodyFilename = attach.fileName;
56738
56738
  }
56739
- if (attach.fileName && attach.fileName.substring(attach.fileName.length - 4) === '.pdf') {
56739
+ if (attach.fileName && (attach.fileName.substring(attach.fileName.length - 4) === '.pdf' || attach.fileName.substring(attach.fileName.length - 4) === '.ofd')) {
56740
56740
  _this.$bus.emit('onUploadProgress', attach);
56741
56741
  }
56742
56742
  });
@@ -56872,9 +56872,9 @@ function Attachmentvue_type_script_lang_js_toPrimitive(t, r) { if ("object" != A
56872
56872
  });
56873
56873
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=script&lang=js
56874
56874
  /* harmony default export */ var src_Attachmentvue_type_script_lang_js = (Attachmentvue_type_script_lang_js);
56875
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=25aa7e12&prod&scoped=true&lang=scss
56876
- var Attachmentvue_type_style_index_0_id_25aa7e12_prod_scoped_true_lang_scss = __webpack_require__(7179);
56877
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=25aa7e12&prod&scoped=true&lang=scss
56875
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=2c9f8b86&prod&scoped=true&lang=scss
56876
+ var Attachmentvue_type_style_index_0_id_2c9f8b86_prod_scoped_true_lang_scss = __webpack_require__(799);
56877
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue?vue&type=style&index=0&id=2c9f8b86&prod&scoped=true&lang=scss
56878
56878
 
56879
56879
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/Attachment.vue
56880
56880
 
@@ -56887,18 +56887,18 @@ var Attachmentvue_type_style_index_0_id_25aa7e12_prod_scoped_true_lang_scss = __
56887
56887
 
56888
56888
  var Attachment_component = (0,componentNormalizer/* default */.A)(
56889
56889
  src_Attachmentvue_type_script_lang_js,
56890
- Attachmentvue_type_template_id_25aa7e12_scoped_true_render,
56891
- Attachmentvue_type_template_id_25aa7e12_scoped_true_staticRenderFns,
56890
+ Attachmentvue_type_template_id_2c9f8b86_scoped_true_render,
56891
+ Attachmentvue_type_template_id_2c9f8b86_scoped_true_staticRenderFns,
56892
56892
  false,
56893
56893
  null,
56894
- "25aa7e12",
56894
+ "2c9f8b86",
56895
56895
  null
56896
56896
 
56897
56897
  )
56898
56898
 
56899
56899
  /* harmony default export */ var Attachment = (Attachment_component.exports);
56900
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=2e25b2ec&scoped=true
56901
- var BodyFilevue_type_template_id_2e25b2ec_scoped_true_render = function render() {
56900
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=template&id=43b13ff3&scoped=true
56901
+ var BodyFilevue_type_template_id_43b13ff3_scoped_true_render = function render() {
56902
56902
  var _vm = this,
56903
56903
  _c = _vm._self._c;
56904
56904
  return _c('div', {
@@ -57262,7 +57262,7 @@ var BodyFilevue_type_template_id_2e25b2ec_scoped_true_render = function render()
57262
57262
  })])]) : _vm._e()]) : _vm._e()];
57263
57263
  })], 2)])], 1);
57264
57264
  };
57265
- var BodyFilevue_type_template_id_2e25b2ec_scoped_true_staticRenderFns = [];
57265
+ var BodyFilevue_type_template_id_43b13ff3_scoped_true_staticRenderFns = [];
57266
57266
 
57267
57267
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
57268
57268
  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); }
@@ -57398,113 +57398,101 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57398
57398
  mounted: function mounted() {},
57399
57399
  methods: {
57400
57400
  onTabChanged: function onTabChanged(tabActive) {
57401
+ if (this.wflowNavbarList[tabActive] === 'BodyFile') {
57402
+ this.viewBodyFile();
57403
+ }
57404
+ this.setFooterBtns(tabActive);
57405
+ },
57406
+ viewBodyFile: function viewBodyFile() {
57401
57407
  var _this2 = this;
57402
57408
  return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
57409
+ var oriangialName, extName, _this, appUrl, tSessionId, downUrl, fileurl, _fileurl;
57403
57410
  return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
57404
57411
  while (1) switch (_context.prev = _context.next) {
57405
57412
  case 0:
57406
- if (_this2.wflowNavbarList[tabActive] === 'BodyFile') {
57407
- // if (this.$vnode.context.wfInstance.passenger.onlineViewer === 'fuxin') {
57408
- }
57409
- _this2.setFooterBtns(tabActive);
57410
- case 2:
57411
- case "end":
57412
- return _context.stop();
57413
- }
57414
- }, _callee);
57415
- }))();
57416
- },
57417
- viewBodyFile: function viewBodyFile() {
57418
- var _this3 = this;
57419
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
57420
- var oriangialName, extName, _this, appUrl, tSessionId, downUrl, fileurl, _fileurl;
57421
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
57422
- while (1) switch (_context2.prev = _context2.next) {
57423
- case 0:
57424
- if (!(!_this3.flBodyfile || _this3.flBodyfile.id === undefined)) {
57425
- _context2.next = 2;
57413
+ if (!(!_this2.flBodyfile || _this2.flBodyfile.id === undefined)) {
57414
+ _context.next = 2;
57426
57415
  break;
57427
57416
  }
57428
- return _context2.abrupt("return");
57417
+ return _context.abrupt("return");
57429
57418
  case 2:
57430
- _this3.downloadurl = null;
57431
- _this3.bodyFileUrl = '';
57432
- _this3.flBodyfileBak = _this3.flBodyfile;
57433
- oriangialName = _this3.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
57419
+ _this2.viewBodyFileShow = '';
57420
+ _this2.downloadurl = null;
57421
+ _this2.bodyFileUrl = '';
57422
+ _this2.flBodyfileBak = _this2.flBodyfile;
57423
+ oriangialName = _this2.flBodyfile.originalName.replace('.des', '').replace('.xor', '').replace('.rsm3', '').replace('.sm4', '');
57434
57424
  extName = oriangialName.substring(oriangialName.lastIndexOf('.')).toLowerCase();
57435
- _this3.seal = false;
57436
- _this3.$vnode.context.commandBar.forEach(function (btn) {
57437
- if (btn.btnCode === 'btnStampClick' && _this3.$vnode.context.wfInstance.haveDoc === 2) {
57438
- _this3.seal = true;
57425
+ _this2.seal = false;
57426
+ _this2.$vnode.context.commandBar.forEach(function (btn) {
57427
+ if (btn.btnCode === 'btnStampClick' && _this2.$vnode.context.wfInstance.haveDoc === 2) {
57428
+ _this2.seal = true;
57439
57429
  }
57440
57430
  });
57441
- if (_this3.fileNeedSign === 1 && _this3.$vnode.context.wfInstance.haveDoc === 2) {
57442
- _this3.sign = true;
57431
+ if (_this2.fileNeedSign === 1 && _this2.$vnode.context.wfInstance.haveDoc === 2) {
57432
+ _this2.sign = true;
57443
57433
  } else {
57444
- _this3.sign = false;
57434
+ _this2.sign = false;
57445
57435
  }
57446
- _this = _this3;
57447
- if (!(extName === '.ofd' && _this3.onlineViewer === 'fuxin')) {
57448
- _context2.next = 28;
57436
+ _this = _this2;
57437
+ if (!(extName === '.ofd' && _this2.viewer === 'fuxin')) {
57438
+ _context.next = 28;
57449
57439
  break;
57450
57440
  }
57451
57441
  appUrl = location.href.split('#')[0]; // url
57452
57442
  if (appUrl.indexOf('/mindex.html') > -1) {
57453
57443
  appUrl = appUrl.split('/mindex.html')[0];
57454
57444
  }
57455
- _context2.next = 16;
57456
- return _this3.getSessionId();
57457
- case 16:
57458
- tSessionId = _context2.sent;
57445
+ _context.next = 17;
57446
+ return _this2.getSessionId();
57447
+ case 17:
57448
+ tSessionId = _context.sent;
57459
57449
  downUrl = appUrl + "/apigw";
57460
- downUrl += _this3.wfAttachUrl.substring(0, 1) === '/' ? _this3.wfAttachUrl : '/' + _this3.wfAttachUrl;
57461
- downUrl += '/downloadById?attachIds=' + _this3.flBodyfile.id + '&topdf=true';
57462
- // downUrl += this.waterMark ? '&waterMark=' + this.waterMark + '&markContent=' + this.markContent : ''
57450
+ downUrl += _this2.wfAttachUrl.substring(0, 1) === '/' ? _this2.wfAttachUrl : '/' + _this2.wfAttachUrl;
57451
+ downUrl += '/downloadById?attachIds=' + _this2.flBodyfile.id + '&topdf=true';
57463
57452
  downUrl += '&tSessionId=' + tSessionId;
57464
- console.log(downUrl);
57465
- if (_this3.fuxinBaseUrl) {
57466
- _this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
57467
- _this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57453
+ if (_this2.fuxinBaseUrl) {
57454
+ _this2.fuxinBaseUrl = _this2.fuxinBaseUrl.replace('/pc/', '/mobile/');
57455
+ _this2.bodyFileUrl = _this2.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57468
57456
  } else {
57469
- _this3.$http({
57457
+ _this2.$http({
57470
57458
  method: 'get',
57471
57459
  contentType: 'application/x-www-form-urlencoded',
57472
57460
  url: 'base/paramConfig/findParamValueByName?orgCode=standard&paramName=fuxin.viewer.url'
57473
57461
  }).then(function (res) {
57474
57462
  if (res.code === 'success') {
57475
- _this3.fuxinBaseUrl = res.body.value;
57476
- _this3.fuxinBaseUrl = _this3.fuxinBaseUrl.replace('/pc/', '/mobile/');
57477
- _this3.bodyFileUrl = _this3.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57463
+ _this2.fuxinBaseUrl = res.body.value;
57464
+ _this2.fuxinBaseUrl = _this2.fuxinBaseUrl.replace('/pc/', '/mobile/');
57465
+ _this2.bodyFileUrl = _this2.fuxinBaseUrl + '?docuri=' + encodeURIComponent(downUrl);
57478
57466
  } else {
57479
- _this3.$toast.fail('未配置福星预览地址参数 fuxin.viewer.url');
57467
+ _this2.$toast.fail('未配置福星预览地址参数 fuxin.viewer.url');
57480
57468
  }
57481
57469
  });
57482
57470
  }
57483
- console.log('bodyFileUrl=====>', _this3.bodyFileUrl);
57484
- _this3.viewBodyFileShow = 'ofd';
57485
- _this3.$nextTick(function () {
57471
+ console.log('bodyFileUrl=====>', _this2.bodyFileUrl);
57472
+ _this2.viewBodyFileShow = 'ofd';
57473
+ _this2.$nextTick(function () {
57486
57474
  if (document.getElementById('changeScreenH')) {
57487
57475
  document.getElementById('changeScreenH').style.display = 'none';
57488
57476
  }
57489
57477
  });
57490
57478
  _this.loaded = false;
57491
- return _context2.abrupt("return");
57479
+ return _context.abrupt("return");
57492
57480
  case 28:
57493
- _this3.viewer = 'pdfjs';
57494
- if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (_this3.viewer === 'pdfjs' || _this3.sign || _this3.seal)) {
57495
- _this3.viewBodyFileShow = 'pdf';
57496
- if (_this3.sign || _this3.seal) {
57497
- _this3.waterMark = false;
57481
+ _this2.viewer = 'pdfjs';
57482
+ if ((extName === '.pdf' || extName === '.pdf.des' || extName === '.pdf.xor' || extName === '.pdf.rsm3' || extName === '.pdf.sm4') && (_this2.viewer === 'pdfjs' || _this2.sign || _this2.seal)) {
57483
+ _this2.viewBodyFileShow = 'pdf';
57484
+ if (_this2.sign || _this2.seal) {
57485
+ _this2.waterMark = false;
57498
57486
  }
57499
- fileurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&widthType=auto&viewType=mobile';
57500
- fileurl += '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57501
- if (_this3.flBodyfile.fileName.indexOf('{') !== -1 || _this3.flBodyfile.fileName.indexOf('%') !== -1 || _this3.flBodyfile.fileName.indexOf('[') !== -1) {
57502
- fileurl += '&fileName=' + encodeURIComponent(_this3.flBodyfile.fileName);
57487
+ fileurl = "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this2.flBodyfile.id + '&widthType=auto&viewType=mobile';
57488
+ fileurl += '&httpPort=' + location.port + '&waterMark=' + _this2.waterMark + '&markContent=' + _this2.markContent;
57489
+ if (_this2.flBodyfile.fileName.indexOf('{') !== -1 || _this2.flBodyfile.fileName.indexOf('%') !== -1 || _this2.flBodyfile.fileName.indexOf('[') !== -1) {
57490
+ fileurl += '&fileName=' + encodeURIComponent(_this2.flBodyfile.fileName);
57503
57491
  } else {
57504
- fileurl += '&fileName=' + _this3.flBodyfile.fileName;
57492
+ fileurl += '&fileName=' + _this2.flBodyfile.fileName;
57505
57493
  }
57506
- _this3.bodyFileUrl = './plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(fileurl);
57507
- _this3.$nextTick(function () {
57494
+ _this2.bodyFileUrl = './plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(fileurl);
57495
+ _this2.$nextTick(function () {
57508
57496
  var iframe = document.getElementById('pdfHtml');
57509
57497
  if (iframe == null) return;
57510
57498
  if (iframe.attachEvent) {
@@ -57518,38 +57506,38 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57518
57506
  }
57519
57507
  });
57520
57508
  } else if (extName === '.ofd') {
57521
- _this3.sign = false;
57522
- _this3.seal = false;
57523
- _this3.viewBodyFileShow = 'ofd';
57524
- _fileurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&widthType=auto&viewType=mobile';
57525
- if (_this3.flBodyfile.fileName.indexOf('{') !== -1 || _this3.flBodyfile.fileName.indexOf('%') !== -1 || _this3.flBodyfile.fileName.indexOf('[') !== -1) {
57526
- _fileurl += '&fileName=' + encodeURIComponent(_this3.flBodyfile.fileName);
57509
+ _this2.sign = false;
57510
+ _this2.seal = false;
57511
+ _this2.viewBodyFileShow = 'ofd';
57512
+ _fileurl = "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this2.flBodyfile.id + '&widthType=auto&viewType=mobile';
57513
+ if (_this2.flBodyfile.fileName.indexOf('{') !== -1 || _this2.flBodyfile.fileName.indexOf('%') !== -1 || _this2.flBodyfile.fileName.indexOf('[') !== -1) {
57514
+ _fileurl += '&fileName=' + encodeURIComponent(_this2.flBodyfile.fileName);
57527
57515
  } else {
57528
- _fileurl += '&fileName=' + _this3.flBodyfile.fileName;
57516
+ _fileurl += '&fileName=' + _this2.flBodyfile.fileName;
57529
57517
  }
57530
- _fileurl += '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57531
- _this3.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
57518
+ _fileurl += '&httpPort=' + location.port + '&waterMark=' + _this2.waterMark + '&markContent=' + _this2.markContent;
57519
+ _this2.bodyFileUrl = './plugins/OfdJs/view.html?file=' + encodeURIComponent(_fileurl);
57532
57520
  _this.loaded = false;
57533
- } else if (_this3.viewer.indexOf('dcs=') === 0) {
57534
- _this3.sign = false;
57535
- _this3.seal = false;
57536
- _this3.$http({
57521
+ } else if (_this2.viewer.indexOf('dcs=') === 0) {
57522
+ _this2.sign = false;
57523
+ _this2.seal = false;
57524
+ _this2.$http({
57537
57525
  method: 'GET',
57538
57526
  url: 'base/user/getSessionId'
57539
57527
  }).then(function (res) {
57540
57528
  if (res.code === 'success') {
57541
57529
  var _tSessionId = res.body.tSessionId;
57542
57530
  var hostname = location.href.split('mindex.html')[0];
57543
- var _downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?attachIds=' + _this3.flBodyfile.id + '&httpPort=' + location.port + '&tSessionId=' + _tSessionId;
57531
+ var _downUrl = hostname.substring(0, hostname.length - 1) + "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?attachIds=' + _this2.flBodyfile.id + '&httpPort=' + location.port + '&tSessionId=' + _tSessionId;
57544
57532
  var convertType = '0';
57545
- if (_this3.extName === '.ofd') {
57533
+ if (_this2.extName === '.ofd') {
57546
57534
  convertType = '21';
57547
- } else if (_this3.extName === '.pdf' || _this3.extName === '.pdfx') {
57535
+ } else if (_this2.extName === '.pdf' || _this2.extName === '.pdfx') {
57548
57536
  convertType = '20';
57549
57537
  }
57550
- _downUrl = _this3.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(_downUrl);
57551
- if (_this3.viewerUrlParams) {
57552
- _downUrl += '&' + _this3.viewerUrlParams;
57538
+ _downUrl = _this2.viewer.split('=')[1] + '/composite/httpfile?convertType=' + convertType + '&fileUrl=' + encodeURIComponent(_downUrl);
57539
+ if (_this2.viewerUrlParams) {
57540
+ _downUrl += '&' + _this2.viewerUrlParams;
57553
57541
  }
57554
57542
  if (_downUrl.indexOf('&acceptTracks=0') === -1) {
57555
57543
  _downUrl += '&acceptTracks=0';
@@ -57559,7 +57547,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57559
57547
  if (res.errorcode === 0) {
57560
57548
  _this.bodyFileUrl = res.data.viewUrl;
57561
57549
  } else {
57562
- _this3.$dialog.alert({
57550
+ _this2.$dialog.alert({
57563
57551
  message: res.message
57564
57552
  });
57565
57553
  }
@@ -57567,19 +57555,19 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57567
57555
  }
57568
57556
  });
57569
57557
  } else {
57570
- _this3.downloadurl = "/apigw" + '/' + _this3.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this3.flBodyfile.id + '&httpPort=' + location.port + '&waterMark=' + _this3.waterMark + '&markContent=' + _this3.markContent;
57558
+ _this2.downloadurl = "/apigw" + '/' + _this2.wfAttachUrl + '/downloadById?inline=true&attachIds=' + _this2.flBodyfile.id + '&httpPort=' + location.port + '&waterMark=' + _this2.waterMark + '&markContent=' + _this2.markContent;
57571
57559
  }
57572
57560
  case 30:
57573
57561
  case "end":
57574
- return _context2.stop();
57562
+ return _context.stop();
57575
57563
  }
57576
- }, _callee2);
57564
+ }, _callee);
57577
57565
  }))();
57578
57566
  },
57579
57567
  getSessionId: function getSessionId() {
57580
- var _this4 = this;
57568
+ var _this3 = this;
57581
57569
  return new Promise(function (resolve, reject) {
57582
- _this4.$http({
57570
+ _this3.$http({
57583
57571
  method: 'GET',
57584
57572
  params: {
57585
57573
  timeLength: 60
@@ -57595,42 +57583,42 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57595
57583
  });
57596
57584
  },
57597
57585
  reloadBodyFile: function reloadBodyFile() {
57598
- var _this5 = this;
57586
+ var _this4 = this;
57599
57587
  this.downloadurl = null;
57600
57588
  this.bodyFileUrl = '';
57601
57589
  this.$nextTick(function () {
57602
- _this5.viewBodyFile();
57590
+ _this4.viewBodyFile();
57603
57591
  });
57604
57592
  },
57605
57593
  setFooterBtns: function setFooterBtns(tabActive) {
57606
- var _this6 = this;
57607
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
57594
+ var _this5 = this;
57595
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
57608
57596
  var footerBtns, i, btn, isSeal, bodyFileList, openDocBtn, _openDocBtn, downloadBtn, historyFilesBtn, otherAppBtn, uploadBtn, _uploadBtn, editdocBtn, RedTitleBtn, _openDocBtn2, attachmentsTitleBtn, moreBtns, _i;
57609
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
57610
- while (1) switch (_context3.prev = _context3.next) {
57597
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
57598
+ while (1) switch (_context2.prev = _context2.next) {
57611
57599
  case 0:
57612
57600
  footerBtns = [];
57613
- if (!(_this6.wflowNavbarList[tabActive] !== 'BodyFile')) {
57614
- _context3.next = 5;
57601
+ if (!(_this5.wflowNavbarList[tabActive] !== 'BodyFile')) {
57602
+ _context2.next = 5;
57615
57603
  break;
57616
57604
  }
57617
- _this6.$vnode.context.setFooterBtns();
57618
- _context3.next = 30;
57605
+ _this5.$vnode.context.setFooterBtns();
57606
+ _context2.next = 22;
57619
57607
  break;
57620
57608
  case 5:
57621
- if (!_this6.pdfSealChange) {
57622
- _context3.next = 8;
57609
+ if (!_this5.pdfSealChange) {
57610
+ _context2.next = 8;
57623
57611
  break;
57624
57612
  }
57625
- _this6.setBtnSealSave();
57626
- return _context3.abrupt("return");
57613
+ _this5.setBtnSealSave();
57614
+ return _context2.abrupt("return");
57627
57615
  case 8:
57628
- if (!_this6.pdfSignChange) {
57629
- _context3.next = 11;
57616
+ if (!_this5.pdfSignChange) {
57617
+ _context2.next = 11;
57630
57618
  break;
57631
57619
  }
57632
- _this6.setBtnSingSave();
57633
- return _context3.abrupt("return");
57620
+ _this5.setBtnSingSave();
57621
+ return _context2.abrupt("return");
57634
57622
  case 11:
57635
57623
  for (i = 0; i < footerBtns.length; i++) {
57636
57624
  btn = footerBtns[i];
@@ -57639,10 +57627,10 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57639
57627
  }
57640
57628
  }
57641
57629
  isSeal = false;
57642
- if (_this6.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57630
+ if (_this5.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57643
57631
  // 套红模式下需要先套红在盖章
57644
- console.log(_this6.attachments, 'attachment');
57645
- bodyFileList = _this6.attachments.filter(function (item) {
57632
+ console.log(_this5.attachments, 'attachment');
57633
+ bodyFileList = _this5.attachments.filter(function (item) {
57646
57634
  return item.fileType === 'BODY';
57647
57635
  });
57648
57636
  if (bodyFileList && bodyFileList.length > 0) {
@@ -57652,7 +57640,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57652
57640
  bodyFileList.forEach(function (item) {
57653
57641
  var fileName = item.fileName;
57654
57642
  var bodyFileName = item.bodyFileName ? item.bodyFileName : item.fileName;
57655
- if (bodyFileName.includes('RedTitle_') || bodyFileName === _this6.$vnode.context.vo.flbodyfilename || fileName === _this6.$vnode.context.vo.flbodyfilename || fileName.includes('RedTitle_')) {
57643
+ if (bodyFileName.includes('RedTitle_') || bodyFileName === _this5.$vnode.context.vo.flbodyfilename || fileName === _this5.$vnode.context.vo.flbodyfilename || fileName.includes('RedTitle_')) {
57656
57644
  isSeal = true;
57657
57645
  }
57658
57646
  });
@@ -57662,47 +57650,47 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57662
57650
  // 非套红模式下可直接盖章
57663
57651
  isSeal = true;
57664
57652
  }
57665
- if (_this6.curTN.tnCanEdit === 1) {
57666
- if (_this6.seal && isSeal) {
57653
+ if (_this5.curTN.tnCanEdit === 1) {
57654
+ if (_this5.seal && isSeal) {
57667
57655
  openDocBtn = {
57668
57656
  id: 'btn_openDoc',
57669
57657
  btnName: '盖 章',
57670
57658
  btnIcon: 'upload',
57671
- btnClick: _this6.openSeal,
57659
+ btnClick: _this5.openSeal,
57672
57660
  btnPermission: '',
57673
57661
  btnStyleType: 'default'
57674
57662
  };
57675
57663
  footerBtns.splice(0, 0, openDocBtn);
57676
57664
  }
57677
- if (_this6.sign && isSeal) {
57665
+ if (_this5.sign && isSeal) {
57678
57666
  _openDocBtn = {
57679
57667
  id: 'btn_openDoc',
57680
57668
  btnName: '签 名',
57681
57669
  btnIcon: 'upload',
57682
- btnClick: _this6.pdfSign,
57670
+ btnClick: _this5.pdfSign,
57683
57671
  btnPermission: '',
57684
57672
  btnStyleType: 'default'
57685
57673
  };
57686
57674
  footerBtns.splice(0, 0, _openDocBtn);
57687
57675
  }
57688
57676
  }
57689
- if (_this6.flBodyfile) {
57677
+ if (_this5.flBodyfile) {
57690
57678
  downloadBtn = {
57691
57679
  id: 'btn_download',
57692
57680
  btnName: '下 载',
57693
57681
  btnIcon: 'download',
57694
- btnClick: _this6.downLoadFile,
57682
+ btnClick: _this5.downLoadFile,
57695
57683
  btnPermission: '',
57696
57684
  btnStyleType: 'default'
57697
57685
  };
57698
57686
  footerBtns.splice(0, 0, downloadBtn);
57699
57687
  }
57700
- if (_this6.flBodyfile && _this6.flBodyfile.fileId) {
57688
+ if (_this5.flBodyfile && _this5.flBodyfile.fileId) {
57701
57689
  historyFilesBtn = {
57702
57690
  id: 'btn_historyFiles',
57703
57691
  btnName: '历史版本',
57704
57692
  btnIcon: 'upload',
57705
- btnClick: _this6.btnViewHistoryFilesClick,
57693
+ btnClick: _this5.btnViewHistoryFilesClick,
57706
57694
  btnPermission: '',
57707
57695
  btnStyleType: 'default'
57708
57696
  };
@@ -57713,19 +57701,19 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57713
57701
  id: 'btn_otherApp',
57714
57702
  btnName: '其它应用打开',
57715
57703
  btnIcon: 'otherApp',
57716
- btnClick: _this6.btnOtherAppOpenClick,
57704
+ btnClick: _this5.btnOtherAppOpenClick,
57717
57705
  btnPermission: '',
57718
57706
  btnStyleType: 'default'
57719
57707
  };
57720
57708
  footerBtns.splice(0, 0, otherAppBtn);
57721
57709
  }
57722
- if (_this6.curTN.tnCanEdit === 1) {
57723
- if (!_this6.flBodyfile || !_this6.flBodyfile.id) {
57710
+ if (_this5.curTN.tnCanEdit === 1) {
57711
+ if (!_this5.flBodyfile || !_this5.flBodyfile.id) {
57724
57712
  uploadBtn = {
57725
57713
  id: 'btn_upload',
57726
57714
  btnName: '上传正文',
57727
57715
  btnIcon: 'upload',
57728
- btnClick: _this6.btnUploadBodyfileClick,
57716
+ btnClick: _this5.btnUploadBodyfileClick,
57729
57717
  btnPermission: '',
57730
57718
  btnStyleType: 'default'
57731
57719
  };
@@ -57735,25 +57723,25 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
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
  };
57742
57730
  footerBtns.splice(0, 0, _uploadBtn);
57743
57731
  }
57744
- editdocBtn = _this6.$vnode.context.commandBar.filter(function (btn) {
57732
+ editdocBtn = _this5.$vnode.context.commandBar.filter(function (btn) {
57745
57733
  if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnOpenWordClick') === 0) return true;
57746
57734
  });
57747
- if (_this6.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57735
+ if (_this5.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57748
57736
  // 套红按钮
57749
- RedTitleBtn = _this6.$vnode.context.commandBar.filter(function (btn) {
57737
+ RedTitleBtn = _this5.$vnode.context.commandBar.filter(function (btn) {
57750
57738
  if (btn.btnShow && btn.btnJavascript && btn.btnJavascript.indexOf('btnNoTitleModifyFlTypeClick') === 0) return true;
57751
57739
  });
57752
- RedTitleBtn.btnClick = _this6.btnNoTitleModifyFlTypeClick;
57753
- if (_this6.$vnode.context.wfInstance.haveDoc === 2 && editdocBtn.length > 0) {
57740
+ RedTitleBtn.btnClick = _this5.btnNoTitleModifyFlTypeClick;
57741
+ if (_this5.$vnode.context.wfInstance.haveDoc === 2 && editdocBtn.length > 0) {
57754
57742
  RedTitleBtn.btnName = '重新套红';
57755
57743
  footerBtns.splice(0, 0, RedTitleBtn);
57756
- } else if (_this6.$vnode.context.wfInstance.haveDoc === 1 && editdocBtn.length > 0) {
57744
+ } else if (_this5.$vnode.context.wfInstance.haveDoc === 1 && editdocBtn.length > 0) {
57757
57745
  RedTitleBtn.btnName = '套红';
57758
57746
  footerBtns.splice(0, 0, RedTitleBtn);
57759
57747
  }
@@ -57768,12 +57756,12 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57768
57756
  // }
57769
57757
  // }
57770
57758
 
57771
- if (editdocBtn.length > 0 && (_this6.officeType === 'wpsh5' || _this6.officeType === 'yzh5' || _this6.officeType === 'ech5')) {
57759
+ if (editdocBtn.length > 0 && (_this5.officeType === 'wpsh5' || _this5.officeType === 'yzh5' || _this5.officeType === 'ech5')) {
57772
57760
  _openDocBtn2 = {
57773
57761
  id: 'btn_openDoc',
57774
57762
  btnName: '编辑正文',
57775
57763
  btnIcon: 'upload',
57776
- btnClick: _this6.btnOpenWordClick,
57764
+ btnClick: _this5.btnOpenWordClick,
57777
57765
  btnPermission: '',
57778
57766
  btnStyleType: 'default'
57779
57767
  };
@@ -57781,14 +57769,14 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57781
57769
  }
57782
57770
 
57783
57771
  // if (this.attachments.some(item => item.fileType !== 'BODY')) {
57784
- _this6.attachmentsNum = _this6.attachments.filter(function (val) {
57772
+ _this5.attachmentsNum = _this5.attachments.filter(function (val) {
57785
57773
  return val.fileType !== 'BODY';
57786
57774
  }).length;
57787
57775
  attachmentsTitleBtn = {
57788
57776
  id: 'btn_attachment',
57789
- btnName: "\u9644 \u4EF6(".concat(_this6.attachmentsNum, ")"),
57777
+ btnName: "\u9644 \u4EF6(".concat(_this5.attachmentsNum, ")"),
57790
57778
  btnIcon: 'attachment',
57791
- btnClick: _this6.attachmentFile,
57779
+ btnClick: _this5.attachmentFile,
57792
57780
  btnPermission: '',
57793
57781
  btnStyleType: 'default'
57794
57782
  };
@@ -57811,42 +57799,13 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57811
57799
  }
57812
57800
  footerBtns.splice(1, 0, moreBtns);
57813
57801
  }
57814
- console.log('this.viewer', _this6);
57815
- if (!(_this6.viewer === 'fuxin' && !_this6.fuxinBaseUrl)) {
57816
- _context3.next = 26;
57817
- break;
57818
- }
57819
- _context3.next = 24;
57820
- return _this6.$http({
57821
- method: 'get',
57822
- contentType: 'application/x-www-form-urlencoded',
57823
- url: 'base/paramConfig/findParamValueByName?orgCode=standard&paramName=fuxin.viewer.url'
57824
- }).then(function (res) {
57825
- if (res.code === 'success') {
57826
- _this6.fuxinBaseUrl = res.body.value;
57827
- _this6.onlineViewer = 'fuxin';
57828
- } else {
57829
- _this6.onlineViewer = 'pdfjs';
57830
- }
57831
- });
57832
- case 24:
57833
- _context3.next = 27;
57834
- break;
57835
- case 26:
57836
- if (_this6.viewer === 'fuxin' && _this6.fuxinBaseUrl) {
57837
- _this6.onlineViewer = _this6.viewer;
57838
- } else {
57839
- _this6.onlineViewer = _this6.viewer || 'pdfjs';
57840
- }
57841
- case 27:
57842
- _this6.viewBodyFile();
57843
57802
  console.log(footerBtns, 'footerBtns --- >363');
57844
- _this6.$vnode.context.footerBtns = footerBtns;
57845
- case 30:
57803
+ _this5.$vnode.context.footerBtns = footerBtns;
57804
+ case 22:
57846
57805
  case "end":
57847
- return _context3.stop();
57806
+ return _context2.stop();
57848
57807
  }
57849
- }, _callee3);
57808
+ }, _callee2);
57850
57809
  }))();
57851
57810
  },
57852
57811
  // 选择印章
@@ -57867,21 +57826,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57867
57826
  },
57868
57827
  // 保存印章
57869
57828
  pdfSealSave: function pdfSealSave() {
57870
- var _this7 = this;
57871
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
57872
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
57873
- while (1) switch (_context4.prev = _context4.next) {
57829
+ var _this6 = this;
57830
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
57831
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
57832
+ while (1) switch (_context3.prev = _context3.next) {
57874
57833
  case 0:
57875
- _context4.next = 2;
57876
- return _this7.$refs.PdfTools.pdfStamp();
57834
+ _context3.next = 2;
57835
+ return _this6.$refs.PdfTools.pdfStamp();
57877
57836
  case 2:
57878
- _this7.pdfSealChange = false;
57879
- _this7.setFooterBtns(0);
57837
+ _this6.pdfSealChange = false;
57838
+ _this6.setFooterBtns(0);
57880
57839
  case 4:
57881
57840
  case "end":
57882
- return _context4.stop();
57841
+ return _context3.stop();
57883
57842
  }
57884
- }, _callee4);
57843
+ }, _callee3);
57885
57844
  }))();
57886
57845
  },
57887
57846
  // 添加签名
@@ -57902,21 +57861,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57902
57861
  },
57903
57862
  // 保存签名
57904
57863
  pdfSignSave: function pdfSignSave() {
57905
- var _this8 = this;
57906
- return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
57907
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
57908
- while (1) switch (_context5.prev = _context5.next) {
57864
+ var _this7 = this;
57865
+ return BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
57866
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
57867
+ while (1) switch (_context4.prev = _context4.next) {
57909
57868
  case 0:
57910
- _context5.next = 2;
57911
- return _this8.$refs.PdfTools.pdfSign();
57869
+ _context4.next = 2;
57870
+ return _this7.$refs.PdfTools.pdfSign();
57912
57871
  case 2:
57913
- _this8.pdfSignChange = false;
57914
- _this8.setFooterBtns(0);
57872
+ _this7.pdfSignChange = false;
57873
+ _this7.setFooterBtns(0);
57915
57874
  case 4:
57916
57875
  case "end":
57917
- return _context5.stop();
57876
+ return _context4.stop();
57918
57877
  }
57919
- }, _callee5);
57878
+ }, _callee4);
57920
57879
  }))();
57921
57880
  },
57922
57881
  attachmentDownloadClick: function attachmentDownloadClick(attachment) {
@@ -57936,21 +57895,21 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57936
57895
  this.$wv.showAttachmentOtherApps(this.flBodyfile);
57937
57896
  },
57938
57897
  btnUploadBodyfileClick: function btnUploadBodyfileClick() {
57939
- var _this9 = this;
57898
+ var _this8 = this;
57940
57899
  new Promise(function (resolve, reject) {
57941
- if (_this9.$vnode.context.wfInstance.haveDoc) {
57942
- _this9.$dialog.confirm({
57943
- message: _this9.$tx('ecmapp.wflowform.coverMainText', '重新上传会覆盖现有正文,是否确认?')
57944
- }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
57945
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
57946
- while (1) switch (_context6.prev = _context6.next) {
57900
+ if (_this8.$vnode.context.wfInstance.haveDoc) {
57901
+ _this8.$dialog.confirm({
57902
+ message: _this8.$tx('ecmapp.wflowform.coverMainText', '重新上传会覆盖现有正文,是否确认?')
57903
+ }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
57904
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
57905
+ while (1) switch (_context5.prev = _context5.next) {
57947
57906
  case 0:
57948
57907
  resolve(true);
57949
57908
  case 1:
57950
57909
  case "end":
57951
- return _context6.stop();
57910
+ return _context5.stop();
57952
57911
  }
57953
- }, _callee6);
57912
+ }, _callee5);
57954
57913
  }))).catch(function () {
57955
57914
  reject('cancel btnUploadBodyfileClick.');
57956
57915
  });
@@ -57958,19 +57917,19 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57958
57917
  resolve(true);
57959
57918
  }
57960
57919
  }).then(function (result) {
57961
- _this9.uploadList = [];
57962
- _this9.$vnode.context.formValidate(function () {
57963
- _this9.$vnode.context.submitHandle.submitType = 'Save';
57920
+ _this8.uploadList = [];
57921
+ _this8.$vnode.context.formValidate(function () {
57922
+ _this8.$vnode.context.submitHandle.submitType = 'Save';
57964
57923
  new Promise(function (resolve, reject) {
57965
- _this9.$vnode.context.formEvents.onWflowFormBeforeSubmit(_this9.$vnode.context, {
57924
+ _this8.$vnode.context.formEvents.onWflowFormBeforeSubmit(_this8.$vnode.context, {
57966
57925
  resolve: resolve,
57967
57926
  reject: reject
57968
57927
  });
57969
57928
  }).then(function (result) {
57970
57929
  if (!result) return;
57971
- _this9.flBodyfile = _this9.flBodyfileBak;
57972
- _this9.$nextTick(function () {
57973
- var uploadBtn = _this9.$el.querySelector('.van-uploader__input');
57930
+ _this8.flBodyfile = _this8.flBodyfileBak;
57931
+ _this8.$nextTick(function () {
57932
+ var uploadBtn = _this8.$el.querySelector('.van-uploader__input');
57974
57933
  uploadBtn.click();
57975
57934
  });
57976
57935
  });
@@ -57980,7 +57939,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57980
57939
  });
57981
57940
  },
57982
57941
  btnOpenWordClick: function btnOpenWordClick() {
57983
- var _this10 = this;
57942
+ var _this9 = this;
57984
57943
  // 编辑正文
57985
57944
  if (this.$vnode.context.wfInstance.passenger.docEditMode === 'NoTitle') {
57986
57945
  if (this.$vnode.context.wfInstance.haveDoc === 2) {
@@ -57989,7 +57948,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
57989
57948
  message: this.$tx('ecmapp.wflowform.alreadlyRed', '该公文已经套红,重新编辑正文后需要重套红!是否继续?'),
57990
57949
  title: this.$tx('common.confirm', '确认操作')
57991
57950
  }).then(function () {
57992
- _this10.$bus.emit('btnOpenWordClick', _this10.$vnode.context);
57951
+ _this9.$bus.emit('btnOpenWordClick', _this9.$vnode.context);
57993
57952
  }).catch(function () {
57994
57953
  // 处理选择否的情况
57995
57954
  return;
@@ -58016,7 +57975,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58016
57975
  });
58017
57976
  },
58018
57977
  handleUploadChange: function handleUploadChange(file) {
58019
- var _this11 = this;
57978
+ var _this10 = this;
58020
57979
  var fileName = file.file.name;
58021
57980
  var extName = fileName.substring(fileName.lastIndexOf('.')).toLowerCase();
58022
57981
  if (this.accept.indexOf(extName) === -1) {
@@ -58052,7 +58011,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58052
58011
  this.$set(this.$vnode.context, 'bodyfile', attach);
58053
58012
  this.bodyFileUrl = '';
58054
58013
  this.$nextTick(function () {
58055
- _this11.$vnode.context.btnSubmitClick('Save');
58014
+ _this10.$vnode.context.btnSubmitClick('Save');
58056
58015
  });
58057
58016
  },
58058
58017
  onUploadProgress: function onUploadProgress(attach) {
@@ -58100,7 +58059,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58100
58059
  }
58101
58060
  },
58102
58061
  btnViewHistoryFilesClick: function btnViewHistoryFilesClick(bodyfile) {
58103
- var _this12 = this;
58062
+ var _this11 = this;
58104
58063
  this.historyDialogVisible = true;
58105
58064
  var listdataUrl = this.wfAttachUrl + '/listAttach';
58106
58065
  var fileId = bodyfile ? bodyfile.fileId : this.flBodyfile.fileId;
@@ -58116,18 +58075,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58116
58075
  url: listdataUrl
58117
58076
  }).then(function (res) {
58118
58077
  if (res.code === 'success') {
58119
- _this12.historyFiles = res.body.pageInfo.list.filter(function (attach) {
58120
- if (_this12.flBodyfile.id !== attach.id && attach.fileStatus === 1 && attach.originalName === _this12.flBodyfile.originalName) {
58121
- _this12.flBodyfile = attach;
58122
- _this12.$vnode.context.bodyfile = _this12.flBodyfile;
58123
- _this12.reloadBodyFile();
58078
+ _this11.historyFiles = res.body.pageInfo.list.filter(function (attach) {
58079
+ if (_this11.flBodyfile.id !== attach.id && attach.fileStatus === 1 && attach.originalName === _this11.flBodyfile.originalName) {
58080
+ _this11.flBodyfile = attach;
58081
+ _this11.$vnode.context.bodyfile = _this11.flBodyfile;
58082
+ _this11.reloadBodyFile();
58124
58083
  }
58125
58084
  attach.updateTime = formatTime(attach.updateTime);
58126
58085
  attach.avatarUrl = "/apigw" + '/base/user/downloadPhotoByAccount?orgCode=' + attach.orgCode + '&account=' + attach.updateBy + '&httpPort=' + location.port;
58127
58086
  return true;
58128
58087
  });
58129
58088
  } else {
58130
- _this12.$dialog.alert({
58089
+ _this11.$dialog.alert({
58131
58090
  message: res.message,
58132
58091
  type: 'error'
58133
58092
  });
@@ -58144,7 +58103,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58144
58103
  this.clickAttach = attach;
58145
58104
  },
58146
58105
  moreMenuitemClick: function moreMenuitemClick(command) {
58147
- var _this13 = this;
58106
+ var _this12 = this;
58148
58107
  if (command.indexOf('view') !== -1) {
58149
58108
  this.downHistoryFile(this.clickAttach);
58150
58109
  } else if (command.indexOf('remove') !== -1) {
@@ -58152,7 +58111,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58152
58111
  } else if (command.indexOf('download') !== -1) {
58153
58112
  var attachIds = this.clickAttach.id;
58154
58113
  this.historyFiles.forEach(function (attach) {
58155
- if (attach.fileVer && attach.fileVer === _this13.clickAttach.fileVer && attach.id !== _this13.clickAttach.id) {
58114
+ if (attach.fileVer && attach.fileVer === _this12.clickAttach.fileVer && attach.id !== _this12.clickAttach.id) {
58156
58115
  attachIds += ',' + attach.id;
58157
58116
  }
58158
58117
  });
@@ -58167,7 +58126,7 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58167
58126
  this.showMoreBtn = false;
58168
58127
  },
58169
58128
  removeBodyfile: function removeBodyfile(flBodyfile) {
58170
- var _this14 = this;
58129
+ var _this13 = this;
58171
58130
  var confirmMsg = this.$tx('ecmapp.wflowform.delCurrentVersion', '您是否确认删除当前版本文件?');
58172
58131
  if (flBodyfile.fileStatus === 8) {
58173
58132
  confirmMsg = this.$tx('ecmapp.wflowform.delHistoricalVersion', '您是否确认删除历史版本文件?');
@@ -58175,10 +58134,10 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58175
58134
  var _this = this;
58176
58135
  this.$dialog.confirm({
58177
58136
  message: confirmMsg
58178
- }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee7() {
58137
+ }).then( /*#__PURE__*/BodyFilevue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/BodyFilevue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
58179
58138
  var deleteIds, originalName, i;
58180
- return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee7$(_context7) {
58181
- while (1) switch (_context7.prev = _context7.next) {
58139
+ return BodyFilevue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
58140
+ while (1) switch (_context6.prev = _context6.next) {
58182
58141
  case 0:
58183
58142
  deleteIds = flBodyfile.id;
58184
58143
  originalName = flBodyfile.originalName.substring(0, flBodyfile.originalName.indexOf('.'));
@@ -58189,44 +58148,44 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58189
58148
  }
58190
58149
  }
58191
58150
  }
58192
- _this14.$http({
58151
+ _this13.$http({
58193
58152
  method: 'DELETE',
58194
58153
  contentType: 'application/x-www-form-urlencoded',
58195
58154
  params: {
58196
58155
  attachIds: deleteIds
58197
58156
  },
58198
- url: _this14.wfAttachUrl + '/delete'
58157
+ url: _this13.wfAttachUrl + '/delete'
58199
58158
  }).then(function (res) {
58200
58159
  if (res.code === 'success') {
58201
- for (var i = 0; i < _this14.attachments.length; i++) {
58202
- if (_this14.attachments[i].id === flBodyfile.id || _this14.attachments[i].originalName.indexOf(originalName + '.pdf') === 0) {
58203
- _this14.attachments.splice(i--, 1);
58160
+ for (var i = 0; i < _this13.attachments.length; i++) {
58161
+ if (_this13.attachments[i].id === flBodyfile.id || _this13.attachments[i].originalName.indexOf(originalName + '.pdf') === 0) {
58162
+ _this13.attachments.splice(i--, 1);
58204
58163
  }
58205
58164
  }
58206
- _this14.btnViewHistoryFilesClick(_this14.flBodyfile);
58165
+ _this13.btnViewHistoryFilesClick(_this13.flBodyfile);
58207
58166
  if (flBodyfile.fileStatus !== 8) {
58208
- if (typeof _this14.vo.flBodyFilename !== 'undefined') _this14.vo.flBodyFilename = null;
58209
- if (typeof _this14.vo.signedFileName !== 'undefined') _this14.vo.signedFileName = null; //盖章文件名
58210
- if (typeof _this14.vo.sealFileName !== 'undefined') _this14.vo.sealFileName = null; //签章平台文件名
58167
+ if (typeof _this13.vo.flBodyFilename !== 'undefined') _this13.vo.flBodyFilename = null;
58168
+ if (typeof _this13.vo.signedFileName !== 'undefined') _this13.vo.signedFileName = null; //盖章文件名
58169
+ if (typeof _this13.vo.sealFileName !== 'undefined') _this13.vo.sealFileName = null; //签章平台文件名
58211
58170
 
58212
- _this14.$vnode.context.commandBar.forEach(function (btn) {
58171
+ _this13.$vnode.context.commandBar.forEach(function (btn) {
58213
58172
  if (btn.btnCode === 'btnOpenWordClick') {
58214
58173
  btn.btnShow = true;
58215
58174
  }
58216
58175
  });
58217
58176
  if (!res.body.restoreHistoryFile) {
58218
- _this14.flBodyfile = {
58177
+ _this13.flBodyfile = {
58219
58178
  file: {
58220
58179
  name: ''
58221
58180
  }
58222
58181
  };
58223
- _this14.$vnode.context.bodyfile = _this14.flBodyfile;
58224
- _this14.$vnode.context.wfInstance.haveDoc = 0;
58182
+ _this13.$vnode.context.bodyfile = _this13.flBodyfile;
58183
+ _this13.$vnode.context.wfInstance.haveDoc = 0;
58225
58184
  }
58226
- _this14.$vnode.context.btnSubmitClick('Save');
58185
+ _this13.$vnode.context.btnSubmitClick('Save');
58227
58186
  }
58228
58187
  } else {
58229
- _this14.$dialog.alert({
58188
+ _this13.$dialog.alert({
58230
58189
  message: res.message,
58231
58190
  type: 'error'
58232
58191
  });
@@ -58234,18 +58193,18 @@ function BodyFilevue_type_script_lang_js_asyncToGenerator(n) { return function (
58234
58193
  });
58235
58194
  case 4:
58236
58195
  case "end":
58237
- return _context7.stop();
58196
+ return _context6.stop();
58238
58197
  }
58239
- }, _callee7);
58198
+ }, _callee6);
58240
58199
  })));
58241
58200
  }
58242
58201
  }
58243
58202
  });
58244
58203
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=script&lang=js
58245
58204
  /* harmony default export */ var src_BodyFilevue_type_script_lang_js = (BodyFilevue_type_script_lang_js);
58246
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=2e25b2ec&prod&scoped=true&lang=scss
58247
- var BodyFilevue_type_style_index_0_id_2e25b2ec_prod_scoped_true_lang_scss = __webpack_require__(2606);
58248
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=2e25b2ec&prod&scoped=true&lang=scss
58205
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=43b13ff3&prod&scoped=true&lang=scss
58206
+ var BodyFilevue_type_style_index_0_id_43b13ff3_prod_scoped_true_lang_scss = __webpack_require__(2496);
58207
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue?vue&type=style&index=0&id=43b13ff3&prod&scoped=true&lang=scss
58249
58208
 
58250
58209
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/BodyFile.vue
58251
58210
 
@@ -58258,11 +58217,11 @@ var BodyFilevue_type_style_index_0_id_2e25b2ec_prod_scoped_true_lang_scss = __we
58258
58217
 
58259
58218
  var BodyFile_component = (0,componentNormalizer/* default */.A)(
58260
58219
  src_BodyFilevue_type_script_lang_js,
58261
- BodyFilevue_type_template_id_2e25b2ec_scoped_true_render,
58262
- BodyFilevue_type_template_id_2e25b2ec_scoped_true_staticRenderFns,
58220
+ BodyFilevue_type_template_id_43b13ff3_scoped_true_render,
58221
+ BodyFilevue_type_template_id_43b13ff3_scoped_true_staticRenderFns,
58263
58222
  false,
58264
58223
  null,
58265
- "2e25b2ec",
58224
+ "43b13ff3",
58266
58225
  null
58267
58226
 
58268
58227
  )
@@ -58963,15 +58922,15 @@ var SelectOuterDeputy_component = (0,componentNormalizer/* default */.A)(
58963
58922
  )
58964
58923
 
58965
58924
  /* harmony default export */ var SelectOuterDeputy = (SelectOuterDeputy_component.exports);
58966
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=template&id=ac8cafcc&scoped=true
58967
- var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render = function render() {
58925
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=template&id=3c078a1b&scoped=true
58926
+ var SubmitHandlevue_type_template_id_3c078a1b_scoped_true_render = function render() {
58968
58927
  var _vm = this,
58969
58928
  _c = _vm._self._c;
58970
58929
  return _vm.initiated ? _c('div', {
58971
58930
  staticClass: "submit-handle-container"
58972
- }, [_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', {
58931
+ }, [_vm.isUdmNodes && _vm.wfInstance.udmNodes && _vm.curTN.modifyUdmNode !== 0 && _vm.curTN.userAccount == _vm.wfInstance.creatorAccount ? _c('div', {
58973
58932
  staticClass: "form-slicer"
58974
- }) : _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', {
58933
+ }) : _vm._e(), _vm.isUdmNodes && _vm.wfInstance.udmNodes && _vm.curTN.modifyUdmNode !== 0 && _vm.curTN.userAccount == _vm.wfInstance.creatorAccount ? _c('van-cell-group', {
58975
58934
  staticClass: "van-wflow-operate-detail-cell"
58976
58935
  }, [_c('van-cell', {
58977
58936
  directives: [{
@@ -59040,7 +58999,7 @@ var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render = function rend
59040
58999
  }
59041
59000
  }
59042
59001
  })], 1)], 2);
59043
- })], 2) : _vm._e(), _vm._t("default", function () {
59002
+ })], 2) : _vm._e(), _vm.wfJsonData && _vm.wfJsonData.routes && _vm.wfJsonData.routes.length > 0 ? _vm._t("default", function () {
59044
59003
  return [_vm.curTN.tnIdeaLabelID !== null && _vm.curTN.tnIdeaLabelID !== '' ? _c('div', {
59045
59004
  staticClass: "form-slicer"
59046
59005
  }) : _vm._e(), _vm.curTN.tnIdeaLabelID !== null && _vm.curTN.tnIdeaLabelID !== '' ? _c('div', {
@@ -59534,7 +59493,7 @@ var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render = function rend
59534
59493
  expression: "keepConcern"
59535
59494
  }
59536
59495
  })], 1) : _vm._e()], 1)];
59537
- }), _vm.popupDialogVisible ? _c('PopupDialog', {
59496
+ }) : _vm._e(), _vm.popupDialogVisible ? _c('PopupDialog', {
59538
59497
  attrs: {
59539
59498
  "showpop": _vm.popupDialogVisible,
59540
59499
  "title": _vm.popupTitle,
@@ -59583,10 +59542,10 @@ var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render = function rend
59583
59542
  }
59584
59543
  })], 1) : _vm._e()], 2) : _vm._e();
59585
59544
  };
59586
- var SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_staticRenderFns = [];
59545
+ var SubmitHandlevue_type_template_id_3c078a1b_scoped_true_staticRenderFns = [];
59587
59546
 
59588
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/WfTaskNode.vue?vue&type=template&id=59c2fbd4&scoped=true
59589
- var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render() {
59547
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/WfTaskNode.vue?vue&type=template&id=1f810977&scoped=true
59548
+ var WfTaskNodevue_type_template_id_1f810977_scoped_true_render = function render() {
59590
59549
  var _vm = this,
59591
59550
  _c = _vm._self._c;
59592
59551
  return _c('div', [_c('van-cell-group', [_c('div', {
@@ -59611,6 +59570,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59611
59570
  expression: "'linkName'"
59612
59571
  }],
59613
59572
  attrs: {
59573
+ "readonly": !_vm.canModify,
59614
59574
  "label": "环节名称",
59615
59575
  "placeholder": "请输入",
59616
59576
  "error": errors !== undefined && errors[0] !== undefined || _vm.iserror,
@@ -59647,10 +59607,11 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59647
59607
  expression: "'taskType'"
59648
59608
  }],
59649
59609
  attrs: {
59610
+ "disabled": !_vm.canModify,
59650
59611
  "label": "任务类型",
59651
59612
  "placeholder": "请选择",
59652
59613
  "input-align": "right",
59653
- "is-link": !_vm.taskNode.startNode,
59614
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59654
59615
  "readonly": _vm.taskNode.startNode
59655
59616
  },
59656
59617
  on: {
@@ -59691,7 +59652,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59691
59652
  "label": "处理人选择方式",
59692
59653
  "placeholder": "请选择",
59693
59654
  "input-align": "right",
59694
- "is-link": !_vm.taskNode.startNode,
59655
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59695
59656
  "readonly": _vm.taskNode.startNode
59696
59657
  },
59697
59658
  on: {
@@ -59732,7 +59693,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59732
59693
  "label": "组织机构级别",
59733
59694
  "placeholder": "请选择",
59734
59695
  "input-align": "right",
59735
- "is-link": !_vm.taskNode.startNode,
59696
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59736
59697
  "readonly": _vm.taskNode.startNode
59737
59698
  },
59738
59699
  on: {
@@ -59773,7 +59734,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59773
59734
  "label": "机构筛选方式",
59774
59735
  "placeholder": "请选择",
59775
59736
  "input-align": "right",
59776
- "is-link": !_vm.taskNode.startNode,
59737
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59777
59738
  "readonly": _vm.taskNode.startNode
59778
59739
  },
59779
59740
  on: {
@@ -59791,9 +59752,9 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59791
59752
  })];
59792
59753
  }
59793
59754
  }])
59794
- })], 1), _c('div', {
59755
+ })], 1), _vm.taskNode.selectType == 0 && _vm.taskNode.orgStaffFilterType == 1 || _vm.taskNode.selectType == 1 || _vm.taskNode.selectType == 3 || _vm.taskNode.selectType == 7 ? _c('div', {
59795
59756
  staticClass: "van-input-field"
59796
- }, [_vm.taskNode.selectType == 0 ? _c('van-field', {
59757
+ }, [_vm.taskNode.selectType == 3 ? _c('van-field', {
59797
59758
  directives: [{
59798
59759
  name: "field-lbl",
59799
59760
  rawName: "v-field-lbl",
@@ -59819,7 +59780,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59819
59780
  },
59820
59781
  expression: "taskNode.userNames"
59821
59782
  }
59822
- }) : _vm._e(), _vm.taskNode.selectType == 1 ? _c('van-field', {
59783
+ }) : _vm._e(), _vm.taskNode.selectType == 0 && _vm.taskNode.orgStaffFilterType == 1 ? _c('van-field', {
59823
59784
  directives: [{
59824
59785
  name: "field-lbl",
59825
59786
  rawName: "v-field-lbl",
@@ -59845,7 +59806,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59845
59806
  },
59846
59807
  expression: "taskNode.orgNames"
59847
59808
  }
59848
- }) : _vm._e(), _vm.taskNode.selectType == 2 ? _c('van-field', {
59809
+ }) : _vm._e(), _vm.taskNode.selectType == 1 ? _c('van-field', {
59849
59810
  directives: [{
59850
59811
  name: "field-lbl",
59851
59812
  rawName: "v-field-lbl",
@@ -59871,7 +59832,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59871
59832
  },
59872
59833
  expression: "taskNode.workgroupNames"
59873
59834
  }
59874
- }) : _vm._e(), _vm.taskNode.selectType == 3 ? _c('van-field', {
59835
+ }) : _vm._e(), _vm.taskNode.selectType == 7 ? _c('van-field', {
59875
59836
  directives: [{
59876
59837
  name: "field-lbl",
59877
59838
  rawName: "v-field-lbl",
@@ -59897,7 +59858,130 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59897
59858
  },
59898
59859
  expression: "taskNode.jopPositionNames"
59899
59860
  }
59900
- }) : _vm._e()], 1), _c('div', {
59861
+ }) : _vm._e()], 1) : _vm._e(), _c('div', {
59862
+ directives: [{
59863
+ name: "show",
59864
+ rawName: "v-show",
59865
+ value: _vm.taskNode.selectType == 0 || _vm.taskNode.selectType == 6,
59866
+ expression: "taskNode.selectType == 0 || taskNode.selectType == 6"
59867
+ }],
59868
+ staticClass: "van-input-field"
59869
+ }, [_c('validation-provider', {
59870
+ ref: "ValidationProvider",
59871
+ attrs: {
59872
+ "name": '机构参与人',
59873
+ "rules": "required"
59874
+ },
59875
+ scopedSlots: _vm._u([{
59876
+ key: "default",
59877
+ fn: function fn(_ref6) {
59878
+ var errors = _ref6.errors;
59879
+ return [_c('van-field', {
59880
+ attrs: {
59881
+ "label": "机构参与人",
59882
+ "placeholder": "请选择",
59883
+ "input-align": "right",
59884
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59885
+ "readonly": _vm.taskNode.startNode
59886
+ },
59887
+ on: {
59888
+ "click": function click($event) {
59889
+ return _vm.selectItem('机构参与人', 'orgStaffType');
59890
+ }
59891
+ },
59892
+ model: {
59893
+ value: _vm.orgStaffType,
59894
+ callback: function callback($$v) {
59895
+ _vm.orgStaffType = $$v;
59896
+ },
59897
+ expression: "orgStaffType"
59898
+ }
59899
+ })];
59900
+ }
59901
+ }])
59902
+ })], 1), _c('div', {
59903
+ directives: [{
59904
+ name: "show",
59905
+ rawName: "v-show",
59906
+ value: _vm.taskNode.selectType == 9,
59907
+ expression: "taskNode.selectType == 9"
59908
+ }],
59909
+ staticClass: "van-input-field"
59910
+ }, [_c('validation-provider', {
59911
+ ref: "ValidationProvider",
59912
+ attrs: {
59913
+ "name": '处理人职级',
59914
+ "rules": "required"
59915
+ },
59916
+ scopedSlots: _vm._u([{
59917
+ key: "default",
59918
+ fn: function fn(_ref7) {
59919
+ var errors = _ref7.errors;
59920
+ return [_c('van-field', {
59921
+ attrs: {
59922
+ "label": "处理人职级",
59923
+ "placeholder": "请选择",
59924
+ "input-align": "right",
59925
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59926
+ "readonly": _vm.taskNode.startNode
59927
+ },
59928
+ on: {
59929
+ "click": function click($event) {
59930
+ return _vm.selectItem('处理人职级', 'orgStaffType');
59931
+ }
59932
+ },
59933
+ model: {
59934
+ value: _vm.orgStaffType,
59935
+ callback: function callback($$v) {
59936
+ _vm.orgStaffType = $$v;
59937
+ },
59938
+ expression: "orgStaffType"
59939
+ }
59940
+ })];
59941
+ }
59942
+ }])
59943
+ })], 1), _c('div', {
59944
+ directives: [{
59945
+ name: "show",
59946
+ rawName: "v-show",
59947
+ value: _vm.taskNode.selectType == 2,
59948
+ expression: "taskNode.selectType == 2"
59949
+ }],
59950
+ staticClass: "van-input-field"
59951
+ }, [_c('validation-provider', {
59952
+ ref: "ValidationProvider",
59953
+ attrs: {
59954
+ "name": '指定历史节点',
59955
+ "rules": "required"
59956
+ },
59957
+ scopedSlots: _vm._u([{
59958
+ key: "default",
59959
+ fn: function fn(_ref8) {
59960
+ var errors = _ref8.errors;
59961
+ return [_c('van-field', {
59962
+ attrs: {
59963
+ "label": "指定历史节点",
59964
+ "placeholder": "请选择",
59965
+ "input-align": "right",
59966
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
59967
+ "readonly": _vm.taskNode.startNode
59968
+ },
59969
+ on: {
59970
+ "click": function click($event) {
59971
+ return _vm.selectItem('指定历史节点', 'historyNodeId');
59972
+ }
59973
+ },
59974
+ model: {
59975
+ value: _vm.taskNode.historyNodeId,
59976
+ callback: function callback($$v) {
59977
+ _vm.$set(_vm.taskNode, "historyNodeId", $$v);
59978
+ },
59979
+ expression: "taskNode.historyNodeId"
59980
+ }
59981
+ })];
59982
+ }
59983
+ }])
59984
+ })], 1), _c('div', {
59901
59985
  staticClass: "van-input-field"
59902
59986
  }, [_c('van-cell', {
59903
59987
  directives: [{
@@ -59915,6 +59999,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59915
59999
  fn: function fn() {
59916
60000
  return [_c('van-switch', {
59917
60001
  attrs: {
60002
+ "disabled": !_vm.canModify,
59918
60003
  "active-value": 1,
59919
60004
  "inactive-value": 0,
59920
60005
  "size": "24"
@@ -59940,8 +60025,8 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59940
60025
  },
59941
60026
  scopedSlots: _vm._u([{
59942
60027
  key: "default",
59943
- fn: function fn(_ref6) {
59944
- var errors = _ref6.errors;
60028
+ fn: function fn(_ref9) {
60029
+ var errors = _ref9.errors;
59945
60030
  return [_c('van-field', {
59946
60031
  directives: [{
59947
60032
  name: "field-lbl",
@@ -59953,7 +60038,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59953
60038
  "label": "处理意见标签",
59954
60039
  "placeholder": "请选择",
59955
60040
  "input-align": "right",
59956
- "is-link": true,
60041
+ "is-link": _vm.canModify,
59957
60042
  "readonly": _vm.taskNode.startNode
59958
60043
  },
59959
60044
  on: {
@@ -59962,16 +60047,86 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59962
60047
  }
59963
60048
  },
59964
60049
  model: {
59965
- value: _vm.taskNode.ideaLable,
60050
+ value: _vm.ideaLable,
59966
60051
  callback: function callback($$v) {
59967
- _vm.$set(_vm.taskNode, "ideaLable", $$v);
60052
+ _vm.ideaLable = $$v;
59968
60053
  },
59969
- expression: "taskNode.ideaLable"
60054
+ expression: "ideaLable"
59970
60055
  }
59971
60056
  })];
59972
60057
  }
59973
60058
  }])
59974
- })], 1)]), _c('FooterButtonGroup', [_c('van-button', {
60059
+ })], 1), _vm.taskNode.ideaLable != '' && _vm.taskNode.ideaLable != '无' ? _c('div', {
60060
+ staticClass: "van-input-field"
60061
+ }, [_c('validation-provider', {
60062
+ ref: "ValidationProvider",
60063
+ attrs: {
60064
+ "name": '是否需要意见附件',
60065
+ "rules": "required"
60066
+ },
60067
+ scopedSlots: _vm._u([{
60068
+ key: "default",
60069
+ fn: function fn(_ref10) {
60070
+ var errors = _ref10.errors;
60071
+ return [_c('van-field', {
60072
+ attrs: {
60073
+ "label": "是否需要意见附件",
60074
+ "placeholder": "请选择",
60075
+ "input-align": "right",
60076
+ "is-link": _vm.canModify,
60077
+ "readonly": _vm.taskNode.startNode
60078
+ },
60079
+ on: {
60080
+ "click": function click($event) {
60081
+ return _vm.selectItem('是否需要意见附件', 'isIdeaAttachment');
60082
+ }
60083
+ },
60084
+ model: {
60085
+ value: _vm.isIdeaAttachment,
60086
+ callback: function callback($$v) {
60087
+ _vm.isIdeaAttachment = $$v;
60088
+ },
60089
+ expression: "isIdeaAttachment"
60090
+ }
60091
+ })];
60092
+ }
60093
+ }], null, false, 2181530220)
60094
+ })], 1) : _vm._e(), _vm.taskNode.ideaLable != '' && _vm.taskNode.ideaLable != '无' ? _c('div', {
60095
+ staticClass: "van-input-field"
60096
+ }, [_c('validation-provider', {
60097
+ ref: "ValidationProvider",
60098
+ attrs: {
60099
+ "name": '是否可以退回',
60100
+ "rules": "required"
60101
+ },
60102
+ scopedSlots: _vm._u([{
60103
+ key: "default",
60104
+ fn: function fn(_ref11) {
60105
+ var errors = _ref11.errors;
60106
+ return [_c('van-field', {
60107
+ attrs: {
60108
+ "label": "是否可以退回",
60109
+ "placeholder": "请选择",
60110
+ "input-align": "right",
60111
+ "is-link": !_vm.taskNode.startNode && _vm.canModify,
60112
+ "readonly": _vm.taskNode.startNode
60113
+ },
60114
+ on: {
60115
+ "click": function click($event) {
60116
+ return _vm.selectItem('是否可以退回', 'returnHistoryTN');
60117
+ }
60118
+ },
60119
+ model: {
60120
+ value: _vm.returnHistoryTN,
60121
+ callback: function callback($$v) {
60122
+ _vm.returnHistoryTN = $$v;
60123
+ },
60124
+ expression: "returnHistoryTN"
60125
+ }
60126
+ })];
60127
+ }
60128
+ }], null, false, 4264136526)
60129
+ })], 1) : _vm._e()]), _c('FooterButtonGroup', [_vm.canModify == 1 ? [_c('van-button', {
59975
60130
  directives: [{
59976
60131
  name: "pageBtn-lbl",
59977
60132
  rawName: "v-pageBtn-lbl",
@@ -59998,11 +60153,26 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render = function render
59998
60153
  on: {
59999
60154
  "click": _vm.submitForm
60000
60155
  }
60001
- }, [_vm._v("确 定")])], 1)], 1);
60156
+ }, [_vm._v("确 定")])] : [_c('van-button', {
60157
+ directives: [{
60158
+ name: "pageBtn-lbl",
60159
+ rawName: "v-pageBtn-lbl",
60160
+ value: 'cancel',
60161
+ expression: "'cancel'"
60162
+ }],
60163
+ attrs: {
60164
+ "type": "info",
60165
+ "square": ""
60166
+ },
60167
+ on: {
60168
+ "click": _vm.closeDialog
60169
+ }
60170
+ }, [_vm._v("取 消")])]], 2)], 1);
60002
60171
  };
60003
- var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60172
+ var WfTaskNodevue_type_template_id_1f810977_scoped_true_staticRenderFns = [];
60004
60173
 
60005
60174
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/WfTaskNode.vue?vue&type=script&lang=js
60175
+
60006
60176
  /* harmony default export */ var WfTaskNodevue_type_script_lang_js = ({
60007
60177
  name: 'WfTaskNode',
60008
60178
  components: {},
@@ -60024,6 +60194,7 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60024
60194
  moduleCode: 'wflowform',
60025
60195
  forceUpdate: false,
60026
60196
  dialogFormVisible: true,
60197
+ canModify: null,
60027
60198
  todoModeOptions: [{
60028
60199
  value: 0,
60029
60200
  text: this.$tx('ecmapp.wflowform.singlePerson', '单人')
@@ -60075,25 +60246,64 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60075
60246
  value: 4,
60076
60247
  text: '四级(班组级)'
60077
60248
  }],
60249
+ isIdeaAttachmentOptions: [{
60250
+ value: 0,
60251
+ text: '不需要'
60252
+ }, {
60253
+ value: 1,
60254
+ text: '需要1个'
60255
+ }, {
60256
+ value: 2,
60257
+ text: '可选1个'
60258
+ }, {
60259
+ value: 8,
60260
+ text: '至少1个'
60261
+ }, {
60262
+ value: 9,
60263
+ text: '可选多个'
60264
+ }],
60265
+ returnHistoryTNOptions: [{
60266
+ value: 0,
60267
+ text: '不需要退回'
60268
+ }, {
60269
+ value: 1,
60270
+ text: '退回到上一节点'
60271
+ }, {
60272
+ value: 2,
60273
+ text: '退回到发起节点'
60274
+ }],
60275
+ curNodeName: '',
60078
60276
  todoMode: '单人',
60079
60277
  selectType: '直接指定人员',
60080
60278
  orgLevel: '',
60081
60279
  orgStaffFilterType: '',
60082
- curNodeName: ''
60280
+ orgStaffType: '',
60281
+ ideaLable: '',
60282
+ isIdeaAttachment: '',
60283
+ returnHistoryTN: ''
60083
60284
  };
60084
60285
  },
60085
60286
  computed: {
60086
60287
  ideaLableOptions: function ideaLableOptions() {
60087
60288
  var ideaLablelist = [];
60088
60289
  this.ideaLables.split(',').forEach(function (lable) {
60290
+ if (lable) {
60291
+ ideaLablelist.push({
60292
+ value: lable,
60293
+ text: lable
60294
+ });
60295
+ }
60296
+ });
60297
+ if (ideaLablelist.length == 0 && this.taskNode.name) {
60298
+ //表单上没有定义意见栏
60089
60299
  ideaLablelist.push({
60090
- value: lable,
60091
- text: lable
60300
+ value: 'curNodeName',
60301
+ text: this.taskNode.name + '意见'
60092
60302
  });
60093
- });
60303
+ }
60094
60304
  ideaLablelist.push({
60095
60305
  value: '无',
60096
- text: ''
60306
+ text: '不需要'
60097
60307
  });
60098
60308
  return ideaLablelist;
60099
60309
  },
@@ -60149,6 +60359,56 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60149
60359
  });
60150
60360
  }
60151
60361
  return orgStaffFilterType;
60362
+ },
60363
+ orgStaffTypeOptions: function orgStaffTypeOptions() {
60364
+ if (this.taskNode.selectType === 9) {
60365
+ return [{
60366
+ value: 5,
60367
+ text: '不大于1个职级'
60368
+ }, {
60369
+ value: 6,
60370
+ text: '不大于2个职级'
60371
+ }, {
60372
+ value: 7,
60373
+ text: '不大于3个职级'
60374
+ }, {
60375
+ value: 8,
60376
+ text: '不大于4个职级'
60377
+ }, {
60378
+ value: 9,
60379
+ text: '不大于5个职级'
60380
+ }];
60381
+ } else {
60382
+ return [{
60383
+ value: 0,
60384
+ text: '主负责人'
60385
+ }, {
60386
+ value: 1,
60387
+ text: '主、副负责人'
60388
+ }, {
60389
+ value: 2,
60390
+ text: '副负责人'
60391
+ }, {
60392
+ value: 3,
60393
+ text: '全体人员'
60394
+ }, {
60395
+ value: 4,
60396
+ text: '普通(非负责人)人员'
60397
+ }];
60398
+ }
60399
+ },
60400
+ historyNodeIdOptions: function historyNodeIdOptions() {
60401
+ var historyNodeIds = [];
60402
+ var udmNodes = this.$vnode.context.wfInstance.udmNodes;
60403
+ for (var i = 0; i < udmNodes.length; i++) {
60404
+ if (udmNodes[i].uuid != this.taskNode.uuid) {
60405
+ historyNodeIds.push({
60406
+ value: udmNodes[i].name,
60407
+ text: udmNodes[i].name
60408
+ });
60409
+ }
60410
+ }
60411
+ return historyNodeIds;
60152
60412
  }
60153
60413
  },
60154
60414
  watch: {
@@ -60175,6 +60435,30 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60175
60435
  }
60176
60436
  });
60177
60437
  }
60438
+ if (this.taskNode.orgStaffType !== undefined) {
60439
+ if (this.taskNode.orgStaffType >= 5) {
60440
+ this.orgStaffType = this.orgStaffTypeOptions[this.taskNode.orgStaffType - 5].text;
60441
+ } else {
60442
+ this.orgStaffType = this.orgStaffTypeOptions[this.taskNode.orgStaffType].text;
60443
+ }
60444
+ }
60445
+ if (this.taskNode.ideaLable !== undefined) {
60446
+ this.ideaLableOptions.forEach(function (item) {
60447
+ if (item.value === _this.taskNode.ideaLable) {
60448
+ _this.ideaLable = item.text;
60449
+ }
60450
+ });
60451
+ }
60452
+ if (this.taskNode.isIdeaAttachment !== undefined) {
60453
+ this.isIdeaAttachmentOptions.forEach(function (item) {
60454
+ if (item.value === _this.taskNode.isIdeaAttachment) {
60455
+ _this.isIdeaAttachment = item.text;
60456
+ }
60457
+ });
60458
+ }
60459
+ if (this.taskNode.returnHistoryTN !== undefined) {
60460
+ this.returnHistoryTN = this.returnHistoryTNOptions[this.taskNode.returnHistoryTN].text;
60461
+ }
60178
60462
  },
60179
60463
  deep: true,
60180
60464
  immediate: true
@@ -60182,33 +60466,81 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60182
60466
  },
60183
60467
  created: function created() {
60184
60468
  if (this.taskNode.selectType === undefined) {
60185
- this.taskNode.selectType = 0;
60469
+ this.taskNode.selectType = 3;
60470
+ }
60471
+ if (this.taskNode.orgLevel === undefined) {
60472
+ this.taskNode.orgLevel = 2;
60473
+ }
60474
+ if (this.taskNode.orgStaffFilterType === undefined) {
60475
+ this.taskNode.orgStaffFilterType = 2;
60476
+ }
60477
+ if (this.taskNode.orgStaffType === undefined) {
60478
+ this.taskNode.orgStaffType = 3;
60479
+ }
60480
+ if (!this.taskNode.ideaLable) {
60481
+ this.taskNode.ideaLable = '无';
60482
+ }
60483
+ if (this.taskNode.isIdeaAttachment === undefined) {
60484
+ this.taskNode.isIdeaAttachment = 0;
60186
60485
  }
60187
60486
  if (this.taskNode.status === 1) {
60188
60487
  this.curNodeName = this.taskNode.name;
60189
60488
  }
60489
+ if (!this.taskNode.returnHistoryTN) {
60490
+ this.taskNode.returnHistoryTN = 0;
60491
+ }
60190
60492
  },
60191
60493
  beforeDestroy: function beforeDestroy() {},
60192
60494
  mounted: function mounted() {
60495
+ var _this2 = this;
60193
60496
  if (this.taskNode.startNode) {
60194
60497
  //开始节点,删除“历史节点处理人”选项
60195
60498
  this.selectTypeOptions.splice(4, 1);
60196
60499
  }
60500
+ if (!this.$vnode.context.curTN.tnNodeID) {
60501
+ //无办理权限,检查拟删除的环节是否已经办理过
60502
+ this.$http({
60503
+ method: 'POST',
60504
+ contentType: 'application/x-www-form-urlencoded',
60505
+ params: {
60506
+ wfInstanceId: this.$vnode.context.wfInstance.id
60507
+ },
60508
+ url: 'workflow/wfInstanceNodelog/listWfNodelog'
60509
+ }).then(function (res) {
60510
+ if (res.code === 'success') {
60511
+ var historyWflogs = res.body.listdata.filter(function (wflog) {
60512
+ return wflog.nodeName === _this2.taskNode.name;
60513
+ });
60514
+ if (historyWflogs.length > 0) {
60515
+ _this2.canModify = 0;
60516
+ } else {
60517
+ _this2.canModify = 1;
60518
+ }
60519
+ } else {
60520
+ _this2.canModify = 0;
60521
+ _this2.$dialog.alert({
60522
+ message: res.message
60523
+ });
60524
+ }
60525
+ });
60526
+ } else {
60527
+ this.canModify = 1;
60528
+ }
60197
60529
  },
60198
60530
  methods: {
60199
60531
  selectItem: function selectItem(title, field) {
60200
- var _this2 = this;
60532
+ var _this3 = this;
60201
60533
  if (this.taskNode.startNode) return;
60202
60534
  var dialogTitle = this.$tx('common.plChoose', '请选择') + title;
60203
60535
  this.$bus.emit('openListitemDialog', dialogTitle, this[field + 'Options'], function (res) {
60204
60536
  if (res.code === 'success') {
60205
- _this2.$set(_this2.taskNode, field, res.value.value);
60206
- _this2.$forceUpdate();
60537
+ _this3.$set(_this3.taskNode, field, res.value.value);
60538
+ _this3.$forceUpdate();
60207
60539
  }
60208
60540
  }, this.taskNode[field], false, 'bottomDialog');
60209
60541
  },
60210
60542
  openSelectDialog: function openSelectDialog(dialogType, field) {
60211
- var _this3 = this;
60543
+ var _this4 = this;
60212
60544
  if (this.taskNode.startNode) return;
60213
60545
  var condition = {
60214
60546
  selectDialog: dialogType,
@@ -60219,8 +60551,8 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60219
60551
  this.$bus.emit('openTreeDialog', dialogTitle, condition, null, function (res) {
60220
60552
  if (res.code === 'success') {
60221
60553
  var callbackFunc = 'onSelect' + dialogType.replace(dialogType[0], dialogType[0].toUpperCase()) + 'Completed';
60222
- _this3[callbackFunc](res.value, {
60223
- name: _this3.model
60554
+ _this4[callbackFunc](res.value, {
60555
+ name: _this4.model
60224
60556
  });
60225
60557
  }
60226
60558
  }, this.taskNode[field]);
@@ -60287,15 +60619,49 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60287
60619
  this.$set(this.taskNode, 'jobPositionNames', selected);
60288
60620
  },
60289
60621
  submitForm: function submitForm() {
60290
- var _this4 = this;
60622
+ var _this5 = this;
60291
60623
  this.formValidate(function () {
60292
- var udmNode = JSON.parse(JSON.stringify(_this4.taskNode));
60624
+ var udmNode = JSON.parse(JSON.stringify(_this5.taskNode));
60293
60625
  udmNode.tmLmtType = '9';
60294
60626
  udmNode.type = 1;
60295
60627
  if (udmNode.todoMode === 5) {
60296
60628
  udmNode.type = 3;
60297
60629
  }
60298
- var wfdNodeList = _this4.$vnode.context.wfInstance.passenger.wfdNodeList;
60630
+ if (udmNode.selectType == 0) {
60631
+ //按组织机构
60632
+ var orgStaffTypeMap = {
60633
+ 0: '主负责人',
60634
+ 1: '主、副负责人',
60635
+ 2: '副负责人',
60636
+ 3: '全体人员',
60637
+ 4: '普通(非负责人)人员'
60638
+ };
60639
+ var selectRule = '';
60640
+ if (udmNode.orgLevel == 1) {
60641
+ selectRule = '公司' + orgStaffTypeMap[udmNode.orgStaffType + ''];
60642
+ } else {
60643
+ if (udmNode.orgStaffFilterType == 0) {
60644
+ selectRule = curNode.orgLevel == 2 ? '二级部门' : curNode.orgLevel == 3 ? '部门内科室' : '科室内班组';
60645
+ } else if (udmNode.orgStaffFilterType == 1) {
60646
+ selectRule = udmNode.orgNames;
60647
+ } else if (udmNode.orgStaffFilterType == 2) {
60648
+ selectRule = '当前用户所在' + (udmNode.orgLevel == 2 ? '部门' : udmNode.orgLevel == 3 ? '科室' : '班组');
60649
+ } else if (udmNode.orgStaffFilterType == 3) {
60650
+ selectRule = '拟稿用户所在' + (udmNode.orgLevel == 2 ? '部门' : udmNode.orgLevel == 3 ? '科室' : '班组');
60651
+ } else if (udmNode.orgStaffFilterType == 5) {
60652
+ selectRule = '所有科室';
60653
+ }
60654
+ selectRule += orgStaffTypeMap[udmNode.orgStaffType + ''];
60655
+ }
60656
+ udmNode.selectRule = selectRule;
60657
+ } else if (udmNode.selectType == 2) {
60658
+ //按历史节点处理人
60659
+ udmNode.selectRule = udmNode.historyTNName + '节点处理人';
60660
+ } else if (udmNode.selectType == 9) {
60661
+ //按用户职级
60662
+ udmNode.selectRule = '不大于' + (udmNode.orgStaffType - 4) + '个职级';
60663
+ }
60664
+ var wfdNodeList = _this5.$vnode.context.wfInstance.passenger.wfdNodeList;
60299
60665
  if (wfdNodeList) {
60300
60666
  wfdNodeList.forEach(function (node) {
60301
60667
  if (node.processType === udmNode.todoMode && node.nodeType === udmNode.type) {
@@ -60305,34 +60671,58 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60305
60671
  }
60306
60672
  if (udmNode.status !== 1) {
60307
60673
  udmNode.status = 1;
60308
- udmNode.uuid = _this4.uuid();
60309
- _this4.$vnode.context.wfInstance.udmNodes.push(udmNode);
60674
+ udmNode.uuid = _this5.uuid();
60675
+ _this5.$vnode.context.wfInstance.udmNodes.push(udmNode);
60310
60676
  } else {
60311
- _this4.$vnode.context.wfInstance.udmNodes.forEach(function (wfnode, index) {
60677
+ _this5.$vnode.context.wfInstance.udmNodes.forEach(function (wfnode, index) {
60312
60678
  if (wfnode.uuid === udmNode.uuid) {
60313
- _this4.$vnode.context.wfInstance.udmNodes.splice(index, 1, udmNode);
60314
- if (_this4.$vnode.context.curTN.tnNodeName === _this4.curNodeName) {
60315
- _this4.$vnode.context.curTN.tnNodeName = udmNode.name;
60316
- _this4.$vnode.context.curTN.tnCanEdit = udmNode.canEdit;
60679
+ _this5.$vnode.context.wfInstance.udmNodes.splice(index, 1, udmNode);
60680
+ if (_this5.$vnode.context.curTN.tnNodeName === _this5.curNodeName) {
60681
+ _this5.$vnode.context.curTN.tnNodeName = udmNode.name;
60682
+ _this5.$vnode.context.curTN.tnCanEdit = udmNode.canEdit;
60317
60683
  if (udmNode.todoMode === 5) {
60318
- _this4.$vnode.context.curTN.tnTaskType = 3;
60684
+ _this5.$vnode.context.curTN.tnTaskType = 3;
60319
60685
  } else {
60320
- _this4.$vnode.context.curTN.tnTaskType = 1;
60686
+ _this5.$vnode.context.curTN.tnTaskType = 1;
60321
60687
  }
60322
- _this4.$vnode.context.curTN.tnToDoMode = udmNode.todoMode;
60688
+ _this5.$vnode.context.curTN.tnToDoMode = udmNode.todoMode;
60323
60689
  if (udmNode.ideaLable === '无') {
60324
- _this4.$vnode.context.curTN.tnIdeaLabelID = '';
60325
- _this4.$vnode.context.curTN.tnIdeaLabelName = '';
60690
+ _this5.$vnode.context.curTN.tnIdeaLabelID = '';
60691
+ _this5.$vnode.context.curTN.tnIdeaLabelName = '';
60326
60692
  } else {
60327
- _this4.$vnode.context.curTN.tnIdeaLabelID = 'udm_' + udmNode.ideaLable;
60328
- _this4.$vnode.context.curTN.tnIdeaLabelName = udmNode.ideaLable;
60329
- _this4.$vnode.context.curTN.tnIdeaIsMust = 1;
60693
+ _this5.$vnode.context.curTN.tnIdeaLabelID = 'udm_' + udmNode.ideaLable;
60694
+ _this5.$vnode.context.curTN.tnIdeaLabelName = udmNode.ideaLable;
60695
+ _this5.$vnode.context.curTN.tnIdeaIsMust = 1;
60330
60696
  }
60331
60697
  }
60332
60698
  }
60333
60699
  });
60334
60700
  }
60335
- _this4.closeDialog();
60701
+ var saveData = {
60702
+ wfInstance: JSON.stringify(_this5.$vnode.context.wfInstance),
60703
+ curTN: JSON.stringify(_this5.$vnode.context.curTN)
60704
+ };
60705
+ _this5.$http({
60706
+ method: 'POST',
60707
+ contentType: 'application/x-www-form-urlencoded',
60708
+ data: lib_default().stringify(saveData),
60709
+ params: _this5.$vnode.context.wfParams,
60710
+ url: 'workflow/wfInstance/getUdmNodeUsers'
60711
+ }).then(function (res) {
60712
+ if (res.code === 'success') {
60713
+ _this5.$set(_this5.$vnode.context.wfInstance.passenger, 'udmNodeUsers', res.body.udmNodeUsers);
60714
+ _this5.$vnode.context.wfInstance.udmNodes.forEach(function (wfnode, index) {
60715
+ if (wfnode.uuid === udmNode.uuid) {
60716
+ _this5.$vnode.context.wfInstance.udmNodes.splice(index, 1, udmNode);
60717
+ }
60718
+ });
60719
+ _this5.closeDialog();
60720
+ } else {
60721
+ _this5.$alert(res.message, '操作提示', {
60722
+ type: 'error'
60723
+ });
60724
+ }
60725
+ });
60336
60726
  });
60337
60727
  },
60338
60728
  closeDialog: function closeDialog() {
@@ -60363,11 +60753,11 @@ var WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns = [];
60363
60753
  ;
60364
60754
  var WfTaskNode_component = (0,componentNormalizer/* default */.A)(
60365
60755
  src_WfTaskNodevue_type_script_lang_js,
60366
- WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_render,
60367
- WfTaskNodevue_type_template_id_59c2fbd4_scoped_true_staticRenderFns,
60756
+ WfTaskNodevue_type_template_id_1f810977_scoped_true_render,
60757
+ WfTaskNodevue_type_template_id_1f810977_scoped_true_staticRenderFns,
60368
60758
  false,
60369
60759
  null,
60370
- "59c2fbd4",
60760
+ "1f810977",
60371
60761
  null
60372
60762
 
60373
60763
  )
@@ -60503,14 +60893,17 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
60503
60893
  wfInstance: {
60504
60894
  handler: function handler(newValue, oldValue) {
60505
60895
  var _this2 = this;
60896
+ var _this = this;
60506
60897
  if (this.wfInstance.udmNodes && this.wfInstance.udmNodes !== '[]' && typeof this.wfInstance.udmNodes === 'string') this.wfInstance.udmNodes = JSON.parse(this.wfInstance.udmNodes);
60507
60898
  if (this.wfInstance.udmNodes && SubmitHandlevue_type_script_lang_js_typeof(this.wfInstance.udmNodes) === 'object' && this.curTN.tnNodeID !== null) {
60508
60899
  var curNode = null;
60900
+ var curNodeIndex = -1;
60509
60901
  var customRoutes = [];
60510
60902
  this.wfInstance.udmNodes.forEach(function (taskNode, index) {
60511
60903
  if (taskNode.name === _this2.curTN.tnNodeName) {
60512
60904
  curNode = taskNode;
60513
- if (curNode.canSendToNext !== 0 && _this2.wfInstance.udmNodes.length > index + 1) {
60905
+ curNodeIndex = index;
60906
+ if (curNode.canSendToNext !== 0 && _this2.wfInstance.udmNodes.length > index + 1 && _this.wfInstance.passenger.udmNodeUsers) {
60514
60907
  var nextNode = _this2.wfInstance.udmNodes[index + 1];
60515
60908
  if (!nextNode.users) {
60516
60909
  nextNode.users = [];
@@ -60524,6 +60917,7 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
60524
60917
  taskNodes: [JSON.parse(JSON.stringify(nextNode))],
60525
60918
  type: '0'
60526
60919
  };
60920
+ nextRoute.taskNodes[0].users = _this2.wfInstance.passenger.udmNodeUsers.nextUsers || [];
60527
60921
  customRoutes.push(nextRoute);
60528
60922
  }
60529
60923
  }
@@ -60545,37 +60939,29 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
60545
60939
  };
60546
60940
  customRoutes.push(endRoute);
60547
60941
  }
60548
- if (curNode.canSendback !== 0 && this.wfInstance.udmNodes.length > 0 && this.curTN.tnNodeName !== this.wfInstance.udmNodes[0].name) {
60549
- var _endRoute = {
60942
+ if (curNode.returnHistoryTN !== 0 && curNodeIndex > 0 && this.wfInstance.passenger.udmNodeUsers) {
60943
+ var backRoute = {
60550
60944
  evtMsg: '',
60551
60945
  mustNextTN: '',
60552
60946
  evtCplPercent: '0',
60553
- name: '退回',
60554
- fullName: '退回',
60555
- taskNodes: [JSON.parse(JSON.stringify(this.wfInstance.udmNodes[0]))],
60947
+ name: this.$tx('ecwapp.Wflowform.SubmitHandle.sendBack', '退回'),
60948
+ taskNodes: [],
60556
60949
  type: '3'
60557
60950
  };
60558
- customRoutes.push(_endRoute);
60559
- }
60560
- this.wfInstance.udmNodes.forEach(function (taskNode, index) {
60561
- if (taskNode.name === _this2.curTN.tnNodeName) {
60562
- curNode = taskNode;
60563
- if (curNode.canSendToOther !== 0 && _this2.wfInstance.passenger.allUsers) {
60564
- var sendToOtherNode = JSON.parse(JSON.stringify(taskNode));
60565
- sendToOtherNode.users = JSON.parse(_this2.wfInstance.passenger.allUsers); // 单位全体人员
60566
- var sendToOtherRoute = {
60567
- evtMsg: '',
60568
- mustNextTN: '',
60569
- evtCplPercent: '0',
60570
- name: '增加处理人',
60571
- fullName: '增加处理人',
60572
- taskNodes: [sendToOtherNode],
60573
- type: '4'
60574
- };
60575
- customRoutes.push(sendToOtherRoute);
60576
- }
60951
+ if (curNode.returnHistoryTN == 2) {
60952
+ //退回到发起节点
60953
+ backRoute.name = '退回发起人';
60954
+ backRoute.taskNodes.push(JSON.parse(JSON.stringify(this.wfInstance.udmNodes[0])));
60955
+ backRoute.taskNodes[0].users = this.wfInstance.passenger.udmNodeUsers.returnHistoryTNUser;
60956
+ } else {
60957
+ //退回到上一节点
60958
+ backRoute.name = '退回上一节点';
60959
+ backRoute.taskNodes.push(JSON.parse(JSON.stringify(this.wfInstance.udmNodes[curNodeIndex - 1])));
60960
+ backRoute.taskNodes[0].users = this.wfInstance.passenger.udmNodeUsers.returnHistoryTNUser;
60577
60961
  }
60578
- });
60962
+ backRoute.fullName = backRoute.name;
60963
+ customRoutes.push(backRoute);
60964
+ }
60579
60965
  this.wfJsonData.routes = customRoutes;
60580
60966
  this.initSubmitHandle();
60581
60967
  }
@@ -60845,7 +61231,10 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
60845
61231
  });
60846
61232
  }
60847
61233
  } else if (this.wfInstance.udmNodes && this.wfInstance.udmNodes !== '[]') {
60848
- this.wfInstance.udmNodes = JSON.parse(this.wfInstance.udmNodes);
61234
+ if (typeof this.wfInstance.udmNodes === 'string') {
61235
+ this.wfInstance.udmNodes = JSON.parse(this.wfInstance.udmNodes);
61236
+ }
61237
+ this.initiated = true;
60849
61238
  this.$forceUpdate();
60850
61239
  } else if (this.wfInstance.passenger.udmjysp) {
60851
61240
  var tnUsers = [{
@@ -61214,9 +61603,13 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
61214
61603
  addUdmNode: function addUdmNode() {
61215
61604
  this.udmNode = {
61216
61605
  todoMode: 0,
61217
- selectType: 0,
61606
+ selectType: 3,
61607
+ orgLevel: 2,
61608
+ orgStaffFilterType: 2,
61609
+ orgStaffType: 3,
61218
61610
  canEdit: 1,
61219
- status: 0
61611
+ status: 0,
61612
+ ideaLable: ''
61220
61613
  };
61221
61614
  this.wfNodeDialogVisible = true;
61222
61615
  },
@@ -61225,17 +61618,48 @@ var SubmitHandlevue_type_script_lang_js_moment = __webpack_require__(5093);
61225
61618
  this.wfNodeDialogVisible = true;
61226
61619
  },
61227
61620
  delUdmNode: function delUdmNode(index) {
61621
+ var _this12 = this;
61228
61622
  if (index === 0) return;
61229
- this.wfInstance.udmNodes.splice(index, 1);
61230
- this.$forceUpdate();
61623
+ if (this.curTN.tnNodeID) {
61624
+ this.wfInstance.udmNodes.splice(index, 1);
61625
+ this.$forceUpdate();
61626
+ } else {
61627
+ //无办理权限,检查拟删除的环节是否已经办理过
61628
+ this.$http({
61629
+ method: 'POST',
61630
+ contentType: 'application/x-www-form-urlencoded',
61631
+ params: {
61632
+ wfInstanceId: this.wfInstance.id
61633
+ },
61634
+ url: 'workflow/wfInstanceNodelog/listWfNodelog'
61635
+ }).then(function (res) {
61636
+ if (res.code === 'success') {
61637
+ var historyWflogs = res.body.listdata.filter(function (wflog) {
61638
+ return wflog.nodeName === _this12.wfInstance.udmNodes[index].name;
61639
+ });
61640
+ if (historyWflogs.length > 0) {
61641
+ _this12.$dialog.alert({
61642
+ message: '不允许删除已经送审批或办理的节点!'
61643
+ });
61644
+ } else {
61645
+ _this12.wfInstance.udmNodes.splice(index, 1);
61646
+ _this12.$forceUpdate();
61647
+ }
61648
+ } else {
61649
+ _this12.$dialog.alert({
61650
+ message: res.message
61651
+ });
61652
+ }
61653
+ });
61654
+ }
61231
61655
  }
61232
61656
  }
61233
61657
  });
61234
61658
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=script&lang=js
61235
61659
  /* harmony default export */ var src_SubmitHandlevue_type_script_lang_js = (SubmitHandlevue_type_script_lang_js);
61236
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=ac8cafcc&prod&scoped=true&lang=scss
61237
- var SubmitHandlevue_type_style_index_0_id_ac8cafcc_prod_scoped_true_lang_scss = __webpack_require__(8562);
61238
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=ac8cafcc&prod&scoped=true&lang=scss
61660
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=3c078a1b&prod&scoped=true&lang=scss
61661
+ var SubmitHandlevue_type_style_index_0_id_3c078a1b_prod_scoped_true_lang_scss = __webpack_require__(5877);
61662
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue?vue&type=style&index=0&id=3c078a1b&prod&scoped=true&lang=scss
61239
61663
 
61240
61664
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/SubmitHandle.vue
61241
61665
 
@@ -61248,11 +61672,11 @@ var SubmitHandlevue_type_style_index_0_id_ac8cafcc_prod_scoped_true_lang_scss =
61248
61672
 
61249
61673
  var SubmitHandle_component = (0,componentNormalizer/* default */.A)(
61250
61674
  src_SubmitHandlevue_type_script_lang_js,
61251
- SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_render,
61252
- SubmitHandlevue_type_template_id_ac8cafcc_scoped_true_staticRenderFns,
61675
+ SubmitHandlevue_type_template_id_3c078a1b_scoped_true_render,
61676
+ SubmitHandlevue_type_template_id_3c078a1b_scoped_true_staticRenderFns,
61253
61677
  false,
61254
61678
  null,
61255
- "ac8cafcc",
61679
+ "3c078a1b",
61256
61680
  null
61257
61681
 
61258
61682
  )
@@ -61637,8 +62061,8 @@ var WfNodelogListvue_type_template_id_0e256787_scoped_true_render = function ren
61637
62061
  };
61638
62062
  var WfNodelogListvue_type_template_id_0e256787_scoped_true_staticRenderFns = [];
61639
62063
 
61640
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=template&id=db68a166&scoped=true
61641
- var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_render = function render() {
62064
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=template&id=897ddfa6&scoped=true
62065
+ var ModifyWflogAddUservue_type_template_id_897ddfa6_scoped_true_render = function render() {
61642
62066
  var _vm = this,
61643
62067
  _c = _vm._self._c;
61644
62068
  return _vm.dialogFormVisible ? _c('PopupDialog', {
@@ -61785,7 +62209,7 @@ var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_render = functio
61785
62209
  }
61786
62210
  }, [_vm._v("确 定")])], 1)], 1) : _vm._e();
61787
62211
  };
61788
- var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns = [];
62212
+ var ModifyWflogAddUservue_type_template_id_897ddfa6_scoped_true_staticRenderFns = [];
61789
62213
 
61790
62214
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=script&lang=js
61791
62215
 
@@ -61837,7 +62261,6 @@ var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns
61837
62261
  _this.wfNodeName = wfNodeName;
61838
62262
  if (!wflog) {
61839
62263
  _this.getCurWflog();
61840
- _this.loading = false;
61841
62264
  return;
61842
62265
  }
61843
62266
  this.wfEngineUrl = this.$route.query.wfEngineUrl || '';
@@ -61851,41 +62274,61 @@ var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns
61851
62274
  this.wflog.pathName = this.$tx('ecmapp.wflowform.batchTransfer', '批量转派');
61852
62275
  }
61853
62276
  this.dialogFormVisible = true;
61854
- this.doing = false;
61855
-
61856
- // 查询流程配置环节
61857
- this.$http({
61858
- method: 'POST',
61859
- params: {
61860
- wfProcessId: wfInstance.wfId
61861
- },
61862
- // 查询当前流程全部环节
61863
- url: 'workflow/wfdProcessMgr/queryWfdNodeByProcessId'
61864
- }).then(function (res) {
61865
- if (res.code === 'success') {
61866
- res.body.listdata.forEach(function (wfd) {
61867
- if (wfd.name !== 'jslc' && wfd.name !== 'start' && wfd.name !== 'jslc' && wfd.name !== 'dfzjd' && wfd.name !== 'jsrw' && !wfd.dccodeType) {
61868
- _this.wfdNodeList.push(wfd);
61869
- if (wfd.name === _this2.wfNodeName) {
61870
- _this.$set(_this.wflog, 'newNode', _this.wfdNodeList.length - 1);
61871
- _this.setTimeLimit(_this.wfdNodeList.length - 1);
61872
- if (_this.wflog.timeLimitDay === 1 && wfd.timeLimitDay === 0) {
61873
- _this.$set(_this.wflog, 'newTimeLimit', _this.wflog.limitTime);
62277
+ if (wfInstance.udmNodes && wfInstance.module.indexOf('udmjysp_') == 0) {
62278
+ var udmNodes = wfInstance.udmNodes;
62279
+ if (typeof udmNodes === 'string') {
62280
+ udmNodes = JSON.parse(udmNodes);
62281
+ }
62282
+ udmNodes.forEach(function (udmNode) {
62283
+ if (_this.modifyType !== 'addCooperationUser' || _this.historyWflogs.filter(function (wflog) {
62284
+ return wflog.nodeName === udmNode.name;
62285
+ }).length > 0) {
62286
+ _this.wfdNodeList.push(udmNode);
62287
+ }
62288
+ if (udmNode.name === _this2.wfNodeName) {
62289
+ _this.$set(_this.wflog, 'newNode', _this.wfdNodeList.length - 1);
62290
+ _this.setTimeLimit(_this.wfdNodeList.length - 1);
62291
+ if (_this.wflog.timeLimitDay === 1 && udmNode.timeLimitDay === 0) {
62292
+ _this.$set(_this.wflog, 'newTimeLimit', _this.wflog.limitTime);
62293
+ }
62294
+ }
62295
+ });
62296
+ _this.loading = false;
62297
+ } else {
62298
+ // 查询流程配置环节
62299
+ this.$http({
62300
+ method: 'POST',
62301
+ params: {
62302
+ wfProcessId: wfInstance.wfId
62303
+ },
62304
+ // 查询当前流程全部环节
62305
+ url: 'workflow/wfdProcessMgr/queryWfdNodeByProcessId'
62306
+ }).then(function (res) {
62307
+ if (res.code === 'success') {
62308
+ res.body.listdata.forEach(function (wfd) {
62309
+ if (wfd.name !== 'jslc' && wfd.name !== 'start' && wfd.name !== 'jslc' && wfd.name !== 'dfzjd' && wfd.name !== 'jsrw' && wfd.name !== 'zyjd' && !wfd.dccodeType) {
62310
+ _this.wfdNodeList.push(wfd);
62311
+ if (wfd.name === _this2.wfNodeName) {
62312
+ _this.$set(_this.wflog, 'newNode', _this.wfdNodeList.length - 1);
62313
+ _this.setTimeLimit(_this.wfdNodeList.length - 1);
62314
+ if (_this.wflog.timeLimitDay === 1 && wfd.timeLimitDay === 0) {
62315
+ _this.$set(_this.wflog, 'newTimeLimit', _this.wflog.limitTime);
62316
+ }
61874
62317
  }
61875
62318
  }
61876
- }
61877
- });
61878
- _this.loading = false;
61879
- } else {
61880
- _this2.$alert({
61881
- message: res.message,
61882
- type: 'error'
61883
- }).then(function () {
61884
- _this.handleDialogClose();
62319
+ });
61885
62320
  _this.loading = false;
61886
- });
61887
- }
61888
- });
62321
+ } else {
62322
+ _this2.$alert({
62323
+ message: res.message,
62324
+ type: 'error'
62325
+ }).then(function () {
62326
+ _this.handleDialogClose();
62327
+ _this.loading = false;
62328
+ });
62329
+ }
62330
+ });
62331
+ }
61889
62332
  },
61890
62333
  getCurWflog: function getCurWflog() {
61891
62334
  var _this3 = this;
@@ -61912,6 +62355,7 @@ var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns
61912
62355
  },
61913
62356
  url: 'workflow/wfInstanceNodelog/listWfNodelog'
61914
62357
  }).then(function (res) {
62358
+ _this.loading = false;
61915
62359
  if (res.code === 'success') {
61916
62360
  res.body.listdata.forEach(function (wflog) {
61917
62361
  if (wflog.id === curTN.tnID) {
@@ -62071,9 +62515,9 @@ var ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns
62071
62515
  });
62072
62516
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=script&lang=js
62073
62517
  /* harmony default export */ var src_ModifyWflogAddUservue_type_script_lang_js = (ModifyWflogAddUservue_type_script_lang_js);
62074
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=db68a166&prod&scoped=true&lang=scss
62075
- var ModifyWflogAddUservue_type_style_index_0_id_db68a166_prod_scoped_true_lang_scss = __webpack_require__(5369);
62076
- ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=db68a166&prod&scoped=true&lang=scss
62518
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=897ddfa6&prod&scoped=true&lang=scss
62519
+ var ModifyWflogAddUservue_type_style_index_0_id_897ddfa6_prod_scoped_true_lang_scss = __webpack_require__(8786);
62520
+ ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue?vue&type=style&index=0&id=897ddfa6&prod&scoped=true&lang=scss
62077
62521
 
62078
62522
  ;// CONCATENATED MODULE: ./packages/ecmapp/Wflowform/src/ModifyWflogAddUser.vue
62079
62523
 
@@ -62086,11 +62530,11 @@ var ModifyWflogAddUservue_type_style_index_0_id_db68a166_prod_scoped_true_lang_s
62086
62530
 
62087
62531
  var ModifyWflogAddUser_component = (0,componentNormalizer/* default */.A)(
62088
62532
  src_ModifyWflogAddUservue_type_script_lang_js,
62089
- ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_render,
62090
- ModifyWflogAddUservue_type_template_id_db68a166_scoped_true_staticRenderFns,
62533
+ ModifyWflogAddUservue_type_template_id_897ddfa6_scoped_true_render,
62534
+ ModifyWflogAddUservue_type_template_id_897ddfa6_scoped_true_staticRenderFns,
62091
62535
  false,
62092
62536
  null,
62093
- "db68a166",
62537
+ "897ddfa6",
62094
62538
  null
62095
62539
 
62096
62540
  )