sale-client 4.2.144 → 4.2.146

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 (100) hide show
  1. package/build/dev-server.js +48 -28
  2. package/index.html +7 -2
  3. package/package.json +1 -1
  4. package/src/App.vue +1 -1
  5. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  6. package/src/components/revenue/base/CardServer/ReadCard.vue +98 -98
  7. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  8. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  9. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  10. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  11. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  12. package/src/filiale/bayan/StockListmain.vue +543 -543
  13. package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
  14. package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
  15. package/src/filiale/bazhong/sale.js +8 -8
  16. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  17. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  18. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  19. package/src/filiale/meihekou/MeterOperatemain.vue +59 -3
  20. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  21. package/src/filiale/meihekou/handAudit/MeterReadAudit.vue +32 -6
  22. package/src/filiale/meihekou/replacementSingleInfoOperation.vue +50 -0
  23. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  24. package/src/filiale/ronghao/CardService.js +2144 -2144
  25. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  26. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  27. package/src/filiale/ronghao/PaymentCode.vue +60 -42
  28. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  29. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  30. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  31. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  32. package/src/filiale/ronghao/Upload.vue +654 -654
  33. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  34. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  35. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  36. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  37. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  38. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  39. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  40. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  41. package/src/filiale/ronghao/specificInformation.vue +537 -537
  42. package/src/filiale/yangchun/ChargeList.vue +954 -954
  43. package/src/filiale/yuncheng/ChangeMeter.vue +1149 -1149
  44. package/src/filiale/yuncheng/FileManageService.js +469 -469
  45. package/src/filiale/yuncheng/ParamHistory.vue +147 -0
  46. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  47. package/src/filiale/yuncheng/sale.js +1 -0
  48. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  49. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  50. package/src/main.js +3 -3
  51. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  52. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  53. package/.gradle/5.2.1/gc.properties +0 -0
  54. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  55. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  56. package/.gradle/vcs-1/gc.properties +0 -0
  57. package/hs_err_pid255736.log +0 -796
  58. package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
  59. package/src/components/FilesManage/ncUserinfoList.vue +0 -315
  60. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
  61. package/src/components/SendCard/SendCardData.vue +0 -208
  62. package/src/components/accounts/accountAdd.vue +0 -276
  63. package/src/components/accounts/accountsList.vue +0 -183
  64. package/src/components/accounts/accountsManage.vue +0 -87
  65. package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
  66. package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
  67. package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
  68. package/src/components/ncarchives/ncArchivesList.vue +0 -159
  69. package/src/components/ncarchives/ncUserfilesList.vue +0 -373
  70. package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
  71. package/src/components/revenue/IOTArrears/arrears.vue +0 -323
  72. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
  73. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
  74. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
  75. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
  76. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
  77. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
  78. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
  79. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
  80. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
  81. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
  82. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
  83. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
  84. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
  85. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
  86. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
  87. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
  88. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
  89. package/src/components/thirdapply/thirdAdd.vue +0 -289
  90. package/src/components/thirdapply/thirdList.vue +0 -162
  91. package/src/components/thirdapply/thirdManage.vue +0 -74
  92. package/src/components/webMeter/InstructQuery.vue +0 -414
  93. package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
  94. package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
  95. package/src/components/webMeter/WebUserHand.vue +0 -483
  96. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
  97. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
  98. package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
  99. package/src/plugins/FileManageServicets.js +0 -214
  100. package/src/plugins/GetImg.js +0 -53
@@ -1,556 +0,0 @@
1
- <template>
2
- <div class="basic-main" style="height: 98%;">
3
- <div :class="f_gasbrand?'col-sm-6':'col-sm-12'" style="padding-right: 7px">
4
- <criteria-paged :model='model' v-ref:paged>
5
- <criteria :model='model' partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
6
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
- <div class="row">
8
-
9
- <div class="row">
10
- <div :class="$parent.$parent.f_gasbrand?'col-sm-4':'col-sm-2'" class="form-group form-input-group">
11
- <label class="control-label">组织机构</label>
12
- <right-tree :userid.sync='$parent.$parent.obj.userid'
13
- :source.sync='$parent.$parent.obj.source'
14
- @re-res="$parent.$parent.getRes"></right-tree>
15
- </div>
16
- <div :class="$parent.$parent.f_gasbrand?'col-sm-4':'col-sm-2'" class="form-group form-input-group">
17
- <label class="control-label _zoom4 _zoom4">表&nbsp;&nbsp;号&nbsp;</label>
18
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
19
- v-model="model.f_meternumber"
20
- placeholder='表号'
21
- condition="f_meternumber = '{}'"
22
- >
23
- </div>
24
-
25
-
26
- <div :class="$parent.$parent.f_gasbrand?'col-sm-4':'col-sm-2'"
27
- class="col-sm-4 form-group form-input-group">
28
- <label class="control-label _zoom4 _zoom4">小区/地址</label>
29
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search "
30
- v-model="model.f_address"
31
- placeholder='小区/地址'
32
- condition="f_address like '%{}%'"
33
- >
34
- </div>
35
- <div :class="$parent.$parent.f_gasbrand?'col-sm-4':'col-sm-2'"
36
- class="col-sm-4 form-group form-input-group">
37
- <label class="control-label _zoom4 _zoom4">用户编号</label>
38
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search "
39
- v-model="model.f_userinfo_code"
40
- placeholder='用户编号'
41
- condition="f_userinfo_code = '{}'"
42
- >
43
- </div>
44
- <div :class="$parent.$parent.f_gasbrand?'col-sm-4':'col-sm-2'"
45
- class="col-sm-4 form-group form-input-group">
46
- <label class="control-label _zoom4 _zoom4">客户姓名</label>
47
- <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
48
- v-model="model.f_user_name"
49
- placeholder='客户姓名'
50
- condition="f_user_name like '%{}%'"
51
- >
52
- </div>
53
- <div :class="$parent.$parent.f_gasbrand?'col-sm-4':'col-sm-2'"
54
- class="col-sm-4 form-group form-input-group">
55
- <label class="control-label _zoom4">气表品牌</label>
56
- <v-select :value.sync="model.f_gasbrand" width="100%"
57
- v-model="model.f_gasbrand"
58
- :value-single="true"
59
-
60
- @change="$parent.$parent.getMeterType"
61
- condition="f_alias = '{}'"
62
- :options='$parent.$parent.gasBrand' placeholder='气表品牌'
63
- close-on-select></v-select>
64
- </div>
65
- <div :class="$parent.$parent.f_gasbrand?'col-sm-4':'col-sm-2'"
66
- class="col-sm-4 form-group form-input-group">
67
- <label class="control-label">气表型号</label>
68
- <v-select v-if="$parent.$parent.styles"
69
- placeholder='气表型号'
70
- :value.sync="model.f_meter_style"
71
- :value-single="true"
72
- v-model="model.f_meter_style"
73
- :options='$parent.$parent.Warningstyle'
74
- close-on-select
75
- condition="f_meter_style='{}'">
76
- </v-select>
77
- <v-select v-if="!$parent.$parent.styles"
78
- placeholder='气表型号'
79
- :value.sync="model.f_meter_style"
80
- v-model="model.f_meter_style"
81
- :options='$parent.$parent.Warningstyles'
82
- close-on-select
83
- condition="f_meter_style='{}'">
84
- </v-select>
85
- </div>
86
- <div :class="$parent.$parent.f_gasbrand?'col-sm-4':'col-sm-2'"
87
- class="col-sm-4 form-group form-input-group">
88
- <label class="control-label _zoom4">表具状态</label>
89
- <v-select :value.sync="model.f_table_state" width="100%"
90
- v-model="model.f_table_state"
91
- :value-single="true"
92
-
93
- condition="f_table_state = '{}'"
94
- :options='$parent.$parent.f_table_state' placeholder='表具状态'
95
- close-on-select></v-select>
96
- </div>
97
- <div :class="$parent.$parent.f_gasbrand?'col-sm-4':'col-sm-2'"
98
- class="col-sm-4 form-group form-input-group">
99
- <label class="control-label">用户类型</label>
100
- <v-select id="f_user_type"
101
- v-model="model.f_user_type"
102
- placeholder='用户类型'
103
- value-single="true"
104
- :value.sync="model.f_user_type"
105
- :options='$parent.$parent.Gasusertype'
106
- condition="f_user_type {}"
107
- close-on-select>
108
- </v-select>
109
- </div>
110
- <div :class="$parent.$parent.f_gasbrand?'col-sm-4':'col-sm-2'"
111
- class="col-sm-4 form-group form-input-group">
112
- <label class="control-label">用气性质</label>
113
- <v-select id="f_gasproperties"
114
- v-model="model.f_gasproperties"
115
- placeholder='用气性质'
116
- value-single="true"
117
- :value.sync="model.f_gasproperties"
118
- :options='$parent.$parent.Gasproperties'
119
- condition="f_gasproperties {}"
120
- close-on-select>
121
- </v-select>
122
- </div>
123
-
124
- <button style="float: right" class="btn btn-primary width-100 " @click="search()" v-el:cba>查询</button>
125
- </div>
126
- </div>
127
- </div>
128
- </criteria>
129
- <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
130
- <template partial='head'>
131
- <tr>
132
- <th style="text-align:center">
133
- <nobr>全选</nobr>
134
- <input @keyup.enter="search" style="width:60%" type="checkbox" v-model='checked1'
135
- @click="$parent.$parent.$parent.checkedALL()">
136
- </th>
137
- <th>
138
- <nobr>操作</nobr>
139
- </th>
140
- <th style="text-align:center">
141
- <nobr>用户编号</nobr>
142
- </th>
143
- <th style="text-align:center">
144
- <nobr>表号</nobr>
145
- </th>
146
- <th style="text-align:center">
147
- <nobr>客户类型</nobr>
148
- </th>
149
- <th style="text-align:center">
150
- <nobr>用气性质</nobr>
151
- </th>
152
- <th style="text-align:center">
153
- <nobr>客户姓名</nobr>
154
- </th>
155
- <th style="text-align:center">
156
- <nobr>用气地址</nobr>
157
- </th>
158
- <th style="text-align:center">
159
- <nobr>安装时间</nobr>
160
- </th>
161
- <th style="text-align:center">
162
- <nobr>气表品牌</nobr>
163
- </th>
164
-
165
- <th style="text-align:center">
166
- <nobr>气表型号</nobr>
167
- </th>
168
- </tr>
169
- </template>
170
- <template partial='body' partial='list' v-ref:grid>
171
- <tr>
172
- <td style="text-align:center">
173
- <input @keyup.enter="search" style="width:60%" type="checkbox" name="opertioninput"
174
- v-model="row.f_ischeck"
175
- @click="$parent.$parent.$parent.checked(row)"></td>
176
- <td style="text-align:center">
177
- <button type="button" name="button" class="btn btn-link"
178
- @click.stop="$parent.$parent.$parent.paramSet(row)">获取上次设置参数
179
- </td>
180
- <td style="text-align:center">
181
- <nobr>{{ row.f_userinfo_code }}</nobr>
182
- </td>
183
- <td style="text-align:center">
184
- <nobr>{{ row.f_meternumber }}</nobr>
185
- </td>
186
- <td style="text-align:center">
187
- <nobr>{{ row.f_user_type }}</nobr>
188
- </td>
189
- <td style="text-align:center">
190
- <nobr>{{ row.f_gasproperties }}</nobr>
191
- </td>
192
- <td style="text-align:center">
193
- <nobr>{{ row.f_user_name }}</nobr>
194
- </td>
195
- <td>
196
- <nobr>{{ row.f_address }}</nobr>
197
- </td>
198
- <td style="text-align:center">
199
- <nobr>{{ row.f_gas_date }}</nobr>
200
- </td>
201
-
202
- <td style="text-align:center">
203
- <nobr>{{ row.f_meter_brand }}</nobr>
204
- </td>
205
- <td style="text-align:center">
206
- <nobr>{{ row.f_meter_style }}</nobr>
207
- </td>
208
- </tr>
209
- </template>
210
- <template partial='foot'></template>
211
- </data-grid>
212
- </criteria-paged>
213
- </div>
214
-
215
- <div class="col-sm-6 dleft" v-if="f_gasbrand">
216
- <param-set-form v-ref:set :alias="f_gasbrand[0]" :data="map" :user="user" :checked1="checked1"
217
- :condition="model.condition"></param-set-form>
218
- </div>
219
- </div>
220
- </template>
221
-
222
- <script>
223
- import {PagedList} from "vue-client";
224
- import ParamSetForm from "./ParamSetForm";
225
- import {HttpResetClass} from 'vue-client'
226
-
227
- export default {
228
- components: {ParamSetForm},
229
- title: '参数设置',
230
- name: "param-set",
231
- data() {
232
- return {
233
- user: {},
234
- obj: {
235
- userid: this.$login.f.id,
236
- source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
237
- res: this.$login.f.orgs,
238
- resids: this.$login.f.orgid,
239
- },
240
- defaultSelect: [{label: '是', value: '是'},
241
- {label: '否', value: '否'}],
242
- meterbrand: [],
243
- model: new PagedList("/rs/sql/iot_getNewOpertionList", 30),
244
- searchshow: false,
245
- gasBrand: [],
246
- f_gasbrand: null,
247
- criteriaShow: false,
248
- condition: '',
249
- orgcondition: ' and f_orgid = ' + this.$login.f.orgid,
250
- isShowUserException: false,
251
- val1: '',
252
- f_beizhu: '',
253
- Gasusertype: [],
254
- Gasproperties: [],
255
- Gasproperties2: [],
256
- styles: false,
257
- checked1: false,
258
- WarningType: [
259
- {label: '全部', value: ''}
260
- ],
261
- Warningstyle: [
262
- {label: '全部', value: ''}
263
- ],
264
- Warningstyles: [
265
- {label: '全部', value: ''}
266
- ],
267
- initres: {
268
- org: [this.$login.f.orgid],
269
- dep: [],
270
- user: [],
271
- },
272
- valveLimit: false,
273
- //设置参数权限
274
- Setarameterermissions: false,
275
- parameterType: '',
276
- map: new Map()
277
- }
278
- },
279
- ready() {
280
- this.getGasBrand()
281
- // this.model.search('1=1')
282
- },
283
- methods: {
284
- // 气表型号
285
- getMeterType() {
286
- this.Warningstyle = [{label: '全部', value: ''}]
287
- this.styles = false
288
- let f_meter_brand = this.$refs.paged.$refs.criteria.model.f_gasbrand
289
- this.getMeterTypeAndBrand('f_meter_style', `f_alias='${f_meter_brand}'`)
290
- },
291
- getMeterTypeAndBrand(groupname, condition) {
292
- this.obj.resids = this.obj.resids.replace(/\./g, '')
293
- condition = `${condition} and ui.f_orgid like '%${this.obj.resids}%'`
294
- let self = this
295
- let load = new HttpResetClass()
296
- load.load('POST', 'rs/sql/iot_getNewMeterStyleAndBrand', {
297
- data: {
298
- condition: condition,
299
- groupname: groupname
300
- }
301
- }, {warnMsg: null, resolveMsg: null}).then((res) => {
302
- let dr = {label: '', value: ''}
303
- let i = 0
304
- for (i = 0; i < res.data.length; i++) {
305
- dr = {label: '', value: ''}
306
- if (groupname == 'f_meter_brand') {
307
- dr.label = res.data[i].f_meter_brand
308
- dr.value = res.data[i].f_meter_brand
309
- //气表品牌
310
- self.WarningType[i + 1] = dr
311
- } else if (groupname == 'f_meter_style') {
312
- dr.label = res.data[i].f_meter_style
313
- dr.value = res.data[i].f_meter_style
314
- //气表类型
315
- self.Warningstyle[i + 1] = dr
316
- }
317
- }
318
- if (self.Warningstyle.length > 1) {
319
- self.showMeterStyle()
320
- }
321
- })
322
-
323
- },
324
- showMeterStyle() {
325
- this.styles = true
326
- },
327
- getTypes() {
328
- console.log(this.$login.f.orgid)
329
- console.log(this.$login.f)
330
- let ids = this.obj.resids ? this.obj.resids : this.$login.f.orgid,
331
- f_user_type = [], f_gasproperties = []
332
- this.$resetpost('rs/sql/iot_getNewTypes', {data: {condition: `f_orgid = '${ids}'`}}, {
333
- warnMsg: null,
334
- resolveMsg: null
335
- }).then((res) => {
336
- let i = 0
337
- for (i = 0; i < res.data.length; i++) {
338
- f_user_type[i] = res.data[i].f_user_type == null ? 'n' : res.data[i].f_user_type
339
- f_gasproperties[i] = res.data[i].f_gasproperties == null ? 'n' : res.data[i].f_gasproperties
340
- }
341
- this.Gasusertype = this.uniq(f_user_type)
342
- this.Gasproperties = this.uniq(f_gasproperties)
343
- })
344
- },
345
- uniq(array) {
346
- array.sort();
347
- let arraytype = [{label: '全部', value: ''}]
348
- let dr = {label: '', value: ''}
349
- if (array[0] == 'n') {
350
- dr = {label: '空值', value: 'is null'}
351
- } else {
352
- dr = {label: array[0], value: "='" + array[0] + "'"}
353
- }
354
- arraytype.push(dr)
355
- let temp = [array[0]];
356
- console.log(array[0] + "array[0]")
357
- for (var i = 1; i < array.length; i++) {
358
- if (array[i] !== temp[temp.length - 1]) {
359
- if (array[i] == 'n') {
360
- dr = {label: '空值', value: 'is null'}
361
- } else {
362
- dr = {label: array[i], value: "='" + array[i] + "'"}
363
- }
364
- arraytype.push(dr);
365
- temp.push(array[i]);
366
- }
367
- }
368
- return arraytype;
369
- },
370
- getRes(obj) {
371
- this.obj.res = obj.res[0]
372
- this.obj.resids = obj.resids[0]
373
- },
374
- getGasBrand() {
375
-
376
- var condition = {
377
- items: 'distinct f_alias value,f_meter_brand label,id ',
378
- tablename: ' t_gasbrand ',
379
- condition: "f_meter_type ='物联网表' ",
380
- orderitem: ' f_meter_brand '
381
- }
382
- this.$resetpost('rs/sql/singleTable_OrderBy', {data: condition}, {
383
- resolveMsg: null,
384
- rejectMsg: null
385
- }).then((res) => {
386
- this.gasBrand = res.data
387
- this.getTypes()
388
- })
389
- },
390
- // 获取最新设置参数
391
- paramSet(row) {
392
- if (!row.f_ischeck) {
393
- console.log(123)
394
- row.f_ischeck = true
395
- this.checked(row)
396
- } else {
397
-
398
- }
399
- this.$refs.set.getParams(row)
400
- this.user = row
401
- },
402
- hidden() {
403
- this.criteriaShow = !this.criteriaShow
404
- },
405
- search(args) {
406
- console.log(args)
407
- if (!args.model.f_gasbrand) {
408
- return this.$showMessage("请选择气表品牌")
409
- }
410
- this.f_gasbrand = this.gasBrand.filter(item => item.value === args.model.f_gasbrand)
411
- this.map = new Map()
412
- args.condition = `${args.condition} `
413
- args.condition = `${args.condition} and f_orgid like '${this.obj.resids}%'`
414
- this.condition = args.condition
415
- this.model.search(args.condition, args.model)
416
- },
417
- mapset(array) {
418
- this.map.clear();
419
- console.log(array)
420
- for (let i = 0; i < array.length; i++) {
421
- let userid = array[i].f_userfiles_id;
422
- let alias = array[i].f_alias;
423
- let userinfoid = array[i].f_userinfo_code;
424
- let f_orgid = array[i].f_depid;
425
- let f_meternumber = array[i].f_meternumber;
426
- this.map.set(userid, {
427
- id: null,
428
- f_user_id: userid,
429
- f_alias: alias,
430
- f_userinfo_id: userinfoid,
431
- f_orgid: f_orgid,
432
- f_meternumber: f_meternumber
433
- })
434
- }
435
- },
436
- back() {
437
- this.$parent.msg = ""
438
- },
439
- clearmsg() {
440
- this.$refs.paged.$refs.criteria.model = {}
441
- },
442
- clickshow() {
443
- this.searchshow = !this.searchshow
444
- },
445
- checkedALL() {
446
- this.checked1 = !this.checked1
447
- let box = document.getElementsByName("opertioninput")
448
- for (var i = 0; i < box.length; i++) {
449
- box[i].checked = this.checked1;
450
- }
451
- },
452
- checked(val) {
453
- let userid = val.f_userfiles_id;
454
- if (this.map.has(userid)) {
455
- this.map.delete(userid)
456
- } else {
457
- // this.user = val
458
- this.map.set(userid, {
459
- id: null,
460
- f_user_id: userid,
461
- f_alias: val.f_alias,
462
- f_userinfo_id: val.f_userinfo_id,
463
- f_filiale: val.f_filiale,
464
- f_orgid: val.f_orgid,
465
- f_meternumber: val.f_meternumber
466
- })
467
- }
468
- },
469
- showModal(val) {
470
- this.val1 = val;
471
- this.isShowUserException = true
472
- },
473
- close() {
474
- this.isShowUserException = false
475
- }
476
- },
477
- computed: {
478
- f_table_state() {
479
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
480
- },
481
- f_distinct() {
482
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('行政区域')]
483
- },
484
- f_opera_area() {
485
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('运营区域')]
486
- },
487
-
488
- MeterTypes() {
489
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
490
- },
491
- // Gasproperties() {
492
- // let rs = []
493
- // if (this.model.model.f_user_type) {
494
- // rs = this.$appdata.getParam(this.model.model.f_user_type[0])
495
- // }
496
- // return rs
497
- // },
498
- parameterTypeList() {
499
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('设置参数')]
500
- },
501
- signtype1() {
502
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
503
- },
504
- parameterState() {
505
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
506
- },
507
- userType() {
508
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
509
- },
510
- userfilesState() {
511
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报状态')]
512
- },
513
- valvestate() {
514
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')]
515
- },
516
- instructState() {
517
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('指令状态')]
518
- }
519
- },
520
- events:{
521
- 'close'(){
522
-
523
- }
524
- },
525
- watch: {
526
- 'checked1'(val) {
527
- if (val) {
528
- this.mapset(this.model.rows)
529
- } else {
530
- this.map.clear();
531
- }
532
- }
533
- }
534
- }
535
- </script>
536
-
537
- <style scoped>
538
- .basic-main {
539
- padding: 0.6%;
540
- margin-left: 0.6%;
541
- margin-right: 0.6%;
542
- width: 99%;
543
- height: 99%;
544
- background-color: #ffffff;
545
- border-radius: 14px;
546
- box-shadow: 0px 1px 10px 0px rgba(2, 56, 104, 0.2);
547
- }
548
-
549
- .dleft {
550
- padding: 10px;
551
- background-color: #ffffff;
552
- border-radius: 14px;
553
- box-shadow: 0 1px 10px 0 rgba(2, 56, 104, 0.2);
554
- }
555
-
556
- </style>