manage-client 3.3.2 → 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 (63) hide show
  1. package/build/dev-server.js +180 -180
  2. package/package.json +1 -1
  3. package/src/components/sale/businessquery/GroupChargeQuery.vue +481 -481
  4. package/src/components/sale/businessquery/NewAreaGeneralQuery.vue +633 -633
  5. package/src/components/webmeter/recharge/RechargeList.vue +346 -346
  6. package/src/filiale/gehua/GroupChargeQuery.vue +486 -486
  7. package/src/filiale/huayin/ChargeQuery.vue +1305 -1305
  8. package/src/filiale/macheng/config/exportConfig.js +1 -1
  9. package/src/filiale/rongcheng/AreaBuildingDetailInfo.vue +281 -281
  10. package/src/filiale/rongcheng/AreaBuildingInfoSummary.vue +301 -301
  11. package/src/filiale/rongcheng/exportConfig.js +536 -536
  12. package/src/filiale/rongcheng/sale.js +22 -22
  13. package/src/filiale/shanxian/CancellationQuery.vue +426 -0
  14. package/src/filiale/shanxian/ChangeUserQuery.vue +395 -0
  15. package/src/filiale/shanxian/DeviceQuery.vue +586 -0
  16. package/src/filiale/shanxian/DisableQuery.vue +528 -0
  17. package/src/filiale/shanxian/EnableQuery.vue +461 -0
  18. package/src/filiale/shanxian/FMYGasQuery.vue +731 -0
  19. package/src/filiale/shanxian/FillCardQuery.vue +569 -569
  20. package/src/filiale/shanxian/FillGasQuery.vue +588 -588
  21. package/src/filiale/shanxian/FmyGasDeviceQuery.vue +68 -33
  22. package/src/filiale/shanxian/InspectListUserNew.vue +18 -16
  23. package/src/filiale/shanxian/LostContactAnalysisList.vue +633 -632
  24. package/src/filiale/shanxian/MeterQuery.vue +968 -0
  25. package/src/filiale/shanxian/MonthGasQuery.vue +481 -0
  26. package/src/filiale/shanxian/NewQueryInstruct.vue +457 -0
  27. package/src/filiale/shanxian/OtherChargeQuery.vue +684 -684
  28. package/src/filiale/shanxian/ReverseQuery.vue +454 -0
  29. package/src/filiale/shanxian/TransferQuery.vue +469 -0
  30. package/src/filiale/shanxian/UserGasAll.vue +15 -14
  31. package/src/filiale/shanxian/UserLostContactAnalysis.vue +584 -583
  32. package/src/filiale/shanxian/UserQuery.vue +960 -959
  33. package/src/filiale/shanxian/config/exportConfig.js +100 -100
  34. package/src/filiale/shanxian/newwebmeter/TotalExceptionByMeter.vue +608 -0
  35. package/src/filiale/shanxian/sale.js +46 -26
  36. package/src/filiale/shanxian/webmeterManage.js +4 -0
  37. package/src/filiale/wenxi/ChangeMeterQuery.vue +704 -704
  38. package/src/filiale/wenxi/ChangeUserQuery.vue +371 -371
  39. package/src/filiale/wenxi/ChargeQuery.vue +1260 -1260
  40. package/src/filiale/wenxi/FmyGasDeviceQuery.vue +944 -944
  41. package/src/filiale/wenxi/GasDeviceQuery.vue +1041 -1041
  42. package/src/filiale/wenxi/GasStatistics.vue +515 -515
  43. package/src/filiale/wenxi/GetNoMetereadData.vue +374 -374
  44. package/src/filiale/wenxi/HandplanQuery.vue +1370 -1370
  45. package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
  46. package/src/filiale/wenxi/MeterQuery.vue +937 -964
  47. package/src/filiale/wenxi/NewGasStatistics.vue +522 -522
  48. package/src/filiale/wenxi/RecordInfoQuery.vue +1213 -1213
  49. package/src/filiale/wenxi/WebHandQuery.vue +475 -475
  50. package/src/filiale/wenxi/config/exportConfig.js +916 -916
  51. package/src/filiale/wenxi/sale.js +24 -24
  52. package/src/filiale/wenxi/webmeterManage.js +13 -13
  53. package/src/filiale/xinkang/EchartsBox.vue +139 -139
  54. package/src/filiale/xinkang/ManageBrandHouseCount.vue +347 -347
  55. package/src/filiale/xinkang/NewGasStatistics.vue +526 -526
  56. package/src/filiale/xinkang/exportConfig.js +1998 -1998
  57. package/src/filiale/xinkang/meterFaultChangeSummary.vue +196 -196
  58. package/src/filiale/xinkang/reportManage.js +15 -15
  59. package/src/filiale/xinkang/sale.js +13 -13
  60. package/src/filiale/xinkang/webmeterManage.js +9 -9
  61. package/src/filiale/zhongyi/GasStatistics.vue +521 -521
  62. package/src/main.js +66 -72
  63. package/lib/package_2022-12-01-14-30-50.json +0 -109
@@ -1,374 +1,374 @@
1
- <template>
2
- <div class="flex-row" v-show="!showdetail">
3
- <div id='app1' class="basic-main" >
4
- <criteria-paged :model="model" :pager='true' v-ref:paged>
5
- <criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
6
- <div novalidate class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
- <div class="row">
8
- <div class="col-sm-2 form-group">
9
- <label class="font_normal_body">客户编号</label>
10
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
11
- v-model="model.f_userinfo_code" placeholder='客户编号'
12
- condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
13
- >
14
- </div>
15
- <div class="col-sm-2 form-group">
16
- <label class="font_normal_body">客户名称</label>
17
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
18
- v-model="model.f_user_name" placeholder='客户名称'
19
- condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
20
- >
21
- </div>
22
- <div class="col-sm-2 form-group">
23
- <label class="font_normal_body">客户地址</label>
24
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area"
25
- placeholder='地址'
26
- condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
27
- >
28
- </div>
29
- <div class="col-sm-2 form-group">
30
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
31
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
32
- v-model="model.f_meternumber" placeholder='表号'
33
- condition="f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
34
- >
35
- </div>
36
- <div style="float:right">
37
- <button class="button_search button_spacing" @click="search()">查询</button>
38
- <button class="button_clear button_spacing" @click="clear">清空</button>
39
- <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
40
- :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
41
- sqlurl="rs/logic/exportfile" sql-name="webmeter_getNoMetereadData" template-name='未上报查询'
42
- :choose-col="true"></export-excel>
43
-
44
- <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>
45
- </div>
46
- </div>
47
- <div class="row" v-show="$parent.$parent.criteriaShow">
48
- <div class="col-sm-2 form-group">
49
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
50
- <right-tree @re-res="$parent.$parent.getorg" width="60%"
51
- :initresid='$parent.$parent.org'></right-tree>
52
- </div>
53
- <div class="col-sm-2 form-group">
54
- <label class="font_normal_body">客户类型</label>
55
- <v-select style="width:60%" id="f_user_type"
56
- v-model="model.f_user_type"
57
- placeholder='客户类型'
58
- :value.sync="model.f_user_type"
59
- @change="$parent.$parent.userTypeChange()"
60
- :options='$parent.$parent.usertypes'
61
- condition="f_user_type = '{}'"
62
- close-on-select>
63
- </v-select>
64
- </div>
65
- <div class="col-sm-2 form-group">
66
- <label class="font_normal_body">用气性质</label>
67
- <v-select style="width:60%" id="f_gasproperties"
68
- v-model="model.f_gasproperties"
69
- placeholder='用气性质'
70
- :value.sync="model.f_gasproperties"
71
- :options='$parent.$parent.gasproperties'
72
- condition="f_gasproperties = '{}'"
73
- close-on-select>
74
- </v-select>
75
- </div>
76
- <div class="col-sm-2 form-group">
77
- <label class="font_normal_body">气表品牌</label>
78
- <v-select
79
- placeholder='气表品牌'
80
- :value.sync="model.f_meter_brand"
81
- v-model="model.f_meter_brand"
82
- :options='$parent.$parent.meterbrands'
83
- close-on-select
84
- condition="f_meter_brand='{}'">
85
- </v-select>
86
- </div>
87
- <div class="col-sm-2 form-group" >
88
- <label class="font_normal_body">气表型号</label>
89
- <v-select
90
- placeholder='气表型号'
91
- :value.sync="model.f_meter_style"
92
- v-model="model.f_meter_style"
93
- :options='$parent.$parent.meterstyle[model.f_meter_brand]'
94
- close-on-select
95
- condition="f_meter_style='{}'">
96
- </v-select>
97
- </div>
98
- <div class="col-sm-2 form-group">
99
- <label class="font_normal_body">用户状态</label>
100
- <v-select
101
- placeholder='用户状态'
102
- value-single="true"
103
- style="width:60%"
104
- :value.sync="model.f_user_state"
105
- v-model="model.f_user_state"
106
- :options='$parent.$parent.userstate'
107
- close-on-select condition="f_user_state ='{}'">
108
- </v-select>
109
- </div>
110
- <div class="col-sm-2 form-group">
111
- <label class="font_normal_body">开始时间</label>
112
- <datepicker style="width:60%" id="startdate" placeholder="开始时间"
113
- v-model="model.startDate"
114
- :value.sync="model.startDate"
115
- :disabled-days-of-Week="[]"
116
- :format="'yyyy-MM-dd 00:00:00'"
117
- :show-reset-button="reset">
118
- </datepicker>
119
- </div>
120
- <div class="col-sm-2 form-group">
121
- <label class="font_normal_body">结束时间</label>
122
- <datepicker style="width:60%" id="enddate" placeholder="结束日期"
123
- v-model="model.endDate"
124
- :value.sync="model.endDate"
125
- :disabled-days-of-Week="[]"
126
- :format="'yyyy-MM-dd 23:59:59'"
127
- :show-reset-button="reset">
128
- </datepicker>
129
- </div>
130
- </div>
131
- </div>
132
- </criteria>
133
- <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
134
- <template partial='head'>
135
- <tr>
136
- <th style="text-align:center">
137
- <nobr>序号</nobr>
138
- </th>
139
- <th style="text-align:center">
140
- <nobr>未上报日期</nobr>
141
- </th>
142
- <th style="text-align:center">
143
- <nobr>客户编号</nobr>
144
- </th>
145
- <th style="text-align:center">
146
- <nobr>客户名称</nobr>
147
- </th>
148
- <th style="text-align:center">
149
- <nobr>客户电话</nobr>
150
- </th>
151
- <th style="text-align:center">
152
- <nobr>客户地址</nobr>
153
- </th>
154
- <th style="text-align:center">
155
- <nobr>客户类型</nobr>
156
- </th>
157
- <th style="text-align:center">
158
- <nobr>用气性质</nobr>
159
- </th>
160
- <th style="text-align:center">
161
- <nobr>表号</nobr>
162
- </th>
163
- <th style="text-align:center">
164
- <nobr>气表厂家</nobr>
165
- </th>
166
- <th style="text-align:center" >
167
- <nobr>气表型号</nobr>
168
- </th>
169
- <th style="text-align:center" >
170
- <nobr>用户状态</nobr>
171
- </th>
172
- <th style="text-align:center" >
173
- <nobr>组织机构</nobr>
174
- </th>
175
- </tr>
176
- </template>
177
- <template partial='body'>
178
- <td style="text-align:center">{{$index+1}}</td>
179
- <td style="text-align:center">{{row.f_date}}</td>
180
- <td style="text-align: center;"><nobr>
181
- <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
182
- </nobr> </td>
183
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
184
- <td style="text-align:center"><nobr>{{row.f_user_phone}}</nobr></td>
185
- <td><nobr>{{row.f_address}}</nobr></td>
186
- <td style="text-align:center">{{row.f_user_type}}</td>
187
- <td style="text-align:center">{{row.f_gasproperties}}</td>
188
- <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
189
- <td style="text-align:center">
190
- <nobr>{{row.f_meter_brand}}</nobr>
191
- </td>
192
- <td style="text-align:center">
193
- <nobr>{{row.f_meter_style}}</nobr>
194
- </td>
195
- <td style="text-align:center">
196
- <nobr>{{row.f_user_state}}</nobr>
197
- </td>
198
- <td style="text-align:center">
199
- <nobr>{{row.f_orgname}}</nobr>
200
- </td>
201
-
202
- </template>
203
- </data-grid>
204
- </criteria-paged>
205
- </div>
206
- </div>
207
- <div class="flex-row" v-if="showdetail">
208
- <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
209
- </div>
210
- </template>
211
-
212
- <script>
213
- import {PagedList} from 'vue-client'
214
- import * as Util from './../../Util'
215
- import plugin from 'system-clients/src/plugins/GetLoginInfoService'
216
- let readySomething = async function (self) {
217
-
218
- await self.$MagLoadParams.loadParam()
219
- self.initParams()
220
- self.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() +' 00:00:00'
221
- self.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
222
- self.$refs.paged.$refs.cri.search()
223
- }
224
- export default {
225
- title: '未上报查询',
226
- props: ['data'],
227
- data() {
228
- return {
229
- model: new PagedList('rs/sql/webmeter_getNoMetereadData', 20, {
230
- startDate: 'this.model.startDate',
231
- endDate: 'this.model.endDate'
232
- }),
233
- getfield:{
234
- 'f_userinfo_code':'客户编号','f_user_name':'客户名称','f_user_phone':'客户电话', 'f_date': '未上报日期',
235
- 'f_address':'客户地址','f_user_type':'客户类型','f_gasproperties':'用气性质',
236
- 'f_meternumber':'表号',
237
- 'f_meter_brand':'气表厂家','f_orgname':'组织机构'},
238
- showdetail:false,
239
- rowdata:{},
240
- startDate: '',
241
- endDate: '',
242
- criteriaShow:false,
243
- outlets: [],
244
- gasproperties:[{label: '全部', value: ''}],
245
- operator: [],
246
- meterbrands: [],
247
- meterstyle:{},
248
- orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`,
249
- orgid:[this.$login.f.orgid],
250
- condition: '1=1',
251
- org:[this.$login.f.orgid]
252
-
253
- }
254
- },
255
- ready() {
256
- readySomething(this)
257
- },
258
- methods: {
259
-
260
- userTypeChange () {
261
- this.gasproperties=[{label: '全部', value: ''}]
262
- if(this.$refs.paged.$refs.cri.model && this.$refs.paged.$refs.cri.model.f_user_type) {
263
- this.$refs.paged.$refs.cri.model.f_gasproperties=''
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
- }
267
- else{
268
- this.gasproperties =[{label: '全部', value: ''}]
269
- }
270
- },
271
- hidden(){
272
- this.criteriaShow = !this.criteriaShow
273
- },
274
- showmsg(obj){
275
- this.rowdata = obj
276
- this.showdetail = true
277
- },
278
- cancel() {
279
- this.showdetail = false
280
- },
281
- initParams () {
282
- // 初始化气表品牌
283
- let brandArr = []
284
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
285
- if(item.value.f_meter_type==='物联网表'){
286
- let temp = {}
287
- temp.label = item.label
288
- temp.value = item.value.f_meter_brand
289
- brandArr.push(temp)
290
-
291
- let styleArr = [{label: '全部', value: ''}]
292
- for (let row of item.value.gasmodel) {
293
- styleArr.push({label: row.label,value: row.value.f_meter_style})
294
- }
295
- this.meterstyle[temp.value] = styleArr
296
- }
297
-
298
- })
299
- this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
300
- },
301
- search(args) {
302
- this.startDate = this.$refs.paged.$refs.cri.model.startDate
303
- this.endDate = this.$refs.paged.$refs.cri.model.endDate
304
- if (this.endDate == '' || this.startDate == '') {
305
- return this.$showMessage("时间区间的开始和结束时间不能为空!")
306
- }
307
- this.condition = args.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
308
- this.model.search(args.condition, args.model)
309
- },
310
- getorg(obj) {
311
- if (obj.resids.length>0) {
312
- this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
313
- }else
314
- {
315
- this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
316
- }
317
- },
318
- clearmsg() {
319
- this.$refs.paged.$refs.cri.model = {}
320
- }
321
- },
322
- watch: {
323
- },
324
- computed: {
325
- getCondition() {
326
- let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
327
- return {
328
- condition: condition ,
329
- startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
330
- endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
331
- }
332
-
333
- },
334
- usertypes() {
335
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
336
- },
337
- userstate() {
338
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
339
- }
340
- }
341
- }
342
- </script>
343
- <style>
344
- .form-input-group label {
345
- text-align: right;
346
- width: auto;
347
- }
348
-
349
- .mystyle {
350
- float: right;
351
- padding-right: 10%;
352
- }
353
-
354
- .mystyle1 {
355
- padding-top: 10px;
356
-
357
- }
358
-
359
- .mystyle2 {
360
- width: 100%;
361
- height: 35px;
362
- /*background: #00A3F0;*/
363
- padding-left: 15px;
364
- float: left;
365
- }
366
-
367
- .datapanel {
368
- color: #333;
369
- background-color: white;
370
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
371
- padding: 10px 30px 10px 30px;
372
- border-radius: 15px;
373
- }
374
- </style>
1
+ <template>
2
+ <div class="flex-row" v-show="!showdetail">
3
+ <div id='app1' class="basic-main" >
4
+ <criteria-paged :model="model" :pager='true' v-ref:paged>
5
+ <criteria partial='criteria' @condition-changed='$parent.search' v-ref:cri>
6
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
+ <div class="row">
8
+ <div class="col-sm-2 form-group">
9
+ <label class="font_normal_body">客户编号</label>
10
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
11
+ v-model="model.f_userinfo_code" placeholder='客户编号'
12
+ condition="f_userinfo_code like '%{}%'" v-el:xq v-next-el='userinfocode' v-el:username
13
+ >
14
+ </div>
15
+ <div class="col-sm-2 form-group">
16
+ <label class="font_normal_body">客户名称</label>
17
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
18
+ v-model="model.f_user_name" placeholder='客户名称'
19
+ condition="f_user_name like '%{}%'" v-el:xq v-next-el='username' v-el:username
20
+ >
21
+ </div>
22
+ <div class="col-sm-2 form-group">
23
+ <label class="font_normal_body">客户地址</label>
24
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_area"
25
+ placeholder='地址'
26
+ condition="f_address like '%{}%'" v-el:xq v-next-el='address' v-el:area
27
+ >
28
+ </div>
29
+ <div class="col-sm-2 form-group">
30
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
31
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
32
+ v-model="model.f_meternumber" placeholder='表号'
33
+ condition="f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
34
+ >
35
+ </div>
36
+ <div style="float:right">
37
+ <button class="button_search button_spacing" @click="search()">查询</button>
38
+ <button class="button_clear button_spacing" @click="clear">清空</button>
39
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
40
+ :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
41
+ sqlurl="rs/logic/exportfile" sql-name="webmeter_getNoMetereadData" template-name='未上报查询'
42
+ :choose-col="true"></export-excel>
43
+
44
+ <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>
45
+ </div>
46
+ </div>
47
+ <div class="row" v-show="$parent.$parent.criteriaShow">
48
+ <div class="col-sm-2 form-group">
49
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
50
+ <right-tree @re-res="$parent.$parent.getorg" width="60%"
51
+ :initresid='$parent.$parent.org'></right-tree>
52
+ </div>
53
+ <div class="col-sm-2 form-group">
54
+ <label class="font_normal_body">客户类型</label>
55
+ <v-select style="width:60%" id="f_user_type"
56
+ v-model="model.f_user_type"
57
+ placeholder='客户类型'
58
+ :value.sync="model.f_user_type"
59
+ @change="$parent.$parent.userTypeChange()"
60
+ :options='$parent.$parent.usertypes'
61
+ condition="f_user_type = '{}'"
62
+ close-on-select>
63
+ </v-select>
64
+ </div>
65
+ <div class="col-sm-2 form-group">
66
+ <label class="font_normal_body">用气性质</label>
67
+ <v-select style="width:60%" id="f_gasproperties"
68
+ v-model="model.f_gasproperties"
69
+ placeholder='用气性质'
70
+ :value.sync="model.f_gasproperties"
71
+ :options='$parent.$parent.gasproperties'
72
+ condition="f_gasproperties = '{}'"
73
+ close-on-select>
74
+ </v-select>
75
+ </div>
76
+ <div class="col-sm-2 form-group">
77
+ <label class="font_normal_body">气表品牌</label>
78
+ <v-select
79
+ placeholder='气表品牌'
80
+ :value.sync="model.f_meter_brand"
81
+ v-model="model.f_meter_brand"
82
+ :options='$parent.$parent.meterbrands'
83
+ close-on-select
84
+ condition="f_meter_brand='{}'">
85
+ </v-select>
86
+ </div>
87
+ <div class="col-sm-2 form-group" >
88
+ <label class="font_normal_body">气表型号</label>
89
+ <v-select
90
+ placeholder='气表型号'
91
+ :value.sync="model.f_meter_style"
92
+ v-model="model.f_meter_style"
93
+ :options='$parent.$parent.meterstyle[model.f_meter_brand]'
94
+ close-on-select
95
+ condition="f_meter_style='{}'">
96
+ </v-select>
97
+ </div>
98
+ <div class="col-sm-2 form-group">
99
+ <label class="font_normal_body">用户状态</label>
100
+ <v-select
101
+ placeholder='用户状态'
102
+ value-single="true"
103
+ style="width:60%"
104
+ :value.sync="model.f_user_state"
105
+ v-model="model.f_user_state"
106
+ :options='$parent.$parent.userstate'
107
+ close-on-select condition="f_user_state ='{}'">
108
+ </v-select>
109
+ </div>
110
+ <div class="col-sm-2 form-group">
111
+ <label class="font_normal_body">开始时间</label>
112
+ <datepicker style="width:60%" id="startdate" placeholder="开始时间"
113
+ v-model="model.startDate"
114
+ :value.sync="model.startDate"
115
+ :disabled-days-of-Week="[]"
116
+ :format="'yyyy-MM-dd 00:00:00'"
117
+ :show-reset-button="reset">
118
+ </datepicker>
119
+ </div>
120
+ <div class="col-sm-2 form-group">
121
+ <label class="font_normal_body">结束时间</label>
122
+ <datepicker style="width:60%" id="enddate" placeholder="结束日期"
123
+ v-model="model.endDate"
124
+ :value.sync="model.endDate"
125
+ :disabled-days-of-Week="[]"
126
+ :format="'yyyy-MM-dd 23:59:59'"
127
+ :show-reset-button="reset">
128
+ </datepicker>
129
+ </div>
130
+ </div>
131
+ </div>
132
+ </criteria>
133
+ <data-grid id="lostuserlist" :model="model" partial='list' v-ref:grid class="list_area table_sy">
134
+ <template partial='head'>
135
+ <tr>
136
+ <th style="text-align:center">
137
+ <nobr>序号</nobr>
138
+ </th>
139
+ <th style="text-align:center">
140
+ <nobr>未上报日期</nobr>
141
+ </th>
142
+ <th style="text-align:center">
143
+ <nobr>客户编号</nobr>
144
+ </th>
145
+ <th style="text-align:center">
146
+ <nobr>客户名称</nobr>
147
+ </th>
148
+ <th style="text-align:center">
149
+ <nobr>客户电话</nobr>
150
+ </th>
151
+ <th style="text-align:center">
152
+ <nobr>客户地址</nobr>
153
+ </th>
154
+ <th style="text-align:center">
155
+ <nobr>客户类型</nobr>
156
+ </th>
157
+ <th style="text-align:center">
158
+ <nobr>用气性质</nobr>
159
+ </th>
160
+ <th style="text-align:center">
161
+ <nobr>表号</nobr>
162
+ </th>
163
+ <th style="text-align:center">
164
+ <nobr>气表厂家</nobr>
165
+ </th>
166
+ <th style="text-align:center" >
167
+ <nobr>气表型号</nobr>
168
+ </th>
169
+ <th style="text-align:center" >
170
+ <nobr>用户状态</nobr>
171
+ </th>
172
+ <th style="text-align:center" >
173
+ <nobr>组织机构</nobr>
174
+ </th>
175
+ </tr>
176
+ </template>
177
+ <template partial='body'>
178
+ <td style="text-align:center">{{$index+1}}</td>
179
+ <td style="text-align:center">{{row.f_date}}</td>
180
+ <td style="text-align: center;"><nobr>
181
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
182
+ </nobr> </td>
183
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
184
+ <td style="text-align:center"><nobr>{{row.f_user_phone}}</nobr></td>
185
+ <td><nobr>{{row.f_address}}</nobr></td>
186
+ <td style="text-align:center">{{row.f_user_type}}</td>
187
+ <td style="text-align:center">{{row.f_gasproperties}}</td>
188
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
189
+ <td style="text-align:center">
190
+ <nobr>{{row.f_meter_brand}}</nobr>
191
+ </td>
192
+ <td style="text-align:center">
193
+ <nobr>{{row.f_meter_style}}</nobr>
194
+ </td>
195
+ <td style="text-align:center">
196
+ <nobr>{{row.f_user_state}}</nobr>
197
+ </td>
198
+ <td style="text-align:center">
199
+ <nobr>{{row.f_orgname}}</nobr>
200
+ </td>
201
+
202
+ </template>
203
+ </data-grid>
204
+ </criteria-paged>
205
+ </div>
206
+ </div>
207
+ <div class="flex-row" v-if="showdetail">
208
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
209
+ </div>
210
+ </template>
211
+
212
+ <script>
213
+ import {PagedList} from 'vue-client'
214
+ import * as Util from './../../Util'
215
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
216
+ let readySomething = async function (self) {
217
+
218
+ await self.$MagLoadParams.loadParam()
219
+ self.initParams()
220
+ self.$refs.paged.$refs.cri.model.startDate = Util.toStandardDateString() +' 00:00:00'
221
+ self.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
222
+ self.$refs.paged.$refs.cri.search()
223
+ }
224
+ export default {
225
+ title: '未上报查询',
226
+ props: ['data'],
227
+ data() {
228
+ return {
229
+ model: new PagedList('rs/sql/webmeter_getNoMetereadData', 20, {
230
+ startDate: 'this.model.startDate',
231
+ endDate: 'this.model.endDate'
232
+ }),
233
+ getfield:{
234
+ 'f_userinfo_code':'客户编号','f_user_name':'客户名称','f_user_phone':'客户电话', 'f_date': '未上报日期',
235
+ 'f_address':'客户地址','f_user_type':'客户类型','f_gasproperties':'用气性质',
236
+ 'f_meternumber':'表号',
237
+ 'f_meter_brand':'气表厂家','f_orgname':'组织机构'},
238
+ showdetail:false,
239
+ rowdata:{},
240
+ startDate: '',
241
+ endDate: '',
242
+ criteriaShow:false,
243
+ outlets: [],
244
+ gasproperties:[{label: '全部', value: ''}],
245
+ operator: [],
246
+ meterbrands: [],
247
+ meterstyle:{},
248
+ orgCondtionStr: ` and f_orgid = ${this.$login.f.orgid}`,
249
+ orgid:[this.$login.f.orgid],
250
+ condition: '1=1',
251
+ org:[this.$login.f.orgid]
252
+
253
+ }
254
+ },
255
+ ready() {
256
+ readySomething(this)
257
+ },
258
+ methods: {
259
+
260
+ userTypeChange () {
261
+ this.gasproperties=[{label: '全部', value: ''}]
262
+ if(this.$refs.paged.$refs.cri.model && this.$refs.paged.$refs.cri.model.f_user_type) {
263
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
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
+ }
267
+ else{
268
+ this.gasproperties =[{label: '全部', value: ''}]
269
+ }
270
+ },
271
+ hidden(){
272
+ this.criteriaShow = !this.criteriaShow
273
+ },
274
+ showmsg(obj){
275
+ this.rowdata = obj
276
+ this.showdetail = true
277
+ },
278
+ cancel() {
279
+ this.showdetail = false
280
+ },
281
+ initParams () {
282
+ // 初始化气表品牌
283
+ let brandArr = []
284
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
285
+ if(item.value.f_meter_type==='物联网表'){
286
+ let temp = {}
287
+ temp.label = item.label
288
+ temp.value = item.value.f_meter_brand
289
+ brandArr.push(temp)
290
+
291
+ let styleArr = [{label: '全部', value: ''}]
292
+ for (let row of item.value.gasmodel) {
293
+ styleArr.push({label: row.label,value: row.value.f_meter_style})
294
+ }
295
+ this.meterstyle[temp.value] = styleArr
296
+ }
297
+
298
+ })
299
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
300
+ },
301
+ search(args) {
302
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
303
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
304
+ if (this.endDate == '' || this.startDate == '') {
305
+ return this.$showMessage("时间区间的开始和结束时间不能为空!")
306
+ }
307
+ this.condition = args.condition = this.$refs.paged.$refs.cri.condition + `${this.orgCondtionStr}`
308
+ this.model.search(args.condition, args.model)
309
+ },
310
+ getorg(obj) {
311
+ if (obj.resids.length>0) {
312
+ this.orgCondtionStr = " and f_orgid in " + plugin.convertToIn(obj.resids)
313
+ }else
314
+ {
315
+ this.orgCondtionStr = " and f_orgid = " + this.$login.f.orgid
316
+ }
317
+ },
318
+ clearmsg() {
319
+ this.$refs.paged.$refs.cri.model = {}
320
+ }
321
+ },
322
+ watch: {
323
+ },
324
+ computed: {
325
+ getCondition() {
326
+ let condition=this.$refs.paged.$refs.cri.condition + this.orgCondtionStr
327
+ return {
328
+ condition: condition ,
329
+ startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
330
+ endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
331
+ }
332
+
333
+ },
334
+ usertypes() {
335
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
336
+ },
337
+ userstate() {
338
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
339
+ }
340
+ }
341
+ }
342
+ </script>
343
+ <style>
344
+ .form-input-group label {
345
+ text-align: right;
346
+ width: auto;
347
+ }
348
+
349
+ .mystyle {
350
+ float: right;
351
+ padding-right: 10%;
352
+ }
353
+
354
+ .mystyle1 {
355
+ padding-top: 10px;
356
+
357
+ }
358
+
359
+ .mystyle2 {
360
+ width: 100%;
361
+ height: 35px;
362
+ /*background: #00A3F0;*/
363
+ padding-left: 15px;
364
+ float: left;
365
+ }
366
+
367
+ .datapanel {
368
+ color: #333;
369
+ background-color: white;
370
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
371
+ padding: 10px 30px 10px 30px;
372
+ border-radius: 15px;
373
+ }
374
+ </style>