manage-client 3.3.179 → 3.3.181

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 (53) hide show
  1. package/build/dev-server.js +11 -7
  2. package/gradle/wrapper/gradle-wrapper.properties +5 -5
  3. package/gradlew +234 -234
  4. package/gradlew.bat +89 -89
  5. package/package.json +1 -1
  6. package/src/components/SellReport/BusinessClassify.vue +292 -292
  7. package/src/components/SellReport/GasMoneyPublicConReport.vue +258 -258
  8. package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
  9. package/src/components/sale/businessquery/BusinessManage.vue +212 -212
  10. package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
  11. package/src/components/sale/businessquery/ChargeQuery.vue +6 -0
  12. package/src/components/sale/businessquery/FMYGasQuery.vue +813 -813
  13. package/src/components/sale/businessquery/TransferQuery.vue +502 -502
  14. package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
  15. package/src/components/sale/config/exportConfig.js +1245 -1245
  16. package/src/components/sale/filesquery/RecordInfoQuery.vue +1443 -1443
  17. package/src/components/webmeter/gasStatistics/GasStatistics.vue +525 -525
  18. package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +541 -541
  19. package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +3 -1
  20. package/src/filiale/WEINAN/InspectListGas.vue +616 -616
  21. package/src/filiale/jingyang/RechargeList.vue +346 -346
  22. package/src/filiale/jingyang/sale.js +6 -6
  23. package/src/filiale/kelai/GasStatistics.vue +536 -536
  24. package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
  25. package/src/filiale/lixianV3/RecordInfoQuery.vue +22 -1
  26. package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -0
  27. package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
  28. package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
  29. package/src/filiale/meihekou/CollectManage.vue +3 -3
  30. package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
  31. package/src/filiale/meihekou/OtherChargeQuery.vue +4 -5
  32. package/src/filiale/meihekou/UserSellHeadDetail.vue +492 -0
  33. package/src/filiale/meihekou/config/exportConfig.js +1 -2
  34. package/src/filiale/meihekou/sale.js +5 -0
  35. package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
  36. package/src/filiale/qianneng/exportConfig.js +232 -232
  37. package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
  38. package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
  39. package/src/filiale/taizhoukesi/config/exportConfig.js +2379 -2379
  40. package/src/filiale/taizhoukesi/sale.js +11 -11
  41. package/src/filiale/tongchuan/InspectListGas.vue +700 -700
  42. package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
  43. package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
  44. package/src/filiale/yangchun/RecordInfoQuery.vue +1477 -0
  45. package/src/filiale/yangchun/UserQuery.vue +980 -980
  46. package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
  47. package/src/filiale/yangchun/config/exportConfig.js +1230 -1231
  48. package/src/filiale/yangchun/config/tableConfig.js +58 -58
  49. package/src/filiale/yangchun/reportManage.js +6 -6
  50. package/src/filiale/yangchun/sale.js +12 -8
  51. package/src/filiale/yangchun/webmeterManage.js +5 -5
  52. package/src/reportManage.js +768 -768
  53. package/src/saleManage.js +689 -689
@@ -493,6 +493,18 @@
493
493
  <input type="text" style="width:60%" class="input_search" v-model="model.f_comments"
494
494
  condition="f_comments like '%{}%'" placeholder='备注信息'>
495
495
  </div>
496
+ <div class="col-sm-2 form-group">
497
+ <label class="font_normal_body">有无备注</label>
498
+ <v-select
499
+ placeholder='有无备注'
500
+ :value.sync="$parent.$parent.f_hasComments"
501
+ style="width:60%"
502
+ :value-single="true"
503
+ v-model="$parent.$parent.f_hasComments"
504
+ :options='$parent.$parent.hasComments'
505
+ close-on-select>
506
+ </v-select>
507
+ </div>
496
508
  </div>
497
509
  </div>
498
510
  </criteria>
@@ -512,7 +524,7 @@
512
524
  <th colspan="6">
513
525
  <nobr>燃气表</nobr>
514
526
  </th>
515
- <th colspan="62">
527
+ <th colspan="63">
516
528
  <nobr>其他</nobr>
517
529
  </th>
518
530
  </tr>
@@ -972,6 +984,7 @@
972
984
  dep:[],
973
985
  user:[],
974
986
  },
987
+ f_hasComments: '',
975
988
  // 合计数据
976
989
  sumsmodel: {},
977
990
  //表册片区
@@ -979,6 +992,7 @@
979
992
  meterStyle:[{label: '全部',value: ''}],
980
993
  pricenames:[],
981
994
  dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
995
+ hasComments:[{label:"全部",value:""},{label:"有",value:"有",},{label:"无",value:"无",}],
982
996
  networkvalves: this.$appdata.getParam('自动阀控') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('自动阀控')] : [],
983
997
  }
984
998
  },
@@ -1150,6 +1164,13 @@
1150
1164
  args.condition = `${args.condition}` + this.orgCondtionStr
1151
1165
  }
1152
1166
  console.log("查看条件",this.conditon2)
1167
+ if (this.f_hasComments) {
1168
+ if (this.f_hasComments === '有') {
1169
+ args.condition +=` and f_comments != '' and f_comments is not null`
1170
+ } else {
1171
+ args.condition +=` and (f_comments = '' or f_comments is null)`
1172
+ }
1173
+ }
1153
1174
  if(this.card!=''){
1154
1175
  args.condition +=` and f_card_id='${this.card}'`
1155
1176
  }
@@ -0,0 +1,206 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
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="col-sm-2 form-group">
30
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
31
+ <v-select :value.sync="model.f_residential_area"
32
+ class="select_list select"
33
+ enter-push
34
+ multiple
35
+ condition="a.f_residential_area in {}"
36
+ v-model="model.f_residential_area"
37
+ style="width: 60%"
38
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
39
+ close-on-select>
40
+ </v-select>
41
+ </div>
42
+ <div class="span" style="float:right;">
43
+ <button class="button_search button_spacing" @click="search()">查询</button>
44
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
45
+ <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>
46
+ </div>
47
+ </div>
48
+ <div class="row" v-show="$parent.$parent.criteriaShow">
49
+ <div class="col-sm-2 form-group">
50
+ <label class="font_normal_body">组织机构</label>
51
+ <res-select
52
+ restype='organization'
53
+ @res-select="$parent.$parent.getorg"
54
+ is-mul="false"
55
+ :initresid='$parent.$parent.curorgid'
56
+ >
57
+ </res-select>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ </criteria>
62
+
63
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
64
+ <template partial='head'>
65
+ <tr>
66
+ <th>
67
+ <nobr>小区</nobr>
68
+ </th>
69
+ <th>
70
+ <nobr>楼号</nobr>
71
+ </th>
72
+ <th>
73
+ <nobr>总户数</nobr>
74
+ </th>
75
+ <th>
76
+ <nobr>机表</nobr>
77
+ </th>
78
+ <th>
79
+ <nobr>卡表</nobr>
80
+ </th>
81
+ <th>
82
+ <nobr>物联网表</nobr>
83
+ </th>
84
+ </tr>
85
+ </template>
86
+ <template partial='body'>
87
+ <td style="text-align:center">
88
+ <nobr>{{row.f_residential_area}}</nobr>
89
+ </td>
90
+ <td style="text-align: center;">
91
+ <nobr>{{row.f_building}}</nobr>
92
+ </td>
93
+ <td style="text-align: center;">
94
+ <nobr>{{row.useriddata}}</nobr>
95
+ </td>
96
+ <td style="text-align: center;">
97
+ <nobr>{{row.jibdata}}</nobr>
98
+ </td>
99
+ <td style="text-align: center;">
100
+ <nobr>{{row.kadata}}</nobr>
101
+ </td>
102
+ <td style="text-align: center;">
103
+ <nobr>{{row.wuliandata}}</nobr>
104
+ </td>
105
+ </template>
106
+ <template partial='foot'></template>
107
+ </data-grid>
108
+ </criteria-paged>
109
+ </div>
110
+ </div>
111
+ </div>
112
+ </template>
113
+
114
+ <script>
115
+ import {HttpResetClass, PagedList} from 'vue-client'
116
+
117
+ let readySomething = async function (self) {
118
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
119
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
120
+ }
121
+ export default {
122
+ title: '小区楼栋统计',
123
+ data() {
124
+ return {
125
+ showinfo: false,
126
+ show:false,
127
+ model: new PagedList('api/af-revenue/sql/areaGeneralQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
128
+ criteriaShow: false,
129
+ //小区
130
+ residentialArea: [],
131
+ // 公司下拉
132
+ curorgid: [this.$login.f.orgid],
133
+ f_orgid: '',
134
+ f_filialeids: this.$login.f.f_orgid
135
+ }
136
+ },
137
+ ready() {
138
+ this.getaddress()
139
+ readySomething(this).then(() => {
140
+ this.$emit('ready')
141
+ }).catch((error) => {
142
+ this.$emit('error', error)
143
+ })
144
+ },
145
+ methods: {
146
+ getorg (val) {
147
+ this.f_orgid = this.$login.convertToIn(val)
148
+ this.f_filialeids = val[0]
149
+ },
150
+ async getaddress(){
151
+ console.log('开始获取小区')
152
+ let HttpReset = new HttpResetClass()
153
+ var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
154
+ data: {
155
+ condition: `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
156
+ }
157
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
158
+ console.log('小区',data)
159
+ let house = [{label: '全部', value: ''}]
160
+ for (let row of data.data){
161
+ console.log('开始保存小区')
162
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
163
+ }
164
+ this.residentialArea = house
165
+ },
166
+ search(){
167
+ this.$refs.paged.$refs.cri.search()
168
+ },
169
+ selfSearch(args) {
170
+ if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === ''){
171
+ this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
172
+ } else {
173
+ if (!this.f_orgid) {
174
+ this.getorg([this.$login.f.orgid])
175
+ }
176
+ args.condition = `${args.condition} and a.f_filialeid = '${this.f_filialeids}'`
177
+ this.model.search(args.condition, args.model)
178
+ }
179
+ },
180
+ clear() {
181
+ //清空部门和人员
182
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
183
+ //部门和人员变为全选
184
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
185
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
186
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
187
+ this.$refs.paged.$refs.cri.model[key] = []
188
+ })
189
+ },
190
+ show() {
191
+ this.criteriaShow = true
192
+ },
193
+ hidden() {
194
+ this.criteriaShow = !this.criteriaShow
195
+ }
196
+ },
197
+ events:{
198
+ },
199
+ watch: {
200
+ 'model'(val) {
201
+ }
202
+ },
203
+ computed: {
204
+ }
205
+ }
206
+ </script>