manage-client 3.3.84-wn → 3.3.84
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/build/dev-server.js +2 -2
- package/package.json +111 -111
- package/src/components/webmeter/reportdata/ckhReportDataQuery.vue +275 -0
- package/src/filiale/WEINAN/ManageCompanyGasSummary.vue +30 -4
- package/src/filiale/WEINAN/ManageSummaryReport.vue +7 -6
- package/src/filiale/WEINAN/UserGasAll.vue +20 -19
- package/src/filiale/WEINAN/config/exportConfig.js +3 -1
- package/src/filiale/lixianV3/ChangeMeterQuery.vue +729 -0
- package/src/filiale/lixianV3/sale.js +4 -0
- package/src/filiale/qianneng/CKHWebHandplanQuery.vue +992 -0
- package/src/filiale/qianneng/CKHWebmeterQuery.vue +43 -0
- package/src/filiale/qianneng/sale.js +1 -0
- package/src/filiale/qianneng/webmeterManage.js +1 -0
- package/src/filiale/tongchuan/MeterQuery.vue +6 -0
- package/src/filiale/tongchuan/config/exportConfig.js +1 -1
- package/src/main.js +70 -70
- package/src/webmeterManage.js +2 -0
package/build/dev-server.js
CHANGED
|
@@ -19,9 +19,9 @@ var qtx= 'http://36.103.222.144:6300/'
|
|
|
19
19
|
// var bendi = 'http://203.57.101.233:8400/'
|
|
20
20
|
// var bendi = 'http://121.36.106.17:8400/'
|
|
21
21
|
// var fuwu = 'http://203.57.101.233:9001'
|
|
22
|
-
var bendi = 'http://
|
|
22
|
+
var bendi = 'http://192.168.50.4:8400/'
|
|
23
23
|
// var bendi = 'http://119.187.112.234:8400/'
|
|
24
|
-
var wode = 'http://
|
|
24
|
+
var wode = 'http://192.168.50.4:8400/'
|
|
25
25
|
// 192.168.
|
|
26
26
|
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
27
27
|
// var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
|
package/package.json
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "manage-client",
|
|
3
|
-
"version": "3.3.84
|
|
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.108",
|
|
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.84",
|
|
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.108",
|
|
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,275 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<div class="flex">
|
|
5
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
6
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
7
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-2 form-group">
|
|
10
|
+
<label class="font_normal_body">客户编号</label>
|
|
11
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
12
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-sm-2 form-group">
|
|
15
|
+
<label class="font_normal_body">客户名称</label>
|
|
16
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
17
|
+
condition=" f_user_name like '%{}%'" placeholder='客户名称'>
|
|
18
|
+
</div>
|
|
19
|
+
<!-- <div class="col-sm-2">-->
|
|
20
|
+
<!-- <label class="font_normal_body">组织机构</label>-->
|
|
21
|
+
<!-- <res-select :initresid="$parent.$parent.org"-->
|
|
22
|
+
<!-- style="width:60%"-->
|
|
23
|
+
<!-- @res-select="$parent.$parent.getorg"-->
|
|
24
|
+
<!-- restype='organization'>-->
|
|
25
|
+
<!-- </res-select>-->
|
|
26
|
+
|
|
27
|
+
<!-- </div>-->
|
|
28
|
+
<div class="col-sm-2">
|
|
29
|
+
<label class="font_normal_body"> 公司 </label>
|
|
30
|
+
<right-tree @re-res="$parent.$parent.getorg"
|
|
31
|
+
:initresid='$parent.$parent.org'></right-tree>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="span" style="float:right;">
|
|
34
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
35
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
36
|
+
<export-excel :data="$parent.$parent.getCondition" :footer="$parent.$parent.footer"
|
|
37
|
+
:field="$parent.$parent.getfield" :header="$parent.$parent.other"
|
|
38
|
+
sqlurl="rs/ckh/export" sql-name="ckh_getReportDataQuery" template-name='结算查询导出'
|
|
39
|
+
:choose-col="true"></export-excel>
|
|
40
|
+
<div style="float: right" class="button_spacing"
|
|
41
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
42
|
+
@click="$parent.$parent.hidden()"></div>
|
|
43
|
+
</div>
|
|
44
|
+
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
48
|
+
<div class="col-sm-2 form-group">
|
|
49
|
+
<label class="font_normal_body">表 号</label>
|
|
50
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
51
|
+
condition="f_meternumber like '%{}%'" placeholder='表号'>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="col-sm-2 form-group">
|
|
54
|
+
<label class="font_normal_body">气表品牌</label>
|
|
55
|
+
<v-select
|
|
56
|
+
placeholder='气表品牌'
|
|
57
|
+
:value.sync="model.f_meter_brand"
|
|
58
|
+
v-model="model.f_meter_brand"
|
|
59
|
+
:options='$parent.$parent.meterbrands'
|
|
60
|
+
close-on-select
|
|
61
|
+
condition="f_meter_brand='{}'">
|
|
62
|
+
</v-select>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="col-sm-2 form-group" >
|
|
65
|
+
<label class="font_normal_body">气表型号</label>
|
|
66
|
+
<v-select
|
|
67
|
+
placeholder='气表型号'
|
|
68
|
+
:value.sync="model.f_meter_style"
|
|
69
|
+
v-model="model.f_meter_style"
|
|
70
|
+
:options='$parent.$parent.metertypes'
|
|
71
|
+
close-on-select
|
|
72
|
+
condition="f_meter_style='{}'">
|
|
73
|
+
</v-select>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-sm-2 form-group">
|
|
76
|
+
<label for="startDate" class="font_normal_body">插入时间</label>
|
|
77
|
+
<datepicker id="startDate" placeholder="插入时间" style="width:60%"
|
|
78
|
+
v-model="model.startDate"
|
|
79
|
+
:value.sync="model.startDate"
|
|
80
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
81
|
+
:show-reset-button="true"
|
|
82
|
+
condition="f_insert_date >= '{}'">
|
|
83
|
+
</datepicker>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="col-sm-2 form-group">
|
|
86
|
+
<label for="endDate" class="font_normal_body"> 至 </label>
|
|
87
|
+
<datepicker id="endDate" placeholder="插入时间" style="width:60%"
|
|
88
|
+
v-model="model.endDate"
|
|
89
|
+
:value.sync="model.endDate"
|
|
90
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
91
|
+
:show-reset-button="true"
|
|
92
|
+
condition="f_insert_date <= '{}'">
|
|
93
|
+
</datepicker>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
</div>
|
|
98
|
+
</criteria>
|
|
99
|
+
|
|
100
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
101
|
+
<template partial='head'>
|
|
102
|
+
<tr>
|
|
103
|
+
<th v-for="row in $parent.$parent.$parent.headData">
|
|
104
|
+
<nobr>{{row}}</nobr>
|
|
105
|
+
</th>
|
|
106
|
+
</tr>
|
|
107
|
+
</template>
|
|
108
|
+
<template partial='body'>
|
|
109
|
+
<tr v-for="row in $parent.$parent.$parent.model.rows">
|
|
110
|
+
<td style="text-align: center;" v-for="item in $parent.$parent.$parent.config.fieldMapping">
|
|
111
|
+
<nobr v-if="item == 'f_lowlithiumbattery'">{{row[item] == 1 ? '是' : '否'}}</nobr>
|
|
112
|
+
<nobr v-if="item == 'f_magneticinterference'">{{row[item] == 1 ? '异常' : '正常'}}</nobr>
|
|
113
|
+
<nobr v-if="item != 'f_magneticinterference' && item != 'f_lowlithiumbattery'">{{row[item]}}</nobr>
|
|
114
|
+
</td>
|
|
115
|
+
</tr>
|
|
116
|
+
</template>
|
|
117
|
+
<template partial='foot'></template>
|
|
118
|
+
</data-grid>
|
|
119
|
+
</criteria-paged>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</template>
|
|
124
|
+
|
|
125
|
+
<script>
|
|
126
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
127
|
+
import tableConfig from './../../sale/config/tableConfig'
|
|
128
|
+
import exportConfig from '../../sale/config/exportConfig'
|
|
129
|
+
import plugins from '../../../plugins/GetLoginInfoService'
|
|
130
|
+
import plugin from 'system-clients/src/plugins/GetLoginInfoService'
|
|
131
|
+
|
|
132
|
+
let readySomething = async function (self) {
|
|
133
|
+
await self.$MagLoadParams.loadParam()
|
|
134
|
+
self.initParams()
|
|
135
|
+
// self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
136
|
+
}
|
|
137
|
+
export default {
|
|
138
|
+
title: '上报数据查询',
|
|
139
|
+
data() {
|
|
140
|
+
return {
|
|
141
|
+
other:[],
|
|
142
|
+
footer:[],
|
|
143
|
+
model: new PagedList('rs/ckh/ckh_getReportDataQuery', 20, {}),
|
|
144
|
+
criteriaShow: false,
|
|
145
|
+
config: {
|
|
146
|
+
fieldMapping: {
|
|
147
|
+
f_userinfo_code: '客户编号',
|
|
148
|
+
f_user_name: '客户名称'
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
WarningType: [
|
|
152
|
+
{label: '全部', value: ''}
|
|
153
|
+
],
|
|
154
|
+
Warningstyles: [
|
|
155
|
+
{label: '全部', value: ''}
|
|
156
|
+
],
|
|
157
|
+
styles:false,
|
|
158
|
+
headData: [],
|
|
159
|
+
bodyData: [],
|
|
160
|
+
orgCondtionStr: ` and f_filialeid in (' + ${this.$login.f.orgid}+')`,
|
|
161
|
+
resshow:['company'],
|
|
162
|
+
org:[this.$login.f.orgid],
|
|
163
|
+
meterbrands:[]
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
created () {
|
|
167
|
+
this.config.fieldMapping=tableConfig.ReportDataQuery
|
|
168
|
+
console.log("========================")
|
|
169
|
+
console.log(this.config.fieldMapping)
|
|
170
|
+
var item="用户编号"
|
|
171
|
+
console.log("~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
|
|
172
|
+
console.log(this.config.fieldMapping[item])
|
|
173
|
+
this.headData=Object.keys(this.config.fieldMapping)
|
|
174
|
+
// for(var i=0;i<this.config.fieldMapping;i++){
|
|
175
|
+
// this.headData.push(this.config.fieldMapping[i])
|
|
176
|
+
// }
|
|
177
|
+
|
|
178
|
+
},
|
|
179
|
+
ready() {
|
|
180
|
+
this.$refs.paged.$refs.cri.search()
|
|
181
|
+
readySomething(this).then(() => {
|
|
182
|
+
this.$emit('ready')
|
|
183
|
+
}).catch((error) => {
|
|
184
|
+
this.$emit('error', error)
|
|
185
|
+
})
|
|
186
|
+
},
|
|
187
|
+
methods: {
|
|
188
|
+
initParams() {
|
|
189
|
+
// 初始化气表品牌
|
|
190
|
+
let brandArr = []
|
|
191
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
192
|
+
let temp = {}
|
|
193
|
+
if(item.value.f_meter_type==='物联网表'){
|
|
194
|
+
temp.label = item.label
|
|
195
|
+
temp.value = item.value.f_meter_brand
|
|
196
|
+
brandArr.push(temp )
|
|
197
|
+
}
|
|
198
|
+
})
|
|
199
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
200
|
+
//初始化气表价格
|
|
201
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
202
|
+
},
|
|
203
|
+
showMeterStyle() {
|
|
204
|
+
this.styles = true
|
|
205
|
+
},
|
|
206
|
+
search() {
|
|
207
|
+
this.$refs.paged.$refs.cri.search()
|
|
208
|
+
},
|
|
209
|
+
async selfSearch(args) {
|
|
210
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
211
|
+
await this.model.search(args.condition, args.model)
|
|
212
|
+
// 查询到数据进行处理
|
|
213
|
+
// if (this.model.rows.length > 0) {
|
|
214
|
+
// this.bodyData = Object.keys(this.model.rows[0])
|
|
215
|
+
// }
|
|
216
|
+
},
|
|
217
|
+
getorg(obj) {
|
|
218
|
+
if (obj.resids.length>0) {
|
|
219
|
+
this.orgCondtionStr = " and f_filialeid in " + plugin.convertToIn(obj.resids)
|
|
220
|
+
}else
|
|
221
|
+
{
|
|
222
|
+
this.orgCondtionStr = " and f_filialeid = " + this.$login.f.orgid
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
// getorg(obj) {
|
|
226
|
+
// // if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
|
|
227
|
+
// // this.orgCondtionStr = " and f_filialeid in " + plugins.convertToIn(obj)
|
|
228
|
+
// // }else{
|
|
229
|
+
// // this.orgCondtionStr = " and f_filialeid = " + this.$login.f.orgid
|
|
230
|
+
// // }
|
|
231
|
+
// // this.orgname = obj.res
|
|
232
|
+
// },
|
|
233
|
+
clear() {
|
|
234
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
235
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
236
|
+
})
|
|
237
|
+
},
|
|
238
|
+
hidden() {
|
|
239
|
+
this.criteriaShow = !this.criteriaShow
|
|
240
|
+
},
|
|
241
|
+
|
|
242
|
+
// getRes(obj) {
|
|
243
|
+
// this.orgCondtionStr = obj
|
|
244
|
+
// }
|
|
245
|
+
getotherfooter () {
|
|
246
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
247
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
248
|
+
this.other = [];
|
|
249
|
+
this.footer = [];
|
|
250
|
+
let otherInData = [];
|
|
251
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
252
|
+
let footerData = []
|
|
253
|
+
this.footer.push(footerData);
|
|
254
|
+
this.other.push(otherInData);
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
watch: {
|
|
258
|
+
},
|
|
259
|
+
computed: {
|
|
260
|
+
metertypes() {
|
|
261
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
262
|
+
},
|
|
263
|
+
getCondition() {
|
|
264
|
+
return {
|
|
265
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
266
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
267
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
getfield() {
|
|
271
|
+
return exportConfig.ReportDataConfig
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
</script>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<div class="row" v-if="$parent.$parent.criteriaShow">
|
|
68
68
|
<res-select-group
|
|
69
69
|
:style="$parent.$parent.style"
|
|
70
|
-
:show-component="['company']"
|
|
70
|
+
:show-component="['company','slicearea']"
|
|
71
71
|
:initres="$parent.$parent.initres"
|
|
72
72
|
@re-res="$parent.$parent.getRes"
|
|
73
73
|
v-ref:sel
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
@change="$parent.$parent.userTypeChange()"
|
|
97
97
|
:value-single="true"
|
|
98
98
|
placeholder='请选择' v-model="model.f_user_type"
|
|
99
|
-
|
|
99
|
+
></v-select>
|
|
100
100
|
</div>
|
|
101
101
|
<div class="col-sm-2 form-group">
|
|
102
102
|
<label for="f_user_usetype" class="font_normal_body ">用气类型</label>
|
|
@@ -159,9 +159,15 @@
|
|
|
159
159
|
<th>
|
|
160
160
|
<nobr>期间用气量</nobr>
|
|
161
161
|
</th>
|
|
162
|
+
<th>
|
|
163
|
+
<nobr>期间用气金额</nobr>
|
|
164
|
+
</th>
|
|
162
165
|
<th>
|
|
163
166
|
<nobr>期间售气量</nobr>
|
|
164
167
|
</th>
|
|
168
|
+
<th>
|
|
169
|
+
<nobr>期间售气金额</nobr>
|
|
170
|
+
</th>
|
|
165
171
|
<th>
|
|
166
172
|
<nobr>表具数量</nobr>
|
|
167
173
|
</th>
|
|
@@ -180,9 +186,15 @@
|
|
|
180
186
|
<td style="text-align: center;">
|
|
181
187
|
<nobr>{{ row.f_oughtamount }}</nobr>
|
|
182
188
|
</td>
|
|
189
|
+
<td style="text-align: center;">
|
|
190
|
+
<nobr>{{ row.f_oughtfee }}</nobr>
|
|
191
|
+
</td>
|
|
183
192
|
<td style="text-align: center;">
|
|
184
193
|
<nobr>{{ row.f_pregas }}</nobr>
|
|
185
194
|
</td>
|
|
195
|
+
<td style="text-align: center;">
|
|
196
|
+
<nobr>{{ row.f_collection }}</nobr>
|
|
197
|
+
</td>
|
|
186
198
|
<td style="text-align: center;">
|
|
187
199
|
<nobr>{{ row.f_table_num }}</nobr>
|
|
188
200
|
</td>
|
|
@@ -198,9 +210,18 @@
|
|
|
198
210
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
199
211
|
用气量: {{ sumsmodel.f_oughtamount.toFixed(2) }}m³
|
|
200
212
|
</td>
|
|
213
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
214
|
+
用气金额: {{ sumsmodel.f_oughtfee.toFixed(2) }}元
|
|
215
|
+
</td>
|
|
201
216
|
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
202
217
|
售气量: {{ sumsmodel.f_pregas.toFixed(2) }}m³
|
|
203
218
|
</td>
|
|
219
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
220
|
+
售气金额: {{ sumsmodel.f_collection.toFixed(2) }}元
|
|
221
|
+
</td>
|
|
222
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
223
|
+
表具数量: {{ sumsmodel.f_table_num }}
|
|
224
|
+
</td>
|
|
204
225
|
</tr>
|
|
205
226
|
</table>
|
|
206
227
|
</div>
|
|
@@ -246,7 +267,10 @@ export default {
|
|
|
246
267
|
f_use_institution : 'this.model.f_use_institution'
|
|
247
268
|
}, {
|
|
248
269
|
f_oughtamount: 0,
|
|
249
|
-
|
|
270
|
+
f_oughtfee: 0,
|
|
271
|
+
f_pregas: 0,
|
|
272
|
+
f_collection: 0,
|
|
273
|
+
f_table_num: 0
|
|
250
274
|
}),
|
|
251
275
|
gasproperties: [],
|
|
252
276
|
show: false,
|
|
@@ -266,8 +290,9 @@ export default {
|
|
|
266
290
|
sumExport: { 'f_oughtamount': '期间用气量', 'f_pregas': '期间售气量'},
|
|
267
291
|
initres: {
|
|
268
292
|
org: [this.$login.f.orgid],
|
|
293
|
+
slice_area: [],
|
|
269
294
|
},
|
|
270
|
-
criteriaShow:
|
|
295
|
+
criteriaShow: true,
|
|
271
296
|
userusetypes: [],
|
|
272
297
|
useinstitutions: [],
|
|
273
298
|
userusenatures: [],
|
|
@@ -340,6 +365,7 @@ export default {
|
|
|
340
365
|
})
|
|
341
366
|
},
|
|
342
367
|
userTypeChange () {
|
|
368
|
+
console.log("======"+this.$refs.paged.$refs.cri.model.f_user_type)
|
|
343
369
|
this.userusetypes = []
|
|
344
370
|
this.userusenatures = []
|
|
345
371
|
this.useinstitutions = []
|