ecinc-cloud-yoagwgl 9.6.243 → 9.6.244

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.
@@ -3363,7 +3363,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".svg-icon[data-v-5a28edde]{width:1em;h
3363
3363
 
3364
3364
  /***/ }),
3365
3365
 
3366
- /***/ 2094:
3366
+ /***/ 3092:
3367
3367
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3368
3368
 
3369
3369
  "use strict";
@@ -3377,14 +3377,14 @@ __webpack_require__.r(__webpack_exports__);
3377
3377
 
3378
3378
  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()));
3379
3379
  // Module
3380
- ___CSS_LOADER_EXPORT___.push([module.id, ".top-line[data-v-39239143]{float:left;height:36px}.top-line .label[data-v-39239143]{line-height:36px;font-size:var(--portalFontSize14);width:80px}.top-line>div[data-v-39239143]{margin-left:20px;float:left}.top-line>div[data-v-39239143]:first-child{margin-left:0}[data-v-39239143] .el-date-editor .el-range-separator{width:8%}.exportbtn[data-v-39239143]{float:right;height:32px;margin-top:2px}.exportbtn span[data-v-39239143]{margin-left:0}.exportbtn[data-v-39239143]:hover{background:inherit;border-color:#409eff}", ""]);
3380
+ ___CSS_LOADER_EXPORT___.push([module.id, ".top-line[data-v-7d2e190b]{float:left;height:36px}.top-line .label[data-v-7d2e190b]{line-height:36px;font-size:var(--portalFontSize14);width:80px}.top-line>div[data-v-7d2e190b]{margin-left:20px;float:left}.top-line>div[data-v-7d2e190b]:first-child{margin-left:0}[data-v-7d2e190b] .el-date-editor .el-range-separator{width:8%}.exportbtn[data-v-7d2e190b]{float:right;height:32px;margin-top:2px}.exportbtn span[data-v-7d2e190b]{margin-left:0}.exportbtn[data-v-7d2e190b]:hover{background:inherit;border-color:#409eff}", ""]);
3381
3381
  // Exports
3382
3382
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
3383
3383
 
3384
3384
 
3385
3385
  /***/ }),
3386
3386
 
3387
- /***/ 2933:
3387
+ /***/ 6645:
3388
3388
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3389
3389
 
3390
3390
  "use strict";
@@ -3398,7 +3398,7 @@ __webpack_require__.r(__webpack_exports__);
3398
3398
 
3399
3399
  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()));
3400
3400
  // Module
3401
- ___CSS_LOADER_EXPORT___.push([module.id, ".echart-box[data-v-05c6b150]{height:300px}.echart-box[data-v-05c6b150],.table-box[data-v-05c6b150]{margin-top:20px;width:100%}.table-box[data-v-05c6b150]{padding-bottom:20px}.search-box[data-v-05c6b150]{height:36px;padding:16px 0 0;-webkit-box-sizing:content-box;box-sizing:content-box}.tabbar[data-v-05c6b150] .el-radio-button--small .el-radio-button__inner{padding:0!important}.tabbar[data-v-05c6b150] .el-radio-button--small .el-radio-button__inner .tabbartext{padding:9px 15px}.tabbar button[data-v-05c6b150]{margin-bottom:-1px}.tabbar button.active[data-v-05c6b150]{color:#fff}.tabbar button.active[data-v-05c6b150]:focus,.tabbar button.active[data-v-05c6b150]:hover{color:#fff!important;border-color:#dcdfe6!important}", ""]);
3401
+ ___CSS_LOADER_EXPORT___.push([module.id, ".echart-box[data-v-05a0bf9c]{height:300px}.echart-box[data-v-05a0bf9c],.table-box[data-v-05a0bf9c]{margin-top:20px;width:100%}.table-box[data-v-05a0bf9c]{padding-bottom:20px}.search-box[data-v-05a0bf9c]{height:36px;padding:16px 0 0;-webkit-box-sizing:content-box;box-sizing:content-box}.tabbar[data-v-05a0bf9c] .el-radio-button--small .el-radio-button__inner{padding:0!important}.tabbar[data-v-05a0bf9c] .el-radio-button--small .el-radio-button__inner .tabbartext{padding:9px 15px}.tabbar button[data-v-05a0bf9c]{margin-bottom:-1px}.tabbar button.active[data-v-05a0bf9c]{color:#fff}.tabbar button.active[data-v-05a0bf9c]:focus,.tabbar button.active[data-v-05a0bf9c]:hover{color:#fff!important;border-color:#dcdfe6!important}", ""]);
3402
3402
  // Exports
3403
3403
  /* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
3404
3404
 
@@ -38512,35 +38512,35 @@ var update = add("16b14e5d", content, true, {"sourceMap":false,"shadowMode":fals
38512
38512
 
38513
38513
  /***/ }),
38514
38514
 
38515
- /***/ 5610:
38515
+ /***/ 272:
38516
38516
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
38517
38517
 
38518
38518
  // style-loader: Adds some css to the DOM by adding a <style> tag
38519
38519
 
38520
38520
  // load the styles
38521
- var content = __webpack_require__(2094);
38521
+ var content = __webpack_require__(3092);
38522
38522
  if(content.__esModule) content = content.default;
38523
38523
  if(typeof content === 'string') content = [[module.id, content, '']];
38524
38524
  if(content.locals) module.exports = content.locals;
38525
38525
  // add the styles to the DOM
38526
38526
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
38527
- var update = add("308a6b7f", content, true, {"sourceMap":false,"shadowMode":false});
38527
+ var update = add("01b997db", content, true, {"sourceMap":false,"shadowMode":false});
38528
38528
 
38529
38529
  /***/ }),
38530
38530
 
38531
- /***/ 5337:
38531
+ /***/ 1681:
38532
38532
  /***/ (function(module, __unused_webpack_exports, __webpack_require__) {
38533
38533
 
38534
38534
  // style-loader: Adds some css to the DOM by adding a <style> tag
38535
38535
 
38536
38536
  // load the styles
38537
- var content = __webpack_require__(2933);
38537
+ var content = __webpack_require__(6645);
38538
38538
  if(content.__esModule) content = content.default;
38539
38539
  if(typeof content === 'string') content = [[module.id, content, '']];
38540
38540
  if(content.locals) module.exports = content.locals;
38541
38541
  // add the styles to the DOM
38542
38542
  var add = (__webpack_require__(9548)/* ["default"] */ .A)
38543
- var update = add("712162ac", content, true, {"sourceMap":false,"shadowMode":false});
38543
+ var update = add("030ce7e8", content, true, {"sourceMap":false,"shadowMode":false});
38544
38544
 
38545
38545
  /***/ }),
38546
38546
 
@@ -57580,8 +57580,8 @@ var gdgz_component = normalizeComponent(
57580
57580
  )
57581
57581
 
57582
57582
  /* harmony default export */ var gdgz = (gdgz_component.exports);
57583
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=template&id=05c6b150&scoped=true
57584
- var tjbgvue_type_template_id_05c6b150_scoped_true_render = function render() {
57583
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=template&id=05a0bf9c&scoped=true
57584
+ var tjbgvue_type_template_id_05a0bf9c_scoped_true_render = function render() {
57585
57585
  var _vm = this,
57586
57586
  _c = _vm._self._c;
57587
57587
  return _c('div', {
@@ -57621,7 +57621,8 @@ var tjbgvue_type_template_id_05c6b150_scoped_true_render = function render() {
57621
57621
  "select-type": _vm.selectType,
57622
57622
  "datearr": _vm.chooseDate,
57623
57623
  "report-type": _vm.reportType,
57624
- "search-type": _vm.searchType
57624
+ "search-type": _vm.searchType,
57625
+ "time-file-type-options": _vm.timeFileTypeOptions
57625
57626
  },
57626
57627
  on: {
57627
57628
  "changeTypeData": _vm.changeTypeData,
@@ -57682,10 +57683,10 @@ var tjbgvue_type_template_id_05c6b150_scoped_true_render = function render() {
57682
57683
  }
57683
57684
  }) : _vm._e()], 1)]);
57684
57685
  };
57685
- var tjbgvue_type_template_id_05c6b150_scoped_true_staticRenderFns = [];
57686
+ var tjbgvue_type_template_id_05a0bf9c_scoped_true_staticRenderFns = [];
57686
57687
 
57687
- ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=template&id=39239143&scoped=true
57688
- var DeptTimevue_type_template_id_39239143_scoped_true_render = function render() {
57688
+ ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=template&id=7d2e190b&scoped=true
57689
+ var DeptTimevue_type_template_id_7d2e190b_scoped_true_render = function render() {
57689
57690
  var _vm = this,
57690
57691
  _c = _vm._self._c;
57691
57692
  return _c('div', {
@@ -57804,12 +57805,24 @@ var DeptTimevue_type_template_id_39239143_scoped_true_render = function render()
57804
57805
  }
57805
57806
  })], 1)]);
57806
57807
  };
57807
- var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
57808
+ var DeptTimevue_type_template_id_7d2e190b_scoped_true_staticRenderFns = [];
57808
57809
 
57809
57810
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=script&lang=js
57811
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
57812
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
57813
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
57814
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
57815
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
57816
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
57810
57817
  /* harmony default export */ var DeptTimevue_type_script_lang_js = ({
57811
57818
  components: {},
57812
57819
  props: {
57820
+ timeFileTypeOptions: {
57821
+ type: Array,
57822
+ default: function _default() {
57823
+ return [];
57824
+ }
57825
+ },
57813
57826
  reportType: {
57814
57827
  type: String,
57815
57828
  default: function _default() {
@@ -57846,7 +57859,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
57846
57859
  loginUser: this.$store.getters.loginUser,
57847
57860
  selectDept: '',
57848
57861
  chooseDate: [],
57849
- fileList: [{
57862
+ defaultFileList: [{
57850
57863
  title: this.$tx('gwgl.portlet.all', '全部'),
57851
57864
  id: ''
57852
57865
  }, {
@@ -57871,6 +57884,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
57871
57884
  title: this.$tx('gwgl.portlet.requestInstructions', '请示报告'),
57872
57885
  id: this.$tx('gwgl.portlet.requestInstructions', '请示报告')
57873
57886
  }],
57887
+ fileList: [],
57874
57888
  dept: [],
57875
57889
  startT: '',
57876
57890
  endT: ''
@@ -57883,13 +57897,44 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
57883
57897
  this.selectType = '';
57884
57898
  // this.changeDept()
57885
57899
  // this.changeType()
57900
+ this.refreshFileList();
57901
+ },
57902
+ reportType: function reportType() {
57903
+ this.refreshFileList();
57904
+ },
57905
+ timeFileTypeOptions: {
57906
+ handler: function handler() {
57907
+ this.refreshFileList();
57908
+ },
57909
+ deep: true
57886
57910
  }
57887
57911
  },
57888
57912
  created: function created() {
57913
+ this.refreshFileList();
57889
57914
  this.getdept();
57890
57915
  },
57891
57916
  mounted: function mounted() {},
57892
57917
  methods: {
57918
+ refreshFileList: function refreshFileList() {
57919
+ if (!(this.searchType === 1 && this.reportType === 'nw') && Array.isArray(this.timeFileTypeOptions) && this.timeFileTypeOptions.length > 0) {
57920
+ var allOption = {
57921
+ title: this.$tx('gwgl.portlet.all', '全部'),
57922
+ id: ''
57923
+ };
57924
+ var options = this.timeFileTypeOptions.filter(function (item) {
57925
+ return item && item.name;
57926
+ }).map(function (item) {
57927
+ return {
57928
+ title: item.name,
57929
+ id: item.name,
57930
+ raw: item
57931
+ };
57932
+ });
57933
+ this.fileList = [allOption].concat(_toConsumableArray(options));
57934
+ } else {
57935
+ this.fileList = this.defaultFileList;
57936
+ }
57937
+ },
57893
57938
  changeDept: function changeDept(value) {
57894
57939
  // if (value === undefined) return
57895
57940
  var deptName = '';
@@ -57903,7 +57948,15 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
57903
57948
  });
57904
57949
  },
57905
57950
  changeType: function changeType() {
57906
- this.$emit('changeTypeData', this.selectType);
57951
+ var _this = this;
57952
+ var picked = this.fileList.find(function (item) {
57953
+ return item && item.id === _this.selectType;
57954
+ });
57955
+ if (picked && picked.raw) {
57956
+ this.$emit('changeTypeData', picked.raw);
57957
+ } else {
57958
+ this.$emit('changeTypeData', this.selectType);
57959
+ }
57907
57960
  },
57908
57961
  changeTime: function changeTime() {
57909
57962
  this.chooseDate = this.datearr;
@@ -57911,7 +57964,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
57911
57964
  },
57912
57965
  // 获取部门
57913
57966
  getdept: function getdept() {
57914
- var _this = this;
57967
+ var _this2 = this;
57915
57968
  this.$http({
57916
57969
  url: 'base/organMgr/findAllOrganByOrgCode',
57917
57970
  method: 'GET',
@@ -57926,13 +57979,13 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
57926
57979
  return item.orgLevel === 2;
57927
57980
  });
57928
57981
  list.unshift({
57929
- name: _this.$tx('gwgl.tjbg.allDepart', '所有部门'),
57982
+ name: _this2.$tx('gwgl.tjbg.allDepart', '所有部门'),
57930
57983
  id: ''
57931
57984
  });
57932
- _this.dept = list;
57985
+ _this2.dept = list;
57933
57986
  // this.$emit('dept', this.dept)
57934
57987
  } else {
57935
- _this.$message.error(res.message);
57988
+ _this2.$message.error(res.message);
57936
57989
  }
57937
57990
  });
57938
57991
  }
@@ -57940,9 +57993,9 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
57940
57993
  });
57941
57994
  ;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=script&lang=js
57942
57995
  /* harmony default export */ var components_DeptTimevue_type_script_lang_js = (DeptTimevue_type_script_lang_js);
57943
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=style&index=0&id=39239143&prod&scoped=true&lang=scss
57944
- var DeptTimevue_type_style_index_0_id_39239143_prod_scoped_true_lang_scss = __webpack_require__(5610);
57945
- ;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=style&index=0&id=39239143&prod&scoped=true&lang=scss
57996
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=style&index=0&id=7d2e190b&prod&scoped=true&lang=scss
57997
+ var DeptTimevue_type_style_index_0_id_7d2e190b_prod_scoped_true_lang_scss = __webpack_require__(272);
57998
+ ;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=style&index=0&id=7d2e190b&prod&scoped=true&lang=scss
57946
57999
 
57947
58000
  ;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue
57948
58001
 
@@ -57955,11 +58008,11 @@ var DeptTimevue_type_style_index_0_id_39239143_prod_scoped_true_lang_scss = __we
57955
58008
 
57956
58009
  var DeptTime_component = normalizeComponent(
57957
58010
  components_DeptTimevue_type_script_lang_js,
57958
- DeptTimevue_type_template_id_39239143_scoped_true_render,
57959
- DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns,
58011
+ DeptTimevue_type_template_id_7d2e190b_scoped_true_render,
58012
+ DeptTimevue_type_template_id_7d2e190b_scoped_true_staticRenderFns,
57960
58013
  false,
57961
58014
  null,
57962
- "39239143",
58015
+ "7d2e190b",
57963
58016
  null
57964
58017
 
57965
58018
  )
@@ -58125,6 +58178,12 @@ var DataTable_component = normalizeComponent(
58125
58178
  /* harmony default export */ var DataTable = (DataTable_component.exports);
58126
58179
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=script&lang=js
58127
58180
  function tjbgvue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return tjbgvue_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; }, tjbgvue_type_script_lang_js_typeof(o); }
58181
+ function tjbgvue_type_script_lang_js_toConsumableArray(r) { return tjbgvue_type_script_lang_js_arrayWithoutHoles(r) || tjbgvue_type_script_lang_js_iterableToArray(r) || tjbgvue_type_script_lang_js_unsupportedIterableToArray(r) || tjbgvue_type_script_lang_js_nonIterableSpread(); }
58182
+ function tjbgvue_type_script_lang_js_nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
58183
+ function tjbgvue_type_script_lang_js_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return tjbgvue_type_script_lang_js_arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? tjbgvue_type_script_lang_js_arrayLikeToArray(r, a) : void 0; } }
58184
+ function tjbgvue_type_script_lang_js_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
58185
+ function tjbgvue_type_script_lang_js_arrayWithoutHoles(r) { if (Array.isArray(r)) return tjbgvue_type_script_lang_js_arrayLikeToArray(r); }
58186
+ function tjbgvue_type_script_lang_js_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
58128
58187
  function tjbgvue_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 */ tjbgvue_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" == tjbgvue_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(tjbgvue_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; }
58129
58188
  function tjbgvue_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); }
58130
58189
  function tjbgvue_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) { tjbgvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { tjbgvue_type_script_lang_js_asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
@@ -58441,27 +58500,50 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
58441
58500
  loading: false,
58442
58501
  // 数据加载状态
58443
58502
  tooltipFormat: null,
58444
- deptName: '所有部门' // 部门名称
58503
+ deptName: '所有部门',
58504
+ // 部门名称
58505
+ timeFileTypeOptions: [],
58506
+ timeFileTypeLoaded: false,
58507
+ selectedFileTypeItem: null
58445
58508
  };
58446
58509
  },
58447
58510
  computed: {},
58448
58511
  watch: {
58449
58512
  searchType: function searchType(val) {
58450
- this.title = this.titleList[this.reportType].text;
58451
- if ((this.reportType === 'nw' || this.reportType === 'bw') && val === 2) {
58452
- this.initDate('month');
58453
- } else {
58454
- this.initDate('day');
58455
- }
58456
- if (!((this.reportType === 'bwxl' || this.reportType === 'cql') && this.searchType === 2)) {
58457
- this.selectDept = '';
58458
- this.selectType = '';
58459
- // this.deptName = '所有部门'
58460
- this.deptName = this.$tx('gwgl.tjbg.allDepart', '所有部门');
58461
- } else {
58462
- this.listTb[0].title = this.$tx('gwgl.tjbg.name', '姓名');
58463
- }
58464
- this.getReportList();
58513
+ var _this = this;
58514
+ return tjbgvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/tjbgvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
58515
+ return tjbgvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
58516
+ while (1) switch (_context.prev = _context.next) {
58517
+ case 0:
58518
+ _this.title = _this.titleList[_this.reportType].text;
58519
+ if ((_this.reportType === 'nw' || _this.reportType === 'bw') && val === 2) {
58520
+ _this.initDate('month');
58521
+ } else {
58522
+ _this.initDate('day');
58523
+ }
58524
+ if (!((_this.reportType === 'bwxl' || _this.reportType === 'cql') && _this.searchType === 2)) {
58525
+ _this.selectDept = '';
58526
+ _this.selectType = '';
58527
+ _this.selectedFileTypeItem = null;
58528
+ // this.deptName = '所有部门'
58529
+ _this.deptName = _this.$tx('gwgl.tjbg.allDepart', '所有部门');
58530
+ } else {
58531
+ _this.listTb[0].title = _this.$tx('gwgl.tjbg.name', '姓名');
58532
+ }
58533
+ if (_this.reportType === 'nw' && val === 1) {
58534
+ _context.next = 6;
58535
+ break;
58536
+ }
58537
+ _context.next = 6;
58538
+ return _this.loadTimeFileTypeOptions();
58539
+ case 6:
58540
+ _this.getReportList();
58541
+ case 7:
58542
+ case "end":
58543
+ return _context.stop();
58544
+ }
58545
+ }, _callee);
58546
+ }))();
58465
58547
  }
58466
58548
  },
58467
58549
  created: function created() {
@@ -58506,6 +58588,119 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
58506
58588
  this.$bus.emit('showNavSearch', true); // 还原右上搜索按钮
58507
58589
  },
58508
58590
  methods: {
58591
+ flattenMenuItems: function flattenMenuItems(items) {
58592
+ var result = [];
58593
+ var stack = Array.isArray(items) ? tjbgvue_type_script_lang_js_toConsumableArray(items) : [];
58594
+ while (stack.length > 0) {
58595
+ var item = stack.shift();
58596
+ if (!item) continue;
58597
+ result.push(item);
58598
+ if (Array.isArray(item.children) && item.children.length > 0) {
58599
+ stack.push.apply(stack, tjbgvue_type_script_lang_js_toConsumableArray(item.children));
58600
+ }
58601
+ }
58602
+ return result;
58603
+ },
58604
+ resolveModuleByMenuItem: function resolveModuleByMenuItem(item) {
58605
+ var href = item && item.href ? String(item.href) : '';
58606
+ if (Number(item && item.leafType) === 4) {
58607
+ var match = href.match(/[?&]busiCode=([^&]+)/);
58608
+ if (match && match[1]) return decodeURIComponent(match[1]);
58609
+ }
58610
+ return href;
58611
+ },
58612
+ loadTimeFileTypeOptions: function loadTimeFileTypeOptions() {
58613
+ var _this2 = this;
58614
+ return tjbgvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/tjbgvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
58615
+ var res, response, list, flat;
58616
+ return tjbgvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
58617
+ while (1) switch (_context2.prev = _context2.next) {
58618
+ case 0:
58619
+ if (!_this2.timeFileTypeLoaded) {
58620
+ _context2.next = 2;
58621
+ break;
58622
+ }
58623
+ return _context2.abrupt("return");
58624
+ case 2:
58625
+ _context2.next = 4;
58626
+ return _this2.$http({
58627
+ method: 'GET',
58628
+ url: 'homepage/findAllCreateWflowMenu',
58629
+ params: {
58630
+ findType: 'menuItem',
58631
+ productCode: 'ecygwgl'
58632
+ }
58633
+ });
58634
+ case 4:
58635
+ res = _context2.sent;
58636
+ response = res && res.code ? res : res && res.data ? res.data : res;
58637
+ if (!(!response || response.code !== 'success')) {
58638
+ _context2.next = 8;
58639
+ break;
58640
+ }
58641
+ return _context2.abrupt("return");
58642
+ case 8:
58643
+ list = response.body && (response.body.listdata || response.body.data) || response.body || [];
58644
+ flat = _this2.flattenMenuItems(list);
58645
+ _this2.timeFileTypeOptions = flat.filter(function (item) {
58646
+ return (item.leafFlag === 1 || !item.children || item.children.length === 0) && item.name && item.href;
58647
+ }).map(function (item) {
58648
+ return {
58649
+ name: item.name,
58650
+ href: item.href,
58651
+ leafType: item.leafType
58652
+ };
58653
+ });
58654
+ _this2.timeFileTypeLoaded = true;
58655
+ case 12:
58656
+ case "end":
58657
+ return _context2.stop();
58658
+ }
58659
+ }, _callee2);
58660
+ }))();
58661
+ },
58662
+ getLegacyModuleByFileName: function getLegacyModuleByFileName(fileName) {
58663
+ var _module = '';
58664
+ switch (fileName) {
58665
+ case '':
58666
+ _module = 'fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg';
58667
+ break;
58668
+ case '单位发文':
58669
+ _module = 'fawen';
58670
+ break;
58671
+ case '部门收文':
58672
+ _module = 'shouwen';
58673
+ break;
58674
+ case '收文阅办':
58675
+ _module = 'shouwen';
58676
+ break;
58677
+ case '文件传阅':
58678
+ _module = 'wjcy';
58679
+ break;
58680
+ case '部门便函':
58681
+ _module = 'bmbh';
58682
+ break;
58683
+ case '意见征集':
58684
+ _module = 'yjzj';
58685
+ break;
58686
+ case '请示报告':
58687
+ _module = 'qsbg';
58688
+ break;
58689
+ default:
58690
+ _module = 'fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg';
58691
+ break;
58692
+ }
58693
+ return _module;
58694
+ },
58695
+ getAllTimeModules: function getAllTimeModules() {
58696
+ var _this3 = this;
58697
+ var modules = this.timeFileTypeOptions.map(function (item) {
58698
+ return _this3.resolveModuleByMenuItem(item);
58699
+ }).filter(function (m) {
58700
+ return m;
58701
+ });
58702
+ return Array.from(new Set(modules)).join(',');
58703
+ },
58509
58704
  echartsClick: function echartsClick() {
58510
58705
  return false;
58511
58706
  },
@@ -58554,91 +58749,89 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
58554
58749
  }
58555
58750
  },
58556
58751
  getReportList: function getReportList() {
58557
- var _this = this;
58558
- return tjbgvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/tjbgvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
58559
- var _module, param, res;
58560
- return tjbgvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
58561
- while (1) switch (_context.prev = _context.next) {
58752
+ var _this4 = this;
58753
+ return tjbgvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/tjbgvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
58754
+ var fileName, _module, showFileType, picked, param, res;
58755
+ return tjbgvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
58756
+ while (1) switch (_context3.prev = _context3.next) {
58562
58757
  case 0:
58758
+ fileName = _this4.selectType;
58563
58759
  _module = '';
58564
- _context.t0 = _this.selectType;
58565
- _context.next = _context.t0 === '' ? 4 : _context.t0 === '单位发文' ? 6 : _context.t0 === '部门收文' ? 8 : _context.t0 === '收文阅办' ? 10 : _context.t0 === '文件传阅' ? 12 : _context.t0 === '部门便函' ? 14 : _context.t0 === '意见征集' ? 16 : _context.t0 === '请示报告' ? 18 : 20;
58760
+ showFileType = !(_this4.reportType === 'nw' && _this4.searchType === 1);
58761
+ if (!showFileType) {
58762
+ _context3.next = 11;
58763
+ break;
58764
+ }
58765
+ if (_this4.timeFileTypeLoaded) {
58766
+ _context3.next = 7;
58767
+ break;
58768
+ }
58769
+ _context3.next = 7;
58770
+ return _this4.loadTimeFileTypeOptions();
58771
+ case 7:
58772
+ picked = _this4.selectedFileTypeItem || _this4.timeFileTypeOptions.find(function (item) {
58773
+ return item.name === _this4.selectType;
58774
+ }) || null;
58775
+ if (picked) {
58776
+ fileName = picked.name;
58777
+ _module = _this4.resolveModuleByMenuItem(picked);
58778
+ } else if (_this4.selectType === '') {
58779
+ _module = _this4.timeFileTypeLoaded ? _this4.getAllTimeModules() : _this4.getLegacyModuleByFileName('');
58780
+ } else {
58781
+ _module = _this4.getLegacyModuleByFileName(_this4.selectType);
58782
+ }
58783
+ _context3.next = 12;
58566
58784
  break;
58567
- case 4:
58568
- _module = 'fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg';
58569
- return _context.abrupt("break", 22);
58570
- case 6:
58571
- _module = 'fawen';
58572
- return _context.abrupt("break", 22);
58573
- case 8:
58574
- _module = 'shouwen';
58575
- return _context.abrupt("break", 22);
58576
- case 10:
58577
- _module = 'shouwen';
58578
- return _context.abrupt("break", 22);
58785
+ case 11:
58786
+ _module = _this4.getLegacyModuleByFileName(_this4.selectType);
58579
58787
  case 12:
58580
- _module = 'wjcy';
58581
- return _context.abrupt("break", 22);
58582
- case 14:
58583
- _module = 'bmbh';
58584
- return _context.abrupt("break", 22);
58585
- case 16:
58586
- _module = 'yjzj';
58587
- return _context.abrupt("break", 22);
58588
- case 18:
58589
- _module = 'qsbg';
58590
- return _context.abrupt("break", 22);
58591
- case 20:
58592
- _module = 'fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg';
58593
- return _context.abrupt("break", 22);
58594
- case 22:
58595
58788
  param = {
58596
- deptId: _this.selectDept,
58597
- endTime: _this.chooseDate[1],
58598
- startTime: _this.chooseDate[0],
58789
+ deptId: _this4.selectDept,
58790
+ endTime: _this4.chooseDate[1],
58791
+ startTime: _this4.chooseDate[0],
58599
58792
  // sysCode: this.$route.meta.sysCode,
58600
- type: _this.searchType,
58601
- fileName: _this.selectType,
58793
+ type: _this4.searchType,
58794
+ fileName: fileName,
58602
58795
  module: _module
58603
58796
  };
58604
- _this.loading = true;
58605
- _this.listData = [];
58606
- _context.next = 27;
58607
- return _this.$app.listdata(_this.url, param);
58608
- case 27:
58609
- res = _context.sent;
58797
+ _this4.loading = true;
58798
+ _this4.listData = [];
58799
+ _context3.next = 17;
58800
+ return _this4.$app.listdata(_this4.url, param);
58801
+ case 17:
58802
+ res = _context3.sent;
58610
58803
  if (res.code === 'success') {
58611
- _this.mergeList(res.body.listdata);
58804
+ _this4.mergeList(res.body.listdata);
58612
58805
  }
58613
- _this.loading = false;
58614
- case 30:
58806
+ _this4.loading = false;
58807
+ case 20:
58615
58808
  case "end":
58616
- return _context.stop();
58809
+ return _context3.stop();
58617
58810
  }
58618
- }, _callee);
58811
+ }, _callee3);
58619
58812
  }))();
58620
58813
  },
58621
58814
  mergeList: function mergeList(arr) {
58622
- var _this2 = this;
58815
+ var _this5 = this;
58623
58816
  var self = this;
58624
58817
  var x = [];
58625
58818
  var y = [];
58626
58819
  arr.forEach(function (item) {
58627
- if (_this2.reportType === 'nw' || _this2.reportType === 'bw') {
58628
- if (_this2.searchType === 1) {
58820
+ if (_this5.reportType === 'nw' || _this5.reportType === 'bw') {
58821
+ if (_this5.searchType === 1) {
58629
58822
  x.push(item.name);
58630
58823
  y.push(item.num);
58631
- } else if (_this2.searchType === 2) {
58824
+ } else if (_this5.searchType === 2) {
58632
58825
  x.push(item.createDate);
58633
58826
  y.push(item.num);
58634
58827
  }
58635
58828
  }
58636
- if (_this2.reportType === 'bwxl') {
58829
+ if (_this5.reportType === 'bwxl') {
58637
58830
  x.push(item.name);
58638
58831
  y.push(JSON.parse(JSON.stringify(item.avgMinute)) / 60);
58639
- item.avgMinute = _this2.mergeMinute(item.avgMinute);
58832
+ item.avgMinute = _this5.mergeMinute(item.avgMinute);
58640
58833
  }
58641
- if (_this2.reportType === 'thl' || _this2.reportType === 'cql') {
58834
+ if (_this5.reportType === 'thl' || _this5.reportType === 'cql') {
58642
58835
  x.push(item.name);
58643
58836
  y.push((item.lv * 100).toFixed(2));
58644
58837
  item.lv = (item.lv * 100).toFixed(2) + '%';
@@ -58722,7 +58915,20 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
58722
58915
  this.chooseDate = params;
58723
58916
  },
58724
58917
  changeTypeData: function changeTypeData(params) {
58725
- this.selectType = params;
58918
+ var _this6 = this;
58919
+ if (params && tjbgvue_type_script_lang_js_typeof(params) === 'object') {
58920
+ this.selectedFileTypeItem = params;
58921
+ this.selectType = params.name || '';
58922
+ } else {
58923
+ this.selectType = params;
58924
+ if (!(this.reportType === 'nw' && this.searchType === 1) && this.selectType) {
58925
+ this.selectedFileTypeItem = this.timeFileTypeOptions.find(function (item) {
58926
+ return item.name === _this6.selectType;
58927
+ }) || null;
58928
+ } else {
58929
+ this.selectedFileTypeItem = null;
58930
+ }
58931
+ }
58726
58932
  },
58727
58933
  tabClickHandler: function tabClickHandler(item) {
58728
58934
  // if (this.searchType === item.type) return
@@ -58732,14 +58938,15 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
58732
58938
  this.yUnit = item.yUnit;
58733
58939
  this.listTb = item.td;
58734
58940
  this.selectType = '';
58941
+ this.selectedFileTypeItem = null;
58735
58942
  }
58736
58943
  }
58737
58944
  });
58738
58945
  ;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=script&lang=js
58739
58946
  /* harmony default export */ var src_tjbgvue_type_script_lang_js = (tjbgvue_type_script_lang_js);
58740
- // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=style&index=0&id=05c6b150&prod&scoped=true&lang=scss
58741
- var tjbgvue_type_style_index_0_id_05c6b150_prod_scoped_true_lang_scss = __webpack_require__(5337);
58742
- ;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=style&index=0&id=05c6b150&prod&scoped=true&lang=scss
58947
+ // EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=style&index=0&id=05a0bf9c&prod&scoped=true&lang=scss
58948
+ var tjbgvue_type_style_index_0_id_05a0bf9c_prod_scoped_true_lang_scss = __webpack_require__(1681);
58949
+ ;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=style&index=0&id=05a0bf9c&prod&scoped=true&lang=scss
58743
58950
 
58744
58951
  ;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue
58745
58952
 
@@ -58752,11 +58959,11 @@ var tjbgvue_type_style_index_0_id_05c6b150_prod_scoped_true_lang_scss = __webpac
58752
58959
 
58753
58960
  var tjbg_component = normalizeComponent(
58754
58961
  src_tjbgvue_type_script_lang_js,
58755
- tjbgvue_type_template_id_05c6b150_scoped_true_render,
58756
- tjbgvue_type_template_id_05c6b150_scoped_true_staticRenderFns,
58962
+ tjbgvue_type_template_id_05a0bf9c_scoped_true_render,
58963
+ tjbgvue_type_template_id_05a0bf9c_scoped_true_staticRenderFns,
58757
58964
  false,
58758
58965
  null,
58759
- "05c6b150",
58966
+ "05a0bf9c",
58760
58967
  null
58761
58968
 
58762
58969
  )