sale-client 4.2.71 → 4.2.73

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 (108) hide show
  1. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  2. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  3. package/.gradle/buildOutputCleanup/cache.properties +1 -1
  4. package/businessNew.json +201 -0
  5. package/package.json +1 -1
  6. package/src/components/FilesManage/FileUserFiles.vue +1 -1
  7. package/src/components/revenue/Common/EticketPrint.vue +2 -2
  8. package/src/components/revenue/HandManager/CardHand.vue +6 -6
  9. package/src/components/revenue/cardHandManage/cardDown.vue +6 -6
  10. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +1 -1
  11. package/src/components/webMeter/paramSave/ParamSetForm.vue +1 -1
  12. package/src/filiale/alashan/FileUserFiles.vue +1 -1
  13. package/src/filiale/alashan/eticket/EticketPrint.vue +2 -2
  14. package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1 -1
  15. package/src/filiale/bayan/FilesManage/FileUserFiles.vue +1 -1
  16. package/src/filiale/beifangshiye/FilesManage/FileUserFiles.vue +1 -1
  17. package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1 -1
  18. package/src/filiale/dexin/FileUserFiles.vue +1 -1
  19. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1 -1
  20. package/src/filiale/dongguan/components/common/userinfo_detail/WebMeterBatchOperationValve.vue +1 -1
  21. package/src/filiale/fugou/FileUserFiles.vue +1 -1
  22. package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +1 -1
  23. package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +1 -1
  24. package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -1
  25. package/src/filiale/gehua/FileUserFiles.vue +1 -1
  26. package/src/filiale/guangxi/WebMeterBatchOperationValve.vue +1 -1
  27. package/src/filiale/haile/FilesManage/FileUserFiles.vue +1 -1
  28. package/src/filiale/hantou/WebMeterBatchOperationValve.vue +1 -1
  29. package/src/filiale/huaran/FilesManage/FileUserFiles.vue +1 -1
  30. package/src/filiale/huayin/FileUserFiles.vue +1 -1
  31. package/src/filiale/jingwei/FileUserFiles.vue +1 -1
  32. package/src/filiale/jingyang/EticketPrint.vue +2 -2
  33. package/src/filiale/jingyang/GovernmentSell.vue +1 -1
  34. package/src/filiale/jinhuang/WebHand.vue +1026 -1026
  35. package/src/filiale/jinhuang/cardsHand.vue +8 -8
  36. package/src/filiale/kelai/FileUserFilesKeLai.vue +1 -1
  37. package/src/filiale/konggang/FileUserFiles.vue +1 -1
  38. package/src/filiale/macheng/EstimateManager.vue +1 -1
  39. package/src/filiale/macheng/FileUserFiles.vue +1 -1
  40. package/src/filiale/meihekou/FileUserFiles.vue +1 -1
  41. package/src/filiale/ningjin/FileUserFiles.vue +1 -1
  42. package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -1
  43. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +1 -1
  44. package/src/filiale/qingjian/FileUserFiles.vue +1 -1
  45. package/src/filiale/rizhao/FileUserFiles.vue +1 -1
  46. package/src/filiale/rongcheng/FileUserFiles.vue +1 -1
  47. package/src/filiale/rongchuang/FilesManage/FileUserFiles.vue +1 -1
  48. package/src/filiale/shanggao/FileUserFiles.vue +1 -1
  49. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1 -1
  50. package/src/filiale/shanxian/components/webMeter/WebMeterBatchOperationValve.vue +1 -1
  51. package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +1 -1
  52. package/src/filiale/shaoguan/Message/MessageList.vue +1 -1
  53. package/src/filiale/shexian/FilesManage/FileUserFiles.vue +1 -1
  54. package/src/filiale/wenxi/FileUserFiles.vue +1 -1
  55. package/src/filiale/wuan/FileUserFiles.vue +1 -1
  56. package/src/filiale/xinkang/WebMeterBatchOperationValve.vue +1 -1
  57. package/src/filiale/yangchun/EticketPrint.vue +2 -2
  58. package/src/filiale/yangchun/FilesManage/FileUserFiles.vue +1 -1
  59. package/src/filiale/yuncheng/FileManageService.js +469 -469
  60. package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1 -1
  61. package/src/filiale/zhongyi/FileUserFiles.vue +1 -1
  62. package/static/syrh.png +0 -0
  63. package/static/syyj.png +0 -0
  64. package/static/xyrh.png +0 -0
  65. package/static/xyyj.png +0 -0
  66. package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
  67. package/src/components/FilesManage/ncUserinfoList.vue +0 -315
  68. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
  69. package/src/components/SendCard/SendCardData.vue +0 -208
  70. package/src/components/accounts/accountAdd.vue +0 -276
  71. package/src/components/accounts/accountsList.vue +0 -183
  72. package/src/components/accounts/accountsManage.vue +0 -87
  73. package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
  74. package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
  75. package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
  76. package/src/components/ncarchives/ncArchivesList.vue +0 -159
  77. package/src/components/ncarchives/ncUserfilesList.vue +0 -373
  78. package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
  79. package/src/components/revenue/IOTArrears/arrears.vue +0 -323
  80. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
  81. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
  82. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
  83. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
  84. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
  85. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
  86. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
  87. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
  88. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
  89. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
  90. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
  91. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
  92. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
  93. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
  94. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
  95. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
  96. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
  97. package/src/components/thirdapply/thirdAdd.vue +0 -289
  98. package/src/components/thirdapply/thirdList.vue +0 -162
  99. package/src/components/thirdapply/thirdManage.vue +0 -74
  100. package/src/components/webMeter/InstructQuery.vue +0 -414
  101. package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
  102. package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
  103. package/src/components/webMeter/WebUserHand.vue +0 -483
  104. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
  105. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
  106. package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
  107. package/src/plugins/FileManageServicets.js +0 -214
  108. 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>