manage-client 3.3.179 → 3.3.180
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/build/dev-server.js +11 -7
- package/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/gradlew +234 -234
- package/gradlew.bat +89 -89
- package/package.json +1 -1
- package/src/components/SellReport/BusinessClassify.vue +292 -292
- package/src/components/SellReport/GasMoneyPublicConReport.vue +258 -258
- package/src/components/handReport/WebGastypeMonthReport.vue +190 -190
- package/src/components/sale/businessquery/BusinessManage.vue +212 -212
- package/src/components/sale/businessquery/CardHandplanQuery.vue +546 -546
- package/src/components/sale/businessquery/FMYGasQuery.vue +813 -813
- package/src/components/sale/businessquery/TransferQuery.vue +502 -502
- package/src/components/sale/businessquery/WebMeterMonthUserGasQuery.vue +471 -471
- package/src/components/sale/config/exportConfig.js +1245 -1245
- package/src/components/sale/filesquery/RecordInfoQuery.vue +1443 -1443
- package/src/components/webmeter/gasStatistics/GasStatistics.vue +525 -525
- package/src/components/webmeter/gasStatistics/NewGasStatistics.vue +541 -541
- package/src/filiale/WEINAN/InspectListGas.vue +616 -616
- package/src/filiale/jingyang/RechargeList.vue +346 -346
- package/src/filiale/jingyang/sale.js +6 -6
- package/src/filiale/kelai/GasStatistics.vue +536 -536
- package/src/filiale/liaoyuan/HandplanQuery.vue +1289 -1289
- package/src/filiale/meihekou/AreaGeneralQuery.vue +206 -0
- package/src/filiale/meihekou/CardHandplanQuery.vue +664 -664
- package/src/filiale/meihekou/ChargeQuery.vue +1274 -1274
- package/src/filiale/meihekou/CollectManage.vue +3 -3
- package/src/filiale/meihekou/HandplanQuery.vue +1248 -1248
- package/src/filiale/meihekou/OtherChargeQuery.vue +4 -5
- package/src/filiale/meihekou/UserSellHeadDetail.vue +492 -0
- package/src/filiale/meihekou/config/exportConfig.js +1 -2
- package/src/filiale/meihekou/sale.js +5 -0
- package/src/filiale/ningjin/UserLostContactAnalysis.vue +623 -623
- package/src/filiale/qianneng/exportConfig.js +232 -232
- package/src/filiale/shaoguan/errorHandplanQuery.vue +386 -386
- package/src/filiale/taizhoukesi/ChangeMeterQuery.vue +683 -683
- package/src/filiale/taizhoukesi/config/exportConfig.js +2379 -2379
- package/src/filiale/taizhoukesi/sale.js +11 -11
- package/src/filiale/tongchuan/InspectListGas.vue +700 -700
- package/src/filiale/tongchuan/ResSelectGroupNew.vue +188 -188
- package/src/filiale/yangchun/ManageBusSummaryNew.vue +239 -239
- package/src/filiale/yangchun/RecordInfoQuery.vue +1477 -0
- package/src/filiale/yangchun/UserQuery.vue +980 -980
- package/src/filiale/yangchun/config/DefaultPrint.js +6 -6
- package/src/filiale/yangchun/config/exportConfig.js +1230 -1231
- package/src/filiale/yangchun/config/tableConfig.js +58 -58
- package/src/filiale/yangchun/reportManage.js +6 -6
- package/src/filiale/yangchun/sale.js +12 -8
- package/src/filiale/yangchun/webmeterManage.js +5 -5
- package/src/reportManage.js +768 -768
- package/src/saleManage.js +689 -689
|
@@ -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"> 小区 </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>
|