manage-client 1.22.37-ca → 1.22.39-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.
- package/build/dev-server.js +102 -102
- package/index.html +28 -28
- package/package.json +1 -1
- package/src/components/MeterManage/FillGasQuery.vue +129 -129
- package/src/components/MeterManage/MeterInfoManage.vue +84 -84
- package/src/components/MeterManage/MeterMsg.vue +384 -384
- package/src/components/MeterManage/ReportDataQuery.vue +189 -189
- package/src/components/SellReport/BonSummary.vue +233 -233
- package/src/components/SellReport/BusSummary.vue +238 -238
- package/src/components/SellReport/ChanganDaySellGAs.vue +242 -242
- package/src/components/SellReport/ChanganSellMsg.vue +232 -232
- package/src/components/SellReport/ChanganSellMsg_Month.vue +240 -240
- package/src/components/SellReport/FenxiangSell.vue +182 -182
- package/src/components/SellReport/GasCollect.vue +174 -174
- package/src/components/SellReport/ManageBusSummary.vue +229 -229
- package/src/components/SellReport/ManageGasPrice.vue +221 -221
- package/src/components/SellReport/ManageSellType.vue +229 -229
- package/src/components/SellReport/UserStatistics.vue +162 -162
- package/src/components/sale/businessquery/AbndonQuery.vue +288 -288
- package/src/components/sale/businessquery/AbndonRecoveryQuery.vue +286 -286
- package/src/components/sale/businessquery/BusinessManage.vue +117 -117
- package/src/components/sale/businessquery/ChangeUserQuery.vue +330 -330
- package/src/components/sale/businessquery/ChargeQuery.vue +608 -608
- package/src/components/sale/businessquery/DisableQuery.vue +286 -286
- package/src/components/sale/businessquery/EnableQuery.vue +258 -258
- package/src/components/sale/businessquery/FillCardQuery.vue +389 -389
- package/src/components/sale/businessquery/HandplanQuery.vue +296 -296
- package/src/components/sale/businessquery/OtherChargeQuery.vue +308 -308
- package/src/components/sale/businessquery/ReverseQuery.vue +305 -305
- package/src/components/sale/businessquery/RfCardReadBack.vue +412 -412
- package/src/components/sale/businessquery/SellGasGroupPrice.vue +231 -231
- package/src/components/sale/businessquery/SellgasQuerybyDay.vue +185 -185
- package/src/components/sale/businessquery/SellgasQuerybyDep.vue +186 -186
- package/src/components/sale/businessquery/SellgasQuerybySpot.vue +191 -191
- package/src/components/sale/businessquery/SellingHand.vue +267 -267
- package/src/components/sale/businessquery/SendCardQuery.vue +375 -375
- package/src/components/sale/businessquery/TransferQuery.vue +260 -260
- package/src/components/sale/businessquery/TreaDownQuery.vue +439 -439
- package/src/components/sale/businessquery/ValveQuery.vue +275 -275
- package/src/components/sale/config/exportConfig.js +170 -170
- package/src/components/sale/filesquery/ArchivesManage.vue +60 -60
- package/src/components/sale/filesquery/DeviceCount.vue +333 -333
- package/src/components/sale/filesquery/DeviceQuery.vue +377 -377
- package/src/components/sale/filesquery/FilesRecord.vue +160 -160
- package/src/components/sale/filesquery/MeterQuery.vue +520 -520
- package/src/components/sale/filesquery/NoSaleQuery.vue +423 -423
- package/src/components/webmeter/DrillData/UserGasAll.vue +681 -663
- package/src/components/webmeter/report/ReportList.vue +32 -5
- package/src/main.js +30 -30
- package/src/plugins/Table.js +194 -194
- package/src/reportManage.js +208 -208
- package/src/saleManage.js +147 -147
- package/src/stores/MagLoadParams.js +71 -71
package/build/dev-server.js
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
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:8081/', changan = 'http://192.168.2.84:7003/'
|
|
12
|
-
var proxyTable = {
|
|
13
|
-
// 查找资源服务数据
|
|
14
|
-
'/rs/sql/manageSingleTable': {
|
|
15
|
-
target:changan
|
|
16
|
-
},
|
|
17
|
-
'/rs/sql/AbndonQuery': {
|
|
18
|
-
target:'http://127.0.0.1:8081/'
|
|
19
|
-
},
|
|
20
|
-
'/rs/search': {
|
|
21
|
-
target: changan
|
|
22
|
-
},
|
|
23
|
-
'/rs/logic/getLogin': {
|
|
24
|
-
target: changan
|
|
25
|
-
},
|
|
26
|
-
'/rs/logic/getInitData': {
|
|
27
|
-
target: changan
|
|
28
|
-
},
|
|
29
|
-
'/rs/logic/getSaleInitData': {
|
|
30
|
-
target: changan
|
|
31
|
-
},
|
|
32
|
-
// 用户登录服务地址
|
|
33
|
-
'/rs/user': {
|
|
34
|
-
target: changan
|
|
35
|
-
},
|
|
36
|
-
'/rs/data': {
|
|
37
|
-
target: changan
|
|
38
|
-
},
|
|
39
|
-
'/rs/license': {
|
|
40
|
-
target: changan
|
|
41
|
-
},
|
|
42
|
-
'/xyhf/rs/xyhf': {
|
|
43
|
-
target: changan
|
|
44
|
-
},
|
|
45
|
-
'/rs/sql': {
|
|
46
|
-
target: bendi
|
|
47
|
-
},
|
|
48
|
-
'/rs/logic/exportfile': {
|
|
49
|
-
target: bendi
|
|
50
|
-
},
|
|
51
|
-
'/rs': {
|
|
52
|
-
//target: changan
|
|
53
|
-
target: changan
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
57
|
-
publicPath: config.output.publicPath,
|
|
58
|
-
stats: {
|
|
59
|
-
colors: true,
|
|
60
|
-
chunks: false
|
|
61
|
-
}
|
|
62
|
-
})
|
|
63
|
-
|
|
64
|
-
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
65
|
-
// force page reload when html-webpack-plugin template changes
|
|
66
|
-
compiler.plugin('compilation', function (compilation) {
|
|
67
|
-
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
68
|
-
hotMiddleware.publish({ action: 'reload' })
|
|
69
|
-
cb()
|
|
70
|
-
})
|
|
71
|
-
})
|
|
72
|
-
|
|
73
|
-
// proxy api requests
|
|
74
|
-
Object.keys(proxyTable).forEach(function (context) {
|
|
75
|
-
var options = proxyTable[context]
|
|
76
|
-
if (typeof options === 'string') {
|
|
77
|
-
options = { target: options }
|
|
78
|
-
}
|
|
79
|
-
app.use(proxyMiddleware(context, options))
|
|
80
|
-
})
|
|
81
|
-
|
|
82
|
-
// handle fallback for HTML5 history API
|
|
83
|
-
app.use(require('connect-history-api-fallback')())
|
|
84
|
-
|
|
85
|
-
// serve webpack bundle output
|
|
86
|
-
app.use(devMiddleware)
|
|
87
|
-
|
|
88
|
-
// enable hot-reload and state-preserving
|
|
89
|
-
// compilation error display
|
|
90
|
-
app.use(hotMiddleware)
|
|
91
|
-
|
|
92
|
-
// serve pure static assets
|
|
93
|
-
app.use('/static', express.static('./static'))
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
module.exports = app.listen(8085, function (err) {
|
|
97
|
-
if (err) {
|
|
98
|
-
console.log(err)
|
|
99
|
-
return
|
|
100
|
-
}
|
|
101
|
-
console.log('Listening at http://localhost:8085')
|
|
102
|
-
})
|
|
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:8081/', changan = 'http://192.168.2.84:7003/'
|
|
12
|
+
var proxyTable = {
|
|
13
|
+
// 查找资源服务数据
|
|
14
|
+
'/rs/sql/manageSingleTable': {
|
|
15
|
+
target:changan
|
|
16
|
+
},
|
|
17
|
+
'/rs/sql/AbndonQuery': {
|
|
18
|
+
target:'http://127.0.0.1:8081/'
|
|
19
|
+
},
|
|
20
|
+
'/rs/search': {
|
|
21
|
+
target: changan
|
|
22
|
+
},
|
|
23
|
+
'/rs/logic/getLogin': {
|
|
24
|
+
target: changan
|
|
25
|
+
},
|
|
26
|
+
'/rs/logic/getInitData': {
|
|
27
|
+
target: changan
|
|
28
|
+
},
|
|
29
|
+
'/rs/logic/getSaleInitData': {
|
|
30
|
+
target: changan
|
|
31
|
+
},
|
|
32
|
+
// 用户登录服务地址
|
|
33
|
+
'/rs/user': {
|
|
34
|
+
target: changan
|
|
35
|
+
},
|
|
36
|
+
'/rs/data': {
|
|
37
|
+
target: changan
|
|
38
|
+
},
|
|
39
|
+
'/rs/license': {
|
|
40
|
+
target: changan
|
|
41
|
+
},
|
|
42
|
+
'/xyhf/rs/xyhf': {
|
|
43
|
+
target: changan
|
|
44
|
+
},
|
|
45
|
+
'/rs/sql': {
|
|
46
|
+
target: bendi
|
|
47
|
+
},
|
|
48
|
+
'/rs/logic/exportfile': {
|
|
49
|
+
target: bendi
|
|
50
|
+
},
|
|
51
|
+
'/rs': {
|
|
52
|
+
//target: changan
|
|
53
|
+
target: changan
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
57
|
+
publicPath: config.output.publicPath,
|
|
58
|
+
stats: {
|
|
59
|
+
colors: true,
|
|
60
|
+
chunks: false
|
|
61
|
+
}
|
|
62
|
+
})
|
|
63
|
+
|
|
64
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
65
|
+
// force page reload when html-webpack-plugin template changes
|
|
66
|
+
compiler.plugin('compilation', function (compilation) {
|
|
67
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
68
|
+
hotMiddleware.publish({ action: 'reload' })
|
|
69
|
+
cb()
|
|
70
|
+
})
|
|
71
|
+
})
|
|
72
|
+
|
|
73
|
+
// proxy api requests
|
|
74
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
75
|
+
var options = proxyTable[context]
|
|
76
|
+
if (typeof options === 'string') {
|
|
77
|
+
options = { target: options }
|
|
78
|
+
}
|
|
79
|
+
app.use(proxyMiddleware(context, options))
|
|
80
|
+
})
|
|
81
|
+
|
|
82
|
+
// handle fallback for HTML5 history API
|
|
83
|
+
app.use(require('connect-history-api-fallback')())
|
|
84
|
+
|
|
85
|
+
// serve webpack bundle output
|
|
86
|
+
app.use(devMiddleware)
|
|
87
|
+
|
|
88
|
+
// enable hot-reload and state-preserving
|
|
89
|
+
// compilation error display
|
|
90
|
+
app.use(hotMiddleware)
|
|
91
|
+
|
|
92
|
+
// serve pure static assets
|
|
93
|
+
app.use('/static', express.static('./static'))
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
module.exports = app.listen(8085, function (err) {
|
|
97
|
+
if (err) {
|
|
98
|
+
console.log(err)
|
|
99
|
+
return
|
|
100
|
+
}
|
|
101
|
+
console.log('Listening at http://localhost:8085')
|
|
102
|
+
})
|
package/index.html
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="zh-CN">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
6
|
-
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
|
|
7
|
-
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
|
|
8
|
-
<META HTTP-EQUIV="expires" CONTENT="0">
|
|
9
|
-
<title>奥枫信息系统</title>
|
|
10
|
-
<style media="screen">
|
|
11
|
-
/*url(./static/newmainbg.jpg)*/
|
|
12
|
-
body {
|
|
13
|
-
width: 100%;
|
|
14
|
-
background: #7f8eaf no-repeat center bottom;
|
|
15
|
-
background-size: cover;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
body .loginbg {
|
|
19
|
-
width: 100%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
background: url(./static/loginbg.jpg) no-repeat center top;
|
|
22
|
-
}
|
|
23
|
-
</style>
|
|
24
|
-
</head>
|
|
25
|
-
<body class="themeOne">
|
|
26
|
-
<app></app>
|
|
27
|
-
</body>
|
|
28
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh-CN">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
6
|
+
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
|
|
7
|
+
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
|
|
8
|
+
<META HTTP-EQUIV="expires" CONTENT="0">
|
|
9
|
+
<title>奥枫信息系统</title>
|
|
10
|
+
<style media="screen">
|
|
11
|
+
/*url(./static/newmainbg.jpg)*/
|
|
12
|
+
body {
|
|
13
|
+
width: 100%;
|
|
14
|
+
background: #7f8eaf no-repeat center bottom;
|
|
15
|
+
background-size: cover;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
body .loginbg {
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
background: url(./static/loginbg.jpg) no-repeat center top;
|
|
22
|
+
}
|
|
23
|
+
</style>
|
|
24
|
+
</head>
|
|
25
|
+
<body class="themeOne">
|
|
26
|
+
<app></app>
|
|
27
|
+
</body>
|
|
28
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,129 +1,129 @@
|
|
|
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" > 开始时间</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
|
-
<th><nobr>操作站点</nobr></th>
|
|
53
|
-
</tr>
|
|
54
|
-
</template>
|
|
55
|
-
<template partial='body' partial='list' v-ref:grid>
|
|
56
|
-
<tr >
|
|
57
|
-
<td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
|
|
58
|
-
<td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
|
|
59
|
-
<td style="text-align: center;"><nobr>{{row.f_type}}</nobr></td>
|
|
60
|
-
<td style="text-align: center;"><nobr>{{row.f_othereason}}</nobr></td>
|
|
61
|
-
<td style="text-align: center;"><nobr>{{row.f_fillgas}}</nobr></td>
|
|
62
|
-
<td style="text-align: center;"><nobr>{{row.f_fillgas_fee}}</nobr></td>
|
|
63
|
-
<td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
|
|
64
|
-
<td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
|
|
65
|
-
<td style="text-align: center;"><nobr>{{row.op_spot}}</nobr></td>
|
|
66
|
-
</tr>
|
|
67
|
-
</template>
|
|
68
|
-
<template partial='foot'></template>
|
|
69
|
-
</data-grid>
|
|
70
|
-
</criteria-paged>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
</template>
|
|
74
|
-
|
|
75
|
-
<script>
|
|
76
|
-
import {PagedList} from 'vue-client'
|
|
77
|
-
|
|
78
|
-
export default {
|
|
79
|
-
title: '收费',
|
|
80
|
-
data () {
|
|
81
|
-
return {
|
|
82
|
-
condition: '1=1',
|
|
83
|
-
model: new PagedList('rs/sql/fillGasQuery', 15),
|
|
84
|
-
charge_state: this.$appdata.getParam('收费状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费状态')] : [],
|
|
85
|
-
row: null,
|
|
86
|
-
isdeal: true,
|
|
87
|
-
obj: {
|
|
88
|
-
userid: this.$login.f.id,
|
|
89
|
-
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
|
90
|
-
res: this.$login.f.f_fengongsi,
|
|
91
|
-
resids: this.$login.f.f_orgids
|
|
92
|
-
},
|
|
93
|
-
show: false
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
props:
|
|
97
|
-
{
|
|
98
|
-
searchdata: {},
|
|
99
|
-
isdeal: {},
|
|
100
|
-
args:{}
|
|
101
|
-
},
|
|
102
|
-
ready () {
|
|
103
|
-
this.$refs.paged.$refs.criteria.model.f_state = ['有效']
|
|
104
|
-
this.$refs.paged.$refs.criteria.search()
|
|
105
|
-
},
|
|
106
|
-
methods: {
|
|
107
|
-
search(args){
|
|
108
|
-
if(this.args && this.args.model) {
|
|
109
|
-
this.condition=this.condition+` and f_state='有效' `
|
|
110
|
-
if(this.searchdata.f_user_id) {
|
|
111
|
-
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.searchdata.f_user_id}'`
|
|
112
|
-
} else if(this.searchdata.f_card_id){
|
|
113
|
-
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_card_id = '${this.searchdata.f_card_id}'`
|
|
114
|
-
}else if(this.searchdata.f_userinfo_id) {
|
|
115
|
-
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_userinfo_id = '${this.searchdata.f_userinfo_id}'`
|
|
116
|
-
}else {
|
|
117
|
-
return
|
|
118
|
-
}
|
|
119
|
-
this.model.search(this.condition, this.args.model)
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
watch:{
|
|
124
|
-
args(val){
|
|
125
|
-
this.search()
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
</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" > 开始时间</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
|
+
<th><nobr>操作站点</nobr></th>
|
|
53
|
+
</tr>
|
|
54
|
+
</template>
|
|
55
|
+
<template partial='body' partial='list' v-ref:grid>
|
|
56
|
+
<tr >
|
|
57
|
+
<td style="text-align: center;"><nobr>{{row.f_card_id}}</nobr></td>
|
|
58
|
+
<td style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></td>
|
|
59
|
+
<td style="text-align: center;"><nobr>{{row.f_type}}</nobr></td>
|
|
60
|
+
<td style="text-align: center;"><nobr>{{row.f_othereason}}</nobr></td>
|
|
61
|
+
<td style="text-align: center;"><nobr>{{row.f_fillgas}}</nobr></td>
|
|
62
|
+
<td style="text-align: center;"><nobr>{{row.f_fillgas_fee}}</nobr></td>
|
|
63
|
+
<td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
|
|
64
|
+
<td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
|
|
65
|
+
<td style="text-align: center;"><nobr>{{row.op_spot}}</nobr></td>
|
|
66
|
+
</tr>
|
|
67
|
+
</template>
|
|
68
|
+
<template partial='foot'></template>
|
|
69
|
+
</data-grid>
|
|
70
|
+
</criteria-paged>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
</template>
|
|
74
|
+
|
|
75
|
+
<script>
|
|
76
|
+
import {PagedList} from 'vue-client'
|
|
77
|
+
|
|
78
|
+
export default {
|
|
79
|
+
title: '收费',
|
|
80
|
+
data () {
|
|
81
|
+
return {
|
|
82
|
+
condition: '1=1',
|
|
83
|
+
model: new PagedList('rs/sql/fillGasQuery', 15),
|
|
84
|
+
charge_state: this.$appdata.getParam('收费状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费状态')] : [],
|
|
85
|
+
row: null,
|
|
86
|
+
isdeal: true,
|
|
87
|
+
obj: {
|
|
88
|
+
userid: this.$login.f.id,
|
|
89
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
|
|
90
|
+
res: this.$login.f.f_fengongsi,
|
|
91
|
+
resids: this.$login.f.f_orgids
|
|
92
|
+
},
|
|
93
|
+
show: false
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
props:
|
|
97
|
+
{
|
|
98
|
+
searchdata: {},
|
|
99
|
+
isdeal: {},
|
|
100
|
+
args:{}
|
|
101
|
+
},
|
|
102
|
+
ready () {
|
|
103
|
+
this.$refs.paged.$refs.criteria.model.f_state = ['有效']
|
|
104
|
+
this.$refs.paged.$refs.criteria.search()
|
|
105
|
+
},
|
|
106
|
+
methods: {
|
|
107
|
+
search(args){
|
|
108
|
+
if(this.args && this.args.model) {
|
|
109
|
+
this.condition=this.condition+` and f_state='有效' `
|
|
110
|
+
if(this.searchdata.f_user_id) {
|
|
111
|
+
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_user_id = '${this.searchdata.f_user_id}'`
|
|
112
|
+
} else if(this.searchdata.f_card_id){
|
|
113
|
+
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_card_id = '${this.searchdata.f_card_id}'`
|
|
114
|
+
}else if(this.searchdata.f_userinfo_id) {
|
|
115
|
+
this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_userinfo_id = '${this.searchdata.f_userinfo_id}'`
|
|
116
|
+
}else {
|
|
117
|
+
return
|
|
118
|
+
}
|
|
119
|
+
this.model.search(this.condition, this.args.model)
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
watch:{
|
|
124
|
+
args(val){
|
|
125
|
+
this.search()
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
</script>
|