ecinc-cloud-yoawjzx 9.7.2 → 9.7.4

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.
@@ -107,7 +107,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".el-image-viewer__actions .el-image-vi
107
107
 
108
108
  /***/ }),
109
109
 
110
- /***/ 7501:
110
+ /***/ 3006:
111
111
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
112
112
 
113
113
  "use strict";
@@ -121,7 +121,7 @@ __webpack_require__.r(__webpack_exports__);
121
121
 
122
122
  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()));
123
123
  // Module
124
- ___CSS_LOADER_EXPORT___.push([module.id, ".capacityUsedContent[data-v-24075629] .el-progress__text{width:50px}.capacityUsedContent[data-v-24075629] .el-progress-bar{width:80%;padding-right:50}", ""]);
124
+ ___CSS_LOADER_EXPORT___.push([module.id, ".capacityUsedContent[data-v-824466b2] .el-progress__text{width:50px}.capacityUsedContent[data-v-824466b2] .el-progress-bar{width:80%;padding-right:50}", ""]);
125
125
  // Exports
126
126
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
127
127
 
@@ -254,7 +254,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-c7ad17d2] .el-table__empty-tex
254
254
 
255
255
  /***/ }),
256
256
 
257
- /***/ 89:
257
+ /***/ 3203:
258
258
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
259
259
 
260
260
  "use strict";
@@ -268,7 +268,7 @@ __webpack_require__.r(__webpack_exports__);
268
268
 
269
269
  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()));
270
270
  // Module
271
- ___CSS_LOADER_EXPORT___.push([module.id, ".item.item1[data-v-6729b3ae]{cursor:pointer}.block[data-v-6729b3ae]{height:100%}.block .content[data-v-6729b3ae]{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.block .content[data-v-6729b3ae],.block .content .item[data-v-6729b3ae]{display:-webkit-box;display:-ms-flexbox;display:flex}.block .content .item[data-v-6729b3ae]{height:80px;-webkit-box-flex:0;-ms-flex:0 0 33%;flex:0 0 33%;border-bottom:1px solid #ebeef5;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.block .content .item .one_item_left[data-v-6729b3ae]{margin-right:10px;line-height:85px;text-align:right}.block .content .item .one_item_right[data-v-6729b3ae]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center;margin-top:20px}.block .content .item .one_item_right .top[data-v-6729b3ae]{font-size:18px;color:#333}.block .content .item .one_item_right .bottom[data-v-6729b3ae]{margin-top:3px;font-size:var(--portalFontSize12);color:#999}.block .content .item1[data-v-6729b3ae],.block .content .item3[data-v-6729b3ae]{border-right:1px solid #ebeef5}.block .progress[data-v-6729b3ae]{margin:0 20px}.block .progress[data-v-6729b3ae] .el-progress-bar{padding:0}.block .progress div[data-v-6729b3ae]{font-size:var(--portalFontSize12);color:#999;margin-top:20px}.block .progress .btn[data-v-6729b3ae]{background:var(--subjectColor);margin-top:20px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:4px}[data-v-6729b3ae] .el-upload.el-upload--text{width:100%!important}[data-v-6729b3ae] .el-progress{margin:20px auto}", ""]);
271
+ ___CSS_LOADER_EXPORT___.push([module.id, ".item.item1[data-v-197c69b2]{cursor:pointer}.block[data-v-197c69b2]{height:100%}.block .content[data-v-197c69b2]{-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.block .content[data-v-197c69b2],.block .content .item[data-v-197c69b2]{display:-webkit-box;display:-ms-flexbox;display:flex}.block .content .item[data-v-197c69b2]{height:80px;-webkit-box-flex:0;-ms-flex:0 0 33%;flex:0 0 33%;border-bottom:1px solid #ebeef5;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.block .content .item .one_item_left[data-v-197c69b2]{margin-right:10px;line-height:85px;text-align:right}.block .content .item .one_item_right[data-v-197c69b2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;text-align:center;margin-top:20px}.block .content .item .one_item_right .top[data-v-197c69b2]{font-size:18px;color:#333}.block .content .item .one_item_right .bottom[data-v-197c69b2]{margin-top:3px;font-size:var(--portalFontSize12);color:#999}.block .content .item1[data-v-197c69b2],.block .content .item3[data-v-197c69b2]{border-right:1px solid #ebeef5}.block .progress[data-v-197c69b2]{margin:0 20px}.block .progress[data-v-197c69b2] .el-progress-bar{padding:0}.block .progress div[data-v-197c69b2]{font-size:var(--portalFontSize12);color:#999;margin-top:20px}.block .progress .btn[data-v-197c69b2]{background:var(--subjectColor);margin-top:20px;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:4px}[data-v-197c69b2] .el-upload.el-upload--text{width:100%!important}[data-v-197c69b2] .el-progress{margin:20px auto}", ""]);
272
272
  // Exports
273
273
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
274
274
 
@@ -422,7 +422,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".el-table__body.el-table__body-no[data
422
422
 
423
423
  /***/ }),
424
424
 
425
- /***/ 5654:
425
+ /***/ 9299:
426
426
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
427
427
 
428
428
  "use strict";
@@ -436,7 +436,7 @@ __webpack_require__.r(__webpack_exports__);
436
436
 
437
437
  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()));
438
438
  // Module
439
- ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-175a428e]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.el-col-14[data-v-175a428e]{z-index:-1}[data-v-175a428e] .el-upload--text{width:100%}.svg_stile[data-v-175a428e]{width:13px;height:13px;position:relative;top:2px;margin:0 5px 0 0}.buttonTitle[data-v-175a428e]{display:-webkit-box;display:-ms-flexbox;display:flex;height:32px}.app-breadcrumb.el-breadcrumb[data-v-175a428e]{display:inline-block;font-size:var(--portalFontSize14);line-height:40px}.app-breadcrumb.el-breadcrumb .no-redirect[data-v-175a428e]{color:#909399;cursor:text}.app-breadcrumb.el-breadcrumb[data-v-175a428e] .el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}[data-v-175a428e] .el-table-toolbar .el-row{line-height:30px}[data-v-175a428e] .el-progress{margin:20px auto}", ""]);
439
+ ___CSS_LOADER_EXPORT___.push([module.id, "[data-v-2205a8a3]:export{stdMenuBgcolor:var(--lmBgColor);stdMenuHover:var(--lmBgColorActive)!important;stdMenuText:var(--lmTextColor)!important;stdMenuAcitveText:var(--lmTextColorActive)!important;stdSubMenuBgcolor:var(--lmBgColor);stdSubMenuHover:hsla(193,8%,67%,.42);stdSubMenuActiveText:var(--lmTextColorActive)!important;darkMenuBgcolor:#304156;darkMenuHover:#263445;darkMenuText:#bfcbd9;darkMenuAcitveText:#ffd04b;darkSubMenuBgcolor:#384b63;darkSubMenuHover:#263445;darkSubMenuActiveText:#ffd04b;sideBarWidth:210px;formLabelWidth:133px;lightBlue:var(--subjectColor)}.el-col-14[data-v-2205a8a3]{z-index:-1}[data-v-2205a8a3] .el-upload--text{width:100%}.tdw17[data-v-2205a8a3]{width:20%!important}.svg_stile[data-v-2205a8a3]{width:13px;height:13px;position:relative;top:2px;margin:0 5px 0 0}.buttonTitle[data-v-2205a8a3]{display:-webkit-box;display:-ms-flexbox;display:flex;height:32px}.app-breadcrumb.el-breadcrumb[data-v-2205a8a3]{display:inline-block;font-size:var(--portalFontSize14);line-height:40px}.app-breadcrumb.el-breadcrumb .no-redirect[data-v-2205a8a3]{color:#909399;cursor:text}.app-breadcrumb.el-breadcrumb[data-v-2205a8a3] .el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}[data-v-2205a8a3] .el-table-toolbar .el-row{line-height:30px}[data-v-2205a8a3] .el-progress{margin:20px auto}", ""]);
440
440
  // Exports
441
441
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
442
442
 
@@ -527,7 +527,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".rowbg[data-v-40b93a43]{height:35px;-w
527
527
 
528
528
  /***/ }),
529
529
 
530
- /***/ 3147:
530
+ /***/ 5528:
531
531
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
532
532
 
533
533
  "use strict";
@@ -22144,19 +22144,19 @@ var update = add("6561a57b", content, true, {"sourceMap":false,"shadowMode":fals
22144
22144
 
22145
22145
  /***/ }),
22146
22146
 
22147
- /***/ 7503:
22147
+ /***/ 3716:
22148
22148
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22149
22149
 
22150
22150
  // style-loader: Adds some css to the DOM by adding a <style> tag
22151
22151
 
22152
22152
  // load the styles
22153
- var content = __webpack_require__(7501);
22153
+ var content = __webpack_require__(3006);
22154
22154
  if(content.__esModule) content = content.default;
22155
22155
  if(typeof content === 'string') content = [[module.id, content, '']];
22156
22156
  if(content.locals) module.exports = content.locals;
22157
22157
  // add the styles to the DOM
22158
22158
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
22159
- var update = add("85f04ca2", content, true, {"sourceMap":false,"shadowMode":false});
22159
+ var update = add("7d3787b6", content, true, {"sourceMap":false,"shadowMode":false});
22160
22160
 
22161
22161
  /***/ }),
22162
22162
 
@@ -22256,19 +22256,19 @@ var update = add("583b8219", content, true, {"sourceMap":false,"shadowMode":fals
22256
22256
 
22257
22257
  /***/ }),
22258
22258
 
22259
- /***/ 5515:
22259
+ /***/ 4189:
22260
22260
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22261
22261
 
22262
22262
  // style-loader: Adds some css to the DOM by adding a <style> tag
22263
22263
 
22264
22264
  // load the styles
22265
- var content = __webpack_require__(89);
22265
+ var content = __webpack_require__(3203);
22266
22266
  if(content.__esModule) content = content.default;
22267
22267
  if(typeof content === 'string') content = [[module.id, content, '']];
22268
22268
  if(content.locals) module.exports = content.locals;
22269
22269
  // add the styles to the DOM
22270
22270
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
22271
- var update = add("61eb5166", content, true, {"sourceMap":false,"shadowMode":false});
22271
+ var update = add("7a445157", content, true, {"sourceMap":false,"shadowMode":false});
22272
22272
 
22273
22273
  /***/ }),
22274
22274
 
@@ -22384,19 +22384,19 @@ var update = add("3c9d3609", content, true, {"sourceMap":false,"shadowMode":fals
22384
22384
 
22385
22385
  /***/ }),
22386
22386
 
22387
- /***/ 5528:
22387
+ /***/ 3609:
22388
22388
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
22389
22389
 
22390
22390
  // style-loader: Adds some css to the DOM by adding a <style> tag
22391
22391
 
22392
22392
  // load the styles
22393
- var content = __webpack_require__(5654);
22393
+ var content = __webpack_require__(9299);
22394
22394
  if(content.__esModule) content = content.default;
22395
22395
  if(typeof content === 'string') content = [[module.id, content, '']];
22396
22396
  if(content.locals) module.exports = content.locals;
22397
22397
  // add the styles to the DOM
22398
22398
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
22399
- var update = add("19cabb1b", content, true, {"sourceMap":false,"shadowMode":false});
22399
+ var update = add("504780a8", content, true, {"sourceMap":false,"shadowMode":false});
22400
22400
 
22401
22401
  /***/ }),
22402
22402
 
@@ -22470,7 +22470,7 @@ var update = add("30a8533c", content, true, {"sourceMap":false,"shadowMode":fals
22470
22470
  // style-loader: Adds some css to the DOM by adding a <style> tag
22471
22471
 
22472
22472
  // load the styles
22473
- var content = __webpack_require__(3147);
22473
+ var content = __webpack_require__(5528);
22474
22474
  if(content.__esModule) content = content.default;
22475
22475
  if(typeof content === 'string') content = [[module.id, content, '']];
22476
22476
  if(content.locals) module.exports = content.locals;
@@ -22896,7 +22896,7 @@ if (typeof window !== 'undefined') {
22896
22896
  // Indicate to webpack that this file can be concatenated
22897
22897
  /* harmony default export */ var setPublicPath = (null);
22898
22898
 
22899
- ;// 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/wjzx/src/ccsz/capacityUsed.vue?vue&type=template&id=24075629&scoped=true
22899
+ ;// 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/wjzx/src/ccsz/capacityUsed.vue?vue&type=template&id=824466b2&scoped=true
22900
22900
  var render = function render() {
22901
22901
  var _vm = this,
22902
22902
  _c = _vm._self._c;
@@ -22929,18 +22929,24 @@ var staticRenderFns = [];
22929
22929
  }
22930
22930
  },
22931
22931
  data: function data() {
22932
- return {
22933
- percentage: 0
22934
- };
22932
+ return {};
22933
+ },
22934
+ computed: {
22935
+ // 已用存储容量百分比(保留两位小数):渲染前计算,避免 color 回调里赋值导致进度条恒为 0
22936
+ percentage: function percentage() {
22937
+ if (!this.row || !this.row.storageTotal) {
22938
+ return 0;
22939
+ }
22940
+ // 计算百分比并保留两位小数,parseFloat 保证返回数字类型供 el-progress 使用
22941
+ return parseFloat((100 * this.row.size / this.row.storageTotal).toFixed(2));
22942
+ }
22935
22943
  },
22936
- computed: {},
22937
22944
  watch: {},
22938
22945
  created: function created() {},
22939
22946
  beforeDestroy: function beforeDestroy() {},
22940
22947
  mounted: function mounted() {},
22941
22948
  methods: {
22942
22949
  customColorMethod: function customColorMethod(percentage) {
22943
- this.percentage = parseInt(100 * this.row.size / this.row.storageTotal);
22944
22950
  if (percentage < 80) {
22945
22951
  return '#66cc00';
22946
22952
  } else {
@@ -22958,9 +22964,9 @@ var staticRenderFns = [];
22958
22964
  });
22959
22965
  ;// CONCATENATED MODULE: ./packages/ecyoa/wjzx/src/ccsz/capacityUsed.vue?vue&type=script&lang=js
22960
22966
  /* harmony default export */ var ccsz_capacityUsedvue_type_script_lang_js = (capacityUsedvue_type_script_lang_js);
22961
- // 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/wjzx/src/ccsz/capacityUsed.vue?vue&type=style&index=0&id=24075629&prod&scoped=true&lang=scss
22962
- var capacityUsedvue_type_style_index_0_id_24075629_prod_scoped_true_lang_scss = __webpack_require__(7503);
22963
- ;// CONCATENATED MODULE: ./packages/ecyoa/wjzx/src/ccsz/capacityUsed.vue?vue&type=style&index=0&id=24075629&prod&scoped=true&lang=scss
22967
+ // 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/wjzx/src/ccsz/capacityUsed.vue?vue&type=style&index=0&id=824466b2&prod&scoped=true&lang=scss
22968
+ var capacityUsedvue_type_style_index_0_id_824466b2_prod_scoped_true_lang_scss = __webpack_require__(3716);
22969
+ ;// CONCATENATED MODULE: ./packages/ecyoa/wjzx/src/ccsz/capacityUsed.vue?vue&type=style&index=0&id=824466b2&prod&scoped=true&lang=scss
22964
22970
 
22965
22971
  ;// CONCATENATED MODULE: ./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js
22966
22972
  /* globals __VUE_SSR_CONTEXT__ */
@@ -23075,7 +23081,7 @@ var component = normalizeComponent(
23075
23081
  staticRenderFns,
23076
23082
  false,
23077
23083
  null,
23078
- "24075629",
23084
+ "824466b2",
23079
23085
  null
23080
23086
 
23081
23087
  )
@@ -25245,8 +25251,8 @@ var FileList_component = normalizeComponent(
25245
25251
  )
25246
25252
 
25247
25253
  /* harmony default export */ var FileList = (FileList_component.exports);
25248
- ;// 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/wjzx/src/index/components/MyFilesInfo.vue?vue&type=template&id=6729b3ae&scoped=true
25249
- var MyFilesInfovue_type_template_id_6729b3ae_scoped_true_render = function render() {
25254
+ ;// 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/wjzx/src/index/components/MyFilesInfo.vue?vue&type=template&id=197c69b2&scoped=true
25255
+ var MyFilesInfovue_type_template_id_197c69b2_scoped_true_render = function render() {
25250
25256
  var _vm = this,
25251
25257
  _c = _vm._self._c;
25252
25258
  return _c('div', {
@@ -25557,7 +25563,14 @@ var MyFilesInfovue_type_template_id_6729b3ae_scoped_true_render = function rende
25557
25563
  })], 1)], 1)], 1)];
25558
25564
  }
25559
25565
  }], null, false, 3358109136)
25560
- })], 1)])])])])])]), _c('span', {
25566
+ })], 1)]), _vm.maxFileSize ? _c('tr', [_c('td', {
25567
+ staticClass: "el-table__cell tdlbl tdw17"
25568
+ }, [_vm._v("备注")]), _c('td', {
25569
+ staticClass: "el-table__cell tdcont tdw83",
25570
+ staticStyle: {
25571
+ "text-align": "left"
25572
+ }
25573
+ }, [_vm._v("说明:上传文件大小不能超过" + _vm._s(_vm.maxFileSize) + "M")])]) : _vm._e()])])])])]), _c('span', {
25561
25574
  staticClass: "dialog-footer",
25562
25575
  attrs: {
25563
25576
  "slot": "footer"
@@ -25607,7 +25620,7 @@ var MyFilesInfovue_type_template_id_6729b3ae_scoped_true_render = function rende
25607
25620
  }
25608
25621
  })], 1) : _vm._e()], 1);
25609
25622
  };
25610
- var MyFilesInfovue_type_template_id_6729b3ae_scoped_true_staticRenderFns = [];
25623
+ var MyFilesInfovue_type_template_id_197c69b2_scoped_true_staticRenderFns = [];
25611
25624
 
25612
25625
  ;// CONCATENATED MODULE: ./node_modules/vuex/dist/vuex.esm.js
25613
25626
  /*!
@@ -26830,7 +26843,9 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
26830
26843
  treeData: [],
26831
26844
  used: '',
26832
26845
  // 已用容量
26833
- total: '' // 总容量
26846
+ total: '',
26847
+ // 总容量
26848
+ maxFileSize: '' // 上传文件大小限制(M)
26834
26849
  };
26835
26850
  },
26836
26851
  computed: MyFilesInfovue_type_script_lang_js_objectSpread({}, mapGetters(['routes'])),
@@ -26852,10 +26867,36 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
26852
26867
  this.listDataNum();
26853
26868
  this.usedStorage();
26854
26869
  this.queryData();
26870
+ this.getMaxFileSize();
26855
26871
  },
26856
26872
  beforeDestroy: function beforeDestroy() {},
26857
26873
  mounted: function mounted() {},
26858
26874
  methods: {
26875
+ // 获取上传文件大小限制参数(M)
26876
+ getMaxFileSize: function getMaxFileSize() {
26877
+ var _this2 = this;
26878
+ var data = [{
26879
+ compare: '=',
26880
+ field: 'orgCode',
26881
+ merge: true,
26882
+ value: this.loginUser.orgCode
26883
+ }, {
26884
+ compare: '=',
26885
+ field: 'paramName',
26886
+ merge: true,
26887
+ value: 'fileCenter.upload.maxFileSize'
26888
+ }];
26889
+ this.$http({
26890
+ method: 'POST',
26891
+ contentType: 'application/x-www-form-urlencoded',
26892
+ data: data,
26893
+ url: 'base/paramConfig/querydata'
26894
+ }).then(function (res) {
26895
+ if (res.code === 'success' && res.body.listdata.length > 0) {
26896
+ _this2.maxFileSize = res.body.listdata[0].paramValue;
26897
+ }
26898
+ });
26899
+ },
26859
26900
  gotoUrl: function gotoUrl(val) {
26860
26901
  var toPath = this.getMenuCode('wjzx_wjgl');
26861
26902
  if (toPath && toPath.path) {
@@ -26911,14 +26952,14 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
26911
26952
  }
26912
26953
  },
26913
26954
  selectUploadId: function selectUploadId(value) {
26914
- var _this2 = this;
26955
+ var _this3 = this;
26915
26956
  this.uploadVo.folderId = value[value.length - 1];
26916
26957
  this.uploadVo.busiDataId = value[value.length - 1];
26917
26958
  this.treeDataList.forEach(function (item) {
26918
- if (item.id === _this2.uploadVo.folderId) {
26959
+ if (item.id === _this3.uploadVo.folderId) {
26919
26960
  // this.uploadVo.fullName = item.folderName
26920
- _this2.uploadVo.deptId = item.deptId;
26921
- _this2.uploadVo.deptName = item.deptName;
26961
+ _this3.uploadVo.deptId = item.deptId;
26962
+ _this3.uploadVo.deptName = item.deptName;
26922
26963
  }
26923
26964
  });
26924
26965
  if (this.uploadVo.folderId === '1') {
@@ -26928,66 +26969,66 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
26928
26969
  },
26929
26970
  // 统计数据
26930
26971
  listDataNum: function listDataNum() {
26931
- var _this3 = this;
26972
+ var _this4 = this;
26932
26973
  return MyFilesInfovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/MyFilesInfovue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
26933
26974
  var list;
26934
26975
  return MyFilesInfovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
26935
26976
  while (1) switch (_context.prev = _context.next) {
26936
26977
  case 0:
26937
- if (!(_this3.appletData.interfaceStatus === 0 || window.openInterface)) {
26978
+ if (!(_this4.appletData.interfaceStatus === 0 || window.openInterface)) {
26938
26979
  _context.next = 12;
26939
26980
  break;
26940
26981
  }
26941
26982
  _context.next = 3;
26942
- return _this3.$getDefaultData(_this3, _this3.appletData.id);
26983
+ return _this4.$getDefaultData(_this4, _this4.appletData.id);
26943
26984
  case 3:
26944
26985
  list = _context.sent;
26945
- if (!(_this3.appletData.name === '我的文件')) {
26986
+ if (!(_this4.appletData.name === '我的文件')) {
26946
26987
  _context.next = 12;
26947
26988
  break;
26948
26989
  }
26949
- _this3.totalCount = list.totalCount;
26950
- _this3.docCount = list.docCount;
26951
- _this3.picCount = list.picCount;
26952
- _this3.videoCount = list.videoCount;
26953
- _this3.zipCount = list.zipCount;
26954
- _this3.otherCount = list.otherCount;
26990
+ _this4.totalCount = list.totalCount;
26991
+ _this4.docCount = list.docCount;
26992
+ _this4.picCount = list.picCount;
26993
+ _this4.videoCount = list.videoCount;
26994
+ _this4.zipCount = list.zipCount;
26995
+ _this4.otherCount = list.otherCount;
26955
26996
  return _context.abrupt("return");
26956
26997
  case 12:
26957
- _this3.$http({
26998
+ _this4.$http({
26958
26999
  method: 'get',
26959
27000
  url: '/disk/file/queryAllFileTypeNum'
26960
27001
  }).then(function (res) {
26961
27002
  if (res.code === 'success') {
26962
27003
  if (res.body.number.totalCount >= 99) {
26963
- _this3.totalCount = '99+';
27004
+ _this4.totalCount = '99+';
26964
27005
  } else {
26965
- _this3.totalCount = res.body.number.totalCount;
27006
+ _this4.totalCount = res.body.number.totalCount;
26966
27007
  }
26967
27008
  if (res.body.number.docCount >= 99) {
26968
- _this3.docCount = '99+';
27009
+ _this4.docCount = '99+';
26969
27010
  } else {
26970
- _this3.docCount = res.body.number.docCount;
27011
+ _this4.docCount = res.body.number.docCount;
26971
27012
  }
26972
27013
  if (res.body.number.picCount >= 99) {
26973
- _this3.picCount = '99+';
27014
+ _this4.picCount = '99+';
26974
27015
  } else {
26975
- _this3.picCount = res.body.number.picCount;
27016
+ _this4.picCount = res.body.number.picCount;
26976
27017
  }
26977
27018
  if (res.body.number.videoCount >= 99) {
26978
- _this3.videoCount = '99+';
27019
+ _this4.videoCount = '99+';
26979
27020
  } else {
26980
- _this3.videoCount = res.body.number.videoCount;
27021
+ _this4.videoCount = res.body.number.videoCount;
26981
27022
  }
26982
27023
  if (res.body.number.zipCount >= 99) {
26983
- _this3.zipCount = '99+';
27024
+ _this4.zipCount = '99+';
26984
27025
  } else {
26985
- _this3.zipCount = res.body.number.zipCount;
27026
+ _this4.zipCount = res.body.number.zipCount;
26986
27027
  }
26987
27028
  if (res.body.number.otherCount >= 99) {
26988
- _this3.otherCount = '99+';
27029
+ _this4.otherCount = '99+';
26989
27030
  } else {
26990
- _this3.otherCount = res.body.number.otherCount;
27031
+ _this4.otherCount = res.body.number.otherCount;
26991
27032
  }
26992
27033
  }
26993
27034
  });
@@ -27010,52 +27051,52 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
27010
27051
  return '';
27011
27052
  },
27012
27053
  getAccountId: function getAccountId() {
27013
- var _this4 = this;
27054
+ var _this5 = this;
27014
27055
  return new Promise(function (resolve) {
27015
27056
  var accountId = '';
27016
- _this4.$http({
27057
+ _this5.$http({
27017
27058
  method: 'get',
27018
27059
  url: '/disk/account/getByPersonId',
27019
27060
  params: {
27020
- personId: _this4.loginUser.personId
27061
+ personId: _this5.loginUser.personId
27021
27062
  }
27022
27063
  }).then(function (res) {
27023
27064
  if (res.code === 'success') {
27024
27065
  accountId = res.body.accountId;
27025
27066
  resolve(accountId);
27026
27067
  } else {
27027
- _this4.$message.error(res.message);
27068
+ _this5.$message.error(res.message);
27028
27069
  }
27029
27070
  });
27030
27071
  });
27031
27072
  },
27032
27073
  usedStorage: function usedStorage() {
27033
- var _this5 = this;
27074
+ var _this6 = this;
27034
27075
  return MyFilesInfovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/MyFilesInfovue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
27035
27076
  var list, _this;
27036
27077
  return MyFilesInfovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
27037
27078
  while (1) switch (_context2.prev = _context2.next) {
27038
27079
  case 0:
27039
- if (!(_this5.appletData.interfaceStatus === 0 || window.openInterface)) {
27080
+ if (!(_this6.appletData.interfaceStatus === 0 || window.openInterface)) {
27040
27081
  _context2.next = 9;
27041
27082
  break;
27042
27083
  }
27043
27084
  _context2.next = 3;
27044
- return _this5.$getDefaultData(_this5, _this5.appletData.id);
27085
+ return _this6.$getDefaultData(_this6, _this6.appletData.id);
27045
27086
  case 3:
27046
27087
  list = _context2.sent;
27047
- if (!(_this5.appletData.name === '我的文件')) {
27088
+ if (!(_this6.appletData.name === '我的文件')) {
27048
27089
  _context2.next = 9;
27049
27090
  break;
27050
27091
  }
27051
- _this5.used = list.used;
27052
- _this5.total = list.total;
27053
- _this5.percentage = list.percentage;
27092
+ _this6.used = list.used;
27093
+ _this6.total = list.total;
27094
+ _this6.percentage = list.percentage;
27054
27095
  return _context2.abrupt("return");
27055
27096
  case 9:
27056
- _this = _this5;
27057
- _this5.getAccountId().then(function (accountId) {
27058
- _this5.$http({
27097
+ _this = _this6;
27098
+ _this6.getAccountId().then(function (accountId) {
27099
+ _this6.$http({
27059
27100
  method: 'get',
27060
27101
  url: '/disk/account/getById',
27061
27102
  params: {
@@ -27078,9 +27119,9 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
27078
27119
  },
27079
27120
  unitConver: function unitConver(size) {
27080
27121
  if (size > 1023) {
27081
- return size ? (size / 1024).toFixed(2) : 0 + 'G';
27122
+ return (size / 1024).toFixed(2) + 'G';
27082
27123
  } else if (size > -1 && size < 1024) {
27083
- return size || 0 + 'MB';
27124
+ return size + 'MB';
27084
27125
  }
27085
27126
  },
27086
27127
  // 选择文件夹回调
@@ -27102,7 +27143,7 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
27102
27143
  this.dialogFormVisibleFolder = true;
27103
27144
  },
27104
27145
  queryData: function queryData() {
27105
- var _this6 = this;
27146
+ var _this7 = this;
27106
27147
  // 加载类型节点数据
27107
27148
  this.$http({
27108
27149
  method: 'POST',
@@ -27124,14 +27165,14 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
27124
27165
  node.parentId = '1';
27125
27166
  }
27126
27167
  });
27127
- _this6.root.zjfile[0].id = '1';
27128
- _this6.root.zjfile[0].pId = '0';
27129
- _this6.root.zjfile[0].value = '1';
27130
- _this6.root.zjfile[0].parentId = '0';
27131
- _this6.treeData = _this6.treeDataAdapter(_this6.root.zjfile.concat(res.body.diskFolders));
27132
- _this6.treeDataList = _this6.root.zjfile.concat(res.body.diskFolders);
27168
+ _this7.root.zjfile[0].id = '1';
27169
+ _this7.root.zjfile[0].pId = '0';
27170
+ _this7.root.zjfile[0].value = '1';
27171
+ _this7.root.zjfile[0].parentId = '0';
27172
+ _this7.treeData = _this7.treeDataAdapter(_this7.root.zjfile.concat(res.body.diskFolders));
27173
+ _this7.treeDataList = _this7.root.zjfile.concat(res.body.diskFolders);
27133
27174
  } else {
27134
- _this6.$alert(res.message, '操作提示', {
27175
+ _this7.$alert(res.message, '操作提示', {
27135
27176
  type: 'error'
27136
27177
  });
27137
27178
  }
@@ -27152,11 +27193,11 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
27152
27193
  return tree;
27153
27194
  },
27154
27195
  buildTree: function buildTree(data, parentId) {
27155
- var _this7 = this;
27196
+ var _this8 = this;
27156
27197
  var tree = [];
27157
27198
  data.forEach(function (node) {
27158
27199
  if (node.pId === parentId) {
27159
- var children = _this7.buildTree(data, node.value);
27200
+ var children = _this8.buildTree(data, node.value);
27160
27201
  if (children.length > 0) {
27161
27202
  node.children = children;
27162
27203
  }
@@ -27167,8 +27208,21 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
27167
27208
  },
27168
27209
  // 文件上传成功回调
27169
27210
  handleUploadChange: function handleUploadChange(file, fileList) {
27211
+ var validList = fileList;
27212
+ if (this.maxFileSize) {
27213
+ var limit = Number(this.maxFileSize) * 1024 * 1024;
27214
+ var overFiles = fileList.filter(function (res) {
27215
+ return res.raw && res.raw.size > limit;
27216
+ });
27217
+ if (overFiles.length > 0) {
27218
+ validList = fileList.filter(function (res) {
27219
+ return overFiles.indexOf(res) === -1;
27220
+ });
27221
+ this.$message.error('文件' + overFiles[0].name + '超过上传大小限制' + this.maxFileSize + 'M,禁止上传');
27222
+ }
27223
+ }
27170
27224
  var name = '';
27171
- fileList.forEach(function (res) {
27225
+ validList.forEach(function (res) {
27172
27226
  if (name) {
27173
27227
  name += ',' + res.name;
27174
27228
  } else {
@@ -27176,39 +27230,53 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
27176
27230
  }
27177
27231
  });
27178
27232
  this.uploadVo.attachFileName = name;
27179
- this.uploadVo.attach = fileList;
27233
+ this.uploadVo.attach = validList;
27180
27234
  // console.log(this.uploadVo.attach, fileList, '阿萨')
27181
27235
  },
27182
27236
  // 上传文件保存
27183
27237
  groupingConfirmFolder: function groupingConfirmFolder() {
27184
- var _this8 = this;
27238
+ var _this9 = this;
27185
27239
  var _this = this;
27186
27240
  this.formValidate( /*#__PURE__*/MyFilesInfovue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/MyFilesInfovue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
27187
- var _loop, index;
27241
+ var limit, overFile, _loop, index;
27188
27242
  return MyFilesInfovue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context4) {
27189
27243
  while (1) switch (_context4.prev = _context4.next) {
27190
27244
  case 0:
27191
- // _this.uploadVo.attach.forEach(res => {
27192
- // this.uploadFile(res)
27193
- // })
27194
- _this8.updateLoading = true;
27245
+ if (!_this9.maxFileSize) {
27246
+ _context4.next = 6;
27247
+ break;
27248
+ }
27249
+ limit = Number(_this9.maxFileSize) * 1024 * 1024;
27250
+ overFile = _this.uploadVo.attach.find(function (res) {
27251
+ return res.raw && res.raw.size > limit;
27252
+ });
27253
+ if (!overFile) {
27254
+ _context4.next = 6;
27255
+ break;
27256
+ }
27257
+ _this9.$alert('文件' + overFile.name + '超过上传大小限制' + _this9.maxFileSize + 'M,禁止上传', '操作提示', {
27258
+ type: 'warning'
27259
+ });
27260
+ return _context4.abrupt("return");
27261
+ case 6:
27262
+ _this9.updateLoading = true;
27195
27263
  _loop = /*#__PURE__*/MyFilesInfovue_type_script_lang_js_regeneratorRuntime().mark(function _loop(index) {
27196
27264
  var element;
27197
27265
  return MyFilesInfovue_type_script_lang_js_regeneratorRuntime().wrap(function _loop$(_context3) {
27198
27266
  while (1) switch (_context3.prev = _context3.next) {
27199
27267
  case 0:
27200
27268
  element = _this.uploadVo.attach[index];
27201
- _this8.uploadVo.progress = 0;
27202
- _this8.uploadVo.uploadingFile = element.name;
27203
- _this8.uploadFile(element, index).then(function (res) {
27269
+ _this9.uploadVo.progress = 0;
27270
+ _this9.uploadVo.uploadingFile = element.name;
27271
+ _this9.uploadFile(element, index).then(function (res) {
27204
27272
  if (res.code !== 'success') {
27205
- _this8.$message.error(res.message);
27273
+ _this9.$message.error(res.message);
27206
27274
  return;
27207
27275
  }
27208
- if (index === _this8.uploadVo.attach.length - 1) {
27209
- _this8.updateLoading = false;
27210
- _this8.dialogFormVisibleFolder = false;
27211
- _this8.listDataNum();
27276
+ if (index === _this9.uploadVo.attach.length - 1) {
27277
+ _this9.updateLoading = false;
27278
+ _this9.dialogFormVisibleFolder = false;
27279
+ _this9.listDataNum();
27212
27280
  }
27213
27281
  });
27214
27282
  case 4:
@@ -27218,17 +27286,17 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
27218
27286
  }, _loop);
27219
27287
  });
27220
27288
  index = 0;
27221
- case 3:
27289
+ case 9:
27222
27290
  if (!(index < _this.uploadVo.attach.length)) {
27223
- _context4.next = 8;
27291
+ _context4.next = 14;
27224
27292
  break;
27225
27293
  }
27226
- return _context4.delegateYield(_loop(index), "t0", 5);
27227
- case 5:
27294
+ return _context4.delegateYield(_loop(index), "t0", 11);
27295
+ case 11:
27228
27296
  index++;
27229
- _context4.next = 3;
27297
+ _context4.next = 9;
27230
27298
  break;
27231
- case 8:
27299
+ case 14:
27232
27300
  case "end":
27233
27301
  return _context4.stop();
27234
27302
  }
@@ -27251,7 +27319,7 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
27251
27319
  },
27252
27320
  // 上传文件接口
27253
27321
  uploadFile: function uploadFile(item, index) {
27254
- var _this9 = this;
27322
+ var _this10 = this;
27255
27323
  var files = item.raw;
27256
27324
  var fd = new FormData();
27257
27325
  fd.append('file', files);
@@ -27269,8 +27337,8 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
27269
27337
  var config = {
27270
27338
  onUploadProgress: function onUploadProgress(progressEvent) {
27271
27339
  var complete = progressEvent.loaded / progressEvent.total * 100 | 0;
27272
- _this9.uploadVo.progress = complete;
27273
- _this9.$forceUpdate();
27340
+ _this10.uploadVo.progress = complete;
27341
+ _this10.$forceUpdate();
27274
27342
  },
27275
27343
  timeout: 30 * 60 * 1000 //超时时长,30分钟
27276
27344
  };
@@ -27286,9 +27354,9 @@ function MyFilesInfovue_type_script_lang_js_toPrimitive(t, r) { if ("object" !=
27286
27354
  });
27287
27355
  ;// CONCATENATED MODULE: ./packages/ecyoa/wjzx/src/index/components/MyFilesInfo.vue?vue&type=script&lang=js
27288
27356
  /* harmony default export */ var components_MyFilesInfovue_type_script_lang_js = (MyFilesInfovue_type_script_lang_js);
27289
- // 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/wjzx/src/index/components/MyFilesInfo.vue?vue&type=style&index=0&id=6729b3ae&prod&scoped=true&lang=scss
27290
- var MyFilesInfovue_type_style_index_0_id_6729b3ae_prod_scoped_true_lang_scss = __webpack_require__(5515);
27291
- ;// CONCATENATED MODULE: ./packages/ecyoa/wjzx/src/index/components/MyFilesInfo.vue?vue&type=style&index=0&id=6729b3ae&prod&scoped=true&lang=scss
27357
+ // 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/wjzx/src/index/components/MyFilesInfo.vue?vue&type=style&index=0&id=197c69b2&prod&scoped=true&lang=scss
27358
+ var MyFilesInfovue_type_style_index_0_id_197c69b2_prod_scoped_true_lang_scss = __webpack_require__(4189);
27359
+ ;// CONCATENATED MODULE: ./packages/ecyoa/wjzx/src/index/components/MyFilesInfo.vue?vue&type=style&index=0&id=197c69b2&prod&scoped=true&lang=scss
27292
27360
 
27293
27361
  ;// CONCATENATED MODULE: ./packages/ecyoa/wjzx/src/index/components/MyFilesInfo.vue
27294
27362
 
@@ -27301,11 +27369,11 @@ var MyFilesInfovue_type_style_index_0_id_6729b3ae_prod_scoped_true_lang_scss = _
27301
27369
 
27302
27370
  var MyFilesInfo_component = normalizeComponent(
27303
27371
  components_MyFilesInfovue_type_script_lang_js,
27304
- MyFilesInfovue_type_template_id_6729b3ae_scoped_true_render,
27305
- MyFilesInfovue_type_template_id_6729b3ae_scoped_true_staticRenderFns,
27372
+ MyFilesInfovue_type_template_id_197c69b2_scoped_true_render,
27373
+ MyFilesInfovue_type_template_id_197c69b2_scoped_true_staticRenderFns,
27306
27374
  false,
27307
27375
  null,
27308
- "6729b3ae",
27376
+ "197c69b2",
27309
27377
  null
27310
27378
 
27311
27379
  )
@@ -30423,8 +30491,8 @@ var FileForm_component = normalizeComponent(
30423
30491
  )
30424
30492
 
30425
30493
  /* harmony default export */ var FileForm = (FileForm_component.exports);
30426
- ;// 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/wjzx/src/wjgl/components/FileList.vue?vue&type=template&id=175a428e&scoped=true
30427
- var FileListvue_type_template_id_175a428e_scoped_true_render = function render() {
30494
+ ;// 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/wjzx/src/wjgl/components/FileList.vue?vue&type=template&id=2205a8a3&scoped=true
30495
+ var FileListvue_type_template_id_2205a8a3_scoped_true_render = function render() {
30428
30496
  var _vm = this,
30429
30497
  _c = _vm._self._c;
30430
30498
  return _c('div', {
@@ -31116,7 +31184,14 @@ var FileListvue_type_template_id_175a428e_scoped_true_render = function render()
31116
31184
  })], 1)], 1)], 1)];
31117
31185
  }
31118
31186
  }], null, false, 4091563792)
31119
- })], 1)])])])])])]), _c('span', {
31187
+ })], 1)]), _vm.maxFileSize ? _c('tr', [_c('td', {
31188
+ staticClass: "el-table__cell tdlbl tdw17"
31189
+ }, [_vm._v("备注")]), _c('td', {
31190
+ staticClass: "el-table__cell tdcont tdw83",
31191
+ staticStyle: {
31192
+ "text-align": "left"
31193
+ }
31194
+ }, [_vm._v("说明:上传文件大小不能超过" + _vm._s(_vm.maxFileSize) + "M")])]) : _vm._e()])])])])]), _c('span', {
31120
31195
  staticClass: "dialog-footer",
31121
31196
  attrs: {
31122
31197
  "slot": "footer"
@@ -31492,7 +31567,7 @@ var FileListvue_type_template_id_175a428e_scoped_true_render = function render()
31492
31567
  }
31493
31568
  })], 1) : _vm._e()], 1);
31494
31569
  };
31495
- var FileListvue_type_template_id_175a428e_scoped_true_staticRenderFns = [];
31570
+ var FileListvue_type_template_id_2205a8a3_scoped_true_staticRenderFns = [];
31496
31571
 
31497
31572
  ;// CONCATENATED MODULE: external {"commonjs":"jquery","commonjs2":"jquery","root":"$"}
31498
31573
  var external_commonjs_jquery_commonjs2_jquery_root_$_namespaceObject = require("jquery");
@@ -32604,7 +32679,8 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
32604
32679
  // 文件夹路径数组
32605
32680
  styleBagrand: '',
32606
32681
  getBorder: false,
32607
- accountId: ''
32682
+ accountId: '',
32683
+ maxFileSize: '' // 上传文件大小限制(M)
32608
32684
  };
32609
32685
  },
32610
32686
  computed: components_FileListvue_type_script_lang_js_objectSpread({}, mapGetters(['routes', 'sidebar'])),
@@ -32653,6 +32729,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
32653
32729
  this.$bus.$on('setListDataUrl', this.setListDataUrl);
32654
32730
  this.queryData();
32655
32731
  this.styleBagrand = this.Cookies.get('uiStyle');
32732
+ this.getMaxFileSize();
32656
32733
  },
32657
32734
  beforeDestroy: function beforeDestroy() {
32658
32735
  this.$bus.$off('selectTree', this.queryData);
@@ -32661,6 +32738,31 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
32661
32738
  },
32662
32739
  mounted: function mounted() {},
32663
32740
  methods: {
32741
+ // 获取上传文件大小限制参数(M)
32742
+ getMaxFileSize: function getMaxFileSize() {
32743
+ var _this2 = this;
32744
+ var data = [{
32745
+ compare: '=',
32746
+ field: 'orgCode',
32747
+ merge: true,
32748
+ value: this.loginUser.orgCode
32749
+ }, {
32750
+ compare: '=',
32751
+ field: 'paramName',
32752
+ merge: true,
32753
+ value: 'fileCenter.upload.maxFileSize'
32754
+ }];
32755
+ this.$http({
32756
+ method: 'POST',
32757
+ contentType: 'application/x-www-form-urlencoded',
32758
+ data: data,
32759
+ url: 'base/paramConfig/querydata'
32760
+ }).then(function (res) {
32761
+ if (res.code === 'success' && res.body.listdata.length > 0) {
32762
+ _this2.maxFileSize = res.body.listdata[0].paramValue;
32763
+ }
32764
+ });
32765
+ },
32664
32766
  // 选择部门、科室、班组
32665
32767
  onSelectSuborgCompleted: function onSelectSuborgCompleted(selectedNodes, attr) {
32666
32768
  var selected = '';
@@ -32726,7 +32828,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
32726
32828
  },
32727
32829
  // render函数动态渲染图标
32728
32830
  operateFormatter: function operateFormatter(h, row, column, cellValue, index) {
32729
- var _this2 = this;
32831
+ var _this3 = this;
32730
32832
  // fiveStar 未收藏 已收藏 fiveStar3
32731
32833
  var list = h('span', [h('a', {
32732
32834
  attrs: {
@@ -32969,10 +33071,10 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
32969
33071
  this.$store.state.user.roles.forEach(function (res) {
32970
33072
  if (res === 'wjzxDeptMgr') {
32971
33073
  // 部门文件管理员
32972
- _this2.wjzxDeptMgr = true;
33074
+ _this3.wjzxDeptMgr = true;
32973
33075
  } else if (res === 'wjzxCompanyMgr') {
32974
33076
  // 单位文件管理员
32975
- _this2.wjzxCompanyMgr = true;
33077
+ _this3.wjzxCompanyMgr = true;
32976
33078
  }
32977
33079
  });
32978
33080
  if (this.wjzxDeptMgr && this.type === 1 || this.wjzxCompanyMgr && this.type === 2) {
@@ -32990,7 +33092,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
32990
33092
  },
32991
33093
  // 权限控制
32992
33094
  permissionsControl: function permissionsControl() {
32993
- var _this3 = this;
33095
+ var _this4 = this;
32994
33096
  var list = [{
32995
33097
  btnName: '下载',
32996
33098
  btnIcon: 'wjzx_downcopy.svg',
@@ -33069,10 +33171,10 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33069
33171
  this.$store.state.user.roles.forEach(function (res) {
33070
33172
  if (res === 'wjzxDeptMgr') {
33071
33173
  // 部门文件管理员
33072
- _this3.wjzxDeptMgr = true;
33174
+ _this4.wjzxDeptMgr = true;
33073
33175
  } else if (res === 'wjzxCompanyMgr') {
33074
33176
  // 单位文件管理员
33075
- _this3.wjzxCompanyMgr = true;
33177
+ _this4.wjzxCompanyMgr = true;
33076
33178
  }
33077
33179
  });
33078
33180
  if (this.wjzxDeptMgr && this.type === 1 || this.wjzxCompanyMgr && this.type === 2) {
@@ -33096,11 +33198,11 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33096
33198
  },
33097
33199
  // 文件夹选择分类回调
33098
33200
  selectFolderId: function selectFolderId(value) {
33099
- var _this4 = this;
33201
+ var _this5 = this;
33100
33202
  this.folderVo.parentId = value[value.length - 1] !== '0' ? value[value.length - 1] : null;
33101
33203
  this.treeDataList.forEach(function (item) {
33102
- if (item.id === _this4.folderVo.parentId) {
33103
- _this4.folderVo.fullName = item.folderName;
33204
+ if (item.id === _this5.folderVo.parentId) {
33205
+ _this5.folderVo.fullName = item.folderName;
33104
33206
  }
33105
33207
  });
33106
33208
  if (this.folderVo.folderId === '1') {
@@ -33109,14 +33211,14 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33109
33211
  },
33110
33212
  // 上传文件选择分类回调
33111
33213
  selectUploadId: function selectUploadId(value) {
33112
- var _this5 = this;
33214
+ var _this6 = this;
33113
33215
  this.uploadVo.folderId = value[value.length - 1];
33114
33216
  this.uploadVo.busiDataId = value[value.length - 1];
33115
33217
  this.treeDataList.forEach(function (item) {
33116
- if (item.id === _this5.uploadVo.folderId) {
33117
- _this5.uploadVo.fullName = item.folderName;
33118
- _this5.uploadVo.deptId = item.deptId;
33119
- _this5.uploadVo.deptName = item.deptName;
33218
+ if (item.id === _this6.uploadVo.folderId) {
33219
+ _this6.uploadVo.fullName = item.folderName;
33220
+ _this6.uploadVo.deptId = item.deptId;
33221
+ _this6.uploadVo.deptName = item.deptName;
33120
33222
  }
33121
33223
  });
33122
33224
  if (this.uploadVo.folderId === '1') {
@@ -33125,7 +33227,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33125
33227
  }
33126
33228
  },
33127
33229
  queryData: function queryData() {
33128
- var _this6 = this;
33230
+ var _this7 = this;
33129
33231
  // 加载类型节点数据
33130
33232
  this.$http({
33131
33233
  method: 'POST',
@@ -33148,14 +33250,14 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33148
33250
  node.parentId = '1';
33149
33251
  }
33150
33252
  });
33151
- _this6.root.zjfile[0].id = '1';
33152
- _this6.root.zjfile[0].pId = '0';
33153
- _this6.root.zjfile[0].value = '1';
33154
- _this6.root.zjfile[0].parentId = '0';
33155
- _this6.treeData1 = _this6.treeDataAdapter(_this6.root.zjfile.concat(res.body.diskFolders));
33156
- _this6.treeDataList = _this6.root.zjfile.concat(res.body.diskFolders);
33253
+ _this7.root.zjfile[0].id = '1';
33254
+ _this7.root.zjfile[0].pId = '0';
33255
+ _this7.root.zjfile[0].value = '1';
33256
+ _this7.root.zjfile[0].parentId = '0';
33257
+ _this7.treeData1 = _this7.treeDataAdapter(_this7.root.zjfile.concat(res.body.diskFolders));
33258
+ _this7.treeDataList = _this7.root.zjfile.concat(res.body.diskFolders);
33157
33259
  } else {
33158
- _this6.$alert(res.message, '操作提示', {
33260
+ _this7.$alert(res.message, '操作提示', {
33159
33261
  type: 'error'
33160
33262
  });
33161
33263
  }
@@ -33176,11 +33278,11 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33176
33278
  return tree;
33177
33279
  },
33178
33280
  buildTree: function buildTree(data, parentId) {
33179
- var _this7 = this;
33281
+ var _this8 = this;
33180
33282
  var tree = [];
33181
33283
  data.forEach(function (node) {
33182
33284
  if (node.pId === parentId) {
33183
- var children = _this7.buildTree(data, node.value);
33285
+ var children = _this8.buildTree(data, node.value);
33184
33286
  if (children.length > 0) {
33185
33287
  node.children = children;
33186
33288
  }
@@ -33191,8 +33293,21 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33191
33293
  },
33192
33294
  // 选择上传文件成功回调
33193
33295
  handleUploadChange: function handleUploadChange(file, fileList) {
33296
+ var validList = fileList;
33297
+ if (this.maxFileSize) {
33298
+ var limit = Number(this.maxFileSize) * 1024 * 1024;
33299
+ var overFiles = fileList.filter(function (res) {
33300
+ return res.raw && res.raw.size > limit;
33301
+ });
33302
+ if (overFiles.length > 0) {
33303
+ validList = fileList.filter(function (res) {
33304
+ return overFiles.indexOf(res) === -1;
33305
+ });
33306
+ this.$message.error('文件' + overFiles[0].name + '超过上传大小限制' + this.maxFileSize + 'M,禁止上传');
33307
+ }
33308
+ }
33194
33309
  var name = '';
33195
- fileList.forEach(function (res) {
33310
+ validList.forEach(function (res) {
33196
33311
  if (name) {
33197
33312
  name += ',' + res.name;
33198
33313
  } else {
@@ -33200,11 +33315,11 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33200
33315
  }
33201
33316
  });
33202
33317
  this.uploadVo.attachFileName = name;
33203
- this.uploadVo.attach = fileList;
33318
+ this.uploadVo.attach = validList;
33204
33319
  },
33205
33320
  // 上传文件
33206
33321
  upload: function upload() {
33207
- var _this8 = this;
33322
+ var _this9 = this;
33208
33323
  console.log('上传');
33209
33324
  this.dialogFormVisibleFolder = true;
33210
33325
  this.isUpload = true;
@@ -33215,10 +33330,10 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33215
33330
  // this.uploadVo.fullName1 = cascadeIds
33216
33331
  console.log(cascadeIds, 'cascadeIds');
33217
33332
  this.$nextTick(function () {
33218
- console.log(_this8.$refs.cascader, 'this.$refs.cascader');
33219
- _this8.$refs.cascader.inputValue = _this8.uploadVo.fullName;
33220
- _this8.$refs.cascader.checkedNodes = cascadeIds;
33221
- _this8.$refs.cascader.checkedValue = cascadeIds;
33333
+ console.log(_this9.$refs.cascader, 'this.$refs.cascader');
33334
+ _this9.$refs.cascader.inputValue = _this9.uploadVo.fullName;
33335
+ _this9.$refs.cascader.checkedNodes = cascadeIds;
33336
+ _this9.$refs.cascader.checkedValue = cascadeIds;
33222
33337
  });
33223
33338
  this.uploadVo.deptId = this.treeNode.deptId;
33224
33339
  this.uploadVo.deptName = this.treeNode.deptName;
@@ -33250,43 +33365,60 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33250
33365
  },
33251
33366
  // 上传文件保存
33252
33367
  groupingConfirmFolder: function groupingConfirmFolder() {
33253
- var _this9 = this;
33368
+ var _this10 = this;
33254
33369
  return components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
33255
33370
  var _this;
33256
33371
  return components_FileListvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
33257
33372
  while (1) switch (_context2.prev = _context2.next) {
33258
33373
  case 0:
33259
- _this = _this9;
33260
- _this9.formValidate( /*#__PURE__*/components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
33261
- var index, element;
33374
+ _this = _this10;
33375
+ _this10.formValidate( /*#__PURE__*/components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
33376
+ var limit, overFile, index, element;
33262
33377
  return components_FileListvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
33263
33378
  while (1) switch (_context.prev = _context.next) {
33264
33379
  case 0:
33265
- _this9.updateLoading = true;
33380
+ if (!_this10.maxFileSize) {
33381
+ _context.next = 6;
33382
+ break;
33383
+ }
33384
+ limit = Number(_this10.maxFileSize) * 1024 * 1024;
33385
+ overFile = _this.uploadVo.attach.find(function (res) {
33386
+ return res.raw && res.raw.size > limit;
33387
+ });
33388
+ if (!overFile) {
33389
+ _context.next = 6;
33390
+ break;
33391
+ }
33392
+ _this10.$alert('文件' + overFile.name + '超过上传大小限制' + _this10.maxFileSize + 'M,禁止上传', '操作提示', {
33393
+ type: 'warning'
33394
+ });
33395
+ return _context.abrupt("return");
33396
+ case 6:
33397
+ _this10.updateLoading = true;
33266
33398
  // _this.uploadVo.attach.forEach(res => {
33267
33399
  // this.uploadFile(res)
33268
33400
  // })
33269
33401
  index = 0;
33270
- case 2:
33402
+ case 8:
33271
33403
  if (!(index < _this.uploadVo.attach.length)) {
33272
- _context.next = 11;
33404
+ _context.next = 17;
33273
33405
  break;
33274
33406
  }
33275
33407
  element = _this.uploadVo.attach[index];
33276
- _this9.uploadVo.progress = 0;
33277
- _this9.uploadVo.uploadingFile = element.name;
33278
- _context.next = 8;
33279
- return _this9.uploadFile(element, index);
33280
- case 8:
33408
+ _this10.uploadVo.progress = 0;
33409
+ _this10.uploadVo.uploadingFile = element.name;
33410
+ _context.next = 14;
33411
+ return _this10.uploadFile(element, index);
33412
+ case 14:
33281
33413
  index++;
33282
- _context.next = 2;
33414
+ _context.next = 8;
33283
33415
  break;
33284
- case 11:
33285
- _this9.updateLoading = false;
33286
- _this9.dialogFormVisibleFolder = false;
33416
+ case 17:
33417
+ _this10.updateLoading = false;
33418
+ _this10.dialogFormVisibleFolder = false;
33287
33419
  // 刷新列表
33288
- _this9.setListDataUrl();
33289
- case 14:
33420
+ _this10.setListDataUrl();
33421
+ case 20:
33290
33422
  case "end":
33291
33423
  return _context.stop();
33292
33424
  }
@@ -33301,7 +33433,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33301
33433
  },
33302
33434
  // 上传文件接口
33303
33435
  uploadFile: function uploadFile(item, index) {
33304
- var _this10 = this;
33436
+ var _this11 = this;
33305
33437
  return components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
33306
33438
  var files, fd, config, url;
33307
33439
  return components_FileListvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
@@ -33312,35 +33444,35 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33312
33444
  fd.append('file', files);
33313
33445
  fd.append('module', 'disk');
33314
33446
  // fd.append('attachsSize', val.size)
33315
- fd.append('busiDataId', _this10.uploadVo.folderId);
33447
+ fd.append('busiDataId', _this11.uploadVo.folderId);
33316
33448
  fd.append('attachsType', 'ATTACH');
33317
- fd.append('fileDiffer', _this10.type);
33449
+ fd.append('fileDiffer', _this11.type);
33318
33450
  fd.append('attachsName', item.name);
33319
- fd.append('folderId', _this10.uploadVo.folderId);
33320
- fd.append('deptId', _this10.uploadVo.deptId);
33321
- fd.append('deptName', _this10.uploadVo.deptName);
33451
+ fd.append('folderId', _this11.uploadVo.folderId);
33452
+ fd.append('deptId', _this11.uploadVo.deptId);
33453
+ fd.append('deptName', _this11.uploadVo.deptName);
33322
33454
  config = {
33323
33455
  onUploadProgress: function onUploadProgress(progressEvent) {
33324
33456
  var complete = progressEvent.loaded / progressEvent.total * 100 | 0;
33325
- _this10.uploadVo.progress = complete;
33326
- _this10.$forceUpdate();
33457
+ _this11.uploadVo.progress = complete;
33458
+ _this11.$forceUpdate();
33327
33459
  },
33328
33460
  timeout: 30 * 60 * 1000
33329
33461
  };
33330
33462
  url = '/disk/file/upload';
33331
33463
  _context3.next = 15;
33332
- return _this10.$http(components_FileListvue_type_script_lang_js_objectSpread(components_FileListvue_type_script_lang_js_objectSpread({
33464
+ return _this11.$http(components_FileListvue_type_script_lang_js_objectSpread(components_FileListvue_type_script_lang_js_objectSpread({
33333
33465
  method: 'POST',
33334
33466
  url: url
33335
33467
  }, config), {}, {
33336
33468
  data: fd
33337
33469
  })).then(function (res) {
33338
33470
  if (res.code === 'success') {
33339
- if (index === _this10.uploadVo.attach.length - 1) {
33340
- _this10.$message.success(res.message);
33471
+ if (index === _this11.uploadVo.attach.length - 1) {
33472
+ _this11.$message.success(res.message);
33341
33473
  }
33342
33474
  } else {
33343
- _this10.$message.error(res.message);
33475
+ _this11.$message.error(res.message);
33344
33476
  return;
33345
33477
  }
33346
33478
  });
@@ -33353,7 +33485,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33353
33485
  },
33354
33486
  // 新建文件夹
33355
33487
  addFolder: function addFolder() {
33356
- var _this11 = this;
33488
+ var _this12 = this;
33357
33489
  this.addOrupdateContacts = true;
33358
33490
  this.isUpload = false;
33359
33491
  this.$http({
@@ -33361,88 +33493,88 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33361
33493
  method: 'POST'
33362
33494
  }).then(function (res) {
33363
33495
  if (res.code === 'success') {
33364
- _this11.folderVo = res.body.vo;
33365
- _this11.folderVo.parentId = _this11.treeNode.id !== '0' ? _this11.treeNode.id : null;
33366
- _this11.folderVo.fullName = _this11.treeNode.folderName;
33367
- var cascadeIds = _this11.findCascadeIds(_this11.treeData1, _this11.folderVo.fullName);
33496
+ _this12.folderVo = res.body.vo;
33497
+ _this12.folderVo.parentId = _this12.treeNode.id !== '0' ? _this12.treeNode.id : null;
33498
+ _this12.folderVo.fullName = _this12.treeNode.folderName;
33499
+ var cascadeIds = _this12.findCascadeIds(_this12.treeData1, _this12.folderVo.fullName);
33368
33500
  console.log(cascadeIds, 'cascadeIds');
33369
33501
  // this.folderVo.fullName1 = cascadeIds
33370
- _this11.dialogFormVisible = true;
33371
- _this11.$nextTick(function () {
33372
- _this11.$refs.cascaderServer.inputValue = _this11.folderVo.fullName;
33373
- _this11.$refs.cascaderServer.checkedNodes = cascadeIds;
33374
- _this11.$refs.cascaderServer.checkedValue = cascadeIds;
33375
- console.log(_this11.$refs.cascaderServer, 'this.$refs.cascaderServer');
33502
+ _this12.dialogFormVisible = true;
33503
+ _this12.$nextTick(function () {
33504
+ _this12.$refs.cascaderServer.inputValue = _this12.folderVo.fullName;
33505
+ _this12.$refs.cascaderServer.checkedNodes = cascadeIds;
33506
+ _this12.$refs.cascaderServer.checkedValue = cascadeIds;
33507
+ console.log(_this12.$refs.cascaderServer, 'this.$refs.cascaderServer');
33376
33508
  });
33377
- if (_this11.type === 1) {
33378
- _this11.folderVo.deptId = _this11.treeNode.deptId;
33379
- _this11.folderVo.deptName = _this11.treeNode.deptName;
33380
- if (!_this11.treeNode.fullId) {
33381
- _this11.folderVo.status = 3;
33509
+ if (_this12.type === 1) {
33510
+ _this12.folderVo.deptId = _this12.treeNode.deptId;
33511
+ _this12.folderVo.deptName = _this12.treeNode.deptName;
33512
+ if (!_this12.treeNode.fullId) {
33513
+ _this12.folderVo.status = 3;
33382
33514
  }
33383
33515
  } else {
33384
- _this11.folderVo.deptId = '';
33385
- _this11.folderVo.deptName = '';
33516
+ _this12.folderVo.deptId = '';
33517
+ _this12.folderVo.deptName = '';
33386
33518
  }
33387
33519
  } else {
33388
- _this11.$message.error(res.message);
33520
+ _this12.$message.error(res.message);
33389
33521
  }
33390
33522
  });
33391
33523
  },
33392
33524
  // 保存文件夹
33393
33525
  groupingConfirm: function groupingConfirm() {
33394
- var _this12 = this;
33526
+ var _this13 = this;
33395
33527
  return components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee5() {
33396
33528
  var res;
33397
33529
  return components_FileListvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee5$(_context5) {
33398
33530
  while (1) switch (_context5.prev = _context5.next) {
33399
33531
  case 0:
33400
33532
  res = null;
33401
- _this12.formValidate( /*#__PURE__*/components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
33533
+ _this13.formValidate( /*#__PURE__*/components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee4() {
33402
33534
  return components_FileListvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee4$(_context4) {
33403
33535
  while (1) switch (_context4.prev = _context4.next) {
33404
33536
  case 0:
33405
- _this12.folderVo.folderType = _this12.type; // 文件类型 0个人 1部门 2单位
33406
- if (_this12.folderVo.folderName) {
33537
+ _this13.folderVo.folderType = _this13.type; // 文件类型 0个人 1部门 2单位
33538
+ if (_this13.folderVo.folderName) {
33407
33539
  _context4.next = 5;
33408
33540
  break;
33409
33541
  }
33410
- _this12.$alert('请输入文件夹名称', '提示', {
33542
+ _this13.$alert('请输入文件夹名称', '提示', {
33411
33543
  type: 'warning'
33412
33544
  });
33413
33545
  _context4.next = 17;
33414
33546
  break;
33415
33547
  case 5:
33416
- delete _this12.folderVo.fullName1;
33417
- if (_this12.folderVo.parentId === '1') {
33418
- _this12.folderVo.parentId = null;
33548
+ delete _this13.folderVo.fullName1;
33549
+ if (_this13.folderVo.parentId === '1') {
33550
+ _this13.folderVo.parentId = null;
33419
33551
  }
33420
- if (!_this12.addOrupdateContacts) {
33552
+ if (!_this13.addOrupdateContacts) {
33421
33553
  _context4.next = 13;
33422
33554
  break;
33423
33555
  }
33424
33556
  _context4.next = 10;
33425
- return _this12.$app.insert(_this12.fileMoudlueInfo.insertUrl, _this12.folderVo);
33557
+ return _this13.$app.insert(_this13.fileMoudlueInfo.insertUrl, _this13.folderVo);
33426
33558
  case 10:
33427
33559
  res = _context4.sent;
33428
33560
  _context4.next = 16;
33429
33561
  break;
33430
33562
  case 13:
33431
33563
  _context4.next = 15;
33432
- return _this12.$app.update(_this12.fileMoudlueInfo.updateUrl, _this12.folderVo);
33564
+ return _this13.$app.update(_this13.fileMoudlueInfo.updateUrl, _this13.folderVo);
33433
33565
  case 15:
33434
33566
  res = _context4.sent;
33435
33567
  case 16:
33436
33568
  if (res.code === 'success') {
33437
- _this12.$message.success(res.message);
33438
- _this12.dialogFormVisible = false;
33439
- _this12.folderVo = {};
33569
+ _this13.$message.success(res.message);
33570
+ _this13.dialogFormVisible = false;
33571
+ _this13.folderVo = {};
33440
33572
  // 刷新树
33441
- _this12.$bus.emit('getTreeList', _this12.treeNode);
33573
+ _this13.$bus.emit('getTreeList', _this13.treeNode);
33442
33574
  // 刷新选择分类
33443
- _this12.queryData();
33575
+ _this13.queryData();
33444
33576
  } else {
33445
- _this12.$message.error(res.message);
33577
+ _this13.$message.error(res.message);
33446
33578
  }
33447
33579
  case 17:
33448
33580
  case "end":
@@ -33459,30 +33591,30 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33459
33591
  },
33460
33592
  // 编辑文件
33461
33593
  editObjectFile: function editObjectFile(row) {
33462
- var _this13 = this;
33594
+ var _this14 = this;
33463
33595
  return components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee6() {
33464
33596
  return components_FileListvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee6$(_context6) {
33465
33597
  while (1) switch (_context6.prev = _context6.next) {
33466
33598
  case 0:
33467
33599
  // 文件夹
33468
33600
  if (Number(row.resoureType) === 1) {
33469
- _this13.$bus.emit('editMenu', '文件夹', row, '重命名');
33601
+ _this14.$bus.emit('editMenu', '文件夹', row, '重命名');
33470
33602
  } else {
33471
33603
  // 文件
33472
- _this13.fileVo = components_FileListvue_type_script_lang_js_objectSpread({}, row);
33604
+ _this14.fileVo = components_FileListvue_type_script_lang_js_objectSpread({}, row);
33473
33605
  // 重点在这
33474
- _this13.fileVo.name = row.name.substring(0, row.name.lastIndexOf('.'));
33475
- _this13.fileVo.oldType = row.name.substring(row.name.lastIndexOf('.'));
33476
- if (!_this13.fileVo.permissionType) {
33477
- _this13.fileVo.permissionType = 1;
33606
+ _this14.fileVo.name = row.name.substring(0, row.name.lastIndexOf('.'));
33607
+ _this14.fileVo.oldType = row.name.substring(row.name.lastIndexOf('.'));
33608
+ if (!_this14.fileVo.permissionType) {
33609
+ _this14.fileVo.permissionType = 1;
33478
33610
  }
33479
- if (!_this13.fileVo.passenger.filePermission) {
33480
- _this13.fileVo.passenger.filePermission = {};
33481
- _this13.fileVo.passenger.filePermission.permissionName = '';
33482
- _this13.fileVo.passenger.filePermission.permissionId = '';
33611
+ if (!_this14.fileVo.passenger.filePermission) {
33612
+ _this14.fileVo.passenger.filePermission = {};
33613
+ _this14.fileVo.passenger.filePermission.permissionName = '';
33614
+ _this14.fileVo.passenger.filePermission.permissionId = '';
33483
33615
  }
33484
- _this13.filePermissionName = _this13.fileVo.passenger.filePermission.permissionName || '';
33485
- _this13.dialogFormVisibleFile = true;
33616
+ _this14.filePermissionName = _this14.fileVo.passenger.filePermission.permissionName || '';
33617
+ _this14.dialogFormVisibleFile = true;
33486
33618
  }
33487
33619
  case 1:
33488
33620
  case "end":
@@ -33493,28 +33625,28 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33493
33625
  },
33494
33626
  // 重命名确定
33495
33627
  fileConfirm: function fileConfirm() {
33496
- var _this14 = this;
33628
+ var _this15 = this;
33497
33629
  return components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee8() {
33498
33630
  return components_FileListvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee8$(_context8) {
33499
33631
  while (1) switch (_context8.prev = _context8.next) {
33500
33632
  case 0:
33501
- _this14.formValidate( /*#__PURE__*/components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee7() {
33633
+ _this15.formValidate( /*#__PURE__*/components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee7() {
33502
33634
  var res;
33503
33635
  return components_FileListvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee7$(_context7) {
33504
33636
  while (1) switch (_context7.prev = _context7.next) {
33505
33637
  case 0:
33506
33638
  res = null; // 组合文件名格式
33507
- _this14.fileVo.name = _this14.fileVo.name + _this14.fileVo.oldType;
33639
+ _this15.fileVo.name = _this15.fileVo.name + _this15.fileVo.oldType;
33508
33640
  _context7.next = 4;
33509
- return _this14.$app.update(_this14.moduleInfo.updateUrl, _this14.fileVo);
33641
+ return _this15.$app.update(_this15.moduleInfo.updateUrl, _this15.fileVo);
33510
33642
  case 4:
33511
33643
  res = _context7.sent;
33512
33644
  if (res.code === 'success') {
33513
- _this14.$message.success(res.message);
33514
- _this14.dialogFormVisibleFile = false;
33515
- _this14.setListDataUrl();
33645
+ _this15.$message.success(res.message);
33646
+ _this15.dialogFormVisibleFile = false;
33647
+ _this15.setListDataUrl();
33516
33648
  } else {
33517
- _this14.$message.error(res.message);
33649
+ _this15.$message.error(res.message);
33518
33650
  }
33519
33651
  case 6:
33520
33652
  case "end":
@@ -33531,7 +33663,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33531
33663
  },
33532
33664
  // 批量分享文件
33533
33665
  allShare: function allShare() {
33534
- var _this15 = this;
33666
+ var _this16 = this;
33535
33667
  this.shareType = 'all';
33536
33668
  if (this.rowsSelected.length < 1) {
33537
33669
  this.$alert('请选择要分享的文件!', '操作提示', {
@@ -33540,7 +33672,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33540
33672
  return;
33541
33673
  }
33542
33674
  this.$nextTick(function () {
33543
- _this15.$bus.emit('openBusiform', _this15.moduleInfoShare, null, 1);
33675
+ _this16.$bus.emit('openBusiform', _this16.moduleInfoShare, null, 1);
33544
33676
  });
33545
33677
  },
33546
33678
  // 操作列分享记录
@@ -33549,7 +33681,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33549
33681
  },
33550
33682
  // 转发邮件
33551
33683
  writeMail: function writeMail() {
33552
- var _this16 = this;
33684
+ var _this17 = this;
33553
33685
  if (this.rowsSelected.length < 1) {
33554
33686
  this.$alert('请选择要转发的文件!', '操作提示', {
33555
33687
  type: 'warning'
@@ -33559,7 +33691,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33559
33691
  try {
33560
33692
  this.rowsSelected.forEach(function (res) {
33561
33693
  if (Number(res.resoureType) === 1) {
33562
- _this16.$alert('文件夹不可转发,请重新选择!', '操作提示', {
33694
+ _this17.$alert('文件夹不可转发,请重新选择!', '操作提示', {
33563
33695
  type: 'warning'
33564
33696
  });
33565
33697
  throw new Error(true);
@@ -33584,8 +33716,8 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33584
33716
  fileType: 'ATTACH',
33585
33717
  id: res.downId,
33586
33718
  onlineFile: null,
33587
- orgCode: _this16.loginUser.orgCode,
33588
- orgName: _this16.loginUser.orgName,
33719
+ orgCode: _this17.loginUser.orgCode,
33720
+ orgName: _this17.loginUser.orgName,
33589
33721
  originalName: res.originalName,
33590
33722
  updateBy: res.createName,
33591
33723
  updateTime: res.createDate,
@@ -33597,7 +33729,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33597
33729
  },
33598
33730
  // 收藏
33599
33731
  collection: function collection(val) {
33600
- var _this17 = this;
33732
+ var _this18 = this;
33601
33733
  if (this.rowsSelected.length < 1) {
33602
33734
  this.$alert('请选择要收藏的文件!', '操作提示', {
33603
33735
  type: 'warning'
@@ -33616,18 +33748,18 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33616
33748
  this.$confirm('确认要收藏选中的文件吗?', '确认操作', {
33617
33749
  type: 'warning'
33618
33750
  }).then(function () {
33619
- _this17.$http({
33751
+ _this18.$http({
33620
33752
  method: 'POST',
33621
33753
  contentType: 'application/x-www-form-urlencoded',
33622
33754
  data: list,
33623
33755
  url: '/disk/collect/insert'
33624
33756
  }).then(function (res) {
33625
33757
  if (res.code === 'success') {
33626
- _this17.$message.success(res.message);
33758
+ _this18.$message.success(res.message);
33627
33759
  // 刷新列表
33628
- _this17.setListDataUrl();
33760
+ _this18.setListDataUrl();
33629
33761
  } else {
33630
- _this17.$message.error(res.message);
33762
+ _this18.$message.error(res.message);
33631
33763
  }
33632
33764
  });
33633
33765
  }).catch(function (err) {
@@ -33638,7 +33770,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33638
33770
  },
33639
33771
  // 单个收藏
33640
33772
  cancel: function cancel(row) {
33641
- var _this18 = this;
33773
+ var _this19 = this;
33642
33774
  var list = [];
33643
33775
  list.push({
33644
33776
  fileId: row.id,
@@ -33649,18 +33781,18 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33649
33781
  this.$confirm('确认要收藏选中的文件吗?', '确认操作', {
33650
33782
  type: 'warning'
33651
33783
  }).then(function () {
33652
- _this18.$http({
33784
+ _this19.$http({
33653
33785
  method: 'POST',
33654
33786
  contentType: 'application/x-www-form-urlencoded',
33655
33787
  data: list,
33656
33788
  url: '/disk/collect/insert'
33657
33789
  }).then(function (res) {
33658
33790
  if (res.code === 'success') {
33659
- _this18.$message.success(res.message);
33791
+ _this19.$message.success(res.message);
33660
33792
  // 刷新列表
33661
- _this18.$bus.$emit('refreshListData');
33793
+ _this19.$bus.$emit('refreshListData');
33662
33794
  } else {
33663
- _this18.$message.error(res.message);
33795
+ _this19.$message.error(res.message);
33664
33796
  }
33665
33797
  });
33666
33798
  }).catch(function (err) {
@@ -33671,7 +33803,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33671
33803
  },
33672
33804
  // 单个取消收藏
33673
33805
  qxCancel: function qxCancel(row) {
33674
- var _this19 = this;
33806
+ var _this20 = this;
33675
33807
  this.$confirm('确认取消该收藏文件吗?', '确认操作', {
33676
33808
  type: 'warning'
33677
33809
  }).then(function () {
@@ -33679,18 +33811,18 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33679
33811
  ids: row.id,
33680
33812
  status: 0
33681
33813
  };
33682
- _this19.$http({
33814
+ _this20.$http({
33683
33815
  method: 'POST',
33684
33816
  contentType: 'application/x-www-form-urlencoded',
33685
33817
  params: params,
33686
33818
  url: '/disk/vwcollectfile/updateCollect'
33687
33819
  }).then(function (res) {
33688
33820
  if (res.code === 'success') {
33689
- _this19.$message.success(res.message);
33821
+ _this20.$message.success(res.message);
33690
33822
  // 刷新列表
33691
- _this19.$bus.$emit('refreshListData');
33823
+ _this20.$bus.$emit('refreshListData');
33692
33824
  } else {
33693
- _this19.$message.error(res.message);
33825
+ _this20.$message.error(res.message);
33694
33826
  }
33695
33827
  });
33696
33828
  }).catch(function (err) {
@@ -33701,7 +33833,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33701
33833
  },
33702
33834
  // 批量删除
33703
33835
  allDeleteIds: function allDeleteIds() {
33704
- var _this20 = this;
33836
+ var _this21 = this;
33705
33837
  if (this.rowsSelected.length < 1) {
33706
33838
  this.$alert('请选择需要删除的文件!', '操作提示', {
33707
33839
  type: 'warning'
@@ -33712,7 +33844,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33712
33844
  type: 'warning'
33713
33845
  }).then(function () {
33714
33846
  var id = '';
33715
- _this20.rowsSelected.forEach(function (res) {
33847
+ _this21.rowsSelected.forEach(function (res) {
33716
33848
  if (id) {
33717
33849
  id += ',' + res.id;
33718
33850
  } else {
@@ -33722,32 +33854,32 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33722
33854
  var params = {
33723
33855
  ids: id
33724
33856
  };
33725
- _this20.$http({
33726
- url: _this20.moduleInfo.delUrl,
33857
+ _this21.$http({
33858
+ url: _this21.moduleInfo.delUrl,
33727
33859
  method: 'DELETE',
33728
33860
  contentType: 'application/x-www-form-urlencoded',
33729
33861
  params: params
33730
33862
  }).then(function (res) {
33731
33863
  if (res.code === 'success') {
33732
- _this20.$message({
33864
+ _this21.$message({
33733
33865
  message: '删除成功',
33734
33866
  type: 'success'
33735
33867
  });
33736
33868
  // 刷新树
33737
- _this20.$bus.emit('getTreeList', _this20.treeNode);
33869
+ _this21.$bus.emit('getTreeList', _this21.treeNode);
33738
33870
  // 刷新选择分类
33739
- _this20.queryData();
33871
+ _this21.queryData();
33740
33872
  // 刷新列表
33741
- _this20.$bus.$emit('refreshListData');
33873
+ _this21.$bus.$emit('refreshListData');
33742
33874
  } else {
33743
- _this20.$message.error(res.message);
33875
+ _this21.$message.error(res.message);
33744
33876
  }
33745
33877
  });
33746
33878
  }).catch(function () {});
33747
33879
  },
33748
33880
  // 操作列删除
33749
33881
  deleteIds: function deleteIds(row) {
33750
- var _this21 = this;
33882
+ var _this22 = this;
33751
33883
  var text = '您是否确认删除该文件?';
33752
33884
  if (Number(row.resoureType) === 1) {
33753
33885
  text = '您是否确认删除该文件夹?';
@@ -33758,32 +33890,32 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33758
33890
  var params = {
33759
33891
  ids: row.id
33760
33892
  };
33761
- _this21.$http({
33762
- url: _this21.moduleInfo.delUrl,
33893
+ _this22.$http({
33894
+ url: _this22.moduleInfo.delUrl,
33763
33895
  method: 'DELETE',
33764
33896
  contentType: 'application/x-www-form-urlencoded',
33765
33897
  params: params
33766
33898
  }).then(function (res) {
33767
33899
  if (res.code === 'success') {
33768
- _this21.$message({
33900
+ _this22.$message({
33769
33901
  message: '删除成功',
33770
33902
  type: 'success'
33771
33903
  });
33772
33904
  // 刷新树
33773
- _this21.$bus.emit('getTreeList', _this21.treeNode);
33905
+ _this22.$bus.emit('getTreeList', _this22.treeNode);
33774
33906
  // 刷新选择分类
33775
- _this21.queryData();
33907
+ _this22.queryData();
33776
33908
  // 刷新列表
33777
- _this21.$bus.$emit('refreshListData');
33909
+ _this22.$bus.$emit('refreshListData');
33778
33910
  } else {
33779
- _this21.$message.error(res.message);
33911
+ _this22.$message.error(res.message);
33780
33912
  }
33781
33913
  });
33782
33914
  }).catch(function () {});
33783
33915
  },
33784
33916
  // 路由跳转
33785
33917
  gotoPages: function gotoPages(code) {
33786
- var _this22 = this;
33918
+ var _this23 = this;
33787
33919
  var toPath = this.getMenuCode(code);
33788
33920
  if (toPath && toPath.path) {
33789
33921
  var path;
@@ -33811,8 +33943,8 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33811
33943
  fileType: 'ATTACH',
33812
33944
  id: res.id,
33813
33945
  onlineFile: null,
33814
- orgCode: _this22.loginUser.orgCode,
33815
- orgName: _this22.loginUser.orgName,
33946
+ orgCode: _this23.loginUser.orgCode,
33947
+ orgName: _this23.loginUser.orgName,
33816
33948
  originalName: res.originalName,
33817
33949
  updateBy: res.createName,
33818
33950
  updateTime: res.createDate,
@@ -33963,18 +34095,18 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33963
34095
  },
33964
34096
  // 请求接口前先判断是个人,部门,单位
33965
34097
  isBeforeOpenSetListDataUrl: function isBeforeOpenSetListDataUrl() {
33966
- var _this23 = this;
34098
+ var _this24 = this;
33967
34099
  return components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee9() {
33968
- var _this23$loginUser, staffList, orgCode, personId;
34100
+ var _this24$loginUser, staffList, orgCode, personId;
33969
34101
  return components_FileListvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee9$(_context9) {
33970
34102
  while (1) switch (_context9.prev = _context9.next) {
33971
34103
  case 0:
33972
- _this23$loginUser = components_FileListvue_type_script_lang_js_objectSpread({}, _this23.loginUser), staffList = _this23$loginUser.staffList, orgCode = _this23$loginUser.orgCode, personId = _this23$loginUser.personId;
34104
+ _this24$loginUser = components_FileListvue_type_script_lang_js_objectSpread({}, _this24.loginUser), staffList = _this24$loginUser.staffList, orgCode = _this24$loginUser.orgCode, personId = _this24$loginUser.personId;
33973
34105
  return _context9.abrupt("return", new Promise(function (resolve) {
33974
- if (_this23.type === 0) {
34106
+ if (_this24.type === 0) {
33975
34107
  // 个人
33976
- _this23.accountId = '';
33977
- _this23.$http({
34108
+ _this24.accountId = '';
34109
+ _this24.$http({
33978
34110
  method: 'GET',
33979
34111
  url: '/disk/account/getByPersonId',
33980
34112
  params: {
@@ -33982,13 +34114,13 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33982
34114
  }
33983
34115
  }).then(function (resp) {
33984
34116
  if (resp.code === 'success') {
33985
- _this23.accountId = resp.body.accountId;
34117
+ _this24.accountId = resp.body.accountId;
33986
34118
  } else {
33987
- _this23.accountId = '';
34119
+ _this24.accountId = '';
33988
34120
  }
33989
- resolve(";accountId:".concat(_this23.accountId || ''));
34121
+ resolve(";accountId:".concat(_this24.accountId || ''));
33990
34122
  });
33991
- } else if (_this23.type === 1) {
34123
+ } else if (_this24.type === 1) {
33992
34124
  // 部门
33993
34125
  var str = '';
33994
34126
  staffList.forEach(function (res) {
@@ -33999,7 +34131,7 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
33999
34131
  }
34000
34132
  });
34001
34133
  resolve(";deptId:".concat(str));
34002
- } else if (_this23.type === 2) {
34134
+ } else if (_this24.type === 2) {
34003
34135
  // 单位
34004
34136
  resolve(";orgCode:".concat(orgCode));
34005
34137
  }
@@ -34017,58 +34149,58 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
34017
34149
  },
34018
34150
  // 请求接口
34019
34151
  setListDataUrl: function setListDataUrl(id, row, type) {
34020
- var _this24 = this;
34152
+ var _this25 = this;
34021
34153
  return components_FileListvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/components_FileListvue_type_script_lang_js_regeneratorRuntime().mark(function _callee10() {
34022
34154
  return components_FileListvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee10$(_context10) {
34023
34155
  while (1) switch (_context10.prev = _context10.next) {
34024
34156
  case 0:
34025
- _this24.isBeforeOpenSetListDataUrl().then(function (res) {
34157
+ _this25.isBeforeOpenSetListDataUrl().then(function (res) {
34026
34158
  console.log(1530, res);
34027
- var _this24$loginUser = components_FileListvue_type_script_lang_js_objectSpread({}, _this24.loginUser),
34028
- orgCode = _this24$loginUser.orgCode;
34159
+ var _this25$loginUser = components_FileListvue_type_script_lang_js_objectSpread({}, _this25.loginUser),
34160
+ orgCode = _this25$loginUser.orgCode;
34029
34161
  var listDataUrl = '/disk/vwfilefolder/listdata';
34030
34162
  var urlsearch = '';
34031
34163
  if (id !== '0' && id) {
34032
- urlsearch = 'status!:2;orgCode:' + orgCode + ';folderId:' + id + ';fileDiffer:' + _this24.type;
34164
+ urlsearch = 'status!:2;orgCode:' + orgCode + ';folderId:' + id + ';fileDiffer:' + _this25.type;
34033
34165
  } else {
34034
- if (_this24.searchType === '0') {
34035
- if (Number(_this24.treeNode.id) === 0) {
34036
- urlsearch = 'status!:2;orgCode:' + orgCode + ';fileDiffer:' + _this24.type + ';folderId:null'; // 全部
34037
- } else if (Number(_this24.treeNode.id) === 1) {
34038
- urlsearch = "status:1;orgCode:".concat(orgCode, ";fileDiffer:").concat(_this24.type, ";createDate<:").concat(FileListvue_type_script_lang_js_moment(new Date()).format('YYYY-MM-DD HH:mm:ss'), ";createDate>:").concat(FileListvue_type_script_lang_js_moment(new Date()).subtract(1, 'months').format('YYYY-MM-DD HH:mm:ss'), ";resoureType:2"); // 最近
34166
+ if (_this25.searchType === '0') {
34167
+ if (Number(_this25.treeNode.id) === 0) {
34168
+ urlsearch = 'status!:2;orgCode:' + orgCode + ';fileDiffer:' + _this25.type + ';folderId:null'; // 全部
34169
+ } else if (Number(_this25.treeNode.id) === 1) {
34170
+ urlsearch = "status:1;orgCode:".concat(orgCode, ";fileDiffer:").concat(_this25.type, ";createDate<:").concat(FileListvue_type_script_lang_js_moment(new Date()).format('YYYY-MM-DD HH:mm:ss'), ";createDate>:").concat(FileListvue_type_script_lang_js_moment(new Date()).subtract(1, 'months').format('YYYY-MM-DD HH:mm:ss'), ";resoureType:2"); // 最近
34039
34171
  } else {
34040
- urlsearch = 'status!:2;orgCode:' + orgCode + ';folderId:' + _this24.treeNode.id + ';fileDiffer:' + _this24.type;
34172
+ urlsearch = 'status!:2;orgCode:' + orgCode + ';folderId:' + _this25.treeNode.id + ';fileDiffer:' + _this25.type;
34041
34173
  }
34042
- } else if (_this24.searchType === '1') {
34043
- urlsearch = 'status!:2;orgCode:' + orgCode + ';type:' + _this24.flieType + ';fileDiffer:' + _this24.type;
34174
+ } else if (_this25.searchType === '1') {
34175
+ urlsearch = 'status!:2;orgCode:' + orgCode + ';type:' + _this25.flieType + ';fileDiffer:' + _this25.type;
34044
34176
  }
34045
34177
  }
34046
34178
  urlsearch += res;
34047
- _this24.tableShow = false;
34179
+ _this25.tableShow = false;
34048
34180
  // 列表文件夹路径
34049
34181
  if (id) {
34050
34182
  if (!type) {
34051
- _this24.levelList.push({
34183
+ _this25.levelList.push({
34052
34184
  name: row.name,
34053
34185
  row: row,
34054
34186
  id: id
34055
34187
  });
34056
34188
  } else {
34057
- _this24.levelList.splice(_this24.levelList.length - 1, 1);
34189
+ _this25.levelList.splice(_this25.levelList.length - 1, 1);
34058
34190
  }
34059
34191
  } else {
34060
- _this24.levelList = [{
34061
- name: _this24.treeNode.folderName,
34062
- id: _this24.treeNode.id
34192
+ _this25.levelList = [{
34193
+ name: _this25.treeNode.folderName,
34194
+ id: _this25.treeNode.id
34063
34195
  }];
34064
34196
  }
34065
34197
  // 触发树节点
34066
- _this24.$bus.$emit('listOnTreeNodeClick', row);
34067
- _this24.$nextTick(function () {
34068
- _this24.tableShow = true;
34198
+ _this25.$bus.$emit('listOnTreeNodeClick', row);
34199
+ _this25.$nextTick(function () {
34200
+ _this25.tableShow = true;
34069
34201
  });
34070
- _this24.$set(_this24.moduleInfo, 'listDataUrl', listDataUrl);
34071
- _this24.$set(_this24.moduleInfo, 'urlsearch', urlsearch);
34202
+ _this25.$set(_this25.moduleInfo, 'listDataUrl', listDataUrl);
34203
+ _this25.$set(_this25.moduleInfo, 'urlsearch', urlsearch);
34072
34204
  });
34073
34205
  case 1:
34074
34206
  case "end":
@@ -34124,9 +34256,9 @@ var FileListvue_type_script_lang_js_moment = __webpack_require__(5093);
34124
34256
  });
34125
34257
  ;// CONCATENATED MODULE: ./packages/ecyoa/wjzx/src/wjgl/components/FileList.vue?vue&type=script&lang=js
34126
34258
  /* harmony default export */ var src_wjgl_components_FileListvue_type_script_lang_js = (wjgl_components_FileListvue_type_script_lang_js);
34127
- // 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/wjzx/src/wjgl/components/FileList.vue?vue&type=style&index=0&id=175a428e&prod&scoped=true&lang=scss
34128
- var FileListvue_type_style_index_0_id_175a428e_prod_scoped_true_lang_scss = __webpack_require__(5528);
34129
- ;// CONCATENATED MODULE: ./packages/ecyoa/wjzx/src/wjgl/components/FileList.vue?vue&type=style&index=0&id=175a428e&prod&scoped=true&lang=scss
34259
+ // 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/wjzx/src/wjgl/components/FileList.vue?vue&type=style&index=0&id=2205a8a3&prod&scoped=true&lang=scss
34260
+ var FileListvue_type_style_index_0_id_2205a8a3_prod_scoped_true_lang_scss = __webpack_require__(3609);
34261
+ ;// CONCATENATED MODULE: ./packages/ecyoa/wjzx/src/wjgl/components/FileList.vue?vue&type=style&index=0&id=2205a8a3&prod&scoped=true&lang=scss
34130
34262
 
34131
34263
  ;// CONCATENATED MODULE: ./packages/ecyoa/wjzx/src/wjgl/components/FileList.vue
34132
34264
 
@@ -34139,11 +34271,11 @@ var FileListvue_type_style_index_0_id_175a428e_prod_scoped_true_lang_scss = __we
34139
34271
 
34140
34272
  var components_FileList_component = normalizeComponent(
34141
34273
  src_wjgl_components_FileListvue_type_script_lang_js,
34142
- FileListvue_type_template_id_175a428e_scoped_true_render,
34143
- FileListvue_type_template_id_175a428e_scoped_true_staticRenderFns,
34274
+ FileListvue_type_template_id_2205a8a3_scoped_true_render,
34275
+ FileListvue_type_template_id_2205a8a3_scoped_true_staticRenderFns,
34144
34276
  false,
34145
34277
  null,
34146
- "175a428e",
34278
+ "2205a8a3",
34147
34279
  null
34148
34280
 
34149
34281
  )