manage-client 4.0.21 → 4.0.23

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 (39) hide show
  1. package/.gradle/8.5/checksums/checksums.lock +0 -0
  2. package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
  3. package/.gradle/8.5/dependencies-accessors/gc.properties +0 -0
  4. package/.gradle/8.5/executionHistory/executionHistory.bin +0 -0
  5. package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
  6. package/.gradle/8.5/fileChanges/last-build.bin +0 -0
  7. package/.gradle/8.5/fileHashes/fileHashes.bin +0 -0
  8. package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
  9. package/.gradle/8.5/gc.properties +0 -0
  10. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  11. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  12. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  13. package/.gradle/file-system.probe +0 -0
  14. package/.gradle/vcs-1/gc.properties +0 -0
  15. package/package.json +1 -1
  16. package/src/filiale/fugou/WebHandplanQuery.vue +1016 -0
  17. package/src/filiale/fugou/sale.js +4 -0
  18. package/src/filiale/tongchuan/ChangeMeterQuery.vue +702 -0
  19. package/src/filiale/tongchuan/ChangeUserQuery.vue +395 -0
  20. package/src/filiale/tongchuan/ChargeQuery.vue +7 -4
  21. package/src/filiale/tongchuan/DeviceQuery.vue +4 -2
  22. package/src/filiale/tongchuan/DisableQuery.vue +523 -0
  23. package/src/filiale/tongchuan/FillCardQuery.vue +573 -0
  24. package/src/filiale/tongchuan/FillGasQuery.vue +2 -2
  25. package/src/filiale/tongchuan/FmyGasDeviceQuery.vue +870 -0
  26. package/src/filiale/tongchuan/GasDeviceQuery.vue +982 -0
  27. package/src/filiale/tongchuan/HandplanQuery.vue +2 -1
  28. package/src/filiale/tongchuan/PriceChangeQuery.vue +6 -3
  29. package/src/filiale/tongchuan/ReverseQuery.vue +450 -0
  30. package/src/filiale/tongchuan/UserDeviceQuery.vue +4 -2
  31. package/src/filiale/tongchuan/UserQuery.vue +2 -1
  32. package/src/filiale/tongchuan/gasPriceQuery.vue +381 -0
  33. package/src/filiale/tongchuan/sale.js +36 -1
  34. package/src/filiale/tongchuan/sellingChargePrice.vue +714 -0
  35. package/src/filiale/yangchun/UserQuery.vue +26 -0
  36. package/src/filiale/yangchun/config/exportConfig.js +2 -1
  37. package/src/filiale/jinbin/exportConfig.js +0 -1110
  38. package/src/filiale/jinbin/sale/businessquery/ChargeQuery.vue +0 -1372
  39. package/src/filiale/jinbin/sale.js +0 -7
@@ -0,0 +1,395 @@
1
+ <template>
2
+ <div id="unit" class="flex-row" class="foot_tabset" @keyup.enter="search">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
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 form-group">
10
+ <label class="font_normal_body">开始日期</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :format="'yyyy-MM-dd HH:mm:ss'"
15
+ :show-reset-button="true"
16
+ condition="f_operate_date >= '{}'">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label class="font_normal_body">结束日期</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :format="'yyyy-MM-dd HH:mm:ss'"
25
+ :show-reset-button="true"
26
+ condition="f_operate_date <= '{}'">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-2 form-group ">
30
+ <label class="font_normal_body">客户编号</label>
31
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
32
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
33
+ </div>
34
+ <div class="col-sm-2 form-group">
35
+ <label class="font_normal_body" title="旧客户编号">档案编号</label>
36
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
37
+ condition="f_olduserinfo_code = '{}' " placeholder="档案编号">
38
+ </div>
39
+
40
+
41
+ <div class="span" style="float:right;">
42
+ <button class="button_search button_spacing" @click="search()">查询</button>
43
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
44
+ <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
45
+
46
+ <export-excel :data="$parent.$parent.getCondition"
47
+ :field="$parent.$parent.getfield"
48
+ :header="$parent.$parent.other"
49
+ v-if="$parent.$parent.authArr.includes('档案查询导出')"
50
+ sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="changeuserquery" template-name='档案变更导出'
51
+ :choose-col="true"></export-excel>
52
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
53
+ :defaultfield="$parent.$parent.defaultfield"
54
+ titletable="档案变更"
55
+ :sumsmodel="$parent.$parent.sumsmodel"></print-data>
56
+ <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>
57
+ </div>
58
+ </div>
59
+
60
+ <div class="row" v-show="$parent.$parent.criteriaShow">
61
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
62
+ <div class="col-sm-2 form-group">
63
+ <label class="font_normal_body">客户名称</label>
64
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
65
+ condition="f_user_name like '%{}%'" placeholder="客户名称">
66
+ </div>
67
+ <div class="col-sm-2 form-group">
68
+ <label class="font_normal_body">客户电话</label>
69
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
70
+ condition="f_user_phone like '%{}%'" placeholder="客户电话">
71
+ </div>
72
+ <div class="col-sm-2 form-group">
73
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
74
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meter_number"
75
+ condition="f_meternumber = '{}'" placeholder='表号'>
76
+ </div>
77
+ <div class="col-sm-2 form-group">
78
+ <label class="font_normal_body">卡&emsp;&emsp;号</label>
79
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_card_id"
80
+ condition="f_card_id = '{}'" placeholder='卡号'>
81
+ </div>
82
+ <div class="col-sm-2 form-group">
83
+ <label class="font_normal_body">更改内容</label>
84
+ <v-select :value.sync="model.f_field_name"
85
+ :multiple="true"
86
+ v-model="model.f_field_name"
87
+ :options='$parent.$parent.field_name' placeholder='请选择'
88
+ condition="f_field_name in {}"
89
+ close-on-select></v-select>
90
+ </div>
91
+ </div>
92
+ </div>
93
+ </criteria>
94
+
95
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid @dblclick="$parent.$parent.toBusiness">
96
+ <template partial='head'>
97
+ <tr>
98
+ <th>
99
+ <!--<nobr>客户编号</nobr>-->
100
+ <data-order field="f_userinfo_code" name="客户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
101
+ </th>
102
+ <th>
103
+ <nobr>客户名称</nobr>
104
+ </th>
105
+ <th>
106
+ <nobr>档案编号</nobr>
107
+ </th>
108
+ <th>
109
+ <nobr>客户电话</nobr>
110
+ </th>
111
+ <th>
112
+ <nobr>更改内容</nobr>
113
+ </th>
114
+ <th>
115
+ <nobr>更改前</nobr>
116
+ </th>
117
+ <th>
118
+ <nobr>更改后</nobr>
119
+ </th>
120
+ <th>
121
+ <nobr>操作人</nobr>
122
+ </th>
123
+ <th>
124
+ <!--<nobr>操作日期</nobr>-->
125
+ <data-order field="f_operate_date" name="操作日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
126
+ </th>
127
+ <th>
128
+ <nobr>部门</nobr>
129
+ </th>
130
+ <th>
131
+ <nobr>公司</nobr>
132
+ </th>
133
+ <th>
134
+ <nobr>修改原因</nobr>
135
+ </th>
136
+ </tr>
137
+ </template>
138
+ <template partial='body'>
139
+ <td style="text-align: center;"><nobr>
140
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
141
+ </nobr> </td>
142
+ <td style="text-align: center;">
143
+ <nobr>{{row.f_user_name}}</nobr>
144
+ </td>
145
+ <td style="text-align: center;">
146
+ <nobr>{{row.f_olduserinfo_code}}</nobr>
147
+ </td>
148
+ <td style="text-align: center;">
149
+ <nobr>{{row.f_user_phone}}</nobr>
150
+ </td>
151
+ <td style="text-align: center;">
152
+ <nobr>{{row.f_field_name}}</nobr>
153
+ </td>
154
+ <td style="text-align: center;">
155
+ <nobr>{{row.f_used_content}}</nobr>
156
+ </td>
157
+ <td style="text-align: center;">
158
+ <nobr>{{row.f_new_content}}</nobr>
159
+ </td>
160
+ <td style="text-align: center;">
161
+ <nobr>{{row.f_operator}}</nobr>
162
+ </td>
163
+ <td style="text-align: center;">
164
+ <nobr>{{row.f_operate_date}}</nobr>
165
+ </td>
166
+ <td style="text-align: center;">
167
+ <nobr>{{row.f_depname}}</nobr>
168
+ </td>
169
+ <td style="text-align: center;">
170
+ <nobr>{{row.f_orgname}}</nobr>
171
+ </td>
172
+ <td style="text-align: center;">
173
+ <nobr>{{row.f_comments}}</nobr>
174
+ </td>
175
+ </template>
176
+ <template partial='foot'></template>
177
+ </data-grid>
178
+ </criteria-paged>
179
+ </div>
180
+ <div class="flex" v-if="show">
181
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
182
+ </div>
183
+ </div>
184
+ </div>
185
+ </template>
186
+
187
+ <script>
188
+ import {PagedList} from 'vue-client'
189
+ import defaultPrint from '../../components/sale/config/DefaultPrint'
190
+ import exportConfig from '../../components/sale/config/exportConfig'
191
+
192
+ let readySomething = async function (self) {
193
+
194
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
195
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
196
+ // self.$refs.paged.$refs.cri.search()
197
+ await self.$MagLoadParams.loadParam()
198
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
199
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
200
+ }
201
+ export default {
202
+ title: '档案变更记录',
203
+ data() {
204
+ return {
205
+ data: {},
206
+ other:[],
207
+ footer:[],
208
+ meterbrands: [],
209
+ pricenames: [],
210
+ model: new PagedList('api/af-revenue/sql/changeuserquery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}),
211
+ criteriaShow: false,
212
+ orgCondtionStr: '',
213
+ modelval: [],
214
+ printshow: false,
215
+ all: false,
216
+ fields: {},
217
+ //排序
218
+ orderitem:'f_operate_date desc',
219
+ orderFields: {
220
+ f_operate_date: 'no'
221
+ },
222
+ initres: {
223
+ org:[this.$login.f.orgid],
224
+ dep:[],
225
+ user:[],
226
+ },
227
+ defaultfield: [],
228
+ config: {
229
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_user_phone']
230
+ },
231
+ show:false,
232
+ rowdata:{},
233
+ thead: '',
234
+ tfoot: '',
235
+
236
+ // tablestate: [{label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '停用', value: '停用'}],
237
+
238
+
239
+ //合计数据
240
+ sumsmodel: {}
241
+ }
242
+ },
243
+ ready() {
244
+ readySomething(this)
245
+ },
246
+ methods: {
247
+ getotherfooter () {
248
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
249
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
250
+ this.other = [];
251
+ this.footer = [];
252
+ let exportdata = this.getCondition;
253
+ let otherInData = [];
254
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
255
+ // let footerData = [], exportfield = this.getfield;
256
+ // footerData.push("合计");
257
+ // let self = this;
258
+ // for (var field in self.sumsmodel) {
259
+ // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
260
+ // }
261
+ // this.footer.push(footerData);
262
+ this.other.push(otherInData);
263
+ },
264
+ search(){
265
+ this.$refs.paged.$refs.cri.search()
266
+ },
267
+ cancel() {
268
+ this.show = false
269
+ },
270
+ showmsg(obj){
271
+ this.rowdata=obj
272
+ this.show=true
273
+ },
274
+
275
+ selfSearch(args) {
276
+ args.condition = `${args.condition}` + this.orgCondtionStr
277
+ this.model.search(args.condition, args.model)
278
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
279
+ },
280
+ clear() {
281
+ //清空部门和人员
282
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
283
+ //部门和人员变为全选
284
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
285
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
286
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
287
+ this.$refs.paged.$refs.cri.model[key] = []
288
+ })
289
+ },
290
+ show() {
291
+ this.criteriaShow = true
292
+ },
293
+ hidden() {
294
+ this.criteriaShow = !this.criteriaShow
295
+ },
296
+ getRes(obj) {
297
+ console.log(obj,"========")
298
+ this.orgCondtionStr = obj
299
+ },
300
+ stamp() {
301
+ this.all = false
302
+ //默认选择要打印的列
303
+ this.modelval = defaultPrint.config
304
+ this.fields = this.getfield
305
+ console.log('所有打印字段', this.fields)
306
+ this.printshow = true
307
+ this.put()
308
+ },
309
+ dealmsg(val) {
310
+ console.log('---------------dealmsg')
311
+ val.model = this.model.model
312
+ this.$dispatch('deal-msg', val)
313
+ },
314
+ put() {
315
+ // 对Modelval进行排序
316
+ this.sortModelval()
317
+ this.thead = `<tr><th colspan=${this.modelval.length}>换表查询统计报表</th></tr><tr>`
318
+ for (let key of this.modelval) {
319
+ this.thead += '<th>' + this.fields[key] + '</th>'
320
+ }
321
+ this.thead += '</tr>'
322
+ },
323
+ print() {
324
+ this.$refs.print.PrintAsFile()
325
+ this.printshow = false
326
+ },
327
+ close() {
328
+ this.printshow = false
329
+ this.all = false
330
+ },
331
+ // 对选择的列进行排序
332
+ sortModelval() {
333
+ let sortModel = []
334
+ Object.keys(this.fields).forEach((key) => {
335
+ if (this.modelval.includes(key)) {
336
+ sortModel.push(key)
337
+ }
338
+ })
339
+ this.modelval = sortModel
340
+ console.log('选择的打印的字段', this.modelval)
341
+ },
342
+ sort (field, rule) {
343
+ // 将所有排序方式设为不排序,实现相互排斥
344
+ for (let key in this.orderFields) {
345
+ if (key === field) {
346
+ this.orderFields[key] = rule
347
+ } else {
348
+ this.orderFields[key] = 'no'
349
+ }
350
+ }
351
+ // 如果新规则不排序,还原为默认排序
352
+ if (rule === 'no') {
353
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
354
+ } else {
355
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
356
+ }
357
+
358
+ this.search()
359
+ }
360
+ },
361
+ watch: {
362
+ 'all'(val) {
363
+ if (val) {
364
+ this.modelval = this.bodyData
365
+ } else {
366
+ this.modelval = defaultPrint.config
367
+ this.put()
368
+ }
369
+ },
370
+ 'modelval.length'() {
371
+ this.put()
372
+ },
373
+ sumsmodel:{
374
+ handler: function(val) {
375
+ this.getotherfooter();
376
+ },
377
+ deep: true
378
+ },
379
+ },
380
+ computed: {
381
+ authArr () {
382
+ return this.$login.r ? this.$login.r : []
383
+ },
384
+ getCondition() {
385
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
386
+ },
387
+ getfield() {
388
+ return exportConfig.changUserConfig
389
+ },
390
+ field_name() {
391
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('更改内容')]
392
+ }
393
+ }
394
+ }
395
+ </script>
@@ -97,11 +97,12 @@
97
97
  class="col-sm-2 form-group">
98
98
  <label class="font_normal_body" style="letter-spacing: 2em;margin-right: -2em" >区域</label>
99
99
  <v-select
100
+ :multiple="true"
100
101
  v-model="model.f_pcd"
101
102
  placeholder='选择区域'
102
103
  :value.sync="model.f_pcd"
103
104
  :options='$parent.$parent.pcdslist'
104
- condition="f_pcd_id = '{}'"
105
+ condition="f_pcd_id in {}"
105
106
  style="width: 60%"
106
107
  close-on-select >
107
108
  </v-select>
@@ -161,8 +162,9 @@
161
162
  <div class="col-sm-2 form-group">
162
163
  <label class="font_normal_body" title="二级用气性质">二级性质</label>
163
164
  <v-select :value.sync="model.f_gasproperties_second" v-model="model.f_gasproperties_second"
165
+ :multiple="true"
164
166
  :options='$parent.$parent.gaspropertiessecond' placeholder='二级用气性质'
165
- condition="f_gasproperties_second = '{}'"
167
+ condition="f_gasproperties_second in {}"
166
168
  close-on-select></v-select>
167
169
  </div>
168
170
  <div class="col-sm-2 form-group">
@@ -287,9 +289,10 @@
287
289
  <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
288
290
  <v-select :value.sync="model.f_inputtor"
289
291
  v-model="model.f_inputtor"
292
+ :multiple="true"
290
293
  :options='$parent.$parent.inputtores' placeholder='请选择'
291
- condition="f_inputtor = '{}'"
292
- close-on-select :search="false">
294
+ condition="f_inputtor in {}"
295
+ >
293
296
  </v-select>
294
297
  </div>
295
298
  <div class="col-sm-2 form-group">
@@ -54,11 +54,12 @@
54
54
  <div class="col-sm-2 form-group">
55
55
  <label class="font_normal_body">区&nbsp;&nbsp;&nbsp;&nbsp;域</label>
56
56
  <v-select
57
+ :multiple="true"
57
58
  v-model="model.f_pcd"
58
59
  placeholder='选择区域'
59
60
  :value.sync="model.f_pcd"
60
61
  :options='$parent.$parent.pcdslist'
61
- condition="f_pcd_id = '{}'"
62
+ condition="f_pcd_id in {}"
62
63
  style="width: 60%"
63
64
  close-on-select >
64
65
  </v-select>
@@ -87,9 +88,10 @@
87
88
  <div class="col-sm-2 form-group" >
88
89
  <label class="font_normal_body">设备类型</label>
89
90
  <v-select :value.sync="model.f_devices_type"
91
+ :multiple="true"
90
92
  v-model="model.f_devices_type"
91
93
  :options='$parent.$parent.deviceTypes' placeholder='请选择'
92
- condition="f_devices_type = '{}'"
94
+ condition="f_devices_type in {}"
93
95
  close-on-select></v-select>
94
96
  </div>
95
97
  <div class="col-sm-2 form-group" >