manage-client 3.3.57 → 3.3.59

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 (44) hide show
  1. package/build/dev-server.js +21 -34
  2. package/package.json +1 -1
  3. package/src/components/webmeter/instruction/NewQueryInstruct.vue +61 -7
  4. package/src/components/webmeter/reportdata/ReportDataQuery.vue +0 -6
  5. package/src/filiale/WEINAN/CancellationQuery.vue +74 -0
  6. package/src/filiale/WEINAN/ChargeQuery.vue +58 -1
  7. package/src/filiale/WEINAN/DeviceQuery.vue +63 -0
  8. package/src/filiale/WEINAN/DisableQuery.vue +74 -0
  9. package/src/filiale/WEINAN/EnableQuery.vue +74 -0
  10. package/src/filiale/WEINAN/FillGasQuery.vue +74 -0
  11. package/src/filiale/WEINAN/InspectListUser.vue +35 -0
  12. package/src/filiale/WEINAN/MergeFileQuery.vue +77 -1
  13. package/src/filiale/WEINAN/MeterQuery.vue +58 -0
  14. package/src/filiale/WEINAN/NewAccountQuery.vue +58 -0
  15. package/src/filiale/WEINAN/OtherChargeQuery.vue +58 -0
  16. package/src/filiale/WEINAN/RecordInfoQuery.vue +58 -0
  17. package/src/filiale/WEINAN/UserGasAll.vue +63 -0
  18. package/src/filiale/WEINAN/UserGasList.vue +59 -0
  19. package/src/filiale/WEINAN/UserLostContactAnalysis.vue +63 -0
  20. package/src/filiale/WEINAN/UserQuery.vue +63 -0
  21. package/src/filiale/WEINAN/businessquery/FillCardQuery.vue +643 -0
  22. package/src/filiale/WEINAN/businessquery/HandplanQuery.vue +1428 -0
  23. package/src/filiale/WEINAN/businessquery/MoveMeterQuery.vue +477 -0
  24. package/src/filiale/WEINAN/businessquery/ReverseQuery.vue +512 -0
  25. package/src/filiale/WEINAN/businessquery/TransferQuery.vue +553 -0
  26. package/src/filiale/WEINAN/businessquery/UserInsured.vue +483 -0
  27. package/src/filiale/WEINAN/businessquery/priceadjustQuery.vue +535 -0
  28. package/src/filiale/WEINAN/config/exportConfig.js +41 -38
  29. package/src/filiale/WEINAN/filesquery/ChangeUserQuery.vue +468 -0
  30. package/src/filiale/WEINAN/filesquery/FmyGasDeviceQuery.vue +911 -0
  31. package/src/filiale/WEINAN/filesquery/GasDeviceQuery.vue +1021 -0
  32. package/src/filiale/WEINAN/filesquery/PriceChangeQuery.vue +468 -0
  33. package/src/filiale/WEINAN/filesquery/UserDeviceQuery.vue +505 -0
  34. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +63 -0
  35. package/src/filiale/WEINAN/sale.js +23 -2
  36. package/src/filiale/WEINAN/webmeter/LostContactAnalysisList.vue +692 -0
  37. package/src/filiale/WEINAN/webmeter/NewQueryInstruct.vue +564 -0
  38. package/src/filiale/WEINAN/webmeter/ReportList.vue +483 -0
  39. package/src/filiale/WEINAN/webmeter/TotalExceptionByMeter.vue +665 -0
  40. package/src/filiale/WEINAN/webmeter/UserInstructEchartsList.vue +242 -0
  41. package/src/filiale/WEINAN/webmeter/UserInstructList.vue +390 -0
  42. package/src/filiale/WEINAN/webmeterManage.js +13 -0
  43. package/src/filiale/lixianV3/BusinessManage.vue +3 -0
  44. package/src/filiale/shanxian/UserLostContactAnalysis.vue +35 -3
@@ -0,0 +1,564 @@
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">客户编号</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">客户名称</label>
23
+ <input
24
+ class="input_search" condition="f_user_name = '{}'"
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">客户地址</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="u1.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 class="col-sm-2 form-group">
150
+ <label class="font_normal_body">指令标题</label>
151
+ <v-select :options='$parent.$parent.instructtitle' :value.sync="model.f_instruct_title" close-on-select
152
+ condition="f_instruct_title='{}'"
153
+ placeholder='指令标题'
154
+ style="width:60%"
155
+ v-model="model.f_instruct_title"></v-select>
156
+ </div>
157
+ <div class="col-sm-2 form-group">
158
+ <label class="font_normal_body">用户类型</label>
159
+ <v-select :value.sync="model.f_user_type"
160
+ v-model="model.f_user_type"
161
+ @change="$parent.$parent.userTypeChange()"
162
+ :options='$parent.$parent.userType' placeholder='请选择'
163
+ condition="f_user_type = '{}'"
164
+ close-on-select></v-select>
165
+ </div>
166
+ <div class="col-sm-2 form-group">
167
+ <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
168
+ <v-select :value.sync="model.f_user_usetype" :search="false"
169
+ @change="$parent.$parent.userUseTypeChange()"
170
+ v-model="model.f_user_usetype"
171
+ :options='$parent.$parent.userusetypes'
172
+ condition="f_user_usetype = '{}'"
173
+ placeholder='用气类型'
174
+ value-single="true"
175
+ close-on-select>
176
+ </v-select>
177
+ </div>
178
+ <div class="col-sm-2 form-group">
179
+ <label for="f_use_institution" class="font_normal_body">用气机构</label>
180
+ <v-select :value.sync="model.f_use_institution" :search="false"
181
+ @change="$parent.$parent.userUseInstitutionChange()"
182
+ v-model="model.f_use_institution"
183
+ :options='$parent.$parent.useinstitutions'
184
+ condition="f_use_institution = '{}'"
185
+ placeholder='用气机构'
186
+ value-single="true"
187
+ close-on-select>
188
+ </v-select>
189
+ </div>
190
+ <div class="col-sm-2 form-group">
191
+ <label for="f_user_usenature" class="font_normal_body ">使用性质</label>
192
+ <v-select :value.sync="model.f_user_usenature" :search="false"
193
+ v-model="model.f_user_usenature"
194
+ :options='$parent.$parent.userusenatures'
195
+ condition="f_user_usenature = '{}'"
196
+ placeholder='使用性质'
197
+ value-single="true"
198
+ close-on-select>
199
+ </v-select>
200
+ </div>
201
+ </div>
202
+ </div>
203
+ </criteria>
204
+ <data-grid :model="model" class="list_area table_sy" id="queryinstruct" partial='list' v-ref:grid>
205
+ <template partial='head'>
206
+ <tr>
207
+ <th style="text-align:center">
208
+ <nobr>序号</nobr>
209
+ </th>
210
+ <th style="text-align:center">
211
+ <nobr>客户编号</nobr>
212
+ </th>
213
+ <th style="text-align:center">
214
+ <nobr>客户名称</nobr>
215
+ </th>
216
+ <th style="text-align:center">
217
+ <nobr>客户地址</nobr>
218
+ </th>
219
+ <th style="text-align:center">
220
+ <nobr>表号</nobr>
221
+ </th>
222
+ <th style="text-align:center">
223
+ <nobr>气表品牌</nobr>
224
+ </th>
225
+ <th style="text-align:center">
226
+ <nobr>指令类型</nobr>
227
+ </th>
228
+ <th style="text-align:center">
229
+ <nobr>指令标题</nobr>
230
+ </th>
231
+ <th style="text-align:center">
232
+ <nobr>执行状态</nobr>
233
+ </th>
234
+ <th style="text-align:center"><nobr>执行结果</nobr></th>
235
+ <th style="text-align:center"><nobr>指令生成人</nobr></th>
236
+ <th style="text-align:center"><nobr>指令生成时间</nobr></th>
237
+ <th style="text-align:center"><nobr>指令发送时间</nobr></th>
238
+ <th style="text-align:center"><nobr>上表时间</nobr></th>
239
+ <th style="text-align:center">
240
+ <nobr>充值金额</nobr>
241
+ </th>
242
+ <th style="text-align:center">
243
+ <nobr>操作内容</nobr>
244
+ </th>
245
+ <th style="text-align:center">
246
+ <nobr>操作原因</nobr>
247
+ </th>
248
+ <th style="text-align:center">
249
+ <nobr>操作人(记录)</nobr>
250
+ </th>
251
+ <th style="text-align:center">
252
+ <nobr>操作时间(记录)</nobr>
253
+ </th>
254
+ <th style="text-align:center">
255
+ <nobr>操作类型</nobr>
256
+ </th>
257
+ <th style="text-align:center">
258
+ <nobr>记录状态</nobr>
259
+ </th>
260
+ <th style="text-align:center"><nobr>组织机构</nobr></th>
261
+ </tr>
262
+ </template>
263
+ <template partial='body'>
264
+ <tr>
265
+ <td style="text-align:center">
266
+ <nobr>{{$index+1}}</nobr>
267
+ </td>
268
+ <td style="text-align:center">
269
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
270
+ </td>
271
+ <td style="text-align:center">
272
+ <nobr>{{row.f_user_name}}</nobr>
273
+ </td>
274
+ <td style="text-align:center">
275
+ <nobr>{{row.f_address}}</nobr>
276
+ </td>
277
+ <td style="text-align:center">
278
+ <nobr>{{row.f_meternumber}}</nobr>
279
+ </td>
280
+ <td style="text-align:center">
281
+ <nobr>{{row.f_meter_brand}}</nobr>
282
+ </td>
283
+
284
+ <td style="text-align:center">
285
+ <nobr>{{row.f_instruct_type}}</nobr>
286
+ </td>
287
+ <td style="text-align:center">
288
+ <nobr>{{row.f_instruct_title}}</nobr>
289
+ </td>
290
+ <td style="text-align:center">
291
+ <nobr>{{row.f_instruct_state}}</nobr>
292
+ </td>
293
+ <td style="text-align:center">
294
+ <nobr>{{row.f_receive_state}}</nobr>
295
+ </td>
296
+ <td style="text-align:center">
297
+ <nobr>{{row.f_inputtor}}</nobr>
298
+ </td>
299
+ <td style="text-align:center">
300
+ <nobr>{{row.f_instruct_date}}</nobr>
301
+ </td>
302
+ <td style="text-align:center"><nobr>{{row.f_send_date}}</nobr></td>
303
+ <td style="text-align:center"><nobr>{{row.f_callback_date}}</nobr></td>
304
+ <th style="text-align:center">
305
+ <nobr>{{row.f_collection}}</nobr>
306
+ </th>
307
+ <td style="text-align:center">
308
+ <nobr>{{row.note}}</nobr>
309
+ </td>
310
+ <td style="text-align:center">
311
+ <nobr>{{row.f_info}}</nobr>
312
+ </td>
313
+ <td style="text-align:center">
314
+ <nobr>{{row.f_operator}}</nobr>
315
+ </td>
316
+ <td style="text-align:center">
317
+ <nobr>{{row.f_operate_date}}</nobr>
318
+ </td>
319
+ <td style="text-align:center">
320
+ <nobr>{{row.f_operate_type}}</nobr>
321
+ </td>
322
+ <td style="text-align:center">
323
+ <nobr>{{row.f_state}}</nobr>
324
+ </td>
325
+ <td style="text-align:center">
326
+ <nobr>{{row.f_orgname}}</nobr>
327
+ </td>
328
+ </tr>
329
+ </template>
330
+ </data-grid>
331
+ </criteria-paged>
332
+ </div>
333
+ </div>
334
+ </template>
335
+ <script>
336
+ import {PagedList} from 'vue-client'
337
+ import co from 'co'
338
+ import * as Util from '../../../Util'
339
+ import getLodop from '../../../plugins/LodopFuncs'
340
+ import {HttpResetClass} from 'vue-client'
341
+ import plugins from '../../../plugins/GetLoginInfoService'
342
+
343
+ let readyGen = async function (self) {
344
+ await self.$MagLoadParams.loadParam()
345
+ self.initQueryParam()
346
+ self.getinstructtype()
347
+ self.getinstructtitle()
348
+ self.getinstructstate()
349
+ await self.$getConfig(self, 'NewQueryInstruct')
350
+ console.log('指令查看config', self.config)
351
+ self.getfield = self.config.excelHeaders
352
+ // self.reflash()
353
+ }
354
+ export default {
355
+ title: '指令查看',
356
+ data () {
357
+ return {
358
+ model: new PagedList('rs/sql/manage_getNewQueryInstruct', 50),
359
+ row: null,
360
+ isLoading: true,
361
+ searchshow: true,
362
+ criteriaShow:false,
363
+ Gasproperties:[],
364
+ meterbrand: [],
365
+ userType:[],
366
+ instructtype:[],
367
+ instructstate:[],
368
+ org:{
369
+ org:[this.$login.f.orgid],
370
+ dep:[],
371
+ user:[],
372
+ },
373
+ orgcondition:'',
374
+ show: false,
375
+ condition:'',
376
+ f_orgid:'',
377
+ f_start_date:'',
378
+ f_end_date:'',
379
+ getfield: {},
380
+ userusetypes: [],
381
+ useinstitutions: [],
382
+ userusenatures: [],
383
+ config: {
384
+ excelHeaders: {
385
+ 'f_userinfo_code': '客户编号','f_address': '客户地址','f_user_name': '客户姓名',
386
+ 'f_meternumber': '表号','f_meter_brand': '气表品牌','f_instruct_type': '指令类型',
387
+ 'f_instruct_state': '执行状态','f_receive_state': '执行结果','f_inputtor': '指令生成人','f_instruct_date': '指令时间',
388
+ 'note':'操作内容','f_info':'操作原因','f_operator':'操作人(记录)','f_operate_date':'操作时间(记录)','f_operate_type':'操作类型','f_state':'操作状态',
389
+ 'f_orgname': '组织机构'
390
+ }
391
+ },
392
+ instructtitle: []
393
+ }
394
+ },
395
+ ready () {
396
+ readyGen(this)
397
+ this.$refs.paged.$refs.criteria.model.f_start_date = Util.toStandardDateString() + ' 00:00:00'
398
+ this.$refs.paged.$refs.criteria.model.f_end_date = Util.toStandardDateString() + ' 23:59:59'
399
+ //this.$refs.paged.$refs.criteria.search()
400
+ },
401
+ methods: {
402
+ userUseInstitutionChange () {
403
+ this.userusenatures = []
404
+ this.$refs.paged.$refs.criteria.model.f_user_usenature = ''
405
+ if (this.$refs.paged.$refs.criteria.model.f_use_institution) {
406
+ let str = this.$refs.paged.$refs.criteria.model.f_use_institution + '使用性质'
407
+ this.userusenatures = this.$appdata.getParam(str)
408
+ }
409
+ },
410
+ userUseTypeChange () {
411
+ this.useinstitutions = []
412
+ this.$refs.paged.$refs.criteria.model.f_use_institution = ''
413
+ if (this.$refs.paged.$refs.criteria.model.f_user_usetype) {
414
+ let str = this.$refs.paged.$refs.criteria.model.f_user_usetype + '机构'
415
+ this.useinstitutions = this.$appdata.getParam(str)
416
+ }
417
+ },
418
+ userTypeChange () {
419
+ this.userusetypes = []
420
+ if(this.$refs.paged.$refs.criteria.model !==null) {
421
+ this.$refs.paged.$refs.criteria.model.f_use_institution = ''
422
+ let str = this.$refs.paged.$refs.criteria.model.f_user_type[0] + '用气类型'
423
+ this.userusetypes = this.$appdata.getParam(str)
424
+ }
425
+ },
426
+ hidden(){
427
+ this.criteriaShow = !this.criteriaShow
428
+ },
429
+ getorg(condition,obj) {
430
+ this.orgcondition = condition.replace('f_orgid','i.f_orgid')
431
+ this.orgcondition = this.orgcondition.replace('f_depid','i.f_depid')
432
+ this.orgname = obj.orgnames[0]
433
+ },
434
+ initQueryParam () {
435
+ let arr = []
436
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
437
+ let temp = {}
438
+ if(item.value.f_meter_type==='物联网表'){
439
+ temp.label = item.label
440
+ temp.value = item.value.f_meter_brand
441
+ arr.push(temp )
442
+ }
443
+
444
+ })
445
+ this.meterbrand = [{label: '全部', value: ''}, ...arr]
446
+ },
447
+ getinstructtype(){
448
+ this.instructtype=[]
449
+ let load = new HttpResetClass()
450
+ load.load('POST', 'rs/sql/singleTableParam', {
451
+ data: {
452
+ items:'f_instruct_type',
453
+ tablename:'t_instruct',
454
+ condition:'f_instruct_type is not null group by f_instruct_type'
455
+ }
456
+ },{warnMsg:null,resolveMsg:null}).then((res) => {
457
+ this.instructtype.push({label: '全部', value: ''})
458
+ res.data.forEach((item) => {
459
+ this.instructtype.push({label: item.f_instruct_type, value: item.f_instruct_type})
460
+ })
461
+ })
462
+
463
+ },
464
+ getinstructtitle(){
465
+ this.instructtype=[]
466
+ let load = new HttpResetClass()
467
+ load.load('POST', 'rs/sql/singleTableParam', {
468
+ data: {
469
+ items:'f_instruct_title',
470
+ tablename:'t_instruct',
471
+ condition:'f_instruct_title is not null group by f_instruct_title'
472
+ }
473
+ },{warnMsg:null,resolveMsg:null}).then((res) => {
474
+ this.instructtitle.push({label: '全部', value: ''})
475
+ res.data.forEach((item) => {
476
+ this.instructtitle.push({label: item.f_instruct_title, value: item.f_instruct_title})
477
+ })
478
+ })
479
+
480
+ },
481
+ getinstructstate(){
482
+ this.instructstate=[]
483
+ let load = new HttpResetClass()
484
+ load.load('POST', 'rs/sql/singleTableParam', {
485
+ data: {
486
+ items:'f_instruct_state',
487
+ tablename:'t_instruct',
488
+ condition:'f_instruct_state is not null group by f_instruct_state'
489
+ }
490
+ },{warnMsg:null,resolveMsg:null}).then((res) => {
491
+ this.instructstate.push({label: '全部', value: ''})
492
+ res.data.forEach((item) => {
493
+ this.instructstate.push({label: item.f_instruct_state, value: item.f_instruct_state})
494
+ })
495
+ })
496
+
497
+ },
498
+ clearmsg () {
499
+ this.$refs.paged.$refs.criteria.model = {}
500
+ },
501
+ clickshow () {
502
+ this.searchshow = !this.searchshow
503
+ },
504
+ dealmsg (val) {
505
+ val.model = this.model.model
506
+ this.$emit('deal-msg', val)
507
+ },
508
+ async search (args) {
509
+ // this.obj.resids = this.obj.resids.replace(/\./g, ''),
510
+ args.condition = `${args.condition}`+this.orgcondition
511
+ console.log(args.condition+"args.condition")
512
+ this.condition = args.condition
513
+ if( this.$refs.paged.$refs.criteria.model.f_start_date!=null && this.$refs.paged.$refs.criteria.model.f_start_date!=''){
514
+ this.model.params.f_start_date = `'${this.$refs.paged.$refs.criteria.model.f_start_date}'`;
515
+ this.f_start_date = `'${this.$refs.paged.$refs.criteria.model.f_start_date}'`;
516
+ }else{
517
+ this.model.params.f_start_date = '';
518
+ this.f_start_date = '';
519
+ }
520
+ if( this.$refs.paged.$refs.criteria.model.f_end_date!=null && this.$refs.paged.$refs.criteria.model.f_end_date!=''){
521
+ this.model.params.f_end_date = `'${this.$refs.paged.$refs.criteria.model.f_end_date}'`;
522
+ this.f_end_date = `'${this.$refs.paged.$refs.criteria.model.f_end_date}'`;
523
+ }else{
524
+ this.model.params.f_end_date = "";
525
+ this.f_end_date = "";
526
+ }
527
+ if(this.f_orgid_new == '' || this.f_orgid_new == null){
528
+ this.model.params.f_orgid = `'${this.$login.f.orgid}'`;
529
+ this.f_orgid = `${this.$login.f.orgid}`;
530
+ //await this.$LoadParams.loadParam(this.$login.f.orgid)
531
+ }else{
532
+ this.model.params.f_orgid = `'${this.f_orgid_new}'`;
533
+ this.f_orgid = `${this.f_orgid_new}`;
534
+ //await this.$LoadParams.loadParam(this.f_orgid_new)
535
+ }
536
+ this.model.search(args.condition, args.model)
537
+ this.initQueryParam();
538
+ },
539
+
540
+ },
541
+ computed: {
542
+ userType () {
543
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
544
+ },
545
+ Gasproperties () {
546
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
547
+ }
548
+
549
+ }
550
+ }
551
+ </script>
552
+ <style>
553
+ .form-input-group label {
554
+ text-align: right;
555
+ width: auto;
556
+ }
557
+ .datapanel {
558
+ color: #333;
559
+ background-color: white;
560
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
561
+ padding: 10px 30px 10px 30px;
562
+ border-radius:15px;
563
+ }
564
+ </style>