manage-client 3.2.209 → 3.2.211

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 (42) hide show
  1. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  2. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  4. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  5. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  6. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  7. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  8. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  9. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  10. package/.gradle/7.1/gc.properties +0 -0
  11. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  12. package/build/dev-server.js +4 -4
  13. package/package.json +1 -1
  14. package/src/filiale/WEINAN/CancellationQuery.vue +528 -486
  15. package/src/filiale/WEINAN/ChargeQuery.vue +800 -800
  16. package/src/filiale/WEINAN/EnableQuery.vue +456 -456
  17. package/src/filiale/WEINAN/UserAddress.vue +655 -0
  18. package/src/filiale/WEINAN/UserAddressChange.vue +58 -0
  19. package/src/filiale/WEINAN/config/exportConfig.js +824 -824
  20. package/src/filiale/WEINAN/sale.js +52 -48
  21. package/src/filiale/huayin/ChangeMeterQuery.vue +657 -0
  22. package/src/filiale/huayin/ChargeQuery.vue +1305 -0
  23. package/src/filiale/huayin/config/DefaultPrint.js +6 -0
  24. package/src/filiale/huayin/config/exportConfig.js +1084 -0
  25. package/src/filiale/huayin/sale.js +8 -0
  26. package/src/filiale/qianneng/BusinessManage.vue +3 -0
  27. package/src/filiale/qianneng/OtherChargeQuery.vue +10 -1
  28. package/src/filiale/qianneng/WebHandplanQuery.vue +992 -0
  29. package/src/filiale/qianneng/WebmeterQuery.vue +67 -0
  30. package/src/filiale/qianneng/exportConfig.js +9 -1
  31. package/src/filiale/qianneng/sale.js +2 -0
  32. package/src/filiale/qianneng/webmeterManage.js +3 -1
  33. package/src/filiale/rizhao/ChargeQuery.vue +3 -3
  34. package/src/filiale/shangluo/UserQuery.vue +932 -0
  35. package/src/filiale/shangluo/sale.js +11 -0
  36. package/src/filiale/shanxian/BankManager.vue +146 -0
  37. package/src/filiale/shanxian/BussinessType.vue +137 -0
  38. package/src/filiale/shanxian/InspectListUserNew.vue +466 -0
  39. package/src/filiale/shanxian/InspectManage.vue +50 -0
  40. package/src/filiale/shanxian/reportManage.js +4 -0
  41. package/src/filiale/shanxian/sale.js +3 -1
  42. package/yarn-error.log +0 -7659
@@ -0,0 +1,466 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
+ <div class="row">
9
+ <div class="col-sm-2">
10
+ <label class="font_normal_body">&emsp;&emsp;公司</label>
11
+ <right-tree @re-res="$parent.$parent.getorg"
12
+ :initresid='$parent.$parent.org'></right-tree>
13
+ </div>
14
+ <div class="col-sm-2 ">
15
+ <label for="f_gasproperties"class="font_normal_body">用气性质</label>
16
+ <v-select id="f_gasproperties"
17
+ style="width:60%"
18
+ v-model="model.f_gasproperties"
19
+ placeholder='用气性质'
20
+ :value.sync="model.f_gasproperties"
21
+ :options='$parent.$parent.gasproperties'
22
+ condition="f_gasproperties = '{}'"
23
+ close-on-select >
24
+ </v-select>
25
+ </div>
26
+ <div class="col-sm-2" >
27
+ <label for="f_user_state" class="font_normal_body">客户状态</label>
28
+ <v-select :value.sync="model.f_user_state"
29
+ v-model="model.f_user_state"
30
+ :options='$parent.$parent.userstate' placeholder='请选择'
31
+ condition="f_user_state = '{}'"
32
+ close-on-select></v-select>
33
+ </div>
34
+ <div class="col-sm-2 flex-row" style="white-space: nowrap">
35
+ <label class="font_normal_body">未购天数</label>
36
+ <div class="row">
37
+ <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymin"
38
+ condition="diffday >= {} " placeholder="">
39
+ <label class="font_normal_body"> ≤ x ≤ </label>
40
+ <input type="text" style="width:30%" class="input_search" v-model="model.diffdaymax"
41
+ condition="diffday <= {} " placeholder="">
42
+ </div>
43
+
44
+ </div>
45
+
46
+ <div class="span" style="float:right;">
47
+ <button class="btn button_search" @click="search()">查询</button>
48
+ <button class="btn button_clear" @click="$parent.$parent.clear()">清空</button>
49
+ <export-excel :data="$parent.$parent.getCondition"
50
+ :field="$parent.$parent.getfield"
51
+ :footer="$parent.$parent.footer"
52
+ :header="$parent.$parent.other"
53
+ sqlurl="rs/logic/exportfile"
54
+ sql-name="inspectListNew"
55
+ template-name='用户稽查导出' :choose-col="true"></export-excel>
56
+ <print-data :model="$parent.model" :field="$parent.$parent.getfield" :defaultfield="$parent.$parent.defaultfield" print-name="稽查查询打印" :sumsmodel="$parent.$parent.sumsmodel" ></print-data>
57
+ <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>
58
+
59
+ </div>
60
+ </div>
61
+ <div class="row" v-show="$parent.$parent.criteriaShow">
62
+ <div class="col-sm-2 form-group">
63
+ <label class="font_normal_body">起始时间</label>
64
+ <datepicker id="startDate" placeholder="起始时间"
65
+ v-model="model.startDate"
66
+ style="width:60%"
67
+ :value.sync="model.startDate"
68
+ :disabled-days-of-Week="[]"
69
+ :format="'yyyy-MM-dd'"
70
+ :show-reset-button="reset">
71
+ </datepicker>
72
+ </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body">截止时间</label>
75
+ <datepicker id="endDate" placeholder="截止时间"
76
+ v-model="model.endDate"
77
+ style="width:60%"
78
+ :value.sync="model.endDate"
79
+ :disabled-days-of-Week="[]"
80
+ :format="'yyyy-MM-dd'"
81
+ :show-reset-button="reset">
82
+ </datepicker>
83
+ </div>
84
+ <div class="col-sm-2 form-group">
85
+ <label class="font_normal_body">小区名称</label>
86
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_residential_area"
87
+ condition="f_residential_area like '%{}%'" placeholder="小区名称">
88
+ </div>
89
+ <div class="col-sm-2 form-group">
90
+ <label for="f_table_state" class="font_normal_body">&emsp;表状态</label>
91
+ <v-select id="f_table_state"
92
+ style="width:60%"
93
+ v-model="model.f_table_state"
94
+ placeholder='表状态'
95
+ :value.sync="model.f_table_state"
96
+ :options='$parent.$parent.tablestate'
97
+ condition="f_table_state = '{}'"
98
+ close-on-select >
99
+ </v-select>
100
+ </div>
101
+ <div class="col-sm-2 form-group" >
102
+ <label class="font_normal_body">总购次数</label>
103
+ <!-- <label class="font_normal_body" v-else>抄表次数</label>-->
104
+ <input type="text" style="width:23%" class="input_search" v-model="model.cishumin"
105
+ condition="cishu >= {} " placeholder="">
106
+ <label class="font_normal_body"> ≤ x ≤ </label>
107
+ <input type="text" style="width:23%" class="input_search" v-model="model.cishumax"
108
+ condition="cishu <= {} " placeholder="">
109
+ </div>
110
+ <div class="col-sm-2 form-group">
111
+ <label class="font_normal_body" >总购气量</label>
112
+ <!-- <label class="font_normal_body" v-if="$parent.$parent.meter_classify === '机表'">总用气量</label>-->
113
+ <label class="font_normal_body" v-if="$parent.$parent.meter_classify === '物联网表'">总购金额</label>
114
+ <input type="text" style="width:23%" class="input_search" v-model="model.pregasmin"
115
+ condition="pregas >= {} " placeholder="">
116
+ <label class="font_normal_body"> ≤ x ≤ </label>
117
+ <input type="text" style="width:23%" class="input_search" v-model="model.pregasmax"
118
+ condition="pregas <= {} " placeholder="">
119
+ </div>
120
+ <div class="col-sm-2 form-group">
121
+ <label class="font_normal_body">总购金额</label>
122
+ <input type="text" style="width:23%" class="input_search" v-model="model.pregasmin"
123
+ condition="collection >= {} " placeholder="">
124
+ <label class="font_normal_body"> ≤ x ≤ </label>
125
+ <input type="text" style="width:23%" class="input_search" v-model="model.pregasmax"
126
+ condition="collection <= {} " placeholder="">
127
+ </div>
128
+
129
+ <div class="col-sm-2 form-group">
130
+ <label class="font_normal_body">&emsp;&emsp;表号</label>
131
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
132
+ condition="f_meternumber = '{}'" placeholder='表号'>
133
+ </div>
134
+ <div class="col-sm-2 form-group">
135
+ <label class="font_normal_body">用户类型</label>
136
+ <v-select :value.sync="model.f_user_type"
137
+ @change="$parent.$parent.userTypeChange()"
138
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
139
+ condition="f_user_type = '{}'"
140
+ close-on-select></v-select>
141
+ </div>
142
+
143
+ <div class="col-sm-2 form-group">
144
+ <label class="font_normal_body">客户名称</label>
145
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
146
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
147
+ </div>
148
+ <div class="col-sm-2 form-group">
149
+ <label class="font_normal_body">客户编号</label>
150
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
151
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
152
+ </div>
153
+ <div class="col-sm-2 form-group">
154
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
155
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
156
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
157
+ </div>
158
+ <div class="col-sm-2 form-group">
159
+ <label class="font_normal_body">客户地址</label>
160
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
161
+ condition="f_address like '%{}%'" placeholder='客户地址'>
162
+ </div>
163
+ <div class="col-sm-2 form-group">
164
+ <label class="font_normal_body">客户电话</label>
165
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
166
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
167
+ </div>
168
+ <div class="col-sm-2 form-group">
169
+ <label for="startDate" class="font_normal_body">建档开始</label>
170
+ <datepicker id="createFileStartDate" placeholder="建档开始日期"
171
+ v-model="model.createFileStartDate"
172
+ style="width:60%"
173
+ :value.sync="model.createFileStartDate"
174
+ :format="'yyyy-MM-dd'"
175
+ :show-reset-button="true"
176
+ condition="f_createfile_date >= '{} 00:00:00'">
177
+ </datepicker>
178
+ </div>
179
+ <div class="col-sm-2 form-group">
180
+ <label for="startDate" class="font_normal_body">建档结束</label>
181
+ <datepicker id="createFileEndDate" placeholder="建档结束日期" style="width:60%"
182
+ v-model="model.createFileEndDate"
183
+ :value.sync="model.createFileEndDate"
184
+ :format="'yyyy-MM-dd'"
185
+ :show-reset-button="true"
186
+ condition="f_createfile_date <= '{} 23:59:59'">
187
+ </datepicker>
188
+ </div>
189
+
190
+ </div>
191
+
192
+ </div>
193
+ </criteria>
194
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
195
+ <template partial='head'>
196
+ <tr>
197
+ <th><nobr>序号</nobr></th>
198
+ <th><nobr>客户名称</nobr></th>
199
+ <th><nobr>客户地址</nobr></th>
200
+ <th><nobr>客户编号</nobr></th>
201
+ <th><nobr>客户电话</nobr></th>
202
+ <th><nobr>档案编号</nobr></th>
203
+ <th><nobr>表号</nobr></th>
204
+ <th><nobr>客户状态</nobr></th>
205
+ <th><nobr>建档日期</nobr></th>
206
+ <th><nobr>用户类型</nobr></th>
207
+ <th><nobr>用气性质</nobr></th>
208
+ <th><nobr>表具状态</nobr></th>
209
+ <th><nobr>气表品牌</nobr></th>
210
+ <th><nobr>气价名称</nobr></th>
211
+ <th><nobr>最后购气日期</nobr></th>
212
+ <th><nobr>总购气次数</nobr></th>
213
+ <!-- <th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>总抄表次数</nobr></th>-->
214
+
215
+ <th><nobr>总购气量</nobr></th>
216
+ <th><nobr>总购金额</nobr></th>
217
+ <!-- <th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>总用气量</nobr></th>-->
218
+
219
+ <th><nobr>累计未购气天数</nobr></th>
220
+ <!-- <th v-show="$parent.$parent.$parent.meter_classify === '机表'"><nobr>累计未抄表天数</nobr></th>-->
221
+ <th><nobr>组织机构</nobr></th>
222
+ </tr>
223
+ </template>
224
+ <template partial='body'>
225
+ <td style="text-align: center;"><nobr>{{$index+1}}</nobr></td>
226
+ <th style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></th>
227
+ <th style="text-align: center;"><nobr>{{row.f_address}}</nobr></th>
228
+ <td style="text-align: center;"><nobr>
229
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
230
+ </nobr> </td>
231
+ <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
232
+ <td style="text-align: center;"><nobr>{{row.f_olduserinfo_code}}</nobr></td>
233
+ <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
234
+ <th style="text-align: center;"><nobr>{{row.f_user_state}}</nobr></th>
235
+ <th style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></th>
236
+ <th style="text-align: center;"><nobr>{{row.f_user_type}}</nobr></th>
237
+ <th style="text-align: center;"><nobr>{{row.f_gasproperties}}</nobr></th>
238
+ <th style="text-align: center;"><nobr>{{row.f_table_state}}</nobr></th>
239
+ <th style="text-align: center;"><nobr>{{row.f_meter_brand}}</nobr></th>
240
+ <th style="text-align: center;"><nobr>{{row.f_price_name}}</nobr></th>
241
+ <th style="text-align: center;"><nobr>{{row.delivery_date}}</nobr></th>
242
+
243
+ <th style="text-align: center;"><nobr>{{row.cishu}}</nobr></th>
244
+ <th style="text-align: center;"><nobr>{{row.pregas}}</nobr></th>
245
+ <th style="text-align: center;"><nobr>{{row.collection}}</nobr></th>
246
+ <th style="text-align: center;"><nobr>{{row.diffday}}</nobr></th>
247
+ <th style="text-align: center;"><nobr>{{row.f_orgname}}</nobr></th>
248
+ </template>
249
+ </data-grid>
250
+ </criteria-paged>
251
+ <table class="table-hover">
252
+ <tr style="position: relative;" class="table-bordered">
253
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">汇总信息</td>
254
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总购气量合计:&emsp;&emsp;{{sumsmodel.pregas}}</td>
255
+ <!-- <td v-if="meter_classify === '机表'" style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总抄表气量合计:&emsp;&emsp;{{sumsmodel.pregas}}</td>-->
256
+ <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">总购金额合计:&emsp;&emsp;{{sumsmodel.collection}}</td>
257
+ </tr>
258
+ </table>
259
+ </div>
260
+ <div class="flex" v-if="show">
261
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
262
+ </div>
263
+ </div></div>
264
+ </template>
265
+ <script>
266
+ /**
267
+ *用户档案查询列表以及添加操作组件
268
+ */
269
+ import { PagedList } from 'vue-client'
270
+ import Vue from 'vue'
271
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
272
+
273
+ let readySomething = async function (self) {
274
+
275
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
276
+
277
+ // await self.$refs.paged.$refs.cri.search()
278
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
279
+ }
280
+ export default {
281
+ title: '客户稽查',
282
+ data () {
283
+ return {
284
+ other:[],
285
+ footer:[],
286
+ org:[this.$login.f.orgid],
287
+ criteriaShow: false,
288
+ // meter_classify:'卡表',
289
+ filialeNameStr: null,
290
+ filialeCodeStr: `and f_orgid = ${this.$login.f.orgid}`,
291
+ userid: this.$login.f.id,
292
+ source: `tool.getFullTree(this.getRights().where(row.getType() == $organization$))`,
293
+ getfield:{"f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号","f_meternumber":"表号","f_user_name":"客户名称",
294
+ "f_user_state":"客户状态","f_user_phone":"客户电话","f_address":"客户地址","f_createfile_date":"建档日期","f_user_type":"用户类型",
295
+ "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
296
+ "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购气量","collection":"总购金额",
297
+ "diffday":"未购气总天数"},
298
+ model: new PagedList('rs/sql/inspectListNew', 50,{startDate:'this.model.startDate',endDate:'this.model.endDate'},{pregas: 0,collection: 0}),
299
+ rows: null,
300
+ //orgid:'',
301
+ show:false,
302
+ // sqlName:'inspectList',
303
+ rowdata:{},
304
+ sumsmodel: {},
305
+ config: {
306
+ defaultPrint: ['f_userinfo_code','f_user_id']
307
+ },
308
+ defaultfield: [],
309
+ }
310
+ },
311
+ watch:{
312
+ // meter_classify(val){
313
+ // if (val === '卡表') {
314
+ // this.model.url = this.url = 'rs/sql/inspectList'
315
+ // this.sqlName = 'inspectList'
316
+ // this.getfield = {"f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号","f_meternumber":"表号",
317
+ // "f_user_name":"客户名称","f_user_state":"客户状态","f_user_phone":"客户电话","f_address":"客户地址",
318
+ // "f_createfile_date":"建档日期","f_user_type":"用户类型",
319
+ // "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
320
+ // "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购气量",
321
+ // "diffday":"累计未购气天数"}
322
+ // }else if (val === '机表') {
323
+ // this.model.url = this.url = 'rs/sql/handinspectList'
324
+ // this.sqlName = 'handinspectList'
325
+ // this.getfield = {"f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号","f_meternumber":"表号",
326
+ // "f_user_name":"客户名称","f_user_state":"客户状态","f_user_phone":"客户电话","f_address":"客户地址",
327
+ // "f_createfile_date":"建档日期","f_user_type":"用户类型",
328
+ // "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
329
+ // "delivery_date":"最后抄表日期","cishu":"总抄表次数","pregas":"抄表气量",
330
+ // "diffday":"累计未抄表天数"}
331
+ // } else if (val === '物联网表') {
332
+ // this.model.url = this.url = 'rs/sql/getWebMeterList'
333
+ // this.sqlName = 'getWebMeterList'
334
+ // this.getfield = {"f_userinfo_code":"客户编号","f_olduserinfo_code":"档案编号","f_meternumber":"表号",
335
+ // "f_user_name":"客户名称","f_user_state":"客户状态","f_user_phone":"客户电话","f_address":"客户地址",
336
+ // "f_createfile_date":"建档日期", "f_user_type":"用户类型",
337
+ // "f_gasproperties":"用气性质","f_table_state":"表具状态","f_meter_brand":"气表品牌","f_price_name":"气价名称",
338
+ // "delivery_date":"最后购气日期","cishu":"总购气次数","pregas":"总购金额",
339
+ // "diffday":"累计未购气天数"}
340
+ // }
341
+ // this.clear()
342
+ // this.model.rows = []
343
+ // for(let key in this.model.sums){
344
+ // this.model.sums[key] = 0
345
+ // }
346
+
347
+ // },
348
+ sumsmodel:{
349
+ handler: function(val) {
350
+ this.getotherfooter();
351
+ },
352
+ deep: true
353
+ }
354
+ },
355
+ ready () {
356
+
357
+ readySomething(this).then(() => {
358
+ this.$emit('ready')
359
+ }).catch((error) => {
360
+ this.$emit('error', error)
361
+ })
362
+ },
363
+ methods: {
364
+ getotherfooter(){
365
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
366
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
367
+ this.other=[];
368
+ this.footer=[];
369
+ let exportdata = this.getCondition;
370
+ let otherInData=[];
371
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
372
+ let footerData=[],exportfield=this.getfield;
373
+ footerData.push("合计");
374
+ let self = this;
375
+ for(var field in self.sumsmodel){
376
+ footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
377
+ }
378
+ this.footer.push(footerData);
379
+ this.other.push(otherInData);
380
+ },
381
+ getorg (obj) {
382
+ if(obj.resids.length>0){
383
+ this.filialeCodeStr =" and f_orgid in " + plugin.convertToIn(obj.resids)
384
+ }
385
+ else{
386
+ this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
387
+ }
388
+ },
389
+ userTypeChange () {
390
+ this.gasproperties=[]
391
+ if(this.$refs.paged.$refs.cri.model !==null) {
392
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
393
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
394
+ }
395
+ else{
396
+ this.gasproperties =[{label: '全部', value: ''}]
397
+ }
398
+ },
399
+
400
+ cancel() {
401
+ this.show = false
402
+ },
403
+ showmsg(obj){
404
+ this.rowdata=obj
405
+ this.show=true
406
+ },
407
+ search () {
408
+ this.$refs.paged.$refs.cri.search()
409
+ },
410
+ selfSearch (args) {
411
+ args.condition = args.condition+ ` ${this.filialeCodeStr}`
412
+ this.model.search(args.condition, args.model)
413
+ },
414
+ hidden(){
415
+ this.criteriaShow = !this.criteriaShow
416
+ },
417
+ clear(){
418
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
419
+ if(key != 'startDate' && key != 'endDate')
420
+ this.$refs.paged.$refs.cri.model[key] = []
421
+ })
422
+ this.$refs.paged.$refs.cri.model.startDate = this.$login.toStandardDateString()
423
+ this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString()
424
+ }
425
+ },
426
+ computed: {
427
+ gasproperties() {
428
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用气性质')]
429
+ },
430
+ usertypes() {
431
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
432
+ },
433
+ userstate() {
434
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('客户状态')]
435
+ },
436
+ tablestate () {
437
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
438
+ },
439
+ // f_meter_classify(){
440
+ // return [{label: '机表', value: '机表'},{label: '卡表', value: '卡表'},{label: '物联网表', value: '物联网表'}]
441
+ // // return [{label: '卡表', value: '卡表'}]
442
+ // },
443
+
444
+ getCondition () {
445
+ let result = {
446
+ condition: '',
447
+ diffDay:' 1=1 ',
448
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
449
+ endDate: this.$refs.paged.$refs.cri.model.endDate
450
+ }
451
+ result.condition = this.$refs.paged.$refs.cri.condition + this.filialeCodeStr
452
+
453
+ return result
454
+ }
455
+ }
456
+ }
457
+ </script>
458
+ <style media="screen">
459
+ .divtext {
460
+ min-width: 50px;
461
+ max-width: 200px;
462
+ border: 1px solid green;
463
+ display: inline-block;
464
+ }
465
+ </style>
466
+
@@ -0,0 +1,50 @@
1
+ <template>
2
+ <tab-button :active="-1">
3
+ <tabs header="用户稽查" v-if="permission('用户稽查')">
4
+ <inspect-list-user v-if="show.includes('用户稽查')"></inspect-list-user>
5
+ </tabs>
6
+ <tabs header="购气稽查" v-if="permission('购气稽查')">
7
+ <inspect-list-gas v-if="show.includes('购气稽查')"></inspect-list-gas>
8
+ </tabs>
9
+ <tabs header="错误查询" v-if="permission('错误查询')">
10
+ <error-handplan-query v-if="show.includes('错误查询')"></error-handplan-query>
11
+ </tabs>
12
+ <tabs header="用气稽查" v-if="permission('用气稽查')">
13
+ <gas-inspection v-if="show.includes('用气稽查')"></gas-inspection>
14
+ </tabs>
15
+ <tabs header="客户稽查" v-if="permission('客户稽查')">
16
+ <inspect-list-user-new v-if="show.includes('客户稽查')"></inspect-list-user-new>
17
+ </tabs>
18
+
19
+ </tab-button>
20
+
21
+ </template>
22
+
23
+ <script>
24
+ import TabButton from '../../components/sale/common/TabButton'
25
+ import Tabs from '../../components/sale/common/Tabs'
26
+
27
+ export default {
28
+ title: '稽查查询',
29
+ data(){
30
+ return{
31
+ show: []
32
+ }
33
+ },
34
+ components: {Tabs, TabButton},
35
+ methods: {
36
+ permission (name) {
37
+ if (this.$login.r.find(value => value == '综合查询')) {
38
+ if (!this.$login.r.find(value => value == name)) {
39
+ return false
40
+ }
41
+ }
42
+ return true
43
+ }
44
+ }
45
+
46
+ }
47
+ </script>
48
+
49
+ <style scoped>
50
+ </style>
@@ -2,10 +2,14 @@
2
2
  let specialComp = {
3
3
  // 收费查询
4
4
  'site-manager': (resolve) => { require(['./SiteManager'], resolve) },
5
+ //新增用户散列图
6
+ 'bank-manager': (resolve) => { require(['./BankManager'], resolve) },
5
7
  // 付款方式饼图
6
8
  'paymentpie': (resolve) => {
7
9
  require(['./Paymentpie'], resolve)
8
10
  },
11
+ // 其他业务散列
12
+ 'bussiness-type': (resolve) => { require(['./BussinessType'], resolve) }
9
13
  }
10
14
  exports.specialComp = specialComp
11
15
 
@@ -2,12 +2,14 @@
2
2
  let specialComp = {
3
3
 
4
4
  'inspect-list-user': (resolve) => { require(['./InspectListUser'], resolve) },
5
+ 'inspect-list-user-new': (resolve) => { require(['./InspectListUserNew'], resolve) },
5
6
  'inspect-list-gas': (resolve) => { require(['./InspectListGas'], resolve) },
6
7
  'gas-inspection': (resolve) => { require(['./GasInspection'], resolve) },
7
8
  'record-info-query': (resolve) => { require(['./RecordInfoQuery'], resolve) },
8
9
  'area-general-query': (resolve) => { require(['./AreaGeneralQuery'], resolve) },
9
10
  'my-gas-device-query': (resolve) => { require(['./GasDeviceQuery'], resolve) },
10
- 'fmy-gas-device-query': (resolve) => { require(['./FmyGasDeviceQuery'], resolve) }
11
+ 'fmy-gas-device-query': (resolve) => { require(['./FmyGasDeviceQuery'], resolve) },
12
+ 'inspect-manage': (resolve) => { require(['./InspectManage'], resolve) }
11
13
  }
12
14
  exports.specialComp = specialComp
13
15