manage-client 3.1.10-aode → 3.1.14-aode

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.
@@ -0,0 +1,369 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!listpage">
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="form-horizontal select-overspread container-fluid auto" novalidate partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label class="font_normal_body" >组织机构</label>
12
+ <res-select
13
+ :initresid='$parent.$parent.curorgid'
14
+ @res-select="$parent.$parent.getorg"
15
+ is-mul="false"
16
+ restype='organization'>
17
+ </res-select>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label class="font_normal_body">客户编号</label>
21
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_userinfo_code" style="width:60%"
22
+ condition="f_userinfo_code like '%{}%'" placeholder="客户编号"
23
+ />
24
+ </div>
25
+
26
+
27
+ <div class="col-sm-4 form-group">
28
+ <label class="font_normal_body">客户地址</label>
29
+ <input type="text" class="input_search"
30
+ v-model="model.f_name" style="width:80%"
31
+ condition="f_address like '%{}%'" placeholder="客户地址"
32
+ />
33
+ </div>
34
+
35
+ <div style="float:right">
36
+ <button class="button_search button_spacing" @click="search()" >查询</button>
37
+ <button class="button_search button_spacing" @click="clear()" >清空</button>
38
+ <!-- <button class="button_search button_spacing" @click="$parent.$parent.SaveAsFileAll('daochu')" >导出</button>-->
39
+ <export-excel :data="$parent.$parent.getcondition" :defaultselect="$parent.$parent.defaultfield"
40
+ :field="$parent.$parent.getfield"
41
+ sqlurl="rs/logic/exportfile" sql-name="iotArrearsInfo" template-name='物联网表欠费用户信息'
42
+ :choose-col="true"></export-excel>
43
+ <!-- <button class="button_export" @click="$parent.$parent.importFile()">导入</button>-->
44
+ <div
45
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
46
+ @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>
47
+ </div>
48
+ </div>
49
+ <div class="row" v-show="$parent.$parent.criteriaShow">
50
+ <div class="col-sm-2 form-group">
51
+ <label class="font_normal_body">客户名称</label>
52
+ <input type="text" class="input_search" style="width:60%" v-model="model.f_user_name" style="width:60%"
53
+ condition="f_user_name like '%{}%'" placeholder="客户名称"
54
+ />
55
+ </div>
56
+ <div class="col-sm-2 form-group">
57
+ <label class="font_normal_body">气表品牌</label>
58
+ <v-select :value.sync="model.f_meter_brand"
59
+ v-model="model.f_meter_brand"
60
+ :options='$parent.$parent.meterbrands' placeholder='请选择'
61
+ condition="f_meter_brand = '{}'"
62
+ close-on-select></v-select>
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">客户类型</label>
66
+ <v-select :options='$parent.$parent.usertypes'
67
+ @change="$parent.$parent.userTypeChange"
68
+ :value.sync="model.f_user_type"
69
+ close-on-select condition="f_user_type = '{}'"
70
+ placeholder='用户类型'
71
+ style="width: 60%" v-model="model.f_user_type"></v-select>
72
+ </div>
73
+ <div class="col-sm-2 form-group">
74
+ <label class="font_normal_body">用气性质</label>
75
+ <v-select :options='$parent.$parent.gasproperties'
76
+ :value.sync="model.f_gasproperties"
77
+ close-on-select
78
+ condition="f_gasproperties = '{}'"
79
+ placeholder='用气性质'
80
+ style="width: 60%"
81
+ v-model="model.f_gasproperties">
82
+ </v-select>
83
+ </div>
84
+ <div class="col-sm-3 form-group">
85
+ <label class="font_normal_body">表累购金额</label>
86
+ <v-select :options='$parent.$parent.totalmoneystate'
87
+ :value.sync="model.f_total_state"
88
+ close-on-select condition="f_total_fee {} allmoney"
89
+ placeholder='全部' :width="'20%'"
90
+ @change="$parent.$parent.changecolor(1,model.f_total_state)"
91
+ style="margin-right: 8px;" v-model="model.f_total_state"></v-select>
92
+ <label class="font_normal_body">表累购金额(记录合计)</label>
93
+ </div>
94
+ <div class="col-sm-3 form-group">
95
+ <label class="font_normal_body">表累购金额</label>
96
+ <v-select :options='$parent.$parent.totalmoneystate'
97
+ :value.sync="model.f_totaluse_state"
98
+ close-on-select condition="f_total_fee {} f_balance_amount+f_total_usegas_amount"
99
+ placeholder='全部'
100
+ :width="'20%'"
101
+ @change="$parent.$parent.changecolor(2,model.f_totaluse_state)"
102
+ style="margin-right: 8px;" v-model="model.f_totaluse_state"></v-select>
103
+ <label class="font_normal_body">剩余金额+累用金额</label>
104
+ </div>
105
+ <div class="col-sm-4 form-group">
106
+ <label class="font_normal_body">表累购金额</label>
107
+ <v-select :options='$parent.$parent.totalmoneystate'
108
+ :value.sync="model.f_totalsy_state"
109
+ close-on-select condition="f_total_fee {} fillmoney+allmoney"
110
+ placeholder='全部'
111
+ :width="'20%'"
112
+ @change="$parent.$parent.changecolor(3,model.f_totalsy_state)"
113
+ style="margin-right: 8px;" v-model="model.f_totalsy_state"></v-select>
114
+ <label class="font_normal_body">补气金额(旧表)+表累购金额(记录合计)</label>
115
+ </div>
116
+ <div class="col-sm-5 form-group">
117
+ <p style="font-weight:bold;font-size: 14px; color:darkred;margin-top: 19px;">说明:由于旧表存在老系统换表补费,补气金额(旧表)需要和表累购金额(记录合计)的和才能等于表累购金额</p>
118
+ </div>
119
+
120
+ </div>
121
+ </div>
122
+ </criteria>
123
+ <data-grid id="daochu" :model="model" partial='list' class="list_area table_sy" v-ref:grid>
124
+ <template partial='head'>
125
+ <tr>
126
+ <th><nobr>客户编号</nobr></th>
127
+ <th><nobr>客户姓名</nobr></th>
128
+ <th><nobr>客户状态</nobr></th>
129
+ <th><nobr>表号</nobr></th>
130
+ <th><nobr>客户类型</nobr></th>
131
+ <th><nobr>用气性质</nobr></th>
132
+ <th><nobr>气表品牌</nobr></th>
133
+ <th><nobr>客户地址</nobr></th>
134
+ <th><nobr>气表类型</nobr></th>
135
+ <th><nobr>气表状态</nobr></th>
136
+ <th><nobr>气表读数</nobr></th>
137
+ <th :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='2' || $parent.$parent.$parent.showcolorstate=='3' ? '#ffc7ce!important':'')}">
138
+ <nobr>当前表累购金额</nobr></th>
139
+ <th :style="{background:($parent.$parent.$parent.showcolorstate=='3'? '#f1dec2!important':'')}">
140
+ <nobr>补气金额(旧表)</nobr>
141
+ </th>
142
+ <th :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='3' ? '#f1dec2!important':'')}">
143
+ <nobr>当前表累购金额(记录合计)</nobr></th>
144
+ <th :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}">
145
+ <nobr>累用金额</nobr></th>
146
+ <th :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}">
147
+ <nobr>剩余金额</nobr></th>
148
+ <th><nobr>最后上报时间</nobr></th>
149
+ <th><nobr>最后结算时间</nobr></th>
150
+ <th><nobr>所属组织</nobr></th>
151
+ </tr>
152
+ </template>
153
+ <template partial='body'>
154
+ <tr>
155
+ <td style="text-align:center">
156
+ <span @click="$parent.$parent.$parent.dealmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
157
+ </td>
158
+ <td style="text-align:center"><nobr>{{row.f_user_name}}</nobr></td>
159
+ <td style="text-align:center"><nobr>{{row.f_user_state}}</nobr>
160
+ <td style="text-align:center"><nobr>{{row.f_meternumber}}</nobr></td>
161
+ <td style="text-align:center"><nobr>{{row.f_user_type}}</nobr></td>
162
+ <td style="text-align:center"><nobr>{{row.f_gasproperties}}</nobr></td>
163
+ <td style="text-align:center"><nobr>{{row.f_meter_brand}}</nobr></td>
164
+ <td style="text-align:center"><nobr>{{row.f_address}}</nobr></td>
165
+ <td style="text-align:center"><nobr>{{row.f_meter_classify}}</nobr></td>
166
+ <td style="text-align:center"><nobr>{{row.f_table_state}}</nobr></td>
167
+ <td style="text-align:center"><nobr>{{row.f_meter_base}}</nobr></td>
168
+ <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='2' || $parent.$parent.$parent.showcolorstate=='3' ? '#ffc7ce!important':'')}" >
169
+ <nobr>{{row.f_total_fee}}</nobr></td>
170
+ <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='3'? '#f1dec2!important':'')}">
171
+ <nobr>{{row.fillmoney}}</nobr></td>
172
+ <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='1' || $parent.$parent.$parent.showcolorstate=='3' ? '#f1dec2!important':'')}">
173
+ <nobr>{{row.allmoney}}</nobr></td>
174
+ <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}" >
175
+ <nobr>{{row.f_total_usegas_amount}}</nobr></td>
176
+ <td style="text-align:center" :style="{background:($parent.$parent.$parent.showcolorstate=='2'? '#c6efce!important':'')}" >
177
+ <nobr>{{row.f_balance_amount}}</nobr></td>
178
+ <td style="text-align:center"><nobr>{{row.f_meteread_date}}</nobr></td>
179
+ <td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
180
+ <td style="text-align:center"><nobr>{{row.name}}</nobr></td>
181
+ </tr>
182
+ </template>
183
+ <template partial='foot'></template>
184
+ </data-grid>
185
+ </criteria-paged>
186
+ </div>
187
+ <div v-if="listpage">
188
+ <user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
189
+ </div>
190
+ </div>
191
+ </div>
192
+
193
+
194
+ <modal :show.sync="fileshow" width="500px" title="文件导入" v-ref:modal large backdrop="false">
195
+ <article slot="modal-body" class="modal-body">
196
+ <file-upload class="my-file-uploader " name="UploadFile" class="btn btn-success" style="border-radius: 2px;"
197
+ action="rs/file/uploadFile" tagname="导入发票" v-ref:file :headers="headers"></file-upload>
198
+ </article>
199
+ <footer slot="modal-footer" class="modal-footer">
200
+ </footer>
201
+ </modal>
202
+
203
+ </template>
204
+
205
+ <script>
206
+ import { PagedList } from 'vue-client'
207
+ import {HttpResetClass} from 'vue-client'
208
+ import Vue from "vue";
209
+ import getLodop from "../../../plugins/LodopFuncs";
210
+ import exportConfig from "./valueConfig"
211
+ let getGasbrandGen = async function (self) {
212
+ await self.$LoadParams.loadParam()
213
+ self.initQueryParam()
214
+ }
215
+ // self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
216
+ export default {
217
+ data () {
218
+ return {
219
+ defaultfield: [],
220
+ config: {
221
+ defaultPrint: ['f_user_name','f_meter_brand','f_user_type']
222
+ },
223
+ model: new PagedList('rs/sql/iotrechargeaudit',20),
224
+ fileshow: false,
225
+ condition: '1=1',
226
+ moneystate: [{label: '欠费', value: '<'}, {label: '正常', value: '>='}],
227
+ totalmoneystate: [{label:'全部',value:''},{label: '相等', value: '='}, {label: '不等', value: '!='}],
228
+ // f_usertype:[{label:'民用',value:'民用'},{label:'非民用',value:'非民用'}],
229
+ // gasproperties:[],
230
+ meterBrand:[],
231
+ meterbrands: [],
232
+ curorgid: [this.$login.f.orgid],
233
+ radio: [],
234
+ //选中的页
235
+ all: [],
236
+ //row数据
237
+ rowsdata: [],
238
+ printModel: {
239
+ rows: []
240
+ },
241
+ listpage:false,
242
+ criteriaShow:false,
243
+ iscomplanAllInfo:false,
244
+ rowdata:[],
245
+ gasproperties: this.$appdata.getParam('用气性质') ? [{
246
+ label: '全部',
247
+ value: ''
248
+ }, ...this.$appdata.getParam('用气性质')] : [],
249
+ showcolorstate:0
250
+ }
251
+ },
252
+ title: '物联网金额监控',
253
+ ready(){
254
+ this.search()
255
+ for(var item in exportConfig.iotrechargeaudit){
256
+ this.defaultfield.push(item)
257
+ }
258
+ getGasbrandGen(this)
259
+ },
260
+ computed : {
261
+ getcondition(){
262
+ return {
263
+ condition: `${this.$refs.paged.$refs.cri.condition}`
264
+ }
265
+ },
266
+ getfield() {
267
+ return exportConfig.iotrechargeaudit
268
+ },
269
+ usertypes() {
270
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('客户类型')]
271
+ },
272
+ metertypes() {
273
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
274
+ },
275
+ tableState () {
276
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('表具状态')]
277
+ }
278
+ },
279
+ events : {
280
+
281
+ },
282
+ methods: {
283
+ changecolor(number,val){
284
+ if(number != this.showcolorstate && (val == null || val == '')){
285
+ return;
286
+ }
287
+ if(number == 3){
288
+ this.$refs.paged.$refs.cri.model.f_total_state = ''
289
+ this.$refs.paged.$refs.cri.model.f_totaluse_state = ''
290
+ }
291
+ if(number == 2){
292
+ this.$refs.paged.$refs.cri.model.f_totalsy_state=''
293
+ this.$refs.paged.$refs.cri.model.f_total_state = ''
294
+ }
295
+ if(number == 1){
296
+ this.$refs.paged.$refs.cri.model.f_totaluse_state = ''
297
+ this.$refs.paged.$refs.cri.model.f_totalsy_state = ''
298
+ }
299
+
300
+ this.showcolorstate = 0;
301
+ if(val == null || val =='' ){
302
+ this.showcolorstate = 0
303
+ }else{
304
+ this.showcolorstate = number
305
+ }
306
+ },
307
+ hidden(){
308
+ this.criteriaShow = !this.criteriaShow
309
+ },
310
+ cancel(){
311
+ this.listpage=false
312
+ },
313
+ dealmsg(val) {
314
+ console.log("=---------------dealmsg--------------")
315
+ this.listpage=true
316
+ this.rowdata=val
317
+ console.log(this.rowdata.f_userinfo_id)
318
+ val.model = this.model.model
319
+ // this('deal-msg', val)
320
+ },
321
+ search () {
322
+ this.$refs.paged.$refs.cri.search()
323
+ },
324
+ userTypeChange () {
325
+ this.gasproperties=[]
326
+ if(this.$refs.paged.model.model !== null ) {
327
+ this.$refs.paged.model.model.f_gasproperties=''
328
+
329
+ console.log(this.$refs.paged.model.model.f_user_type[0])
330
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.model.model.f_user_type[0])
331
+ // this.gasproperties.push({label: '全部', value: ''})
332
+ }
333
+ else{
334
+ this.gasproperties =[{label: '全部', value: ''}]
335
+ }
336
+ },
337
+ async selfSearch (args) {
338
+ if (!this.f_orgid) {
339
+ this.getorg([this.$login.f.orgid])
340
+ }
341
+ console.log('查询。。。', this.f_orgid)
342
+ args.condition = `${args.condition} and f_filialeid in ${this.f_orgid}`
343
+ this.model.search(args.condition, args.model)
344
+ },
345
+ //清空
346
+ clear(){
347
+ this.$refs.paged.$refs.cri.model = {}
348
+ },
349
+ getorg (val) {
350
+ this.f_orgid = this.$login.convertToIn(val)
351
+ this.f_filialeids = val[0]
352
+ },
353
+ initQueryParam () {
354
+ let arr = []
355
+ this.$GetSaleParam.getGasbrand().forEach((item) => {
356
+ let temp = {}
357
+ if(item.value.f_meter_type==='物联网表'){
358
+ temp.label = item.label
359
+ temp.value = item.value.f_meter_brand
360
+ arr.push(temp )
361
+ }
362
+
363
+ })
364
+ this.meterbrands = [{label: '全部', value: ''}, ...arr]
365
+ }
366
+ }
367
+
368
+ }
369
+ </script>
@@ -0,0 +1,14 @@
1
+ export default{
2
+ iotArrearsField:{
3
+ "f_userinfo_code":"用户编号","f_user_name":"用户姓名/单位名称","f_user_state":"用户状态","f_meternumber":"表号",
4
+ "f_user_type":"用户类型","f_gasproperties":"用气性质","f_meter_classify":"气表分类","f_meter_base":"气表底数",
5
+ "f_table_state":"表状态","f_balance_amount":"剩余金额","f_money_state":"费用状态","f_meter_brand":"气表品牌","f_address":"地址"
6
+ },
7
+ iotrechargeaudit:{
8
+ "f_userinfo_code":"客户编号","f_user_name":"客户名称","f_user_state":"客户状态","f_meternumber":"表号",
9
+ "f_user_type":"用户类型","f_gasproperties":"用气性质","f_meter_brand":"气表品牌","f_address":"客户地址",
10
+ "f_meter_classify":"气表类型","f_table_state":"气表状态","f_meter_base":"气表读数",
11
+ "f_total_fee":"当前表累购","fillmoney":"补气金额(旧表)","allmoney":"当前表累购金额(记录合计)","f_total_usegas_amount":"累用金额",
12
+ "f_balance_amount":"剩余金额","f_meteread_date":"最后上报时间","f_hand_date":"最后结算时间","name":"所属组织"
13
+ }
14
+ }
@@ -13,14 +13,14 @@
13
13
  <button class="button_search button_spacing" @click="search()">查询</button>
14
14
  <button class="button_clear button_spacing" @click="clear()">清空</button>
15
15
 
16
- <export-excel-hand :data="$parent.$parent.getCondition"
16
+ <export-excel-plus :data="$parent.$parent.getCondition"
17
17
  :defaultselect="$parent.$parent.selectfields"
18
18
  :field="$parent.$parent.getfield"
19
- :other-data="$parent.$parent.other"
20
- :footer-data="$parent.$parent.footer" v-ref:exports
21
- :sumname="$parent.$parent.sumName"
22
- sqlurl="rs/logic/reportExportfile" sql-name="webmeterhandplanQuery" template-name='抄表查询导出'
23
- :choose-col="true"></export-excel-hand>
19
+ :exportprogress="true"
20
+ v-ref:exports
21
+ sqlurl="rs/logic/exportfileplus"
22
+ sql-name="webmeterhandplanQuery" template-name='抄表查询导出'
23
+ :choose-col="true"></export-excel-plus>
24
24
  <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>
25
25
  </div>
26
26
  </div>
package/src/saleManage.js CHANGED
@@ -188,10 +188,12 @@ export default function () {
188
188
  Vue.component('far-away-query', (resolve) => {
189
189
  require(['./components/sale/report/aode/iot/FarawayQuery'], resolve)
190
190
  })
191
- //增值业务查询
191
+ //增值业务操作记录查询
192
192
  Vue.component('valueadd-info-query', (resolve) => {
193
193
  require(['./components/valueaddinfo/ValueAddinfoQuery'], resolve)
194
194
  })
195
+
196
+
195
197
  //销户查询
196
198
  Vue.component('query-userinfo-state', (resolve) => {
197
199
  require(['./components/sale/businessquery/QueryUserState.vue'], resolve)
@@ -207,7 +209,10 @@ export default function () {
207
209
  require(['./components/sale/ncpush/ncpushmanage/NCpushSummary.vue'], resolve)
208
210
  })
209
211
 
210
-
212
+ // 用户增值信息查询
213
+ Vue.component('valueadd-user-query', (resolve) => {
214
+ require(['./components/valueaddinfo/valueAddUserQuery'], resolve)
215
+ })
211
216
 
212
217
  //操作统计
213
218
  Vue.component('operator-count', (resolve) => {
@@ -218,4 +223,16 @@ export default function () {
218
223
  Vue.component('webmeter-handplan-query', (resolve) => {
219
224
  require(['./components/webmeter/WebmeterHandplanQuery.vue'], resolve)
220
225
  })
226
+
227
+ // 物联网表欠费用户查询
228
+ Vue.component('iot-query-arrears', (resolve) => { require(['./components/webmeter/IOTArrears/arrears'], resolve) })
229
+ // 物联网充值监控
230
+ Vue.component('iot-recharge-audit', (resolve) => { require(['./components/webmeter/IOTArrears/iotRechargeAudit'], resolve) })
231
+
232
+ // 其他收费日清单
233
+ Vue.component('other-day-report',(resolve) => { require(['./components/sale/report/aode/othercharge/OtherDayReport'], resolve)})
234
+ Vue.component('other-day-report-list',(resolve) => { require(['./components/sale/report/aode/othercharge/OtherDayReportList'], resolve)})
235
+ Vue.component('other-day-report-list-print',(resolve) => { require(['./components/sale/report/aode/othercharge/OtherDayReportListPrint'], resolve)})
236
+ Vue.component('other-day-report-summary',(resolve) => { require(['./components/sale/report/aode/othercharge/OtherDayReportSummary'], resolve)})
237
+
221
238
  }