manage-client 1.21.107-ca → 1.22.4-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/.npmignore +10 -0
- package/build/.npmignore +1 -0
- package/build/dev-server.js +93 -64
- package/package.json +1 -1
- package/src/components/MeterManage/ChargeQuery.vue +104 -10
- package/src/components/MeterManage/LiushuiQuery.vue +54 -3
- package/src/components/MeterManage/MeterMsg.vue +42 -28
- 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/sale/businessquery/BusinessManage.vue +108 -108
- package/src/components/sale/businessquery/ChangeUserQuery.vue +330 -330
- package/src/components/sale/businessquery/ChargeQuery.vue +29 -0
- 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 +373 -373
- package/src/components/sale/businessquery/FillGasQuery.vue +311 -311
- package/src/components/sale/businessquery/HandplanQuery.vue +296 -296
- package/src/components/sale/businessquery/LiuShuiQuery.vue +8 -0
- 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 +211 -211
- 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/TransferQuery.vue +291 -291
- 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 +136 -136
- 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 +361 -361
- package/src/components/sale/filesquery/FilesRecord.vue +160 -160
- package/src/components/sale/filesquery/MeterQuery.vue +499 -499
- package/src/components/sale/filesquery/NoSaleQuery.vue +412 -412
- package/src/components/webmeter/DrillData/UserGasAll.vue +490 -467
- package/src/plugins/Table.js +194 -151
- package/src/saleManage.js +134 -134
- package/src/stores/MagLoadParams.js +71 -71
- package/yarn.lock +7516 -0
package/.npmignore
ADDED
package/build/.npmignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/build/dev-server.js
CHANGED
|
@@ -1,64 +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 changan = 'http://192.168.2.
|
|
12
|
-
var proxyTable = {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
target:
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
+
})
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template >
|
|
2
|
-
<div id="stand-work-list" class="flex bg-white p-10">
|
|
2
|
+
<div id="stand-work-list" class="flex bg-white p-10" style="overflow:hidden;">
|
|
3
3
|
<criteria-paged :model="model" v-ref:paged >
|
|
4
4
|
<criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
|
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
6
|
<div class="row" width="100%">
|
|
7
7
|
<div class="col-sm-4" >
|
|
8
|
-
<label class="font_normal_body"
|
|
8
|
+
<label class="font_normal_body" style="width: 40%;" >开始时间</label>
|
|
9
9
|
<datepicker placeholder="起始时间" style="width:60%"
|
|
10
10
|
:value.sync="model.f_start_date"
|
|
11
11
|
v-model="model.f_start_date"
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
></datepicker>
|
|
15
15
|
</div>
|
|
16
16
|
<div class="col-sm-4" >
|
|
17
|
-
<label class="font_normal_body" >结束时间</label>
|
|
17
|
+
<label class="font_normal_body" style="width: 40%;" >结束时间</label>
|
|
18
18
|
<datepicker placeholder="结束时间" style="width:60%"
|
|
19
19
|
:value.sync="model.f_end_date"
|
|
20
20
|
v-model="model.f_end_date"
|
|
@@ -22,8 +22,10 @@
|
|
|
22
22
|
condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')"
|
|
23
23
|
></datepicker>
|
|
24
24
|
</div>
|
|
25
|
+
|
|
26
|
+
|
|
25
27
|
<div class="col-sm-4" >
|
|
26
|
-
<label class="font_normal_body" >状态</label>
|
|
28
|
+
<label class="font_normal_body" style="width: 40%;">状态</label>
|
|
27
29
|
<v-select :value.sync="model.f_state"
|
|
28
30
|
v-model="model.f_state"
|
|
29
31
|
style="width:60%"
|
|
@@ -31,6 +33,64 @@
|
|
|
31
33
|
condition="f_state = '{}'"
|
|
32
34
|
close-on-select></v-select>
|
|
33
35
|
</div>
|
|
36
|
+
<div class="form-group col-sm-4">
|
|
37
|
+
<label class="font_normal_body " style="width: 40%;" >售气公司</label>
|
|
38
|
+
<v-select :value.sync="model.f_filiale"
|
|
39
|
+
v-model="model.f_filiale"
|
|
40
|
+
style="width:60%"
|
|
41
|
+
:options='$parent.$parent.f_filiale' placeholder='请选择'
|
|
42
|
+
condition="f_filiale = '{}'"
|
|
43
|
+
close-on-select></v-select>
|
|
44
|
+
<!--<input-->
|
|
45
|
+
<!--type="text"-->
|
|
46
|
+
<!--class="form-control" style="width: 60%"-->
|
|
47
|
+
<!--v-model="model.f_filiale"-->
|
|
48
|
+
<!--condition="f_filiale like '%{}%'"-->
|
|
49
|
+
<!--placeholder="售气公司"-->
|
|
50
|
+
<!--/>-->
|
|
51
|
+
</div>
|
|
52
|
+
<div class="form-group col-sm-4">
|
|
53
|
+
<label class="font_normal_body " style="width: 40%;">售气部门</label>
|
|
54
|
+
<v-select :value.sync="model.f_outlets"
|
|
55
|
+
v-model="model.f_outlets"
|
|
56
|
+
style="width:60%"
|
|
57
|
+
:options='$parent.$parent.selldep' placeholder='请选择'
|
|
58
|
+
condition="f_outlets = '{}'"
|
|
59
|
+
close-on-select></v-select>
|
|
60
|
+
<!--<input-->
|
|
61
|
+
<!--type="text"-->
|
|
62
|
+
<!--class="form-control" style="width: 60%"-->
|
|
63
|
+
<!--v-model="model.f_outlets"-->
|
|
64
|
+
<!--condition="f_outlets like '%{}%'"-->
|
|
65
|
+
<!--placeholder="售气部门"-->
|
|
66
|
+
<!--/>-->
|
|
67
|
+
</div>
|
|
68
|
+
<div class="form-group col-sm-4" >
|
|
69
|
+
<label class="font_normal_body" style="width: 40%;" >写卡状态</label>
|
|
70
|
+
<v-select :value.sync="model.f_write_card"
|
|
71
|
+
v-model="model.f_write_card"
|
|
72
|
+
style="width:60%" :value-single="true"
|
|
73
|
+
:options='$parent.$parent.writeCard' placeholder='请选择'
|
|
74
|
+
close-on-select></v-select>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="form-group col-sm-4" >
|
|
77
|
+
<label class="font_normal_body" style="width: 40%;">指令状态</label>
|
|
78
|
+
<v-select :value.sync="model.f_instruct_state"
|
|
79
|
+
v-model="model.f_instruct_state"
|
|
80
|
+
style="width:60%"
|
|
81
|
+
:options='$parent.$parent.f_instruct_state' placeholder='请选择'
|
|
82
|
+
condition="f_instruct_state = '{}'"
|
|
83
|
+
close-on-select></v-select>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="form-group col-sm-4" >
|
|
86
|
+
<label class="font_normal_body" style="width: 40%;">收费类型</label>
|
|
87
|
+
<v-select :value.sync="model.f_type"
|
|
88
|
+
v-model="model.f_type"
|
|
89
|
+
style="width:60%" multiple
|
|
90
|
+
:options='$parent.$parent.f_type' placeholder='请选择'
|
|
91
|
+
condition="f_type in {}"
|
|
92
|
+
close-on-select></v-select>
|
|
93
|
+
</div>
|
|
34
94
|
<div class="span" style="float:right;">
|
|
35
95
|
<button class="btn btn-success" @click="search()" v-el:cba>查询</button>
|
|
36
96
|
</div>
|
|
@@ -45,11 +105,17 @@
|
|
|
45
105
|
<th><nobr>购气金额</nobr></th>
|
|
46
106
|
<!-- <th><nobr>购气次数</nobr></th>-->
|
|
47
107
|
<th><nobr>收费状态</nobr></th>
|
|
108
|
+
<th><nobr>收费类型</nobr></th>
|
|
48
109
|
<th><nobr>收费日期</nobr></th>
|
|
110
|
+
<th><nobr>写卡日期</nobr></th>
|
|
49
111
|
<th><nobr>操作员</nobr></th>
|
|
50
|
-
<th><nobr>售气单位</nobr></th>
|
|
51
|
-
<th><nobr>售气部门</nobr></th>
|
|
52
112
|
<th><nobr>售气站点</nobr></th>
|
|
113
|
+
<th><nobr>售气公司</nobr></th>
|
|
114
|
+
<th><nobr>售气部门</nobr></th>
|
|
115
|
+
|
|
116
|
+
<th><nobr>写卡状态</nobr></th>
|
|
117
|
+
<th><nobr>执行结果</nobr></th>
|
|
118
|
+
|
|
53
119
|
<th><nobr>操作员编号</nobr></th>
|
|
54
120
|
</tr>
|
|
55
121
|
</template>
|
|
@@ -60,11 +126,15 @@
|
|
|
60
126
|
<td style="text-align:center">{{row.f_preamount}}</td>
|
|
61
127
|
<!-- <td style="text-align:center">{{row.f_times}}</td>-->
|
|
62
128
|
<td style="text-align:center">{{row.f_state}}</td>
|
|
63
|
-
<td style="text-align:center">{{row.
|
|
129
|
+
<td style="text-align:center">{{row.f_type}}</td>
|
|
130
|
+
<td style="text-align:center"><nobr>{{row.f_operate_date}}</nobr></td>
|
|
131
|
+
<td style="text-align:center"><nobr>{{row.f_write_date}}</nobr></td>
|
|
64
132
|
<td style="text-align:center">{{row.f_operator}}</td>
|
|
65
|
-
<td style="text-align:center">{{row.f_filiale}}</td>
|
|
66
|
-
<td style="text-align:center">{{row.f_outlets}}</td>
|
|
67
133
|
<td style="text-align:center">{{row.op_spot}}</td>
|
|
134
|
+
<td style="text-align:center"><nobr>{{row.f_filiale}}</nobr></td>
|
|
135
|
+
<td style="text-align:center"><nobr>{{row.f_outlets}}</nobr></td>
|
|
136
|
+
<td style="text-align:center">{{row.f_write_card}}</td>
|
|
137
|
+
<td style="text-align:center">{{row.f_instruct_state}}</td>
|
|
68
138
|
<td style="text-align:center">{{row.op_id}}</td>
|
|
69
139
|
</tr>
|
|
70
140
|
</template>
|
|
@@ -89,8 +159,13 @@
|
|
|
89
159
|
data () {
|
|
90
160
|
return {
|
|
91
161
|
condition: '1=1',
|
|
92
|
-
model: new PagedList('rs/sql/
|
|
162
|
+
model: new PagedList('rs/sql/sellQuery', 15, {items: '`*`', tablename: '`t_sellinggas`', orderitem: '`f_operate_date DESC`'},{f_pregas: 0,f_preamount: 0}),
|
|
93
163
|
charge_state: this.$appdata.getParam('收费状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费状态')] : [],
|
|
164
|
+
writeCard: this.$appdata.getParam('写卡状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('写卡状态')] : [],
|
|
165
|
+
f_instruct_state: this.$appdata.getParam('指令状态') ? [{label: '全部', value: ''},...this.$appdata.getParam('指令状态')] : [],
|
|
166
|
+
f_filiale: this.$appdata.getParam('售气单位') ? [{label: '全部', value: ''},...this.$appdata.getParam('售气单位')] : [],
|
|
167
|
+
f_outlets: this.$appdata.getParam('售气部门') ? [{label: '全部', value: ''},...this.$appdata.getParam('售气部门')] : [],
|
|
168
|
+
f_type: this.$appdata.getParam('收费类型') ? [{label: '全部', value: ''},...this.$appdata.getParam('收费类型')] : [],
|
|
94
169
|
row: null,
|
|
95
170
|
isdeal: true,
|
|
96
171
|
show: false,
|
|
@@ -119,11 +194,30 @@
|
|
|
119
194
|
}else {
|
|
120
195
|
return
|
|
121
196
|
}
|
|
197
|
+
if(this.$refs.paged.$refs.criteria.model.f_write_card){
|
|
198
|
+
if(this.$refs.paged.$refs.criteria.model.f_write_card==='无'){
|
|
199
|
+
this.condition = `${this.condition} and f_write_card is null`
|
|
200
|
+
}else {
|
|
201
|
+
this.condition = `${this.condition} and f_write_card = '${this.$refs.paged.$refs.criteria.model.f_write_card}'`
|
|
202
|
+
}
|
|
203
|
+
}
|
|
122
204
|
this.model.search(this.condition, this.args.model)
|
|
123
205
|
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
124
206
|
}
|
|
125
207
|
}
|
|
126
208
|
},
|
|
209
|
+
computed:{
|
|
210
|
+
selldep () {
|
|
211
|
+
let rs = []
|
|
212
|
+
if(this.$refs.paged.$refs.criteria.model.f_filiale){
|
|
213
|
+
this.$refs.paged.$refs.criteria.model.f_outlets = ''
|
|
214
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_filiale) ]
|
|
215
|
+
}
|
|
216
|
+
else {
|
|
217
|
+
return [{label: '全部', value: ''}]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
},
|
|
127
221
|
watch:{
|
|
128
222
|
args(val){
|
|
129
223
|
this.search()
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
6
|
<div class="row" width="100%">
|
|
7
7
|
<div class="col-sm-4" >
|
|
8
|
-
<label class="font_normal_body" > 开始时间</label>
|
|
8
|
+
<label class="font_normal_body" style="width: 40%;"> 开始时间</label>
|
|
9
9
|
<datepicker placeholder="起始时间" style="width:60%"
|
|
10
10
|
:value.sync="model.f_start_date"
|
|
11
11
|
v-model="model.f_start_date"
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
condition="f_operate_date >= to_date('{} 00:00:00','yyyy-mm-dd hh24:mi:ss')"
|
|
14
14
|
></datepicker>
|
|
15
15
|
</div>
|
|
16
|
-
<div class="col-sm-4"
|
|
17
|
-
<label class="font_normal_body" >结束时间</label>
|
|
16
|
+
<div class="col-sm-4" >
|
|
17
|
+
<label class="font_normal_body" style="width: 40%;">结束时间</label>
|
|
18
18
|
<datepicker placeholder="结束时间" style="width:60%"
|
|
19
19
|
:value.sync="model.f_end_date"
|
|
20
20
|
v-model="model.f_end_date"
|
|
@@ -22,6 +22,38 @@
|
|
|
22
22
|
condition="f_operate_date <= to_date('{} 23:59:59','yyyy-mm-dd hh24:mi:ss')"
|
|
23
23
|
></datepicker>
|
|
24
24
|
</div>
|
|
25
|
+
<div class=" col-sm-4">
|
|
26
|
+
<label class="font_normal_body " style="width: 40%;" >售气公司</label>
|
|
27
|
+
<v-select :value.sync="model.f_filiale"
|
|
28
|
+
v-model="model.f_filiale"
|
|
29
|
+
style="width:60%"
|
|
30
|
+
:options='$parent.$parent.f_filiale' placeholder='请选择'
|
|
31
|
+
condition="f_filiale = '{}'"
|
|
32
|
+
close-on-select></v-select>
|
|
33
|
+
<!--<input-->
|
|
34
|
+
<!--type="text"-->
|
|
35
|
+
<!--class="form-control" style="width: 60%"-->
|
|
36
|
+
<!--v-model="model.f_filiale"-->
|
|
37
|
+
<!--condition="f_filiale like '%{}%'"-->
|
|
38
|
+
<!--placeholder="售气公司"-->
|
|
39
|
+
<!--/>-->
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-4">
|
|
42
|
+
<label class="font_normal_body " style="width: 40%;">售气部门</label>
|
|
43
|
+
<v-select :value.sync="model.f_outlets"
|
|
44
|
+
v-model="model.f_outlets"
|
|
45
|
+
style="width:60%"
|
|
46
|
+
:options='$parent.$parent.selldep' placeholder='请选择'
|
|
47
|
+
condition="f_outlets = '{}'"
|
|
48
|
+
close-on-select></v-select>
|
|
49
|
+
<!--<input-->
|
|
50
|
+
<!--type="text"-->
|
|
51
|
+
<!--class="form-control" style="width: 60%"-->
|
|
52
|
+
<!--v-model="model.f_outlets"-->
|
|
53
|
+
<!--condition="f_outlets like '%{}%'"-->
|
|
54
|
+
<!--placeholder="售气部门"-->
|
|
55
|
+
<!--/>-->
|
|
56
|
+
</div>
|
|
25
57
|
<div class="span" style="float:right;">
|
|
26
58
|
<button class="btn btn-success" @click="search()" v-el:cba>查询</button>
|
|
27
59
|
</div>
|
|
@@ -38,6 +70,10 @@
|
|
|
38
70
|
<th><nobr>操作人</nobr></th>
|
|
39
71
|
<th><nobr>操作站点</nobr></th>
|
|
40
72
|
<th><nobr>操作时间</nobr></th>
|
|
73
|
+
<th><nobr>售气公司</nobr></th>
|
|
74
|
+
<th><nobr>售气部门</nobr></th>
|
|
75
|
+
<!--<th><nobr>写卡状态</nobr></th>-->
|
|
76
|
+
<!--<th><nobr>指令执行</nobr></th>-->
|
|
41
77
|
<th><nobr>备注</nobr></th>
|
|
42
78
|
</tr>
|
|
43
79
|
</template>
|
|
@@ -50,6 +86,8 @@
|
|
|
50
86
|
<td style="text-align:center">{{row.f_operator}}</td>
|
|
51
87
|
<td style="text-align:center">{{row.op_spot}}</td>
|
|
52
88
|
<td style="text-align:center">{{row.f_operate_date}}</td>
|
|
89
|
+
<td style="text-align:center">{{row.f_filiale}}</td>
|
|
90
|
+
<td style="text-align:center">{{row.f_outlets}}</td>
|
|
53
91
|
<td style="text-align:center">{{row.note}}</td>
|
|
54
92
|
</tr>
|
|
55
93
|
</template>
|
|
@@ -74,6 +112,7 @@
|
|
|
74
112
|
data () {
|
|
75
113
|
return {
|
|
76
114
|
condition: '1=1',
|
|
115
|
+
f_filiale: this.$appdata.getParam('售气单位') ? [{label: '全部', value: ''},...this.$appdata.getParam('售气单位')] : [],
|
|
77
116
|
model: new PagedList('rs/sql/sale_RecordQuery', 20,
|
|
78
117
|
null,{gas1: 0,fee:0}),
|
|
79
118
|
row: null,
|
|
@@ -91,6 +130,18 @@
|
|
|
91
130
|
ready () {
|
|
92
131
|
this.$refs.paged.$refs.criteria.search()
|
|
93
132
|
},
|
|
133
|
+
computed:{
|
|
134
|
+
selldep () {
|
|
135
|
+
let rs = []
|
|
136
|
+
if(this.$refs.paged.$refs.criteria.model.f_filiale){
|
|
137
|
+
this.$refs.paged.$refs.criteria.model.f_outlets = ''
|
|
138
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_filiale) ]
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
return [{label: '全部', value: ''}]
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
},
|
|
94
145
|
methods: {
|
|
95
146
|
search(args){
|
|
96
147
|
if(this.args && this.args.model) {
|