manage-client 3.2.138 → 3.2.142

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 (31) hide show
  1. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  2. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  3. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  4. package/build/dev-server.js +1 -1
  5. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  6. package/build/tmp/jar/MANIFEST.MF +2 -0
  7. package/package.json +1 -1
  8. package/src/components/SellReport/Cardapplysgas.vue +274 -0
  9. package/src/components/SellReport/GasPropertiesManager.vue +151 -0
  10. package/src/components/SellReport/LeftChart.vue +132 -0
  11. package/src/components/SellReport/MarketMonthChart.vue +162 -0
  12. package/src/components/SellReport/MarketMonthgas.vue +244 -0
  13. package/src/components/WebReport/EchartsBox.vue +54 -34
  14. package/src/components/daping/DataManagement.vue +4 -4
  15. package/src/components/daping/json/dataManage.json +11 -7
  16. package/src/components/qinhua/Pie.vue +18 -8
  17. package/src/components/sale/businessquery/AccountQuery/keyUserGasRanking.vue +165 -0
  18. package/src/components/sale/businessquery/ArrearsQuery.vue +13 -11
  19. package/src/components/sale/businessquery/ChargeQuery.vue +4 -4
  20. package/src/components/sale/businessquery/CollectManage.vue +6 -0
  21. package/src/components/sale/businessquery/CommunityPaymen.vue +1 -1
  22. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +5 -2
  23. package/src/components/sale/businessquery/NoBusinessQuery.vue +37 -38
  24. package/src/components/sale/businessquery/ResidentialCardQuery.vue +373 -0
  25. package/src/components/sale/config/exportConfig.js +2 -2
  26. package/src/components/sale/filesquery/MeterQuery.vue +21 -1
  27. package/src/components/sale/filesquery/RecordInfoQuery.vue +16 -0
  28. package/src/filiale/qianneng/MeterQuery.vue +21 -1
  29. package/src/filiale/rongcheng/RecordInfoQuery.vue +1 -1
  30. package/src/reportManage.js +18 -0
  31. package/src/saleManage.js +6 -0
@@ -0,0 +1,165 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex">
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 form-group">
10
+ <label for="startDate" 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
+ >
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-2 form-group">
20
+ <label for="endDate" 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
+ >
27
+ </datepicker>
28
+ </div>
29
+ <div class="span" style="float:right;">
30
+ <button class="button_search button_spacing" @click="search">查询</button>
31
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
32
+
33
+ <export-excel :data="$parent.$parent.getCondition"
34
+ :field="$parent.$parent.getfield"
35
+ sqlurl="rs/logic/exportfile"
36
+ sql-name="residentialCardQuery"
37
+ template-name='重点用户用气排行查询'
38
+ :choose-col="true"></export-excel>
39
+ <print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
40
+ :defaultfield="$parent.$parent.defaultfield"
41
+ titletable="重点用户用气排行查询"
42
+ ></print-data>
43
+ <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>
44
+
45
+ </div>
46
+ </div>
47
+ <div class="row" v-show="$parent.$parent.criteriaShow">
48
+ <div class="col-sm-2 form-group">
49
+ <label class="font_normal_body">客户编号</label>
50
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
51
+ condition="f_userinfo_code = '{}' " placeholder="客户编号">
52
+ </div>
53
+ <div class="col-sm-2 form-group">
54
+ <label class="font_normal_body">客户姓名</label>
55
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
56
+ condition="f_user_name = '{}' " placeholder="客户姓名">
57
+ </div>
58
+ <div class="col-sm-2 form-group">
59
+ <label class="font_normal_body">表号</label>
60
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
61
+ condition="f_meternumber = '{}' " placeholder="表号">
62
+ </div>
63
+ <div class="col-sm-2 form-group">
64
+ <label class="font_normal_body">用气性质</label>
65
+ <v-select :value.sync="model.f_gasproperties" multiple
66
+ v-model="model.f_gasproperties"
67
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
68
+ condition="f_gasproperties in {}"
69
+ close-on-select></v-select>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ </criteria>
74
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
75
+ <template partial='head'>
76
+ <tr>
77
+ <th v-for="(key,value ) in $parent.$parent.$parent.config.pageFilds" ><nobr>{{value}}</nobr></th>
78
+ </tr>
79
+ </template>
80
+ <template partial='body'>
81
+ <td style="text-align: center;" v-for="(key,value ) in $parent.$parent.$parent.config.pageFilds"><nobr>{{row[key]}}</nobr></td>
82
+ </template>
83
+ <template partial='foot'></template>
84
+ </data-grid>
85
+ </criteria-paged>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ </template>
90
+
91
+ <script>
92
+ import {PagedList, HttpResetClass} from 'vue-client'
93
+ import defaultPrint from '../../config/DefaultPrint'
94
+ import plugins from "../../../../plugins/GetLoginInfoService";
95
+
96
+ let readySomething = async function (self) {
97
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
98
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
99
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
100
+ await self.$MagLoadParams.loadParam()
101
+
102
+ }
103
+
104
+ export default {
105
+ title: '重点用户用气排行查询',
106
+ data() {
107
+ let model = new PagedList('rs/sql/keyUserGasRanking', 20, {
108
+ startDate: 'this.model.startDate',
109
+ endDate: 'this.model.endDate'
110
+ })
111
+ return {
112
+ //默认打印列
113
+ defaultfield: [],
114
+ config: {
115
+ pageFilds:{
116
+ 'f_userinfo_code': '用户编号', 'f_user_name': '用户名', 'f_meternumber': '表号', 'f_gasproperties': '用气性质','f_pregas' : '用气量', 'f_bv':'所在用气性质占比'
117
+ },
118
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_meternumber','f_gasproperties','f_pregas', 'f_bv']
119
+ },
120
+ model: model,
121
+ criteriaShow: false,
122
+ gasproperties:[{label: '全部',value: ''}, ...this.$appdata.getParam('用气性质')]
123
+ }
124
+ },
125
+ ready() {
126
+ readySomething(this).then(() => {
127
+ this.$emit('ready')
128
+ }).catch((error) => {
129
+ this.$emit('error', error)
130
+ })
131
+ },
132
+ methods: {
133
+ selfSearch(args) {
134
+ if(!this.$refs.paged.$refs.cri.model.startDate || !this.$refs.paged.$refs.cri.model.endDate){
135
+ return this.$showMessage("时间区间的开始和结束时间不能为空!");
136
+ }
137
+ this.model.search(args.condition, args.model)
138
+ },
139
+ clear() {
140
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
141
+ this.$refs.paged.$refs.cri.model[key] = []
142
+ })
143
+ },
144
+ hidden() {
145
+ this.criteriaShow = !this.criteriaShow
146
+ }
147
+ },
148
+ watch: {
149
+ },
150
+ computed: {
151
+
152
+ getCondition() {
153
+ return {
154
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
155
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
156
+ condition: this.$refs.paged.$refs.cri.condition
157
+ }
158
+ },
159
+ getfield() {
160
+ return this.config.pageFilds
161
+ }
162
+ }
163
+
164
+ }
165
+ </script>
@@ -8,20 +8,20 @@
8
8
  <div class="row">
9
9
  <div class="col-sm-2 form-group">
10
10
 
11
- <label for="startDate" class="font_normal_body" title="归属日期">开始日期</label>
12
- <datepicker id="startDate" placeholder="开始日期" style="width:60%"
13
- v-model="model.startDate"
14
- :value.sync="model.startDate"
11
+ <label for="startDate1" class="font_normal_body" title="归属日期">开始日期</label>
12
+ <datepicker id="startDate1" placeholder="开始日期" style="width:60%"
13
+ v-model="model.startDate1"
14
+ :value.sync="model.startDate1"
15
15
  :format="'yyyy-MM-dd HH:mm:ss'"
16
16
  :show-reset-button="true"
17
17
  >
18
18
  </datepicker>
19
19
  </div>
20
20
  <div class="col-sm-2 form-group">
21
- <label for="endDate" class="font_normal_body" title="归属日期">结束日期</label>
22
- <datepicker id="endDate" placeholder="结束日期" style="width:60%"
23
- v-model="model.endDate"
24
- :value.sync="model.endDate"
21
+ <label for="endDate1" class="font_normal_body" title="归属日期">结束日期</label>
22
+ <datepicker id="endDate1" placeholder="结束日期" style="width:60%"
23
+ v-model="model.endDate1"
24
+ :value.sync="model.endDate1"
25
25
  :format="'yyyy-MM-dd HH:mm:ss'"
26
26
  :show-reset-button="true"
27
27
  >
@@ -563,7 +563,7 @@
563
563
  dep:[],
564
564
  user:[]
565
565
  },
566
- model: new PagedList('rs/sql/arrearsQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
566
+ model: new PagedList('rs/sql/arrearsQuery', 20, {startDate: 'this.model.inputstartDate', endDate: 'this.model.inputendDate',startDate1: 'this.model.startDate1', endDate1: 'this.model.endDate1'}, {
567
567
  f_oughtamount: 0,
568
568
  f_oughtfee: 0,
569
569
  f_debt_money: 0,
@@ -911,8 +911,10 @@
911
911
  },
912
912
  getCondition() {
913
913
  return {
914
- startDate: this.$refs.paged.$refs.cri.model.startDate,
915
- endDate: this.$refs.paged.$refs.cri.model.endDate,
914
+ startDate: this.$refs.paged.$refs.cri.model.inputstartDate,
915
+ endDate: this.$refs.paged.$refs.cri.model.inputendDate,
916
+ startDate1: this.$refs.paged.$refs.cri.model.startDate1,
917
+ endDate1: this.$refs.paged.$refs.cri.model.endDate1,
916
918
  condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
917
919
  condValue: `${this.model.condValue}`
918
920
  }
@@ -59,7 +59,7 @@
59
59
  </div>
60
60
  </div>
61
61
  <div class="row" v-show="$parent.$parent.criteriaShow">
62
- <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
62
+ <res-select-group :show-component="$parent.$parent.resshow" :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
63
63
  <div class="col-sm-2 form-group">
64
64
  <label class="font_normal_body">客户名称</label>
65
65
  <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
@@ -697,7 +697,7 @@
697
697
  <nobr>{{row.f_stairamount1}}</nobr>
698
698
  </td>
699
699
  <td style="text-align: center;">
700
- <nobr>{{row.f_stair1price}}</nobr>
700
+ <nobr>{{row.conutnum>1?'--':row.f_stair1price}}</nobr>
701
701
  </td>
702
702
  <td style="text-align: center;">
703
703
  <nobr>{{(row.f_stair1fee - 0).toFixed(2)}}</nobr>
@@ -706,7 +706,7 @@
706
706
  <nobr>{{row.f_stair2amount}}</nobr>
707
707
  </td>
708
708
  <td style="text-align: center;">
709
- <nobr>{{row.f_stair2price}}</nobr>
709
+ <nobr>{{row.conutnum>1?'--':row.f_stair2price}}</nobr>
710
710
  </td>
711
711
  <td style="text-align: center;">
712
712
  <nobr>{{(row.f_stair2fee - 0).toFixed(2)}}</nobr>
@@ -715,7 +715,7 @@
715
715
  <nobr>{{row.f_stair3amount}}</nobr>
716
716
  </td>
717
717
  <td style="text-align: center;">
718
- <nobr>{{row.f_stair3price}}</nobr>
718
+ <nobr>{{row.conutnum>1?'--':row.f_stair3price}}</nobr>
719
719
  </td>
720
720
  <td style="text-align: center;">
721
721
  <nobr>{{(row.f_stair3fee - 0).toFixed(2)}}</nobr>
@@ -15,6 +15,9 @@
15
15
  <tabs header="小区汇总(机表)" v-if="permission('小区汇总(机表)')">
16
16
  <residential-query v-if="show.includes('小区汇总(机表)')" @deal-msg="dealMsg"></residential-query>
17
17
  </tabs>
18
+ <tabs header="小区汇总(卡表)" v-if="permission('小区汇总(卡表)')">
19
+ <residential-card-query v-if="show.includes('小区汇总(卡表)')" @deal-msg="dealMsg" ></residential-card-query>
20
+ </tabs>
18
21
  <!--<tabs header="小区欠费汇总(机表)" v-if="permission('小区欠费汇总(机表)')">-->
19
22
  <!--<residential-arrears-query v-if="show.includes('小区欠费汇总(机表)')" @deal-msg="dealMsg"></residential-arrears-query>-->
20
23
  <!--</tabs>-->
@@ -96,6 +99,9 @@
96
99
  <tabs header="明细报表查询" v-if="permission('明细报表查询')">
97
100
  <report-detail ></report-detail>
98
101
  </tabs>
102
+ <tabs header="重点用户用气排行查询" v-if="permission('重点用户用气排行查询')">
103
+ <key-user-gas-ranking v-if="show.includes('重点用户用气排行查询')" @deal-msg="dealMsg" ></key-user-gas-ranking>
104
+ </tabs>
99
105
  </tab-button>
100
106
 
101
107
  </template>
@@ -35,7 +35,7 @@
35
35
  style="width: 60%"
36
36
  v-model="model.f_residential_area"
37
37
  :options='$parent.$parent.residentialArea' placeholder='选择小区'
38
- condition="ud.f_residential_area = '{}'"
38
+ condition="f_residential_area = '{}'"
39
39
  close-on-select search="true">
40
40
  </v-select>
41
41
  </div>
@@ -274,6 +274,7 @@
274
274
  self.$MagGetSaleParam.initinputtor();
275
275
  self.getinputtores();
276
276
  self.initmeterbook();
277
+ self.initSlice()
277
278
  self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
278
279
  self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
279
280
  // self.$refs.paged.$refs.cri.search()
@@ -339,8 +340,7 @@
339
340
  }
340
341
  },
341
342
  ready() {
342
- // this.getaddress()
343
- //
343
+ this.getaddress()
344
344
  readySomething(this).then(() => {
345
345
  this.$emit('ready')
346
346
  }).catch((error) => {
@@ -350,6 +350,9 @@
350
350
  methods: {
351
351
  //初始化片区
352
352
  async initSlice (val) {
353
+ if(val == null ){
354
+ val = this.f_filialeid;
355
+ }
353
356
  if (val) {
354
357
  let getAllArea = await this.$resetpost('/rs/search', {
355
358
  source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
@@ -65,14 +65,14 @@
65
65
  <!--<input type="text" style="width:60%" class="input_search" v-model="model.id"-->
66
66
  <!--condition="id = '{}'" placeholder="收费编号">-->
67
67
  <!--</div>-->
68
- <div class="col-sm-2 form-group">
69
- <label class="font_normal_body">抄&ensp;表&ensp;册</label>
70
- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"
71
- :options='$parent.$parent.meterbooks' placeholder='抄表册'
72
- style="width:60%"
73
- close-on-select
74
- condition="f_meter_book_num = '{}'"></v-select>
75
- </div>
68
+ <!-- <div class="col-sm-2 form-group">-->
69
+ <!-- <label class="font_normal_body">抄&ensp;表&ensp;册</label>-->
70
+ <!-- <v-select :value.sync="model.f_meter_book" v-model="model.f_meter_book"-->
71
+ <!-- :options='$parent.$parent.meterbooks' placeholder='抄表册'-->
72
+ <!-- style="width:60%"-->
73
+ <!-- close-on-select-->
74
+ <!-- condition="f_meter_book_num = '{}'"></v-select>-->
75
+ <!-- </div>-->
76
76
  <div class="col-sm-2 form-group">
77
77
  <label class="font_normal_body">客户电话</label>
78
78
  <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
@@ -149,38 +149,37 @@
149
149
  <v-select :value.sync="model.f_price_name"
150
150
  v-model="model.f_price_name"
151
151
  :options="$parent.$parent.getPricenames"
152
- condition="f_price_name = '{}'"
153
152
  close-on-select></v-select>
154
153
  </div>
155
- <div class="col-sm-2 form-group">
156
- <label class="font_normal_body" title="欠费气量大于">欠费气量</label>
157
- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtamount"
158
- condition="f_oughtamount > '{}'" placeholder="欠费气量大于">
159
- </div>
160
- <div class="col-sm-2 form-group">
161
- <label class="font_normal_body" title="气费金额大于">气费金额</label>
162
- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_new"
163
- condition="f_oughtfee_new > '{}'" placeholder="气费金额大于">
164
- </div>
165
- <div class="col-sm-2 form-group">
166
- <label class="font_normal_body" title="欠费金额大于">欠费金额</label>
167
- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_all"
168
- condition="f_oughtfee_all > '{}'" placeholder="欠费金额大于">
169
- </div>
170
- <div class="col-sm-2 form-group">
171
- <label class="font_normal_body">欠费期数</label>
172
- <input type="text" style="width:60%" class="input_search" v-model="model.c"
173
- condition="c > '{}'" placeholder='欠费期数大于'>
174
- </div>
175
- <div class="col-sm-2 form-group">
176
- <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>
177
- <v-select :value.sync="model.f_inputtor"
178
- v-model="model.f_inputtor"
179
- :options='$parent.$parent.inputtores' placeholder='请选择'
180
- condition="f_inputtor = '{}'"
181
- close-on-select :search="false">
182
- </v-select>
183
- </div>
154
+ <!-- <div class="col-sm-2 form-group">-->
155
+ <!-- <label class="font_normal_body" title="欠费气量大于">欠费气量</label>-->
156
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtamount"-->
157
+ <!-- condition="f_oughtamount > '{}'" placeholder="欠费气量大于">-->
158
+ <!-- </div>-->
159
+ <!-- <div class="col-sm-2 form-group">-->
160
+ <!-- <label class="font_normal_body" title="气费金额大于">气费金额</label>-->
161
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_new"-->
162
+ <!-- condition="f_oughtfee_new > '{}'" placeholder="气费金额大于">-->
163
+ <!-- </div>-->
164
+ <!-- <div class="col-sm-2 form-group">-->
165
+ <!-- <label class="font_normal_body" title="欠费金额大于">欠费金额</label>-->
166
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.f_oughtfee_all"-->
167
+ <!-- condition="f_oughtfee_all > '{}'" placeholder="欠费金额大于">-->
168
+ <!-- </div>-->
169
+ <!-- <div class="col-sm-2 form-group">-->
170
+ <!-- <label class="font_normal_body">欠费期数</label>-->
171
+ <!-- <input type="text" style="width:60%" class="input_search" v-model="model.c"-->
172
+ <!-- condition="c > '{}'" placeholder='欠费期数大于'>-->
173
+ <!-- </div>-->
174
+ <!-- <div class="col-sm-2 form-group">-->
175
+ <!-- <label class="font_normal_body" >抄&nbsp;&nbsp;表&nbsp;员</label>-->
176
+ <!-- <v-select :value.sync="model.f_inputtor"-->
177
+ <!-- v-model="model.f_inputtor"-->
178
+ <!-- :options='$parent.$parent.inputtores' placeholder='请选择'-->
179
+ <!-- condition="f_inputtor = '{}'"-->
180
+ <!-- close-on-select :search="false">-->
181
+ <!-- </v-select>-->
182
+ <!-- </div>-->
184
183
  <div class="col-sm-2 form-group" v-if="false">
185
184
  <label class="font_normal_body">&nbsp;抄&nbsp;表&nbsp;员</label>
186
185
  <input type="text" style="width:60%" class="input_search" v-model="model.f_inputtor"