manage-client 3.2.171 → 3.2.173
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 +1 -1
- package/src/components/SellReport/DayStairMoneyHunum.vue +256 -0
- package/src/components/SellReport/MonthStairHunum.vue +256 -0
- package/src/components/sale/config/exportConfig.js +1 -1
- package/src/filiale/WEINAN/ChargeQuery.vue +2 -2
- package/src/filiale/WEINAN/InspectListGas.vue +544 -0
- package/src/filiale/WEINAN/InspectListUser.vue +11 -1
- package/src/filiale/WEINAN/RecordInfoQuery.vue +7 -1
- package/src/filiale/WEINAN/sale.js +3 -2
- package/src/filiale/kelai/AreaChargeQuery.vue +393 -0
- package/src/filiale/kelai/sale.js +3 -1
- package/src/filiale/tongchuan/sale.js +0 -1
- package/src/filiale/tongchuan/webmeterManage.js +9 -0
- package/src/filiale/zhongyi/CallReport/CallReportMainPage.vue +25 -16
- package/src/filiale/zhongyi/CallReport/DropDownBox.vue +15 -25
- package/src/filiale/zhongyi/CallReport/IncomingTelegram.vue +17 -2
- package/src/filiale/zhongyi/CallReport/PercentageComplete.vue +95 -37
- package/src/filiale/zhongyi/CallReport/PercentageCompleteEchart.vue +15 -4
- package/src/filiale/zhongyi/CallReport/ServiceStatus.vue +86 -100
- package/src/filiale/zhongyi/CallReport/SwiperTools.vue +34 -55
- package/src/filiale/zhongyi/CallReport/Userinfo.vue +33 -61
- package/src/filiale/zhongyi/CallReport/WeatherData.vue +69 -5
- package/src/filiale/zhongyi/CallReport/WorkOrderPage.vue +32 -41
- package/src/reportManage.js +8 -0
- package/static/images/zhongyi//345/244/251/346/260/224-/346/231/264.png +0 -0
- package/static/images/zhongyi//346/232/264/351/233/250/345/210/260/345/244/247/346/232/264/351/233/250.png +0 -0
- package/static/images/zhongyi//351/230/264/345/244/251.png +0 -0
- package/static/images/zhongyi//351/233/276.png +0 -0
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<div class="basic-main" @keyup.enter="search">
|
|
4
|
+
<criteria-paged :model="model" v-ref:paged>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri >
|
|
6
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-sm-2 form-group">
|
|
9
|
+
|
|
10
|
+
<label for="startDate" class="font_normal_body" title="归属日期">开始日期</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" title="归属日期">结束日期</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="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
|
+
|
|
41
|
+
</v-select>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="col-sm-2 form-group">
|
|
44
|
+
<label class="font_normal_body">客户类型</label>
|
|
45
|
+
<v-select :value.sync="model.f_user_type"
|
|
46
|
+
@change="$parent.$parent.userTypeChange()"
|
|
47
|
+
:options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
|
|
48
|
+
condition="f_user_type = '{}'"
|
|
49
|
+
close-on-select></v-select>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="span" style="float:right;">
|
|
52
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
53
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
54
|
+
|
|
55
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
56
|
+
:field="$parent.$parent.getfield"
|
|
57
|
+
:footer="$parent.$parent.footer"
|
|
58
|
+
:header="$parent.$parent.other"
|
|
59
|
+
sqlurl="rs/customExport/areaChargeExportExcel"
|
|
60
|
+
sql-name="areaChargeQuery"
|
|
61
|
+
template-name='小区汇总'
|
|
62
|
+
:choose-col="true"></export-excel>
|
|
63
|
+
|
|
64
|
+
<print-data :sum-field="$parent.$parent.getfield" :model="$parent.model" :field="$parent.$parent.getfield"
|
|
65
|
+
:defaultfield="$parent.$parent.defaultfield"
|
|
66
|
+
titletable="小区汇总"
|
|
67
|
+
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
68
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
69
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
70
|
+
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
74
|
+
<res-select-group :initres="$parent.$parent.initres"
|
|
75
|
+
:showComponent="['company','department','operator']"
|
|
76
|
+
@re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
77
|
+
<div class="col-sm-2 form-group">
|
|
78
|
+
<label class="font_normal_body">用气性质</label>
|
|
79
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
80
|
+
:options='$parent.$parent.gasproperties' placeholder='请选择'
|
|
81
|
+
condition="f_gasproperties = '{}'"
|
|
82
|
+
close-on-select></v-select>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="col-sm-2 form-group">
|
|
85
|
+
<label class="font_normal_body">气表类型</label>
|
|
86
|
+
<v-select :value.sync="model.f_meter_type" multiple
|
|
87
|
+
:options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
|
|
88
|
+
condition="f_meter_type in {}"
|
|
89
|
+
close-on-select></v-select>
|
|
90
|
+
</div>
|
|
91
|
+
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</criteria>
|
|
95
|
+
|
|
96
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid>
|
|
97
|
+
<template partial='head'>
|
|
98
|
+
<tr>
|
|
99
|
+
<th>
|
|
100
|
+
<nobr>序号</nobr>
|
|
101
|
+
</th>
|
|
102
|
+
<th>
|
|
103
|
+
<nobr>小区</nobr>
|
|
104
|
+
</th>
|
|
105
|
+
<th>
|
|
106
|
+
<nobr>户数</nobr>
|
|
107
|
+
</th>
|
|
108
|
+
<th>
|
|
109
|
+
<nobr>单价</nobr>
|
|
110
|
+
</th>
|
|
111
|
+
<th>
|
|
112
|
+
<nobr>购气方量</nobr>
|
|
113
|
+
</th>
|
|
114
|
+
<th>
|
|
115
|
+
<nobr>购气应收金额</nobr>
|
|
116
|
+
</th>
|
|
117
|
+
<th>
|
|
118
|
+
<nobr>购气实收金额</nobr>
|
|
119
|
+
</th>
|
|
120
|
+
<th>
|
|
121
|
+
<nobr>备 注</nobr>
|
|
122
|
+
</th>
|
|
123
|
+
</tr>
|
|
124
|
+
</template>
|
|
125
|
+
<template partial='body'>
|
|
126
|
+
<td style="text-align:center">
|
|
127
|
+
<nobr>{{$index+1}}</nobr>
|
|
128
|
+
</td>
|
|
129
|
+
<td style="text-align: center;">
|
|
130
|
+
<nobr>{{row.f_residential_area}}</nobr>
|
|
131
|
+
</td>
|
|
132
|
+
<td style="text-align: center;">
|
|
133
|
+
<nobr>{{row.f_households}}</nobr>
|
|
134
|
+
</td>
|
|
135
|
+
<td style="text-align: center;">
|
|
136
|
+
<nobr>{{row.f_price}}</nobr>
|
|
137
|
+
</td>
|
|
138
|
+
<td style="text-align: center;">
|
|
139
|
+
<nobr>{{row.f_gas}}</nobr>
|
|
140
|
+
</td>
|
|
141
|
+
<td style="text-align: center;">
|
|
142
|
+
<nobr>{{row.f_preamount}}</nobr>
|
|
143
|
+
</td>
|
|
144
|
+
<td style="text-align: center;">
|
|
145
|
+
<nobr>{{row.f_money}}</nobr>
|
|
146
|
+
</td>
|
|
147
|
+
<td style="text-align: center;">
|
|
148
|
+
<nobr></nobr>
|
|
149
|
+
</td>
|
|
150
|
+
</template>
|
|
151
|
+
<template partial='foot'></template>
|
|
152
|
+
</data-grid>
|
|
153
|
+
</criteria-paged>
|
|
154
|
+
<table class="table-hover">
|
|
155
|
+
<tr style="position: relative" class="table-bordered">
|
|
156
|
+
<td
|
|
157
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
158
|
+
汇总信息
|
|
159
|
+
</td>
|
|
160
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
161
|
+
购气方量合计: {{sumsmodel.f_gas}}
|
|
162
|
+
</td>
|
|
163
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
|
|
164
|
+
购气金额合计: {{sumsmodel.f_money}}
|
|
165
|
+
</td>
|
|
166
|
+
</tr>
|
|
167
|
+
</table>
|
|
168
|
+
</div>
|
|
169
|
+
</div>
|
|
170
|
+
</template>
|
|
171
|
+
|
|
172
|
+
<script>
|
|
173
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
174
|
+
import exportConfig from '../../components/sale/config/exportConfig'
|
|
175
|
+
|
|
176
|
+
let readySomething = async function (self) {
|
|
177
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
178
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
179
|
+
// self.$refs.paged.$refs.cri.search()
|
|
180
|
+
self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
|
|
181
|
+
await self.$MagLoadParams.loadParam()
|
|
182
|
+
self.initParams()
|
|
183
|
+
self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
184
|
+
}
|
|
185
|
+
export default {
|
|
186
|
+
title: '小区收费查询',
|
|
187
|
+
data() {
|
|
188
|
+
return {
|
|
189
|
+
config: {
|
|
190
|
+
defaultPrint: []
|
|
191
|
+
},
|
|
192
|
+
other:[],
|
|
193
|
+
footer:[],
|
|
194
|
+
//f_price_name:[],
|
|
195
|
+
gasproperties:[],
|
|
196
|
+
data: {},
|
|
197
|
+
rowdata:{},
|
|
198
|
+
initres: {
|
|
199
|
+
org:[this.$login.f.orgid],
|
|
200
|
+
dep:[],
|
|
201
|
+
user:[]
|
|
202
|
+
},
|
|
203
|
+
model: new PagedList('rs/sql/areaChargeQuery', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
|
|
204
|
+
f_gas: 0,
|
|
205
|
+
f_money: 0
|
|
206
|
+
}),
|
|
207
|
+
criteriaShow: false,
|
|
208
|
+
orgCondtionStr: '',
|
|
209
|
+
// 下拉框
|
|
210
|
+
meterbrands: [],
|
|
211
|
+
pricenames: [],
|
|
212
|
+
prices: [],
|
|
213
|
+
area: [],
|
|
214
|
+
//合计数据
|
|
215
|
+
defaultfield: [],
|
|
216
|
+
//小区
|
|
217
|
+
residentialArea: [],
|
|
218
|
+
sumsmodel: {},
|
|
219
|
+
f_filialeid: this.$login.f.f_orgid,
|
|
220
|
+
allorgid:[],
|
|
221
|
+
tempfalg :false,
|
|
222
|
+
lastorgstr:''
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
ready() {
|
|
226
|
+
this.getaddress()
|
|
227
|
+
readySomething(this).then(() => {
|
|
228
|
+
this.$emit('ready')
|
|
229
|
+
}).catch((error) => {
|
|
230
|
+
this.$emit('error', error)
|
|
231
|
+
})
|
|
232
|
+
},
|
|
233
|
+
methods: {
|
|
234
|
+
|
|
235
|
+
getotherfooter(){
|
|
236
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
|
|
237
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
|
|
238
|
+
this.other=[];
|
|
239
|
+
this.footer=[];
|
|
240
|
+
let exportdata = this.getCondition;
|
|
241
|
+
let otherInData=[];
|
|
242
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
243
|
+
otherInData.push(`导出人: ${this.$login.f.name}`);
|
|
244
|
+
let footerData=[],exportfield=this.getfield;
|
|
245
|
+
footerData.push("合计");
|
|
246
|
+
let self =this;
|
|
247
|
+
for(var field in self.sumsmodel){
|
|
248
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
249
|
+
}
|
|
250
|
+
this.footer.push(footerData);
|
|
251
|
+
this.other.push(otherInData);
|
|
252
|
+
},
|
|
253
|
+
async getaddress(){
|
|
254
|
+
console.log('开始获取小区')
|
|
255
|
+
let HttpReset = new HttpResetClass()
|
|
256
|
+
var data = await HttpReset.load('POST', 'rs/sql/manage_getarealist', {
|
|
257
|
+
data: {
|
|
258
|
+
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
259
|
+
}
|
|
260
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
261
|
+
console.log('小区',data)
|
|
262
|
+
let house = [{label: '全部', value: ''}]
|
|
263
|
+
for (let row of data.data){
|
|
264
|
+
console.log('开始保存小区')
|
|
265
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
266
|
+
}
|
|
267
|
+
this.residentialArea = house
|
|
268
|
+
},
|
|
269
|
+
//把数据库查询数据转换为下拉数据
|
|
270
|
+
calculate(rows){
|
|
271
|
+
let data = []
|
|
272
|
+
rows.forEach((row, n) => {
|
|
273
|
+
data[n] = {label: row.f_residential_area, value: row.id}
|
|
274
|
+
})
|
|
275
|
+
return data
|
|
276
|
+
},
|
|
277
|
+
|
|
278
|
+
search(){
|
|
279
|
+
this.$refs.paged.$refs.cri.search()
|
|
280
|
+
},
|
|
281
|
+
cancel() {
|
|
282
|
+
this.show = false
|
|
283
|
+
},
|
|
284
|
+
showmsg(obj){
|
|
285
|
+
this.rowdata=obj
|
|
286
|
+
this.show=true
|
|
287
|
+
},
|
|
288
|
+
userTypeChange () {
|
|
289
|
+
this.gasproperties=[]
|
|
290
|
+
if(this.$refs.paged.$refs.cri.model !==null) {
|
|
291
|
+
this.$refs.paged.$refs.cri.model.f_gasproperties=''
|
|
292
|
+
|
|
293
|
+
console.log("查看客户类型是什么",this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
294
|
+
this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
|
|
295
|
+
// this.gasproperties.push({label: '全部', value: ''})
|
|
296
|
+
}
|
|
297
|
+
else{
|
|
298
|
+
this.gasproperties =[{label: '全部', value: ''}]
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
initParams() {
|
|
302
|
+
// 初始化气表品牌
|
|
303
|
+
let brandArr = []
|
|
304
|
+
this.$MagGetSaleParam.getGasbrand().forEach((item) => {
|
|
305
|
+
let temp = {}
|
|
306
|
+
temp.label = item.label
|
|
307
|
+
temp.value = item.value.f_meter_brand
|
|
308
|
+
brandArr.push(temp)
|
|
309
|
+
})
|
|
310
|
+
this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
|
|
311
|
+
//初始化气表价格
|
|
312
|
+
this.prices = this.$MagGetSaleParam.getPrices();
|
|
313
|
+
},
|
|
314
|
+
selfSearch(args) {
|
|
315
|
+
console.log('开始时间',this.$refs.paged.$refs.cri.model.startDate)
|
|
316
|
+
if (this.$refs.paged.$refs.cri.model.startDate === '' || this.$refs.paged.$refs.cri.model.endDate === ''){
|
|
317
|
+
this.$showAlert('请先选择开始时间、结束时间,再进行查询操作!', 'warning', 3000)
|
|
318
|
+
} else {
|
|
319
|
+
//小区查询条件
|
|
320
|
+
let f_orgstr = this.orgCondtionStr
|
|
321
|
+
args.condition = `${args.condition} ` + f_orgstr
|
|
322
|
+
this.model.search(args.condition, args.model)
|
|
323
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
clear() {
|
|
327
|
+
//清空部门和人员
|
|
328
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
329
|
+
//部门和人员变为全选
|
|
330
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
331
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
332
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
333
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
334
|
+
})
|
|
335
|
+
|
|
336
|
+
},
|
|
337
|
+
show() {
|
|
338
|
+
this.criteriaShow = true
|
|
339
|
+
},
|
|
340
|
+
hidden() {
|
|
341
|
+
this.criteriaShow = !this.criteriaShow
|
|
342
|
+
},
|
|
343
|
+
async getRes(condition,obj) {
|
|
344
|
+
this.orgCondtionStr = condition
|
|
345
|
+
this.orgname = obj.orgnames[0]
|
|
346
|
+
this.depname = obj.depnames[0]
|
|
347
|
+
|
|
348
|
+
},
|
|
349
|
+
async updateParams() {
|
|
350
|
+
await this.$MagLoadParams.loadParam(this.f_filialeid)
|
|
351
|
+
this.inputtores = [];
|
|
352
|
+
this.inputtores.push({label: "全部", value: ""})
|
|
353
|
+
if(this.allorgid!=null){
|
|
354
|
+
this.allorgid.forEach((res)=>{
|
|
355
|
+
this.inputtores = this.inputtores.concat(this.$MagGetSaleParam.getresinputtor(res));
|
|
356
|
+
})
|
|
357
|
+
}
|
|
358
|
+
this.initParams()
|
|
359
|
+
},
|
|
360
|
+
},
|
|
361
|
+
events:{
|
|
362
|
+
|
|
363
|
+
},
|
|
364
|
+
watch: {
|
|
365
|
+
'model'(val) {
|
|
366
|
+
},
|
|
367
|
+
sumsmodel:{
|
|
368
|
+
handler: function(val) {
|
|
369
|
+
this.getotherfooter();
|
|
370
|
+
},
|
|
371
|
+
deep: true
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
computed: {
|
|
375
|
+
getCondition() {
|
|
376
|
+
return {
|
|
377
|
+
startDate: this.$refs.paged.$refs.cri.model.startDate,
|
|
378
|
+
endDate: this.$refs.paged.$refs.cri.model.endDate,
|
|
379
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr
|
|
380
|
+
}
|
|
381
|
+
},
|
|
382
|
+
getfield() {
|
|
383
|
+
return exportConfig.areaChargeQueryConfig
|
|
384
|
+
},
|
|
385
|
+
usertypes() {
|
|
386
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
387
|
+
},
|
|
388
|
+
metertypes() {
|
|
389
|
+
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
</script>
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
let specialComp = {
|
|
3
3
|
// 收费查询
|
|
4
4
|
// 用户查询
|
|
5
|
-
'user-query': (resolve) => { require(['./UserQuery'], resolve) }
|
|
5
|
+
'user-query': (resolve) => { require(['./UserQuery'], resolve) },
|
|
6
|
+
// 小区收费查询
|
|
7
|
+
'area-charge-query': (resolve) => { require(['./AreaChargeQuery'], resolve) }
|
|
6
8
|
}
|
|
7
9
|
exports.specialComp = specialComp
|
|
8
10
|
|
|
@@ -6,7 +6,6 @@ let specialComp = {
|
|
|
6
6
|
'res-select-group': (resolve) => { require(['./ResSelectGroupNew'], resolve) },
|
|
7
7
|
'fill-gas-query': (resolve) => { require(['./FillGasQuery'], resolve) },
|
|
8
8
|
'charge-query': (resolve) => { require(['./ChargeQuery'], resolve) },
|
|
9
|
-
'report-list': (resolve) => { require(['./reportList'], resolve) },
|
|
10
9
|
'handplan-query': (resolve) => { require(['./HandplanQuery'], resolve) },
|
|
11
10
|
// 调价记录查询
|
|
12
11
|
'price-change-query': (resolve) => { require(['./PriceChangeQuery'], resolve) },
|
|
@@ -8,20 +8,20 @@
|
|
|
8
8
|
<!-- <!–右侧–>-->
|
|
9
9
|
<!--分公司下拉框-->
|
|
10
10
|
<drop-down-box @select="selectIndex"></drop-down-box>
|
|
11
|
-
<weather-data></weather-data>
|
|
11
|
+
<weather-data :filiale.sync="f_orgname" ></weather-data>
|
|
12
12
|
<time></time>
|
|
13
|
-
<div class="content-header"
|
|
13
|
+
<div class="content-header">{{ f_orgname }}</div>
|
|
14
14
|
<div class="inform" v-if="false"><span><i></i>{{ data.inform }}</span></div>
|
|
15
15
|
<!--工单模块-->
|
|
16
|
-
<work-order-page :filiale-id="filiale"></work-order-page>
|
|
16
|
+
<work-order-page :filiale-id.sync="filiale"></work-order-page>
|
|
17
17
|
<!--完成率模块-->
|
|
18
|
-
<percentage-complete :filiale-id="filiale"></percentage-complete>
|
|
19
|
-
|
|
20
|
-
<percentage-complete-echart></percentage-complete-echart>
|
|
18
|
+
<percentage-complete :filiale-id.sync="filiale" @wanchenglv="wanchenglvs" ></percentage-complete>
|
|
19
|
+
<!--echart-->
|
|
20
|
+
<percentage-complete-echart :wancheng-lv.sync="wanchenglvss" ></percentage-complete-echart>
|
|
21
21
|
<!--用户模块-->
|
|
22
|
-
<userinfo></userinfo>
|
|
22
|
+
<userinfo :filiale-id.sync="filiale"></userinfo>
|
|
23
23
|
<!--来电统计模块-->
|
|
24
|
-
<incoming-telegram
|
|
24
|
+
<incoming-telegram></incoming-telegram>
|
|
25
25
|
<!---->
|
|
26
26
|
<!-- <rate-top></rate-top>-->
|
|
27
27
|
<!-- <rate-bottom></rate-bottom>-->
|
|
@@ -51,18 +51,27 @@ export default {
|
|
|
51
51
|
data:{
|
|
52
52
|
inform:'2022.3.7号停气',
|
|
53
53
|
},
|
|
54
|
-
|
|
54
|
+
f_orgname:'',
|
|
55
|
+
filiale:'',
|
|
56
|
+
wanchenglvss:'',
|
|
55
57
|
}
|
|
56
58
|
},
|
|
57
59
|
name: "CallReportMainPage",
|
|
58
60
|
methods:{
|
|
61
|
+
wanchenglvs(val){
|
|
62
|
+
console.log("这里是父组件",val)
|
|
63
|
+
this.wanchenglvss=val
|
|
64
|
+
console.log("wanchenglvss",this.wanchenglvss)
|
|
65
|
+
},
|
|
59
66
|
selectIndex(val){
|
|
60
|
-
|
|
61
|
-
this.filiale=val
|
|
62
|
-
|
|
67
|
+
console.log("selectIndex",val)
|
|
68
|
+
this.filiale=val.value
|
|
69
|
+
this.f_orgname=val.label
|
|
70
|
+
}
|
|
71
|
+
},
|
|
63
72
|
watch: {
|
|
64
73
|
'filiale'(val){
|
|
65
|
-
|
|
74
|
+
console.log('toOrgid=====filiale===>',val)
|
|
66
75
|
}
|
|
67
76
|
}
|
|
68
77
|
}
|
|
@@ -77,13 +86,13 @@ export default {
|
|
|
77
86
|
background-repeat: no-repeat;
|
|
78
87
|
}
|
|
79
88
|
.content-header {
|
|
80
|
-
width:
|
|
89
|
+
width: 25.333vw;
|
|
81
90
|
height: 3.519vh;
|
|
82
|
-
font-size:
|
|
91
|
+
font-size: 2.704vh;
|
|
83
92
|
color: #fff;
|
|
84
93
|
position: absolute;
|
|
85
94
|
top: 1.389vh;
|
|
86
|
-
left:
|
|
95
|
+
left: 42.6vw;
|
|
87
96
|
line-height: 3.333vh;
|
|
88
97
|
font-weight: bolder;
|
|
89
98
|
font-family: '黑体';
|
|
@@ -16,51 +16,41 @@
|
|
|
16
16
|
</template>
|
|
17
17
|
|
|
18
18
|
<script>
|
|
19
|
-
import {HttpResetClass} from "vue-client";
|
|
20
19
|
|
|
21
20
|
export default {
|
|
22
21
|
name: "DropDownBox",
|
|
23
22
|
data(){
|
|
24
23
|
return{
|
|
25
|
-
f_orgstr:'',
|
|
24
|
+
f_orgstr: '23145',
|
|
26
25
|
orgstrs:[
|
|
27
|
-
{label: '德州中邑燃气有限责任公司', value: '21125'},
|
|
28
26
|
{label: '夏津中邑燃气有限公司', value: '21131'},
|
|
29
27
|
{label: '临邑中邑燃气有限公司', value: '21137'},
|
|
30
28
|
{label: '山东彤运天燃气有限公司', value: '21143'},
|
|
31
|
-
{label: '庆云中邑燃气有限公司', value: '21149'},
|
|
32
29
|
{label: '庆云浩通天燃气有限公司', value: '21155'},
|
|
33
|
-
{label: '
|
|
34
|
-
{label: '山东中邑燃气有限公司', value: '23145'},
|
|
35
|
-
{label: '铜川', value: '47003'},
|
|
30
|
+
{label: '山东中邑燃气有限公司', value: '23145'}
|
|
36
31
|
]
|
|
37
32
|
}
|
|
38
33
|
},
|
|
39
34
|
computed:{
|
|
40
35
|
},
|
|
41
36
|
ready(){
|
|
42
|
-
|
|
37
|
+
|
|
43
38
|
},
|
|
44
39
|
methods:{
|
|
45
|
-
|
|
46
|
-
// getfengongsi(){
|
|
47
|
-
// // console.log("this.$login.f.id:",this.$login.f.orgid,this.$login)
|
|
48
|
-
// let val = {source: 'this.getParentByType($organization$).getSpecialResByType($organization$)', userid: `${this.$login.f.id}`}
|
|
49
|
-
// let http = new HttpResetClass()
|
|
50
|
-
// http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
51
|
-
// // console.log("res.data",res.data)
|
|
52
|
-
// // localStorage.setItem('dataConfig',JSON.stringify(res.data))
|
|
53
|
-
// // console.log("res.data.id",JSON.parse(localStorage.getItem('dataConfig')))
|
|
54
|
-
// res.data.forEach((item) => {
|
|
55
|
-
// this.orgstrs.push({label: item.name, value: item.id})
|
|
56
|
-
// })
|
|
57
|
-
// })
|
|
58
|
-
// },
|
|
40
|
+
|
|
59
41
|
},
|
|
60
42
|
watch: {
|
|
61
|
-
'f_orgstr'
|
|
62
|
-
|
|
63
|
-
|
|
43
|
+
'f_orgstr': {
|
|
44
|
+
handler(val){
|
|
45
|
+
for (const orgstr of this.orgstrs) {
|
|
46
|
+
if (orgstr.value == val){
|
|
47
|
+
this.$emit('select',orgstr)
|
|
48
|
+
break
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
},
|
|
53
|
+
immediate: true
|
|
64
54
|
}
|
|
65
55
|
},
|
|
66
56
|
}
|
|
@@ -29,16 +29,31 @@ export default {
|
|
|
29
29
|
data(){
|
|
30
30
|
return{
|
|
31
31
|
data:{
|
|
32
|
-
netAppointment:'
|
|
33
|
-
hotLine:'
|
|
32
|
+
netAppointment:'', //日统计
|
|
33
|
+
hotLine:'' //月统计
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
methods:{
|
|
40
|
+
getrecords(){
|
|
41
|
+
let http = new HttpResetClass()
|
|
42
|
+
http.load('post','rs/logic/RecordQuantity',{
|
|
43
|
+
data: {
|
|
44
|
+
}
|
|
45
|
+
},{rejectMsg:null,resolveMsg:null}).then((ress)=>{
|
|
46
|
+
console.log("完成"+JSON.stringify(ress.data))
|
|
47
|
+
this.data.netAppointment = ress.data.data.rishuliang||0
|
|
48
|
+
this.data.hotLine = ress.data.data.yueshuliang||0
|
|
49
|
+
})
|
|
50
|
+
}
|
|
40
51
|
},
|
|
41
52
|
ready(){
|
|
53
|
+
this.getrecords()
|
|
54
|
+
setInterval(() => {
|
|
55
|
+
this.getrecords()
|
|
56
|
+
}, 5000*60)
|
|
42
57
|
}
|
|
43
58
|
|
|
44
59
|
|