manage-client 3.3.1 → 3.3.2
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 +180 -180
- package/lib/package_2022-12-01-14-30-50.json +109 -0
- package/package.json +1 -1
- package/src/components/sale/businessquery/GroupChargeQuery.vue +481 -481
- package/src/components/sale/businessquery/NewAreaGeneralQuery.vue +633 -633
- package/src/components/webmeter/recharge/RechargeList.vue +346 -346
- package/src/filiale/gehua/GroupChargeQuery.vue +486 -486
- package/src/filiale/huayin/ChargeQuery.vue +1305 -1305
- package/src/filiale/rongcheng/AreaBuildingDetailInfo.vue +281 -281
- package/src/filiale/rongcheng/AreaBuildingInfoSummary.vue +301 -301
- package/src/filiale/rongcheng/exportConfig.js +536 -536
- package/src/filiale/rongcheng/sale.js +22 -22
- package/src/filiale/shanxian/FillCardQuery.vue +569 -569
- package/src/filiale/shanxian/FillGasQuery.vue +588 -588
- package/src/filiale/shanxian/LostContactAnalysisList.vue +632 -632
- package/src/filiale/shanxian/OtherChargeQuery.vue +684 -684
- package/src/filiale/shanxian/UserLostContactAnalysis.vue +583 -583
- package/src/filiale/shanxian/UserQuery.vue +959 -959
- package/src/filiale/shanxian/sale.js +26 -26
- package/src/filiale/wenxi/ChangeMeterQuery.vue +704 -704
- package/src/filiale/wenxi/ChangeUserQuery.vue +371 -371
- package/src/filiale/wenxi/ChargeQuery.vue +1260 -1260
- package/src/filiale/wenxi/FmyGasDeviceQuery.vue +944 -944
- package/src/filiale/wenxi/GasDeviceQuery.vue +1041 -1041
- package/src/filiale/wenxi/GasStatistics.vue +515 -515
- package/src/filiale/wenxi/GetNoMetereadData.vue +374 -374
- package/src/filiale/wenxi/HandplanQuery.vue +1370 -1370
- package/src/filiale/wenxi/ManageUserTypeSell.vue +173 -173
- package/src/filiale/wenxi/MeterQuery.vue +964 -964
- package/src/filiale/wenxi/NewGasStatistics.vue +522 -522
- package/src/filiale/wenxi/RecordInfoQuery.vue +1213 -1213
- package/src/filiale/wenxi/WebHandQuery.vue +475 -475
- package/src/filiale/wenxi/config/exportConfig.js +916 -916
- package/src/filiale/wenxi/sale.js +24 -24
- package/src/filiale/wenxi/webmeterManage.js +13 -13
- package/src/filiale/xinkang/EchartsBox.vue +139 -139
- package/src/filiale/xinkang/ManageBrandHouseCount.vue +347 -347
- package/src/filiale/xinkang/NewGasStatistics.vue +526 -526
- package/src/filiale/xinkang/exportConfig.js +1998 -1998
- package/src/filiale/xinkang/meterFaultChangeSummary.vue +196 -196
- package/src/filiale/xinkang/reportManage.js +15 -15
- package/src/filiale/xinkang/sale.js +13 -13
- package/src/filiale/xinkang/webmeterManage.js +9 -9
- package/src/filiale/zhongyi/GasStatistics.vue +521 -521
- package/src/main.js +72 -66
- package/.gradle/4.4/fileChanges/last-build.bin +0 -0
- package/.gradle/6.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/6.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/6.1/fileChanges/last-build.bin +0 -0
- package/.gradle/6.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/6.1/fileHashes/fileHashes.lock +0 -0
|
@@ -1,301 +1,301 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="binary">
|
|
3
|
-
<div :class="{'basic-main': !showDetail,'binary-left': showDetail}">
|
|
4
|
-
<div class="flex" style="flex: 1;">
|
|
5
|
-
<div style="flex: 1.2">
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
|
-
<criteria @condition-changed="$parent.selfSearch" partial='criteria' v-ref:criteria>
|
|
8
|
-
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
9
|
-
<div class="row">
|
|
10
|
-
<div
|
|
11
|
-
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
12
|
-
class="form-group">
|
|
13
|
-
<label class="font_normal_body"> 小区 </label>
|
|
14
|
-
<v-select :value.sync="model.f_residential_area"
|
|
15
|
-
class="select_list select"
|
|
16
|
-
enter-push multiple
|
|
17
|
-
v-model="model.f_residential_area"
|
|
18
|
-
style="width: 60%"
|
|
19
|
-
condition="a.f_residential_area in {}"
|
|
20
|
-
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
21
|
-
close-on-select>
|
|
22
|
-
</v-select>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
<div
|
|
26
|
-
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
27
|
-
class="form-group">
|
|
28
|
-
<label class="font_normal_body">客户状态</label>
|
|
29
|
-
<v-select :options='$parent.$parent.userstates' :value.sync="model.f_user_state"
|
|
30
|
-
close-on-select condition="ui.f_user_state='{}'"
|
|
31
|
-
placeholder='客户状态' v-model="model.f_user_state"></v-select>
|
|
32
|
-
</div>
|
|
33
|
-
<div
|
|
34
|
-
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
35
|
-
class="form-group">
|
|
36
|
-
<label class="font_normal_body">组织机构</label>
|
|
37
|
-
<res-select
|
|
38
|
-
:initresid='$parent.$parent.curorgid'
|
|
39
|
-
@res-select="$parent.$parent.getorg"
|
|
40
|
-
is-mul="false"
|
|
41
|
-
restype='organization'
|
|
42
|
-
>
|
|
43
|
-
</res-select>
|
|
44
|
-
</div>
|
|
45
|
-
<div
|
|
46
|
-
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
47
|
-
v-if="!$parent.$parent.showDetail"
|
|
48
|
-
class="form-group">
|
|
49
|
-
<label class="font_normal_body"> 区域 </label>
|
|
50
|
-
<v-select :value.sync="model.f_street"
|
|
51
|
-
class="select_list select"
|
|
52
|
-
enter-push
|
|
53
|
-
condition="a.f_street = '{}'"
|
|
54
|
-
v-model="model.f_street"
|
|
55
|
-
style="width: 60%"
|
|
56
|
-
:options='$parent.$parent.street' placeholder='选择区域'
|
|
57
|
-
close-on-select>
|
|
58
|
-
|
|
59
|
-
</v-select>
|
|
60
|
-
</div>
|
|
61
|
-
<div
|
|
62
|
-
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
63
|
-
class="form-group button-range">
|
|
64
|
-
|
|
65
|
-
<button @click="search(), $parent.$parent.clean()" class="button_search button_spacing"
|
|
66
|
-
style="float: right">查询
|
|
67
|
-
</button>
|
|
68
|
-
<export-excel :data="$parent.$parent.getCondition"
|
|
69
|
-
:field="$parent.$parent.getfield"
|
|
70
|
-
:header="$parent.$parent.other"
|
|
71
|
-
sqlurl="rs/logic/exportfile"
|
|
72
|
-
sql-name="areaBuildingInfoSummary"
|
|
73
|
-
template-name='小区楼栋汇总信息'
|
|
74
|
-
:choose-col="true"></export-excel>
|
|
75
|
-
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
|
|
76
|
-
:field="$parent.$parent.getfield"
|
|
77
|
-
titletable="用户查询" :starthead="$parent.$parent.startDate"
|
|
78
|
-
:defaultfield="$parent.$parent.defaultfield"
|
|
79
|
-
></print-data>
|
|
80
|
-
|
|
81
|
-
<div
|
|
82
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
83
|
-
@click="$parent.$parent.hidden()"
|
|
84
|
-
class="button_spacing"
|
|
85
|
-
style="float: right"></div>
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
<div class="row" v-if="$parent.$parent.criteriaShow">
|
|
89
|
-
<div
|
|
90
|
-
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
91
|
-
v-if="$parent.$parent.showDetail"
|
|
92
|
-
class="form-group">
|
|
93
|
-
<label class="font_normal_body"> 区域 </label>
|
|
94
|
-
<v-select :value.sync="model.f_street"
|
|
95
|
-
class="select_list select"
|
|
96
|
-
enter-push
|
|
97
|
-
condition="a.f_street = '{}'"
|
|
98
|
-
v-model="model.f_street"
|
|
99
|
-
style="width: 60%"
|
|
100
|
-
:options='$parent.$parent.street' placeholder='选择区域'
|
|
101
|
-
close-on-select>
|
|
102
|
-
|
|
103
|
-
</v-select>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
</div>
|
|
107
|
-
</criteria>
|
|
108
|
-
<data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid
|
|
109
|
-
partial='list'>
|
|
110
|
-
<template partial='head'>
|
|
111
|
-
<tr>
|
|
112
|
-
<th>
|
|
113
|
-
<nobr>序号</nobr>
|
|
114
|
-
</th>
|
|
115
|
-
<th>
|
|
116
|
-
<nobr>小区名称</nobr>
|
|
117
|
-
</th>
|
|
118
|
-
<th>
|
|
119
|
-
<nobr>楼栋数</nobr>
|
|
120
|
-
</th>
|
|
121
|
-
<th>
|
|
122
|
-
<nobr>用户数</nobr>
|
|
123
|
-
</th>
|
|
124
|
-
<th>
|
|
125
|
-
<nobr>已开户</nobr>
|
|
126
|
-
</th>
|
|
127
|
-
<th>
|
|
128
|
-
<nobr>已通气</nobr>
|
|
129
|
-
</th>
|
|
130
|
-
<th>
|
|
131
|
-
<nobr>未通气</nobr>
|
|
132
|
-
</th>
|
|
133
|
-
<th>
|
|
134
|
-
<nobr>空户</nobr>
|
|
135
|
-
</th>
|
|
136
|
-
<th>
|
|
137
|
-
<nobr>操作</nobr>
|
|
138
|
-
</th>
|
|
139
|
-
</tr>
|
|
140
|
-
</template>
|
|
141
|
-
<template partial='body'>
|
|
142
|
-
<td style="text-align: center;">{{ $index + 1 }}</td>
|
|
143
|
-
<td style="text-align: center;">{{ row.f_residential_area }}</td>
|
|
144
|
-
<td style="text-align: center;">{{ row.f_building_num }}</td>
|
|
145
|
-
<td style="text-align: center;">{{ row.f_user_num }}</td>
|
|
146
|
-
<td style="text-align: center;">{{ row.f_open_num }}</td>
|
|
147
|
-
<td style="text-align: center;">{{ row.f_gas_num }}</td>
|
|
148
|
-
<td style="text-align: center;">{{ row.f_nogas_num }}</td>
|
|
149
|
-
<td style="text-align: center;">{{ row.f_empty_num }}</td>
|
|
150
|
-
<td style="text-align: center;">
|
|
151
|
-
<button type="button" name="button" class="button_search-2 button_spacing width-60"
|
|
152
|
-
@click.stop="$parent.$parent.$parent.toDetail(row)">详情
|
|
153
|
-
</button>
|
|
154
|
-
</td>
|
|
155
|
-
</template>
|
|
156
|
-
</data-grid>
|
|
157
|
-
</criteria-paged>
|
|
158
|
-
</div>
|
|
159
|
-
</div>
|
|
160
|
-
</div>
|
|
161
|
-
<div class="binary-right" :style="{width:'70%'}" v-if="showDetail">
|
|
162
|
-
<div class="auto" style="height: 100%; margin-top: 1%">
|
|
163
|
-
<area-building-detail-info :row="row" :user-state="userState" v-ref:info></area-building-detail-info>
|
|
164
|
-
</div>
|
|
165
|
-
</div>
|
|
166
|
-
</div>
|
|
167
|
-
</template>
|
|
168
|
-
|
|
169
|
-
<script>
|
|
170
|
-
import {HttpResetClass, PagedList} from 'vue-client'
|
|
171
|
-
import Vue from 'vue'
|
|
172
|
-
import exportConfig from './exportConfig'
|
|
173
|
-
|
|
174
|
-
export default {
|
|
175
|
-
'title': '小区楼栋信息汇总',
|
|
176
|
-
data () {
|
|
177
|
-
return {
|
|
178
|
-
model: new PagedList('rs/sql/areaBuildingInfoSummary', 20),
|
|
179
|
-
showDetail: false,
|
|
180
|
-
criteriaShow: false,
|
|
181
|
-
condition: '',
|
|
182
|
-
row: null,
|
|
183
|
-
curorgid: [this.$login.f.orgid],
|
|
184
|
-
f_filialeid: this.$login.f.orgid,
|
|
185
|
-
userState: '',
|
|
186
|
-
residentialArea: [],
|
|
187
|
-
street: []
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
|
-
ready () {
|
|
191
|
-
this.$refs.paged.$refs.criteria.model.f_user_state = ['正常']
|
|
192
|
-
this.getaddress()
|
|
193
|
-
},
|
|
194
|
-
methods: {
|
|
195
|
-
getotherfooter () {
|
|
196
|
-
this.other = []
|
|
197
|
-
this.footer = []
|
|
198
|
-
let otherInData = []
|
|
199
|
-
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
200
|
-
this.other.push(otherInData)
|
|
201
|
-
},
|
|
202
|
-
clean () {
|
|
203
|
-
this.showDetail = false
|
|
204
|
-
this.row = null
|
|
205
|
-
this.userState = ''
|
|
206
|
-
},
|
|
207
|
-
/**
|
|
208
|
-
* 退出用户详细信息页面
|
|
209
|
-
*/
|
|
210
|
-
cancel () {
|
|
211
|
-
this.isShowDetailInfo = false
|
|
212
|
-
},
|
|
213
|
-
close () {
|
|
214
|
-
this.clean()
|
|
215
|
-
},
|
|
216
|
-
hidden () {
|
|
217
|
-
this.criteriaShow = !this.criteriaShow
|
|
218
|
-
},
|
|
219
|
-
search () {
|
|
220
|
-
this.$refs.paged.$refs.criteria.search()
|
|
221
|
-
},
|
|
222
|
-
toDetail (row) {
|
|
223
|
-
this.showDetail = true
|
|
224
|
-
this.row = row
|
|
225
|
-
this.userState = this.$refs.paged.$refs.criteria.model.f_user_state[0]
|
|
226
|
-
},
|
|
227
|
-
selfSearch (args) {
|
|
228
|
-
if (!this.f_filialeid) {
|
|
229
|
-
this.f_filialeid = this.$login.f.orgid
|
|
230
|
-
}
|
|
231
|
-
args.condition = `${args.condition} and ui.f_filialeid = '${this.f_filialeid}'`
|
|
232
|
-
this.criteriaShow = false
|
|
233
|
-
this.$refs.paged.$refs.grid.$el.scrollTop = 0
|
|
234
|
-
this.condition = args.condition
|
|
235
|
-
this.model.search(args.condition, args.model)
|
|
236
|
-
this.clean()
|
|
237
|
-
},
|
|
238
|
-
clear () {
|
|
239
|
-
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
240
|
-
this.$refs.paged.$refs.criteria.model[key] = []
|
|
241
|
-
})
|
|
242
|
-
},
|
|
243
|
-
getorg (val) {
|
|
244
|
-
this.f_filialeid = val[0]
|
|
245
|
-
},
|
|
246
|
-
async getaddress(){
|
|
247
|
-
console.log('开始获取小区')
|
|
248
|
-
let HttpReset = new HttpResetClass()
|
|
249
|
-
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
250
|
-
data: {
|
|
251
|
-
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
252
|
-
}
|
|
253
|
-
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
254
|
-
console.log('小区',data)
|
|
255
|
-
let house = []
|
|
256
|
-
for (let row of data.data){
|
|
257
|
-
console.log('开始保存小区')
|
|
258
|
-
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
259
|
-
}
|
|
260
|
-
this.residentialArea = house
|
|
261
|
-
let street= await HttpReset.load('POST', 'rs/sql/manage_getstreetlist', {
|
|
262
|
-
data: {
|
|
263
|
-
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
264
|
-
}
|
|
265
|
-
}, {resolveMsg: null, rejectMsg: '获取区域失败!'})
|
|
266
|
-
console.log('区域',data)
|
|
267
|
-
let abc = []
|
|
268
|
-
for (let row of street.data){
|
|
269
|
-
console.log('开始保存区域')
|
|
270
|
-
abc.push({label: row.f_street, value: row.f_street})
|
|
271
|
-
}
|
|
272
|
-
this.street = abc
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
computed: {
|
|
276
|
-
getCondition () {
|
|
277
|
-
return {
|
|
278
|
-
condition: this.condition
|
|
279
|
-
}
|
|
280
|
-
},
|
|
281
|
-
getfield () {
|
|
282
|
-
return exportConfig.areaBuildingInfoSummary
|
|
283
|
-
},
|
|
284
|
-
userstates () {
|
|
285
|
-
return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
|
|
286
|
-
}
|
|
287
|
-
},
|
|
288
|
-
watch: {},
|
|
289
|
-
events: {
|
|
290
|
-
'clean' () {
|
|
291
|
-
this.clean()
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
</script>
|
|
296
|
-
<style>
|
|
297
|
-
.nav-tabss ul > li > a {
|
|
298
|
-
padding: 5px 10px;
|
|
299
|
-
}
|
|
300
|
-
</style>
|
|
301
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="binary">
|
|
3
|
+
<div :class="{'basic-main': !showDetail,'binary-left': showDetail}">
|
|
4
|
+
<div class="flex" style="flex: 1;">
|
|
5
|
+
<div style="flex: 1.2">
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
|
+
<criteria @condition-changed="$parent.selfSearch" partial='criteria' v-ref:criteria>
|
|
8
|
+
<div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
|
|
9
|
+
<div class="row">
|
|
10
|
+
<div
|
|
11
|
+
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
12
|
+
class="form-group">
|
|
13
|
+
<label class="font_normal_body"> 小区 </label>
|
|
14
|
+
<v-select :value.sync="model.f_residential_area"
|
|
15
|
+
class="select_list select"
|
|
16
|
+
enter-push multiple
|
|
17
|
+
v-model="model.f_residential_area"
|
|
18
|
+
style="width: 60%"
|
|
19
|
+
condition="a.f_residential_area in {}"
|
|
20
|
+
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
21
|
+
close-on-select>
|
|
22
|
+
</v-select>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<div
|
|
26
|
+
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
27
|
+
class="form-group">
|
|
28
|
+
<label class="font_normal_body">客户状态</label>
|
|
29
|
+
<v-select :options='$parent.$parent.userstates' :value.sync="model.f_user_state"
|
|
30
|
+
close-on-select condition="ui.f_user_state='{}'"
|
|
31
|
+
placeholder='客户状态' v-model="model.f_user_state"></v-select>
|
|
32
|
+
</div>
|
|
33
|
+
<div
|
|
34
|
+
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
35
|
+
class="form-group">
|
|
36
|
+
<label class="font_normal_body">组织机构</label>
|
|
37
|
+
<res-select
|
|
38
|
+
:initresid='$parent.$parent.curorgid'
|
|
39
|
+
@res-select="$parent.$parent.getorg"
|
|
40
|
+
is-mul="false"
|
|
41
|
+
restype='organization'
|
|
42
|
+
>
|
|
43
|
+
</res-select>
|
|
44
|
+
</div>
|
|
45
|
+
<div
|
|
46
|
+
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
47
|
+
v-if="!$parent.$parent.showDetail"
|
|
48
|
+
class="form-group">
|
|
49
|
+
<label class="font_normal_body"> 区域 </label>
|
|
50
|
+
<v-select :value.sync="model.f_street"
|
|
51
|
+
class="select_list select"
|
|
52
|
+
enter-push
|
|
53
|
+
condition="a.f_street = '{}'"
|
|
54
|
+
v-model="model.f_street"
|
|
55
|
+
style="width: 60%"
|
|
56
|
+
:options='$parent.$parent.street' placeholder='选择区域'
|
|
57
|
+
close-on-select>
|
|
58
|
+
|
|
59
|
+
</v-select>
|
|
60
|
+
</div>
|
|
61
|
+
<div
|
|
62
|
+
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
63
|
+
class="form-group button-range">
|
|
64
|
+
|
|
65
|
+
<button @click="search(), $parent.$parent.clean()" class="button_search button_spacing"
|
|
66
|
+
style="float: right">查询
|
|
67
|
+
</button>
|
|
68
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
69
|
+
:field="$parent.$parent.getfield"
|
|
70
|
+
:header="$parent.$parent.other"
|
|
71
|
+
sqlurl="rs/logic/exportfile"
|
|
72
|
+
sql-name="areaBuildingInfoSummary"
|
|
73
|
+
template-name='小区楼栋汇总信息'
|
|
74
|
+
:choose-col="true"></export-excel>
|
|
75
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model"
|
|
76
|
+
:field="$parent.$parent.getfield"
|
|
77
|
+
titletable="用户查询" :starthead="$parent.$parent.startDate"
|
|
78
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
79
|
+
></print-data>
|
|
80
|
+
|
|
81
|
+
<div
|
|
82
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
83
|
+
@click="$parent.$parent.hidden()"
|
|
84
|
+
class="button_spacing"
|
|
85
|
+
style="float: right"></div>
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
<div class="row" v-if="$parent.$parent.criteriaShow">
|
|
89
|
+
<div
|
|
90
|
+
:class="{'col-sm-2':!$parent.$parent.showDetail,'col-sm-4':$parent.$parent.showDetail}"
|
|
91
|
+
v-if="$parent.$parent.showDetail"
|
|
92
|
+
class="form-group">
|
|
93
|
+
<label class="font_normal_body"> 区域 </label>
|
|
94
|
+
<v-select :value.sync="model.f_street"
|
|
95
|
+
class="select_list select"
|
|
96
|
+
enter-push
|
|
97
|
+
condition="a.f_street = '{}'"
|
|
98
|
+
v-model="model.f_street"
|
|
99
|
+
style="width: 60%"
|
|
100
|
+
:options='$parent.$parent.street' placeholder='选择区域'
|
|
101
|
+
close-on-select>
|
|
102
|
+
|
|
103
|
+
</v-select>
|
|
104
|
+
</div>
|
|
105
|
+
</div>
|
|
106
|
+
</div>
|
|
107
|
+
</criteria>
|
|
108
|
+
<data-grid :model="model" class="list_area table_sy" @dblclick="$parent.modifyUser" v-ref:grid
|
|
109
|
+
partial='list'>
|
|
110
|
+
<template partial='head'>
|
|
111
|
+
<tr>
|
|
112
|
+
<th>
|
|
113
|
+
<nobr>序号</nobr>
|
|
114
|
+
</th>
|
|
115
|
+
<th>
|
|
116
|
+
<nobr>小区名称</nobr>
|
|
117
|
+
</th>
|
|
118
|
+
<th>
|
|
119
|
+
<nobr>楼栋数</nobr>
|
|
120
|
+
</th>
|
|
121
|
+
<th>
|
|
122
|
+
<nobr>用户数</nobr>
|
|
123
|
+
</th>
|
|
124
|
+
<th>
|
|
125
|
+
<nobr>已开户</nobr>
|
|
126
|
+
</th>
|
|
127
|
+
<th>
|
|
128
|
+
<nobr>已通气</nobr>
|
|
129
|
+
</th>
|
|
130
|
+
<th>
|
|
131
|
+
<nobr>未通气</nobr>
|
|
132
|
+
</th>
|
|
133
|
+
<th>
|
|
134
|
+
<nobr>空户</nobr>
|
|
135
|
+
</th>
|
|
136
|
+
<th>
|
|
137
|
+
<nobr>操作</nobr>
|
|
138
|
+
</th>
|
|
139
|
+
</tr>
|
|
140
|
+
</template>
|
|
141
|
+
<template partial='body'>
|
|
142
|
+
<td style="text-align: center;">{{ $index + 1 }}</td>
|
|
143
|
+
<td style="text-align: center;">{{ row.f_residential_area }}</td>
|
|
144
|
+
<td style="text-align: center;">{{ row.f_building_num }}</td>
|
|
145
|
+
<td style="text-align: center;">{{ row.f_user_num }}</td>
|
|
146
|
+
<td style="text-align: center;">{{ row.f_open_num }}</td>
|
|
147
|
+
<td style="text-align: center;">{{ row.f_gas_num }}</td>
|
|
148
|
+
<td style="text-align: center;">{{ row.f_nogas_num }}</td>
|
|
149
|
+
<td style="text-align: center;">{{ row.f_empty_num }}</td>
|
|
150
|
+
<td style="text-align: center;">
|
|
151
|
+
<button type="button" name="button" class="button_search-2 button_spacing width-60"
|
|
152
|
+
@click.stop="$parent.$parent.$parent.toDetail(row)">详情
|
|
153
|
+
</button>
|
|
154
|
+
</td>
|
|
155
|
+
</template>
|
|
156
|
+
</data-grid>
|
|
157
|
+
</criteria-paged>
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
<div class="binary-right" :style="{width:'70%'}" v-if="showDetail">
|
|
162
|
+
<div class="auto" style="height: 100%; margin-top: 1%">
|
|
163
|
+
<area-building-detail-info :row="row" :user-state="userState" v-ref:info></area-building-detail-info>
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
</div>
|
|
167
|
+
</template>
|
|
168
|
+
|
|
169
|
+
<script>
|
|
170
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
171
|
+
import Vue from 'vue'
|
|
172
|
+
import exportConfig from './exportConfig'
|
|
173
|
+
|
|
174
|
+
export default {
|
|
175
|
+
'title': '小区楼栋信息汇总',
|
|
176
|
+
data () {
|
|
177
|
+
return {
|
|
178
|
+
model: new PagedList('rs/sql/areaBuildingInfoSummary', 20),
|
|
179
|
+
showDetail: false,
|
|
180
|
+
criteriaShow: false,
|
|
181
|
+
condition: '',
|
|
182
|
+
row: null,
|
|
183
|
+
curorgid: [this.$login.f.orgid],
|
|
184
|
+
f_filialeid: this.$login.f.orgid,
|
|
185
|
+
userState: '',
|
|
186
|
+
residentialArea: [],
|
|
187
|
+
street: []
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
ready () {
|
|
191
|
+
this.$refs.paged.$refs.criteria.model.f_user_state = ['正常']
|
|
192
|
+
this.getaddress()
|
|
193
|
+
},
|
|
194
|
+
methods: {
|
|
195
|
+
getotherfooter () {
|
|
196
|
+
this.other = []
|
|
197
|
+
this.footer = []
|
|
198
|
+
let otherInData = []
|
|
199
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`)
|
|
200
|
+
this.other.push(otherInData)
|
|
201
|
+
},
|
|
202
|
+
clean () {
|
|
203
|
+
this.showDetail = false
|
|
204
|
+
this.row = null
|
|
205
|
+
this.userState = ''
|
|
206
|
+
},
|
|
207
|
+
/**
|
|
208
|
+
* 退出用户详细信息页面
|
|
209
|
+
*/
|
|
210
|
+
cancel () {
|
|
211
|
+
this.isShowDetailInfo = false
|
|
212
|
+
},
|
|
213
|
+
close () {
|
|
214
|
+
this.clean()
|
|
215
|
+
},
|
|
216
|
+
hidden () {
|
|
217
|
+
this.criteriaShow = !this.criteriaShow
|
|
218
|
+
},
|
|
219
|
+
search () {
|
|
220
|
+
this.$refs.paged.$refs.criteria.search()
|
|
221
|
+
},
|
|
222
|
+
toDetail (row) {
|
|
223
|
+
this.showDetail = true
|
|
224
|
+
this.row = row
|
|
225
|
+
this.userState = this.$refs.paged.$refs.criteria.model.f_user_state[0]
|
|
226
|
+
},
|
|
227
|
+
selfSearch (args) {
|
|
228
|
+
if (!this.f_filialeid) {
|
|
229
|
+
this.f_filialeid = this.$login.f.orgid
|
|
230
|
+
}
|
|
231
|
+
args.condition = `${args.condition} and ui.f_filialeid = '${this.f_filialeid}'`
|
|
232
|
+
this.criteriaShow = false
|
|
233
|
+
this.$refs.paged.$refs.grid.$el.scrollTop = 0
|
|
234
|
+
this.condition = args.condition
|
|
235
|
+
this.model.search(args.condition, args.model)
|
|
236
|
+
this.clean()
|
|
237
|
+
},
|
|
238
|
+
clear () {
|
|
239
|
+
Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
|
|
240
|
+
this.$refs.paged.$refs.criteria.model[key] = []
|
|
241
|
+
})
|
|
242
|
+
},
|
|
243
|
+
getorg (val) {
|
|
244
|
+
this.f_filialeid = val[0]
|
|
245
|
+
},
|
|
246
|
+
async getaddress(){
|
|
247
|
+
console.log('开始获取小区')
|
|
248
|
+
let HttpReset = new HttpResetClass()
|
|
249
|
+
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
250
|
+
data: {
|
|
251
|
+
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
252
|
+
}
|
|
253
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
254
|
+
console.log('小区',data)
|
|
255
|
+
let house = []
|
|
256
|
+
for (let row of data.data){
|
|
257
|
+
console.log('开始保存小区')
|
|
258
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
259
|
+
}
|
|
260
|
+
this.residentialArea = house
|
|
261
|
+
let street= await HttpReset.load('POST', 'rs/sql/manage_getstreetlist', {
|
|
262
|
+
data: {
|
|
263
|
+
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
264
|
+
}
|
|
265
|
+
}, {resolveMsg: null, rejectMsg: '获取区域失败!'})
|
|
266
|
+
console.log('区域',data)
|
|
267
|
+
let abc = []
|
|
268
|
+
for (let row of street.data){
|
|
269
|
+
console.log('开始保存区域')
|
|
270
|
+
abc.push({label: row.f_street, value: row.f_street})
|
|
271
|
+
}
|
|
272
|
+
this.street = abc
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
computed: {
|
|
276
|
+
getCondition () {
|
|
277
|
+
return {
|
|
278
|
+
condition: this.condition
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
getfield () {
|
|
282
|
+
return exportConfig.areaBuildingInfoSummary
|
|
283
|
+
},
|
|
284
|
+
userstates () {
|
|
285
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('客户状态')]
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
watch: {},
|
|
289
|
+
events: {
|
|
290
|
+
'clean' () {
|
|
291
|
+
this.clean()
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
</script>
|
|
296
|
+
<style>
|
|
297
|
+
.nav-tabss ul > li > a {
|
|
298
|
+
padding: 5px 10px;
|
|
299
|
+
}
|
|
300
|
+
</style>
|
|
301
|
+
|