manage-client 3.2.105 → 3.2.108
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/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/{4.4/fileHashes/fileHashes.bin → buildOutputCleanup/outputFiles.bin} +0 -0
- package/build/dev-server.js +2 -2
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +2 -0
- package/build/webpack.base.conf.js +1 -0
- package/package.json +1 -1
- package/src/components/daping/CallCenter.vue +26 -14
- package/src/components/daping/DataManagement.vue +45 -39
- package/src/components/daping/SafeCheckRing.vue +2 -1
- package/src/components/daping/SafecheckBarChart.vue +17 -8
- package/src/components/daping/json/dataManage.json +26 -0
- package/src/components/sale/businessquery/BusinessManage.vue +12 -0
- package/src/components/sale/businessquery/sellingChargePrice.vue +716 -716
- package/src/components/sale/config/exportConfig.js +22 -2
- package/src/components/sale/config/tableConfig.js +48 -48
- package/src/components/valueaddinfo/ValueAddinfoQuery.vue +408 -0
- package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -0
- package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -0
- package/src/components/valueaddinfo/valueAddUserQuery.vue +392 -0
- package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +2 -2
- package/src/components/webmeter/WebmeterQuery.vue +64 -64
- package/src/components/webmeter/meterinfo/NewMeterList.vue +10 -3
- package/src/components/webmeter/report/ReportList.vue +1 -1
- package/src/components/webmeter/reportdata/ReportDataQuery.vue +279 -279
- package/src/filiale/jingwei/RecordInfoQuery.vue +40 -1
- package/src/main.js +66 -66
- package/src/newmanage.js +11 -1
- package/src/saleManage.js +15 -1
- package/src/webmeterManage.js +1 -1
- package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
|
@@ -0,0 +1,392 @@
|
|
|
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 class="font_normal_body">公 司</label>
|
|
11
|
+
<right-tree @re-res="$parent.$parent.getorg"
|
|
12
|
+
:initresid='$parent.$parent.org'></right-tree>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-sm-2 form-group">
|
|
15
|
+
<label class="font_normal_body">客户编号</label>
|
|
16
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
17
|
+
placeholder="客户编号">
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label class="font_normal_body">客户名称</label>
|
|
22
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
23
|
+
placeholder="客户名称">
|
|
24
|
+
</div>
|
|
25
|
+
<div class="col-sm-2 form-group">
|
|
26
|
+
<label class="font_normal_body">增值服务类型</label>
|
|
27
|
+
<v-select :value.sync="model.f_field_name"
|
|
28
|
+
v-model="model.f_field_name"
|
|
29
|
+
:options='$parent.$parent.valuetypeoptions' placeholder='请选择'
|
|
30
|
+
condition="itemname = '{}'"
|
|
31
|
+
close-on-select></v-select>
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<div class="span" style="float:right;">
|
|
35
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
36
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
37
|
+
|
|
38
|
+
<export-excel-plus :data="$parent.$parent.getCondition"
|
|
39
|
+
:defaultselect="$parent.$parent.selectfields"
|
|
40
|
+
:field="$parent.$parent.getfield"
|
|
41
|
+
:exportprogress="true"
|
|
42
|
+
sqlurl="rs/logic/exportfileplus"
|
|
43
|
+
sql-name='getValueaddInfo'
|
|
44
|
+
template-name="用户增值业务信息" :choose-col="true"></export-excel-plus>
|
|
45
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
46
|
+
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
50
|
+
<div class="col-sm-4 form-group">
|
|
51
|
+
<label class="font_normal_body">客户地址</label>
|
|
52
|
+
<input type="text" style="width:80%" class="input_search" v-model="model.f_address"
|
|
53
|
+
placeholder="客户地址">
|
|
54
|
+
</div>
|
|
55
|
+
<div class="col-sm-2 form-group">
|
|
56
|
+
<label class="font_normal_body">客户类型</label>
|
|
57
|
+
<v-select :value.sync="model.f_user_type"
|
|
58
|
+
@change="$parent.$parent.userTypeChange()"
|
|
59
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
60
|
+
close-on-select></v-select>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="col-sm-2 form-group">
|
|
63
|
+
<label class="font_normal_body">用气性质</label>
|
|
64
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
65
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
66
|
+
close-on-select></v-select>
|
|
67
|
+
</div>
|
|
68
|
+
<div class="col-sm-2 form-group">
|
|
69
|
+
<label class="font_normal_body">有无增值业务</label>
|
|
70
|
+
<v-select :value.sync="model.f_open_state"
|
|
71
|
+
v-model="model.f_open_state"
|
|
72
|
+
:options='$parent.$parent.backstates' placeholder='请选择'
|
|
73
|
+
condition="ishas = '{}'"
|
|
74
|
+
close-on-select></v-select>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</criteria>
|
|
80
|
+
|
|
81
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
82
|
+
<template partial='head'>
|
|
83
|
+
<tr>
|
|
84
|
+
<th>
|
|
85
|
+
<nobr>客户编号</nobr>
|
|
86
|
+
</th>
|
|
87
|
+
<th>
|
|
88
|
+
<nobr>客户名称</nobr>
|
|
89
|
+
</th>
|
|
90
|
+
<th>
|
|
91
|
+
<nobr>客户地址</nobr>
|
|
92
|
+
</th>
|
|
93
|
+
<th>
|
|
94
|
+
<nobr>用户类型</nobr>
|
|
95
|
+
</th>
|
|
96
|
+
<th>
|
|
97
|
+
<nobr>用气性质</nobr>
|
|
98
|
+
</th>
|
|
99
|
+
<th>
|
|
100
|
+
<nobr>气表类型</nobr>
|
|
101
|
+
</th>
|
|
102
|
+
<th>
|
|
103
|
+
<nobr>表号</nobr>
|
|
104
|
+
</th>
|
|
105
|
+
<th>
|
|
106
|
+
<nobr>增值服务类型</nobr>
|
|
107
|
+
</th>
|
|
108
|
+
<th>
|
|
109
|
+
<nobr>有无增值业务</nobr>
|
|
110
|
+
</th>
|
|
111
|
+
<th>
|
|
112
|
+
<nobr>购买时间</nobr>
|
|
113
|
+
</th>
|
|
114
|
+
<th>
|
|
115
|
+
<nobr>最后操作时间</nobr>
|
|
116
|
+
</th>
|
|
117
|
+
<th>
|
|
118
|
+
<nobr>所属公司</nobr>
|
|
119
|
+
</th>
|
|
120
|
+
</tr>
|
|
121
|
+
</template>
|
|
122
|
+
<template partial='body'>
|
|
123
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
124
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
125
|
+
</td>
|
|
126
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
127
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
128
|
+
</td>
|
|
129
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
130
|
+
<nobr>{{row.f_address}}</nobr>
|
|
131
|
+
</td>
|
|
132
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
133
|
+
<nobr>{{row.f_user_type}}</nobr>
|
|
134
|
+
</td>
|
|
135
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
136
|
+
<nobr>{{row.f_gasproperties}}</nobr>
|
|
137
|
+
</td>
|
|
138
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
139
|
+
<nobr>{{row.f_meter_classify}}</nobr>
|
|
140
|
+
</td>
|
|
141
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
142
|
+
<nobr>{{row.f_meternumber}}</nobr>
|
|
143
|
+
</td>
|
|
144
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
145
|
+
<nobr>{{row.itemname}}</nobr>
|
|
146
|
+
</td>
|
|
147
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
148
|
+
<nobr>{{row.ishas}}</nobr>
|
|
149
|
+
</td>
|
|
150
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
151
|
+
<nobr>{{row.startdate}}</nobr>
|
|
152
|
+
</td>
|
|
153
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
154
|
+
<nobr>{{row.f_operate_date}}</nobr>
|
|
155
|
+
</td>
|
|
156
|
+
<td :style="{background:(row.istrue=='1'? '#f1dec2':'')}" style="text-align: center;">
|
|
157
|
+
<nobr>{{row.f_orgname}}</nobr>
|
|
158
|
+
</td>
|
|
159
|
+
</template>
|
|
160
|
+
<template partial='foot'></template>
|
|
161
|
+
</data-grid>
|
|
162
|
+
|
|
163
|
+
</criteria-paged>
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
</div>
|
|
167
|
+
<div v-if="show">
|
|
168
|
+
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
169
|
+
</div>
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
</template>
|
|
173
|
+
|
|
174
|
+
<script>
|
|
175
|
+
import {PagedList} from 'vue-client'
|
|
176
|
+
import exportConfig from '../sale/config/exportConfig'
|
|
177
|
+
import defaultPrint from "../sale/config/DefaultPrint";
|
|
178
|
+
import plugin from "system-clients/src/plugins/GetLoginInfoService";
|
|
179
|
+
|
|
180
|
+
let readySomething = async function (self) {
|
|
181
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
182
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
183
|
+
// self.$refs.paged.$refs.cri.search()
|
|
184
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
185
|
+
await self.$MagLoadParams.loadParam()
|
|
186
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
187
|
+
}
|
|
188
|
+
export default {
|
|
189
|
+
title: '增值业务查询',
|
|
190
|
+
|
|
191
|
+
data() {
|
|
192
|
+
return {
|
|
193
|
+
org:[this.$login.f.orgid],
|
|
194
|
+
filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
|
|
195
|
+
config: {
|
|
196
|
+
defaultPrint: ['f_userinfo_code', 'f_address', 'f_pregas', 'f_preamount']
|
|
197
|
+
},
|
|
198
|
+
//f_price_name:[],
|
|
199
|
+
gasproperties:[],
|
|
200
|
+
showinfo: false,
|
|
201
|
+
data: {},
|
|
202
|
+
show:false,
|
|
203
|
+
rowdata:{},
|
|
204
|
+
initres: {
|
|
205
|
+
org:[this.$login.f.orgid],
|
|
206
|
+
dep:[],
|
|
207
|
+
user:[],
|
|
208
|
+
},
|
|
209
|
+
model: new PagedList('rs/sql/getValueaddInfo', 20, {}, ),
|
|
210
|
+
criteriaShow: true,
|
|
211
|
+
orgCondtionStr: '',
|
|
212
|
+
// 下拉框
|
|
213
|
+
meterbrands: [],
|
|
214
|
+
pricenames: [],
|
|
215
|
+
prices: [],
|
|
216
|
+
//合计数据
|
|
217
|
+
defaultfield: [],
|
|
218
|
+
sumsmodel: {},
|
|
219
|
+
f_filialeid: this.$login.f.f_orgid,
|
|
220
|
+
selectfields:[],
|
|
221
|
+
istrueoptions:[{label:"全部",value:""},{label:"是",value:"0"},{label:"否",value:"1"}],
|
|
222
|
+
backstates:[{label: '全部', value: ''},{label: '有', value: '有'},{label: '无', value: '无'}],
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
props:['selectorg'],
|
|
226
|
+
ready() {
|
|
227
|
+
if(this.selectorg != null && this.selectorg != null != ''){
|
|
228
|
+
this.initres.org=[]
|
|
229
|
+
this.initres.org.push(this.selectorg);
|
|
230
|
+
}
|
|
231
|
+
readySomething(this).then(() => {
|
|
232
|
+
this.$emit('ready')
|
|
233
|
+
}).catch((error) => {
|
|
234
|
+
this.$emit('error', error)
|
|
235
|
+
})
|
|
236
|
+
for(var item in exportConfig.valueuserinfoConfig){
|
|
237
|
+
this.selectfields.push(item)
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
methods: {
|
|
241
|
+
getorg (obj) {
|
|
242
|
+
if(obj.resids.length>0){
|
|
243
|
+
this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
|
|
244
|
+
}
|
|
245
|
+
else{
|
|
246
|
+
this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
search(){
|
|
250
|
+
this.$refs.paged.$refs.cri.search()
|
|
251
|
+
},
|
|
252
|
+
cancel() {
|
|
253
|
+
this.show = false
|
|
254
|
+
},
|
|
255
|
+
showmsg(obj){
|
|
256
|
+
this.rowdata=obj
|
|
257
|
+
this.show=true
|
|
258
|
+
},
|
|
259
|
+
userTypeChange () {
|
|
260
|
+
this.gasproperties=[]
|
|
261
|
+
if(this.$refs.paged.model.model !==null) {
|
|
262
|
+
this.$refs.paged.model.model.f_gasproperties=''
|
|
263
|
+
|
|
264
|
+
console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
265
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
266
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
267
|
+
}
|
|
268
|
+
else{
|
|
269
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
|
|
273
|
+
selfSearch(args) {
|
|
274
|
+
//args.condition = args.condition+ ` ${this.filialeCodeStr}`
|
|
275
|
+
this.model.params.f_userinfo_code = this.$refs.paged.$refs.cri.model.f_userinfo_code ==null|| this.$refs.paged.$refs.cri.model.f_userinfo_code==''?'':` and tui.f_userinfo_code = '${this.$refs.paged.$refs.cri.model.f_userinfo_code}'`
|
|
276
|
+
this.model.params.f_user_name = this.$refs.paged.$refs.cri.model.f_user_name ==null|| this.$refs.paged.$refs.cri.model.f_user_name==''?'':` and tui.f_user_name = '${this.$refs.paged.$refs.cri.model.f_user_name}'`
|
|
277
|
+
this.model.params.f_address = this.$refs.paged.$refs.cri.model.f_address ==null|| this.$refs.paged.$refs.cri.model.f_address==''?'':` and tua.f_address = '${this.$refs.paged.$refs.cri.model.f_address}'`
|
|
278
|
+
this.model.params.f_user_type = this.$refs.paged.$refs.cri.model.f_user_type ==null|| this.$refs.paged.$refs.cri.model.f_user_type==''?'':` and tuf.f_user_type = '${this.$refs.paged.$refs.cri.model.f_user_type}'`
|
|
279
|
+
this.model.params.f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties ==null|| this.$refs.paged.$refs.cri.model.f_gasproperties==''?'':` and tuf.f_gasproperties = '${this.$refs.paged.$refs.cri.model.f_gasproperties}'`
|
|
280
|
+
this.model.params.f_meter_classify = this.$refs.paged.$refs.cri.model.f_meter_classify ==null|| this.$refs.paged.$refs.cri.model.f_meter_classify==''?'':` and tuf.f_meter_classify = '${this.$refs.paged.$refs.cri.model.f_meter_classify}'`
|
|
281
|
+
this.model.params.f_meternumber = this.$refs.paged.$refs.cri.model.f_meternumber ==null|| this.$refs.paged.$refs.cri.model.f_meternumber==''?'':` and tuf.f_meternumber = '${this.$refs.paged.$refs.cri.model.f_meternumber}'`
|
|
282
|
+
this.model.params.f_filialeid = this.f_filialeid == null || this.f_filialeid=='' ? this.$login.f.orgid: this.f_filialeid
|
|
283
|
+
this.model.search(args.condition, args.model)
|
|
284
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
285
|
+
},
|
|
286
|
+
clear() {
|
|
287
|
+
// this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
288
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
289
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
290
|
+
});
|
|
291
|
+
this.$refs.paged.$refs.cri.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
292
|
+
this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
293
|
+
|
|
294
|
+
},
|
|
295
|
+
dealmsg(val) {
|
|
296
|
+
val.model = this.model.model
|
|
297
|
+
this.$dispatch('deal-msg', val)
|
|
298
|
+
},
|
|
299
|
+
show() {
|
|
300
|
+
this.criteriaShow = true
|
|
301
|
+
},
|
|
302
|
+
hidden() {
|
|
303
|
+
this.criteriaShow = !this.criteriaShow
|
|
304
|
+
},
|
|
305
|
+
getRes(condition,obj) {
|
|
306
|
+
this.orgCondtionStr = condition
|
|
307
|
+
this.f_orgid = obj.resids
|
|
308
|
+
},
|
|
309
|
+
stamp() {
|
|
310
|
+
this.all = false
|
|
311
|
+
//默认选择要打印的列
|
|
312
|
+
this.modelval = defaultPrint.config
|
|
313
|
+
this.fields = this.getfield
|
|
314
|
+
console.log('所有打印字段', this.fields)
|
|
315
|
+
this.printshow = true
|
|
316
|
+
this.put()
|
|
317
|
+
},
|
|
318
|
+
put() {
|
|
319
|
+
// 对Modelval进行排序
|
|
320
|
+
this.sortModelval()
|
|
321
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>补卡查询统计报表</th></tr><tr>`
|
|
322
|
+
for (let key of this.modelval) {
|
|
323
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
324
|
+
}
|
|
325
|
+
this.thead += '</tr>'
|
|
326
|
+
},
|
|
327
|
+
print() {
|
|
328
|
+
this.$refs.print.PrintAsFile()
|
|
329
|
+
this.printshow = false
|
|
330
|
+
},
|
|
331
|
+
close() {
|
|
332
|
+
this.printshow = false
|
|
333
|
+
this.all = false
|
|
334
|
+
},
|
|
335
|
+
// 对选择的列进行排序
|
|
336
|
+
sortModelval() {
|
|
337
|
+
let sortModel = []
|
|
338
|
+
Object.keys(this.fields).forEach((key) => {
|
|
339
|
+
if (this.modelval.includes(key)) {
|
|
340
|
+
sortModel.push(key)
|
|
341
|
+
}
|
|
342
|
+
})
|
|
343
|
+
this.modelval = sortModel
|
|
344
|
+
console.log('选择的打印的字段', this.modelval)
|
|
345
|
+
},
|
|
346
|
+
|
|
347
|
+
},
|
|
348
|
+
watch: {
|
|
349
|
+
'model'(val) {
|
|
350
|
+
console.log(val, "12222222222222222222")
|
|
351
|
+
},
|
|
352
|
+
'filialeCodeStr'(val) {
|
|
353
|
+
let res = val.match(/'(.*?)'/)
|
|
354
|
+
console.log('正则提取:',res && res[1])
|
|
355
|
+
if (res) {
|
|
356
|
+
this.f_filialeid = res[1]
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
},
|
|
360
|
+
computed: {
|
|
361
|
+
getCondition() {
|
|
362
|
+
let params={}
|
|
363
|
+
params.f_userinfo_code = this.$refs.paged.$refs.cri.model.f_userinfo_code ==null|| this.$refs.paged.$refs.cri.model.f_userinfo_code==''?'':` and tui.f_userinfo_code = '${this.$refs.paged.$refs.cri.model.f_userinfo_code}'`
|
|
364
|
+
params.f_user_name = this.$refs.paged.$refs.cri.model.f_user_name ==null|| this.$refs.paged.$refs.cri.model.f_user_name==''?'':` and tui.f_user_name = '${this.$refs.paged.$refs.cri.model.f_user_name}'`
|
|
365
|
+
params.f_address = this.$refs.paged.$refs.cri.model.f_address ==null|| this.$refs.paged.$refs.cri.model.f_address==''?'':` and tua.f_address = '${this.$refs.paged.$refs.cri.model.f_address}'`
|
|
366
|
+
params.f_user_type = this.$refs.paged.$refs.cri.model.f_user_type ==null|| this.$refs.paged.$refs.cri.model.f_user_type==''?'':` and tuf.f_user_type = '${this.$refs.paged.$refs.cri.model.f_user_type}'`
|
|
367
|
+
params.f_gasproperties = this.$refs.paged.$refs.cri.model.f_gasproperties ==null|| this.$refs.paged.$refs.cri.model.f_gasproperties==''?'':` and tuf.f_gasproperties = '${this.$refs.paged.$refs.cri.model.f_gasproperties}'`
|
|
368
|
+
params.f_meter_classify = this.$refs.paged.$refs.cri.model.f_meter_classify ==null|| this.$refs.paged.$refs.cri.model.f_meter_classify==''?'':` and tuf.f_meter_classify = '${this.$refs.paged.$refs.cri.model.f_meter_classify}'`
|
|
369
|
+
params.f_meternumber = this.$refs.paged.$refs.cri.model.f_meternumber ==null|| this.$refs.paged.$refs.cri.model.f_meternumber==''?'':` and tuf.f_meternumber = '${this.$refs.paged.$refs.cri.model.f_meternumber}'`
|
|
370
|
+
params.f_filialeid = this.f_filialeid == null || this.f_filialeid=='' ? this.$login.f.orgid: this.f_filialeid;
|
|
371
|
+
params.condition = `${this.$refs.paged.$refs.cri.condition}`;
|
|
372
|
+
return params;
|
|
373
|
+
},
|
|
374
|
+
valuetypeoptions(){
|
|
375
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('增值服务类型')]
|
|
376
|
+
},
|
|
377
|
+
stateoptions(){
|
|
378
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('增值服务状态')]
|
|
379
|
+
},
|
|
380
|
+
usertypes() {
|
|
381
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
382
|
+
},
|
|
383
|
+
pricetypeoptions(){
|
|
384
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气价类型')]
|
|
385
|
+
},
|
|
386
|
+
getfield() {
|
|
387
|
+
return exportConfig.valueuserinfoConfig
|
|
388
|
+
},
|
|
389
|
+
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
</script>
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
<!-- <res-select-group :show-component="['company']" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>-->
|
|
67
67
|
<div class="col-sm-2 form-group">
|
|
68
68
|
<label class="font_normal_body">表  号</label>
|
|
69
|
-
<input style="width:60%" class="input_search" condition="f_meternumber
|
|
69
|
+
<input style="width:60%" class="input_search" condition="f_meternumber like '%{}'" placeholder='表号' type="text"
|
|
70
70
|
v-el:meternumber v-model="model.f_meternumber" v-next-el='meternumber'
|
|
71
71
|
>
|
|
72
72
|
</div>
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
<nobr>联系电话</nobr>
|
|
204
204
|
</th>
|
|
205
205
|
<th style="text-align:center">
|
|
206
|
-
<nobr
|
|
206
|
+
<nobr>系统金额</nobr>
|
|
207
207
|
</th>
|
|
208
208
|
<th style="text-align:center">
|
|
209
209
|
<nobr>表号</nobr>
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
"f_address":"客户地址","f_user_type":"客户类型","f_gasproperties":"用气性质",
|
|
330
330
|
"f_meternumber":"表号",
|
|
331
331
|
"f_user_phone":"联系电话",
|
|
332
|
-
"f_balance_amount":"
|
|
332
|
+
"f_balance_amount":"系统余额",
|
|
333
333
|
|
|
334
334
|
"f_startuse_date":"启用日期",
|
|
335
335
|
"initinsertdate":"初次上报日期",
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<tab-button class="foot_tabset" :active="-1">
|
|
3
|
-
<tabs header="指令查询" v-if="permission('指令查询')">
|
|
4
|
-
<instruct-manage v-if="show.includes('指令查询')"></instruct-manage>
|
|
5
|
-
</tabs>
|
|
6
|
-
<tabs header="上报查询" v-if="permission('上报查询')">
|
|
7
|
-
<report-list v-if="show.includes('上报查询')"></report-list>
|
|
8
|
-
</tabs>
|
|
9
|
-
<tabs header="结算查询" v-if="permission('结算查询')">
|
|
10
|
-
<report-data-query v-if="show.includes('结算查询')"></report-data-query>
|
|
11
|
-
</tabs>
|
|
12
|
-
<tabs header="缴费查询" v-if="permission('缴费查询')">
|
|
13
|
-
<recharge-instruct-query v-if="show.includes('缴费查询')"></recharge-instruct-query>
|
|
14
|
-
</tabs>
|
|
15
|
-
<tabs header="异常查询" v-if="permission('异常查询')">
|
|
16
|
-
<meter-exception-list v-if="show.includes('异常查询')"></meter-exception-list>
|
|
17
|
-
</tabs>
|
|
18
|
-
<tabs header="用户失联" v-if="permission('用户失联')">
|
|
19
|
-
<user-lost-contact-analysis v-if="show.includes('用户失联')"></user-lost-contact-analysis>
|
|
20
|
-
</tabs>
|
|
21
|
-
<tabs header="失联查询" v-if="permission('失联查询')">
|
|
22
|
-
<lost-contact-analysis-list v-if="show.includes('失联查询')"></lost-contact-analysis-list>
|
|
23
|
-
</tabs>
|
|
24
|
-
<tabs header="用气查询" v-if="permission('用气查询')">
|
|
25
|
-
<use-gas-statistics v-if="show.includes('用气查询')"></use-gas-statistics>
|
|
26
|
-
</tabs>
|
|
27
|
-
<tabs header="未用气查询" v-if="permission('未用气查询')">
|
|
28
|
-
<get-no-meteread-query v-if="show.includes('未用气查询')"></get-no-meteread-query>
|
|
29
|
-
</tabs>
|
|
30
|
-
<tabs header="物联网表结算分析" v-if="permission('物联网表结算分析')">
|
|
31
|
-
<webmeter-settlement-analysis v-if="show.includes('物联网表结算分析')"></webmeter-settlement-analysis>
|
|
32
|
-
</tabs>
|
|
33
|
-
</tab-button>
|
|
34
|
-
|
|
35
|
-
</template>
|
|
36
|
-
|
|
37
|
-
<script>
|
|
38
|
-
import TabButton from '../sale/common/TabButton'
|
|
39
|
-
import Tabs from '../sale/common/Tabs'
|
|
40
|
-
|
|
41
|
-
export default {
|
|
42
|
-
title: '物联查询',
|
|
43
|
-
data () {
|
|
44
|
-
return {
|
|
45
|
-
show: []
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
components: {Tabs, TabButton},
|
|
49
|
-
methods: {
|
|
50
|
-
permission (name) {
|
|
51
|
-
// 保留是为了后面可能也会和综合查询一样加权限
|
|
52
|
-
if (this.$login.r.find(value => value === '物联查询')) {
|
|
53
|
-
if (!this.$login.r.find(value => value === name)) {
|
|
54
|
-
return false
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
return true
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
</script>
|
|
62
|
-
|
|
63
|
-
<style scoped>
|
|
64
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<tab-button class="foot_tabset" :active="-1">
|
|
3
|
+
<tabs header="指令查询" v-if="permission('指令查询')">
|
|
4
|
+
<instruct-manage v-if="show.includes('指令查询')"></instruct-manage>
|
|
5
|
+
</tabs>
|
|
6
|
+
<tabs header="上报查询" v-if="permission('上报查询')">
|
|
7
|
+
<report-list v-if="show.includes('上报查询')"></report-list>
|
|
8
|
+
</tabs>
|
|
9
|
+
<tabs header="结算查询" v-if="permission('结算查询')">
|
|
10
|
+
<report-data-query v-if="show.includes('结算查询')"></report-data-query>
|
|
11
|
+
</tabs>
|
|
12
|
+
<tabs header="缴费查询" v-if="permission('缴费查询')">
|
|
13
|
+
<recharge-instruct-query v-if="show.includes('缴费查询')"></recharge-instruct-query>
|
|
14
|
+
</tabs>
|
|
15
|
+
<tabs header="异常查询" v-if="permission('异常查询')">
|
|
16
|
+
<meter-exception-list v-if="show.includes('异常查询')"></meter-exception-list>
|
|
17
|
+
</tabs>
|
|
18
|
+
<tabs header="用户失联" v-if="permission('用户失联')">
|
|
19
|
+
<user-lost-contact-analysis v-if="show.includes('用户失联')"></user-lost-contact-analysis>
|
|
20
|
+
</tabs>
|
|
21
|
+
<tabs header="失联查询" v-if="permission('失联查询')">
|
|
22
|
+
<lost-contact-analysis-list v-if="show.includes('失联查询')"></lost-contact-analysis-list>
|
|
23
|
+
</tabs>
|
|
24
|
+
<tabs header="用气查询" v-if="permission('用气查询')">
|
|
25
|
+
<use-gas-statistics v-if="show.includes('用气查询')"></use-gas-statistics>
|
|
26
|
+
</tabs>
|
|
27
|
+
<tabs header="未用气查询" v-if="permission('未用气查询')">
|
|
28
|
+
<get-no-meteread-query v-if="show.includes('未用气查询')"></get-no-meteread-query>
|
|
29
|
+
</tabs>
|
|
30
|
+
<tabs header="物联网表结算分析" v-if="permission('物联网表结算分析')">
|
|
31
|
+
<webmeter-settlement-analysis v-if="show.includes('物联网表结算分析')"></webmeter-settlement-analysis>
|
|
32
|
+
</tabs>
|
|
33
|
+
</tab-button>
|
|
34
|
+
|
|
35
|
+
</template>
|
|
36
|
+
|
|
37
|
+
<script>
|
|
38
|
+
import TabButton from '../sale/common/TabButton'
|
|
39
|
+
import Tabs from '../sale/common/Tabs'
|
|
40
|
+
|
|
41
|
+
export default {
|
|
42
|
+
title: '物联查询',
|
|
43
|
+
data () {
|
|
44
|
+
return {
|
|
45
|
+
show: []
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
components: {Tabs, TabButton},
|
|
49
|
+
methods: {
|
|
50
|
+
permission (name) {
|
|
51
|
+
// 保留是为了后面可能也会和综合查询一样加权限
|
|
52
|
+
if (this.$login.r.find(value => value === '物联查询')) {
|
|
53
|
+
if (!this.$login.r.find(value => value === name)) {
|
|
54
|
+
return false
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
return true
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
</script>
|
|
62
|
+
|
|
63
|
+
<style scoped>
|
|
64
|
+
</style>
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<input @keyup.enter="search" type="text" class="input_search" style="width:60%"
|
|
10
10
|
v-model="model.f_userinfo_code"
|
|
11
11
|
placeholder='客户编号'
|
|
12
|
-
condition="f_userinfo_code
|
|
12
|
+
condition="f_userinfo_code = '{}'"
|
|
13
13
|
>
|
|
14
14
|
</div>
|
|
15
15
|
<div class="col-sm-2">
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<input @keyup.enter="search" type="text" class="input_search" style="width:60%"
|
|
35
35
|
v-model="model.f_meternumber"
|
|
36
36
|
placeholder='表号'
|
|
37
|
-
condition="f_meternumber
|
|
37
|
+
condition="f_meternumber = '{}'">
|
|
38
38
|
</div>
|
|
39
39
|
|
|
40
40
|
<div style="float:right">
|
|
@@ -147,6 +147,9 @@
|
|
|
147
147
|
<th style="text-align:center">
|
|
148
148
|
<nobr>累购金额</nobr>
|
|
149
149
|
</th>
|
|
150
|
+
<th style="text-align:center">
|
|
151
|
+
<nobr>系统余额</nobr>
|
|
152
|
+
</th>
|
|
150
153
|
<th style="text-align:center">
|
|
151
154
|
<nobr>表上余额</nobr>
|
|
152
155
|
</th>
|
|
@@ -199,6 +202,9 @@
|
|
|
199
202
|
<td style="text-align:center">
|
|
200
203
|
<nobr>{{row.f_balance_amount}}</nobr>
|
|
201
204
|
</td>
|
|
205
|
+
<td style="text-align:center">
|
|
206
|
+
<nobr>{{row.f_jval}}</nobr>
|
|
207
|
+
</td>
|
|
202
208
|
<td style="text-align:center">
|
|
203
209
|
<nobr>{{row.f_valvestate}}</nobr>
|
|
204
210
|
</td>
|
|
@@ -260,7 +266,8 @@
|
|
|
260
266
|
excelHeaders: {
|
|
261
267
|
'f_userinfo_code': '客户编号','f_user_name': '客户名称','f_address': '客户地址',
|
|
262
268
|
'f_meternumber': '表号','f_meter_brand': '气表品牌','f_meter_base': '气表底数',
|
|
263
|
-
'f_total_fee': '累购金额','f_balance_amount': '
|
|
269
|
+
'f_total_fee': '累购金额','f_balance_amount': '系统余额', 'f_jval': '表上余额',
|
|
270
|
+
'f_valvestate': '阀门状态',
|
|
264
271
|
'f_signal': '信号强度','f_batterylevel': '电压','f_magneticInterference': '磁干扰',
|
|
265
272
|
'f_orgname': '组织机构'
|
|
266
273
|
}
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
|
|
154
154
|
<td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
|
|
155
155
|
<th style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></th>
|
|
156
|
-
<th style="text-align:center"><nobr>{{row.
|
|
156
|
+
<th style="text-align:center"><nobr>{{row.f_jval}}</nobr></th>
|
|
157
157
|
<th style="text-align:center"><nobr>{{row.f_price}}</nobr></th>
|
|
158
158
|
<th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
|
|
159
159
|
<th style="text-align:center"><nobr>{{row.f_valvestate}}</nobr></th>
|