manage-client 3.2.237 → 3.2.239

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.
@@ -11,9 +11,9 @@
11
11
  <div class="col-sm-2 form-group">
12
12
  <label class="font_normal_body">月份</label>
13
13
  <v-select :value.sync="model.t_jfyf"
14
- :options='$parent.$parent.jfyfArray' placeholder='请选择' v-model="model.t_jfyf"
14
+ :options='$parent.$parent.jfnfArray' placeholder='请选择' v-model="model.t_jfyf" multiple
15
15
  condition="t_jfyf in {}"
16
- close-on-select></v-select>
16
+ ></v-select>
17
17
  </div>
18
18
  <div class="col-sm-2 form-group">
19
19
  <label class="font_normal_body">客户编号</label>
@@ -24,9 +24,17 @@
24
24
  <div class="col-sm-2 form-group">
25
25
  <label class="font_normal_body">用气性质</label>
26
26
  <v-select :value.sync="model.u_xyqxz"
27
- :options='$parent.$parent.gasproperties' placeholder='请选择' v-model="model.u_xyqxz"
28
- condition="f_calculation in {}"
29
- close-on-select></v-select>
27
+ :options='$parent.$parent.yqxzArray' placeholder='请选择' v-model="model.u_xyqxz" multiple
28
+ condition="u_xyqxz in {}"
29
+ ></v-select>
30
+ </div>
31
+
32
+ <div class="col-sm-2 form-group">
33
+ <label class="font_normal_body">表具类型</label>
34
+ <v-select :value.sync="model.bjlx"
35
+ :options='$parent.$parent.bjlxArray' placeholder='请选择' v-model="model.bjlx" multiple
36
+ condition="bjlx in {}"
37
+ ></v-select>
30
38
  </div>
31
39
 
32
40
  <div class="span" style="float:right;">
@@ -106,6 +114,9 @@
106
114
  <th>
107
115
  <nobr>抄表员</nobr>
108
116
  </th>
117
+ <th>
118
+ <nobr>通气日期</nobr>
119
+ </th>
109
120
  </tr>
110
121
  </template>
111
122
  <template partial='body'>
@@ -163,6 +174,9 @@
163
174
  <td style="text-align: center;">
164
175
  <nobr>{{row.cbg}}</nobr>
165
176
  </td>
177
+ <td style="text-align: center;">
178
+ <nobr>{{row.tqrq}}</nobr>
179
+ </td>
166
180
  </template>
167
181
  <template partial='foot'>
168
182
  </template>
@@ -257,7 +271,9 @@
257
271
  //小区
258
272
  residentialArea: [],
259
273
  //缴费月份
260
- jfyfArray: [],
274
+ jfnfArray: [],
275
+ yqxzArray: [],
276
+ bjlxArray: [],
261
277
  //表册片区
262
278
  bookSlice:[{label: '全部',value: ''}],
263
279
  inputtores:[{label: '全部',value: ''}], //抄表员
@@ -278,7 +294,8 @@
278
294
  //self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
279
295
  //self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
280
296
  this.getjfyf()
281
-
297
+ this.getBjlx()
298
+ this.getYqxz()
282
299
  this.userTypeChange ();
283
300
  },
284
301
  methods: {
@@ -341,20 +358,55 @@
341
358
  this.residentialArea = house
342
359
  },
343
360
  async getjfyf(){
344
- console.log('开始获取交费月份')
345
361
  let HttpReset = new HttpResetClass()
346
- var data = await HttpReset.load('POST', 'rs/sql/qnJgqgetmxjfyf', {
362
+ var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
363
+ data: {
364
+ condition: '1=1',
365
+ tablename: 'qn_jgq_gsmxb',
366
+ groupitem: 't_jfyf',
367
+ orderitem: 't_jfyf',
368
+ items: 't_jfyf'
369
+ }
370
+ }, {resolveMsg: null, rejectMsg: '获取失败!'})
371
+ let nameArr = [{label: '全部', value: ''}]
372
+ for (let row of data.data){
373
+ nameArr.push({label: row.t_jfyf, value: row.t_jfyf})
374
+ }
375
+ this.jfnfArray = nameArr
376
+ },
377
+ async getYqxz(){
378
+ let HttpReset = new HttpResetClass()
379
+ var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
380
+ data: {
381
+ condition: '1=1',
382
+ tablename: 'qn_jgq_gsmxb',
383
+ groupitem: 'u_xyqxz',
384
+ orderitem: 'u_xyqxz',
385
+ items: 'u_xyqxz'
386
+ }
387
+ }, {resolveMsg: null, rejectMsg: '获取失败!'})
388
+ let nameArr = [{label: '全部', value: ''}]
389
+ for (let row of data.data){
390
+ nameArr.push({label: row.u_xyqxz, value: row.u_xyqxz})
391
+ }
392
+ this.yqxzArray = nameArr
393
+ },
394
+ async getBjlx(){
395
+ let HttpReset = new HttpResetClass()
396
+ var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
347
397
  data: {
348
- condition: `1=1 `
398
+ condition: '1=1',
399
+ tablename: 'qn_jgq_gsmxb',
400
+ groupitem: 'bjlx',
401
+ orderitem: 'bjlx',
402
+ items: 'bjlx'
349
403
  }
350
- }, {resolveMsg: null, rejectMsg: '获取交费月份失败!'})
351
- console.log('交费月份',data)
352
- let a_jfyf = []
404
+ }, {resolveMsg: null, rejectMsg: '获取失败!'})
405
+ let nameArr = [{label: '全部', value: ''}]
353
406
  for (let row of data.data){
354
- console.log('开始保存交费月份')
355
- a_jfyf.push({label: row.t_jfyf, value: row.t_jfyf})
407
+ nameArr.push({label: row.bjlx, value: row.bjlx})
356
408
  }
357
- this.jfyfArray = a_jfyf
409
+ this.bjlxArray = nameArr
358
410
  },
359
411
  //把数据库查询数据转换为下拉数据
360
412
  calculate(rows){
@@ -14,7 +14,7 @@
14
14
  <v-select :value.sync="model.t_jfyf"
15
15
  :options='$parent.$parent.jfnfArray' placeholder='请选择' v-model="model.t_jfyf"
16
16
  condition="t_jfyf in {}"
17
- close-on-select></v-select>
17
+ multiple></v-select>
18
18
  </div>
19
19
 
20
20
  <div class="col-sm-2 form-group">
@@ -14,15 +14,15 @@
14
14
  <v-select :value.sync="model.jfnf"
15
15
  :options='$parent.$parent.jfnfArray' placeholder='请选择' v-model="model.jfnf"
16
16
  condition="jfnf in {}"
17
- close-on-select></v-select>
17
+ multiple></v-select>
18
18
  </div>
19
19
 
20
20
  <div class="col-sm-2 form-group">
21
21
  <label class="font_normal_body">用气性质</label>
22
22
  <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
23
23
  :options='$parent.$parent.gasproperties' placeholder='请选择'
24
- condition="f_gasproperties = '{}'"
25
- close-on-select></v-select>
24
+ condition="r_yqxzcfl in {}"
25
+ multiple></v-select>
26
26
  </div>
27
27
 
28
28
  <div class="span" style="float:right;">
@@ -14,7 +14,22 @@
14
14
  <v-select :value.sync="model.t_jfyf"
15
15
  :options='$parent.$parent.jfnfArray' placeholder='请选择' v-model="model.t_jfyf"
16
16
  condition="t_jfyf in {}"
17
- close-on-select></v-select>
17
+ multiple></v-select>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label class="font_normal_body">用气性质</label>
21
+ <v-select :value.sync="model.u_xyqxz"
22
+ :options='$parent.$parent.yqxzArray' placeholder='请选择' v-model="model.u_xyqxz" multiple
23
+ condition="r_yqxzcfl in {}"
24
+ ></v-select>
25
+ </div>
26
+
27
+ <div class="col-sm-2 form-group">
28
+ <label class="font_normal_body">表具类型</label>
29
+ <v-select :value.sync="model.bjlx"
30
+ :options='$parent.$parent.bjlxArray' placeholder='请选择' v-model="model.bjlx" multiple
31
+ condition="bjlx in {}"
32
+ ></v-select>
18
33
  </div>
19
34
 
20
35
  <div class="col-sm-2 form-group">
@@ -102,6 +117,9 @@
102
117
  <th>
103
118
  <nobr>抄表员</nobr>
104
119
  </th>
120
+ <th>
121
+ <nobr>通气日期</nobr>
122
+ </th>
105
123
  </tr>
106
124
  </template>
107
125
  <template partial='body'>
@@ -163,6 +181,9 @@
163
181
  <td style="text-align: center;">
164
182
  <nobr>{{row.cbg}}</nobr>
165
183
  </td>
184
+ <td style="text-align: center;">
185
+ <nobr>{{row.tqrq}}</nobr>
186
+ </td>
166
187
  </template>
167
188
  <template partial='foot'>
168
189
  </template>
@@ -225,6 +246,8 @@ export default {
225
246
  },
226
247
  gasproperties:[],
227
248
  jfnfArray:[],
249
+ yqxzArray: [],
250
+ bjlxArray: [],
228
251
  //默认打印列
229
252
  defaultfield: [],
230
253
  config: {
@@ -276,7 +299,9 @@ export default {
276
299
  //this.initAreas(this.$login.f.orgid)
277
300
  //self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
278
301
  //self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
279
- this.getJfnf();
302
+ this.getJfnf()
303
+ this.getBjlx()
304
+ this.getYqxz()
280
305
  },
281
306
  methods: {
282
307
  async getinputtores () {
@@ -321,6 +346,40 @@ export default {
321
346
  }
322
347
  this.jfnfArray = nameArr
323
348
  },
349
+ async getYqxz(){
350
+ let HttpReset = new HttpResetClass()
351
+ var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
352
+ data: {
353
+ condition: '1=1',
354
+ tablename: 'qn_jgq_mymx',
355
+ groupitem: 'r_yqxzcfl',
356
+ orderitem: 'r_yqxzcfl',
357
+ items: 'r_yqxzcfl'
358
+ }
359
+ }, {resolveMsg: null, rejectMsg: '获取失败!'})
360
+ let nameArr = [{label: '全部', value: ''}]
361
+ for (let row of data.data){
362
+ nameArr.push({label: row.r_yqxzcfl, value: row.r_yqxzcfl})
363
+ }
364
+ this.yqxzArray = nameArr
365
+ },
366
+ async getBjlx(){
367
+ let HttpReset = new HttpResetClass()
368
+ var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
369
+ data: {
370
+ condition: '1=1',
371
+ tablename: 'qn_jgq_mymx',
372
+ groupitem: 'bjlx',
373
+ orderitem: 'bjlx',
374
+ items: 'bjlx'
375
+ }
376
+ }, {resolveMsg: null, rejectMsg: '获取失败!'})
377
+ let nameArr = [{label: '全部', value: ''}]
378
+ for (let row of data.data){
379
+ nameArr.push({label: row.bjlx, value: row.bjlx})
380
+ }
381
+ this.bjlxArray = nameArr
382
+ },
324
383
  async getGaspropperties(){
325
384
  let HttpReset = new HttpResetClass()
326
385
  var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
@@ -14,7 +14,7 @@
14
14
  <v-select :value.sync="model.a_yf"
15
15
  :options='$parent.$parent.jfnfArray' placeholder='请选择' v-model="model.a_yf"
16
16
  condition="a_yf in {}"
17
- close-on-select></v-select>
17
+ multiple></v-select>
18
18
  </div>
19
19
 
20
20
  <div class="span" style="float:right;">
@@ -32,7 +32,7 @@
32
32
  <label class="font_normal_body">用气性质</label>
33
33
  <v-select :value.sync="model.f_gasproperties"
34
34
  :options='$parent.$parent.gasproperties' placeholder='请选择' v-model="model.f_gasproperties"
35
- condition="f_calculation in {}"
35
+ condition="f_gasproperties in {}"
36
36
  close-on-select></v-select>
37
37
  </div>
38
38
 
@@ -53,38 +53,49 @@
53
53
  </div>
54
54
  <div class="row" v-show="$parent.$parent.criteriaShow">
55
55
  <div class="col-sm-2 form-group">
56
- <label for="startDate" class="font_normal_body">通气日期起</label>
57
- <datepicker id="startDate" placeholder="通气日期起" style="width:60%"
56
+ <label for="startDate" class="font_normal_body">开户时间起</label>
57
+ <datepicker id="startDate" placeholder="开户日期起" style="width:60%"
58
58
  v-model="model.startDate"
59
59
  :value.sync="model.startDate"
60
60
  :format="'yyyy-MM-dd'"
61
61
  :show-reset-button="true"
62
- condition="f_gas_date >= '{} 00:00:00'">
62
+ condition="f_open_date >= '{} 00:00:00'">
63
63
  </datepicker>
64
64
  </div>
65
65
  <div class="col-sm-2 form-group">
66
- <label for="endDate" class="font_normal_body">通气日期止</label>
67
- <datepicker id="endDate" placeholder="通气日期止" style="width:60%"
66
+ <label for="endDate" class="font_normal_body">开户日期止</label>
67
+ <datepicker id="endDate" placeholder="开户日期止" style="width:60%"
68
68
  v-model="model.endDate"
69
69
  :value.sync="model.endDate"
70
70
  :format="'yyyy-MM-dd'"
71
71
  :show-reset-button="true"
72
- condition="f_gas_date <= '{} 23:59:59'">
72
+ condition="f_open_date <= '{} 23:59:59'">
73
73
  </datepicker>
74
74
  </div>
75
75
  <div class="col-sm-2 form-group">
76
76
  <label class="font_normal_body">气表类型</label>
77
77
  <v-select :value.sync="model.f_meter_type"
78
78
  :options='$parent.$parent.metertypes()' placeholder='请选择' v-model="model.f_meter_type"
79
- condition="f_meter_type = '{}'"
79
+ condition="f_meter_type in {}"
80
80
  close-on-select></v-select>
81
81
  </div>
82
82
  <div class="col-sm-2 form-group">
83
- <label class="font_normal_body">气表品牌</label>
84
- <v-select :value.sync="model.f_meter_brand"
85
- v-model="model.f_meter_brand" multiple
86
- :options='$parent.$parent.meterbrands' placeholder='请选择'
87
- condition="f_meter_brand in {}"
83
+ <label class="font_normal_body">客户状态</label>
84
+ <v-select :value.sync="model.f_user_state"
85
+ v-model="model.f_user_state" multiple
86
+ :options='$parent.$parent.yhztArray' placeholder='请选择'
87
+ condition="f_user_state in {}"
88
+ valueSingle="正常"
89
+ ></v-select>
90
+ </div>
91
+
92
+ <div class="col-sm-2 form-group">
93
+ <label class="font_normal_body">表状态</label>
94
+ <v-select :value.sync="model.f_table_state"
95
+ v-model="model.f_table_state" multiple
96
+ :options='$parent.$parent.bjztArray' placeholder='请选择'
97
+ condition="f_table_state in {}"
98
+ valueSingle="正常"
88
99
  ></v-select>
89
100
  </div>
90
101
  <div class="row">
@@ -95,6 +106,7 @@
95
106
  </div>
96
107
  </div>
97
108
  </div>
109
+
98
110
  </div>
99
111
  </criteria>
100
112
 
@@ -117,7 +129,7 @@
117
129
  <nobr>客户电话</nobr>
118
130
  </th>
119
131
  <th>
120
- <nobr>通气日期</nobr>
132
+ <nobr>开户日期</nobr>
121
133
  </th>
122
134
  <th>
123
135
  <nobr>气价名称</nobr>
@@ -152,6 +164,9 @@
152
164
  <th>
153
165
  <nobr>备注信息</nobr>
154
166
  </th>
167
+ <th>
168
+ <nobr>通气日期</nobr>
169
+ </th>
155
170
  </tr>
156
171
  </template>
157
172
  <template partial='body'>
@@ -171,7 +186,7 @@
171
186
  <nobr>{{row.f_user_phone}}</nobr>
172
187
  </td>
173
188
  <td style="text-align: center;">
174
- <nobr>{{row.f_gas_date}}</nobr>
189
+ <nobr>{{row.f_open_date}}</nobr>
175
190
  </td>
176
191
  <td style="text-align: center;">
177
192
  <nobr>{{row.f_price_name}}</nobr>
@@ -206,6 +221,9 @@
206
221
  <td style="text-align: center;">
207
222
  <nobr>{{row.f_comments}}</nobr>
208
223
  </td>
224
+ <td style="text-align: center;">
225
+ <nobr>{{row.f_gas_date}}</nobr>
226
+ </td>
209
227
  </template>
210
228
  <template partial='foot'>
211
229
  </template>
@@ -306,6 +324,8 @@
306
324
  deviceInfo:{},
307
325
  condition2:'',
308
326
 
327
+ yhztArray:[],
328
+ bjztArray:[],
309
329
 
310
330
  weixinSign:[{label:"全部",value:""},{label:"已绑定",value:"已绑定"},{label:"未绑定",value:"未绑定"}],
311
331
  //小区
@@ -326,12 +346,48 @@
326
346
  }).catch((error) => {
327
347
  this.$emit('error', error)
328
348
  })
329
- this.initAreas(this.$login.f.orgid)
330
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
331
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
332
-
349
+ //this.initAreas(this.$login.f.orgid)
350
+ //self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
351
+ //self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
352
+ this.getJgqYhzt();
353
+ this.getJgqBjzt();
333
354
  },
334
355
  methods: {
356
+ //-------------------------------------------------------------
357
+ async getJgqYhzt(){
358
+ let HttpReset = new HttpResetClass()
359
+ var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
360
+ data: {
361
+ condition: '1=1',
362
+ tablename: 'qn_jgq_zhdacx',
363
+ groupitem: 'f_user_state',
364
+ orderitem: 'f_user_state',
365
+ items: 'f_user_state'
366
+ }
367
+ }, {resolveMsg: null, rejectMsg: '获取失败!'})
368
+ let nameArr = [{label: '全部', value: ''}]
369
+ for (let row of data.data){
370
+ nameArr.push({label: row.f_user_state, value: row.f_user_state})
371
+ }
372
+ this.yhztArray = nameArr
373
+ },
374
+ async getJgqBjzt(){
375
+ let HttpReset = new HttpResetClass()
376
+ var data = await HttpReset.load('POST', 'rs/sql/singleTable_Final', {
377
+ data: {
378
+ condition: '1=1',
379
+ tablename: 'qn_jgq_zhdacx',
380
+ groupitem: 'f_table_state',
381
+ orderitem: 'f_table_state',
382
+ items: 'f_table_state'
383
+ }
384
+ }, {resolveMsg: null, rejectMsg: '获取失败!'})
385
+ let nameArr = [{label: '全部', value: ''}]
386
+ for (let row of data.data){
387
+ nameArr.push({label: row.f_table_state, value: row.f_table_state})
388
+ }
389
+ this.bjztArray = nameArr
390
+ },
335
391
  async getinputtores () {
336
392
  // 获取抄表员
337
393
  let rs = []
@@ -655,7 +711,7 @@
655
711
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('结算方式')]
656
712
  },
657
713
  metertypes() {
658
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
714
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表分类')]
659
715
  },
660
716
  accountsState() {
661
717
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('下账状态')]
@@ -124,9 +124,9 @@ export default{
124
124
  },
125
125
  qnJgqZhdacx:{
126
126
  'f_userinfo_code':'客户编号', 'f_user_name':'客户名称', 'f_user_state':'客户状态', 'f_address':'客户地址', 'f_user_phone':'客户电话',
127
- 'f_gas_date':'通气日期', 'f_price_name':'气价名称', 'f_meter_type':'气表类型', 'f_meter_brand':'气表品牌', 'f_meter_style':'气表型号',
127
+ 'f_open_date':'开户日期', 'f_price_name':'气价名称', 'f_meter_type':'气表类型', 'f_meter_brand':'气表品牌', 'f_meter_style':'气表型号',
128
128
  'f_meternumber':'表号', 'f_user_type':'客户类型', 'f_gasproperties':'用气性质', 'f_credentials':'证件类型',
129
- 'f_idnumber':'证件号码', 'f_table_state':'表状态', 'f_comments':'备注信息'
129
+ 'f_idnumber':'证件号码', 'f_table_state':'表状态', 'f_comments':'备注信息', 'f_gas_date':'通气日期'
130
130
  },
131
131
  qnJgqMgqbb:{
132
132
  'b_yhh':'用户号','c_yhmc':'用户名','d_yqdz':'地址','e_spmc':'商品名称','g_cbqj':'抄表期间','h_csqf':'起方','i_cszf':'止方',
@@ -139,7 +139,7 @@ export default{
139
139
  qnJgqGsxsmx:{
140
140
  'b_yhh':'用户号','c_yhmc':'用户名','d_yqdz':'用气地址','e_spmc':'商品名称','g_cbqj':'抄表期间','h_csqf':'起方','i_cszf':'止方',
141
141
  'j_ysql':'气量','k_dj':'单价','l_je':'金额','m_znj':'违约金','o_sjje':'金额合计','u_xyqxz':'用气性质','s_jfrq':'日期',
142
- 't_jfyf':'月份','bjlx':'表具类型','sfyg':'收费员','cbg':'抄表员'
142
+ 't_jfyf':'月份','bjlx':'表具类型','sfyg':'收费员','cbg':'抄表员','tqrq':'通气日期'
143
143
  },
144
144
  qnJgqMyhzbb:{
145
145
  'b_yhh':'用户号','c_yhmc':'用户名','d_yqdz':'地址','khlx':'客户类型','r_yqxzcfl':'用气性质','nyql':'年用气量','nje':'年用气金额'
@@ -147,7 +147,7 @@ export default{
147
147
  qnJgqMyxsmx:{
148
148
  'b_yhh':'用户号','c_yhmc':'用户名','d_yqdz':'地址','e_spmc':'商品名称','g_cbqj':'抄表期间','h_csqf':'起方','i_cszf':'止方',
149
149
  'j_ysql':'气量','k_dj':'单价','l_je':'金额','m_znj':'违约金',/**'n_jc':'价差',**/'o_sjje':'金额合计','r_yqxzcfl':'用气性质',
150
- 's_jfrq':'日期','t_jfyf':'月份','bjlx':'表具类型','sfyg':'收费员','cbg':'抄表员'
150
+ 's_jfrq':'日期','t_jfyf':'月份','bjlx':'表具类型','sfyg':'收费员','cbg':'抄表员','tqrq':'通气日期'
151
151
  },
152
152
  qnJgqXsjgbb:{
153
153
  'a_yf':'月份','b_hjql':'合计气量','c_hjhs':'合计户数','d_gyql':'工业气量','e_gyhs':'工业户数','f_syql':'商业气量','g_syhs':'商业户数',