ecinc-cloud-yoagwgl 9.6.242 → 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/lang/es.js +1 -0
- package/lang/ja.js +1 -0
- package/lang/zhCN.js +2 -1
- package/lib/ecyoagwgl.common.js +320 -110
- package/lib/ecyoagwgl.umd.js +320 -110
- package/lib/ecyoagwgl.umd.min.js +5 -5
- package/package.json +1 -1
package/lib/ecyoagwgl.umd.js
CHANGED
|
@@ -998,6 +998,7 @@ module.exports = {
|
|
|
998
998
|
numberTemplate: '公文编号模板',
|
|
999
999
|
urgentLevel: '紧急程度配置',
|
|
1000
1000
|
gwTemplate: '公文模板配置',
|
|
1001
|
+
gwTypeTemplate: '文件类型配置',
|
|
1001
1002
|
cpbTemplate: '呈批表模板配置',
|
|
1002
1003
|
automaticArchiving: '自动归档设置',
|
|
1003
1004
|
archiveClassification: '归档分类管理',
|
|
@@ -1491,6 +1492,7 @@ module.exports = {
|
|
|
1491
1492
|
numberTemplate: '公文编号模板',
|
|
1492
1493
|
urgentLevel: '紧急程度配置',
|
|
1493
1494
|
gwTemplate: '公文模板配置',
|
|
1495
|
+
gwTypeTemplate: '文件类型配置',
|
|
1494
1496
|
cpbTemplate: '呈批表模板配置',
|
|
1495
1497
|
automaticArchiving: '自动归档设置',
|
|
1496
1498
|
archiveClassification: '归档分类管理',
|
|
@@ -1959,6 +1961,7 @@ module.exports = {
|
|
|
1959
1961
|
numberTemplate: '公文编号模板',
|
|
1960
1962
|
urgentLevel: '紧急程度配置',
|
|
1961
1963
|
gwTemplate: '公文模板配置',
|
|
1964
|
+
gwTypeTemplate: '文件类型配置',
|
|
1962
1965
|
cpbTemplate: '呈批表模板配置',
|
|
1963
1966
|
automaticArchiving: '自动归档设置',
|
|
1964
1967
|
archiveClassification: '归档分类管理',
|
|
@@ -2522,7 +2525,7 @@ module.exports = {
|
|
|
2522
2525
|
},
|
|
2523
2526
|
fwmb: {
|
|
2524
2527
|
//公文模板
|
|
2525
|
-
formTitle: '
|
|
2528
|
+
formTitle: '文件类型',
|
|
2526
2529
|
fields: {
|
|
2527
2530
|
sortNo: '排序号',
|
|
2528
2531
|
formTitle: '拟稿纸名称',
|
|
@@ -3360,7 +3363,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".svg-icon[data-v-5a28edde]{width:1em;h
|
|
|
3360
3363
|
|
|
3361
3364
|
/***/ }),
|
|
3362
3365
|
|
|
3363
|
-
/***/
|
|
3366
|
+
/***/ 3092:
|
|
3364
3367
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3365
3368
|
|
|
3366
3369
|
"use strict";
|
|
@@ -3374,14 +3377,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3374
3377
|
|
|
3375
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()));
|
|
3376
3379
|
// Module
|
|
3377
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".top-line[data-v-
|
|
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}", ""]);
|
|
3378
3381
|
// Exports
|
|
3379
3382
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
3380
3383
|
|
|
3381
3384
|
|
|
3382
3385
|
/***/ }),
|
|
3383
3386
|
|
|
3384
|
-
/***/
|
|
3387
|
+
/***/ 6645:
|
|
3385
3388
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3386
3389
|
|
|
3387
3390
|
"use strict";
|
|
@@ -3395,7 +3398,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3395
3398
|
|
|
3396
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()));
|
|
3397
3400
|
// Module
|
|
3398
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".echart-box[data-v-
|
|
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}", ""]);
|
|
3399
3402
|
// Exports
|
|
3400
3403
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
3401
3404
|
|
|
@@ -38509,35 +38512,35 @@ var update = add("16b14e5d", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
38509
38512
|
|
|
38510
38513
|
/***/ }),
|
|
38511
38514
|
|
|
38512
|
-
/***/
|
|
38515
|
+
/***/ 272:
|
|
38513
38516
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
38514
38517
|
|
|
38515
38518
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
38516
38519
|
|
|
38517
38520
|
// load the styles
|
|
38518
|
-
var content = __webpack_require__(
|
|
38521
|
+
var content = __webpack_require__(3092);
|
|
38519
38522
|
if(content.__esModule) content = content.default;
|
|
38520
38523
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
38521
38524
|
if(content.locals) module.exports = content.locals;
|
|
38522
38525
|
// add the styles to the DOM
|
|
38523
38526
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
38524
|
-
var update = add("
|
|
38527
|
+
var update = add("01b997db", content, true, {"sourceMap":false,"shadowMode":false});
|
|
38525
38528
|
|
|
38526
38529
|
/***/ }),
|
|
38527
38530
|
|
|
38528
|
-
/***/
|
|
38531
|
+
/***/ 1681:
|
|
38529
38532
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
38530
38533
|
|
|
38531
38534
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
38532
38535
|
|
|
38533
38536
|
// load the styles
|
|
38534
|
-
var content = __webpack_require__(
|
|
38537
|
+
var content = __webpack_require__(6645);
|
|
38535
38538
|
if(content.__esModule) content = content.default;
|
|
38536
38539
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
38537
38540
|
if(content.locals) module.exports = content.locals;
|
|
38538
38541
|
// add the styles to the DOM
|
|
38539
38542
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
38540
|
-
var update = add("
|
|
38543
|
+
var update = add("030ce7e8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
38541
38544
|
|
|
38542
38545
|
/***/ }),
|
|
38543
38546
|
|
|
@@ -57577,8 +57580,8 @@ var gdgz_component = normalizeComponent(
|
|
|
57577
57580
|
)
|
|
57578
57581
|
|
|
57579
57582
|
/* harmony default export */ var gdgz = (gdgz_component.exports);
|
|
57580
|
-
;// 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=
|
|
57581
|
-
var
|
|
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() {
|
|
57582
57585
|
var _vm = this,
|
|
57583
57586
|
_c = _vm._self._c;
|
|
57584
57587
|
return _c('div', {
|
|
@@ -57618,7 +57621,8 @@ var tjbgvue_type_template_id_05c6b150_scoped_true_render = function render() {
|
|
|
57618
57621
|
"select-type": _vm.selectType,
|
|
57619
57622
|
"datearr": _vm.chooseDate,
|
|
57620
57623
|
"report-type": _vm.reportType,
|
|
57621
|
-
"search-type": _vm.searchType
|
|
57624
|
+
"search-type": _vm.searchType,
|
|
57625
|
+
"time-file-type-options": _vm.timeFileTypeOptions
|
|
57622
57626
|
},
|
|
57623
57627
|
on: {
|
|
57624
57628
|
"changeTypeData": _vm.changeTypeData,
|
|
@@ -57679,10 +57683,10 @@ var tjbgvue_type_template_id_05c6b150_scoped_true_render = function render() {
|
|
|
57679
57683
|
}
|
|
57680
57684
|
}) : _vm._e()], 1)]);
|
|
57681
57685
|
};
|
|
57682
|
-
var
|
|
57686
|
+
var tjbgvue_type_template_id_05a0bf9c_scoped_true_staticRenderFns = [];
|
|
57683
57687
|
|
|
57684
|
-
;// 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=
|
|
57685
|
-
var
|
|
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() {
|
|
57686
57690
|
var _vm = this,
|
|
57687
57691
|
_c = _vm._self._c;
|
|
57688
57692
|
return _c('div', {
|
|
@@ -57801,12 +57805,24 @@ var DeptTimevue_type_template_id_39239143_scoped_true_render = function render()
|
|
|
57801
57805
|
}
|
|
57802
57806
|
})], 1)]);
|
|
57803
57807
|
};
|
|
57804
|
-
var
|
|
57808
|
+
var DeptTimevue_type_template_id_7d2e190b_scoped_true_staticRenderFns = [];
|
|
57805
57809
|
|
|
57806
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; }
|
|
57807
57817
|
/* harmony default export */ var DeptTimevue_type_script_lang_js = ({
|
|
57808
57818
|
components: {},
|
|
57809
57819
|
props: {
|
|
57820
|
+
timeFileTypeOptions: {
|
|
57821
|
+
type: Array,
|
|
57822
|
+
default: function _default() {
|
|
57823
|
+
return [];
|
|
57824
|
+
}
|
|
57825
|
+
},
|
|
57810
57826
|
reportType: {
|
|
57811
57827
|
type: String,
|
|
57812
57828
|
default: function _default() {
|
|
@@ -57843,7 +57859,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57843
57859
|
loginUser: this.$store.getters.loginUser,
|
|
57844
57860
|
selectDept: '',
|
|
57845
57861
|
chooseDate: [],
|
|
57846
|
-
|
|
57862
|
+
defaultFileList: [{
|
|
57847
57863
|
title: this.$tx('gwgl.portlet.all', '全部'),
|
|
57848
57864
|
id: ''
|
|
57849
57865
|
}, {
|
|
@@ -57868,6 +57884,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57868
57884
|
title: this.$tx('gwgl.portlet.requestInstructions', '请示报告'),
|
|
57869
57885
|
id: this.$tx('gwgl.portlet.requestInstructions', '请示报告')
|
|
57870
57886
|
}],
|
|
57887
|
+
fileList: [],
|
|
57871
57888
|
dept: [],
|
|
57872
57889
|
startT: '',
|
|
57873
57890
|
endT: ''
|
|
@@ -57880,13 +57897,44 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57880
57897
|
this.selectType = '';
|
|
57881
57898
|
// this.changeDept()
|
|
57882
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
|
|
57883
57910
|
}
|
|
57884
57911
|
},
|
|
57885
57912
|
created: function created() {
|
|
57913
|
+
this.refreshFileList();
|
|
57886
57914
|
this.getdept();
|
|
57887
57915
|
},
|
|
57888
57916
|
mounted: function mounted() {},
|
|
57889
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
|
+
},
|
|
57890
57938
|
changeDept: function changeDept(value) {
|
|
57891
57939
|
// if (value === undefined) return
|
|
57892
57940
|
var deptName = '';
|
|
@@ -57900,7 +57948,15 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57900
57948
|
});
|
|
57901
57949
|
},
|
|
57902
57950
|
changeType: function changeType() {
|
|
57903
|
-
|
|
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
|
+
}
|
|
57904
57960
|
},
|
|
57905
57961
|
changeTime: function changeTime() {
|
|
57906
57962
|
this.chooseDate = this.datearr;
|
|
@@ -57908,7 +57964,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57908
57964
|
},
|
|
57909
57965
|
// 获取部门
|
|
57910
57966
|
getdept: function getdept() {
|
|
57911
|
-
var
|
|
57967
|
+
var _this2 = this;
|
|
57912
57968
|
this.$http({
|
|
57913
57969
|
url: 'base/organMgr/findAllOrganByOrgCode',
|
|
57914
57970
|
method: 'GET',
|
|
@@ -57923,13 +57979,13 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57923
57979
|
return item.orgLevel === 2;
|
|
57924
57980
|
});
|
|
57925
57981
|
list.unshift({
|
|
57926
|
-
name:
|
|
57982
|
+
name: _this2.$tx('gwgl.tjbg.allDepart', '所有部门'),
|
|
57927
57983
|
id: ''
|
|
57928
57984
|
});
|
|
57929
|
-
|
|
57985
|
+
_this2.dept = list;
|
|
57930
57986
|
// this.$emit('dept', this.dept)
|
|
57931
57987
|
} else {
|
|
57932
|
-
|
|
57988
|
+
_this2.$message.error(res.message);
|
|
57933
57989
|
}
|
|
57934
57990
|
});
|
|
57935
57991
|
}
|
|
@@ -57937,9 +57993,9 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57937
57993
|
});
|
|
57938
57994
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=script&lang=js
|
|
57939
57995
|
/* harmony default export */ var components_DeptTimevue_type_script_lang_js = (DeptTimevue_type_script_lang_js);
|
|
57940
|
-
// 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=
|
|
57941
|
-
var
|
|
57942
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=style&index=0&id=
|
|
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
|
|
57943
57999
|
|
|
57944
58000
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue
|
|
57945
58001
|
|
|
@@ -57952,11 +58008,11 @@ var DeptTimevue_type_style_index_0_id_39239143_prod_scoped_true_lang_scss = __we
|
|
|
57952
58008
|
|
|
57953
58009
|
var DeptTime_component = normalizeComponent(
|
|
57954
58010
|
components_DeptTimevue_type_script_lang_js,
|
|
57955
|
-
|
|
57956
|
-
|
|
58011
|
+
DeptTimevue_type_template_id_7d2e190b_scoped_true_render,
|
|
58012
|
+
DeptTimevue_type_template_id_7d2e190b_scoped_true_staticRenderFns,
|
|
57957
58013
|
false,
|
|
57958
58014
|
null,
|
|
57959
|
-
"
|
|
58015
|
+
"7d2e190b",
|
|
57960
58016
|
null
|
|
57961
58017
|
|
|
57962
58018
|
)
|
|
@@ -58122,6 +58178,12 @@ var DataTable_component = normalizeComponent(
|
|
|
58122
58178
|
/* harmony default export */ var DataTable = (DataTable_component.exports);
|
|
58123
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
|
|
58124
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; }
|
|
58125
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; }
|
|
58126
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); }
|
|
58127
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); }); }; }
|
|
@@ -58438,27 +58500,50 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58438
58500
|
loading: false,
|
|
58439
58501
|
// 数据加载状态
|
|
58440
58502
|
tooltipFormat: null,
|
|
58441
|
-
deptName: '所有部门'
|
|
58503
|
+
deptName: '所有部门',
|
|
58504
|
+
// 部门名称
|
|
58505
|
+
timeFileTypeOptions: [],
|
|
58506
|
+
timeFileTypeLoaded: false,
|
|
58507
|
+
selectedFileTypeItem: null
|
|
58442
58508
|
};
|
|
58443
58509
|
},
|
|
58444
58510
|
computed: {},
|
|
58445
58511
|
watch: {
|
|
58446
58512
|
searchType: function searchType(val) {
|
|
58447
|
-
|
|
58448
|
-
|
|
58449
|
-
|
|
58450
|
-
|
|
58451
|
-
|
|
58452
|
-
|
|
58453
|
-
|
|
58454
|
-
|
|
58455
|
-
|
|
58456
|
-
|
|
58457
|
-
|
|
58458
|
-
|
|
58459
|
-
|
|
58460
|
-
|
|
58461
|
-
|
|
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
|
+
}))();
|
|
58462
58547
|
}
|
|
58463
58548
|
},
|
|
58464
58549
|
created: function created() {
|
|
@@ -58503,6 +58588,119 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58503
58588
|
this.$bus.emit('showNavSearch', true); // 还原右上搜索按钮
|
|
58504
58589
|
},
|
|
58505
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
|
+
},
|
|
58506
58704
|
echartsClick: function echartsClick() {
|
|
58507
58705
|
return false;
|
|
58508
58706
|
},
|
|
@@ -58551,91 +58749,89 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58551
58749
|
}
|
|
58552
58750
|
},
|
|
58553
58751
|
getReportList: function getReportList() {
|
|
58554
|
-
var
|
|
58555
|
-
return tjbgvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/tjbgvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
58556
|
-
var _module, param, res;
|
|
58557
|
-
return tjbgvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
58558
|
-
while (1) switch (
|
|
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) {
|
|
58559
58757
|
case 0:
|
|
58758
|
+
fileName = _this4.selectType;
|
|
58560
58759
|
_module = '';
|
|
58561
|
-
|
|
58562
|
-
|
|
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;
|
|
58563
58784
|
break;
|
|
58564
|
-
case
|
|
58565
|
-
_module =
|
|
58566
|
-
return _context.abrupt("break", 22);
|
|
58567
|
-
case 6:
|
|
58568
|
-
_module = 'fawen';
|
|
58569
|
-
return _context.abrupt("break", 22);
|
|
58570
|
-
case 8:
|
|
58571
|
-
_module = 'shouwen';
|
|
58572
|
-
return _context.abrupt("break", 22);
|
|
58573
|
-
case 10:
|
|
58574
|
-
_module = 'shouwen';
|
|
58575
|
-
return _context.abrupt("break", 22);
|
|
58785
|
+
case 11:
|
|
58786
|
+
_module = _this4.getLegacyModuleByFileName(_this4.selectType);
|
|
58576
58787
|
case 12:
|
|
58577
|
-
_module = 'wjcy';
|
|
58578
|
-
return _context.abrupt("break", 22);
|
|
58579
|
-
case 14:
|
|
58580
|
-
_module = 'bmbh';
|
|
58581
|
-
return _context.abrupt("break", 22);
|
|
58582
|
-
case 16:
|
|
58583
|
-
_module = 'yjzj';
|
|
58584
|
-
return _context.abrupt("break", 22);
|
|
58585
|
-
case 18:
|
|
58586
|
-
_module = 'qsbg';
|
|
58587
|
-
return _context.abrupt("break", 22);
|
|
58588
|
-
case 20:
|
|
58589
|
-
_module = 'fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg';
|
|
58590
|
-
return _context.abrupt("break", 22);
|
|
58591
|
-
case 22:
|
|
58592
58788
|
param = {
|
|
58593
|
-
deptId:
|
|
58594
|
-
endTime:
|
|
58595
|
-
startTime:
|
|
58789
|
+
deptId: _this4.selectDept,
|
|
58790
|
+
endTime: _this4.chooseDate[1],
|
|
58791
|
+
startTime: _this4.chooseDate[0],
|
|
58596
58792
|
// sysCode: this.$route.meta.sysCode,
|
|
58597
|
-
type:
|
|
58598
|
-
fileName:
|
|
58793
|
+
type: _this4.searchType,
|
|
58794
|
+
fileName: fileName,
|
|
58599
58795
|
module: _module
|
|
58600
58796
|
};
|
|
58601
|
-
|
|
58602
|
-
|
|
58603
|
-
|
|
58604
|
-
return
|
|
58605
|
-
case
|
|
58606
|
-
res =
|
|
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;
|
|
58607
58803
|
if (res.code === 'success') {
|
|
58608
|
-
|
|
58804
|
+
_this4.mergeList(res.body.listdata);
|
|
58609
58805
|
}
|
|
58610
|
-
|
|
58611
|
-
case
|
|
58806
|
+
_this4.loading = false;
|
|
58807
|
+
case 20:
|
|
58612
58808
|
case "end":
|
|
58613
|
-
return
|
|
58809
|
+
return _context3.stop();
|
|
58614
58810
|
}
|
|
58615
|
-
},
|
|
58811
|
+
}, _callee3);
|
|
58616
58812
|
}))();
|
|
58617
58813
|
},
|
|
58618
58814
|
mergeList: function mergeList(arr) {
|
|
58619
|
-
var
|
|
58815
|
+
var _this5 = this;
|
|
58620
58816
|
var self = this;
|
|
58621
58817
|
var x = [];
|
|
58622
58818
|
var y = [];
|
|
58623
58819
|
arr.forEach(function (item) {
|
|
58624
|
-
if (
|
|
58625
|
-
if (
|
|
58820
|
+
if (_this5.reportType === 'nw' || _this5.reportType === 'bw') {
|
|
58821
|
+
if (_this5.searchType === 1) {
|
|
58626
58822
|
x.push(item.name);
|
|
58627
58823
|
y.push(item.num);
|
|
58628
|
-
} else if (
|
|
58824
|
+
} else if (_this5.searchType === 2) {
|
|
58629
58825
|
x.push(item.createDate);
|
|
58630
58826
|
y.push(item.num);
|
|
58631
58827
|
}
|
|
58632
58828
|
}
|
|
58633
|
-
if (
|
|
58829
|
+
if (_this5.reportType === 'bwxl') {
|
|
58634
58830
|
x.push(item.name);
|
|
58635
58831
|
y.push(JSON.parse(JSON.stringify(item.avgMinute)) / 60);
|
|
58636
|
-
item.avgMinute =
|
|
58832
|
+
item.avgMinute = _this5.mergeMinute(item.avgMinute);
|
|
58637
58833
|
}
|
|
58638
|
-
if (
|
|
58834
|
+
if (_this5.reportType === 'thl' || _this5.reportType === 'cql') {
|
|
58639
58835
|
x.push(item.name);
|
|
58640
58836
|
y.push((item.lv * 100).toFixed(2));
|
|
58641
58837
|
item.lv = (item.lv * 100).toFixed(2) + '%';
|
|
@@ -58719,7 +58915,20 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58719
58915
|
this.chooseDate = params;
|
|
58720
58916
|
},
|
|
58721
58917
|
changeTypeData: function changeTypeData(params) {
|
|
58722
|
-
|
|
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
|
+
}
|
|
58723
58932
|
},
|
|
58724
58933
|
tabClickHandler: function tabClickHandler(item) {
|
|
58725
58934
|
// if (this.searchType === item.type) return
|
|
@@ -58729,14 +58938,15 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58729
58938
|
this.yUnit = item.yUnit;
|
|
58730
58939
|
this.listTb = item.td;
|
|
58731
58940
|
this.selectType = '';
|
|
58941
|
+
this.selectedFileTypeItem = null;
|
|
58732
58942
|
}
|
|
58733
58943
|
}
|
|
58734
58944
|
});
|
|
58735
58945
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=script&lang=js
|
|
58736
58946
|
/* harmony default export */ var src_tjbgvue_type_script_lang_js = (tjbgvue_type_script_lang_js);
|
|
58737
|
-
// 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=
|
|
58738
|
-
var
|
|
58739
|
-
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=style&index=0&id=
|
|
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
|
|
58740
58950
|
|
|
58741
58951
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue
|
|
58742
58952
|
|
|
@@ -58749,11 +58959,11 @@ var tjbgvue_type_style_index_0_id_05c6b150_prod_scoped_true_lang_scss = __webpac
|
|
|
58749
58959
|
|
|
58750
58960
|
var tjbg_component = normalizeComponent(
|
|
58751
58961
|
src_tjbgvue_type_script_lang_js,
|
|
58752
|
-
|
|
58753
|
-
|
|
58962
|
+
tjbgvue_type_template_id_05a0bf9c_scoped_true_render,
|
|
58963
|
+
tjbgvue_type_template_id_05a0bf9c_scoped_true_staticRenderFns,
|
|
58754
58964
|
false,
|
|
58755
58965
|
null,
|
|
58756
|
-
"
|
|
58966
|
+
"05a0bf9c",
|
|
58757
58967
|
null
|
|
58758
58968
|
|
|
58759
58969
|
)
|