sale-client 4.2.71 → 4.2.72

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 (148) hide show
  1. package/build/dev-server.js +58 -36
  2. package/index.html +7 -2
  3. package/package.json +1 -1
  4. package/src/App.vue +1 -1
  5. package/src/components/FilesManage/FileUserFiles.vue +1 -1
  6. package/src/components/revenue/Common/EticketPrint.vue +2 -2
  7. package/src/components/revenue/HandManager/CardHand.vue +6 -6
  8. package/src/components/revenue/HandManager/MeterBookUser.vue +726 -726
  9. package/src/components/revenue/cardHandManage/cardDown.vue +6 -6
  10. package/src/components/revenue/comprehen/ComprehenOperation/QrPay/QrPaymentDetailed.vue +423 -423
  11. package/src/components/revenue/comprehen/Maintenance/hand/handOperate.vue +469 -469
  12. package/src/components/revenue/machineHandManage/ArrearsQuery.vue +938 -938
  13. package/src/components/webMeter/MeterManage/WebMeterBatchOperationValve.vue +1 -1
  14. package/src/components/webMeter/paramSave/ParamSetForm.vue +1 -1
  15. package/src/filiale/alashan/FileUserFiles.vue +1 -1
  16. package/src/filiale/alashan/eticket/EticketPrint.vue +2 -2
  17. package/src/filiale/alashan/eticket/EticketRecordList.vue +428 -428
  18. package/src/filiale/ancheng/FilesManage/FileUserFiles.vue +1 -1
  19. package/src/filiale/bayan/ChargeList.vue +1010 -1010
  20. package/src/filiale/bayan/FilesManage/FileUserFiles.vue +1 -1
  21. package/src/filiale/bayan/StockListmain.vue +543 -543
  22. package/src/filiale/bazhong/UserInfoDetailManageNew.vue +245 -245
  23. package/src/filiale/bazhong/ic_detail/ChangeMeterQueryUser.vue +370 -370
  24. package/src/filiale/bazhong/sale.js +8 -8
  25. package/src/filiale/beifangshiye/FilesManage/FileUserFiles.vue +1 -1
  26. package/src/filiale/beifangshiye/OtherChargeNew.vue +625 -625
  27. package/src/filiale/chengtou/components/FilesManage/FileUserFiles.vue +1 -1
  28. package/src/filiale/dexin/FileUserFiles.vue +1 -1
  29. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1 -1
  30. package/src/filiale/dongguan/components/common/userinfo_detail/WebMeterBatchOperationValve.vue +1 -1
  31. package/src/filiale/fugou/FileUserFiles.vue +1 -1
  32. package/src/filiale/ganquan/components/FilesManage/FileUserFiles.vue +1 -1
  33. package/src/filiale/gaomi/components/FilesManage/FileUserFiles.vue +1 -1
  34. package/src/filiale/gehua/FileManageNew/FileUserFiles.vue +1 -1
  35. package/src/filiale/gehua/FileUserFiles.vue +1 -1
  36. package/src/filiale/guangxi/WebMeterBatchOperationValve.vue +1 -1
  37. package/src/filiale/haile/FilesManage/FileUserFiles.vue +1 -1
  38. package/src/filiale/hantou/WebMeterBatchOperationValve.vue +1 -1
  39. package/src/filiale/huaran/FilesManage/FileUserFiles.vue +1 -1
  40. package/src/filiale/huayin/FileUserFiles.vue +1 -1
  41. package/src/filiale/jingwei/FileUserFiles.vue +1 -1
  42. package/src/filiale/jingyang/EticketPrint.vue +2 -2
  43. package/src/filiale/jingyang/GovernmentSell.vue +1 -1
  44. package/src/filiale/jinhuang/WebHand.vue +1026 -1026
  45. package/src/filiale/jinhuang/cardsHand.vue +8 -8
  46. package/src/filiale/kelai/FileUserFilesKeLai.vue +1 -1
  47. package/src/filiale/konggang/FileUserFiles.vue +1 -1
  48. package/src/filiale/lixianV3/ArrearsQuery.vue +938 -938
  49. package/src/filiale/lixianV3/InsuranceChargesDetails.vue +425 -425
  50. package/src/filiale/macheng/EstimateManager.vue +1 -1
  51. package/src/filiale/macheng/FileUserFiles.vue +1 -1
  52. package/src/filiale/meihekou/FileUserFiles.vue +1 -1
  53. package/src/filiale/meihekou/common/userinfo_detail/ic_detail/MachineRecordQuery.vue +281 -281
  54. package/src/filiale/ningjin/FileUserFiles.vue +1 -1
  55. package/src/filiale/qianneng/FilesManage/FileUserFiles.vue +1 -1
  56. package/src/filiale/qianneng/revenue/sms/AccountMessageList.vue +1 -1
  57. package/src/filiale/qingjian/FileUserFiles.vue +1 -1
  58. package/src/filiale/rizhao/FileUserFiles.vue +1 -1
  59. package/src/filiale/rongcheng/FileUserFiles.vue +1 -1
  60. package/src/filiale/rongchuang/FilesManage/FileUserFiles.vue +1 -1
  61. package/src/filiale/ronghao/ArrearsQuery.vue +974 -974
  62. package/src/filiale/ronghao/CardService.js +2144 -2144
  63. package/src/filiale/ronghao/InsuranceManage.vue +58 -58
  64. package/src/filiale/ronghao/MachineChargeService.js +149 -149
  65. package/src/filiale/ronghao/NoCardMeterCenter.vue +534 -534
  66. package/src/filiale/ronghao/PaymentCode.vue +174 -174
  67. package/src/filiale/ronghao/PriceChangeCompensation/CompensationManage.vue +26 -26
  68. package/src/filiale/ronghao/PriceChangeCompensation/IotCompensation.vue +318 -318
  69. package/src/filiale/ronghao/PriceChangeCompensation/JbCompensation.vue +343 -343
  70. package/src/filiale/ronghao/PriceChangeCompensation/SurplusRecordDetail.vue +74 -74
  71. package/src/filiale/ronghao/ReplaceCardManage.vue +415 -415
  72. package/src/filiale/ronghao/Upload.vue +654 -654
  73. package/src/filiale/ronghao/cardDown.vue +1141 -1141
  74. package/src/filiale/ronghao/changemeterOperate.vue +315 -315
  75. package/src/filiale/ronghao/fillgasSpecific.vue +313 -313
  76. package/src/filiale/ronghao/ic_detail/ChargeRecordQuery.vue +106 -106
  77. package/src/filiale/ronghao/ic_detail/WatchCollection.vue +115 -115
  78. package/src/filiale/ronghao/ic_detail/WebHandQueryUser.vue +411 -411
  79. package/src/filiale/ronghao/machineDown.vue +1176 -1176
  80. package/src/filiale/ronghao/replacementSingleInfoOperation.vue +315 -315
  81. package/src/filiale/ronghao/specificInformation.vue +537 -537
  82. package/src/filiale/shanggao/FileUserFiles.vue +1 -1
  83. package/src/filiale/shanxian/components/FilesManage/FileUserFiles.vue +1 -1
  84. package/src/filiale/shanxian/components/webMeter/WebMeterBatchOperationValve.vue +1 -1
  85. package/src/filiale/shaoguan/FilesManage/FileUserFiles.vue +1 -1
  86. package/src/filiale/shaoguan/Message/MessageList.vue +1 -1
  87. package/src/filiale/shexian/FilesManage/FileUserFiles.vue +1 -1
  88. package/src/filiale/wenxi/FileUserFiles.vue +1 -1
  89. package/src/filiale/wuan/FileUserFiles.vue +1 -1
  90. package/src/filiale/xinkang/WebMeterBatchOperationValve.vue +1 -1
  91. package/src/filiale/yangchun/ChargeList.vue +954 -954
  92. package/src/filiale/yangchun/EticketPrint.vue +2 -2
  93. package/src/filiale/yangchun/FilesManage/FileUserFiles.vue +1 -1
  94. package/src/filiale/yuncheng/FileManageService.js +469 -469
  95. package/src/filiale/yuncheng/changemeterListMaintain.vue +504 -504
  96. package/src/filiale/zhongsheng/BlackListList.vue +293 -293
  97. package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1 -1
  98. package/src/filiale/zhongyi/FileUserFiles.vue +1 -1
  99. package/src/filiale/zhongyi/HandQueryUser.vue +389 -389
  100. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  101. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  102. package/.gradle/5.2.1/gc.properties +0 -0
  103. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  104. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  105. package/.gradle/vcs-1/gc.properties +0 -0
  106. package/src/components/FilesManage/addressts/FileUserFilests.vue +0 -671
  107. package/src/components/FilesManage/ncUserinfoList.vue +0 -315
  108. package/src/components/SellGasCharge/MeterCharge/CardDataRewrite.vue +0 -107
  109. package/src/components/SendCard/SendCardData.vue +0 -208
  110. package/src/components/accounts/accountAdd.vue +0 -276
  111. package/src/components/accounts/accountsList.vue +0 -183
  112. package/src/components/accounts/accountsManage.vue +0 -87
  113. package/src/components/common/chargeinfo/chargeinfo.vue +0 -55
  114. package/src/components/common/userinfo_detail/config/exportConfig.js +0 -85
  115. package/src/components/ncarchives/ncArchivesAdd.vue +0 -468
  116. package/src/components/ncarchives/ncArchivesList.vue +0 -159
  117. package/src/components/ncarchives/ncUserfilesList.vue +0 -373
  118. package/src/components/ncarchives/ncarchivesmanage.vue +0 -80
  119. package/src/components/revenue/IOTArrears/arrears.vue +0 -323
  120. package/src/components/revenue/IOTArrears/iotRechargeAudit.vue +0 -369
  121. package/src/components/revenue/base/rightview/carddetail/cardiotfeeChangeDetail.vue +0 -59
  122. package/src/components/revenue/base/rightview/carddetail/reduceChangeDetail.vue +0 -59
  123. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellationts.vue +0 -73
  124. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchEnablets.vue +0 -73
  125. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/ReduceAddGas.vue +0 -199
  126. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionManage.vue +0 -24
  127. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icdeductionYSManage.vue +0 -24
  128. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeDeduction.vue +0 -185
  129. package/src/components/revenue/comprehen/ComprehenOperation/IcFeeDeduction/icfeeYSDeduction.vue +0 -185
  130. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/ChangeFlowMeter.vue +0 -356
  131. package/src/components/revenue/comprehen/ComprehenOperation/newchangemeter/CorrectionMeter.vue +0 -148
  132. package/src/components/revenue/comprehen/SpecialUser/BlackList/BlackUserList.vue +0 -136
  133. package/src/components/revenue/recordMainten/sellinggas/AddWarehousemain.vue +0 -65
  134. package/src/components/revenue/recordMainten/sellinggas/MeterOperateAdd.vue +0 -483
  135. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemain.vue +0 -279
  136. package/src/components/revenue/recordMainten/sellinggas/MeterOperatemainImport.vue +0 -265
  137. package/src/components/thirdapply/thirdAdd.vue +0 -289
  138. package/src/components/thirdapply/thirdList.vue +0 -162
  139. package/src/components/thirdapply/thirdManage.vue +0 -74
  140. package/src/components/webMeter/InstructQuery.vue +0 -414
  141. package/src/components/webMeter/ParamSet/ParamSet.vue +0 -556
  142. package/src/components/webMeter/ParamSet/ParamSetForm.vue +0 -296
  143. package/src/components/webMeter/WebUserHand.vue +0 -483
  144. package/src/components/webMeter/instructionView/NewQueryInstruct.vue +0 -509
  145. package/src/components/webMeter/instructionView/NewQueryInstructMain.vue +0 -48
  146. package/src/components/webMeter/webManage/NewMeterList.vue +0 -461
  147. package/src/plugins/FileManageServicets.js +0 -214
  148. package/src/plugins/GetImg.js +0 -53
@@ -1,414 +0,0 @@
1
- <template style="position: absolute;">
2
- <div class="flex">
3
- <criteria-paged :model="model" v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.search' v-ref:criteria>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
6
- <div class="row">
7
- <div class="col-sm-2">
8
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp;</label>
9
- <right-tree @re-res="$parent.$parent.getorg"
10
- :initresid='$parent.$parent.org'></right-tree>
11
- </div>
12
- <div class="col-sm-2">
13
- <label class="font_normal_body">客户编号</label>
14
- <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
15
- v-model="model.f_userinfo_code"
16
- placeholder='客户编号'
17
- condition="f_userinfo_code like '{}%'"
18
- >
19
- </div>
20
- <div class="col-sm-2">
21
- <label class="font_normal_body">客户名称</label>
22
- <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
23
- v-model="model.f_user_name"
24
- placeholder='客户名称'
25
- condition="f_user_name like '%{}%'"
26
- >
27
- </div>
28
- <div class="col-sm-2">
29
- <label class="font_normal_body">客户地址</label>
30
- <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
31
- v-model="model.f_address"
32
- placeholder='客户地址'
33
- :size="model.f_address ? model.f_address.length : 6"
34
- condition="f_address like '%{}%'"
35
- >
36
- </div>
37
-
38
-
39
-
40
- <div style="float:right;">
41
- <button class="button_search button_spacing" @click="search()" v-el:cba>查询</button>
42
-
43
- <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
44
- <export-excel
45
- :data="{condition: $parent.$parent.condition}"
46
- :field="$parent.$parent.getfield"
47
- sqlurl="rs/logic/saleExport" sql-name="iot_getNewMeterBrandAndModel" template-name='表具查询'
48
- :choose-col="true"></export-excel>
49
- <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>
50
- </div>
51
- </div>
52
-
53
-
54
- <div class="row" v-show="$parent.$parent.criteriaShow">
55
- <div class="col-sm-2">
56
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;表号&nbsp;&nbsp;&nbsp;</label>
57
- <input @keyup.enter="search" type="text" class="input_search" style="width:60%"
58
- v-model="model.f_meternumber"
59
- placeholder='表号'
60
- condition="f_meternumber = '{}'">
61
- </div>
62
- <div class="col-sm-2">
63
- <label class="font_normal_body">客户类型</label>
64
- <v-select
65
- placeholder='客户类型'
66
- value-single="true"
67
- style="width:60%"
68
- :value.sync="model.f_user_type"
69
- v-model="model.f_user_type"
70
- :options='$parent.$parent.Gasusertype'
71
- close-on-select condition="f_user_type ='{}'">
72
- </v-select>
73
- </div>
74
-
75
- <div class="col-sm-2">
76
- <label class="font_normal_body">用气性质</label>
77
- <v-select
78
- placeholder='用气性质'
79
- value-single="true"
80
- :value.sync="model.f_gasproperties"
81
- style="width:60%"
82
- v-model="model.f_gasproperties"
83
- :options='$parent.$parent.Gasproperties'
84
- close-on-select condition="f_gasproperties ='{}'">
85
- </v-select>
86
- </div>
87
- <div class="col-sm-2">
88
- <label class="font_normal_body">气表状态</label>
89
- <v-select
90
- placeholder='气表状态'
91
- :value.sync="model.f_table_state"
92
- style="width:60%"
93
- v-model="model.f_table_state"
94
- :options='$parent.$parent.TableStates'
95
- close-on-select
96
- condition="f_table_state='{}'">
97
- </v-select>
98
- </div>
99
- <div class="col-sm-2">
100
- <label class="font_normal_body">气表品牌</label>
101
- <v-select
102
- placeholder='气表品牌'
103
-
104
- :value.sync="model.f_gasbrand"
105
- style="width:60%"
106
- v-model="model.f_gasbrand"
107
- :options='$parent.$parent.meterbrand'
108
- close-on-select
109
- condition="f_meter_brand='{}'">
110
- </v-select>
111
- </div>
112
-
113
- </div>
114
-
115
-
116
-
117
- </div>
118
-
119
-
120
- </criteria>
121
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
122
- <template partial='head'>
123
- <tr>
124
- <th style="text-align:center"><nobr>序号</nobr></th>
125
- <th style="text-align:center"><nobr>客户编号</nobr></th>
126
- <th style="text-align:center"><nobr>客户名称</nobr></th>
127
- <th style="text-align:center"><nobr>客户地址</nobr></th>
128
- <th style="text-align:center;color:#3c763d"><nobr>表号</nobr></th>
129
- <th style="text-align:center"><nobr>气表品牌</nobr></th>
130
- <th style="text-align:center"><nobr>气表底数</nobr></th>
131
- <th style="text-align:center"><nobr>累购金额</nobr></th>
132
- <th style="text-align:center"><nobr>表上余额</nobr></th>
133
- <th style="text-align:center"><nobr>阀门状态</nobr></th>
134
- <th style="text-align:center"><nobr>指令生成时间</nobr></th>
135
- <th style="text-align:center"><nobr>指令标题</nobr></th>
136
- <th style="text-align:center"><nobr>执行状态</nobr></th>
137
- <th style="text-align:center"><nobr>执行结果</nobr></th>
138
- <th style="text-align:center"><nobr>公司编号</nobr></th>
139
- <th style="text-align:center"><nobr>指令发送时间</nobr></th>
140
- <th style="text-align:center"><nobr>上表时间</nobr></th>
141
- <th style="text-align:center"><nobr>指令下发者</nobr></th>
142
- <th style="text-align:center"><nobr>指令类型</nobr></th>
143
- <!-- <th style="text-align:center"><nobr>公司编号</nobr></th> -->
144
- <th style="text-align:center"><nobr>组织机构</nobr></th>
145
- <th style="text-align:center"><nobr>气表状态</nobr></th>
146
- <th style="text-align:center"><nobr>客户类型</nobr></th>
147
- <th style="text-align:center"><nobr>用气性质</nobr></th>
148
-
149
- </tr>
150
- </template>
151
- <template partial='body'>
152
- <tr>
153
- <td style="text-align:center"><nobr>{{$index + 1}}</nobr></td>
154
- <td style="text-align:center">
155
- <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
156
- </td>
157
- <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
158
- <td><nobr>{{row.f_address}}</nobr></td>
159
- <td style="text-align:center;color:#3c763d" ><nobr>{{row.f_meternumber}}</nobr></td>
160
- <td style="text-align:center;color:#3c763d" ><nobr>{{row.f_meter_brand}}</nobr></td>
161
- <td style="text-align:center"><nobr>{{row.f_meter_base}}</nobr></td>
162
- <td style="text-align:center"><nobr>{{row.f_total_fee}}</nobr></td>
163
- <td style="text-align:center"><nobr>{{row.f_balance_amount}}</nobr></td>
164
- <td style="text-align:center"><nobr>{{row.f_valve_state}}</nobr></td>
165
- <td style="text-align:center"><nobr>{{row.f_instruct_date}}</nobr></td>
166
- <td style="text-align:center"><nobr>{{row.f_instruct_title}}</nobr></td>
167
- <td style="text-align:center"><nobr>{{row.f_instruct_state}}</nobr></td>
168
- <td style="text-align:center"><nobr>{{row.f_receive_state}}</nobr></td>
169
- <td style="text-align:center"><nobr>{{row.uf.f_filialeid}}</nobr></td>
170
- <td style="text-align:center"><nobr>{{row.f_send_date}}</nobr></td>
171
- <td style="text-align:center"><nobr>{{row.f_callback_date}}</nobr></td>
172
- <td style="text-align:center"><nobr>{{row.f_inputtor}}</nobr></td>
173
- <td style="text-align:center"><nobr>{{row.f_instruct_type}}</nobr></td>
174
- <!--<td style="text-align:center"><nobr>{{row.f_orgid}}</nobr></td> -->
175
- <td style="text-align:center"><nobr>{{row.f_orgname}}</nobr></td>
176
- <td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
177
- <td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>
178
- <td style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></td>
179
- </tr>
180
- </template>
181
- </data-grid>
182
- </criteria-paged>
183
- </div>
184
- </template>
185
-
186
- <script>
187
- import {PagedList} from 'vue-client'
188
-
189
- let readyGen = async function (self) {
190
- await self.$LoadParams.loadParam()
191
- self.initQueryParam()
192
- self.getinstructtype()
193
- self.getinstructstate()
194
- await self.$getConfig(self, 'HandManager')
195
- console.log('指令查询config', self.config)
196
- self.getfield = self.config.excelHeaders
197
- // self.reflash()
198
- }
199
-
200
- export default {
201
- title: '指令查询',
202
- data () {
203
- return {
204
- model: new PagedList('rs/sql/iot_getBiaoju', 50),
205
- row: null,
206
- meterbrand: [],
207
- searchshow: false,
208
- orgcondition:' and uf.f_filialeid = ' + this.$login.f.orgid,
209
- getfield: {},
210
- org:[this.$login.f.orgid],
211
- criteriaShow:false,
212
- config: {
213
- excelHeaders: {
214
- 'f_userinfo_code': '客户编号','f_user_name': '客户名称','f_address': '客户地址',
215
- 'f_meternumber': '表号','f_meter_brand': '气表品牌','f_meter_base': '气表底数',
216
- 'f_total_fee': '累购金额','f_balance_amount': '表上余额', 'f_valve_state': '阀门状态',
217
- 'f_instruct_date': '指令生成时间','f_instruct_title': '指令标题','f_instruct_state': '执行状态',
218
- 'f_receive_state': '执行结果','uf.f_filialeid': '公司编号','f_send_date': '指令发送时间',
219
- 'f_callback_date': '上表时间','f_inputtor': '指令下发者','f_instruct_type': '指令类型',
220
- 'f_orgname': '公司名称','f_table_state': '气表状态',
221
- 'f_user_type': '客户类型','f_gasproperties': '用气性质'
222
- }
223
- },
224
- condition:'uf.f_filialeid = ' + this.$login.f.orgid,
225
- WarningType: [
226
- {label: '全部', value: ''}
227
- ],
228
- Warningstyle: [
229
- {label: '全部', value: ''}
230
- ],
231
- Warningstyles: [
232
- {label: '全部', value: ''}
233
- ],
234
- styles: false,
235
- softVwareersion: [],
236
- Gasusertype: [],
237
- Gasproperties:[],
238
- // Gasproperties: this.$refs.paged.$refs.criteria.model.f_user_type.length === 1 ? this.$appdata.getParam(this.model.f_user_type[0]) : [],
239
- Gasproperties2: [],
240
- str: '',
241
- isBusy: false,
242
- }
243
-
244
- },
245
- props: ['searchobj', 'isdeal'],
246
- ready(){
247
- //初始化气表品牌下拉框
248
- //初始化客户类型,用气性质,用气属性,软件版本号下拉框
249
- readyGen(this)
250
- this.$refs.paged.$refs.criteria.model.f_table_state=['正常']
251
- this.$refs.paged.$refs.criteria.model.f_start_date = Util.toStandardDateString() + ' 00:00:00'
252
- this.$refs.paged.$refs.criteria.model.f_end_date = Util.toStandardDateString() + ' 23:59:59'
253
- this.$refs.paged.$refs.criteria.search()
254
- },
255
- watch: {
256
- 'searchobj'(val) {
257
- if (this.searchobj != null) {
258
- this.$refs.paged.$refs.criteria.model.f_meternumber = this.searchobj.f_meternumber
259
- this.$refs.paged.$refs.criteria.search()
260
- }
261
- }
262
- },
263
- methods: {
264
- hidden() {
265
- this.criteriaShow = !this.criteriaShow
266
- },
267
- clearmsg() {
268
- this.$refs.paged.$refs.criteria.model = {}
269
- },
270
- clickshow() {
271
- this.searchshow = !this.searchshow
272
- },
273
- dealmsg(val) {
274
- val.model = this.model.model
275
- this.$emit('deal-msg', val)
276
- },
277
- search(args) {
278
- this.isBusy = true
279
- args.condition = `${args.condition} `+this.orgcondition
280
- this.condition=args.condition
281
- this.model.search(args.condition, args.model)
282
- },
283
-
284
- /**search() {
285
- this.$refs.paged.$refs.criteria.search()
286
- },**/
287
-
288
- getorg(obj) {
289
- if (obj.resids.length>0) {
290
- this.orgcondition = " and uf.f_filialeid in " + this.$login.convertToIn(obj.resids)
291
- }else
292
- {
293
- this.orgcondition = " and uf.f_filialeid = " + this.$login.f.orgid
294
- }
295
- },
296
-
297
- userTypeChange () {
298
- this.gasproperties = []
299
- if (this.model.f_user_type.length === 1) {
300
- if (this.model.f_user_type[0]) {
301
- this.gasproperties = this.$appdata.getParam(this.model.f_user_type[0])
302
- } else {
303
- this.$refs.paged.$refs.criteria.model.f_gasproperties = ''
304
- }
305
- }
306
- },
307
- initQueryParam () {
308
- let arr = []
309
- this.$GetSaleParam.getGasbrand().forEach((item) => {
310
- let temp = {}
311
- if(item.value.f_meter_type==='物联网表'){
312
- temp.label = item.label
313
- temp.value = item.value.f_meter_brand
314
- arr.push(temp )
315
- }
316
-
317
- })
318
- this.meterbrand = [{label: '全部', value: ''}, ...arr]
319
- }
320
-
321
- },
322
- getinstructtype(){
323
- this.instructtype=[]
324
- let load = new HttpResetClass()
325
- load.load('POST', 'rs/sql/querySingleTable', {
326
- data: {
327
- items:'f_instruct_type',
328
- tablename:'t_instruct',
329
- condition:'f_instruct_type is not null group by f_instruct_type'
330
- }
331
- },{warnMsg:null,resolveMsg:null}).then((res) => {
332
- this.instructtype.push({label: '全部', value: ''})
333
- res.data.forEach((item) => {
334
- this.instructtype.push({label: item.f_instruct_type, value: item.f_instruct_type})
335
- })
336
- })
337
-
338
- },
339
- getinstructstate(){
340
- this.instructstate=[]
341
- let load = new HttpResetClass()
342
- load.load('POST', 'rs/sql/querySingleTable', {
343
- data: {
344
- items:'f_instruct_state',
345
- tablename:'t_instruct',
346
- condition:'f_instruct_state is not null group by f_instruct_state'
347
- }
348
- },{warnMsg:null,resolveMsg:null}).then((res) => {
349
- this.instructstate.push({label: '全部', value: ''})
350
- res.data.forEach((item) => {
351
- this.instructstate.push({label: item.f_instruct_state, value: item.f_instruct_state})
352
- })
353
- })
354
-
355
- },
356
-
357
- computed: {
358
- /* Warningstyle () {
359
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('燃气表型号')]
360
- },*/
361
- MeterTypes() {
362
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
363
- },
364
- TableStates() {
365
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
366
- },
367
- Gasproperties() {
368
- let rs = []
369
- if (this.model.model.f_user_type) {
370
- rs = this.$appdata.getParam(this.model.model.f_user_type[0])
371
- }
372
- return rs
373
- // return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气性质')]
374
- },
375
- Gasusertype() {
376
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
377
- },
378
- /* signtype1() {
379
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记名称')]
380
- },
381
- parameterState() {
382
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('标记状态')]
383
- },*/
384
- userfilesState() {
385
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('上报状态')]
386
- },
387
- /*softVwareersion() {
388
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('软件版本号')]
389
- },*/
390
- valvestate() {
391
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('阀门状态')]
392
- },
393
- meterbrands() {
394
- return this.$GetSaleParam.getGasbrand()
395
- }
396
- }
397
-
398
-
399
- }
400
- </script>
401
- <style>
402
- .form-input-group label {
403
- text-align: right;
404
- width: auto;
405
- }
406
-
407
- .datapanel {
408
- color: #333;
409
- background-color: white;
410
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
411
- padding: 10px 30px 10px 30px;
412
- border-radius: 15px;
413
- }
414
- </style>