manage-client 3.3.1 → 3.3.3

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 (34) hide show
  1. package/package.json +1 -1
  2. package/src/components/sale/businessquery/GroupChargeQuery.vue +1 -1
  3. package/src/filiale/gehua/GroupChargeQuery.vue +1 -1
  4. package/src/filiale/macheng/config/exportConfig.js +1 -1
  5. package/src/filiale/shanxian/CancellationQuery.vue +426 -0
  6. package/src/filiale/shanxian/ChangeUserQuery.vue +395 -0
  7. package/src/filiale/shanxian/DeviceQuery.vue +586 -0
  8. package/src/filiale/shanxian/DisableQuery.vue +528 -0
  9. package/src/filiale/shanxian/EnableQuery.vue +461 -0
  10. package/src/filiale/shanxian/FMYGasQuery.vue +731 -0
  11. package/src/filiale/shanxian/FmyGasDeviceQuery.vue +68 -33
  12. package/src/filiale/shanxian/InspectListUserNew.vue +18 -16
  13. package/src/filiale/shanxian/LostContactAnalysisList.vue +19 -18
  14. package/src/filiale/shanxian/MeterQuery.vue +968 -0
  15. package/src/filiale/shanxian/MonthGasQuery.vue +481 -0
  16. package/src/filiale/shanxian/NewQueryInstruct.vue +457 -0
  17. package/src/filiale/shanxian/ReverseQuery.vue +454 -0
  18. package/src/filiale/shanxian/TransferQuery.vue +469 -0
  19. package/src/filiale/shanxian/UserGasAll.vue +15 -14
  20. package/src/filiale/shanxian/UserLostContactAnalysis.vue +18 -17
  21. package/src/filiale/shanxian/UserQuery.vue +27 -26
  22. package/src/filiale/shanxian/config/exportConfig.js +100 -100
  23. package/src/filiale/shanxian/newwebmeter/TotalExceptionByMeter.vue +608 -0
  24. package/src/filiale/shanxian/sale.js +20 -0
  25. package/src/filiale/shanxian/webmeterManage.js +4 -0
  26. package/src/filiale/wenxi/GasStatistics.vue +6 -6
  27. package/src/filiale/wenxi/HandplanQuery.vue +10 -10
  28. package/src/filiale/wenxi/MeterQuery.vue +41 -68
  29. package/.gradle/4.4/fileChanges/last-build.bin +0 -0
  30. package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
  31. package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
  32. package/.gradle/6.1/fileChanges/last-build.bin +0 -0
  33. package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
  34. package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
@@ -0,0 +1,457 @@
1
+ <template >
2
+ <div class="flex-row">
3
+ <div @keyup.enter="search1" class="basic-main">
4
+ <criteria-paged :model="model" v-ref:paged>
5
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:criteria>
6
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row">
8
+ <div class="col-sm-2">
9
+ <res-select-group :show-component="['company']" :initres="$parent.$parent.org" @re-res="$parent.$parent.getorg" style="width:60%"></res-select-group>
10
+ </div>
11
+ <div class="col-sm-2 form-group ">
12
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}编号</label>
13
+ <input
14
+ class="input_search" condition="f_userinfo_code = '{}'"
15
+ placeholder='用户编号'
16
+ style="width:60%"
17
+ type="text"
18
+ v-model="model.f_userinfo_code">
19
+ </div>
20
+
21
+ <div class="col-sm-2 form-group">
22
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}名称</label>
23
+ <input
24
+ class="input_search" condition="f_user_name like '%{}%'"
25
+ placeholder='用户名称'
26
+ style="width:60%"
27
+ type="text"
28
+ v-model="model.f_user_name"
29
+ >
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body">{{$parent.$parent.usertitle}}地址</label>
33
+ <input class="input_search"
34
+ condition="f_address like '%{}%'"
35
+ placeholder='用户地址'
36
+ style="width:60%"
37
+ type="text"
38
+ v-model="model.f_address"
39
+ >
40
+ </div>
41
+
42
+ <div style="float:right">
43
+ <button @click="search()" class="button_search" v-el:cba>查询</button>
44
+ <button @click="$parent.$parent.clearmsg" class="button_clear">清空</button>
45
+ <export-excel
46
+ :choose-col="true"
47
+ :data="{condition: $parent.$parent.condition,
48
+ f_orgid: $parent.$parent.f_orgid,
49
+ f_start_date: $parent.$parent.f_start_date,
50
+ f_end_date: $parent.$parent.f_end_date
51
+ }"
52
+ :field="$parent.$parent.getfield" sql-name="manage_getNewQueryInstruct" sqlurl="rs/logic/exportfile"
53
+ template-name='指令查看'></export-excel>
54
+ <div
55
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
56
+ @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
57
+ </div>
58
+ </div>
59
+ <div class="row" v-show="$parent.$parent.criteriaShow">
60
+
61
+ <!-- <div class="col-sm-2">-->
62
+ <!-- <label class="font_normal_body">组织机构</label>-->
63
+ <!-- <res-select :initresid="$parent.$parent.org"-->
64
+ <!-- style="width:60%"-->
65
+ <!-- @res-select="$parent.$parent.getorg"-->
66
+ <!-- restype='organization'>-->
67
+ <!-- </res-select>-->
68
+
69
+ <!-- </div>-->
70
+
71
+ <!-- <div class="col-sm-2 form-group">-->
72
+ <!-- <label class="font_normal_body">用户类型</label>-->
73
+ <!-- <v-select style="width:60%" :value.sync="model.f_user_type" v-model="model.f_user_type"-->
74
+ <!-- placeholder='用户类型'-->
75
+ <!-- value-single="true"-->
76
+ <!-- :options='$parent.$parent.userType'-->
77
+ <!-- close-on-select-->
78
+ <!-- condition="f_user_type ='{}'"-->
79
+ <!-- ></v-select>-->
80
+ <!-- </div>-->
81
+ <!-- <div class="col-sm-2 form-group">-->
82
+ <!-- <label class="font_normal_body">用气性质</label>-->
83
+ <!-- <v-select style="width:60%" :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"-->
84
+ <!-- placeholder='用气性质'-->
85
+ <!-- value-single="true"-->
86
+ <!-- :options='$parent.$parent.Gasproperties'-->
87
+ <!-- close-on-select-->
88
+ <!-- condition="f_gasproperties = '{}'"-->
89
+ <!-- ></v-select>-->
90
+ <!-- </div>-->
91
+ <div class="col-sm-2 form-group">
92
+ <label class="font_normal_body">表&ensp;&ensp;&ensp;&ensp;号</label>
93
+ <input
94
+ class="input_search" condition="f_meternumber = '{}'"
95
+ placeholder='表号'
96
+ style="width:60%"
97
+ type="text"
98
+ v-model="model.f_meternumber">
99
+ </div>
100
+ <div class="col-sm-2 form-group">
101
+ <label class="font_normal_body">气表品牌</label>
102
+ <v-select
103
+ :options='$parent.$parent.meterbrand'
104
+
105
+ :value.sync="model.f_gasbrand"
106
+ close-on-select
107
+ condition="f_meter_brand='{}'"
108
+ placeholder='气表品牌'
109
+ style="width:60%"
110
+ v-model="model.f_gasbrand">
111
+ </v-select>
112
+ </div>
113
+ <div class="col-sm-2 form-group">
114
+ <label class="font_normal_body">指令类型</label>
115
+ <v-select :options='$parent.$parent.instructtype' :value.sync="model.f_instruct_type" close-on-select
116
+ condition="f_instruct_type='{}'"
117
+ placeholder='指令类型'
118
+ style="width:60%"
119
+ v-model="model.f_instruct_type"></v-select>
120
+ </div>
121
+ <div class="col-sm-2 form-group">
122
+ <label class="font_normal_body">执行状态</label>
123
+ <v-select :options='$parent.$parent.instructstate' :value.sync="model.f_instruct_state" close-on-select
124
+ condition="f_instruct_state='{}'"
125
+ placeholder='执行状态'
126
+ style="width:60%"
127
+ v-model="model.f_instruct_state"
128
+ ></v-select>
129
+ </div>
130
+
131
+ <div class="col-sm-2 form-group">
132
+ <label class="font_normal_body">指令时间</label>
133
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_start_date"
134
+ condition="f_instruct_date >= '{}'"
135
+ placeholder="起始时间"
136
+ style="width:60%"
137
+ v-model="model.f_start_date"
138
+ ></datepicker>
139
+ </div>
140
+ <div class="col-sm-2 form-group">
141
+ <label class="font_normal_body">&emsp;&emsp;至&emsp;</label>
142
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'" :value.sync="model.f_end_date"
143
+ condition="f_instruct_date <= '{}'"
144
+ placeholder="结束时间"
145
+ style="width:60%"
146
+ v-model="model.f_end_date"
147
+ ></datepicker>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ </criteria>
152
+ <data-grid :model="model" class="list_area table_sy" id="queryinstruct" partial='list' v-ref:grid>
153
+ <template partial='head'>
154
+ <tr>
155
+ <th style="text-align:center">
156
+ <nobr>序号</nobr>
157
+ </th>
158
+ <th style="text-align:center">
159
+ <nobr>{{$parent.$parent.$parent.usertitle}}编号</nobr>
160
+ </th>
161
+ <th style="text-align:center">
162
+ <nobr>{{$parent.$parent.$parent.usertitle}}名称</nobr>
163
+ </th>
164
+ <th style="text-align:center">
165
+ <nobr>{{$parent.$parent.$parent.usertitle}}地址</nobr>
166
+ </th>
167
+ <th style="text-align:center">
168
+ <nobr>表号</nobr>
169
+ </th>
170
+ <th style="text-align:center">
171
+ <nobr>气表品牌</nobr>
172
+ </th>
173
+ <th style="text-align:center">
174
+ <nobr>指令类型</nobr>
175
+ </th>
176
+ <th style="text-align:center">
177
+ <nobr>指令标题</nobr>
178
+ </th>
179
+ <th style="text-align:center">
180
+ <nobr>执行状态</nobr>
181
+ </th>
182
+ <th style="text-align:center"><nobr>执行结果</nobr></th>
183
+ <th style="text-align:center"><nobr>指令生成人</nobr></th>
184
+ <th style="text-align:center"><nobr>指令生成时间</nobr></th>
185
+ <th style="text-align:center"><nobr>指令发送时间</nobr></th>
186
+ <th style="text-align:center"><nobr>上表时间</nobr></th>
187
+ <th style="text-align:center">
188
+ <nobr>充值金额</nobr>
189
+ </th>
190
+ <th style="text-align:center">
191
+ <nobr>操作内容</nobr>
192
+ </th>
193
+ <th style="text-align:center">
194
+ <nobr>操作人(记录)</nobr>
195
+ </th>
196
+ <th style="text-align:center">
197
+ <nobr>操作时间(记录)</nobr>
198
+ </th>
199
+ <th style="text-align:center">
200
+ <nobr>操作类型</nobr>
201
+ </th>
202
+ <th style="text-align:center">
203
+ <nobr>记录状态</nobr>
204
+ </th>
205
+ <th style="text-align:center"><nobr>组织机构</nobr></th>
206
+ </tr>
207
+ </template>
208
+ <template partial='body'>
209
+ <tr>
210
+ <td style="text-align:center">
211
+ <nobr>{{$index+1}}</nobr>
212
+ </td>
213
+ <td style="text-align:center">
214
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
215
+ </td>
216
+ <td style="text-align:center">
217
+ <nobr>{{row.f_user_name}}</nobr>
218
+ </td>
219
+ <td style="text-align:center">
220
+ <nobr>{{row.f_address}}</nobr>
221
+ </td>
222
+ <td style="text-align:center">
223
+ <nobr>{{row.f_meternumber}}</nobr>
224
+ </td>
225
+ <td style="text-align:center">
226
+ <nobr>{{row.f_meter_brand}}</nobr>
227
+ </td>
228
+
229
+ <td style="text-align:center">
230
+ <nobr>{{row.f_instruct_type}}</nobr>
231
+ </td>
232
+ <td style="text-align:center">
233
+ <nobr>{{row.f_instruct_title}}</nobr>
234
+ </td>
235
+ <td style="text-align:center">
236
+ <nobr>{{row.f_instruct_state}}</nobr>
237
+ </td>
238
+ <td style="text-align:center">
239
+ <nobr>{{row.f_receive_state}}</nobr>
240
+ </td>
241
+ <td style="text-align:center">
242
+ <nobr>{{row.f_inputtor}}</nobr>
243
+ </td>
244
+ <td style="text-align:center">
245
+ <nobr>{{row.f_instruct_date}}</nobr>
246
+ </td>
247
+ <td style="text-align:center"><nobr>{{row.f_send_date}}</nobr></td>
248
+ <td style="text-align:center"><nobr>{{row.f_callback_date}}</nobr></td>
249
+ <th style="text-align:center">
250
+ <nobr>{{row.f_collection}}</nobr>
251
+ </th>
252
+ <td style="text-align:center">
253
+ <nobr>{{row.note}}</nobr>
254
+ </td>
255
+ <td style="text-align:center">
256
+ <nobr>{{row.f_operator}}</nobr>
257
+ </td>
258
+ <td style="text-align:center">
259
+ <nobr>{{row.f_operate_date}}</nobr>
260
+ </td>
261
+ <td style="text-align:center">
262
+ <nobr>{{row.f_operate_type}}</nobr>
263
+ </td>
264
+ <td style="text-align:center">
265
+ <nobr>{{row.f_state}}</nobr>
266
+ </td>
267
+ <td style="text-align:center">
268
+ <nobr>{{row.f_orgname}}</nobr>
269
+ </td>
270
+ </tr>
271
+ </template>
272
+ </data-grid>
273
+ </criteria-paged>
274
+ </div>
275
+ </div>
276
+ </template>
277
+ <script>
278
+ import {PagedList} from 'vue-client'
279
+ import * as Util from '../../Util'
280
+ import {HttpResetClass} from 'vue-client'
281
+
282
+ let readyGen = async function (self) {
283
+ await self.$MagLoadParams.loadParam()
284
+ self.initQueryParam()
285
+ self.getinstructtype()
286
+ self.getinstructstate()
287
+ await self.$getConfig(self, 'NewQueryInstruct')
288
+ console.log('指令查看config', self.config)
289
+ self.getfield = self.config.excelHeaders
290
+ // self.reflash()
291
+ }
292
+ export default {
293
+ title: '指令查看',
294
+ data () {
295
+ return {
296
+ model: new PagedList('rs/sql/manage_getNewQueryInstruct', 50),
297
+ row: null,
298
+ isLoading: true,
299
+ searchshow: true,
300
+ criteriaShow:false,
301
+ usertitle: this.$appdata.getSingleValue('用户名称前缀') ? this.$appdata.getSingleValue('用户名称前缀') : '客户',
302
+ Gasproperties:[],
303
+ meterbrand: [],
304
+ userType:[],
305
+ instructtype:[],
306
+ instructstate:[],
307
+ org:{
308
+ org:[this.$login.f.orgid],
309
+ dep:[],
310
+ user:[],
311
+ },
312
+ orgcondition:'',
313
+ show: false,
314
+ condition:'',
315
+ f_orgid:'',
316
+ f_start_date:'',
317
+ f_end_date:'',
318
+ getfield: {},
319
+ config: {
320
+ excelHeaders: {
321
+ 'f_userinfo_code': '用户编号','f_address': '用户地址','f_user_name': '用户姓名',
322
+ 'f_meternumber': '表号','f_meter_brand': '气表品牌','f_instruct_type': '指令类型',
323
+ 'f_instruct_state': '执行状态','f_receive_state': '执行结果','f_inputtor': '指令生成人','f_instruct_date': '指令时间',
324
+ 'note':'操作内容','f_operator':'操作人(记录)','f_operate_date':'操作时间(记录)','f_operate_type':'操作类型','f_state':'操作状态',
325
+ 'f_orgname': '组织机构'
326
+ }
327
+ },
328
+ }
329
+ },
330
+ ready () {
331
+ readyGen(this)
332
+ this.$refs.paged.$refs.criteria.model.f_start_date = Util.toStandardDateString() + ' 00:00:00'
333
+ this.$refs.paged.$refs.criteria.model.f_end_date = Util.toStandardDateString() + ' 23:59:59'
334
+ //this.$refs.paged.$refs.criteria.search()
335
+ },
336
+ methods: {
337
+ hidden(){
338
+ this.criteriaShow = !this.criteriaShow
339
+ },
340
+ getorg(condition,obj) {
341
+ this.orgcondition = condition
342
+ this.orgname = obj.orgnames[0]
343
+ },
344
+ initQueryParam () {
345
+ let arr = []
346
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
347
+ let temp = {}
348
+ if(item.value.f_meter_type==='物联网表'){
349
+ temp.label = item.label
350
+ temp.value = item.value.f_meter_brand
351
+ arr.push(temp )
352
+ }
353
+
354
+ })
355
+ this.meterbrand = [{label: '全部', value: ''}, ...arr]
356
+ },
357
+ getinstructtype(){
358
+ this.instructtype=[]
359
+ let load = new HttpResetClass()
360
+ load.load('POST', 'rs/sql/singleTableParam', {
361
+ data: {
362
+ items:'f_instruct_type',
363
+ tablename:'t_instruct',
364
+ condition:'f_instruct_type is not null group by f_instruct_type'
365
+ }
366
+ },{warnMsg:null,resolveMsg:null}).then((res) => {
367
+ this.instructtype.push({label: '全部', value: ''})
368
+ res.data.forEach((item) => {
369
+ this.instructtype.push({label: item.f_instruct_type, value: item.f_instruct_type})
370
+ })
371
+ })
372
+
373
+ },
374
+ getinstructstate(){
375
+ this.instructstate=[]
376
+ let load = new HttpResetClass()
377
+ load.load('POST', 'rs/sql/singleTableParam', {
378
+ data: {
379
+ items:'f_instruct_state',
380
+ tablename:'t_instruct',
381
+ condition:'f_instruct_state is not null group by f_instruct_state'
382
+ }
383
+ },{warnMsg:null,resolveMsg:null}).then((res) => {
384
+ this.instructstate.push({label: '全部', value: ''})
385
+ res.data.forEach((item) => {
386
+ this.instructstate.push({label: item.f_instruct_state, value: item.f_instruct_state})
387
+ })
388
+ })
389
+
390
+ },
391
+ clearmsg () {
392
+ this.$refs.paged.$refs.criteria.model = {}
393
+ },
394
+ clickshow () {
395
+ this.searchshow = !this.searchshow
396
+ },
397
+ dealmsg (val) {
398
+ val.model = this.model.model
399
+ this.$emit('deal-msg', val)
400
+ },
401
+ async search (args) {
402
+ // this.obj.resids = this.obj.resids.replace(/\./g, ''),
403
+ args.condition = `${args.condition}`+this.orgcondition
404
+ console.log(args.condition+"args.condition")
405
+ this.condition = args.condition
406
+ if( this.$refs.paged.$refs.criteria.model.f_start_date!=null && this.$refs.paged.$refs.criteria.model.f_start_date!=''){
407
+ this.model.params.f_start_date = `'${this.$refs.paged.$refs.criteria.model.f_start_date}'`;
408
+ this.f_start_date = `'${this.$refs.paged.$refs.criteria.model.f_start_date}'`;
409
+ }else{
410
+ this.model.params.f_start_date = '';
411
+ this.f_start_date = '';
412
+ }
413
+ if( this.$refs.paged.$refs.criteria.model.f_end_date!=null && this.$refs.paged.$refs.criteria.model.f_end_date!=''){
414
+ this.model.params.f_end_date = `'${this.$refs.paged.$refs.criteria.model.f_end_date}'`;
415
+ this.f_end_date = `'${this.$refs.paged.$refs.criteria.model.f_end_date}'`;
416
+ }else{
417
+ this.model.params.f_end_date = "";
418
+ this.f_end_date = "";
419
+ }
420
+ if(this.f_orgid_new == '' || this.f_orgid_new == null){
421
+ this.model.params.f_orgid = `'${this.$login.f.orgid}'`;
422
+ this.f_orgid = `${this.$login.f.orgid}`;
423
+ //await this.$LoadParams.loadParam(this.$login.f.orgid)
424
+ }else{
425
+ this.model.params.f_orgid = `'${this.f_orgid_new}'`;
426
+ this.f_orgid = `${this.f_orgid_new}`;
427
+ //await this.$LoadParams.loadParam(this.f_orgid_new)
428
+ }
429
+ this.model.search(args.condition, args.model)
430
+ this.initQueryParam();
431
+ },
432
+
433
+ },
434
+ computed: {
435
+ userType () {
436
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
437
+ },
438
+ Gasproperties () {
439
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
440
+ }
441
+
442
+ }
443
+ }
444
+ </script>
445
+ <style>
446
+ .form-input-group label {
447
+ text-align: right;
448
+ width: auto;
449
+ }
450
+ .datapanel {
451
+ color: #333;
452
+ background-color: white;
453
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
454
+ padding: 10px 30px 10px 30px;
455
+ border-radius:15px;
456
+ }
457
+ </style>