manage-client 3.3.123 → 3.3.125

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.3.123",
3
+ "version": "3.3.125",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -33,7 +33,11 @@
33
33
  <button class="button_search button_spacing" @click="search()">查询</button>
34
34
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
35
35
 
36
- <button class="button_clear button_spacing" style="margin-top: 10px;background-color: #6aa6e2;" @click="$parent.$parent.downloadFiles()">导出</button>
36
+ <export-excel :data="$parent.$parent.getCondition"
37
+ :field="$parent.$parent.getfield" :header="$parent.$parent.other"
38
+ sqlurl="rs/logic/exportfile" sql-name="YCMonthSummary" template-name='居民用户各项数据统计表(月报)'
39
+ :choose-col="true">
40
+ </export-excel>
37
41
  <div style="float: right" class="button_spacing"
38
42
  :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
39
43
  @click="$parent.$parent.hidden()"></div>
@@ -48,6 +52,11 @@
48
52
  <data-grid :model="model" partial='list' class="list_area table_sy" style="height: 95%" v-ref:grid>
49
53
  <template partial='head'>
50
54
  <tr>
55
+ <th colspan="4" style="text-align: center;"><nobr></nobr></th>
56
+ <th colspan="4" style="text-align: center;"><nobr>开通数</nobr></th>
57
+ <th colspan="4" style="text-align: center;"><nobr>通气数</nobr></th>
58
+ <th colspan="4" style="text-align: center;"><nobr>未通气数</nobr></th>
59
+ <th colspan="4" style="text-align: center;"><nobr>热水器</nobr></th>
51
60
  <th colspan="4" style="text-align: center;"><nobr>壁挂炉</nobr></th>
52
61
  <th colspan="4" style="text-align: center;"><nobr>门面房</nobr></th>
53
62
  <th colspan="3" style="text-align: center;"><nobr>三项强制措施</nobr></th>
@@ -55,6 +64,66 @@
55
64
  <th colspan="2" style="text-align: center;"><nobr></nobr></th>
56
65
  </tr>
57
66
  <tr>
67
+ <th style="text-align: center;">
68
+ <nobr>序号</nobr>
69
+ </th>
70
+ <th style="text-align: center;">
71
+ <nobr>片区</nobr>
72
+ </th>
73
+ <th style="text-align: center;">
74
+ <nobr>小区名称</nobr>
75
+ </th>
76
+ <th style="text-align: center;">
77
+ <nobr>小区开通时间</nobr>
78
+ </th>
79
+ <th style="text-align: center;">
80
+ <nobr>膜式表</nobr>
81
+ </th>
82
+ <th style="text-align: center;">
83
+ <nobr>卡表</nobr>
84
+ </th>
85
+ <th style="text-align: center;">
86
+ <nobr>金卡物联网表</nobr>
87
+ </th>
88
+ <th style="text-align: center;">
89
+ <nobr>新天物联网表</nobr>
90
+ </th>
91
+ <th style="text-align: center;">
92
+ <nobr>膜式表</nobr>
93
+ </th>
94
+ <th style="text-align: center;">
95
+ <nobr>卡表</nobr>
96
+ </th>
97
+ <th style="text-align: center;">
98
+ <nobr>金卡物联网表</nobr>
99
+ </th>
100
+ <th style="text-align: center;">
101
+ <nobr>新天物联网表</nobr>
102
+ </th>
103
+ <th style="text-align: center;">
104
+ <nobr>膜式表</nobr>
105
+ </th>
106
+ <th style="text-align: center;">
107
+ <nobr>卡表</nobr>
108
+ </th>
109
+ <th style="text-align: center;">
110
+ <nobr>金卡物联网表</nobr>
111
+ </th>
112
+ <th style="text-align: center;">
113
+ <nobr>新天物联网表</nobr>
114
+ </th>
115
+ <th style="text-align: center;">
116
+ <nobr>膜式表</nobr>
117
+ </th>
118
+ <th style="text-align: center;">
119
+ <nobr>卡表</nobr>
120
+ </th>
121
+ <th style="text-align: center;">
122
+ <nobr>金卡物联网表</nobr>
123
+ </th>
124
+ <th style="text-align: center;">
125
+ <nobr>新天物联网表</nobr>
126
+ </th>
58
127
  <th style="text-align: center;">
59
128
  <nobr>膜式表</nobr>
60
129
  </th>
@@ -101,14 +170,34 @@
101
170
  </template>
102
171
  <template partial='body'>
103
172
  <tr style="position: relative" class="table-bordered">
173
+ <td ><nobr>{{$index + 1}}</nobr></td>
174
+ <td style="text-align: center;">{{ row.f_slice_area }}</td>
175
+ <td style="text-align: center;">{{ row.f_residential_area }}</td>
176
+ <td style="text-align: center;">{{ row.f_operate_date }}</td>
177
+ <td style="text-align: center;">{{ row.kts_machine }}</td>
178
+ <td style="text-align: center;">{{ row.kts_card }}</td>
179
+ <td style="text-align: center;">{{ row.kts_jk }}</td>
180
+ <td style="text-align: center;">{{ row.kts_xt }}</td>
181
+ <td style="text-align: center;">{{ row.gas_machine }}</td>
182
+ <td style="text-align: center;">{{ row.gas_card }}</td>
183
+ <td style="text-align: center;">{{ row.gas_jk }}</td>
184
+ <td style="text-align: center;">{{ row.gas_xt }}</td>
185
+ <td style="text-align: center;">{{ row.ungas_machine }}</td>
186
+ <td style="text-align: center;">{{ row.ungas_card }}</td>
187
+ <td style="text-align: center;">{{ row.ungas_jk }}</td>
188
+ <td style="text-align: center;">{{ row.ungas_xt }}</td>
189
+ <td style="text-align: center;">{{ row.rsq_machine }}</td>
190
+ <td style="text-align: center;">{{ row.rsq_card }}</td>
191
+ <td style="text-align: center;">{{ row.rsq_jk }}</td>
192
+ <td style="text-align: center;">{{ row.rsq_xt }}</td>
104
193
  <td style="text-align: center;">{{ row.gbl_machine }}</td>
105
194
  <td style="text-align: center;">{{ row.gbl_card }}</td>
106
- <td style="text-align: center;">{{ row.gbl_xt }}</td>
107
195
  <td style="text-align: center;">{{ row.gbl_jk }}</td>
196
+ <td style="text-align: center;">{{ row.gbl_xt }}</td>
108
197
  <td style="text-align: center;">{{ row.sy_machine }}</td>
109
198
  <td style="text-align: center;">{{ row.sy_card }}</td>
110
- <td style="text-align: center;">{{ row.sy_xt }}</td>
111
199
  <td style="text-align: center;">{{ row.sy_jk }}</td>
200
+ <td style="text-align: center;">{{ row.sy_xt }}</td>
112
201
  <td style="text-align: center;">{{ row.force_zbf }}</td>
113
202
  <td style="text-align: center;">{{ row.force_bwg }}</td>
114
203
  <td style="text-align: center;">{{ row.force_zj }}</td>
@@ -160,11 +249,10 @@
160
249
  }
161
250
  },
162
251
  ready () {
163
- let year = new Date().getFullYear()
164
- this.$refs.paged.$refs.cri.model.searchyear = year
165
- this.$refs.paged.$refs.cri.model.compareyear = year-1
166
- this.getinputtores()
167
- this.getaddress()
252
+ this.$refs.paged.$refs.cri.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
253
+ this.$refs.paged.$refs.cri.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
254
+ // this.getinputtores()
255
+ // this.getaddress()
168
256
  readySomething(this).then(() => {
169
257
  this.$emit('ready')
170
258
  }).catch((error) => {
@@ -172,6 +260,12 @@
172
260
  })
173
261
  },
174
262
  methods: {
263
+ getotherfooter () {
264
+ this.other = [];
265
+ let otherInData = [];
266
+ otherInData.push(`居民用户各项数据统计表(月报)`);
267
+ this.other.push(otherInData);
268
+ },
175
269
  async initmeterbook(){
176
270
  this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
177
271
  },
@@ -257,7 +351,15 @@
257
351
  computed: {
258
352
  getfield () {
259
353
  return {
260
-
354
+ 'f_slice_area': '片区', 'f_residential_area': '小区名称', 'f_operate_date': '小区开通时间',
355
+ 'kts_machine': '膜表开通数', 'kts_card': '卡表开通数', 'kts_xt': '金卡开通数', 'kts_jk': '新天开通数',
356
+ 'gas_machine': '膜表通气数', 'gas_card': '卡表通气数', 'gas_jk': '金卡通气数', 'gas_xt': '新天通气数',
357
+ 'ungas_machine': '膜表未通气数', 'ungas_card': '卡表未通气数', 'ungas_jk': '金卡未通气数', 'ungas_xt': '新天未通气数',
358
+ 'rsq_machine': '膜表热水器', 'rsq_card': '卡表热水器', 'rsq_jk': '金卡热水器', 'rsq_xt': '新天热水器',
359
+ 'gbl_machine': '膜表壁挂炉', 'gbl_card': '卡表壁挂炉', 'gbl_jk': '金卡壁挂炉', 'gbl_xt': '新天壁挂炉',
360
+ 'sy_machine': '膜表门面房', 'sy_card': '卡表门面房', 'sy_jk': '金卡门面房', 'sy_xt': '新天门面房',
361
+ 'force_zbf': '自闭阀已装', 'force_bwg': '不锈钢波纹软管已装', 'force_zj': '带熄火保护灶具', 'owenum': '欠费户数',
362
+ 'unusenum': '长期不用停用数量', 'f_oughtamount': '当月用气量'
261
363
  }
262
364
  },
263
365
  getCondition () {
@@ -232,6 +232,15 @@
232
232
  <input type="text" style="width:60%" class="input_search" v-model="model.f_serial_id"
233
233
  condition="f_serial_id = '{}'" placeholder='流水号'>
234
234
  </div>
235
+ <div class="col-sm-2 form-group">
236
+ <label class="font_normal_body" title="是否开票">是否开票</label>
237
+ <v-select :value.sync="model.f_has_bill"
238
+ v-model="model.f_has_bill"
239
+ :options='$parent.$parent.hasbill' placeholder='请选择'
240
+ condition="f_has_bill = '{}'"
241
+ close-on-select :value-single="true" :search="false">
242
+ </v-select>
243
+ </div>
235
244
  <div class="col-sm-2 form-group">
236
245
  <label class="font_normal_body">发票号码</label>
237
246
  <input type="text" style="width:60%" class="input_search" v-model="model.f_invoice_num"
@@ -505,6 +514,9 @@
505
514
  <th>
506
515
  <nobr>业务单号</nobr>
507
516
  </th>
517
+ <th>
518
+ <nobr>是否开票</nobr>
519
+ </th>
508
520
  <th>
509
521
  <nobr>发票号码</nobr>
510
522
  </th>
@@ -719,6 +731,9 @@
719
731
  <td style="text-align: center;">
720
732
  <nobr>{{row.f_serial_number}}</nobr>
721
733
  </td>
734
+ <td style="text-align: center;">
735
+ <nobr>{{row.f_has_bill}}</nobr>
736
+ </td>
722
737
  <td style="text-align: center;">
723
738
  <nobr>{{row.f_invoice_num}}</nobr>
724
739
  </td>
@@ -1369,6 +1384,9 @@
1369
1384
  invoiceType() {
1370
1385
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('发票类型查询')]
1371
1386
  },
1387
+ hasbill() {
1388
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('是否开票')]
1389
+ },
1372
1390
  usertypes() {
1373
1391
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
1374
1392
  },
@@ -450,7 +450,7 @@ export default{
450
450
  'f_userinfo_code': '客户编号', 'f_newuser_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_address': '客户地址',
451
451
  'f_user_name': '原客户名称', 'f_newuser_phone': '新客户电话', 'f_newidnumber': '新客户身份证', 'f_user_phone': '原客户电话',
452
452
  'f_idnumber': '原客户身份证', 'f_transfer_fees': '过户费', 'f_contract_id': '合同编号', 'f_operate_date': '过户日期',
453
- 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司', 'f_meternumber': '表号'
453
+ 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司', 'f_meternumber': '表号', 'f_comments': '备注'
454
454
  },
455
455
  transferRecordConfig: {
456
456
  'in_userinfo_code': '转入方编号', 'in_user_name': '转入方名称', 'out_userinfo_code': '转出方编号', 'out_user_name': '转出方名称',
@@ -582,7 +582,7 @@ export default{
582
582
  overDueQueryConfig: {
583
583
  'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_address': '客户地址',
584
584
  'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_input_date': '抄表日期', 'f_latefee_ought': '减免金额',
585
- 'f_operator_date': '减免时间', 'f_operator': '操作员', 'f_meternumber': '表号'
585
+ 'f_operator_date': '减免时间', 'f_operator': '操作员', 'f_meternumber': '表号', 'f_comments': '备注'
586
586
  },
587
587
  GasReimbursementRate: {
588
588
  'f_book_slice_area': '片区', 'f_user_num': '户数', 'f_oughtfee': '上月欠款', 'f_month_oughtfee': '本月应收',
@@ -245,11 +245,6 @@
245
245
  <input type="text" style="width:60%" class="input_search" v-model="model.balance2"
246
246
  condition="f_balance <= '{}'" placeholder="最大值">
247
247
  </div>
248
- <div class="col-sm-2 form-group" >
249
- <label class="font_normal_body">客户地址</label>
250
- <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
251
- condition="f_address like '%{}%'" placeholder='客户地址'>
252
- </div>
253
248
  <div class="col-sm-2 form-group" >
254
249
  <label class="font_normal_body">用&ensp;气&ensp;点</label>
255
250
  <input type="text" style="width:60%" class="input_search" v-model="model.f_userfiles_address"
@@ -507,7 +502,7 @@
507
502
  <th colspan="6">
508
503
  <nobr>燃气表</nobr>
509
504
  </th>
510
- <th colspan="62">
505
+ <th colspan="63">
511
506
  <nobr>其他</nobr>
512
507
  </th>
513
508
  </tr>