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.
- package/lib/ecyoagwgl.common.js +316 -109
- package/lib/ecyoagwgl.umd.js +316 -109
- package/lib/ecyoagwgl.umd.min.js +5 -5
- package/package.json +1 -1
package/lib/ecyoagwgl.common.js
CHANGED
|
@@ -3353,7 +3353,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".svg-icon[data-v-5a28edde]{width:1em;h
|
|
|
3353
3353
|
|
|
3354
3354
|
/***/ }),
|
|
3355
3355
|
|
|
3356
|
-
/***/
|
|
3356
|
+
/***/ 1796:
|
|
3357
3357
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3358
3358
|
|
|
3359
3359
|
"use strict";
|
|
@@ -3367,14 +3367,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3367
3367
|
|
|
3368
3368
|
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()));
|
|
3369
3369
|
// Module
|
|
3370
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".top-line[data-v-
|
|
3370
|
+
___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}", ""]);
|
|
3371
3371
|
// Exports
|
|
3372
3372
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
3373
3373
|
|
|
3374
3374
|
|
|
3375
3375
|
/***/ }),
|
|
3376
3376
|
|
|
3377
|
-
/***/
|
|
3377
|
+
/***/ 4997:
|
|
3378
3378
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3379
3379
|
|
|
3380
3380
|
"use strict";
|
|
@@ -3388,7 +3388,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3388
3388
|
|
|
3389
3389
|
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()));
|
|
3390
3390
|
// Module
|
|
3391
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".echart-box[data-v-
|
|
3391
|
+
___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}", ""]);
|
|
3392
3392
|
// Exports
|
|
3393
3393
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
3394
3394
|
|
|
@@ -38502,35 +38502,35 @@ var update = add("3fc91f19", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
38502
38502
|
|
|
38503
38503
|
/***/ }),
|
|
38504
38504
|
|
|
38505
|
-
/***/
|
|
38505
|
+
/***/ 5242:
|
|
38506
38506
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
38507
38507
|
|
|
38508
38508
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
38509
38509
|
|
|
38510
38510
|
// load the styles
|
|
38511
|
-
var content = __webpack_require__(
|
|
38511
|
+
var content = __webpack_require__(1796);
|
|
38512
38512
|
if(content.__esModule) content = content.default;
|
|
38513
38513
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
38514
38514
|
if(content.locals) module.exports = content.locals;
|
|
38515
38515
|
// add the styles to the DOM
|
|
38516
38516
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
38517
|
-
var update = add("
|
|
38517
|
+
var update = add("3ac66797", content, true, {"sourceMap":false,"shadowMode":false});
|
|
38518
38518
|
|
|
38519
38519
|
/***/ }),
|
|
38520
38520
|
|
|
38521
|
-
/***/
|
|
38521
|
+
/***/ 3131:
|
|
38522
38522
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
38523
38523
|
|
|
38524
38524
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
38525
38525
|
|
|
38526
38526
|
// load the styles
|
|
38527
|
-
var content = __webpack_require__(
|
|
38527
|
+
var content = __webpack_require__(4997);
|
|
38528
38528
|
if(content.__esModule) content = content.default;
|
|
38529
38529
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
38530
38530
|
if(content.locals) module.exports = content.locals;
|
|
38531
38531
|
// add the styles to the DOM
|
|
38532
38532
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
38533
|
-
var update = add("
|
|
38533
|
+
var update = add("7ef4e08c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
38534
38534
|
|
|
38535
38535
|
/***/ }),
|
|
38536
38536
|
|
|
@@ -57570,8 +57570,8 @@ var gdgz_component = normalizeComponent(
|
|
|
57570
57570
|
)
|
|
57571
57571
|
|
|
57572
57572
|
/* harmony default export */ var gdgz = (gdgz_component.exports);
|
|
57573
|
-
;// 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/gwgl/src/tjbg/index.vue?vue&type=template&id=
|
|
57574
|
-
var
|
|
57573
|
+
;// 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/gwgl/src/tjbg/index.vue?vue&type=template&id=05a0bf9c&scoped=true
|
|
57574
|
+
var tjbgvue_type_template_id_05a0bf9c_scoped_true_render = function render() {
|
|
57575
57575
|
var _vm = this,
|
|
57576
57576
|
_c = _vm._self._c;
|
|
57577
57577
|
return _c('div', {
|
|
@@ -57611,7 +57611,8 @@ var tjbgvue_type_template_id_05c6b150_scoped_true_render = function render() {
|
|
|
57611
57611
|
"select-type": _vm.selectType,
|
|
57612
57612
|
"datearr": _vm.chooseDate,
|
|
57613
57613
|
"report-type": _vm.reportType,
|
|
57614
|
-
"search-type": _vm.searchType
|
|
57614
|
+
"search-type": _vm.searchType,
|
|
57615
|
+
"time-file-type-options": _vm.timeFileTypeOptions
|
|
57615
57616
|
},
|
|
57616
57617
|
on: {
|
|
57617
57618
|
"changeTypeData": _vm.changeTypeData,
|
|
@@ -57672,10 +57673,10 @@ var tjbgvue_type_template_id_05c6b150_scoped_true_render = function render() {
|
|
|
57672
57673
|
}
|
|
57673
57674
|
}) : _vm._e()], 1)]);
|
|
57674
57675
|
};
|
|
57675
|
-
var
|
|
57676
|
+
var tjbgvue_type_template_id_05a0bf9c_scoped_true_staticRenderFns = [];
|
|
57676
57677
|
|
|
57677
|
-
;// 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/gwgl/src/tjbg/components/DeptTime.vue?vue&type=template&id=
|
|
57678
|
-
var
|
|
57678
|
+
;// 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/gwgl/src/tjbg/components/DeptTime.vue?vue&type=template&id=7d2e190b&scoped=true
|
|
57679
|
+
var DeptTimevue_type_template_id_7d2e190b_scoped_true_render = function render() {
|
|
57679
57680
|
var _vm = this,
|
|
57680
57681
|
_c = _vm._self._c;
|
|
57681
57682
|
return _c('div', {
|
|
@@ -57794,12 +57795,24 @@ var DeptTimevue_type_template_id_39239143_scoped_true_render = function render()
|
|
|
57794
57795
|
}
|
|
57795
57796
|
})], 1)]);
|
|
57796
57797
|
};
|
|
57797
|
-
var
|
|
57798
|
+
var DeptTimevue_type_template_id_7d2e190b_scoped_true_staticRenderFns = [];
|
|
57798
57799
|
|
|
57799
57800
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=script&lang=js
|
|
57801
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
57802
|
+
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."); }
|
|
57803
|
+
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; } }
|
|
57804
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
57805
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
57806
|
+
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; }
|
|
57800
57807
|
/* harmony default export */ var DeptTimevue_type_script_lang_js = ({
|
|
57801
57808
|
components: {},
|
|
57802
57809
|
props: {
|
|
57810
|
+
timeFileTypeOptions: {
|
|
57811
|
+
type: Array,
|
|
57812
|
+
default: function _default() {
|
|
57813
|
+
return [];
|
|
57814
|
+
}
|
|
57815
|
+
},
|
|
57803
57816
|
reportType: {
|
|
57804
57817
|
type: String,
|
|
57805
57818
|
default: function _default() {
|
|
@@ -57836,7 +57849,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57836
57849
|
loginUser: this.$store.getters.loginUser,
|
|
57837
57850
|
selectDept: '',
|
|
57838
57851
|
chooseDate: [],
|
|
57839
|
-
|
|
57852
|
+
defaultFileList: [{
|
|
57840
57853
|
title: this.$tx('gwgl.portlet.all', '全部'),
|
|
57841
57854
|
id: ''
|
|
57842
57855
|
}, {
|
|
@@ -57861,6 +57874,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57861
57874
|
title: this.$tx('gwgl.portlet.requestInstructions', '请示报告'),
|
|
57862
57875
|
id: this.$tx('gwgl.portlet.requestInstructions', '请示报告')
|
|
57863
57876
|
}],
|
|
57877
|
+
fileList: [],
|
|
57864
57878
|
dept: [],
|
|
57865
57879
|
startT: '',
|
|
57866
57880
|
endT: ''
|
|
@@ -57873,13 +57887,44 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57873
57887
|
this.selectType = '';
|
|
57874
57888
|
// this.changeDept()
|
|
57875
57889
|
// this.changeType()
|
|
57890
|
+
this.refreshFileList();
|
|
57891
|
+
},
|
|
57892
|
+
reportType: function reportType() {
|
|
57893
|
+
this.refreshFileList();
|
|
57894
|
+
},
|
|
57895
|
+
timeFileTypeOptions: {
|
|
57896
|
+
handler: function handler() {
|
|
57897
|
+
this.refreshFileList();
|
|
57898
|
+
},
|
|
57899
|
+
deep: true
|
|
57876
57900
|
}
|
|
57877
57901
|
},
|
|
57878
57902
|
created: function created() {
|
|
57903
|
+
this.refreshFileList();
|
|
57879
57904
|
this.getdept();
|
|
57880
57905
|
},
|
|
57881
57906
|
mounted: function mounted() {},
|
|
57882
57907
|
methods: {
|
|
57908
|
+
refreshFileList: function refreshFileList() {
|
|
57909
|
+
if (!(this.searchType === 1 && this.reportType === 'nw') && Array.isArray(this.timeFileTypeOptions) && this.timeFileTypeOptions.length > 0) {
|
|
57910
|
+
var allOption = {
|
|
57911
|
+
title: this.$tx('gwgl.portlet.all', '全部'),
|
|
57912
|
+
id: ''
|
|
57913
|
+
};
|
|
57914
|
+
var options = this.timeFileTypeOptions.filter(function (item) {
|
|
57915
|
+
return item && item.name;
|
|
57916
|
+
}).map(function (item) {
|
|
57917
|
+
return {
|
|
57918
|
+
title: item.name,
|
|
57919
|
+
id: item.name,
|
|
57920
|
+
raw: item
|
|
57921
|
+
};
|
|
57922
|
+
});
|
|
57923
|
+
this.fileList = [allOption].concat(_toConsumableArray(options));
|
|
57924
|
+
} else {
|
|
57925
|
+
this.fileList = this.defaultFileList;
|
|
57926
|
+
}
|
|
57927
|
+
},
|
|
57883
57928
|
changeDept: function changeDept(value) {
|
|
57884
57929
|
// if (value === undefined) return
|
|
57885
57930
|
var deptName = '';
|
|
@@ -57893,7 +57938,15 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57893
57938
|
});
|
|
57894
57939
|
},
|
|
57895
57940
|
changeType: function changeType() {
|
|
57896
|
-
|
|
57941
|
+
var _this = this;
|
|
57942
|
+
var picked = this.fileList.find(function (item) {
|
|
57943
|
+
return item && item.id === _this.selectType;
|
|
57944
|
+
});
|
|
57945
|
+
if (picked && picked.raw) {
|
|
57946
|
+
this.$emit('changeTypeData', picked.raw);
|
|
57947
|
+
} else {
|
|
57948
|
+
this.$emit('changeTypeData', this.selectType);
|
|
57949
|
+
}
|
|
57897
57950
|
},
|
|
57898
57951
|
changeTime: function changeTime() {
|
|
57899
57952
|
this.chooseDate = this.datearr;
|
|
@@ -57901,7 +57954,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57901
57954
|
},
|
|
57902
57955
|
// 获取部门
|
|
57903
57956
|
getdept: function getdept() {
|
|
57904
|
-
var
|
|
57957
|
+
var _this2 = this;
|
|
57905
57958
|
this.$http({
|
|
57906
57959
|
url: 'base/organMgr/findAllOrganByOrgCode',
|
|
57907
57960
|
method: 'GET',
|
|
@@ -57916,13 +57969,13 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57916
57969
|
return item.orgLevel === 2;
|
|
57917
57970
|
});
|
|
57918
57971
|
list.unshift({
|
|
57919
|
-
name:
|
|
57972
|
+
name: _this2.$tx('gwgl.tjbg.allDepart', '所有部门'),
|
|
57920
57973
|
id: ''
|
|
57921
57974
|
});
|
|
57922
|
-
|
|
57975
|
+
_this2.dept = list;
|
|
57923
57976
|
// this.$emit('dept', this.dept)
|
|
57924
57977
|
} else {
|
|
57925
|
-
|
|
57978
|
+
_this2.$message.error(res.message);
|
|
57926
57979
|
}
|
|
57927
57980
|
});
|
|
57928
57981
|
}
|
|
@@ -57930,9 +57983,9 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57930
57983
|
});
|
|
57931
57984
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=script&lang=js
|
|
57932
57985
|
/* harmony default export */ var components_DeptTimevue_type_script_lang_js = (DeptTimevue_type_script_lang_js);
|
|
57933
|
-
// 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/gwgl/src/tjbg/components/DeptTime.vue?vue&type=style&index=0&id=
|
|
57934
|
-
var
|
|
57935
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=style&index=0&id=
|
|
57986
|
+
// 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/gwgl/src/tjbg/components/DeptTime.vue?vue&type=style&index=0&id=7d2e190b&prod&scoped=true&lang=scss
|
|
57987
|
+
var DeptTimevue_type_style_index_0_id_7d2e190b_prod_scoped_true_lang_scss = __webpack_require__(5242);
|
|
57988
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=style&index=0&id=7d2e190b&prod&scoped=true&lang=scss
|
|
57936
57989
|
|
|
57937
57990
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue
|
|
57938
57991
|
|
|
@@ -57945,11 +57998,11 @@ var DeptTimevue_type_style_index_0_id_39239143_prod_scoped_true_lang_scss = __we
|
|
|
57945
57998
|
|
|
57946
57999
|
var DeptTime_component = normalizeComponent(
|
|
57947
58000
|
components_DeptTimevue_type_script_lang_js,
|
|
57948
|
-
|
|
57949
|
-
|
|
58001
|
+
DeptTimevue_type_template_id_7d2e190b_scoped_true_render,
|
|
58002
|
+
DeptTimevue_type_template_id_7d2e190b_scoped_true_staticRenderFns,
|
|
57950
58003
|
false,
|
|
57951
58004
|
null,
|
|
57952
|
-
"
|
|
58005
|
+
"7d2e190b",
|
|
57953
58006
|
null
|
|
57954
58007
|
|
|
57955
58008
|
)
|
|
@@ -58115,6 +58168,12 @@ var DataTable_component = normalizeComponent(
|
|
|
58115
58168
|
/* harmony default export */ var DataTable = (DataTable_component.exports);
|
|
58116
58169
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=script&lang=js
|
|
58117
58170
|
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); }
|
|
58171
|
+
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(); }
|
|
58172
|
+
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."); }
|
|
58173
|
+
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; } }
|
|
58174
|
+
function tjbgvue_type_script_lang_js_iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
58175
|
+
function tjbgvue_type_script_lang_js_arrayWithoutHoles(r) { if (Array.isArray(r)) return tjbgvue_type_script_lang_js_arrayLikeToArray(r); }
|
|
58176
|
+
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; }
|
|
58118
58177
|
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; }
|
|
58119
58178
|
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); }
|
|
58120
58179
|
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); }); }; }
|
|
@@ -58431,27 +58490,50 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58431
58490
|
loading: false,
|
|
58432
58491
|
// 数据加载状态
|
|
58433
58492
|
tooltipFormat: null,
|
|
58434
|
-
deptName: '所有部门'
|
|
58493
|
+
deptName: '所有部门',
|
|
58494
|
+
// 部门名称
|
|
58495
|
+
timeFileTypeOptions: [],
|
|
58496
|
+
timeFileTypeLoaded: false,
|
|
58497
|
+
selectedFileTypeItem: null
|
|
58435
58498
|
};
|
|
58436
58499
|
},
|
|
58437
58500
|
computed: {},
|
|
58438
58501
|
watch: {
|
|
58439
58502
|
searchType: function searchType(val) {
|
|
58440
|
-
|
|
58441
|
-
|
|
58442
|
-
|
|
58443
|
-
|
|
58444
|
-
|
|
58445
|
-
|
|
58446
|
-
|
|
58447
|
-
|
|
58448
|
-
|
|
58449
|
-
|
|
58450
|
-
|
|
58451
|
-
|
|
58452
|
-
|
|
58453
|
-
|
|
58454
|
-
|
|
58503
|
+
var _this = this;
|
|
58504
|
+
return tjbgvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/tjbgvue_type_script_lang_js_regeneratorRuntime().mark(function _callee() {
|
|
58505
|
+
return tjbgvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
58506
|
+
while (1) switch (_context.prev = _context.next) {
|
|
58507
|
+
case 0:
|
|
58508
|
+
_this.title = _this.titleList[_this.reportType].text;
|
|
58509
|
+
if ((_this.reportType === 'nw' || _this.reportType === 'bw') && val === 2) {
|
|
58510
|
+
_this.initDate('month');
|
|
58511
|
+
} else {
|
|
58512
|
+
_this.initDate('day');
|
|
58513
|
+
}
|
|
58514
|
+
if (!((_this.reportType === 'bwxl' || _this.reportType === 'cql') && _this.searchType === 2)) {
|
|
58515
|
+
_this.selectDept = '';
|
|
58516
|
+
_this.selectType = '';
|
|
58517
|
+
_this.selectedFileTypeItem = null;
|
|
58518
|
+
// this.deptName = '所有部门'
|
|
58519
|
+
_this.deptName = _this.$tx('gwgl.tjbg.allDepart', '所有部门');
|
|
58520
|
+
} else {
|
|
58521
|
+
_this.listTb[0].title = _this.$tx('gwgl.tjbg.name', '姓名');
|
|
58522
|
+
}
|
|
58523
|
+
if (_this.reportType === 'nw' && val === 1) {
|
|
58524
|
+
_context.next = 6;
|
|
58525
|
+
break;
|
|
58526
|
+
}
|
|
58527
|
+
_context.next = 6;
|
|
58528
|
+
return _this.loadTimeFileTypeOptions();
|
|
58529
|
+
case 6:
|
|
58530
|
+
_this.getReportList();
|
|
58531
|
+
case 7:
|
|
58532
|
+
case "end":
|
|
58533
|
+
return _context.stop();
|
|
58534
|
+
}
|
|
58535
|
+
}, _callee);
|
|
58536
|
+
}))();
|
|
58455
58537
|
}
|
|
58456
58538
|
},
|
|
58457
58539
|
created: function created() {
|
|
@@ -58496,6 +58578,119 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58496
58578
|
this.$bus.emit('showNavSearch', true); // 还原右上搜索按钮
|
|
58497
58579
|
},
|
|
58498
58580
|
methods: {
|
|
58581
|
+
flattenMenuItems: function flattenMenuItems(items) {
|
|
58582
|
+
var result = [];
|
|
58583
|
+
var stack = Array.isArray(items) ? tjbgvue_type_script_lang_js_toConsumableArray(items) : [];
|
|
58584
|
+
while (stack.length > 0) {
|
|
58585
|
+
var item = stack.shift();
|
|
58586
|
+
if (!item) continue;
|
|
58587
|
+
result.push(item);
|
|
58588
|
+
if (Array.isArray(item.children) && item.children.length > 0) {
|
|
58589
|
+
stack.push.apply(stack, tjbgvue_type_script_lang_js_toConsumableArray(item.children));
|
|
58590
|
+
}
|
|
58591
|
+
}
|
|
58592
|
+
return result;
|
|
58593
|
+
},
|
|
58594
|
+
resolveModuleByMenuItem: function resolveModuleByMenuItem(item) {
|
|
58595
|
+
var href = item && item.href ? String(item.href) : '';
|
|
58596
|
+
if (Number(item && item.leafType) === 4) {
|
|
58597
|
+
var match = href.match(/[?&]busiCode=([^&]+)/);
|
|
58598
|
+
if (match && match[1]) return decodeURIComponent(match[1]);
|
|
58599
|
+
}
|
|
58600
|
+
return href;
|
|
58601
|
+
},
|
|
58602
|
+
loadTimeFileTypeOptions: function loadTimeFileTypeOptions() {
|
|
58603
|
+
var _this2 = this;
|
|
58604
|
+
return tjbgvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/tjbgvue_type_script_lang_js_regeneratorRuntime().mark(function _callee2() {
|
|
58605
|
+
var res, response, list, flat;
|
|
58606
|
+
return tjbgvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
58607
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
58608
|
+
case 0:
|
|
58609
|
+
if (!_this2.timeFileTypeLoaded) {
|
|
58610
|
+
_context2.next = 2;
|
|
58611
|
+
break;
|
|
58612
|
+
}
|
|
58613
|
+
return _context2.abrupt("return");
|
|
58614
|
+
case 2:
|
|
58615
|
+
_context2.next = 4;
|
|
58616
|
+
return _this2.$http({
|
|
58617
|
+
method: 'GET',
|
|
58618
|
+
url: 'homepage/findAllCreateWflowMenu',
|
|
58619
|
+
params: {
|
|
58620
|
+
findType: 'menuItem',
|
|
58621
|
+
productCode: 'ecygwgl'
|
|
58622
|
+
}
|
|
58623
|
+
});
|
|
58624
|
+
case 4:
|
|
58625
|
+
res = _context2.sent;
|
|
58626
|
+
response = res && res.code ? res : res && res.data ? res.data : res;
|
|
58627
|
+
if (!(!response || response.code !== 'success')) {
|
|
58628
|
+
_context2.next = 8;
|
|
58629
|
+
break;
|
|
58630
|
+
}
|
|
58631
|
+
return _context2.abrupt("return");
|
|
58632
|
+
case 8:
|
|
58633
|
+
list = response.body && (response.body.listdata || response.body.data) || response.body || [];
|
|
58634
|
+
flat = _this2.flattenMenuItems(list);
|
|
58635
|
+
_this2.timeFileTypeOptions = flat.filter(function (item) {
|
|
58636
|
+
return (item.leafFlag === 1 || !item.children || item.children.length === 0) && item.name && item.href;
|
|
58637
|
+
}).map(function (item) {
|
|
58638
|
+
return {
|
|
58639
|
+
name: item.name,
|
|
58640
|
+
href: item.href,
|
|
58641
|
+
leafType: item.leafType
|
|
58642
|
+
};
|
|
58643
|
+
});
|
|
58644
|
+
_this2.timeFileTypeLoaded = true;
|
|
58645
|
+
case 12:
|
|
58646
|
+
case "end":
|
|
58647
|
+
return _context2.stop();
|
|
58648
|
+
}
|
|
58649
|
+
}, _callee2);
|
|
58650
|
+
}))();
|
|
58651
|
+
},
|
|
58652
|
+
getLegacyModuleByFileName: function getLegacyModuleByFileName(fileName) {
|
|
58653
|
+
var _module = '';
|
|
58654
|
+
switch (fileName) {
|
|
58655
|
+
case '':
|
|
58656
|
+
_module = 'fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg';
|
|
58657
|
+
break;
|
|
58658
|
+
case '单位发文':
|
|
58659
|
+
_module = 'fawen';
|
|
58660
|
+
break;
|
|
58661
|
+
case '部门收文':
|
|
58662
|
+
_module = 'shouwen';
|
|
58663
|
+
break;
|
|
58664
|
+
case '收文阅办':
|
|
58665
|
+
_module = 'shouwen';
|
|
58666
|
+
break;
|
|
58667
|
+
case '文件传阅':
|
|
58668
|
+
_module = 'wjcy';
|
|
58669
|
+
break;
|
|
58670
|
+
case '部门便函':
|
|
58671
|
+
_module = 'bmbh';
|
|
58672
|
+
break;
|
|
58673
|
+
case '意见征集':
|
|
58674
|
+
_module = 'yjzj';
|
|
58675
|
+
break;
|
|
58676
|
+
case '请示报告':
|
|
58677
|
+
_module = 'qsbg';
|
|
58678
|
+
break;
|
|
58679
|
+
default:
|
|
58680
|
+
_module = 'fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg';
|
|
58681
|
+
break;
|
|
58682
|
+
}
|
|
58683
|
+
return _module;
|
|
58684
|
+
},
|
|
58685
|
+
getAllTimeModules: function getAllTimeModules() {
|
|
58686
|
+
var _this3 = this;
|
|
58687
|
+
var modules = this.timeFileTypeOptions.map(function (item) {
|
|
58688
|
+
return _this3.resolveModuleByMenuItem(item);
|
|
58689
|
+
}).filter(function (m) {
|
|
58690
|
+
return m;
|
|
58691
|
+
});
|
|
58692
|
+
return Array.from(new Set(modules)).join(',');
|
|
58693
|
+
},
|
|
58499
58694
|
echartsClick: function echartsClick() {
|
|
58500
58695
|
return false;
|
|
58501
58696
|
},
|
|
@@ -58544,91 +58739,89 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58544
58739
|
}
|
|
58545
58740
|
},
|
|
58546
58741
|
getReportList: function getReportList() {
|
|
58547
|
-
var
|
|
58548
|
-
return tjbgvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/tjbgvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
58549
|
-
var _module, param, res;
|
|
58550
|
-
return tjbgvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
58551
|
-
while (1) switch (
|
|
58742
|
+
var _this4 = this;
|
|
58743
|
+
return tjbgvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/tjbgvue_type_script_lang_js_regeneratorRuntime().mark(function _callee3() {
|
|
58744
|
+
var fileName, _module, showFileType, picked, param, res;
|
|
58745
|
+
return tjbgvue_type_script_lang_js_regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
58746
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
58552
58747
|
case 0:
|
|
58748
|
+
fileName = _this4.selectType;
|
|
58553
58749
|
_module = '';
|
|
58554
|
-
|
|
58555
|
-
|
|
58750
|
+
showFileType = !(_this4.reportType === 'nw' && _this4.searchType === 1);
|
|
58751
|
+
if (!showFileType) {
|
|
58752
|
+
_context3.next = 11;
|
|
58753
|
+
break;
|
|
58754
|
+
}
|
|
58755
|
+
if (_this4.timeFileTypeLoaded) {
|
|
58756
|
+
_context3.next = 7;
|
|
58757
|
+
break;
|
|
58758
|
+
}
|
|
58759
|
+
_context3.next = 7;
|
|
58760
|
+
return _this4.loadTimeFileTypeOptions();
|
|
58761
|
+
case 7:
|
|
58762
|
+
picked = _this4.selectedFileTypeItem || _this4.timeFileTypeOptions.find(function (item) {
|
|
58763
|
+
return item.name === _this4.selectType;
|
|
58764
|
+
}) || null;
|
|
58765
|
+
if (picked) {
|
|
58766
|
+
fileName = picked.name;
|
|
58767
|
+
_module = _this4.resolveModuleByMenuItem(picked);
|
|
58768
|
+
} else if (_this4.selectType === '') {
|
|
58769
|
+
_module = _this4.timeFileTypeLoaded ? _this4.getAllTimeModules() : _this4.getLegacyModuleByFileName('');
|
|
58770
|
+
} else {
|
|
58771
|
+
_module = _this4.getLegacyModuleByFileName(_this4.selectType);
|
|
58772
|
+
}
|
|
58773
|
+
_context3.next = 12;
|
|
58556
58774
|
break;
|
|
58557
|
-
case
|
|
58558
|
-
_module =
|
|
58559
|
-
return _context.abrupt("break", 22);
|
|
58560
|
-
case 6:
|
|
58561
|
-
_module = 'fawen';
|
|
58562
|
-
return _context.abrupt("break", 22);
|
|
58563
|
-
case 8:
|
|
58564
|
-
_module = 'shouwen';
|
|
58565
|
-
return _context.abrupt("break", 22);
|
|
58566
|
-
case 10:
|
|
58567
|
-
_module = 'shouwen';
|
|
58568
|
-
return _context.abrupt("break", 22);
|
|
58775
|
+
case 11:
|
|
58776
|
+
_module = _this4.getLegacyModuleByFileName(_this4.selectType);
|
|
58569
58777
|
case 12:
|
|
58570
|
-
_module = 'wjcy';
|
|
58571
|
-
return _context.abrupt("break", 22);
|
|
58572
|
-
case 14:
|
|
58573
|
-
_module = 'bmbh';
|
|
58574
|
-
return _context.abrupt("break", 22);
|
|
58575
|
-
case 16:
|
|
58576
|
-
_module = 'yjzj';
|
|
58577
|
-
return _context.abrupt("break", 22);
|
|
58578
|
-
case 18:
|
|
58579
|
-
_module = 'qsbg';
|
|
58580
|
-
return _context.abrupt("break", 22);
|
|
58581
|
-
case 20:
|
|
58582
|
-
_module = 'fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg';
|
|
58583
|
-
return _context.abrupt("break", 22);
|
|
58584
|
-
case 22:
|
|
58585
58778
|
param = {
|
|
58586
|
-
deptId:
|
|
58587
|
-
endTime:
|
|
58588
|
-
startTime:
|
|
58779
|
+
deptId: _this4.selectDept,
|
|
58780
|
+
endTime: _this4.chooseDate[1],
|
|
58781
|
+
startTime: _this4.chooseDate[0],
|
|
58589
58782
|
// sysCode: this.$route.meta.sysCode,
|
|
58590
|
-
type:
|
|
58591
|
-
fileName:
|
|
58783
|
+
type: _this4.searchType,
|
|
58784
|
+
fileName: fileName,
|
|
58592
58785
|
module: _module
|
|
58593
58786
|
};
|
|
58594
|
-
|
|
58595
|
-
|
|
58596
|
-
|
|
58597
|
-
return
|
|
58598
|
-
case
|
|
58599
|
-
res =
|
|
58787
|
+
_this4.loading = true;
|
|
58788
|
+
_this4.listData = [];
|
|
58789
|
+
_context3.next = 17;
|
|
58790
|
+
return _this4.$app.listdata(_this4.url, param);
|
|
58791
|
+
case 17:
|
|
58792
|
+
res = _context3.sent;
|
|
58600
58793
|
if (res.code === 'success') {
|
|
58601
|
-
|
|
58794
|
+
_this4.mergeList(res.body.listdata);
|
|
58602
58795
|
}
|
|
58603
|
-
|
|
58604
|
-
case
|
|
58796
|
+
_this4.loading = false;
|
|
58797
|
+
case 20:
|
|
58605
58798
|
case "end":
|
|
58606
|
-
return
|
|
58799
|
+
return _context3.stop();
|
|
58607
58800
|
}
|
|
58608
|
-
},
|
|
58801
|
+
}, _callee3);
|
|
58609
58802
|
}))();
|
|
58610
58803
|
},
|
|
58611
58804
|
mergeList: function mergeList(arr) {
|
|
58612
|
-
var
|
|
58805
|
+
var _this5 = this;
|
|
58613
58806
|
var self = this;
|
|
58614
58807
|
var x = [];
|
|
58615
58808
|
var y = [];
|
|
58616
58809
|
arr.forEach(function (item) {
|
|
58617
|
-
if (
|
|
58618
|
-
if (
|
|
58810
|
+
if (_this5.reportType === 'nw' || _this5.reportType === 'bw') {
|
|
58811
|
+
if (_this5.searchType === 1) {
|
|
58619
58812
|
x.push(item.name);
|
|
58620
58813
|
y.push(item.num);
|
|
58621
|
-
} else if (
|
|
58814
|
+
} else if (_this5.searchType === 2) {
|
|
58622
58815
|
x.push(item.createDate);
|
|
58623
58816
|
y.push(item.num);
|
|
58624
58817
|
}
|
|
58625
58818
|
}
|
|
58626
|
-
if (
|
|
58819
|
+
if (_this5.reportType === 'bwxl') {
|
|
58627
58820
|
x.push(item.name);
|
|
58628
58821
|
y.push(JSON.parse(JSON.stringify(item.avgMinute)) / 60);
|
|
58629
|
-
item.avgMinute =
|
|
58822
|
+
item.avgMinute = _this5.mergeMinute(item.avgMinute);
|
|
58630
58823
|
}
|
|
58631
|
-
if (
|
|
58824
|
+
if (_this5.reportType === 'thl' || _this5.reportType === 'cql') {
|
|
58632
58825
|
x.push(item.name);
|
|
58633
58826
|
y.push((item.lv * 100).toFixed(2));
|
|
58634
58827
|
item.lv = (item.lv * 100).toFixed(2) + '%';
|
|
@@ -58712,7 +58905,20 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58712
58905
|
this.chooseDate = params;
|
|
58713
58906
|
},
|
|
58714
58907
|
changeTypeData: function changeTypeData(params) {
|
|
58715
|
-
|
|
58908
|
+
var _this6 = this;
|
|
58909
|
+
if (params && tjbgvue_type_script_lang_js_typeof(params) === 'object') {
|
|
58910
|
+
this.selectedFileTypeItem = params;
|
|
58911
|
+
this.selectType = params.name || '';
|
|
58912
|
+
} else {
|
|
58913
|
+
this.selectType = params;
|
|
58914
|
+
if (!(this.reportType === 'nw' && this.searchType === 1) && this.selectType) {
|
|
58915
|
+
this.selectedFileTypeItem = this.timeFileTypeOptions.find(function (item) {
|
|
58916
|
+
return item.name === _this6.selectType;
|
|
58917
|
+
}) || null;
|
|
58918
|
+
} else {
|
|
58919
|
+
this.selectedFileTypeItem = null;
|
|
58920
|
+
}
|
|
58921
|
+
}
|
|
58716
58922
|
},
|
|
58717
58923
|
tabClickHandler: function tabClickHandler(item) {
|
|
58718
58924
|
// if (this.searchType === item.type) return
|
|
@@ -58722,14 +58928,15 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58722
58928
|
this.yUnit = item.yUnit;
|
|
58723
58929
|
this.listTb = item.td;
|
|
58724
58930
|
this.selectType = '';
|
|
58931
|
+
this.selectedFileTypeItem = null;
|
|
58725
58932
|
}
|
|
58726
58933
|
}
|
|
58727
58934
|
});
|
|
58728
58935
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=script&lang=js
|
|
58729
58936
|
/* harmony default export */ var src_tjbgvue_type_script_lang_js = (tjbgvue_type_script_lang_js);
|
|
58730
|
-
// 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/gwgl/src/tjbg/index.vue?vue&type=style&index=0&id=
|
|
58731
|
-
var
|
|
58732
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=style&index=0&id=
|
|
58937
|
+
// 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/gwgl/src/tjbg/index.vue?vue&type=style&index=0&id=05a0bf9c&prod&scoped=true&lang=scss
|
|
58938
|
+
var tjbgvue_type_style_index_0_id_05a0bf9c_prod_scoped_true_lang_scss = __webpack_require__(3131);
|
|
58939
|
+
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=style&index=0&id=05a0bf9c&prod&scoped=true&lang=scss
|
|
58733
58940
|
|
|
58734
58941
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue
|
|
58735
58942
|
|
|
@@ -58742,11 +58949,11 @@ var tjbgvue_type_style_index_0_id_05c6b150_prod_scoped_true_lang_scss = __webpac
|
|
|
58742
58949
|
|
|
58743
58950
|
var tjbg_component = normalizeComponent(
|
|
58744
58951
|
src_tjbgvue_type_script_lang_js,
|
|
58745
|
-
|
|
58746
|
-
|
|
58952
|
+
tjbgvue_type_template_id_05a0bf9c_scoped_true_render,
|
|
58953
|
+
tjbgvue_type_template_id_05a0bf9c_scoped_true_staticRenderFns,
|
|
58747
58954
|
false,
|
|
58748
58955
|
null,
|
|
58749
|
-
"
|
|
58956
|
+
"05a0bf9c",
|
|
58750
58957
|
null
|
|
58751
58958
|
|
|
58752
58959
|
)
|