manage-client 1.22.20-ca → 1.22.23-ca

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.
Files changed (51) hide show
  1. package/build/dev-server.js +93 -93
  2. package/client.iml +14 -14
  3. package/package.json +1 -1
  4. package/src/components/MeterManage/ChangeMeterQuery.vue +121 -121
  5. package/src/components/MeterManage/FillGasQuery.vue +129 -129
  6. package/src/components/MeterManage/MeterInfoManage.vue +84 -84
  7. package/src/components/MeterManage/MeterMsg.vue +282 -282
  8. package/src/components/MeterManage/ReportDataQuery.vue +189 -189
  9. package/src/components/SellReport/BonSummary.vue +233 -233
  10. package/src/components/SellReport/BusSummary.vue +238 -238
  11. package/src/components/SellReport/ChanganDaySellGAs.vue +242 -242
  12. package/src/components/SellReport/ChanganSellMsg.vue +232 -232
  13. package/src/components/SellReport/ChanganSellMsg_Month.vue +240 -240
  14. package/src/components/SellReport/FenxiangSell.vue +182 -182
  15. package/src/components/SellReport/GasCollect.vue +174 -174
  16. package/src/components/SellReport/ManageBusSummary.vue +229 -229
  17. package/src/components/SellReport/ManageGasPrice.vue +221 -221
  18. package/src/components/SellReport/ManageSellType.vue +229 -229
  19. package/src/components/SellReport/UserStatistics.vue +162 -162
  20. package/src/components/sale/businessquery/BusinessManage.vue +108 -108
  21. package/src/components/sale/businessquery/ChangeUserQuery.vue +330 -330
  22. package/src/components/sale/businessquery/ChargeQuery.vue +591 -591
  23. package/src/components/sale/businessquery/DisableQuery.vue +286 -286
  24. package/src/components/sale/businessquery/EnableQuery.vue +258 -258
  25. package/src/components/sale/businessquery/FillCardQuery.vue +373 -373
  26. package/src/components/sale/businessquery/FillGasQuery.vue +311 -311
  27. package/src/components/sale/businessquery/HandplanQuery.vue +296 -296
  28. package/src/components/sale/businessquery/OtherChargeQuery.vue +308 -308
  29. package/src/components/sale/businessquery/ReverseQuery.vue +305 -305
  30. package/src/components/sale/businessquery/RfCardReadBack.vue +412 -412
  31. package/src/components/sale/businessquery/SellGasGroupPrice.vue +231 -231
  32. package/src/components/sale/businessquery/SellgasQuerybyDay.vue +185 -185
  33. package/src/components/sale/businessquery/SellgasQuerybyDep.vue +186 -186
  34. package/src/components/sale/businessquery/SellgasQuerybySpot.vue +191 -191
  35. package/src/components/sale/businessquery/SellingHand.vue +267 -267
  36. package/src/components/sale/businessquery/TransferQuery.vue +260 -291
  37. package/src/components/sale/businessquery/TreaDownQuery.vue +439 -439
  38. package/src/components/sale/businessquery/ValveQuery.vue +275 -275
  39. package/src/components/sale/filesquery/ArchivesManage.vue +60 -60
  40. package/src/components/sale/filesquery/DeviceCount.vue +333 -333
  41. package/src/components/sale/filesquery/DeviceQuery.vue +12 -1
  42. package/src/components/sale/filesquery/FilesRecord.vue +160 -160
  43. package/src/components/sale/filesquery/MeterQuery.vue +223 -212
  44. package/src/components/sale/filesquery/NoSaleQuery.vue +423 -423
  45. package/src/components/webmeter/DrillData/UserGasAll.vue +663 -663
  46. package/src/plugins/Table.js +194 -194
  47. package/src/reportManage.js +208 -208
  48. package/src/stores/MagLoadParams.js +71 -71
  49. package/.npmignore +0 -10
  50. package/build/.npmignore +0 -1
  51. package/yarn.lock +0 -7516
@@ -1,93 +1,93 @@
1
- var express = require('express')
2
- var webpack = require('webpack')
3
- var config = require('./webpack.dev.conf')
4
- var proxyMiddleware = require('http-proxy-middleware')
5
- // var httpProxy = require('http-proxy')
6
-
7
- var app = express()
8
- var compiler = webpack(config)
9
- // var proxy = httpProxy.createProxyServer()
10
-
11
- var bendi = 'http://127.0.0.1:5001/ldap/', changan = 'http://192.168.2.79:7003/'
12
- var proxyTable = {
13
- // 查找资源服务数据
14
- '/rs/sql/manageSingleTable': {
15
- target:changan
16
- },
17
- '/rs/search': {
18
- target: changan
19
- },
20
- '/rs/logic/getLogin': {
21
- target: changan
22
- },
23
- '/rs/logic/getInitData': {
24
- target: changan
25
- },
26
- '/rs/logic/getSaleInitData': {
27
- target: changan
28
- },
29
- // 用户登录服务地址
30
- '/rs/user': {
31
- target: changan
32
- },
33
- '/rs/data': {
34
- target: changan
35
- },
36
- '/rs/license': {
37
- target: changan
38
- },
39
- '/xyhf/rs/xyhf': {
40
- target: changan
41
- },
42
- '/rs': {
43
- //target: changan
44
- target: changan
45
- }
46
- }
47
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
48
- publicPath: config.output.publicPath,
49
- stats: {
50
- colors: true,
51
- chunks: false
52
- }
53
- })
54
-
55
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
56
- // force page reload when html-webpack-plugin template changes
57
- compiler.plugin('compilation', function (compilation) {
58
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
59
- hotMiddleware.publish({ action: 'reload' })
60
- cb()
61
- })
62
- })
63
-
64
- // proxy api requests
65
- Object.keys(proxyTable).forEach(function (context) {
66
- var options = proxyTable[context]
67
- if (typeof options === 'string') {
68
- options = { target: options }
69
- }
70
- app.use(proxyMiddleware(context, options))
71
- })
72
-
73
- // handle fallback for HTML5 history API
74
- app.use(require('connect-history-api-fallback')())
75
-
76
- // serve webpack bundle output
77
- app.use(devMiddleware)
78
-
79
- // enable hot-reload and state-preserving
80
- // compilation error display
81
- app.use(hotMiddleware)
82
-
83
- // serve pure static assets
84
- app.use('/static', express.static('./static'))
85
-
86
-
87
- module.exports = app.listen(8085, function (err) {
88
- if (err) {
89
- console.log(err)
90
- return
91
- }
92
- console.log('Listening at http://localhost:8085')
93
- })
1
+ var express = require('express')
2
+ var webpack = require('webpack')
3
+ var config = require('./webpack.dev.conf')
4
+ var proxyMiddleware = require('http-proxy-middleware')
5
+ // var httpProxy = require('http-proxy')
6
+
7
+ var app = express()
8
+ var compiler = webpack(config)
9
+ // var proxy = httpProxy.createProxyServer()
10
+
11
+ var bendi = 'http://192.168.2.84:7003/', changan = 'http://192.168.2.84:7003/'
12
+ var proxyTable = {
13
+ // 查找资源服务数据
14
+ '/rs/sql/manageSingleTable': {
15
+ target:changan
16
+ },
17
+ '/rs/search': {
18
+ target: changan
19
+ },
20
+ '/rs/logic/getLogin': {
21
+ target: changan
22
+ },
23
+ '/rs/logic/getInitData': {
24
+ target: changan
25
+ },
26
+ '/rs/logic/getSaleInitData': {
27
+ target: changan
28
+ },
29
+ // 用户登录服务地址
30
+ '/rs/user': {
31
+ target: changan
32
+ },
33
+ '/rs/data': {
34
+ target: changan
35
+ },
36
+ '/rs/license': {
37
+ target: changan
38
+ },
39
+ '/xyhf/rs/xyhf': {
40
+ target: changan
41
+ },
42
+ '/rs': {
43
+ //target: changan
44
+ target: changan
45
+ }
46
+ }
47
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
48
+ publicPath: config.output.publicPath,
49
+ stats: {
50
+ colors: true,
51
+ chunks: false
52
+ }
53
+ })
54
+
55
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
56
+ // force page reload when html-webpack-plugin template changes
57
+ compiler.plugin('compilation', function (compilation) {
58
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
59
+ hotMiddleware.publish({ action: 'reload' })
60
+ cb()
61
+ })
62
+ })
63
+
64
+ // proxy api requests
65
+ Object.keys(proxyTable).forEach(function (context) {
66
+ var options = proxyTable[context]
67
+ if (typeof options === 'string') {
68
+ options = { target: options }
69
+ }
70
+ app.use(proxyMiddleware(context, options))
71
+ })
72
+
73
+ // handle fallback for HTML5 history API
74
+ app.use(require('connect-history-api-fallback')())
75
+
76
+ // serve webpack bundle output
77
+ app.use(devMiddleware)
78
+
79
+ // enable hot-reload and state-preserving
80
+ // compilation error display
81
+ app.use(hotMiddleware)
82
+
83
+ // serve pure static assets
84
+ app.use('/static', express.static('./static'))
85
+
86
+
87
+ module.exports = app.listen(8085, function (err) {
88
+ if (err) {
89
+ console.log(err)
90
+ return
91
+ }
92
+ console.log('Listening at http://localhost:8085')
93
+ })
package/client.iml CHANGED
@@ -1,15 +1,15 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="JAVA_MODULE" version="4">
3
- <component name="EclipseModuleManager">
4
- <conelement value="org.springsource.ide.eclipse.gradle.classpathcontainer" />
5
- <src_description expected_position="0" />
6
- </component>
7
- <component name="NewModuleRootManager">
8
- <output url="file://$MODULE_DIR$/bin" />
9
- <exclude-output />
10
- <content url="file://$MODULE_DIR$" />
11
- <orderEntry type="sourceFolder" forTests="false" />
12
- <orderEntry type="inheritedJdk" />
13
- <orderEntry type="library" exported="" name="org.springsource.ide.eclipse.gradle.classpathcontainer" level="application" />
14
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="JAVA_MODULE" version="4">
3
+ <component name="EclipseModuleManager">
4
+ <conelement value="org.springsource.ide.eclipse.gradle.classpathcontainer" />
5
+ <src_description expected_position="0" />
6
+ </component>
7
+ <component name="NewModuleRootManager">
8
+ <output url="file://$MODULE_DIR$/bin" />
9
+ <exclude-output />
10
+ <content url="file://$MODULE_DIR$" />
11
+ <orderEntry type="sourceFolder" forTests="false" />
12
+ <orderEntry type="inheritedJdk" />
13
+ <orderEntry type="library" exported="" name="org.springsource.ide.eclipse.gradle.classpathcontainer" level="application" />
14
+ </component>
15
15
  </module>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "1.22.20-ca",
3
+ "version": "1.22.23-ca",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,121 +1,121 @@
1
- <template >
2
- <div id="stand-work-list" class="flex bg-white p-10">
3
- <div class="height:auto">
4
- <criteria-paged :model="model" v-ref:paged >
5
- <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
6
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row" width="100%">
8
- <div class="col-sm-4" >
9
- <label class="font_normal_body" >&nbsp;开始时间</label>
10
- <datepicker placeholder="起始时间" style="width:60%"
11
- :value.sync="model.f_start_date"
12
- v-model="model.f_start_date"
13
- :format="'yyyy-MM-dd'"
14
- condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')"
15
- ></datepicker>
16
- </div>
17
- <div class="col-sm-4" >
18
- <label class="font_normal_body" >结束时间</label>
19
- <datepicker placeholder="结束时间" style="width:60%"
20
- :value.sync="model.f_end_date"
21
- v-model="model.f_end_date"
22
- :format="'yyyy-MM-dd'"
23
- condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')"
24
- ></datepicker>
25
- </div>
26
- <div class="col-sm-4" >
27
- <label class="font_normal_body" >状态</label>
28
- <v-select :value.sync="model.f_state"
29
- v-model="model.f_state"
30
- style="width:60%"
31
- :options='$parent.$parent.charge_state' placeholder='请选择'
32
- condition="f_state = '{}'"
33
- close-on-select></v-select>
34
- </div>
35
- <div class="span" style="float:right;">
36
- <button class="btn btn-success" @click="search()" v-el:cba>查询</button>
37
- </div>
38
- </div>
39
- </div>
40
- </criteria>
41
- <data-grid :model="model" partial='list' v-ref:grid>
42
- <template partial='head'>
43
- <tr>
44
- <th><nobr>换表类型</nobr></th>
45
- <th><nobr>换表费</nobr></th>
46
- <th><nobr>旧表底数</nobr></th>
47
- <th><nobr>新表底数</nobr></th>
48
- <th><nobr>旧卡号</nobr></th>
49
- <th><nobr>新卡号</nobr></th>
50
- <th><nobr>换表日期</nobr></th>
51
- <th><nobr>操作日期</nobr></th>
52
- </tr>
53
- </template>
54
- <template partial='body' partial='list' v-ref:grid>
55
- <tr >
56
- <td style="text-align: center;"><nobr>{{row.f_type}}</nobr></td>
57
- <td style="text-align: center;"><nobr>{{row.f_changemeter_fee}}</nobr></td>
58
- <td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
59
- <td style="text-align: center;"><nobr>{{row.f_newmeter_base}}</nobr></td>
60
- <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
61
- <td style="text-align: center;"><nobr>{{row.f_newcard_id}}</nobr></td>
62
- <td style="text-align: center;"><nobr>{{row.f_changemeter_date}}</nobr></td>
63
- <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
64
- </tr>
65
- </template>
66
- <template partial='foot'></template>
67
- </data-grid>
68
- </criteria-paged>
69
- </div>
70
- </div>
71
- </template>
72
-
73
- <script>
74
- import {PagedList} from 'vue-client'
75
-
76
- export default {
77
- title: '收费',
78
- data () {
79
- return {
80
- condition: '1=1',
81
- model: new PagedList('rs/sql/changeMeterQuery', 15),
82
- charge_state: this.$appdata.getParam('收费状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费状态')] : [],
83
- row: null,
84
- isdeal: true,
85
- show: false
86
- }
87
- },
88
- props:
89
- {
90
- searchdata:{},
91
- isdeal: {},
92
- args:{}
93
- },
94
- ready () {
95
- this.$refs.paged.$refs.criteria.model.f_state = ['有效']
96
- this.$refs.paged.$refs.criteria.search()
97
- },
98
- methods: {
99
- search(args){
100
- if(this.args && this.args.model) {
101
- this.condition=this.condition+` and f_state='有效' `
102
- if(this.searchdata.f_user_id) {
103
- this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.searchdata.f_user_id}'`
104
- } else if(this.searchdata.f_card_id){
105
- this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_card_id = '${this.searchdata.f_card_id}'`
106
- }else if(this.searchdata.f_userinfo_id) {
107
- this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_userinfo_id = '${this.searchdata.f_userinfo_id}'`
108
- }else {
109
- return
110
- }
111
- this.model.search(this.condition, this.args.model)
112
- }
113
- }
114
- },
115
- watch:{
116
- args(val){
117
- this.search()
118
- }
119
- }
120
- }
121
- </script>
1
+ <template >
2
+ <div id="stand-work-list" class="flex bg-white p-10">
3
+ <div class="height:auto">
4
+ <criteria-paged :model="model" v-ref:paged >
5
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
+ <div class="row" width="100%">
8
+ <div class="col-sm-4" >
9
+ <label class="font_normal_body" >&nbsp;开始时间</label>
10
+ <datepicker placeholder="起始时间" style="width:60%"
11
+ :value.sync="model.f_start_date"
12
+ v-model="model.f_start_date"
13
+ :format="'yyyy-MM-dd'"
14
+ condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')"
15
+ ></datepicker>
16
+ </div>
17
+ <div class="col-sm-4" >
18
+ <label class="font_normal_body" >结束时间</label>
19
+ <datepicker placeholder="结束时间" style="width:60%"
20
+ :value.sync="model.f_end_date"
21
+ v-model="model.f_end_date"
22
+ :format="'yyyy-MM-dd'"
23
+ condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')"
24
+ ></datepicker>
25
+ </div>
26
+ <div class="col-sm-4" >
27
+ <label class="font_normal_body" >状态</label>
28
+ <v-select :value.sync="model.f_state"
29
+ v-model="model.f_state"
30
+ style="width:60%"
31
+ :options='$parent.$parent.charge_state' placeholder='请选择'
32
+ condition="f_state = '{}'"
33
+ close-on-select></v-select>
34
+ </div>
35
+ <div class="span" style="float:right;">
36
+ <button class="btn btn-success" @click="search()" v-el:cba>查询</button>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ </criteria>
41
+ <data-grid :model="model" partial='list' v-ref:grid>
42
+ <template partial='head'>
43
+ <tr>
44
+ <th><nobr>换表类型</nobr></th>
45
+ <th><nobr>换表费</nobr></th>
46
+ <th><nobr>旧表底数</nobr></th>
47
+ <th><nobr>新表底数</nobr></th>
48
+ <th><nobr>旧卡号</nobr></th>
49
+ <th><nobr>新卡号</nobr></th>
50
+ <th><nobr>换表日期</nobr></th>
51
+ <th><nobr>操作日期</nobr></th>
52
+ </tr>
53
+ </template>
54
+ <template partial='body' partial='list' v-ref:grid>
55
+ <tr >
56
+ <td style="text-align: center;"><nobr>{{row.f_type}}</nobr></td>
57
+ <td style="text-align: center;"><nobr>{{row.f_changemeter_fee}}</nobr></td>
58
+ <td style="text-align: center;"><nobr>{{row.f_meter_base}}</nobr></td>
59
+ <td style="text-align: center;"><nobr>{{row.f_newmeter_base}}</nobr></td>
60
+ <td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
61
+ <td style="text-align: center;"><nobr>{{row.f_newcard_id}}</nobr></td>
62
+ <td style="text-align: center;"><nobr>{{row.f_changemeter_date}}</nobr></td>
63
+ <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
64
+ </tr>
65
+ </template>
66
+ <template partial='foot'></template>
67
+ </data-grid>
68
+ </criteria-paged>
69
+ </div>
70
+ </div>
71
+ </template>
72
+
73
+ <script>
74
+ import {PagedList} from 'vue-client'
75
+
76
+ export default {
77
+ title: '收费',
78
+ data () {
79
+ return {
80
+ condition: '1=1',
81
+ model: new PagedList('rs/sql/changeMeterQuery', 15),
82
+ charge_state: this.$appdata.getParam('收费状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费状态')] : [],
83
+ row: null,
84
+ isdeal: true,
85
+ show: false
86
+ }
87
+ },
88
+ props:
89
+ {
90
+ searchdata:{},
91
+ isdeal: {},
92
+ args:{}
93
+ },
94
+ ready () {
95
+ this.$refs.paged.$refs.criteria.model.f_state = ['有效']
96
+ this.$refs.paged.$refs.criteria.search()
97
+ },
98
+ methods: {
99
+ search(args){
100
+ if(this.args && this.args.model) {
101
+ this.condition=this.condition+` and f_state='有效' `
102
+ if(this.searchdata.f_user_id) {
103
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.searchdata.f_user_id}'`
104
+ } else if(this.searchdata.f_card_id){
105
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_card_id = '${this.searchdata.f_card_id}'`
106
+ }else if(this.searchdata.f_userinfo_id) {
107
+ this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_userinfo_id = '${this.searchdata.f_userinfo_id}'`
108
+ }else {
109
+ return
110
+ }
111
+ this.model.search(this.condition, this.args.model)
112
+ }
113
+ }
114
+ },
115
+ watch:{
116
+ args(val){
117
+ this.search()
118
+ }
119
+ }
120
+ }
121
+ </script>