manage-client 3.3.90 → 3.3.93
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/.gradle/4.4/fileChanges/last-build.bin +0 -0
- package/.gradle/4.4/fileContent/fileContent.lock +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/libs/ManageClient-3.1.0-18.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +2 -0
- package/package.json +111 -111
- package/src/components/handReport/HandGaspropertiesReport.vue +190 -0
- package/src/components/handReport/HandPriceReport.vue +190 -0
- package/src/components/handReport/WebGastypeReport.vue +190 -0
- package/src/filiale/WEINAN/ManageCompanyGasDetail.vue +16 -4
- package/src/filiale/WEINAN/ManageCompanyGasManage.vue +6 -1
- package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +22 -10
- package/src/filiale/WEINAN/ManageSummaryReport.vue +20 -9
- package/src/filiale/yuansheng/DayReportList.vue +463 -470
- package/src/reportManage.js +723 -711
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=
|
|
1
|
+
#Wed Nov 01 18:50:38 CST 2023
|
|
2
|
+
gradle.version=4.4
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "manage-client",
|
|
3
|
-
"version": "3.3.
|
|
4
|
-
"description": "经营管控模块前台组件",
|
|
5
|
-
"main": "src/index.js",
|
|
6
|
-
"directories": {
|
|
7
|
-
"test": "test"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"crypto-js": "^4.1.1",
|
|
11
|
-
"swiper": "^5.4.5"
|
|
12
|
-
},
|
|
13
|
-
"devDependencies": {
|
|
14
|
-
"axios": "0.15.3",
|
|
15
|
-
"babel-core": "^6.0.0",
|
|
16
|
-
"babel-loader": "^6.0.0",
|
|
17
|
-
"babel-plugin-transform-runtime": "^6.0.0",
|
|
18
|
-
"babel-preset-es2015": "^6.0.0",
|
|
19
|
-
"babel-preset-stage-2": "^6.0.0",
|
|
20
|
-
"chai": "^3.5.0",
|
|
21
|
-
"co": "^4.6.0",
|
|
22
|
-
"connect-history-api-fallback": "^1.1.0",
|
|
23
|
-
"cross-env": "^1.0.7",
|
|
24
|
-
"cross-spawn": "^2.1.5",
|
|
25
|
-
"css-loader": "^0.23.0",
|
|
26
|
-
"echarts": "^4.1.0",
|
|
27
|
-
"eslint": "^2.0.0",
|
|
28
|
-
"eslint-config-standard": "^5.1.0",
|
|
29
|
-
"eslint-friendly-formatter": "^1.2.2",
|
|
30
|
-
"eslint-loader": "^1.3.0",
|
|
31
|
-
"eslint-plugin-html": "^1.3.0",
|
|
32
|
-
"eslint-plugin-promise": "^1.0.8",
|
|
33
|
-
"eslint-plugin-standard": "^1.3.2",
|
|
34
|
-
"eslint-plugin-vue": "^0.1.1",
|
|
35
|
-
"eventsource-polyfill": "^0.9.6",
|
|
36
|
-
"express": "^4.13.3",
|
|
37
|
-
"extract-text-webpack-plugin": "^1.0.1",
|
|
38
|
-
"filemanager-webpack-plugin": "^2.0.5",
|
|
39
|
-
"file-loader": "^0.8.4",
|
|
40
|
-
"function-bind": "^1.0.2",
|
|
41
|
-
"html-webpack-plugin": "^2.8.1",
|
|
42
|
-
"http-proxy-middleware": "^0.11.0",
|
|
43
|
-
"inject-loader": "^2.0.1",
|
|
44
|
-
"isparta-loader": "^2.0.0",
|
|
45
|
-
"jasmine-core": "^2.4.1",
|
|
46
|
-
"jquery": "^3.3.1",
|
|
47
|
-
"jsencrypt": "3.0.0-rc.1",
|
|
48
|
-
"json-loader": "^0.5.4",
|
|
49
|
-
"karma": "^1.4.1",
|
|
50
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
51
|
-
"karma-coverage": "^1.1.1",
|
|
52
|
-
"karma-mocha": "^1.3.0",
|
|
53
|
-
"karma-sinon-chai": "^1.3.1",
|
|
54
|
-
"karma-sourcemap-loader": "^0.3.7",
|
|
55
|
-
"karma-spec-reporter": "0.0.31",
|
|
56
|
-
"karma-webpack": "^2.0.2",
|
|
57
|
-
"ldap-clients": "3.0.7",
|
|
58
|
-
"less": "^2.7.3",
|
|
59
|
-
"mkdirp": "^0.5.1",
|
|
60
|
-
"mocha": "^3.2.0",
|
|
61
|
-
"moment": "2.24.0",
|
|
62
|
-
"ncp": "^2.0.0",
|
|
63
|
-
"rimraf": "^2.5.0",
|
|
64
|
-
"sale-client": "3.4.14",
|
|
65
|
-
"selenium-server": "2.52.0",
|
|
66
|
-
"sinon": "^2.1.0",
|
|
67
|
-
"sinon-chai": "^2.8.0",
|
|
68
|
-
"style": "0.0.3",
|
|
69
|
-
"style-loader": "^0.20.3",
|
|
70
|
-
"swiper": "^5.4.5",
|
|
71
|
-
"system-clients": "3.2.61",
|
|
72
|
-
"url-loader": "^0.5.7",
|
|
73
|
-
"vue-amap": "0.5.10",
|
|
74
|
-
"vue-client": "1.24.115",
|
|
75
|
-
"vue-hot-reload-api": "^1.2.0",
|
|
76
|
-
"vue-html-loader": "^1.0.0",
|
|
77
|
-
"vue-loader": "8.2.1",
|
|
78
|
-
"vue-resource": "^1.5.0",
|
|
79
|
-
"vue-router": "^0.7.13",
|
|
80
|
-
"vue-strap": "^1.0.9",
|
|
81
|
-
"vue-style-loader": "^1.0.0",
|
|
82
|
-
"vue-validator": "2.1.7",
|
|
83
|
-
"webpack": "1.12.2",
|
|
84
|
-
"webpack-dev-middleware": "^1.4.0",
|
|
85
|
-
"webpack-hot-middleware": "^2.6.0",
|
|
86
|
-
"webpack-merge": "^0.8.3",
|
|
87
|
-
"webpack-parallel-uglify-plugin": "^1.0.0"
|
|
88
|
-
},
|
|
89
|
-
"scripts": {
|
|
90
|
-
"unit": "karma start test/unit/karma.conf.js --single-run",
|
|
91
|
-
"example": "node build/example-server.js",
|
|
92
|
-
"dev": "node build/dev-server.js",
|
|
93
|
-
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
94
|
-
"oldbuild": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.oldprod.conf.js",
|
|
95
|
-
"build": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=saleManage webpack --progress --hide-modules --config build/webpack.prod.conf.js && cross-env VUE_APP_ENTRY=reportManage webpack --progress --hide-modules --config build/webpack.prod.conf.js && cross-env VUE_APP_BUILDEND=true VUE_APP_ENTRY=webmeterManage webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
96
|
-
"buildSaleManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=saleManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
97
|
-
"buildReportManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=reportManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
98
|
-
"buildWebmeterManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=webmeterManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
99
|
-
"e2e": "node test/e2e/runner.js",
|
|
100
|
-
"release": "bash build/release.sh"
|
|
101
|
-
},
|
|
102
|
-
"repository": {
|
|
103
|
-
"type": "git",
|
|
104
|
-
"url": "https://gitee.com/aote/management_modules.git"
|
|
105
|
-
},
|
|
106
|
-
"keywords": [
|
|
107
|
-
"manage"
|
|
108
|
-
],
|
|
109
|
-
"author": "liuxudong",
|
|
110
|
-
"license": "ISC"
|
|
111
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "manage-client",
|
|
3
|
+
"version": "3.3.93",
|
|
4
|
+
"description": "经营管控模块前台组件",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"directories": {
|
|
7
|
+
"test": "test"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"crypto-js": "^4.1.1",
|
|
11
|
+
"swiper": "^5.4.5"
|
|
12
|
+
},
|
|
13
|
+
"devDependencies": {
|
|
14
|
+
"axios": "0.15.3",
|
|
15
|
+
"babel-core": "^6.0.0",
|
|
16
|
+
"babel-loader": "^6.0.0",
|
|
17
|
+
"babel-plugin-transform-runtime": "^6.0.0",
|
|
18
|
+
"babel-preset-es2015": "^6.0.0",
|
|
19
|
+
"babel-preset-stage-2": "^6.0.0",
|
|
20
|
+
"chai": "^3.5.0",
|
|
21
|
+
"co": "^4.6.0",
|
|
22
|
+
"connect-history-api-fallback": "^1.1.0",
|
|
23
|
+
"cross-env": "^1.0.7",
|
|
24
|
+
"cross-spawn": "^2.1.5",
|
|
25
|
+
"css-loader": "^0.23.0",
|
|
26
|
+
"echarts": "^4.1.0",
|
|
27
|
+
"eslint": "^2.0.0",
|
|
28
|
+
"eslint-config-standard": "^5.1.0",
|
|
29
|
+
"eslint-friendly-formatter": "^1.2.2",
|
|
30
|
+
"eslint-loader": "^1.3.0",
|
|
31
|
+
"eslint-plugin-html": "^1.3.0",
|
|
32
|
+
"eslint-plugin-promise": "^1.0.8",
|
|
33
|
+
"eslint-plugin-standard": "^1.3.2",
|
|
34
|
+
"eslint-plugin-vue": "^0.1.1",
|
|
35
|
+
"eventsource-polyfill": "^0.9.6",
|
|
36
|
+
"express": "^4.13.3",
|
|
37
|
+
"extract-text-webpack-plugin": "^1.0.1",
|
|
38
|
+
"filemanager-webpack-plugin": "^2.0.5",
|
|
39
|
+
"file-loader": "^0.8.4",
|
|
40
|
+
"function-bind": "^1.0.2",
|
|
41
|
+
"html-webpack-plugin": "^2.8.1",
|
|
42
|
+
"http-proxy-middleware": "^0.11.0",
|
|
43
|
+
"inject-loader": "^2.0.1",
|
|
44
|
+
"isparta-loader": "^2.0.0",
|
|
45
|
+
"jasmine-core": "^2.4.1",
|
|
46
|
+
"jquery": "^3.3.1",
|
|
47
|
+
"jsencrypt": "3.0.0-rc.1",
|
|
48
|
+
"json-loader": "^0.5.4",
|
|
49
|
+
"karma": "^1.4.1",
|
|
50
|
+
"karma-chrome-launcher": "^2.2.0",
|
|
51
|
+
"karma-coverage": "^1.1.1",
|
|
52
|
+
"karma-mocha": "^1.3.0",
|
|
53
|
+
"karma-sinon-chai": "^1.3.1",
|
|
54
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
55
|
+
"karma-spec-reporter": "0.0.31",
|
|
56
|
+
"karma-webpack": "^2.0.2",
|
|
57
|
+
"ldap-clients": "3.0.7",
|
|
58
|
+
"less": "^2.7.3",
|
|
59
|
+
"mkdirp": "^0.5.1",
|
|
60
|
+
"mocha": "^3.2.0",
|
|
61
|
+
"moment": "2.24.0",
|
|
62
|
+
"ncp": "^2.0.0",
|
|
63
|
+
"rimraf": "^2.5.0",
|
|
64
|
+
"sale-client": "3.4.14",
|
|
65
|
+
"selenium-server": "2.52.0",
|
|
66
|
+
"sinon": "^2.1.0",
|
|
67
|
+
"sinon-chai": "^2.8.0",
|
|
68
|
+
"style": "0.0.3",
|
|
69
|
+
"style-loader": "^0.20.3",
|
|
70
|
+
"swiper": "^5.4.5",
|
|
71
|
+
"system-clients": "3.2.61",
|
|
72
|
+
"url-loader": "^0.5.7",
|
|
73
|
+
"vue-amap": "0.5.10",
|
|
74
|
+
"vue-client": "1.24.115",
|
|
75
|
+
"vue-hot-reload-api": "^1.2.0",
|
|
76
|
+
"vue-html-loader": "^1.0.0",
|
|
77
|
+
"vue-loader": "8.2.1",
|
|
78
|
+
"vue-resource": "^1.5.0",
|
|
79
|
+
"vue-router": "^0.7.13",
|
|
80
|
+
"vue-strap": "^1.0.9",
|
|
81
|
+
"vue-style-loader": "^1.0.0",
|
|
82
|
+
"vue-validator": "2.1.7",
|
|
83
|
+
"webpack": "1.12.2",
|
|
84
|
+
"webpack-dev-middleware": "^1.4.0",
|
|
85
|
+
"webpack-hot-middleware": "^2.6.0",
|
|
86
|
+
"webpack-merge": "^0.8.3",
|
|
87
|
+
"webpack-parallel-uglify-plugin": "^1.0.0"
|
|
88
|
+
},
|
|
89
|
+
"scripts": {
|
|
90
|
+
"unit": "karma start test/unit/karma.conf.js --single-run",
|
|
91
|
+
"example": "node build/example-server.js",
|
|
92
|
+
"dev": "node build/dev-server.js",
|
|
93
|
+
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
94
|
+
"oldbuild": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.oldprod.conf.js",
|
|
95
|
+
"build": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=saleManage webpack --progress --hide-modules --config build/webpack.prod.conf.js && cross-env VUE_APP_ENTRY=reportManage webpack --progress --hide-modules --config build/webpack.prod.conf.js && cross-env VUE_APP_BUILDEND=true VUE_APP_ENTRY=webmeterManage webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
96
|
+
"buildSaleManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=saleManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
97
|
+
"buildReportManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=reportManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
98
|
+
"buildWebmeterManage": "rimraf lib && mkdirp lib && cross-env VUE_APP_ENTRY=webmeterManage VUE_APP_SINGLE=true webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
99
|
+
"e2e": "node test/e2e/runner.js",
|
|
100
|
+
"release": "bash build/release.sh"
|
|
101
|
+
},
|
|
102
|
+
"repository": {
|
|
103
|
+
"type": "git",
|
|
104
|
+
"url": "https://gitee.com/aote/management_modules.git"
|
|
105
|
+
},
|
|
106
|
+
"keywords": [
|
|
107
|
+
"manage"
|
|
108
|
+
],
|
|
109
|
+
"author": "liuxudong",
|
|
110
|
+
"license": "ISC"
|
|
111
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group" >
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
+
v-model="model.endDate"
|
|
21
|
+
:value.sync="model.endDate"
|
|
22
|
+
:disabled-days-of-Week="[]"
|
|
23
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-sm-2 form-group">
|
|
28
|
+
<label class="font_normal_body"> 公司 </label>
|
|
29
|
+
<right-tree @re-res="$parent.$parent.getRes"></right-tree>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-2 form-group">
|
|
32
|
+
<label class="font_normal_body"> 部门 </label>
|
|
33
|
+
<res-select restype='department'
|
|
34
|
+
@res-select="$parent.$parent.getdep"
|
|
35
|
+
:parentresid ="$parent.$parent.depresid"
|
|
36
|
+
:initresid='$parent.$parent.depid'>
|
|
37
|
+
</res-select>
|
|
38
|
+
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<div style = "float:right;">
|
|
43
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
44
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
45
|
+
<report-excel id='gasprice'></report-excel>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</criteria>
|
|
50
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
51
|
+
<table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
|
|
52
|
+
<thead>
|
|
53
|
+
<tr>
|
|
54
|
+
<th colspan='3' style="font-weight: bold; text-align: left;">
|
|
55
|
+
<h3 style="text-align: center">抄表用气性质统计报表</h3>
|
|
56
|
+
</th>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr>
|
|
59
|
+
<th colspan='3' style="font-weight: normal; text-align: center;">
|
|
60
|
+
开始时间:{{model.model.startDate}}
|
|
61
|
+
结束时间:{{ model.model.endDate }}
|
|
62
|
+
</th>
|
|
63
|
+
</tr>
|
|
64
|
+
<tr>
|
|
65
|
+
<th colspan='3' style="font-weight: normal; text-align: center;">
|
|
66
|
+
打印时间:{{{$parent.printTime}}}
|
|
67
|
+
</th>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<th colspan='3' style="font-weight: normal; text-align: center;">
|
|
71
|
+
<div>
|
|
72
|
+
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
73
|
+
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
74
|
+
</div>
|
|
75
|
+
</th>
|
|
76
|
+
</tr>
|
|
77
|
+
</thead>
|
|
78
|
+
<tr>
|
|
79
|
+
<td colspan='3' style="font-weight: normal;" id="test">
|
|
80
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
81
|
+
</td>
|
|
82
|
+
</tr>
|
|
83
|
+
</table>
|
|
84
|
+
{{{ $parent.reportStr}}}
|
|
85
|
+
</div>
|
|
86
|
+
</criteria-paged>
|
|
87
|
+
</div>
|
|
88
|
+
</template>
|
|
89
|
+
|
|
90
|
+
<script>
|
|
91
|
+
import { DataModel } from 'vue-client'
|
|
92
|
+
import co from 'co'
|
|
93
|
+
export default {
|
|
94
|
+
title: '抄表用气性质统计报表',
|
|
95
|
+
props: ['data'],
|
|
96
|
+
data () {
|
|
97
|
+
return {
|
|
98
|
+
printTime: this.$login.toStandardTimeString(),
|
|
99
|
+
depresid: [],
|
|
100
|
+
userresid: [],
|
|
101
|
+
initres: {
|
|
102
|
+
org:[this.$login.f.orgid],
|
|
103
|
+
dep:[],
|
|
104
|
+
user:[]
|
|
105
|
+
},
|
|
106
|
+
f_public_group1: '',
|
|
107
|
+
f_orgid: this.$login.f.orgid,
|
|
108
|
+
f_depid: this.$login.f.depids,
|
|
109
|
+
f_operatorid: this.$login.f.id,
|
|
110
|
+
operatorid: [],
|
|
111
|
+
depid: [],
|
|
112
|
+
orgname: '',
|
|
113
|
+
depname: '',
|
|
114
|
+
operatorname: '',
|
|
115
|
+
orgCondtionStr: '1=1',
|
|
116
|
+
model: new DataModel('rs/report/HandGasproperties_hd',
|
|
117
|
+
{startDate: 'this.model.startDate',
|
|
118
|
+
endDate: 'this.model.endDate',
|
|
119
|
+
f_orgid: 'this.model.f_orgid'
|
|
120
|
+
}
|
|
121
|
+
),
|
|
122
|
+
reportStr: null,
|
|
123
|
+
show: false,
|
|
124
|
+
spans: ''
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
ready () {
|
|
128
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
129
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
130
|
+
// this.$refs.paged.$refs.criteria.search()
|
|
131
|
+
},
|
|
132
|
+
methods: {
|
|
133
|
+
searchData () {
|
|
134
|
+
this.$refs.paged.$refs.criteria.search()
|
|
135
|
+
},
|
|
136
|
+
selfSearch (args) {
|
|
137
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
138
|
+
let orgcondition = '1 = 1'
|
|
139
|
+
if (this.f_orgid[0]) {
|
|
140
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid}')`
|
|
141
|
+
}
|
|
142
|
+
if (this.f_depid[0]) {
|
|
143
|
+
orgcondition += ` and f_depid in ('${this.f_depid}')`
|
|
144
|
+
}
|
|
145
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
146
|
+
this.$refs.paged.search(args)
|
|
147
|
+
},
|
|
148
|
+
getRes (obj) {
|
|
149
|
+
this.orgname = obj.res[0]
|
|
150
|
+
this.depresid = obj.resids
|
|
151
|
+
this.f_orgid = obj.resids
|
|
152
|
+
},
|
|
153
|
+
getdep (obj, val) {
|
|
154
|
+
this.depname = val[0]
|
|
155
|
+
this.userresid = obj
|
|
156
|
+
this.f_depid = obj
|
|
157
|
+
},
|
|
158
|
+
getuser ( obj, val) {
|
|
159
|
+
this.operatorname = val[0]
|
|
160
|
+
this.f_operatorid = obj
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
watch: {
|
|
164
|
+
'data' (val) {
|
|
165
|
+
if (val.f_files_path) {
|
|
166
|
+
this.getFileContent(val.f_files_path)
|
|
167
|
+
} else {
|
|
168
|
+
this.reportStr = null
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
'model.data' (val) {
|
|
172
|
+
let tab = document.getElementById('test').children[0]
|
|
173
|
+
var tds = tab.getElementsByTagName('td')
|
|
174
|
+
var num = 0
|
|
175
|
+
for (let td of tds) {
|
|
176
|
+
let span = td.getAttribute('colspan')
|
|
177
|
+
num = num + ((span ? span : 1) - 0)
|
|
178
|
+
}
|
|
179
|
+
this.spans = num
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
computed: {
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
</script>
|
|
186
|
+
<style scoped>
|
|
187
|
+
.noborder{
|
|
188
|
+
border: none;
|
|
189
|
+
}
|
|
190
|
+
</style>
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group" >
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
+
v-model="model.endDate"
|
|
21
|
+
:value.sync="model.endDate"
|
|
22
|
+
:disabled-days-of-Week="[]"
|
|
23
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="col-sm-2 form-group">
|
|
28
|
+
<label class="font_normal_body"> 公司 </label>
|
|
29
|
+
<right-tree @re-res="$parent.$parent.getRes"></right-tree>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-2 form-group">
|
|
32
|
+
<label class="font_normal_body"> 部门 </label>
|
|
33
|
+
<res-select restype='department'
|
|
34
|
+
@res-select="$parent.$parent.getdep"
|
|
35
|
+
:parentresid ="$parent.$parent.depresid"
|
|
36
|
+
:initresid='$parent.$parent.depid'>
|
|
37
|
+
</res-select>
|
|
38
|
+
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<div style = "float:right;">
|
|
43
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
44
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
45
|
+
<report-excel id='gasprice'></report-excel>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</criteria>
|
|
50
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
51
|
+
<table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
|
|
52
|
+
<thead>
|
|
53
|
+
<tr>
|
|
54
|
+
<th colspan='6' style="font-weight: bold; text-align: left;">
|
|
55
|
+
<h3 style="text-align: center">抄表气价统计报表</h3>
|
|
56
|
+
</th>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr>
|
|
59
|
+
<th colspan='6' style="font-weight: normal; text-align: center;">
|
|
60
|
+
开始时间:{{model.model.startDate}}
|
|
61
|
+
结束时间:{{ model.model.endDate }}
|
|
62
|
+
</th>
|
|
63
|
+
</tr>
|
|
64
|
+
<tr>
|
|
65
|
+
<th colspan='6' style="font-weight: normal; text-align: center;">
|
|
66
|
+
打印时间:{{{$parent.printTime}}}
|
|
67
|
+
</th>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<th colspan='6' style="font-weight: normal; text-align: center;">
|
|
71
|
+
<div>
|
|
72
|
+
<span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
|
|
73
|
+
<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
|
|
74
|
+
</div>
|
|
75
|
+
</th>
|
|
76
|
+
</tr>
|
|
77
|
+
</thead>
|
|
78
|
+
<tr>
|
|
79
|
+
<td colspan='6' style="font-weight: normal;" id="test">
|
|
80
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
81
|
+
</td>
|
|
82
|
+
</tr>
|
|
83
|
+
</table>
|
|
84
|
+
{{{ $parent.reportStr}}}
|
|
85
|
+
</div>
|
|
86
|
+
</criteria-paged>
|
|
87
|
+
</div>
|
|
88
|
+
</template>
|
|
89
|
+
|
|
90
|
+
<script>
|
|
91
|
+
import { DataModel } from 'vue-client'
|
|
92
|
+
import co from 'co'
|
|
93
|
+
export default {
|
|
94
|
+
title: '抄表气价统计报表',
|
|
95
|
+
props: ['data'],
|
|
96
|
+
data () {
|
|
97
|
+
return {
|
|
98
|
+
printTime: this.$login.toStandardTimeString(),
|
|
99
|
+
depresid: [],
|
|
100
|
+
userresid: [],
|
|
101
|
+
initres: {
|
|
102
|
+
org:[this.$login.f.orgid],
|
|
103
|
+
dep:[],
|
|
104
|
+
user:[]
|
|
105
|
+
},
|
|
106
|
+
f_public_group1: '',
|
|
107
|
+
f_orgid: this.$login.f.orgid,
|
|
108
|
+
f_depid: this.$login.f.depids,
|
|
109
|
+
f_operatorid: this.$login.f.id,
|
|
110
|
+
operatorid: [],
|
|
111
|
+
depid: [],
|
|
112
|
+
orgname: '',
|
|
113
|
+
depname: '',
|
|
114
|
+
operatorname: '',
|
|
115
|
+
orgCondtionStr: '1=1',
|
|
116
|
+
model: new DataModel('rs/report/HandPrice_hd',
|
|
117
|
+
{startDate: 'this.model.startDate',
|
|
118
|
+
endDate: 'this.model.endDate',
|
|
119
|
+
f_orgid: 'this.model.f_orgid'
|
|
120
|
+
}
|
|
121
|
+
),
|
|
122
|
+
reportStr: null,
|
|
123
|
+
show: false,
|
|
124
|
+
spans: ''
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
ready () {
|
|
128
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
129
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
130
|
+
// this.$refs.paged.$refs.criteria.search()
|
|
131
|
+
},
|
|
132
|
+
methods: {
|
|
133
|
+
searchData () {
|
|
134
|
+
this.$refs.paged.$refs.criteria.search()
|
|
135
|
+
},
|
|
136
|
+
selfSearch (args) {
|
|
137
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
138
|
+
let orgcondition = '1 = 1'
|
|
139
|
+
if (this.f_orgid[0]) {
|
|
140
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid}')`
|
|
141
|
+
}
|
|
142
|
+
if (this.f_depid[0]) {
|
|
143
|
+
orgcondition += ` and f_depid in ('${this.f_depid}')`
|
|
144
|
+
}
|
|
145
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
146
|
+
this.$refs.paged.search(args)
|
|
147
|
+
},
|
|
148
|
+
getRes (obj) {
|
|
149
|
+
this.orgname = obj.res[0]
|
|
150
|
+
this.depresid = obj.resids
|
|
151
|
+
this.f_orgid = obj.resids
|
|
152
|
+
},
|
|
153
|
+
getdep (obj, val) {
|
|
154
|
+
this.depname = val[0]
|
|
155
|
+
this.userresid = obj
|
|
156
|
+
this.f_depid = obj
|
|
157
|
+
},
|
|
158
|
+
getuser ( obj, val) {
|
|
159
|
+
this.operatorname = val[0]
|
|
160
|
+
this.f_operatorid = obj
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
watch: {
|
|
164
|
+
'data' (val) {
|
|
165
|
+
if (val.f_files_path) {
|
|
166
|
+
this.getFileContent(val.f_files_path)
|
|
167
|
+
} else {
|
|
168
|
+
this.reportStr = null
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
'model.data' (val) {
|
|
172
|
+
let tab = document.getElementById('test').children[0]
|
|
173
|
+
var tds = tab.getElementsByTagName('td')
|
|
174
|
+
var num = 0
|
|
175
|
+
for (let td of tds) {
|
|
176
|
+
let span = td.getAttribute('colspan')
|
|
177
|
+
num = num + ((span ? span : 1) - 0)
|
|
178
|
+
}
|
|
179
|
+
this.spans = num
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
computed: {
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
</script>
|
|
186
|
+
<style scoped>
|
|
187
|
+
.noborder{
|
|
188
|
+
border: none;
|
|
189
|
+
}
|
|
190
|
+
</style>
|