manage-client 3.3.145 → 3.3.147
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/businessquery/BusinessManage.vue +3 -0
- package/src/components/sale/businessquery/chargeRecordMaintenanceQuery.vue +353 -0
- package/src/components/sale/config/exportConfig.js +10 -0
- package/src/filiale/WEINAN/BusinessManage.vue +3 -0
- package/src/filiale/WEINAN/RecordInfoQuery.vue +25 -20
- package/src/saleManage.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.132",
|
|
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.147",
|
|
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.132",
|
|
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
|
+
}
|
|
@@ -124,6 +124,9 @@
|
|
|
124
124
|
<tabs header="开关阀记录查询" v-if="permission('开关阀记录查询')">
|
|
125
125
|
<operation-value-record ></operation-value-record>
|
|
126
126
|
</tabs>
|
|
127
|
+
<tabs header="收费记录维护查询" v-if="permission('收费记录维护查询')">
|
|
128
|
+
<charge-record-maintenance-query v-if="show.includes('收费记录维护查询')" ></charge-record-maintenance-query>
|
|
129
|
+
</tabs>
|
|
127
130
|
</tab-button>
|
|
128
131
|
<!-- </div>-->
|
|
129
132
|
<!-- <div v-if="!listpage">-->
|
|
@@ -0,0 +1,353 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
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 for="startDate" class="font_normal_body">开始日期</label>
|
|
11
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
12
|
+
v-model="$parent.$parent.startDate"
|
|
13
|
+
:value.sync="$parent.$parent.startDate"
|
|
14
|
+
:format="'yyyy-MM-dd'"
|
|
15
|
+
condition="modifitime >= '{} 00:00:00'"
|
|
16
|
+
:show-reset-button="true">
|
|
17
|
+
</datepicker>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 form-group">
|
|
20
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
21
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
22
|
+
v-model="$parent.$parent.endDate"
|
|
23
|
+
:value.sync="$parent.$parent.endDate"
|
|
24
|
+
:format="'yyyy-MM-dd'"
|
|
25
|
+
condition="modifitime <= '{} 23:59: 59'"
|
|
26
|
+
:show-reset-button="true">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2 form-group ">
|
|
30
|
+
<label class="font_normal_body">客户编号</label>
|
|
31
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
32
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
33
|
+
</div>
|
|
34
|
+
<div class="col-sm-2 form-group">
|
|
35
|
+
<label class="font_normal_body">客户名称</label>
|
|
36
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
37
|
+
condition="f_user_name = '{}'" placeholder="客户名称">
|
|
38
|
+
</div>
|
|
39
|
+
<div class="span" style="float:right;">
|
|
40
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
41
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
42
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
43
|
+
:field="$parent.$parent.getfield"
|
|
44
|
+
sqlurl="rs/logic/exportfile"
|
|
45
|
+
sql-name="manage_chargeRecordMaintenanceQuery"
|
|
46
|
+
template-name='收费记录维护查询'
|
|
47
|
+
:choose-col="true"></export-excel>
|
|
48
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
|
|
49
|
+
:field="$parent.$parent.getfield"
|
|
50
|
+
titletable="收费记录维护查询" :starthead="$parent.$parent.startDate"
|
|
51
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
52
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
53
|
+
<div
|
|
54
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
55
|
+
@click="$parent.$parent.hidden()"
|
|
56
|
+
class="button_spacing"
|
|
57
|
+
style="float: right"></div>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="row" v-if="$parent.$parent.criteriaShow">
|
|
61
|
+
<res-select-group
|
|
62
|
+
:show-component="['company','department','operator']"
|
|
63
|
+
:initres="$parent.$parent.initres"
|
|
64
|
+
@re-res="$parent.$parent.getRes"
|
|
65
|
+
:specialquery="true"
|
|
66
|
+
v-ref:sel
|
|
67
|
+
></res-select-group>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
</criteria>
|
|
71
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
|
|
72
|
+
<template partial='head'>
|
|
73
|
+
<tr>
|
|
74
|
+
<th>
|
|
75
|
+
<nobr>客户编号</nobr>
|
|
76
|
+
</th>
|
|
77
|
+
<th>
|
|
78
|
+
<nobr>客户名称</nobr>
|
|
79
|
+
</th>
|
|
80
|
+
<th>
|
|
81
|
+
<nobr>维护内容</nobr>
|
|
82
|
+
</th>
|
|
83
|
+
<th>
|
|
84
|
+
<nobr>更改前</nobr>
|
|
85
|
+
</th>
|
|
86
|
+
<th>
|
|
87
|
+
<nobr>更改后</nobr>
|
|
88
|
+
</th>
|
|
89
|
+
<th>
|
|
90
|
+
<nobr>操作人</nobr>
|
|
91
|
+
</th>
|
|
92
|
+
<th>
|
|
93
|
+
<nobr>操作时间</nobr>
|
|
94
|
+
</th>
|
|
95
|
+
<th>
|
|
96
|
+
<nobr>收费记录状态</nobr>
|
|
97
|
+
</th>
|
|
98
|
+
</tr>
|
|
99
|
+
</template>
|
|
100
|
+
<template partial='body'>
|
|
101
|
+
<td style="text-align: center;">
|
|
102
|
+
<nobr>{{ row.f_userinfo_code }}</nobr>
|
|
103
|
+
</td>
|
|
104
|
+
<td style="text-align: center;">
|
|
105
|
+
<nobr>{{ row.f_user_name }}</nobr>
|
|
106
|
+
</td>
|
|
107
|
+
<td style="text-align: center;">
|
|
108
|
+
<nobr>{{ row.chinesename }}</nobr>
|
|
109
|
+
</td>
|
|
110
|
+
<td style="text-align: center;">
|
|
111
|
+
<nobr>{{ row.oldvalue }}</nobr>
|
|
112
|
+
</td>
|
|
113
|
+
<td style="text-align: center;">
|
|
114
|
+
<nobr>{{ row.newvalue }}</nobr>
|
|
115
|
+
</td>
|
|
116
|
+
<td style="text-align: center;">
|
|
117
|
+
<nobr>{{ row.operator }}</nobr>
|
|
118
|
+
</td>
|
|
119
|
+
<td style="text-align: center;">
|
|
120
|
+
<nobr>{{ row.modifitime }}</nobr>
|
|
121
|
+
</td>
|
|
122
|
+
<td style="text-align: center;">
|
|
123
|
+
<nobr>{{ row.f_state }}</nobr>
|
|
124
|
+
</td>
|
|
125
|
+
</template>
|
|
126
|
+
<template partial='foot'></template>
|
|
127
|
+
</data-grid>
|
|
128
|
+
</criteria-paged>
|
|
129
|
+
</div>
|
|
130
|
+
</div>
|
|
131
|
+
</div>
|
|
132
|
+
</template>
|
|
133
|
+
<script>
|
|
134
|
+
import {PagedList, HttpResetClass} from 'vue-client'
|
|
135
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
136
|
+
import exportConfig from '../config/exportConfig'
|
|
137
|
+
|
|
138
|
+
let readySomething = async function (self) {
|
|
139
|
+
self.startDate = self.$login.toStandardDateString()
|
|
140
|
+
self.endDate = self.$login.toStandardDateString()
|
|
141
|
+
}
|
|
142
|
+
export default {
|
|
143
|
+
title: '收费记录维查询',
|
|
144
|
+
data() {
|
|
145
|
+
return {
|
|
146
|
+
condition: '',
|
|
147
|
+
condition2: '',
|
|
148
|
+
orgConditionStr: '',
|
|
149
|
+
criteriaShow: false,
|
|
150
|
+
model: new PagedList('api/af-revenue/sql/manage_chargeRecordMaintenanceQuery', 20, {
|
|
151
|
+
startDate: 'this.model.startDate',
|
|
152
|
+
endDate: 'this.model.endDate',}),
|
|
153
|
+
gasproperties: [],
|
|
154
|
+
show: false,
|
|
155
|
+
rowdata: {},
|
|
156
|
+
areaList: [],
|
|
157
|
+
modelval: [],
|
|
158
|
+
startDate: '',
|
|
159
|
+
endDate: '',
|
|
160
|
+
inputtouPerson: [],
|
|
161
|
+
printshow: false,
|
|
162
|
+
all: false,
|
|
163
|
+
fields: {},
|
|
164
|
+
thead: '',
|
|
165
|
+
tfoot: '',
|
|
166
|
+
defaultfield: [],
|
|
167
|
+
sumsmodel: {
|
|
168
|
+
f_start_count: 0 ,
|
|
169
|
+
f_add_count: 0 ,
|
|
170
|
+
f_end_count: 0 ,
|
|
171
|
+
},
|
|
172
|
+
initres: {
|
|
173
|
+
org: [this.$login.f.orgid],
|
|
174
|
+
dep:[],
|
|
175
|
+
user:[]
|
|
176
|
+
},
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
ready() {
|
|
180
|
+
readySomething(this).then(() => {
|
|
181
|
+
this.$emit('ready')
|
|
182
|
+
}).catch((error) => {
|
|
183
|
+
this.$emit('error', error)
|
|
184
|
+
})
|
|
185
|
+
},
|
|
186
|
+
methods: {
|
|
187
|
+
getAreaList (searchText) {
|
|
188
|
+
let condition = ' 1 = 1 '
|
|
189
|
+
if (searchText) {
|
|
190
|
+
condition = ` f_residential_area like '%${searchText}%' `
|
|
191
|
+
}
|
|
192
|
+
let HttpReset = new HttpResetClass()
|
|
193
|
+
HttpReset.load('POST', 'rs/sql/saleSingleTable?pageNo=1&pageSize=100', {
|
|
194
|
+
data: {
|
|
195
|
+
items: 'f_residential_area, id',
|
|
196
|
+
tablename: 't_area',
|
|
197
|
+
orderitem: 'id desc',
|
|
198
|
+
condition: condition
|
|
199
|
+
}
|
|
200
|
+
}, {resolveMsg: null, rejectMsg: '获取小区信息失败!'}).then((req) => {
|
|
201
|
+
let redata = []
|
|
202
|
+
req.data.forEach((row, n) => {
|
|
203
|
+
redata[n] = {
|
|
204
|
+
label: row.f_residential_area,
|
|
205
|
+
value: row.id
|
|
206
|
+
}
|
|
207
|
+
})
|
|
208
|
+
this.areaList = [{label: '全部', value: ''}, ...redata]
|
|
209
|
+
})
|
|
210
|
+
},
|
|
211
|
+
clear() {
|
|
212
|
+
//清空部门和人员
|
|
213
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
214
|
+
//部门和人员变为全选
|
|
215
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
216
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
217
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
218
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
219
|
+
})
|
|
220
|
+
},
|
|
221
|
+
hidden() {
|
|
222
|
+
this.criteriaShow = !this.criteriaShow
|
|
223
|
+
},
|
|
224
|
+
getotherfooter() {
|
|
225
|
+
this.other = []
|
|
226
|
+
this.footer = []
|
|
227
|
+
let exportdata = this.getCondition
|
|
228
|
+
let otherInData = []
|
|
229
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
230
|
+
let footerData = [], exportfield = this.getfield
|
|
231
|
+
footerData.push('合计')
|
|
232
|
+
let self = this
|
|
233
|
+
for (var field in self.sumsmodel) {
|
|
234
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`)
|
|
235
|
+
}
|
|
236
|
+
this.footer.push(footerData)
|
|
237
|
+
this.other.push(otherInData)
|
|
238
|
+
},
|
|
239
|
+
search() {
|
|
240
|
+
this.$refs.paged.$refs.cri.search()
|
|
241
|
+
},
|
|
242
|
+
appendCondition(data) {
|
|
243
|
+
console.log('data=====>', data)
|
|
244
|
+
let stringValue = ''
|
|
245
|
+
for (var i = 0; i < data.length; i++) {
|
|
246
|
+
if (data[i]) {
|
|
247
|
+
if (i === data.length - 1) {
|
|
248
|
+
stringValue = stringValue + "'" + data[i] + "'"
|
|
249
|
+
} else {
|
|
250
|
+
stringValue = stringValue + "'" + data[i] + "',"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
return stringValue
|
|
255
|
+
},
|
|
256
|
+
async selfSearch(args) {
|
|
257
|
+
this.condition2 = args.condition + ' and f_orgid = ' + this.$login.f.orgid
|
|
258
|
+
if (!this.orgConditionStr) {
|
|
259
|
+
args.condition = `${args.condition}` + ' and f_orgid = ' + this.$login.f.orgid
|
|
260
|
+
} else {
|
|
261
|
+
args.condition = `${args.condition}` + this.orgConditionStr
|
|
262
|
+
}
|
|
263
|
+
this.$refs.paged.$refs.cri.model.startDate = this.startDate
|
|
264
|
+
this.$refs.paged.$refs.cri.model.endDate = this.endDate
|
|
265
|
+
this.condition = args.condition
|
|
266
|
+
console.log("查看条件", this.condition)
|
|
267
|
+
await this.model.search(args.condition, args.model)
|
|
268
|
+
},
|
|
269
|
+
getRes(obj) {
|
|
270
|
+
this.orgConditionStr = obj
|
|
271
|
+
},
|
|
272
|
+
stamp() {
|
|
273
|
+
this.all = false
|
|
274
|
+
//默认选择要打印的列
|
|
275
|
+
this.modelval = defaultPrint.config
|
|
276
|
+
this.fields = this.getfield
|
|
277
|
+
console.log('所有打印字段', this.fields)
|
|
278
|
+
this.printshow = true
|
|
279
|
+
this.put()
|
|
280
|
+
},
|
|
281
|
+
put() {
|
|
282
|
+
// 对Modelval进行排序
|
|
283
|
+
this.sortModelval()
|
|
284
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>用户查询</th></tr><tr>`
|
|
285
|
+
for (let key of this.modelval) {
|
|
286
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
287
|
+
}
|
|
288
|
+
this.thead += '</tr>'
|
|
289
|
+
},
|
|
290
|
+
print() {
|
|
291
|
+
this.$refs.print.PrintAsFile()
|
|
292
|
+
this.printshow = false
|
|
293
|
+
},
|
|
294
|
+
dealmsg(val) {
|
|
295
|
+
console.log('---------------dealmsg')
|
|
296
|
+
this.rowdata = val
|
|
297
|
+
this.show = true
|
|
298
|
+
val.model = this.model.model
|
|
299
|
+
this.$dispatch('deal-msg', val)
|
|
300
|
+
},
|
|
301
|
+
close() {
|
|
302
|
+
this.printshow = false
|
|
303
|
+
this.all = false
|
|
304
|
+
},
|
|
305
|
+
// 对选择的列进行排序
|
|
306
|
+
sortModelval() {
|
|
307
|
+
let sortModel = []
|
|
308
|
+
Object.keys(this.fields).forEach((key) => {
|
|
309
|
+
if (this.modelval.includes(key)) {
|
|
310
|
+
sortModel.push(key)
|
|
311
|
+
}
|
|
312
|
+
})
|
|
313
|
+
this.modelval = sortModel
|
|
314
|
+
console.log('选择的打印的字段', this.modelval)
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
watch: {
|
|
318
|
+
'all'(val) {
|
|
319
|
+
if (val) {
|
|
320
|
+
this.modelval = this.bodyData
|
|
321
|
+
} else {
|
|
322
|
+
this.modelval = defaultPrint.config
|
|
323
|
+
this.put()
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
sumsmodel: {
|
|
327
|
+
handler: function (val) {
|
|
328
|
+
this.getotherfooter()
|
|
329
|
+
},
|
|
330
|
+
deep: true
|
|
331
|
+
},
|
|
332
|
+
'modelval.length'() {
|
|
333
|
+
this.put()
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
computed: {
|
|
337
|
+
getCondition() {
|
|
338
|
+
return {
|
|
339
|
+
condition: this.condition,
|
|
340
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
341
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
getfield() {
|
|
345
|
+
return exportConfig.chargeRecordMaintenanceQuery
|
|
346
|
+
},
|
|
347
|
+
// metertypes() {
|
|
348
|
+
// return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
349
|
+
// }
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
</script>
|
|
353
|
+
|
|
@@ -1204,6 +1204,16 @@ export default{
|
|
|
1204
1204
|
'f_limit_value': '单次限购量',
|
|
1205
1205
|
'f_start_date': '执行时间',
|
|
1206
1206
|
'f_operate_reason': '限购原因'
|
|
1207
|
+
},
|
|
1208
|
+
chargeRecordMaintenanceQuery: {
|
|
1209
|
+
'f_userinfo_code': '用户编号',
|
|
1210
|
+
'f_user_name': '用户名称',
|
|
1211
|
+
'chinesename': '维护内容',
|
|
1212
|
+
'oldvalue': '变更前',
|
|
1213
|
+
'newvalue': '变更后',
|
|
1214
|
+
'operator': '操作人',
|
|
1215
|
+
'modifitime': '操作时间',
|
|
1216
|
+
'f_state': '收费记录状态'
|
|
1207
1217
|
}
|
|
1208
1218
|
}
|
|
1209
1219
|
|
|
@@ -81,6 +81,9 @@
|
|
|
81
81
|
<tabs header="壁挂炉用户查询" v-if="permission('壁挂炉用户查询')">
|
|
82
82
|
<manage-wall-hanging-furnace-user-query v-if="show.includes('壁挂炉用户查询')"></manage-wall-hanging-furnace-user-query>
|
|
83
83
|
</tabs>
|
|
84
|
+
<tabs header="收费记录维护查询" v-if="permission('收费记录维护查询')">
|
|
85
|
+
<charge-record-maintenance-query v-if="show.includes('收费记录维护查询')"></charge-record-maintenance-query>
|
|
86
|
+
</tabs>
|
|
84
87
|
</tab-button>
|
|
85
88
|
<!-- </div>-->
|
|
86
89
|
<!-- <div v-if="!listpage">-->
|
|
@@ -152,14 +152,11 @@
|
|
|
152
152
|
<label class="font_normal_body">小  区</label>
|
|
153
153
|
<v-select :value.sync="model.f_residential_area"
|
|
154
154
|
class="select_list select"
|
|
155
|
-
enter-push
|
|
156
|
-
multiple
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
161
|
-
close-on-select>
|
|
162
|
-
|
|
155
|
+
enter-push :disabled="$parent.$parent.isAreaShow"
|
|
156
|
+
v-model="model.f_residential_area" multiple="true"
|
|
157
|
+
@select-search="$parent.$parent.getaddress"
|
|
158
|
+
:options='$parent.$parent.residentialArea' placeholder='小区名称'
|
|
159
|
+
condition="f_residential_area in {}">
|
|
163
160
|
</v-select>
|
|
164
161
|
</div>
|
|
165
162
|
<div class="col-sm-2 form-group">
|
|
@@ -920,21 +917,29 @@
|
|
|
920
917
|
//初始化气表价格
|
|
921
918
|
this.prices = this.$MagGetSaleParam.getPrices();
|
|
922
919
|
},
|
|
923
|
-
async
|
|
924
|
-
|
|
920
|
+
async getaddress (searchText){
|
|
921
|
+
let condition = ' 1 = 1 '
|
|
922
|
+
if (searchText) {
|
|
923
|
+
condition = ` f_residential_area like '%${searchText}%' `
|
|
924
|
+
}
|
|
925
925
|
let HttpReset = new HttpResetClass()
|
|
926
|
-
|
|
926
|
+
HttpReset.load('POST', 'rs/sql/saleSingleTable?pageNo=1&pageSize=100', {
|
|
927
927
|
data: {
|
|
928
|
-
|
|
928
|
+
items: 'f_residential_area, id',
|
|
929
|
+
tablename: 't_area',
|
|
930
|
+
orderitem: 'id desc',
|
|
931
|
+
condition: condition
|
|
929
932
|
}
|
|
930
|
-
}, {resolveMsg: null, rejectMsg: '
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
933
|
+
}, {resolveMsg: null, rejectMsg: '获取小区信息失败!'}).then((req) => {
|
|
934
|
+
let redata = []
|
|
935
|
+
req.data.forEach((row, n) => {
|
|
936
|
+
redata[n] = {
|
|
937
|
+
label: row.f_residential_area,
|
|
938
|
+
value: row.f_residential_area
|
|
939
|
+
}
|
|
940
|
+
})
|
|
941
|
+
this.residentialArea = [{label: '全部', value: ''}, ...redata]
|
|
942
|
+
})
|
|
938
943
|
},
|
|
939
944
|
search(){
|
|
940
945
|
this.$refs.paged.$refs.cri.search()
|
package/src/saleManage.js
CHANGED
|
@@ -343,6 +343,10 @@ export default function () {
|
|
|
343
343
|
Vue.component('error-handplan-query', (resolve) => {
|
|
344
344
|
require(['./components/sale/businessquery/errorHandplanQuery'], resolve)
|
|
345
345
|
})
|
|
346
|
+
// 收费记录维护查询
|
|
347
|
+
Vue.component('charge-record-maintenance-query', (resolve) => {
|
|
348
|
+
require(['./components/sale/businessquery/chargeRecordMaintenanceQuery'], resolve)
|
|
349
|
+
})
|
|
346
350
|
|
|
347
351
|
// 综合分析
|
|
348
352
|
Vue.component('new-echarts-all', (resolve) => {
|