manage-client 3.2.70 → 3.2.71-wuan
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/CHANGELOG.md +0 -1
- package/build/dev-server.js +1 -1
- package/package.json +101 -101
- package/src/App.vue +28 -28
- package/src/components/MeterManage/MeterList.vue +2 -2
- package/src/components/SellReport/ManageBusSummary.vue +62 -41
- package/src/components/SellReport/ReportItems.vue +241 -250
- package/src/components/sale/filesquery/DeviceQuery.vue +1 -1
- package/src/components/sale/filesquery/RecordInfoQuery.vue +1 -1
- package/src/components/sale/report/aode/DayReportList.vue +371 -371
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +5 -1
- package/src/components/webmeter/DrillData/UserGasAll.vue +5 -0
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +5 -1
- package/src/filiale/shaoguan/HandplanQuery.vue +24 -22
- package/src/filiale/shaoguan/RecordInfoQuery.vue +1108 -1108
- package/src/filiale/wuan/ChargeQuery.vue +4 -4
- package/src/filiale/wuan/DefaultPrint.js +6 -0
- package/src/filiale/wuan/RecordInfoQuery.vue +1436 -0
- package/src/filiale/wuan/exportConfig.js +2775 -0
- package/src/filiale/wuan/sale.js +8 -7
- package/src/main.js +1 -1
- package/src/reportManage.js +506 -532
- package/.gradle/4.4/fileContent/fileContent.lock +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +0 -2
- package/src/components/SellReport/GYReportWH.vue +0 -181
- package/src/components/SellReport/ReportItemsSpecial.vue +0 -246
- package/src/components/SellReport/ReportPoolSpecial.vue +0 -60
- package/src/components/SellReport/SYReportWH.vue +0 -181
- package/src/components/SellReport/tongchuan/ReportGasType.vue +0 -230
- package/src/filiale/zhongsheng/UserGasAll.vue +0 -625
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#
|
|
2
|
-
gradle.version=
|
|
1
|
+
#Mon Oct 26 16:02:57 CST 2020
|
|
2
|
+
gradle.version=6.1.1
|
package/CHANGELOG.md
CHANGED
package/build/dev-server.js
CHANGED
package/package.json
CHANGED
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "manage-client",
|
|
3
|
-
"version": "3.2.
|
|
4
|
-
"description": "经营管控模块前台组件",
|
|
5
|
-
"main": "src/index.js",
|
|
6
|
-
"directories": {
|
|
7
|
-
"test": "test"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {},
|
|
10
|
-
"devDependencies": {
|
|
11
|
-
"axios": "^0.21.1",
|
|
12
|
-
"babel-core": "^6.0.0",
|
|
13
|
-
"babel-loader": "^6.0.0",
|
|
14
|
-
"babel-plugin-transform-runtime": "^6.0.0",
|
|
15
|
-
"babel-preset-es2015": "^6.0.0",
|
|
16
|
-
"babel-preset-stage-2": "^6.0.0",
|
|
17
|
-
"chai": "^3.5.0",
|
|
18
|
-
"co": "^4.6.0",
|
|
19
|
-
"connect-history-api-fallback": "^1.1.0",
|
|
20
|
-
"cross-env": "^1.0.7",
|
|
21
|
-
"cross-spawn": "^2.1.5",
|
|
22
|
-
"css-loader": "^0.23.0",
|
|
23
|
-
"echarts": "^4.1.0",
|
|
24
|
-
"eslint": "^2.0.0",
|
|
25
|
-
"eslint-config-standard": "^5.1.0",
|
|
26
|
-
"eslint-friendly-formatter": "^1.2.2",
|
|
27
|
-
"eslint-loader": "^1.3.0",
|
|
28
|
-
"eslint-plugin-html": "^1.3.0",
|
|
29
|
-
"eslint-plugin-promise": "^1.0.8",
|
|
30
|
-
"eslint-plugin-standard": "^1.3.2",
|
|
31
|
-
"eslint-plugin-vue": "^0.1.1",
|
|
32
|
-
"eventsource-polyfill": "^0.9.6",
|
|
33
|
-
"express": "^4.13.3",
|
|
34
|
-
"extract-text-webpack-plugin": "^1.0.1",
|
|
35
|
-
"file-loader": "^0.8.4",
|
|
36
|
-
"function-bind": "^1.0.2",
|
|
37
|
-
"html-webpack-plugin": "^2.8.1",
|
|
38
|
-
"http-proxy-middleware": "^0.11.0",
|
|
39
|
-
"inject-loader": "^2.0.1",
|
|
40
|
-
"isparta-loader": "^2.0.0",
|
|
41
|
-
"jasmine-core": "^2.4.1",
|
|
42
|
-
"jquery": "^3.3.1",
|
|
43
|
-
"jsencrypt": "3.0.0-rc.1",
|
|
44
|
-
"json-loader": "^0.5.4",
|
|
45
|
-
"karma": "^1.4.1",
|
|
46
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
47
|
-
"karma-coverage": "^1.1.1",
|
|
48
|
-
"karma-mocha": "^1.3.0",
|
|
49
|
-
"karma-sinon-chai": "^1.3.1",
|
|
50
|
-
"karma-sourcemap-loader": "^0.3.7",
|
|
51
|
-
"karma-spec-reporter": "0.0.31",
|
|
52
|
-
"karma-webpack": "^2.0.2",
|
|
53
|
-
"ldap-clients": "3.0.28",
|
|
54
|
-
"less": "^2.7.3",
|
|
55
|
-
"mkdirp": "^0.5.1",
|
|
56
|
-
"mocha": "^3.2.0",
|
|
57
|
-
"moment": "2.24.0",
|
|
58
|
-
"ncp": "^2.0.0",
|
|
59
|
-
"rimraf": "^2.5.0",
|
|
60
|
-
"sale-client": "3.4.14",
|
|
61
|
-
"selenium-server": "2.52.0",
|
|
62
|
-
"sinon": "^2.1.0",
|
|
63
|
-
"sinon-chai": "^2.8.0",
|
|
64
|
-
"style": "0.0.3",
|
|
65
|
-
"style-loader": "^0.20.3",
|
|
66
|
-
"system-clients": "3.1.89-20",
|
|
67
|
-
"url-loader": "^0.5.7",
|
|
68
|
-
"vue-amap": "0.5.10",
|
|
69
|
-
"vue-client": "1.24.33",
|
|
70
|
-
"vue-hot-reload-api": "^1.2.0",
|
|
71
|
-
"vue-html-loader": "^1.0.0",
|
|
72
|
-
"vue-loader": "8.2.1",
|
|
73
|
-
"vue-resource": "^1.5.0",
|
|
74
|
-
"vue-router": "^0.7.13",
|
|
75
|
-
"vue-strap": "^1.0.9",
|
|
76
|
-
"vue-style-loader": "^1.0.0",
|
|
77
|
-
"vue-validator": "2.1.7",
|
|
78
|
-
"webpack": "1.12.2",
|
|
79
|
-
"webpack-dev-middleware": "^1.4.0",
|
|
80
|
-
"webpack-hot-middleware": "^2.6.0",
|
|
81
|
-
"webpack-merge": "^0.8.3"
|
|
82
|
-
},
|
|
83
|
-
"scripts": {
|
|
84
|
-
"unit": "karma start test/unit/karma.conf.js --single-run",
|
|
85
|
-
"example": "node build/example-server.js",
|
|
86
|
-
"dev": "node build/dev-server.js",
|
|
87
|
-
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
88
|
-
"build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
89
|
-
"e2e": "node test/e2e/runner.js",
|
|
90
|
-
"release": "bash build/release.sh"
|
|
91
|
-
},
|
|
92
|
-
"repository": {
|
|
93
|
-
"type": "git",
|
|
94
|
-
"url": "https://gitee.com/aote/management_modules.git"
|
|
95
|
-
},
|
|
96
|
-
"keywords": [
|
|
97
|
-
"manage"
|
|
98
|
-
],
|
|
99
|
-
"author": "liuxudong",
|
|
100
|
-
"license": "ISC"
|
|
101
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "manage-client",
|
|
3
|
+
"version": "3.2.71-wuan",
|
|
4
|
+
"description": "经营管控模块前台组件",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"directories": {
|
|
7
|
+
"test": "test"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {},
|
|
10
|
+
"devDependencies": {
|
|
11
|
+
"axios": "^0.21.1",
|
|
12
|
+
"babel-core": "^6.0.0",
|
|
13
|
+
"babel-loader": "^6.0.0",
|
|
14
|
+
"babel-plugin-transform-runtime": "^6.0.0",
|
|
15
|
+
"babel-preset-es2015": "^6.0.0",
|
|
16
|
+
"babel-preset-stage-2": "^6.0.0",
|
|
17
|
+
"chai": "^3.5.0",
|
|
18
|
+
"co": "^4.6.0",
|
|
19
|
+
"connect-history-api-fallback": "^1.1.0",
|
|
20
|
+
"cross-env": "^1.0.7",
|
|
21
|
+
"cross-spawn": "^2.1.5",
|
|
22
|
+
"css-loader": "^0.23.0",
|
|
23
|
+
"echarts": "^4.1.0",
|
|
24
|
+
"eslint": "^2.0.0",
|
|
25
|
+
"eslint-config-standard": "^5.1.0",
|
|
26
|
+
"eslint-friendly-formatter": "^1.2.2",
|
|
27
|
+
"eslint-loader": "^1.3.0",
|
|
28
|
+
"eslint-plugin-html": "^1.3.0",
|
|
29
|
+
"eslint-plugin-promise": "^1.0.8",
|
|
30
|
+
"eslint-plugin-standard": "^1.3.2",
|
|
31
|
+
"eslint-plugin-vue": "^0.1.1",
|
|
32
|
+
"eventsource-polyfill": "^0.9.6",
|
|
33
|
+
"express": "^4.13.3",
|
|
34
|
+
"extract-text-webpack-plugin": "^1.0.1",
|
|
35
|
+
"file-loader": "^0.8.4",
|
|
36
|
+
"function-bind": "^1.0.2",
|
|
37
|
+
"html-webpack-plugin": "^2.8.1",
|
|
38
|
+
"http-proxy-middleware": "^0.11.0",
|
|
39
|
+
"inject-loader": "^2.0.1",
|
|
40
|
+
"isparta-loader": "^2.0.0",
|
|
41
|
+
"jasmine-core": "^2.4.1",
|
|
42
|
+
"jquery": "^3.3.1",
|
|
43
|
+
"jsencrypt": "3.0.0-rc.1",
|
|
44
|
+
"json-loader": "^0.5.4",
|
|
45
|
+
"karma": "^1.4.1",
|
|
46
|
+
"karma-chrome-launcher": "^2.2.0",
|
|
47
|
+
"karma-coverage": "^1.1.1",
|
|
48
|
+
"karma-mocha": "^1.3.0",
|
|
49
|
+
"karma-sinon-chai": "^1.3.1",
|
|
50
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
51
|
+
"karma-spec-reporter": "0.0.31",
|
|
52
|
+
"karma-webpack": "^2.0.2",
|
|
53
|
+
"ldap-clients": "3.0.28",
|
|
54
|
+
"less": "^2.7.3",
|
|
55
|
+
"mkdirp": "^0.5.1",
|
|
56
|
+
"mocha": "^3.2.0",
|
|
57
|
+
"moment": "2.24.0",
|
|
58
|
+
"ncp": "^2.0.0",
|
|
59
|
+
"rimraf": "^2.5.0",
|
|
60
|
+
"sale-client": "3.4.14",
|
|
61
|
+
"selenium-server": "2.52.0",
|
|
62
|
+
"sinon": "^2.1.0",
|
|
63
|
+
"sinon-chai": "^2.8.0",
|
|
64
|
+
"style": "0.0.3",
|
|
65
|
+
"style-loader": "^0.20.3",
|
|
66
|
+
"system-clients": "3.1.89-20",
|
|
67
|
+
"url-loader": "^0.5.7",
|
|
68
|
+
"vue-amap": "0.5.10",
|
|
69
|
+
"vue-client": "1.24.33",
|
|
70
|
+
"vue-hot-reload-api": "^1.2.0",
|
|
71
|
+
"vue-html-loader": "^1.0.0",
|
|
72
|
+
"vue-loader": "8.2.1",
|
|
73
|
+
"vue-resource": "^1.5.0",
|
|
74
|
+
"vue-router": "^0.7.13",
|
|
75
|
+
"vue-strap": "^1.0.9",
|
|
76
|
+
"vue-style-loader": "^1.0.0",
|
|
77
|
+
"vue-validator": "2.1.7",
|
|
78
|
+
"webpack": "1.12.2",
|
|
79
|
+
"webpack-dev-middleware": "^1.4.0",
|
|
80
|
+
"webpack-hot-middleware": "^2.6.0",
|
|
81
|
+
"webpack-merge": "^0.8.3"
|
|
82
|
+
},
|
|
83
|
+
"scripts": {
|
|
84
|
+
"unit": "karma start test/unit/karma.conf.js --single-run",
|
|
85
|
+
"example": "node build/example-server.js",
|
|
86
|
+
"dev": "node build/dev-server.js",
|
|
87
|
+
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
88
|
+
"build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
89
|
+
"e2e": "node test/e2e/runner.js",
|
|
90
|
+
"release": "bash build/release.sh"
|
|
91
|
+
},
|
|
92
|
+
"repository": {
|
|
93
|
+
"type": "git",
|
|
94
|
+
"url": "https://gitee.com/aote/management_modules.git"
|
|
95
|
+
},
|
|
96
|
+
"keywords": [
|
|
97
|
+
"manage"
|
|
98
|
+
],
|
|
99
|
+
"author": "liuxudong",
|
|
100
|
+
"license": "ISC"
|
|
101
|
+
}
|
package/src/App.vue
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<app-base class="bg">
|
|
4
|
-
<div class='flex'>
|
|
5
|
-
<article>
|
|
6
|
-
<!--<route :comp="{name: 'liaoyuan-manage-home'}"></route>-->
|
|
7
|
-
<!--<route :comp="{name: 'meter-reading'}"></route>-->
|
|
8
|
-
<!--<route :comp="{name: 'Gasproperties'}"></route>-->
|
|
9
|
-
<!--<route :comp="{name: 'vender-management'}"></route>-->
|
|
10
|
-
<!--<route :comp="{name: 'malfunction-home'}"></route>-->
|
|
11
|
-
<route :comp="{name: 'login'}"></route>
|
|
12
|
-
<!-- <route :comp="{name: 'load-data'}"></route> -->
|
|
13
|
-
<!--<route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route>-->
|
|
14
|
-
<!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
|
|
15
|
-
</article>
|
|
16
|
-
</div>
|
|
17
|
-
</app-base>
|
|
18
|
-
</div>
|
|
19
|
-
</template>
|
|
20
|
-
|
|
21
|
-
<script>
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
export default {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<app-base class="bg">
|
|
4
|
+
<div class='flex'>
|
|
5
|
+
<article>
|
|
6
|
+
<!--<route :comp="{name: 'liaoyuan-manage-home'}"></route>-->
|
|
7
|
+
<!--<route :comp="{name: 'meter-reading'}"></route>-->
|
|
8
|
+
<!--<route :comp="{name: 'Gasproperties'}"></route>-->
|
|
9
|
+
<!--<route :comp="{name: 'vender-management'}"></route>-->
|
|
10
|
+
<!--<route :comp="{name: 'malfunction-home'}"></route>-->
|
|
11
|
+
<route :comp="{name: 'login'}"></route>
|
|
12
|
+
<!-- <route :comp="{name: 'load-data'}"></route> -->
|
|
13
|
+
<!--<route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route>-->
|
|
14
|
+
<!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
|
|
15
|
+
</article>
|
|
16
|
+
</div>
|
|
17
|
+
</app-base>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
</script>
|
|
@@ -163,11 +163,11 @@
|
|
|
163
163
|
<td ><nobr>{{row.f_address}}</nobr></td>
|
|
164
164
|
<td style="text-align:center" v-show="$parent.$parent.$parent.isdeal">
|
|
165
165
|
<nobr>
|
|
166
|
-
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.
|
|
166
|
+
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_user_id}}</a></span>
|
|
167
167
|
</nobr>
|
|
168
168
|
</td>
|
|
169
169
|
<td style="text-align:center;color:#3c763d" v-show="!$parent.$parent.$parent.isdeal"><nobr>
|
|
170
|
-
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.
|
|
170
|
+
<span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_user_id}}</a></span>
|
|
171
171
|
</nobr></td>
|
|
172
172
|
<td style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></td>
|
|
173
173
|
<td style="text-align:center"><nobr>{{row.f_brand}}</nobr></td>
|
|
@@ -28,24 +28,28 @@
|
|
|
28
28
|
<label class="font_normal_body"> 公司 </label>
|
|
29
29
|
<right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
30
30
|
</div>
|
|
31
|
-
<div class="col-sm-
|
|
32
|
-
<label class="font_normal_body"
|
|
33
|
-
<
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
31
|
+
<div class="col-sm-3 form-group">
|
|
32
|
+
<label class="font_normal_body" for="dep" >部  门:</label>
|
|
33
|
+
<v-select id="dep" style="width: 60%"
|
|
34
|
+
:multiple="true"
|
|
35
|
+
@change="$parent.$parent.getDep"
|
|
36
|
+
:value.sync="model.f_depid"
|
|
37
|
+
v-model="model.f_depid"
|
|
38
|
+
:options='$parent.$parent.depresid' placeholder='请选择'
|
|
39
|
+
condition="f_depid in {}">
|
|
40
|
+
</v-select>
|
|
39
41
|
|
|
40
42
|
</div>
|
|
41
|
-
<div class="col-sm-
|
|
42
|
-
<label class="font_normal_body"
|
|
43
|
-
<
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
<div class="col-sm-3 form-group">
|
|
44
|
+
<label class="font_normal_body" for="oper">人  员:</label>
|
|
45
|
+
<v-select id="oper" style="width: 60%"
|
|
46
|
+
:multiple="false"
|
|
47
|
+
@change="$parent.$parent.getOpe"
|
|
48
|
+
:value.sync="model.f_operatorid"
|
|
49
|
+
v-model="model.f_operatorid"
|
|
50
|
+
:options='$parent.$parent.userresid' placeholder='请选择'
|
|
51
|
+
condition="f_operatorid in {}">
|
|
52
|
+
</v-select>
|
|
49
53
|
</div>
|
|
50
54
|
</div>
|
|
51
55
|
<div class="span" style = "float:right;">
|
|
@@ -89,7 +93,7 @@
|
|
|
89
93
|
<div>
|
|
90
94
|
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
91
95
|
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
92
|
-
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$
|
|
96
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname">人员:{{$parent.operatorname}}</span>
|
|
93
97
|
</div>
|
|
94
98
|
</th>
|
|
95
99
|
</tr>
|
|
@@ -107,16 +111,40 @@
|
|
|
107
111
|
</tr>
|
|
108
112
|
</tfoot>
|
|
109
113
|
</table>
|
|
110
|
-
{{{ $parent.reportStr}}}
|
|
111
114
|
</div>
|
|
112
115
|
</criteria-paged>
|
|
113
116
|
</div>
|
|
114
117
|
</template>
|
|
115
118
|
|
|
116
119
|
<script>
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
+
import {DataModel, HttpResetClass} from 'vue-client'
|
|
121
|
+
import co from 'co'
|
|
122
|
+
let getorg = async function (self) {
|
|
123
|
+
new HttpResetClass().load("POST",'rs/sql/singleTableParam',
|
|
124
|
+
{
|
|
125
|
+
data: {
|
|
126
|
+
items: 'name label,id value',
|
|
127
|
+
tablename: 't_department',
|
|
128
|
+
condition: `1=1`
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{resolveMsg: null, rejectMsg: null})
|
|
132
|
+
.then((res) => {
|
|
133
|
+
self.depresid = res.data
|
|
134
|
+
})
|
|
135
|
+
new HttpResetClass().load("POST",'rs/sql/singleTableParam',
|
|
136
|
+
{
|
|
137
|
+
data: {
|
|
138
|
+
items: 'name label,id value',
|
|
139
|
+
tablename: 't_user',
|
|
140
|
+
condition: `state = '在职' and f_department_name is not null`
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{resolveMsg: null, rejectMsg: null})
|
|
144
|
+
.then((res) => {
|
|
145
|
+
self.userresid = res.data
|
|
146
|
+
})
|
|
147
|
+
}
|
|
120
148
|
export default {
|
|
121
149
|
title: '收费结账报表',
|
|
122
150
|
props: ['data'],
|
|
@@ -135,7 +163,7 @@
|
|
|
135
163
|
criteriaShow: false,
|
|
136
164
|
operatorname: '',
|
|
137
165
|
orgCondtionStr: '1=1',
|
|
138
|
-
f_state:
|
|
166
|
+
f_state:'',
|
|
139
167
|
model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
140
168
|
f_orgid: 'this.model.f_orgid'}),
|
|
141
169
|
reportStr: null,
|
|
@@ -148,6 +176,7 @@
|
|
|
148
176
|
}
|
|
149
177
|
},
|
|
150
178
|
ready () {
|
|
179
|
+
getorg(this)
|
|
151
180
|
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
152
181
|
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
153
182
|
console.log(this.$login.f)
|
|
@@ -158,20 +187,14 @@
|
|
|
158
187
|
},
|
|
159
188
|
selfSearch (args) {
|
|
160
189
|
this.printTime = this.$login.toStandardTimeString()
|
|
161
|
-
let orgcondition ='
|
|
162
|
-
if (this.f_orgid
|
|
163
|
-
orgcondition +=
|
|
164
|
-
}
|
|
165
|
-
if (this.f_depid && this.f_depid[0]) {
|
|
166
|
-
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
167
|
-
}
|
|
168
|
-
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
169
|
-
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
190
|
+
let orgcondition = ''
|
|
191
|
+
if (this.f_orgid[0]) {
|
|
192
|
+
orgcondition += ` and f_orgid in ('${this.f_orgid.toString().replace(/,/g, "','")}')`
|
|
170
193
|
}
|
|
171
194
|
if(this.f_state && this.f_state[0]) {
|
|
172
195
|
orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
|
|
173
196
|
}
|
|
174
|
-
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
197
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = args.condition + orgcondition
|
|
175
198
|
this.$refs.paged.search(args)
|
|
176
199
|
},
|
|
177
200
|
|
|
@@ -180,18 +203,16 @@
|
|
|
180
203
|
},
|
|
181
204
|
getRes (obj) {
|
|
182
205
|
this.orgname = obj.res[0]
|
|
183
|
-
this.depresid = obj.resids
|
|
184
206
|
this.f_orgid = obj.resids
|
|
185
207
|
},
|
|
186
|
-
|
|
187
|
-
this.depname = val
|
|
188
|
-
this.
|
|
189
|
-
|
|
208
|
+
getDep(val){
|
|
209
|
+
this.depname = this.depresid.filter(x => val.includes(x.value)).map(x=>x.label).toString()
|
|
210
|
+
console.log('dep',this.depname )
|
|
211
|
+
},
|
|
212
|
+
getOpe(val){
|
|
213
|
+
this.operatorname = this.userresid.filter(x => val.includes(x.value)).map(x=>x.label).toString()
|
|
214
|
+
console.log('operatorname',this.operatorname )
|
|
190
215
|
},
|
|
191
|
-
getuser ( obj, val) {
|
|
192
|
-
this.operatorname = val[0]
|
|
193
|
-
this.f_operatorid = obj
|
|
194
|
-
}
|
|
195
216
|
},
|
|
196
217
|
watch: {
|
|
197
218
|
'model.data' (val) {
|