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.common.js
CHANGED
|
@@ -988,6 +988,7 @@ module.exports = {
|
|
|
988
988
|
numberTemplate: '公文编号模板',
|
|
989
989
|
urgentLevel: '紧急程度配置',
|
|
990
990
|
gwTemplate: '公文模板配置',
|
|
991
|
+
gwTypeTemplate: '文件类型配置',
|
|
991
992
|
cpbTemplate: '呈批表模板配置',
|
|
992
993
|
automaticArchiving: '自动归档设置',
|
|
993
994
|
archiveClassification: '归档分类管理',
|
|
@@ -1481,6 +1482,7 @@ module.exports = {
|
|
|
1481
1482
|
numberTemplate: '公文编号模板',
|
|
1482
1483
|
urgentLevel: '紧急程度配置',
|
|
1483
1484
|
gwTemplate: '公文模板配置',
|
|
1485
|
+
gwTypeTemplate: '文件类型配置',
|
|
1484
1486
|
cpbTemplate: '呈批表模板配置',
|
|
1485
1487
|
automaticArchiving: '自动归档设置',
|
|
1486
1488
|
archiveClassification: '归档分类管理',
|
|
@@ -1949,6 +1951,7 @@ module.exports = {
|
|
|
1949
1951
|
numberTemplate: '公文编号模板',
|
|
1950
1952
|
urgentLevel: '紧急程度配置',
|
|
1951
1953
|
gwTemplate: '公文模板配置',
|
|
1954
|
+
gwTypeTemplate: '文件类型配置',
|
|
1952
1955
|
cpbTemplate: '呈批表模板配置',
|
|
1953
1956
|
automaticArchiving: '自动归档设置',
|
|
1954
1957
|
archiveClassification: '归档分类管理',
|
|
@@ -2512,7 +2515,7 @@ module.exports = {
|
|
|
2512
2515
|
},
|
|
2513
2516
|
fwmb: {
|
|
2514
2517
|
//公文模板
|
|
2515
|
-
formTitle: '
|
|
2518
|
+
formTitle: '文件类型',
|
|
2516
2519
|
fields: {
|
|
2517
2520
|
sortNo: '排序号',
|
|
2518
2521
|
formTitle: '拟稿纸名称',
|
|
@@ -3350,7 +3353,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".svg-icon[data-v-5a28edde]{width:1em;h
|
|
|
3350
3353
|
|
|
3351
3354
|
/***/ }),
|
|
3352
3355
|
|
|
3353
|
-
/***/
|
|
3356
|
+
/***/ 1796:
|
|
3354
3357
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3355
3358
|
|
|
3356
3359
|
"use strict";
|
|
@@ -3364,14 +3367,14 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3364
3367
|
|
|
3365
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()));
|
|
3366
3369
|
// Module
|
|
3367
|
-
___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}", ""]);
|
|
3368
3371
|
// Exports
|
|
3369
3372
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
3370
3373
|
|
|
3371
3374
|
|
|
3372
3375
|
/***/ }),
|
|
3373
3376
|
|
|
3374
|
-
/***/
|
|
3377
|
+
/***/ 4997:
|
|
3375
3378
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3376
3379
|
|
|
3377
3380
|
"use strict";
|
|
@@ -3385,7 +3388,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
3385
3388
|
|
|
3386
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()));
|
|
3387
3390
|
// Module
|
|
3388
|
-
___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}", ""]);
|
|
3389
3392
|
// Exports
|
|
3390
3393
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
3391
3394
|
|
|
@@ -38499,35 +38502,35 @@ var update = add("3fc91f19", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
38499
38502
|
|
|
38500
38503
|
/***/ }),
|
|
38501
38504
|
|
|
38502
|
-
/***/
|
|
38505
|
+
/***/ 5242:
|
|
38503
38506
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
38504
38507
|
|
|
38505
38508
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
38506
38509
|
|
|
38507
38510
|
// load the styles
|
|
38508
|
-
var content = __webpack_require__(
|
|
38511
|
+
var content = __webpack_require__(1796);
|
|
38509
38512
|
if(content.__esModule) content = content.default;
|
|
38510
38513
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
38511
38514
|
if(content.locals) module.exports = content.locals;
|
|
38512
38515
|
// add the styles to the DOM
|
|
38513
38516
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
38514
|
-
var update = add("
|
|
38517
|
+
var update = add("3ac66797", content, true, {"sourceMap":false,"shadowMode":false});
|
|
38515
38518
|
|
|
38516
38519
|
/***/ }),
|
|
38517
38520
|
|
|
38518
|
-
/***/
|
|
38521
|
+
/***/ 3131:
|
|
38519
38522
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
38520
38523
|
|
|
38521
38524
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
38522
38525
|
|
|
38523
38526
|
// load the styles
|
|
38524
|
-
var content = __webpack_require__(
|
|
38527
|
+
var content = __webpack_require__(4997);
|
|
38525
38528
|
if(content.__esModule) content = content.default;
|
|
38526
38529
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
38527
38530
|
if(content.locals) module.exports = content.locals;
|
|
38528
38531
|
// add the styles to the DOM
|
|
38529
38532
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
38530
|
-
var update = add("
|
|
38533
|
+
var update = add("7ef4e08c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
38531
38534
|
|
|
38532
38535
|
/***/ }),
|
|
38533
38536
|
|
|
@@ -57567,8 +57570,8 @@ var gdgz_component = normalizeComponent(
|
|
|
57567
57570
|
)
|
|
57568
57571
|
|
|
57569
57572
|
/* harmony default export */ var gdgz = (gdgz_component.exports);
|
|
57570
|
-
;// 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=
|
|
57571
|
-
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() {
|
|
57572
57575
|
var _vm = this,
|
|
57573
57576
|
_c = _vm._self._c;
|
|
57574
57577
|
return _c('div', {
|
|
@@ -57608,7 +57611,8 @@ var tjbgvue_type_template_id_05c6b150_scoped_true_render = function render() {
|
|
|
57608
57611
|
"select-type": _vm.selectType,
|
|
57609
57612
|
"datearr": _vm.chooseDate,
|
|
57610
57613
|
"report-type": _vm.reportType,
|
|
57611
|
-
"search-type": _vm.searchType
|
|
57614
|
+
"search-type": _vm.searchType,
|
|
57615
|
+
"time-file-type-options": _vm.timeFileTypeOptions
|
|
57612
57616
|
},
|
|
57613
57617
|
on: {
|
|
57614
57618
|
"changeTypeData": _vm.changeTypeData,
|
|
@@ -57669,10 +57673,10 @@ var tjbgvue_type_template_id_05c6b150_scoped_true_render = function render() {
|
|
|
57669
57673
|
}
|
|
57670
57674
|
}) : _vm._e()], 1)]);
|
|
57671
57675
|
};
|
|
57672
|
-
var
|
|
57676
|
+
var tjbgvue_type_template_id_05a0bf9c_scoped_true_staticRenderFns = [];
|
|
57673
57677
|
|
|
57674
|
-
;// 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=
|
|
57675
|
-
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() {
|
|
57676
57680
|
var _vm = this,
|
|
57677
57681
|
_c = _vm._self._c;
|
|
57678
57682
|
return _c('div', {
|
|
@@ -57791,12 +57795,24 @@ var DeptTimevue_type_template_id_39239143_scoped_true_render = function render()
|
|
|
57791
57795
|
}
|
|
57792
57796
|
})], 1)]);
|
|
57793
57797
|
};
|
|
57794
|
-
var
|
|
57798
|
+
var DeptTimevue_type_template_id_7d2e190b_scoped_true_staticRenderFns = [];
|
|
57795
57799
|
|
|
57796
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; }
|
|
57797
57807
|
/* harmony default export */ var DeptTimevue_type_script_lang_js = ({
|
|
57798
57808
|
components: {},
|
|
57799
57809
|
props: {
|
|
57810
|
+
timeFileTypeOptions: {
|
|
57811
|
+
type: Array,
|
|
57812
|
+
default: function _default() {
|
|
57813
|
+
return [];
|
|
57814
|
+
}
|
|
57815
|
+
},
|
|
57800
57816
|
reportType: {
|
|
57801
57817
|
type: String,
|
|
57802
57818
|
default: function _default() {
|
|
@@ -57833,7 +57849,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57833
57849
|
loginUser: this.$store.getters.loginUser,
|
|
57834
57850
|
selectDept: '',
|
|
57835
57851
|
chooseDate: [],
|
|
57836
|
-
|
|
57852
|
+
defaultFileList: [{
|
|
57837
57853
|
title: this.$tx('gwgl.portlet.all', '全部'),
|
|
57838
57854
|
id: ''
|
|
57839
57855
|
}, {
|
|
@@ -57858,6 +57874,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57858
57874
|
title: this.$tx('gwgl.portlet.requestInstructions', '请示报告'),
|
|
57859
57875
|
id: this.$tx('gwgl.portlet.requestInstructions', '请示报告')
|
|
57860
57876
|
}],
|
|
57877
|
+
fileList: [],
|
|
57861
57878
|
dept: [],
|
|
57862
57879
|
startT: '',
|
|
57863
57880
|
endT: ''
|
|
@@ -57870,13 +57887,44 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57870
57887
|
this.selectType = '';
|
|
57871
57888
|
// this.changeDept()
|
|
57872
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
|
|
57873
57900
|
}
|
|
57874
57901
|
},
|
|
57875
57902
|
created: function created() {
|
|
57903
|
+
this.refreshFileList();
|
|
57876
57904
|
this.getdept();
|
|
57877
57905
|
},
|
|
57878
57906
|
mounted: function mounted() {},
|
|
57879
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
|
+
},
|
|
57880
57928
|
changeDept: function changeDept(value) {
|
|
57881
57929
|
// if (value === undefined) return
|
|
57882
57930
|
var deptName = '';
|
|
@@ -57890,7 +57938,15 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57890
57938
|
});
|
|
57891
57939
|
},
|
|
57892
57940
|
changeType: function changeType() {
|
|
57893
|
-
|
|
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
|
+
}
|
|
57894
57950
|
},
|
|
57895
57951
|
changeTime: function changeTime() {
|
|
57896
57952
|
this.chooseDate = this.datearr;
|
|
@@ -57898,7 +57954,7 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57898
57954
|
},
|
|
57899
57955
|
// 获取部门
|
|
57900
57956
|
getdept: function getdept() {
|
|
57901
|
-
var
|
|
57957
|
+
var _this2 = this;
|
|
57902
57958
|
this.$http({
|
|
57903
57959
|
url: 'base/organMgr/findAllOrganByOrgCode',
|
|
57904
57960
|
method: 'GET',
|
|
@@ -57913,13 +57969,13 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57913
57969
|
return item.orgLevel === 2;
|
|
57914
57970
|
});
|
|
57915
57971
|
list.unshift({
|
|
57916
|
-
name:
|
|
57972
|
+
name: _this2.$tx('gwgl.tjbg.allDepart', '所有部门'),
|
|
57917
57973
|
id: ''
|
|
57918
57974
|
});
|
|
57919
|
-
|
|
57975
|
+
_this2.dept = list;
|
|
57920
57976
|
// this.$emit('dept', this.dept)
|
|
57921
57977
|
} else {
|
|
57922
|
-
|
|
57978
|
+
_this2.$message.error(res.message);
|
|
57923
57979
|
}
|
|
57924
57980
|
});
|
|
57925
57981
|
}
|
|
@@ -57927,9 +57983,9 @@ var DeptTimevue_type_template_id_39239143_scoped_true_staticRenderFns = [];
|
|
|
57927
57983
|
});
|
|
57928
57984
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue?vue&type=script&lang=js
|
|
57929
57985
|
/* harmony default export */ var components_DeptTimevue_type_script_lang_js = (DeptTimevue_type_script_lang_js);
|
|
57930
|
-
// 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=
|
|
57931
|
-
var
|
|
57932
|
-
;// 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
|
|
57933
57989
|
|
|
57934
57990
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/components/DeptTime.vue
|
|
57935
57991
|
|
|
@@ -57942,11 +57998,11 @@ var DeptTimevue_type_style_index_0_id_39239143_prod_scoped_true_lang_scss = __we
|
|
|
57942
57998
|
|
|
57943
57999
|
var DeptTime_component = normalizeComponent(
|
|
57944
58000
|
components_DeptTimevue_type_script_lang_js,
|
|
57945
|
-
|
|
57946
|
-
|
|
58001
|
+
DeptTimevue_type_template_id_7d2e190b_scoped_true_render,
|
|
58002
|
+
DeptTimevue_type_template_id_7d2e190b_scoped_true_staticRenderFns,
|
|
57947
58003
|
false,
|
|
57948
58004
|
null,
|
|
57949
|
-
"
|
|
58005
|
+
"7d2e190b",
|
|
57950
58006
|
null
|
|
57951
58007
|
|
|
57952
58008
|
)
|
|
@@ -58112,6 +58168,12 @@ var DataTable_component = normalizeComponent(
|
|
|
58112
58168
|
/* harmony default export */ var DataTable = (DataTable_component.exports);
|
|
58113
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
|
|
58114
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; }
|
|
58115
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; }
|
|
58116
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); }
|
|
58117
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); }); }; }
|
|
@@ -58428,27 +58490,50 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58428
58490
|
loading: false,
|
|
58429
58491
|
// 数据加载状态
|
|
58430
58492
|
tooltipFormat: null,
|
|
58431
|
-
deptName: '所有部门'
|
|
58493
|
+
deptName: '所有部门',
|
|
58494
|
+
// 部门名称
|
|
58495
|
+
timeFileTypeOptions: [],
|
|
58496
|
+
timeFileTypeLoaded: false,
|
|
58497
|
+
selectedFileTypeItem: null
|
|
58432
58498
|
};
|
|
58433
58499
|
},
|
|
58434
58500
|
computed: {},
|
|
58435
58501
|
watch: {
|
|
58436
58502
|
searchType: function searchType(val) {
|
|
58437
|
-
|
|
58438
|
-
|
|
58439
|
-
|
|
58440
|
-
|
|
58441
|
-
|
|
58442
|
-
|
|
58443
|
-
|
|
58444
|
-
|
|
58445
|
-
|
|
58446
|
-
|
|
58447
|
-
|
|
58448
|
-
|
|
58449
|
-
|
|
58450
|
-
|
|
58451
|
-
|
|
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
|
+
}))();
|
|
58452
58537
|
}
|
|
58453
58538
|
},
|
|
58454
58539
|
created: function created() {
|
|
@@ -58493,6 +58578,119 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58493
58578
|
this.$bus.emit('showNavSearch', true); // 还原右上搜索按钮
|
|
58494
58579
|
},
|
|
58495
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
|
+
},
|
|
58496
58694
|
echartsClick: function echartsClick() {
|
|
58497
58695
|
return false;
|
|
58498
58696
|
},
|
|
@@ -58541,91 +58739,89 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58541
58739
|
}
|
|
58542
58740
|
},
|
|
58543
58741
|
getReportList: function getReportList() {
|
|
58544
|
-
var
|
|
58545
|
-
return tjbgvue_type_script_lang_js_asyncToGenerator( /*#__PURE__*/tjbgvue_type_script_lang_js_regeneratorRuntime().mark(function
|
|
58546
|
-
var _module, param, res;
|
|
58547
|
-
return tjbgvue_type_script_lang_js_regeneratorRuntime().wrap(function
|
|
58548
|
-
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) {
|
|
58549
58747
|
case 0:
|
|
58748
|
+
fileName = _this4.selectType;
|
|
58550
58749
|
_module = '';
|
|
58551
|
-
|
|
58552
|
-
|
|
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;
|
|
58553
58774
|
break;
|
|
58554
|
-
case
|
|
58555
|
-
_module =
|
|
58556
|
-
return _context.abrupt("break", 22);
|
|
58557
|
-
case 6:
|
|
58558
|
-
_module = 'fawen';
|
|
58559
|
-
return _context.abrupt("break", 22);
|
|
58560
|
-
case 8:
|
|
58561
|
-
_module = 'shouwen';
|
|
58562
|
-
return _context.abrupt("break", 22);
|
|
58563
|
-
case 10:
|
|
58564
|
-
_module = 'shouwen';
|
|
58565
|
-
return _context.abrupt("break", 22);
|
|
58775
|
+
case 11:
|
|
58776
|
+
_module = _this4.getLegacyModuleByFileName(_this4.selectType);
|
|
58566
58777
|
case 12:
|
|
58567
|
-
_module = 'wjcy';
|
|
58568
|
-
return _context.abrupt("break", 22);
|
|
58569
|
-
case 14:
|
|
58570
|
-
_module = 'bmbh';
|
|
58571
|
-
return _context.abrupt("break", 22);
|
|
58572
|
-
case 16:
|
|
58573
|
-
_module = 'yjzj';
|
|
58574
|
-
return _context.abrupt("break", 22);
|
|
58575
|
-
case 18:
|
|
58576
|
-
_module = 'qsbg';
|
|
58577
|
-
return _context.abrupt("break", 22);
|
|
58578
|
-
case 20:
|
|
58579
|
-
_module = 'fawen,shouwen,wjcy,bmbh,yjzj,hytz,qsbg';
|
|
58580
|
-
return _context.abrupt("break", 22);
|
|
58581
|
-
case 22:
|
|
58582
58778
|
param = {
|
|
58583
|
-
deptId:
|
|
58584
|
-
endTime:
|
|
58585
|
-
startTime:
|
|
58779
|
+
deptId: _this4.selectDept,
|
|
58780
|
+
endTime: _this4.chooseDate[1],
|
|
58781
|
+
startTime: _this4.chooseDate[0],
|
|
58586
58782
|
// sysCode: this.$route.meta.sysCode,
|
|
58587
|
-
type:
|
|
58588
|
-
fileName:
|
|
58783
|
+
type: _this4.searchType,
|
|
58784
|
+
fileName: fileName,
|
|
58589
58785
|
module: _module
|
|
58590
58786
|
};
|
|
58591
|
-
|
|
58592
|
-
|
|
58593
|
-
|
|
58594
|
-
return
|
|
58595
|
-
case
|
|
58596
|
-
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;
|
|
58597
58793
|
if (res.code === 'success') {
|
|
58598
|
-
|
|
58794
|
+
_this4.mergeList(res.body.listdata);
|
|
58599
58795
|
}
|
|
58600
|
-
|
|
58601
|
-
case
|
|
58796
|
+
_this4.loading = false;
|
|
58797
|
+
case 20:
|
|
58602
58798
|
case "end":
|
|
58603
|
-
return
|
|
58799
|
+
return _context3.stop();
|
|
58604
58800
|
}
|
|
58605
|
-
},
|
|
58801
|
+
}, _callee3);
|
|
58606
58802
|
}))();
|
|
58607
58803
|
},
|
|
58608
58804
|
mergeList: function mergeList(arr) {
|
|
58609
|
-
var
|
|
58805
|
+
var _this5 = this;
|
|
58610
58806
|
var self = this;
|
|
58611
58807
|
var x = [];
|
|
58612
58808
|
var y = [];
|
|
58613
58809
|
arr.forEach(function (item) {
|
|
58614
|
-
if (
|
|
58615
|
-
if (
|
|
58810
|
+
if (_this5.reportType === 'nw' || _this5.reportType === 'bw') {
|
|
58811
|
+
if (_this5.searchType === 1) {
|
|
58616
58812
|
x.push(item.name);
|
|
58617
58813
|
y.push(item.num);
|
|
58618
|
-
} else if (
|
|
58814
|
+
} else if (_this5.searchType === 2) {
|
|
58619
58815
|
x.push(item.createDate);
|
|
58620
58816
|
y.push(item.num);
|
|
58621
58817
|
}
|
|
58622
58818
|
}
|
|
58623
|
-
if (
|
|
58819
|
+
if (_this5.reportType === 'bwxl') {
|
|
58624
58820
|
x.push(item.name);
|
|
58625
58821
|
y.push(JSON.parse(JSON.stringify(item.avgMinute)) / 60);
|
|
58626
|
-
item.avgMinute =
|
|
58822
|
+
item.avgMinute = _this5.mergeMinute(item.avgMinute);
|
|
58627
58823
|
}
|
|
58628
|
-
if (
|
|
58824
|
+
if (_this5.reportType === 'thl' || _this5.reportType === 'cql') {
|
|
58629
58825
|
x.push(item.name);
|
|
58630
58826
|
y.push((item.lv * 100).toFixed(2));
|
|
58631
58827
|
item.lv = (item.lv * 100).toFixed(2) + '%';
|
|
@@ -58709,7 +58905,20 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58709
58905
|
this.chooseDate = params;
|
|
58710
58906
|
},
|
|
58711
58907
|
changeTypeData: function changeTypeData(params) {
|
|
58712
|
-
|
|
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
|
+
}
|
|
58713
58922
|
},
|
|
58714
58923
|
tabClickHandler: function tabClickHandler(item) {
|
|
58715
58924
|
// if (this.searchType === item.type) return
|
|
@@ -58719,14 +58928,15 @@ var tjbgvue_type_script_lang_js_moment = __webpack_require__(5093);
|
|
|
58719
58928
|
this.yUnit = item.yUnit;
|
|
58720
58929
|
this.listTb = item.td;
|
|
58721
58930
|
this.selectType = '';
|
|
58931
|
+
this.selectedFileTypeItem = null;
|
|
58722
58932
|
}
|
|
58723
58933
|
}
|
|
58724
58934
|
});
|
|
58725
58935
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue?vue&type=script&lang=js
|
|
58726
58936
|
/* harmony default export */ var src_tjbgvue_type_script_lang_js = (tjbgvue_type_script_lang_js);
|
|
58727
|
-
// 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=
|
|
58728
|
-
var
|
|
58729
|
-
;// 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
|
|
58730
58940
|
|
|
58731
58941
|
;// CONCATENATED MODULE: ./packages/ecyoa/gwgl/src/tjbg/index.vue
|
|
58732
58942
|
|
|
@@ -58739,11 +58949,11 @@ var tjbgvue_type_style_index_0_id_05c6b150_prod_scoped_true_lang_scss = __webpac
|
|
|
58739
58949
|
|
|
58740
58950
|
var tjbg_component = normalizeComponent(
|
|
58741
58951
|
src_tjbgvue_type_script_lang_js,
|
|
58742
|
-
|
|
58743
|
-
|
|
58952
|
+
tjbgvue_type_template_id_05a0bf9c_scoped_true_render,
|
|
58953
|
+
tjbgvue_type_template_id_05a0bf9c_scoped_true_staticRenderFns,
|
|
58744
58954
|
false,
|
|
58745
58955
|
null,
|
|
58746
|
-
"
|
|
58956
|
+
"05a0bf9c",
|
|
58747
58957
|
null
|
|
58748
58958
|
|
|
58749
58959
|
)
|