ecinc-cloud-yoabase 9.6.312 → 9.6.313

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.
@@ -14438,6 +14438,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".tinymce-container[data-v-5acdb42b]{po
14438
14438
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
14439
14439
 
14440
14440
 
14441
+ /***/ }),
14442
+
14443
+ /***/ 1086:
14444
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
14445
+
14446
+ "use strict";
14447
+ __webpack_require__.r(__webpack_exports__);
14448
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
14449
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
14450
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
14451
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
14452
+ // Imports
14453
+
14454
+
14455
+ 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()));
14456
+ // Module
14457
+ ___CSS_LOADER_EXPORT___.push([module.id, ".breadcrumb[data-v-adf6684e]{padding:10px 20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;font-size:14px;border-bottom:1px solid #efeff0}.crumb-item[data-v-adf6684e]{color:#666;cursor:pointer}.crumb-item[data-v-adf6684e]:hover{text-decoration:underline}.last-item[data-v-adf6684e]{color:#333;cursor:default;pointer-events:none}.separator[data-v-adf6684e]{margin:0 8px;color:#333}.file-list[data-v-adf6684e]{background:#fff;height:50vh;overflow-y:auto}.item[data-v-adf6684e]{padding:12px 20px;cursor:pointer;-webkit-transition:background .2s;transition:background .2s;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #f0f0f0}.item[data-v-adf6684e]:last-child{border-bottom:none}.item[data-v-adf6684e]:hover{background:#f0f7ff}.icon[data-v-adf6684e]{margin-right:10px;img[data-v-adf6684e]{position:relative;top:2px;width:14px;height:14px}}.folder[data-v-adf6684e]{font-weight:500;color:#333}.file[data-v-adf6684e]{color:#555}.empty-tip[data-v-adf6684e]{padding:20px;text-align:center;color:#999}", ""]);
14458
+ // Exports
14459
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
14460
+
14461
+
14441
14462
  /***/ }),
14442
14463
 
14443
14464
  /***/ 2356:
@@ -14503,7 +14524,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".el-dialog__body{min-height:auto!impor
14503
14524
 
14504
14525
  /***/ }),
14505
14526
 
14506
- /***/ 4365:
14527
+ /***/ 7286:
14507
14528
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
14508
14529
 
14509
14530
  "use strict";
@@ -14517,7 +14538,7 @@ __webpack_require__.r(__webpack_exports__);
14517
14538
 
14518
14539
  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()));
14519
14540
  // Module
14520
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-b1877438] .el-table__body-wrapper::-webkit-scrollbar{height:8px!important}[data-v-b1877438] .el-table__body-wrapper::-webkit-scrollbar-track{border-radius:12px}[data-v-b1877438] .el-table__body-wrapper::-webkit-scrollbar-thumb{border-radius:12px;background-color:#f2f5fb}[data-v-b1877438] .el-form .el-table__body .tdlbl{background:#f2f5fb!important}#new-busi-form[data-v-b1877438]{height:100%;background:#f0f2f5}#new-busi-form .new-head[data-v-b1877438]{height:68px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 20px;background:#fff}#new-busi-form .new-head[data-v-b1877438],#new-busi-form .new-head .head-left[data-v-b1877438]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#new-busi-form .new-head .head-left img[data-v-b1877438]{width:44px;height:44px}#new-busi-form .new-head .head-left .head-title[data-v-b1877438]{margin-left:10px;margin-top:10px;font-size:var(--portalFontSize13);color:#999;font-weight:400}#new-busi-form .new-head .head-left .head-title .moduleTitle[data-v-b1877438]{font-size:22px;line-height:29px}#new-busi-form .new-head .head-left .head-title .moduleT[data-v-b1877438]{position:relative;font-weight:400;color:#999}#new-busi-form .new-head .head-left .head-title .sidebar-divide[data-v-b1877438]{border-right:1px solid #ccc;margin:0 10px;height:14px}#new-busi-form .new-head .head-left .head-title .formTapBtn[data-v-b1877438]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;font-family:MicrosoftYaHei;color:#000;font-size:var(--portalFontSize13)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-b1877438]{position:relative;margin-right:15px}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-b1877438]{position:relative;color:var(--subjectColor);font-weight:700}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-b1877438]:after{content:\"\";position:absolute;bottom:-12px;left:0;width:100%;height:2px;background:var(--subjectColor)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-b1877438]:hover{cursor:pointer;color:var(--subjectColor)}#new-busi-form .busi-box[data-v-b1877438]{height:calc(100% - 68px);overflow-y:auto}#new-busi-form .busi-box .busi-content[data-v-b1877438]{width:calc(100% - 40px);background:#fff;min-height:100%;margin:20px auto;-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.06);box-shadow:0 0 6px 0 rgba(0,0,0,.06)}#new-busi-form .busi-box .busi-content .title-info[data-v-b1877438]{height:93px;text-align:center;line-height:93px;font-size:24px;color:#000}#new-busi-form .busi-box .busi-content .busi-components[data-v-b1877438]{width:87%;margin:0 auto;padding:0}@media (max-width:1600px){#new-busi-form .busi-box .busi-content[data-v-b1877438]{width:calc(100% - 40px)}}@media (min-width:2120px){#new-busi-form .busi-box .busi-content[data-v-b1877438]{width:calc(100% - 40px)}}#new-busi-form .busi-box[data-v-b1877438]::-webkit-scrollbar{background-color:#f0f2f5;width:8px}#new-busi-form .busi-box[data-v-b1877438]::-webkit-scrollbar-thumb{border-radius:12px}#new-busi-form .busi-box:hover.busi-box[data-v-b1877438]::-webkit-scrollbar-thumb{background-color:#d5d6d8}#new-busi-form[data-v-b1877438] .el-table .el-table__header-wrapper .el-table__header thead th{background:transparent!important}#new-busi-form[data-v-b1877438] .el-form .el-table__body .tdlbl .required{position:absolute;left:6px}#new-busi-form[data-v-b1877438] .el-table__cell.tdlbl{padding:4px 6px 4px 15px!important}#new-busi-form[data-v-b1877438] .el-form .el-table__body .tdlbl{text-align:left}#new-busi-form[data-v-b1877438] .el-form .el-table__body td.tdw17{width:15.6%}#new-busi-form[data-v-b1877438] .el-form .el-table__body td.tdw33{width:34.4%}#new-busi-form[data-v-b1877438] .el-form .el-table__body td.tdw83{width:84.4%}#new-busi-form[data-v-b1877438] .el-form .el-table__body td.tdw13{width:10.4%}#new-busi-form[data-v-b1877438] .el-form .el-table__body td.tdw20{width:22.9%}#new-busi-form[data-v-b1877438] .el-form .el-table.el-table--border td{border-right-color:#999!important;border-bottom-color:#999!important}#new-busi-form[data-v-b1877438] .el-table--border .el-table__cell{border-right:1px solid #999}#new-busi-form[data-v-b1877438] .el-form .el-table.el-table--border{border-color:#999}#new-busi-form .el-table--group[data-v-b1877438]:after,#new-busi-form[data-v-b1877438] .el-form .el-table:before,#new-busi-form[data-v-b1877438] .el-table--border:after,#new-busi-form[data-v-b1877438] .el-table:before{background-color:#999}#new-busi-form[data-v-b1877438] .title-container{border-color:#fff!important}#new-busi-form[data-v-b1877438] .title-container .has-bottom{border:1px solid #999;border-bottom:0}#new-busi-form[data-v-b1877438] .el-form .el-table:after{background-color:#999}#new-busi-form[data-v-b1877438] .el-table--border{border-color:#999}#new-busi-form[data-v-b1877438] .el-tabs .el-tabs__header{width:60%;background-color:unset}#new-busi-form[data-v-b1877438] .el-tabs__nav-wrap:after{height:0}#new-busi-form[data-v-b1877438] .el-table td.el-table__cell,#new-busi-form[data-v-b1877438] .el-table th.el-table__cell.is-leaf{border-bottom:1px solid #999}#new-busi-form[data-v-b1877438] .toolbar-box .el-button{border:1px solid #999}#new-busi-form[data-v-b1877438] .el-popover__reference-wrapper .el-button-group .toolbar-box{padding:0 1px 0 0}#new-busi-form[data-v-b1877438] .inner-table-toolbar{display:none}#new-busi-form.full-screen .busi-content[data-v-b1877438]{width:calc(100% - 40px);min-width:1000px}#new-busi-form.full-screen .busi-content .busi-components[data-v-b1877438]{width:87%;margin:0 auto;padding:0}@media (min-width:3840px){#new-busi-form.full-screen .busi-content[data-v-b1877438]{width:3200px}}", ""]);
14541
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-155cf786] .el-table__body-wrapper::-webkit-scrollbar{height:8px!important}[data-v-155cf786] .el-table__body-wrapper::-webkit-scrollbar-track{border-radius:12px}[data-v-155cf786] .el-table__body-wrapper::-webkit-scrollbar-thumb{border-radius:12px;background-color:#f2f5fb}[data-v-155cf786] .el-form .el-table__body .tdlbl{background:#f2f5fb!important}#new-busi-form[data-v-155cf786]{height:100%;background:#f0f2f5}#new-busi-form .new-head[data-v-155cf786]{height:68px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 20px;background:#fff;border-bottom:1px solid #e2e7ed}#new-busi-form .new-head[data-v-155cf786],#new-busi-form .new-head .head-left[data-v-155cf786]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}#new-busi-form .new-head .head-left img[data-v-155cf786]{width:44px;height:44px}#new-busi-form .new-head .head-left .head-title[data-v-155cf786]{margin-left:10px;margin-top:10px;font-size:var(--portalFontSize13);color:#999;font-weight:400}#new-busi-form .new-head .head-left .head-title .moduleTitle[data-v-155cf786]{font-size:22px;line-height:29px}#new-busi-form .new-head .head-left .head-title .moduleT[data-v-155cf786]{position:relative;font-weight:400;color:#999}#new-busi-form .new-head .head-left .head-title .sidebar-divide[data-v-155cf786]{border-right:1px solid #ccc;margin:0 10px;height:14px}#new-busi-form .new-head .head-left .head-title .formTapBtn[data-v-155cf786]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px;font-family:MicrosoftYaHei;color:#000;font-size:var(--portalFontSize13)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-155cf786]{position:relative;margin-right:15px}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-155cf786]{position:relative;color:var(--subjectColor);font-weight:700}#new-busi-form .new-head .head-left .head-title .formTapBtn .active[data-v-155cf786]:after{content:\"\";position:absolute;bottom:-12px;left:0;width:100%;height:2px;background:var(--subjectColor)}#new-busi-form .new-head .head-left .head-title .formTapBtn .tapItemBtn[data-v-155cf786]:hover{cursor:pointer;color:var(--subjectColor)}#new-busi-form .busi-box[data-v-155cf786]{height:calc(100% - 68px);overflow-y:auto}#new-busi-form .busi-box .busi-content[data-v-155cf786]{width:calc(100% - 40px);background:#fff;min-height:100%;margin:20px auto;-webkit-box-shadow:0 0 6px 0 rgba(0,0,0,.06);box-shadow:0 0 6px 0 rgba(0,0,0,.06)}#new-busi-form .busi-box .busi-content .title-info[data-v-155cf786]{height:93px;text-align:center;line-height:93px;font-size:24px;color:#000}#new-busi-form .busi-box .busi-content .busi-components[data-v-155cf786]{width:87%;margin:0 auto;padding:0}@media (max-width:1600px){#new-busi-form .busi-box .busi-content[data-v-155cf786]{width:calc(100% - 40px)}}@media (min-width:2120px){#new-busi-form .busi-box .busi-content[data-v-155cf786]{width:calc(100% - 40px)}}#new-busi-form .busi-box[data-v-155cf786]::-webkit-scrollbar{background-color:#f0f2f5;width:8px}#new-busi-form .busi-box[data-v-155cf786]::-webkit-scrollbar-thumb{border-radius:12px}#new-busi-form .busi-box:hover.busi-box[data-v-155cf786]::-webkit-scrollbar-thumb{background-color:#d5d6d8}#new-busi-form[data-v-155cf786] .el-table .el-table__header-wrapper .el-table__header thead th{background:transparent!important}#new-busi-form[data-v-155cf786] .el-form .el-table__body .tdlbl .required{position:absolute;left:6px}#new-busi-form[data-v-155cf786] .el-table__cell.tdlbl{padding:4px 6px 4px 15px!important}#new-busi-form[data-v-155cf786] .el-form .el-table__body .tdlbl{text-align:left}#new-busi-form[data-v-155cf786] .el-form .el-table__body td.tdw17{width:15.6%}#new-busi-form[data-v-155cf786] .el-form .el-table__body td.tdw33{width:34.4%}#new-busi-form[data-v-155cf786] .el-form .el-table__body td.tdw83{width:84.4%}#new-busi-form[data-v-155cf786] .el-form .el-table__body td.tdw13{width:10.4%}#new-busi-form[data-v-155cf786] .el-form .el-table__body td.tdw20{width:22.9%}#new-busi-form[data-v-155cf786] .el-form .el-table.el-table--border td{border-right-color:#999!important;border-bottom-color:#999!important}#new-busi-form[data-v-155cf786] .el-table--border .el-table__cell{border-right:1px solid #999}#new-busi-form[data-v-155cf786] .el-form .el-table.el-table--border{border-color:#999}#new-busi-form .el-table--group[data-v-155cf786]:after,#new-busi-form[data-v-155cf786] .el-form .el-table:before,#new-busi-form[data-v-155cf786] .el-table--border:after,#new-busi-form[data-v-155cf786] .el-table:before{background-color:#999}#new-busi-form[data-v-155cf786] .title-container{border-color:#fff!important}#new-busi-form[data-v-155cf786] .title-container .has-bottom{border:1px solid #999;border-bottom:0}#new-busi-form[data-v-155cf786] .el-form .el-table:after{background-color:#999}#new-busi-form[data-v-155cf786] .el-table--border{border-color:#999}#new-busi-form[data-v-155cf786] .el-tabs .el-tabs__header{width:60%;background-color:unset}#new-busi-form[data-v-155cf786] .el-tabs__nav-wrap:after{height:0}#new-busi-form[data-v-155cf786] .el-table td.el-table__cell,#new-busi-form[data-v-155cf786] .el-table th.el-table__cell.is-leaf{border-bottom:1px solid #999}#new-busi-form[data-v-155cf786] .toolbar-box .el-button{border:1px solid #999}#new-busi-form[data-v-155cf786] .el-popover__reference-wrapper .el-button-group .toolbar-box{padding:0 1px 0 0}#new-busi-form[data-v-155cf786] .inner-table-toolbar{display:none}#new-busi-form.full-screen .busi-content[data-v-155cf786]{width:calc(100% - 40px);min-width:1000px}#new-busi-form.full-screen .busi-content .busi-components[data-v-155cf786]{width:87%;margin:0 auto;padding:0}@media (min-width:3840px){#new-busi-form.full-screen .busi-content[data-v-155cf786]{width:3200px}}", ""]);
14521
14542
  // Exports
14522
14543
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
14523
14544
 
@@ -15388,6 +15409,27 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".water[data-v-4cb05072]{position:absol
15388
15409
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
15389
15410
 
15390
15411
 
15412
+ /***/ }),
15413
+
15414
+ /***/ 2857:
15415
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
15416
+
15417
+ "use strict";
15418
+ __webpack_require__.r(__webpack_exports__);
15419
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1601);
15420
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
15421
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6314);
15422
+ /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
15423
+ // Imports
15424
+
15425
+
15426
+ 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()));
15427
+ // Module
15428
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-c4f48a48] .el-dialog__body{padding:0!important}", ""]);
15429
+ // Exports
15430
+ /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
15431
+
15432
+
15391
15433
  /***/ }),
15392
15434
 
15393
15435
  /***/ 334:
@@ -77604,6 +77646,22 @@ var update = add("c2387cc4", content, true, {"sourceMap":false,"shadowMode":fals
77604
77646
 
77605
77647
  /***/ }),
77606
77648
 
77649
+ /***/ 3491:
77650
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
77651
+
77652
+ // style-loader: Adds some css to the DOM by adding a <style> tag
77653
+
77654
+ // load the styles
77655
+ var content = __webpack_require__(1086);
77656
+ if(content.__esModule) content = content.default;
77657
+ if(typeof content === 'string') content = [[module.id, content, '']];
77658
+ if(content.locals) module.exports = content.locals;
77659
+ // add the styles to the DOM
77660
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
77661
+ var update = add("de219c36", content, true, {"sourceMap":false,"shadowMode":false});
77662
+
77663
+ /***/ }),
77664
+
77607
77665
  /***/ 3248:
77608
77666
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
77609
77667
 
@@ -77652,19 +77710,19 @@ var update = add("17f153c2", content, true, {"sourceMap":false,"shadowMode":fals
77652
77710
 
77653
77711
  /***/ }),
77654
77712
 
77655
- /***/ 5471:
77713
+ /***/ 8288:
77656
77714
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
77657
77715
 
77658
77716
  // style-loader: Adds some css to the DOM by adding a <style> tag
77659
77717
 
77660
77718
  // load the styles
77661
- var content = __webpack_require__(4365);
77719
+ var content = __webpack_require__(7286);
77662
77720
  if(content.__esModule) content = content.default;
77663
77721
  if(typeof content === 'string') content = [[module.id, content, '']];
77664
77722
  if(content.locals) module.exports = content.locals;
77665
77723
  // add the styles to the DOM
77666
77724
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
77667
- var update = add("ca6141f2", content, true, {"sourceMap":false,"shadowMode":false});
77725
+ var update = add("13b84990", content, true, {"sourceMap":false,"shadowMode":false});
77668
77726
 
77669
77727
  /***/ }),
77670
77728
 
@@ -78324,6 +78382,22 @@ var update = add("5826508e", content, true, {"sourceMap":false,"shadowMode":fals
78324
78382
 
78325
78383
  /***/ }),
78326
78384
 
78385
+ /***/ 7111:
78386
+ /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
78387
+
78388
+ // style-loader: Adds some css to the DOM by adding a <style> tag
78389
+
78390
+ // load the styles
78391
+ var content = __webpack_require__(2857);
78392
+ if(content.__esModule) content = content.default;
78393
+ if(typeof content === 'string') content = [[module.id, content, '']];
78394
+ if(content.locals) module.exports = content.locals;
78395
+ // add the styles to the DOM
78396
+ var add = (__webpack_require__(9548)/* ["default"] */ .A)
78397
+ var update = add("362fcc36", content, true, {"sourceMap":false,"shadowMode":false});
78398
+
78399
+ /***/ }),
78400
+
78327
78401
  /***/ 2580:
78328
78402
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
78329
78403
 
@@ -235570,6 +235644,440 @@ var echartR_component = normalizeComponent(
235570
235644
  MappWorkEchartZ: echartZ,
235571
235645
  MappWorkEchartR: echartR
235572
235646
  });
235647
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/common/components/ZipViewer/index.vue?vue&type=template&id=c4f48a48&scoped=true
235648
+ var ZipViewervue_type_template_id_c4f48a48_scoped_true_render = function render() {
235649
+ var _vm = this,
235650
+ _c = _vm._self._c;
235651
+ return _c('el-dialog', {
235652
+ directives: [{
235653
+ name: "el-drag-dialog",
235654
+ rawName: "v-el-drag-dialog"
235655
+ }],
235656
+ attrs: {
235657
+ "visible": _vm.isShow,
235658
+ "title": "压缩包预览",
235659
+ "width": "1000px",
235660
+ "close-on-click-modal": false,
235661
+ "destroy-on-close": ""
235662
+ },
235663
+ on: {
235664
+ "update:visible": function updateVisible($event) {
235665
+ _vm.isShow = $event;
235666
+ }
235667
+ }
235668
+ }, [_c('div', {
235669
+ directives: [{
235670
+ name: "loading",
235671
+ rawName: "v-loading",
235672
+ value: _vm.loading,
235673
+ expression: "loading"
235674
+ }]
235675
+ }, [!_vm.loading ? _c('FileTree', {
235676
+ attrs: {
235677
+ "treeData": _vm.treeData,
235678
+ "root-name": _vm.rootName
235679
+ },
235680
+ on: {
235681
+ "preview": _vm.preview
235682
+ }
235683
+ }) : _vm._e()], 1), _c('span', {
235684
+ staticClass: "dialog-footer",
235685
+ attrs: {
235686
+ "slot": "footer"
235687
+ },
235688
+ slot: "footer"
235689
+ }, [_c('el-button', {
235690
+ on: {
235691
+ "click": function click($event) {
235692
+ _vm.isShow = false;
235693
+ }
235694
+ }
235695
+ }, [_vm._v("关 闭")])], 1)]);
235696
+ };
235697
+ var ZipViewervue_type_template_id_c4f48a48_scoped_true_staticRenderFns = [];
235698
+
235699
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/common/components/ZipViewer/FileTree.vue?vue&type=template&id=adf6684e&scoped=true
235700
+ var FileTreevue_type_template_id_adf6684e_scoped_true_render = function render() {
235701
+ var _vm = this,
235702
+ _c = _vm._self._c;
235703
+ return _c('div', {
235704
+ staticClass: "file-tree-container"
235705
+ }, [_c('div', {
235706
+ staticClass: "breadcrumb"
235707
+ }, [_c('span', {
235708
+ staticClass: "crumb-item",
235709
+ on: {
235710
+ "click": function click($event) {
235711
+ $event.stopPropagation();
235712
+ return _vm.jumpTo(-1);
235713
+ }
235714
+ }
235715
+ }, [_vm._v(_vm._s(_vm.rootName))]), _vm._l(_vm.pathStack, function (folder, index) {
235716
+ return _c('span', {
235717
+ key: folder.id
235718
+ }, [_c('span', {
235719
+ staticClass: "separator"
235720
+ }, [_vm._v(">")]), _c('span', {
235721
+ staticClass: "crumb-item",
235722
+ class: {
235723
+ 'last-item': index == _vm.pathStack.length - 1
235724
+ },
235725
+ on: {
235726
+ "click": function click($event) {
235727
+ $event.stopPropagation();
235728
+ return _vm.jumpTo(index);
235729
+ }
235730
+ }
235731
+ }, [_vm._v(_vm._s(folder.fileName))])]);
235732
+ })], 2), _c('div', {
235733
+ staticClass: "file-list"
235734
+ }, [_vm.currentList.length === 0 ? _c('div', {
235735
+ staticClass: "empty-tip"
235736
+ }, [_vm._v("文件夹为空")]) : _vm._e(), _vm._l(_vm.currentList, function (item) {
235737
+ return _c('div', {
235738
+ key: item.id,
235739
+ staticClass: "item",
235740
+ on: {
235741
+ "click": function click($event) {
235742
+ return _vm.handleItemClick(item);
235743
+ }
235744
+ }
235745
+ }, [item.fileType == 1 ? _c('span', {
235746
+ staticClass: "folder"
235747
+ }, [_c('span', {
235748
+ staticClass: "icon"
235749
+ }, [_c('svg-icon', {
235750
+ attrs: {
235751
+ "icon-class": "folder"
235752
+ }
235753
+ })], 1), _vm._v(" " + _vm._s(item.fileName) + " ")]) : _c('span', {
235754
+ staticClass: "file"
235755
+ }, [_c('span', {
235756
+ staticClass: "icon"
235757
+ }, [_c('img', {
235758
+ attrs: {
235759
+ "src": _vm.iconUrl(item.fileName)
235760
+ }
235761
+ })]), _vm._v(" " + _vm._s(item.fileName) + " ")]), _c('span', {
235762
+ staticStyle: {
235763
+ "color": "#999999"
235764
+ }
235765
+ }, [_vm._v(_vm._s(item.fileTime))])]);
235766
+ })], 2)]);
235767
+ };
235768
+ var FileTreevue_type_template_id_adf6684e_scoped_true_staticRenderFns = [];
235769
+
235770
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/common/components/ZipViewer/FileTree.vue?vue&type=script&lang=js
235771
+
235772
+ /* harmony default export */ var FileTreevue_type_script_lang_js = ({
235773
+ name: "FileTree",
235774
+ props: {
235775
+ treeData: {
235776
+ type: Array,
235777
+ default: function _default() {
235778
+ return [];
235779
+ }
235780
+ },
235781
+ rootName: {
235782
+ type: String,
235783
+ default: ''
235784
+ }
235785
+ },
235786
+ data: function data() {
235787
+ return {
235788
+ pathStack: [] // 存储路径对象数组
235789
+ };
235790
+ },
235791
+ computed: {
235792
+ // 动态计算当前显示内容
235793
+ currentList: function currentList() {
235794
+ if (this.pathStack.length === 0) return this.treeData;
235795
+ return this.pathStack[this.pathStack.length - 1].children || [];
235796
+ }
235797
+ },
235798
+ methods: {
235799
+ // 进入文件夹
235800
+ handleItemClick: function handleItemClick(item) {
235801
+ if (item.fileType == 1) {
235802
+ this.pathStack.push(item);
235803
+ } else {
235804
+ this.$emit('preview', item);
235805
+ }
235806
+ },
235807
+ jumpTo: function jumpTo(index) {
235808
+ this.pathStack = this.pathStack.slice(0, index + 1);
235809
+ },
235810
+ iconUrl: function iconUrl(fileName) {
235811
+ return (0,utils.attachIconUrl)({
235812
+ fileName: fileName
235813
+ });
235814
+ }
235815
+ }
235816
+ });
235817
+ ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/ZipViewer/FileTree.vue?vue&type=script&lang=js
235818
+ /* harmony default export */ var ZipViewer_FileTreevue_type_script_lang_js = (FileTreevue_type_script_lang_js);
235819
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-12.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/common/components/ZipViewer/FileTree.vue?vue&type=style&index=0&id=adf6684e&prod&scoped=true&lang=css
235820
+ var FileTreevue_type_style_index_0_id_adf6684e_prod_scoped_true_lang_css = __webpack_require__(3491);
235821
+ ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/ZipViewer/FileTree.vue?vue&type=style&index=0&id=adf6684e&prod&scoped=true&lang=css
235822
+
235823
+ ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/ZipViewer/FileTree.vue
235824
+
235825
+
235826
+
235827
+ ;
235828
+
235829
+
235830
+ /* normalize component */
235831
+
235832
+ var FileTree_component = normalizeComponent(
235833
+ ZipViewer_FileTreevue_type_script_lang_js,
235834
+ FileTreevue_type_template_id_adf6684e_scoped_true_render,
235835
+ FileTreevue_type_template_id_adf6684e_scoped_true_staticRenderFns,
235836
+ false,
235837
+ null,
235838
+ "adf6684e",
235839
+ null
235840
+
235841
+ )
235842
+
235843
+ /* harmony default export */ var FileTree = (FileTree_component.exports);
235844
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/common/components/ZipViewer/index.vue?vue&type=script&lang=js
235845
+ function ZipViewervue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return ZipViewervue_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; }, ZipViewervue_type_script_lang_js_typeof(o); }
235846
+ function ZipViewervue_type_script_lang_js_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
235847
+ function ZipViewervue_type_script_lang_js_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ZipViewervue_type_script_lang_js_ownKeys(Object(t), !0).forEach(function (r) { ZipViewervue_type_script_lang_js_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ZipViewervue_type_script_lang_js_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
235848
+ function ZipViewervue_type_script_lang_js_defineProperty(e, r, t) { return (r = ZipViewervue_type_script_lang_js_toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
235849
+ function ZipViewervue_type_script_lang_js_toPropertyKey(t) { var i = ZipViewervue_type_script_lang_js_toPrimitive(t, "string"); return "symbol" == ZipViewervue_type_script_lang_js_typeof(i) ? i : i + ""; }
235850
+ function ZipViewervue_type_script_lang_js_toPrimitive(t, r) { if ("object" != ZipViewervue_type_script_lang_js_typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != ZipViewervue_type_script_lang_js_typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
235851
+ function ZipViewervue_type_script_lang_js_regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ ZipViewervue_type_script_lang_js_regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == ZipViewervue_type_script_lang_js_typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(ZipViewervue_type_script_lang_js_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
235852
+ function ZipViewervue_type_script_lang_js_asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
235853
+ function ZipViewervue_type_script_lang_js_asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { ZipViewervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { ZipViewervue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
235854
+
235855
+ /* harmony default export */ var ZipViewervue_type_script_lang_js = ({
235856
+ components: {
235857
+ FileTree: FileTree
235858
+ },
235859
+ props: {
235860
+ show: {
235861
+ type: Boolean,
235862
+ default: function _default() {
235863
+ return false;
235864
+ }
235865
+ },
235866
+ productCode: {
235867
+ type: String,
235868
+ default: function _default() {
235869
+ return '';
235870
+ }
235871
+ },
235872
+ // 直接传入attach就不用传attachId和attachName
235873
+ attach: {
235874
+ type: Object,
235875
+ default: null
235876
+ },
235877
+ // attachId,attachName的优先级高于attach
235878
+ attachId: {
235879
+ type: String,
235880
+ default: function _default() {
235881
+ return '';
235882
+ }
235883
+ },
235884
+ attachName: {
235885
+ type: String,
235886
+ default: function _default() {
235887
+ return '';
235888
+ }
235889
+ },
235890
+ onPreview: {
235891
+ type: Function,
235892
+ default: null
235893
+ },
235894
+ toPdf: {
235895
+ type: Boolean,
235896
+ default: true
235897
+ }
235898
+ },
235899
+ computed: {
235900
+ isShow: {
235901
+ get: function get() {
235902
+ return this.show;
235903
+ },
235904
+ set: function set(val) {
235905
+ this.$emit('update:show', val);
235906
+ }
235907
+ }
235908
+ },
235909
+ watch: {
235910
+ show: function show(val) {
235911
+ if (val) {
235912
+ this.init();
235913
+ }
235914
+ }
235915
+ },
235916
+ data: function data() {
235917
+ return {
235918
+ treeData: [],
235919
+ rootName: '根目录',
235920
+ loading: false
235921
+ };
235922
+ },
235923
+ methods: {
235924
+ init: function init() {
235925
+ var _this = this;
235926
+ return ZipViewervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/ZipViewervue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
235927
+ var _this$getArg, attachId, attachName, _yield$_this$$http, body, code, message;
235928
+ return ZipViewervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
235929
+ while (1) switch (_context.prev = _context.next) {
235930
+ case 0:
235931
+ // 调用接口请求fileUrl获取文件
235932
+ _this.loading = true;
235933
+ _this$getArg = _this.getArg(), attachId = _this$getArg.attachId, attachName = _this$getArg.attachName;
235934
+ _this.rootName = attachName;
235935
+ _context.next = 5;
235936
+ return _this.$http({
235937
+ method: 'get',
235938
+ url: "".concat(_this.productCode, "/webForm/findZipFileFolder?fileId=").concat(attachId)
235939
+ });
235940
+ case 5:
235941
+ _yield$_this$$http = _context.sent;
235942
+ body = _yield$_this$$http.body;
235943
+ code = _yield$_this$$http.code;
235944
+ message = _yield$_this$$http.message;
235945
+ if (!(code != 'success')) {
235946
+ _context.next = 12;
235947
+ break;
235948
+ }
235949
+ _this.$message.error(message);
235950
+ return _context.abrupt("return");
235951
+ case 12:
235952
+ body.folders.forEach(function (item) {
235953
+ item.id = item.fileId;
235954
+ });
235955
+ _this.treeData = _this.arrayToTree(body.folders);
235956
+ _this.loading = false;
235957
+ case 15:
235958
+ case "end":
235959
+ return _context.stop();
235960
+ }
235961
+ }, _callee);
235962
+ }))();
235963
+ },
235964
+ arrayToTree: function arrayToTree(list) {
235965
+ var map = {};
235966
+ var tree = [];
235967
+ list.forEach(function (item) {
235968
+ map[item.id] = ZipViewervue_type_script_lang_js_objectSpread(ZipViewervue_type_script_lang_js_objectSpread({}, item), {}, {
235969
+ children: []
235970
+ });
235971
+ });
235972
+ list.forEach(function (item) {
235973
+ var node = map[item.id];
235974
+ if (item.parentId && map[item.parentId]) {
235975
+ map[item.parentId].children.push(node);
235976
+ } else {
235977
+ tree.push(node);
235978
+ }
235979
+ });
235980
+ return tree;
235981
+ },
235982
+ preview: function preview(file) {
235983
+ var _this2 = this;
235984
+ return ZipViewervue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/ZipViewervue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
235985
+ var _this2$getArg, attachId, fileName, extension, downloadUrl, canToPdf, isImg, toPdf;
235986
+ return ZipViewervue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
235987
+ while (1) switch (_context2.prev = _context2.next) {
235988
+ case 0:
235989
+ if (!_this2.onPreview) {
235990
+ _context2.next = 3;
235991
+ break;
235992
+ }
235993
+ _this2.onPreview(file);
235994
+ return _context2.abrupt("return");
235995
+ case 3:
235996
+ _this2$getArg = _this2.getArg(), attachId = _this2$getArg.attachId;
235997
+ fileName = file.fileName;
235998
+ extension = fileName.split('.').pop();
235999
+ downloadUrl = "/apigw/".concat(_this2.productCode, "/webForm/downloadZipInnerFile?fileId=").concat(attachId, "&fullPath=").concat(file.fullId, "&csrfToken=").concat(window.$auth.getCsrfToken());
236000
+ canToPdf = ['doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx', 'wps', 'ofd', 'tif', 'tiff'];
236001
+ isImg = ['jpg', 'png', 'jpeg'];
236002
+ toPdf = false;
236003
+ if (canToPdf.includes(extension) && _this2.toPdf) {
236004
+ downloadUrl += '&topdf=true';
236005
+ toPdf = true;
236006
+ }
236007
+ if (toPdf || extension == 'pdf' || extension == 'pdfx') {
236008
+ downloadUrl += "&fileName=".concat(encodeURI(fileName));
236009
+ window.open('/plugins/PDFjs/web/viewer.html?file=' + encodeURIComponent(downloadUrl));
236010
+ } else if (extension == 'ofd') {
236011
+ downloadUrl += "&fileName=".concat(encodeURI(fileName));
236012
+ window.open('./plugins/OfdJs/view.html?file=' + encodeURIComponent(downloadUrl));
236013
+ } else if (isImg.includes(extension) && window.openImgView) {
236014
+ sessionStorage.setItem('IMG_VIEW_LIST_' + attachId, JSON.stringify([{
236015
+ downLoadPath: downloadUrl,
236016
+ index: 0
236017
+ }]));
236018
+ sessionStorage.setItem('IMG_INDEX_' + attachId, 0);
236019
+ window.open("#/imgView?busiDataId=".concat(attachId));
236020
+ } else {
236021
+ window.open(downloadUrl);
236022
+ }
236023
+ case 12:
236024
+ case "end":
236025
+ return _context2.stop();
236026
+ }
236027
+ }, _callee2);
236028
+ }))();
236029
+ },
236030
+ getArg: function getArg() {
236031
+ var attachId = '',
236032
+ attachName = '';
236033
+ if (this.attach) {
236034
+ attachId = this.attach.id;
236035
+ if (typeof this.attach.fileName == 'string') {
236036
+ var name = this.attach.fileName.split('.');
236037
+ name.pop();
236038
+ attachName = name.join('.');
236039
+ }
236040
+ }
236041
+ if (this.attachId) {
236042
+ attachId = this.attachId;
236043
+ }
236044
+ if (this.attachName) {
236045
+ attachName = this.attachName;
236046
+ }
236047
+ return {
236048
+ attachId: attachId,
236049
+ attachName: attachName
236050
+ };
236051
+ }
236052
+ }
236053
+ });
236054
+ ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/ZipViewer/index.vue?vue&type=script&lang=js
236055
+ /* harmony default export */ var components_ZipViewervue_type_script_lang_js = (ZipViewervue_type_script_lang_js);
236056
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/common/components/ZipViewer/index.vue?vue&type=style&index=0&id=c4f48a48&prod&lang=scss&scoped=true
236057
+ var ZipViewervue_type_style_index_0_id_c4f48a48_prod_lang_scss_scoped_true = __webpack_require__(7111);
236058
+ ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/ZipViewer/index.vue?vue&type=style&index=0&id=c4f48a48&prod&lang=scss&scoped=true
236059
+
236060
+ ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/common/components/ZipViewer/index.vue
236061
+
236062
+
236063
+
236064
+ ;
236065
+
236066
+
236067
+ /* normalize component */
236068
+
236069
+ var ZipViewer_component = normalizeComponent(
236070
+ components_ZipViewervue_type_script_lang_js,
236071
+ ZipViewervue_type_template_id_c4f48a48_scoped_true_render,
236072
+ ZipViewervue_type_template_id_c4f48a48_scoped_true_staticRenderFns,
236073
+ false,
236074
+ null,
236075
+ "c4f48a48",
236076
+ null
236077
+
236078
+ )
236079
+
236080
+ /* harmony default export */ var ZipViewer = (ZipViewer_component.exports);
235573
236081
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/workflow/wfInstance/mainform/components/AddCalendar.vue?vue&type=template&id=6d0a5f30&scoped=true
235574
236082
  var AddCalendarvue_type_template_id_6d0a5f30_scoped_true_render = function render() {
235575
236083
  var _vm = this,
@@ -243716,8 +244224,8 @@ var WformLayoutSetting_component = normalizeComponent(
243716
244224
  )
243717
244225
 
243718
244226
  /* harmony default export */ var WformLayoutSetting = (WformLayoutSetting_component.exports);
243719
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=template&id=b1877438&scoped=true
243720
- var newBusiFormvue_type_template_id_b1877438_scoped_true_render = function render() {
244227
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=template&id=155cf786&scoped=true
244228
+ var newBusiFormvue_type_template_id_155cf786_scoped_true_render = function render() {
243721
244229
  var _vm = this,
243722
244230
  _c = _vm._self._c;
243723
244231
  return _c('div', {
@@ -243873,7 +244381,7 @@ var newBusiFormvue_type_template_id_b1877438_scoped_true_render = function rende
243873
244381
  name: "show",
243874
244382
  rawName: "v-show",
243875
244383
  value: _vm.canEdit === 0 && _vm.isEdit == 1,
243876
- expression: "canEdit === 0&&isEdit==1"
244384
+ expression: "canEdit === 0 && isEdit == 1"
243877
244385
  }, {
243878
244386
  name: "pageBtn-lbl",
243879
244387
  rawName: "v-pageBtn-lbl",
@@ -244036,7 +244544,7 @@ var newBusiFormvue_type_template_id_b1877438_scoped_true_render = function rende
244036
244544
  }
244037
244545
  })], 1)]) : _vm._e()]) : _vm._e(), _c('select-dialog')], 1);
244038
244546
  };
244039
- var newBusiFormvue_type_template_id_b1877438_scoped_true_staticRenderFns = [];
244547
+ var newBusiFormvue_type_template_id_155cf786_scoped_true_staticRenderFns = [];
244040
244548
 
244041
244549
  // EXTERNAL MODULE: ./src/wapp/settings.js
244042
244550
  var settings = __webpack_require__(7710);
@@ -244549,9 +245057,9 @@ var settings = __webpack_require__(7710);
244549
245057
  });
244550
245058
  ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=script&lang=js
244551
245059
  /* harmony default export */ var BasicformOpenPage_newBusiFormvue_type_script_lang_js = (newBusiFormvue_type_script_lang_js);
244552
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=b1877438&prod&scoped=true&lang=scss
244553
- var newBusiFormvue_type_style_index_0_id_b1877438_prod_scoped_true_lang_scss = __webpack_require__(5471);
244554
- ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=b1877438&prod&scoped=true&lang=scss
245060
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=155cf786&prod&scoped=true&lang=scss
245061
+ var newBusiFormvue_type_style_index_0_id_155cf786_prod_scoped_true_lang_scss = __webpack_require__(8288);
245062
+ ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue?vue&type=style&index=0&id=155cf786&prod&scoped=true&lang=scss
244555
245063
 
244556
245064
  ;// CONCATENATED MODULE: ./packages/ecyoa/yoabase/src/BasicformOpenPage/newBusiForm.vue
244557
245065
 
@@ -244564,11 +245072,11 @@ var newBusiFormvue_type_style_index_0_id_b1877438_prod_scoped_true_lang_scss = _
244564
245072
 
244565
245073
  var newBusiForm_component = normalizeComponent(
244566
245074
  BasicformOpenPage_newBusiFormvue_type_script_lang_js,
244567
- newBusiFormvue_type_template_id_b1877438_scoped_true_render,
244568
- newBusiFormvue_type_template_id_b1877438_scoped_true_staticRenderFns,
245075
+ newBusiFormvue_type_template_id_155cf786_scoped_true_render,
245076
+ newBusiFormvue_type_template_id_155cf786_scoped_true_staticRenderFns,
244569
245077
  false,
244570
245078
  null,
244571
- "b1877438",
245079
+ "155cf786",
244572
245080
  null
244573
245081
 
244574
245082
  )
@@ -245013,6 +245521,7 @@ var PSAreaUser = platStatistics_exportor.PSAreaUser,
245013
245521
 
245014
245522
  // common
245015
245523
 
245524
+
245016
245525
  var CCApply = common_exportor.CCApply,
245017
245526
  CCAreaSelect = common_exportor.CCAreaSelect,
245018
245527
  CCToolAPI = common_exportor.CCToolAPI,
@@ -245261,7 +245770,8 @@ var yoabase_components = {
245261
245770
  wfhandovernote: handovernote,
245262
245771
  BasicformOpenPage: newBusiForm,
245263
245772
  importProductConfig: importFile,
245264
- WformLayoutSetting: WformLayoutSetting
245773
+ WformLayoutSetting: WformLayoutSetting,
245774
+ ZipViewer: ZipViewer
245265
245775
  };
245266
245776
  // 定义 install 方法
245267
245777
  var yoabase_install = function install(Vue) {