manage-client 3.3.135 → 3.3.136-mx
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/package.json +111 -111
- package/src/components/sale/config/exportConfig.js +1 -1
- package/src/components/valueaddinfo/valueAddUserQuery.vue +1 -1
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +1 -1
- package/src/components/webmeter/report/ReportList.vue +5 -0
- package/src/filiale/lixianV3/HandplanQuery.vue +12 -0
- package/src/filiale/lixianV3/config/exportConfig.js +2 -0
- package/src/filiale/qianneng/HandplanQuery.vue +6 -0
- package/src/filiale/shanxian/UserQuery.vue +4 -4
- package/src/filiale/yuncheng/GasInspection.vue +596 -0
- package/src/filiale/yuncheng/config/exportConfig.js +1 -1
- package/src/filiale/yuncheng/sale.js +4 -0
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.123",
|
|
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.136-mx",
|
|
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.123",
|
|
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
|
+
}
|
|
@@ -674,7 +674,7 @@ export default{
|
|
|
674
674
|
},
|
|
675
675
|
ReportListConfig: {
|
|
676
676
|
'f_userinfo_code': '客户编号', 'f_meternumber': '表号', 'f_user_name': '客户姓名', 'f_user_phone': '客户电话', 'f_address': '客户地址',
|
|
677
|
-
'f_hand_date': '上报日期', 'f_jval': '表内剩余金额', 'f_tablebase': '本次抄表底数', 'f_valvestate': '阀门状态',
|
|
677
|
+
'f_hand_date': '上报日期', 'f_jval': '表内剩余金额', 'f_tablebase': '本次抄表底数', 'f_valvestate': '阀门状态', 'flowmetertemperature': '温度', 'flowmeterpressure': '压力',
|
|
678
678
|
'f_upload_type': '上报类型', 'f_insert_date': '系统接收时间', 'f_meterDebitAmt': '表内累计充值金额',
|
|
679
679
|
'f_signal': '噪音强度', 'f_snr': '信噪比', 'f_batterylevel': '电压', 'f_lowlithiumbattery': '电压状态', 'f_networkshutvalve': '阀门强制状态',
|
|
680
680
|
'f_wmprepaytype': '计量类型', 'f_moneystate': '金额状态', 'f_magneticInterference': '磁干扰异常', 'f_compensateState': '补偿状态'
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
<nobr>{{row.f_orgname}}</nobr>
|
|
161
161
|
</td>
|
|
162
162
|
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
163
|
-
<nobr>{{row.
|
|
163
|
+
<nobr>{{row.f_remark}}</nobr>
|
|
164
164
|
</td>
|
|
165
165
|
</template>
|
|
166
166
|
<template partial='foot'></template>
|
|
@@ -442,7 +442,7 @@
|
|
|
442
442
|
this.operators = []
|
|
443
443
|
this.$MagGetSaleParam.inputtors.forEach((res) => {
|
|
444
444
|
if(res.rolestr != null && res.rolestr!='' ){
|
|
445
|
-
if(
|
|
445
|
+
if( res.f_orgid == orgid) {
|
|
446
446
|
let temp = {
|
|
447
447
|
label :res.name,
|
|
448
448
|
value:res.name,
|
|
@@ -132,6 +132,9 @@
|
|
|
132
132
|
<th><nobr>本次抄表底数</nobr></th>
|
|
133
133
|
<th><nobr>阀门状态</nobr></th>
|
|
134
134
|
|
|
135
|
+
<th><nobr>温度</nobr></th>
|
|
136
|
+
<th><nobr>压力</nobr></th>
|
|
137
|
+
|
|
135
138
|
<th><nobr>上报类型</nobr></th>
|
|
136
139
|
<th><nobr>表内累计充值金额</nobr></th>
|
|
137
140
|
<th><nobr>信号强度</nobr></th>
|
|
@@ -157,6 +160,8 @@
|
|
|
157
160
|
<th style="text-align:center"><nobr>{{row.f_price}}</nobr></th>
|
|
158
161
|
<th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
|
|
159
162
|
<th style="text-align:center"><nobr>{{row.f_valvestate}}</nobr></th>
|
|
163
|
+
<th style="text-align:center"><nobr>{{row.flowmetertemperature}}</nobr></th>
|
|
164
|
+
<th style="text-align:center"><nobr>{{row.flowmeterpressure}}</nobr></th>
|
|
160
165
|
|
|
161
166
|
|
|
162
167
|
<th style="text-align:center"><nobr>{{row.f_upload_type}}</nobr></th>
|
|
@@ -351,6 +351,12 @@
|
|
|
351
351
|
<th>
|
|
352
352
|
<nobr>抄表员</nobr>
|
|
353
353
|
</th>
|
|
354
|
+
<th>
|
|
355
|
+
<nobr>用气性质</nobr>
|
|
356
|
+
</th>
|
|
357
|
+
<th>
|
|
358
|
+
<nobr>气表品牌</nobr>
|
|
359
|
+
</th>
|
|
354
360
|
<th>
|
|
355
361
|
<!-- <nobr>录入日期</nobr>-->
|
|
356
362
|
<data-order field="f_input_date" name="录入日期"
|
|
@@ -522,6 +528,12 @@
|
|
|
522
528
|
<td style="text-align: center;">
|
|
523
529
|
<nobr>{{row.f_inputtor}}</nobr>
|
|
524
530
|
</td>
|
|
531
|
+
<td style="text-align: center;">
|
|
532
|
+
<nobr>{{row.f_gasproperties}}</nobr>
|
|
533
|
+
</td>
|
|
534
|
+
<td style="text-align: center;">
|
|
535
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
536
|
+
</td>
|
|
525
537
|
<td style="text-align: center;">
|
|
526
538
|
<nobr>{{row.f_input_date}}</nobr>
|
|
527
539
|
</td>
|
|
@@ -483,6 +483,9 @@
|
|
|
483
483
|
<th>
|
|
484
484
|
<nobr>状态</nobr>
|
|
485
485
|
</th>
|
|
486
|
+
<th>
|
|
487
|
+
<nobr>是否单户抄表</nobr>
|
|
488
|
+
</th>
|
|
486
489
|
<th>
|
|
487
490
|
<nobr>下发人员</nobr>
|
|
488
491
|
</th>
|
|
@@ -646,6 +649,9 @@
|
|
|
646
649
|
<td style="text-align: center;">
|
|
647
650
|
<nobr>{{row.f_hand_state}}</nobr>
|
|
648
651
|
</td>
|
|
652
|
+
<td style="text-align: center;">
|
|
653
|
+
<nobr>{{row.f_isone == '是' ? '是': '否'}}</nobr>
|
|
654
|
+
</td>
|
|
649
655
|
<td style="text-align: center;">
|
|
650
656
|
<nobr>{{row.f_operator}}</nobr>
|
|
651
657
|
</td>
|
|
@@ -209,22 +209,22 @@
|
|
|
209
209
|
<!-- </div>-->
|
|
210
210
|
<div class="col-sm-2 form-group">
|
|
211
211
|
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
212
|
-
<datepicker id="startDate" placeholder="
|
|
212
|
+
<datepicker id="startDate" placeholder="开户日期" style="width:60%"
|
|
213
213
|
v-model="model.startDate"
|
|
214
214
|
:value.sync="model.startDate"
|
|
215
215
|
:format="'yyyy-MM-dd'"
|
|
216
216
|
:show-reset-button="true"
|
|
217
|
-
condition="
|
|
217
|
+
condition="f_open_date >= '{} 00:00:00'">
|
|
218
218
|
</datepicker>
|
|
219
219
|
</div>
|
|
220
220
|
<div class="col-sm-2 form-group">
|
|
221
221
|
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
222
|
-
<datepicker id="endDate" placeholder="
|
|
222
|
+
<datepicker id="endDate" placeholder="开户日期" style="width:60%"
|
|
223
223
|
v-model="model.endDate"
|
|
224
224
|
:value.sync="model.endDate"
|
|
225
225
|
:format="'yyyy-MM-dd'"
|
|
226
226
|
:show-reset-button="true"
|
|
227
|
-
condition="
|
|
227
|
+
condition="f_open_date <= '{} 23:59:59'">
|
|
228
228
|
</datepicker>
|
|
229
229
|
</div>
|
|
230
230
|
<!--表册片区-->
|
|
@@ -0,0 +1,596 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="flex" v-if="!show">
|
|
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
|
+
<right-tree @re-res="$parent.$parent.getorg"
|
|
12
|
+
:initresid='$parent.$parent.org'></right-tree>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
<div class="col-sm-2 form-group ">
|
|
16
|
+
<label for="startDate" class="font_normal_body">抄表开始 </label>
|
|
17
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
18
|
+
v-model="model.startDate"
|
|
19
|
+
style="width:60%"
|
|
20
|
+
:value.sync="model.startDate"
|
|
21
|
+
:disabled-days-of-Week="[]"
|
|
22
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
23
|
+
:show-reset-button="reset">
|
|
24
|
+
</datepicker>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="col-sm-2 form-group ">
|
|
27
|
+
<label for="startDate" class="font_normal_body">抄表结束 </label>
|
|
28
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
29
|
+
v-model="model.endDate"
|
|
30
|
+
style="width:60%"
|
|
31
|
+
:value.sync="model.endDate"
|
|
32
|
+
:disabled-days-of-Week="[]"
|
|
33
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
34
|
+
:show-reset-button="reset">
|
|
35
|
+
</datepicker>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div class="col-sm-2 form-group ">
|
|
39
|
+
<label for="f_gasproperties"class="font_normal_body">用气性质 </label>
|
|
40
|
+
<v-select id="f_gasproperties"
|
|
41
|
+
style="width:60%"
|
|
42
|
+
v-model="model.f_gasproperties"
|
|
43
|
+
placeholder='用气性质'
|
|
44
|
+
:value.sync="model.f_gasproperties"
|
|
45
|
+
:options='$parent.$parent.gasproperties'
|
|
46
|
+
condition="f_gasproperties = '{}'"
|
|
47
|
+
close-on-select >
|
|
48
|
+
</v-select>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<div class="span" style="float:right;">
|
|
52
|
+
<button class="btn button_search" @click="search()">查询</button>
|
|
53
|
+
<button class="btn button_clear" @click="$parent.$parent.clear()">清空</button>
|
|
54
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
55
|
+
:field="$parent.$parent.getfield"
|
|
56
|
+
:footer="$parent.$parent.footer"
|
|
57
|
+
:header="$parent.$parent.other"
|
|
58
|
+
sqlurl="rs/logic/exportfile"
|
|
59
|
+
:sql-name="$parent.$parent.sqlName"
|
|
60
|
+
template-name='用气稽查导出' :choose-col="true"></export-excel>
|
|
61
|
+
<print-data :model="$parent.model" :field="$parent.$parent.getfield" :defaultfield="$parent.$parent.defaultfield" print-name="稽查查询打印" :sumsmodel="$parent.$parent.sumsmodel" ></print-data>
|
|
62
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
63
|
+
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
67
|
+
<div class="col-sm-2 form-group">
|
|
68
|
+
<label class="font_normal_body">客户状态  </label>
|
|
69
|
+
<v-select :value.sync="model.f_user_state"
|
|
70
|
+
v-model="model.f_user_state"
|
|
71
|
+
:options='$parent.$parent.userstates' placeholder='请选择'
|
|
72
|
+
condition="f_user_state = '{}'"
|
|
73
|
+
close-on-select></v-select>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="col-sm-2 form-group">
|
|
76
|
+
<label class="font_normal_body">气表状态 </label>
|
|
77
|
+
<v-select :value.sync="model.f_table_state"
|
|
78
|
+
v-model="model.f_table_state"
|
|
79
|
+
:options='$parent.$parent.tablestate' placeholder='请选择'
|
|
80
|
+
condition="f_table_state = '{}'"
|
|
81
|
+
close-on-select></v-select>
|
|
82
|
+
</div>
|
|
83
|
+
<div class="col-sm-2 form-group">
|
|
84
|
+
<label class="font_normal_body">表  号 </label>
|
|
85
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
|
|
86
|
+
condition="f_meternumber = '{}'" placeholder='表号'>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="col-sm-2 form-group ">
|
|
89
|
+
<label class="font_normal_body">用户类型 </label>
|
|
90
|
+
<v-select :value.sync="model.f_user_type"
|
|
91
|
+
@change="$parent.$parent.userTypeChange()"
|
|
92
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
93
|
+
condition="f_user_type = '{}'"
|
|
94
|
+
close-on-select></v-select>
|
|
95
|
+
</div>
|
|
96
|
+
|
|
97
|
+
<div class="col-sm-2 form-group">
|
|
98
|
+
<label class="font_normal_body">客户名称 </label>
|
|
99
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
100
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
101
|
+
</div>
|
|
102
|
+
<div class="col-sm-2 form-group">
|
|
103
|
+
<label class="font_normal_body">客户编号 </label>
|
|
104
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
105
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
106
|
+
</div>
|
|
107
|
+
<div class="col-sm-2 form-group">
|
|
108
|
+
<label class="font_normal_body" title="旧客户编号">档案编号 </label>
|
|
109
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
|
|
110
|
+
condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
|
|
111
|
+
</div>
|
|
112
|
+
<div class="col-sm-2 form-group">
|
|
113
|
+
<label class="font_normal_body">表箱号  </label>
|
|
114
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_metertitles"
|
|
115
|
+
condition="f_metertitles = '{}'" placeholder="表箱号">
|
|
116
|
+
</div>
|
|
117
|
+
<div class="col-sm-2 form-group">
|
|
118
|
+
<label class="font_normal_body">客户地址 </label>
|
|
119
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
120
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
121
|
+
</div>
|
|
122
|
+
<div class="col-sm-2 form-group">
|
|
123
|
+
<label class="font_normal_body">客户电话 </label>
|
|
124
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
125
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
126
|
+
</div>
|
|
127
|
+
<div class="col-sm-2 form-group">
|
|
128
|
+
<label class="font_normal_body">气表品牌 </label>
|
|
129
|
+
<v-select :value.sync="model.f_meter_brand"
|
|
130
|
+
v-model="model.f_meter_brand"
|
|
131
|
+
:options='$parent.$parent.meterbrands' placeholder='请选择'
|
|
132
|
+
condition="f_meter_brand = '{}'"
|
|
133
|
+
close-on-select></v-select>
|
|
134
|
+
</div>
|
|
135
|
+
<div class="col-sm-2 form-group">
|
|
136
|
+
<label class="font_normal_body">表册片区 </label>
|
|
137
|
+
<v-select :value.sync="model.f_book_slice_area" v-model="model.f_book_slice_area"
|
|
138
|
+
:options='$parent.$parent.bookSlice' placeholder='片区/表册'
|
|
139
|
+
style="width:60%"
|
|
140
|
+
close-on-select
|
|
141
|
+
condition="f_book_slice_area = '{}'"></v-select>
|
|
142
|
+
</div>
|
|
143
|
+
<div class="col-sm-2 ">
|
|
144
|
+
<label for="f_meter_classify"class="font_normal_body">表类型  </label>
|
|
145
|
+
<v-select id="f_meter_classify"
|
|
146
|
+
v-model="model.meter_classify"
|
|
147
|
+
placeholder='表类型'
|
|
148
|
+
style="width:70%"
|
|
149
|
+
:value.sync="model.meter_classify"
|
|
150
|
+
:options='$parent.$parent.f_meter_classify'
|
|
151
|
+
condition="f_meter_classify like '%{}'"
|
|
152
|
+
:value-single="true"
|
|
153
|
+
close-on-select >
|
|
154
|
+
</v-select>
|
|
155
|
+
</div>
|
|
156
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
157
|
+
<label class="font_normal_body">欠费月数 </label>
|
|
158
|
+
<div class="row">
|
|
159
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_month_nummin"
|
|
160
|
+
placeholder="">
|
|
161
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
162
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_month_nummax"
|
|
163
|
+
placeholder="">
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
168
|
+
<label class="font_normal_body">欠费条数 </label>
|
|
169
|
+
<div class="row">
|
|
170
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_nummin"
|
|
171
|
+
placeholder="">
|
|
172
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
173
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_nummax"
|
|
174
|
+
placeholder="">
|
|
175
|
+
</div>
|
|
176
|
+
</div>
|
|
177
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
178
|
+
<label class="font_normal_body">总欠费气量</label>
|
|
179
|
+
<div class="row">
|
|
180
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_gasmin"
|
|
181
|
+
placeholder="">
|
|
182
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
183
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_gasmax"
|
|
184
|
+
placeholder="">
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
188
|
+
<label class="font_normal_body">总欠费金额</label>
|
|
189
|
+
<div class="row">
|
|
190
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_feemin"
|
|
191
|
+
placeholder="">
|
|
192
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
193
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.f_totalowe_feemax"
|
|
194
|
+
placeholder="">
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
198
|
+
<label class="font_normal_body">欠费月平均气量</label>
|
|
199
|
+
<div class="row">
|
|
200
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_avg_gasmin"
|
|
201
|
+
placeholder="">
|
|
202
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
203
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.qianfei_avg_gasmax"
|
|
204
|
+
placeholder="">
|
|
205
|
+
</div>
|
|
206
|
+
</div>
|
|
207
|
+
<div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
|
|
208
|
+
<label class="font_normal_body">用气量  </label>
|
|
209
|
+
<div class="row">
|
|
210
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.f_oughtamount_min"
|
|
211
|
+
placeholder="">
|
|
212
|
+
<label class="font_normal_body"> ≤ x ≤ </label>
|
|
213
|
+
<input type="text" style="width:30%" class="input_search" v-model="model.model.f_oughtamount_max"
|
|
214
|
+
placeholder="">
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
</div>
|
|
218
|
+
|
|
219
|
+
</div>
|
|
220
|
+
</criteria>
|
|
221
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
222
|
+
<template partial='head'>
|
|
223
|
+
<tr>
|
|
224
|
+
<th><nobr>序号</nobr></th>
|
|
225
|
+
<th><nobr>客户编号</nobr></th>
|
|
226
|
+
<th><nobr>客户电话</nobr></th>
|
|
227
|
+
<th><nobr>档案编号</nobr></th>
|
|
228
|
+
<th><nobr>表号</nobr></th>
|
|
229
|
+
<th><nobr>客户名称</nobr></th>
|
|
230
|
+
<th><nobr>地址</nobr></th>
|
|
231
|
+
<th><nobr>表箱号</nobr></th>
|
|
232
|
+
<th><nobr>用户类型</nobr></th>
|
|
233
|
+
<th><nobr>用气性质</nobr></th>
|
|
234
|
+
<th><nobr>表具状态</nobr></th>
|
|
235
|
+
<th><nobr>气表品牌</nobr></th>
|
|
236
|
+
<th><nobr>表册片区</nobr></th>
|
|
237
|
+
<th><nobr>当前表底数</nobr></th>
|
|
238
|
+
<th><nobr>最后抄表日期</nobr></th>
|
|
239
|
+
<th><nobr>温度</nobr></th>
|
|
240
|
+
<th><nobr>压力</nobr></th>
|
|
241
|
+
<th><nobr>用气量</nobr></th>
|
|
242
|
+
<th><nobr>用气金额</nobr></th>
|
|
243
|
+
<th><nobr>欠费月数</nobr></th>
|
|
244
|
+
<th><nobr>欠费条数</nobr></th>
|
|
245
|
+
<th><nobr>欠费月平均气量</nobr></th>
|
|
246
|
+
<th><nobr>欠费气量</nobr></th>
|
|
247
|
+
<th><nobr>欠费金额</nobr></th>
|
|
248
|
+
</tr>
|
|
249
|
+
</template>
|
|
250
|
+
<template partial='body'>
|
|
251
|
+
<td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
|
|
252
|
+
<td style="text-align: center;"><nobr>
|
|
253
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
254
|
+
</nobr> </td>
|
|
255
|
+
<td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
|
|
256
|
+
<td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
|
|
257
|
+
<td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
|
|
258
|
+
<th style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></th>
|
|
259
|
+
<th style="text-align: center;"><nobr>{{row.f_address}}</nobr></th>
|
|
260
|
+
<th style="text-align: center;"><nobr>{{row.f_metertitles}}</nobr></th>
|
|
261
|
+
<th style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></th>
|
|
262
|
+
<th style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></th>
|
|
263
|
+
<th style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></th>
|
|
264
|
+
<th style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></th>
|
|
265
|
+
<th style="text-align: center;"><nobr>{{row.f_book_slice_area}}</nobr></th>
|
|
266
|
+
<th style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></th>
|
|
267
|
+
<th style="text-align: center;"><nobr>{{row.end_time}}</nobr></th>
|
|
268
|
+
<th style="text-align:center"><nobr>{{row.flowmetertemperature}}</nobr></th>
|
|
269
|
+
<th style="text-align:center"><nobr>{{row.flowmeterpressure}}</nobr></th>
|
|
270
|
+
<th style="text-align: center;"><nobr>{{row.f_oughtamount}}</nobr></th>
|
|
271
|
+
<th style="text-align: center;"><nobr>{{row.f_oughtfee}}</nobr></th>
|
|
272
|
+
<th style="text-align: center;"><nobr>{{row.qianfei_month_num}}</nobr></th>
|
|
273
|
+
<th style="text-align: center;"><nobr>{{row.qianfei_num}}</nobr></th>
|
|
274
|
+
<th style="text-align: center;"><nobr>{{row.qianfei_avg_gas}}</nobr></th>
|
|
275
|
+
<th style="text-align: center;"><nobr>{{row.f_totalowe_gas}}</nobr></th>
|
|
276
|
+
<th style="text-align: center;"><nobr>{{row.f_totalowe_fee}}</nobr></th>
|
|
277
|
+
</template>
|
|
278
|
+
</data-grid>
|
|
279
|
+
</criteria-paged>
|
|
280
|
+
<table class="table-hover">
|
|
281
|
+
<tr style="position: relative" class="table-bordered">
|
|
282
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
|
|
283
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #f2f6fa;padding: 0px 10px 0px 10px;font-weight: bold">总用气量:  {{sumsmodel.f_oughtamount}}</td>
|
|
284
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总用气金额:  {{sumsmodel.f_oughtfee}}</td>
|
|
285
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费条数:  {{sumsmodel.qianfei_num}}</td>
|
|
286
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费气量: {{sumsmodel.f_totalowe_gas}}</td>
|
|
287
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总欠费金额: {{sumsmodel.f_totalowe_fee}}</td>
|
|
288
|
+
</tr>
|
|
289
|
+
</table>
|
|
290
|
+
</div>
|
|
291
|
+
<div class="flex" v-if="show">
|
|
292
|
+
<user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
|
|
293
|
+
</div>
|
|
294
|
+
</div></div>
|
|
295
|
+
</template>
|
|
296
|
+
<script>
|
|
297
|
+
/**
|
|
298
|
+
*用户档案查询列表以及添加操作组件
|
|
299
|
+
*/
|
|
300
|
+
import { PagedList } from 'vue-client'
|
|
301
|
+
import Vue from 'vue'
|
|
302
|
+
import plugin from 'system-clients/src/plugins/GetLoginInfoService'
|
|
303
|
+
import exportConfig from "./config/exportConfig";
|
|
304
|
+
|
|
305
|
+
let readySomething = async function (self) {
|
|
306
|
+
await self.$MagLoadParams.loadParam()
|
|
307
|
+
self.initParams()
|
|
308
|
+
self.initSlice(self.$login.f.orgid)
|
|
309
|
+
let year = new Date().getFullYear()
|
|
310
|
+
self.$refs.paged.$refs.cri.model.startDate = year+'-01-01 00:00:00'
|
|
311
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
312
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
313
|
+
}
|
|
314
|
+
export default {
|
|
315
|
+
title: '用气稽查',
|
|
316
|
+
data () {
|
|
317
|
+
return {
|
|
318
|
+
other:[],
|
|
319
|
+
footer:[],
|
|
320
|
+
org:[this.$login.f.orgid],
|
|
321
|
+
criteriaShow: false,
|
|
322
|
+
filialeNameStr: null,
|
|
323
|
+
filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
|
|
324
|
+
userid: this.$login.f.id,
|
|
325
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
|
326
|
+
model: new PagedList('rs/sql/getGasInspection', 50,{mycondition:'this.model.model.mycondition'},{
|
|
327
|
+
f_oughtamount:0,
|
|
328
|
+
f_oughtfee:0,
|
|
329
|
+
qianfei_num:0,
|
|
330
|
+
f_totalowe_gas:0,
|
|
331
|
+
f_totalowe_fee:0
|
|
332
|
+
}),
|
|
333
|
+
rows: null,
|
|
334
|
+
//orgid:'',
|
|
335
|
+
sumsmodel: {},
|
|
336
|
+
sqlName:'getGasInspection',
|
|
337
|
+
config: {
|
|
338
|
+
defaultPrint: ['f_userinfo_code','f_user_id']
|
|
339
|
+
},
|
|
340
|
+
show:false,
|
|
341
|
+
rowdata:{},
|
|
342
|
+
initres: {
|
|
343
|
+
org:[this.$login.f.orgid],
|
|
344
|
+
dep:[],
|
|
345
|
+
user:[],
|
|
346
|
+
},
|
|
347
|
+
// qianfei_month_nummin:null,
|
|
348
|
+
// qianfei_month_nummax:null,
|
|
349
|
+
// qianfei_nummin:null,
|
|
350
|
+
// qianfei_nummax:null,
|
|
351
|
+
// qianfei_avg_gasmin:null,
|
|
352
|
+
// qianfei_avg_gasmax:null,
|
|
353
|
+
// f_totalowe_feemin:null,
|
|
354
|
+
// f_totalowe_feemax:null,
|
|
355
|
+
// f_totalowe_gasmin:null,
|
|
356
|
+
// f_totalowe_gasmax:null,
|
|
357
|
+
mycondition:null,
|
|
358
|
+
defaultfield: [],
|
|
359
|
+
meterbrands: [],
|
|
360
|
+
// 表册片区
|
|
361
|
+
bookSlice:[]
|
|
362
|
+
}
|
|
363
|
+
},
|
|
364
|
+
watch:{
|
|
365
|
+
sumsmodel:{
|
|
366
|
+
handler: function(val) {
|
|
367
|
+
this.getotherfooter();
|
|
368
|
+
},
|
|
369
|
+
deep: true
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
ready () {
|
|
373
|
+
readySomething(this).then(() => {
|
|
374
|
+
this.$emit('ready')
|
|
375
|
+
}).catch((error) => {
|
|
376
|
+
this.$emit('error', error)
|
|
377
|
+
})
|
|
378
|
+
},
|
|
379
|
+
methods: {
|
|
380
|
+
// 初始化抄表册片区
|
|
381
|
+
async initSlice (val) {
|
|
382
|
+
if (val) {
|
|
383
|
+
let getAllArea = await this.$resetpost('/rs/search', {
|
|
384
|
+
source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
|
|
385
|
+
userid: this.$login.f.id
|
|
386
|
+
}, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
|
|
387
|
+
let arr = getAllArea.data.filter((res) => {
|
|
388
|
+
return res.parentid == val
|
|
389
|
+
})
|
|
390
|
+
this.bookSlice = [{label: '全部',value: ''}]
|
|
391
|
+
arr.forEach((res) => {
|
|
392
|
+
this.bookSlice.push({label: res.name, value: res.name})
|
|
393
|
+
})
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
initParams () {
|
|
397
|
+
// 初始化气表品牌
|
|
398
|
+
let brandArr = []
|
|
399
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
400
|
+
let temp = {}
|
|
401
|
+
temp.label = item.label
|
|
402
|
+
temp.value = item.value.f_meter_brand
|
|
403
|
+
brandArr.push(temp)
|
|
404
|
+
})
|
|
405
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
406
|
+
},
|
|
407
|
+
getotherfooter(){
|
|
408
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
409
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
410
|
+
this.other=[];
|
|
411
|
+
this.footer=[];
|
|
412
|
+
// let exportdata = this.$refs.paged.$refs.cri.model.model.mycondition;
|
|
413
|
+
let otherInData=[];
|
|
414
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
415
|
+
let footerData=[],exportfield=this.getfield;
|
|
416
|
+
footerData.push("合计");
|
|
417
|
+
let self = this;
|
|
418
|
+
for(var field in self.sumsmodel){
|
|
419
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
420
|
+
}
|
|
421
|
+
this.footer.push(footerData);
|
|
422
|
+
this.other.push(otherInData);
|
|
423
|
+
},
|
|
424
|
+
cancel() {
|
|
425
|
+
this.show = false
|
|
426
|
+
},
|
|
427
|
+
showmsg(obj){
|
|
428
|
+
this.rowdata=obj
|
|
429
|
+
this.show=true
|
|
430
|
+
},
|
|
431
|
+
async getorg (obj) {
|
|
432
|
+
console.log('组织变化',obj)
|
|
433
|
+
if(obj && obj.resids && obj.resids[0]){
|
|
434
|
+
this.initSlice(obj.resids[0])
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
if(obj.resids.length>0){
|
|
438
|
+
this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
|
|
439
|
+
}
|
|
440
|
+
else{
|
|
441
|
+
this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
|
|
442
|
+
}
|
|
443
|
+
},
|
|
444
|
+
userTypeChange () {
|
|
445
|
+
this.gasproperties=[]
|
|
446
|
+
if(this.$refs.paged.model.model !==null) {
|
|
447
|
+
this.$refs.paged.model.model.f_gasproperties=''
|
|
448
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.model.model.f_user_type[0])
|
|
449
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
450
|
+
console.log(this.gasproperties )
|
|
451
|
+
}
|
|
452
|
+
else{
|
|
453
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
search () {
|
|
457
|
+
this.$refs.paged.$refs.cri.search()
|
|
458
|
+
},
|
|
459
|
+
selfSearch (args) {
|
|
460
|
+
let a = " and 1=1 "
|
|
461
|
+
let m=this.$refs.paged.$refs.cri.model.model;
|
|
462
|
+
if(m.qianfei_month_nummin!=null && m.qianfei_month_nummin!=''){
|
|
463
|
+
a += " and qianfei_month_num >= "+this.$refs.paged.$refs.cri.model.model.qianfei_month_nummin
|
|
464
|
+
}
|
|
465
|
+
if(m.qianfei_month_nummax!=null&&m.qianfei_month_nummax!=''){
|
|
466
|
+
a+=' and qianfei_month_num <= '+this.$refs.paged.$refs.cri.model.model.qianfei_month_nummax
|
|
467
|
+
}
|
|
468
|
+
if(m.qianfei_nummin!=null&&m.qianfei_nummin!=''){
|
|
469
|
+
a += " and qianfei_num >= "+this.$refs.paged.$refs.cri.model.model.qianfei_nummin
|
|
470
|
+
}
|
|
471
|
+
if(m.qianfei_nummax!=null&&m.qianfei_nummax!=''){
|
|
472
|
+
a +=" and qianfei_num <= "+this.$refs.paged.$refs.cri.model.model.qianfei_nummax
|
|
473
|
+
}
|
|
474
|
+
if(m.qianfei_avg_gasmin!=null&&m.qianfei_avg_gasmin!=''){
|
|
475
|
+
a +=" and qianfei_avg_gas >= "+this.$refs.paged.$refs.cri.model.model.qianfei_avg_gasmin
|
|
476
|
+
}
|
|
477
|
+
if(m.qianfei_avg_gasmax!=null&&m.qianfei_avg_gasmax!=''){
|
|
478
|
+
a += " and qianfei_avg_gas <= "+this.$refs.paged.$refs.cri.model.model.qianfei_avg_gasmax
|
|
479
|
+
}
|
|
480
|
+
if(m.f_totalowe_feemin!=null&&m.f_totalowe_feemin!=''){
|
|
481
|
+
a += " and f_totalowe_fee >= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_feemin
|
|
482
|
+
}
|
|
483
|
+
if(m.f_totalowe_feemax!=null&&m.f_totalowe_feemax!=''){
|
|
484
|
+
a += " and f_totalowe_fee <= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_feemax
|
|
485
|
+
}
|
|
486
|
+
if(m.f_totalowe_gasmin!=null&&m.f_totalowe_gasmin!=''){
|
|
487
|
+
a += " and f_totalowe_gas >= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_gasmin
|
|
488
|
+
}
|
|
489
|
+
if(m.f_totalowe_gasmax!=null&&m.f_totalowe_gasmax!=''){
|
|
490
|
+
a += " and f_totalowe_gas <= "+this.$refs.paged.$refs.cri.model.model.f_totalowe_gasmax
|
|
491
|
+
}
|
|
492
|
+
if (m.f_oughtamount_min) {
|
|
493
|
+
a += " and f_oughtamount >= "+this.$refs.paged.$refs.cri.model.model.f_oughtamount_min
|
|
494
|
+
}
|
|
495
|
+
if (m.f_oughtamount_max) {
|
|
496
|
+
a += " and f_oughtamount <= "+this.$refs.paged.$refs.cri.model.model.f_oughtamount_max
|
|
497
|
+
}
|
|
498
|
+
if (m.f_book_slice_area) {
|
|
499
|
+
a += ` and f_book_slice_area = '${this.$refs.paged.$refs.cri.model.model.f_book_slice_area}'`
|
|
500
|
+
}
|
|
501
|
+
if(this.$refs.paged.$refs.cri.model.startDate){
|
|
502
|
+
this.model.params.startDate = `'${this.$refs.paged.$refs.cri.model.startDate}' `
|
|
503
|
+
}else{
|
|
504
|
+
this.model.params.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
if(this.$refs.paged.$refs.cri.model.endDate){
|
|
508
|
+
this.model.params.endDate = `'${this.$refs.paged.$refs.cri.model.endDate}' `
|
|
509
|
+
}else{
|
|
510
|
+
this.model.params.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
511
|
+
}
|
|
512
|
+
this.mycondition = a
|
|
513
|
+
args.condition = args.condition+ ` ${this.filialeCodeStr}`
|
|
514
|
+
args.condition = args.condition+ ` ${a}`
|
|
515
|
+
console.log("拼接的condition", args.condition, this.model)
|
|
516
|
+
this.model.search(args.condition, args.model)
|
|
517
|
+
},
|
|
518
|
+
hidden(){
|
|
519
|
+
this.criteriaShow = !this.criteriaShow
|
|
520
|
+
},
|
|
521
|
+
clear(){
|
|
522
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
523
|
+
if (key != 'startDate' && key != 'endDate')
|
|
524
|
+
if (key == 'model')
|
|
525
|
+
this.$refs.paged.$refs.cri.model[key] = {}
|
|
526
|
+
else
|
|
527
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
528
|
+
})
|
|
529
|
+
this.$refs.paged.$refs.cri.model.contain_newfile='是'
|
|
530
|
+
let year = new Date().getFullYear()
|
|
531
|
+
this.$refs.paged.$refs.cri.model.startDate = year+'-01-01'
|
|
532
|
+
this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
},
|
|
536
|
+
computed: {
|
|
537
|
+
userstates (){
|
|
538
|
+
return this.$appdata.getParam('用户状态') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')] : []
|
|
539
|
+
},
|
|
540
|
+
tablestate() {
|
|
541
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
|
|
542
|
+
},
|
|
543
|
+
getfield() {
|
|
544
|
+
return exportConfig.gasInspectionConfig
|
|
545
|
+
},
|
|
546
|
+
usertypes() {
|
|
547
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
548
|
+
},
|
|
549
|
+
gasproperties() {
|
|
550
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
|
|
551
|
+
},
|
|
552
|
+
f_meter_classify(){
|
|
553
|
+
return [{label: '全部', value: ''}, {label: '卡表', value: '卡表'},{label: '机表', value: '机表'},{label: '网表', value: '物联网表'} ]
|
|
554
|
+
// return [{label: '卡表', value: '卡表'}]
|
|
555
|
+
},
|
|
556
|
+
getCondition () {
|
|
557
|
+
let result = {
|
|
558
|
+
condition: '',
|
|
559
|
+
startDate: '',
|
|
560
|
+
endDate: '',
|
|
561
|
+
mycondition:''
|
|
562
|
+
}
|
|
563
|
+
result.condition = this.$refs.paged.$refs.cri.condition + this.filialeCodeStr
|
|
564
|
+
result.condition = result.condition + this.mycondition
|
|
565
|
+
let temp2 = this.$refs.paged.$refs.cri
|
|
566
|
+
if (temp2.model.startDate && temp2.model.endDate) {
|
|
567
|
+
result.startDate = ` '${temp2.model.startDate}'`
|
|
568
|
+
result.endDate = ` '${temp2.model.endDate}'`
|
|
569
|
+
} if (!temp2.model.startDate && !temp2.model.endDate) {
|
|
570
|
+
result.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
571
|
+
result.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
572
|
+
}
|
|
573
|
+
if (temp2.model.startDate&&!temp2.model.endDate) {
|
|
574
|
+
result.startDate = ` '${temp2.model.startDate}'`
|
|
575
|
+
result.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
576
|
+
} if (temp2.model.endDate&&!temp2.model.startDate) {
|
|
577
|
+
result.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
578
|
+
result.endDate = ` '${temp2.model.endDate}'`
|
|
579
|
+
}
|
|
580
|
+
if (temp2.model.contain_newfile==='否'){
|
|
581
|
+
result.condition = result.condition+" and f_open_date not between " + result.startDate + " and " + result.endDate
|
|
582
|
+
}
|
|
583
|
+
return result
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
</script>
|
|
588
|
+
<style media="screen">
|
|
589
|
+
.divtext {
|
|
590
|
+
min-width: 50px;
|
|
591
|
+
max-width: 200px;
|
|
592
|
+
border: 1px solid green;
|
|
593
|
+
display: inline-block;
|
|
594
|
+
}
|
|
595
|
+
</style>
|
|
596
|
+
|
|
@@ -737,7 +737,7 @@ export default{
|
|
|
737
737
|
},
|
|
738
738
|
gasInspectionConfig: {'f_userinfo_code': '客户编号','f_user_phone': '客户电话', 'f_olduserinfo_code': '档案编号', 'f_meternumber': '表号', 'f_user_name': '客户名称',
|
|
739
739
|
'f_address': '地址', 'f_metertitles': '表箱号', 'f_user_type': '用户类型', 'f_gasproperties': '用气性质', 'f_table_state': '表具状态',
|
|
740
|
-
'f_meter_brand': '气表品牌', 'f_book_slice_area': '表册片区', 'end_time': '最后抄表日期', 'f_meter_base': '表底数',
|
|
740
|
+
'f_meter_brand': '气表品牌', 'f_book_slice_area': '表册片区', 'end_time': '最后抄表日期', 'f_meter_base': '表底数', 'flowmetertemperature': '温度', 'flowmeterpressure': '压力',
|
|
741
741
|
'f_oughtamount': '用气量', 'f_oughtfee': '用气金额', 'qianfei_month_num': '欠费月数', 'qianfei_num': '欠费条数',
|
|
742
742
|
'qianfei_avg_gas': '欠费月平均气量', 'f_totalowe_gas': '欠费气量', 'f_totalowe_fee': '欠费金额'},
|
|
743
743
|
surplusConfig: {
|