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.
- package/.gradle/4.4/fileContent/fileContent.lock +0 -0
- package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/build/dev-server.js +1 -1
- package/build/libs/ManageClient-3.1.0-17.jar +0 -0
- package/build/tmp/jar/MANIFEST.MF +2 -0
- package/package.json +1 -1
- package/src/components/SellReport/Cardapplysgas.vue +274 -0
- package/src/components/SellReport/GasPropertiesManager.vue +151 -0
- package/src/components/SellReport/LeftChart.vue +132 -0
- package/src/components/SellReport/MarketMonthChart.vue +162 -0
- package/src/components/SellReport/MarketMonthgas.vue +244 -0
- package/src/components/WebReport/EchartsBox.vue +54 -34
- package/src/components/daping/DataManagement.vue +4 -4
- package/src/components/daping/json/dataManage.json +11 -7
- package/src/components/qinhua/Pie.vue +18 -8
- package/src/components/sale/businessquery/AccountQuery/keyUserGasRanking.vue +165 -0
- package/src/components/sale/businessquery/ArrearsQuery.vue +13 -11
- package/src/components/sale/businessquery/ChargeQuery.vue +4 -4
- package/src/components/sale/businessquery/CollectManage.vue +6 -0
- package/src/components/sale/businessquery/CommunityPaymen.vue +1 -1
- package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +5 -2
- package/src/components/sale/businessquery/NoBusinessQuery.vue +37 -38
- package/src/components/sale/businessquery/ResidentialCardQuery.vue +373 -0
- package/src/components/sale/config/exportConfig.js +2 -2
- package/src/components/sale/filesquery/MeterQuery.vue +21 -1
- package/src/components/sale/filesquery/RecordInfoQuery.vue +16 -0
- package/src/filiale/qianneng/MeterQuery.vue +21 -1
- package/src/filiale/rongcheng/RecordInfoQuery.vue +1 -1
- package/src/reportManage.js +18 -0
- package/src/saleManage.js +6 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
|
|
2
|
+
<template>
|
|
3
|
+
<div col="col-sm-12">
|
|
4
|
+
<div class="col-sm-6">
|
|
5
|
+
<left-chart :param="param" id="leftchart" title="用气量情况"></left-chart>
|
|
6
|
+
</div>
|
|
7
|
+
<div class="col-sm-6">
|
|
8
|
+
<left-chart :param="param1" id="leftchart2" title="用气比例"></left-chart>
|
|
9
|
+
</div>
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script>
|
|
14
|
+
import {HttpResetClass} from "vue-client";
|
|
15
|
+
export default {
|
|
16
|
+
props: ['condition'],
|
|
17
|
+
data() {
|
|
18
|
+
return {
|
|
19
|
+
dataLength: 0,
|
|
20
|
+
xData: ['1月','2月','3月','4月','5月','6月','7月','8月','9月','10月','11月','12月'],
|
|
21
|
+
param:[],
|
|
22
|
+
param1:[],
|
|
23
|
+
name:[],
|
|
24
|
+
yData: [],
|
|
25
|
+
yData2:[],
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
methods: {
|
|
29
|
+
getParams (params) {
|
|
30
|
+
this.name = []
|
|
31
|
+
this.yData = []
|
|
32
|
+
this.yData2 = []
|
|
33
|
+
let http = new HttpResetClass()
|
|
34
|
+
http.load('post','rs/sql/gasbai_body',{data: params}).then((res)=>{
|
|
35
|
+
console.log(res.data)
|
|
36
|
+
this.dataLength = res.data.length
|
|
37
|
+
let sumgas1 = 0
|
|
38
|
+
let sumgas2 = 0
|
|
39
|
+
let sumgas3 = 0
|
|
40
|
+
let sumgas4 = 0
|
|
41
|
+
let sumgas5 = 0
|
|
42
|
+
let sumgas6 = 0
|
|
43
|
+
let sumgas7 = 0
|
|
44
|
+
let sumgas8 = 0
|
|
45
|
+
let sumgas9 = 0
|
|
46
|
+
let sumgas10 = 0
|
|
47
|
+
let sumgas11 = 0
|
|
48
|
+
let sumgas12 = 0
|
|
49
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
50
|
+
sumgas1 += res.data[i].f_gas1
|
|
51
|
+
sumgas2 += res.data[i].f_gas2
|
|
52
|
+
sumgas3 += res.data[i].f_gas3
|
|
53
|
+
sumgas4 += res.data[i].f_gas4
|
|
54
|
+
sumgas5 += res.data[i].f_gas5
|
|
55
|
+
sumgas6 += res.data[i].f_gas6
|
|
56
|
+
sumgas7 += res.data[i].f_gas7
|
|
57
|
+
sumgas8 += res.data[i].f_gas8
|
|
58
|
+
sumgas9 += res.data[i].f_gas9
|
|
59
|
+
sumgas10 += res.data[i].f_gas10
|
|
60
|
+
sumgas11 += res.data[i].f_gas11
|
|
61
|
+
sumgas12 += res.data[i].f_gas12
|
|
62
|
+
}
|
|
63
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
64
|
+
this.name.push(res.data[i].f_gastype)
|
|
65
|
+
let arr2 = []
|
|
66
|
+
let arr1 = []
|
|
67
|
+
arr1.push(res.data[i].f_gas1)
|
|
68
|
+
arr1.push(res.data[i].f_gas2)
|
|
69
|
+
arr1.push(res.data[i].f_gas3)
|
|
70
|
+
arr1.push(res.data[i].f_gas4)
|
|
71
|
+
arr1.push(res.data[i].f_gas5)
|
|
72
|
+
arr1.push(res.data[i].f_gas6)
|
|
73
|
+
arr1.push(res.data[i].f_gas7)
|
|
74
|
+
arr1.push(res.data[i].f_gas8)
|
|
75
|
+
arr1.push(res.data[i].f_gas9)
|
|
76
|
+
arr1.push(res.data[i].f_gas10)
|
|
77
|
+
arr1.push(res.data[i].f_gas11)
|
|
78
|
+
arr1.push(res.data[i].f_gas12)
|
|
79
|
+
if (sumgas1 > 0 ) {
|
|
80
|
+
arr2.push((res.data[i].f_gas1*100/sumgas1).toFixed(2))
|
|
81
|
+
} else {
|
|
82
|
+
arr2.push(0)
|
|
83
|
+
}
|
|
84
|
+
if (sumgas2 > 0 ) {
|
|
85
|
+
arr2.push((res.data[i].f_gas2*100/sumgas2).toFixed(2))
|
|
86
|
+
} else {
|
|
87
|
+
arr2.push(0)
|
|
88
|
+
}
|
|
89
|
+
if (sumgas3 > 0 ) {
|
|
90
|
+
arr2.push((res.data[i].f_gas3*100/sumgas3).toFixed(2))
|
|
91
|
+
} else {
|
|
92
|
+
arr2.push(0)
|
|
93
|
+
}
|
|
94
|
+
if (sumgas4 > 0 ) {
|
|
95
|
+
arr2.push((res.data[i].f_gas4*100/sumgas4).toFixed(2))
|
|
96
|
+
} else {
|
|
97
|
+
arr2.push(0)
|
|
98
|
+
}
|
|
99
|
+
if (sumgas5 > 0 ) {
|
|
100
|
+
arr2.push((res.data[i].f_gas5*100/sumgas5).toFixed(2))
|
|
101
|
+
} else {
|
|
102
|
+
arr2.push(0)
|
|
103
|
+
}
|
|
104
|
+
if (sumgas6 > 0 ) {
|
|
105
|
+
arr2.push((res.data[i].f_gas6*100/sumgas6).toFixed(2))
|
|
106
|
+
} else {
|
|
107
|
+
arr2.push(0)
|
|
108
|
+
}
|
|
109
|
+
if (sumgas7 > 0 ) {
|
|
110
|
+
arr2.push((res.data[i].f_gas7*100/sumgas7).toFixed(2))
|
|
111
|
+
} else {
|
|
112
|
+
arr2.push(0)
|
|
113
|
+
}
|
|
114
|
+
if (sumgas8 > 0 ) {
|
|
115
|
+
arr2.push((res.data[i].f_gas8*100/sumgas8).toFixed(2))
|
|
116
|
+
} else {
|
|
117
|
+
arr2.push(0)
|
|
118
|
+
}
|
|
119
|
+
if (sumgas9 > 0 ) {
|
|
120
|
+
arr2.push((res.data[i].f_gas9*100/sumgas9).toFixed(2))
|
|
121
|
+
} else {
|
|
122
|
+
arr2.push(0)
|
|
123
|
+
}
|
|
124
|
+
if (sumgas10 > 0 ) {
|
|
125
|
+
arr2.push((res.data[i].f_gas10*100/sumgas10).toFixed(2))
|
|
126
|
+
} else {
|
|
127
|
+
arr2.push(0)
|
|
128
|
+
}
|
|
129
|
+
if (sumgas11 > 0 ) {
|
|
130
|
+
arr2.push((res.data[i].f_gas11*100/sumgas11).toFixed(2))
|
|
131
|
+
} else {
|
|
132
|
+
arr2.push(0)
|
|
133
|
+
}
|
|
134
|
+
if (sumgas12 > 0 ) {
|
|
135
|
+
arr2.push((res.data[i].f_gas12*100/sumgas12).toFixed(2))
|
|
136
|
+
} else {
|
|
137
|
+
arr2.push(0)
|
|
138
|
+
}
|
|
139
|
+
this.yData.push(arr1)
|
|
140
|
+
this.yData2.push(arr2)
|
|
141
|
+
}
|
|
142
|
+
this.param = {
|
|
143
|
+
legendData:this.name,
|
|
144
|
+
xData :this.xData,
|
|
145
|
+
yData:this.yData,
|
|
146
|
+
}
|
|
147
|
+
this.param1 = {
|
|
148
|
+
legendData:this.name,
|
|
149
|
+
xData :this.xData,
|
|
150
|
+
yData:this.yData2,
|
|
151
|
+
}
|
|
152
|
+
})
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
watch: {
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
</script>
|
|
159
|
+
|
|
160
|
+
<style scoped>
|
|
161
|
+
|
|
162
|
+
</style>
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="basic-main" style="height: 100%">
|
|
3
|
+
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group" >
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始日期:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期" style="width: 60%"
|
|
10
|
+
v-model="model.startDate"
|
|
11
|
+
:value.sync="model.startDate"
|
|
12
|
+
:disabled-days-of-Week="[]"
|
|
13
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
14
|
+
:show-reset-button="reset">
|
|
15
|
+
</datepicker>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-2 form-group" >
|
|
18
|
+
<label class="font_normal_body" for="endDate">结束日期:</label>
|
|
19
|
+
<datepicker id="endDate" placeholder="结束日期" style="width: 60%"
|
|
20
|
+
v-model="model.endDate"
|
|
21
|
+
:value.sync="model.endDate"
|
|
22
|
+
:disabled-days-of-Week="[]"
|
|
23
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
24
|
+
:show-reset-button="reset">
|
|
25
|
+
</datepicker>
|
|
26
|
+
</div><!--
|
|
27
|
+
<div class="col-sm-2 form-group">
|
|
28
|
+
<label class="font_normal_body"> 公司 </label>
|
|
29
|
+
<right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="col-sm-2 form-group">
|
|
32
|
+
<label class="font_normal_body"> 部门 </label>
|
|
33
|
+
<res-select restype='department'
|
|
34
|
+
is-mul="false"
|
|
35
|
+
@res-select="$parent.$parent.getdep"
|
|
36
|
+
:parentresid="$parent.$parent.depresid"
|
|
37
|
+
:initresid='$parent.$parent.depid'>
|
|
38
|
+
</res-select>
|
|
39
|
+
|
|
40
|
+
</div>
|
|
41
|
+
<div class="col-sm-2 form-group">
|
|
42
|
+
<label class="font_normal_body"> 人员 </label>
|
|
43
|
+
<res-select restype='user'
|
|
44
|
+
is-mul="false"
|
|
45
|
+
@res-select="$parent.$parent.getuser"
|
|
46
|
+
:parentresid="$parent.$parent.userresid"
|
|
47
|
+
:initresid='$parent.$parent.operatorid'>
|
|
48
|
+
</res-select>
|
|
49
|
+
</div>
|
|
50
|
+
-->
|
|
51
|
+
<res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="span" style = "float:right;">
|
|
54
|
+
<button class="button_search" @click="$parent.$parent.searchData()">查询</button>
|
|
55
|
+
<report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
|
|
56
|
+
<report-excel id='gasprice'></report-excel>
|
|
57
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
58
|
+
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
61
|
+
<div class="col-sm-2 form-group">
|
|
62
|
+
<label class="font_normal_body">用户类型</label>
|
|
63
|
+
<v-select :value.sync="$parent.$parent.f_user_type"
|
|
64
|
+
v-model="$parent.$parent.f_user_type"
|
|
65
|
+
:options='$parent.$parent.user_type' placeholder='请选择'
|
|
66
|
+
condition="f_user_type = '{}'"
|
|
67
|
+
close-on-select></v-select>
|
|
68
|
+
</div>
|
|
69
|
+
<!--<div class="col-sm-2 form-group">-->
|
|
70
|
+
<!--<label class="font_normal_body">收费状态</label>-->
|
|
71
|
+
<!--<v-select :value.sync="$parent.$parent.f_state" multiple-->
|
|
72
|
+
<!--v-model="$parent.$parent.f_state"-->
|
|
73
|
+
<!--:options='$parent.$parent.charge_state' placeholder='请选择'-->
|
|
74
|
+
<!--condition="f_state in {}"-->
|
|
75
|
+
<!--close-on-select></v-select>-->
|
|
76
|
+
<!--</div>-->
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
79
|
+
</criteria>
|
|
80
|
+
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
81
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
82
|
+
<thead>
|
|
83
|
+
<tr>
|
|
84
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
|
|
85
|
+
<h3 style="text-align: center">月度用气性质使用占比报表</h3>
|
|
86
|
+
</th>
|
|
87
|
+
</tr>
|
|
88
|
+
<tr>
|
|
89
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
90
|
+
开始时间:{{model.model.startDate}}
|
|
91
|
+
结束时间:{{ model.model.endDate }} <br/>
|
|
92
|
+
<!--打印时间:{{{$parent.printTime}}}-->
|
|
93
|
+
打印时间:{{$parent.printTime}}
|
|
94
|
+
<!--收费员:{{// $parent.operatorname}}-->
|
|
95
|
+
</th>
|
|
96
|
+
</tr>
|
|
97
|
+
<tr>
|
|
98
|
+
<th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
|
|
99
|
+
<div>
|
|
100
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
|
|
101
|
+
<span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
|
|
102
|
+
<span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$parent.operatorname}}</span>
|
|
103
|
+
</div>
|
|
104
|
+
</th>
|
|
105
|
+
</tr>
|
|
106
|
+
</thead>
|
|
107
|
+
<tr>
|
|
108
|
+
<td :colspan='$parent.spans' class="noborder">
|
|
109
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
110
|
+
</td>
|
|
111
|
+
</tr>
|
|
112
|
+
<tfoot>
|
|
113
|
+
<tr style="text-align: left">
|
|
114
|
+
<th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
|
|
115
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
|
|
116
|
+
<th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
|
|
117
|
+
</tr>
|
|
118
|
+
</tfoot>
|
|
119
|
+
</table>
|
|
120
|
+
{{{ $parent.reportStr}}}
|
|
121
|
+
<market-month-chart v-ref:getChart >
|
|
122
|
+
</market-month-chart>
|
|
123
|
+
</div>
|
|
124
|
+
</criteria-paged>
|
|
125
|
+
|
|
126
|
+
</div>
|
|
127
|
+
</template>
|
|
128
|
+
|
|
129
|
+
<script>
|
|
130
|
+
import { DataModel } from 'vue-client'
|
|
131
|
+
import co from 'co'
|
|
132
|
+
|
|
133
|
+
export default {
|
|
134
|
+
title: '月度用气性质使用占比报表',
|
|
135
|
+
props: ['data'],
|
|
136
|
+
data () {
|
|
137
|
+
return {
|
|
138
|
+
printTime: this.$login.toStandardTimeString(),
|
|
139
|
+
depresid: [],
|
|
140
|
+
userresid: [],
|
|
141
|
+
f_orgid: this.$login.f.orgid,
|
|
142
|
+
f_depid: this.$login.f.depids,
|
|
143
|
+
f_operatorid: this.$login.f.id,
|
|
144
|
+
operatorid: [],
|
|
145
|
+
depid: [],
|
|
146
|
+
orgname: '',
|
|
147
|
+
depname: '',
|
|
148
|
+
condition:null,
|
|
149
|
+
criteriaShow: false,
|
|
150
|
+
operatorname: '',
|
|
151
|
+
orgCondtionStr: '1=1',
|
|
152
|
+
f_user_type: '',
|
|
153
|
+
f_state:['有效'],
|
|
154
|
+
model: new DataModel('rs/report/applygasfillgas', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
155
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
156
|
+
reportStr: null,
|
|
157
|
+
resshow:['company','department','operator'],
|
|
158
|
+
spans: 0,
|
|
159
|
+
initres: {
|
|
160
|
+
org: [this.$login.f.orgid],
|
|
161
|
+
dep: [],
|
|
162
|
+
user: []
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
ready () {
|
|
167
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
168
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
169
|
+
console.log(this.$login.f)
|
|
170
|
+
},
|
|
171
|
+
methods: {
|
|
172
|
+
searchData () {
|
|
173
|
+
this.$refs.paged.$refs.criteria.search()
|
|
174
|
+
},
|
|
175
|
+
selfSearch (args) {
|
|
176
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
177
|
+
let orgcondition = '1=1'
|
|
178
|
+
let orgstr = this.orgCondtionStr
|
|
179
|
+
orgcondition = orgcondition + orgstr
|
|
180
|
+
console.log('23231312321:',this.f_user_type)
|
|
181
|
+
if(this.f_user_type && this.f_user_type[0]) {
|
|
182
|
+
orgcondition += ` and f_user_type = '${ this.f_user_type} '`
|
|
183
|
+
}
|
|
184
|
+
/* if (this.f_orgid && this.f_orgid[0]) {
|
|
185
|
+
orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
|
|
186
|
+
}
|
|
187
|
+
if (this.f_depid && this.f_depid[0]) {
|
|
188
|
+
orgcondition += ' and f_depid in (' + this.f_depid + ')'
|
|
189
|
+
}
|
|
190
|
+
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
191
|
+
orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
|
|
192
|
+
}*/
|
|
193
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
194
|
+
this.condition = this.$refs.paged.model.params
|
|
195
|
+
this.$refs.paged.search(args)
|
|
196
|
+
console.log(this.$refs.paged)
|
|
197
|
+
this.$refs.paged.$refs.getchart.getParams(this.$refs.paged.model.params)
|
|
198
|
+
},
|
|
199
|
+
|
|
200
|
+
hidden() {
|
|
201
|
+
this.criteriaShow = !this.criteriaShow
|
|
202
|
+
},
|
|
203
|
+
getRes (condition, obj) {
|
|
204
|
+
this.orgCondtionStr = condition
|
|
205
|
+
this.orgname = obj.orgnames[0]
|
|
206
|
+
this.depname = obj.depnames[0]
|
|
207
|
+
},
|
|
208
|
+
getdep (obj, val) {
|
|
209
|
+
this.depname = val[0]
|
|
210
|
+
this.userresid = obj
|
|
211
|
+
this.f_depid = obj
|
|
212
|
+
},
|
|
213
|
+
getuser ( obj, val) {
|
|
214
|
+
this.operatorname = val[0]
|
|
215
|
+
this.f_operatorid = obj
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
watch: {
|
|
219
|
+
'model.data' (val) {
|
|
220
|
+
let len=0
|
|
221
|
+
let a=val.split('</tr>')
|
|
222
|
+
for(let i=0;i<a.length;i++){
|
|
223
|
+
if(a[i].split('</td>').length-1>len){
|
|
224
|
+
len=a[i].split('</td>').length-1
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
this.spans = len
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
computed: {
|
|
231
|
+
charge_state() {
|
|
232
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
233
|
+
},
|
|
234
|
+
user_type () {
|
|
235
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
</script>
|
|
240
|
+
<style scoped>
|
|
241
|
+
.noborder{
|
|
242
|
+
border: none;
|
|
243
|
+
}
|
|
244
|
+
</style>
|
|
@@ -32,10 +32,11 @@
|
|
|
32
32
|
@res-select="getRes"
|
|
33
33
|
:initresid="model.id">
|
|
34
34
|
</res-select>
|
|
35
|
+
<button class="button_search button_spacing" @click="changePage()">下一页</button>
|
|
35
36
|
</div>
|
|
36
37
|
</div>
|
|
37
38
|
</div>
|
|
38
|
-
<div style="height: 97%;">
|
|
39
|
+
<div style="height: 97%;" v-if="showPage === 1">
|
|
39
40
|
<div class="flex-row" style="flex: 1;border-bottom: 1px dashed #888;height: 48%">
|
|
40
41
|
<div style="flex: 1;border-right: 1px dashed #888;width: 50%">
|
|
41
42
|
<site-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
|
|
@@ -49,8 +50,9 @@
|
|
|
49
50
|
<div class="flex-row" style="flex: 1;height: 48%">
|
|
50
51
|
|
|
51
52
|
<div class="flex-row" style="flex: 1;width: 50%;border-right: 1px dashed #888;">
|
|
52
|
-
<div
|
|
53
|
-
<paymentpie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
|
|
53
|
+
<div style="flex: 1;">
|
|
54
|
+
<paymentpie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
|
|
55
|
+
v-ref:pay></paymentpie>
|
|
54
56
|
</div>
|
|
55
57
|
<!-- <div style="flex: 1;">-->
|
|
56
58
|
<!-- <usertype-pie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></usertype-pie>-->
|
|
@@ -58,7 +60,15 @@
|
|
|
58
60
|
</div>
|
|
59
61
|
|
|
60
62
|
<div style="flex: 1;width: 50%">
|
|
61
|
-
<bussiness-type :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
|
|
63
|
+
<bussiness-type :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'
|
|
64
|
+
v-ref:pay></bussiness-type>
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
<div style="height: 97%;" v-if="showPage === 2">
|
|
69
|
+
<div class="flex-row" style="flex: 1;height: 96%">
|
|
70
|
+
<div style="flex: 1">
|
|
71
|
+
<gas-properties-manager :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]'></gas-properties-manager>
|
|
62
72
|
</div>
|
|
63
73
|
</div>
|
|
64
74
|
</div>
|
|
@@ -67,43 +77,53 @@
|
|
|
67
77
|
</template>
|
|
68
78
|
|
|
69
79
|
<script>
|
|
70
|
-
|
|
80
|
+
import * as Util from '../../Util'
|
|
71
81
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
export default {
|
|
83
|
+
props: {
|
|
84
|
+
classname: {
|
|
85
|
+
type: String,
|
|
86
|
+
default: 'basic-main'
|
|
87
|
+
},
|
|
88
|
+
width: {
|
|
89
|
+
type: String,
|
|
90
|
+
default: '98.5%'
|
|
91
|
+
},
|
|
92
|
+
height: {
|
|
93
|
+
type: String,
|
|
94
|
+
default: '98%'
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
data () {
|
|
98
|
+
return {
|
|
99
|
+
showPage: 1,
|
|
100
|
+
page: [1, 2],
|
|
101
|
+
jurisdiction: this.$login.r,
|
|
102
|
+
model: {
|
|
103
|
+
id: [this.$login.f.orgid],
|
|
104
|
+
orgid: [this.$login.f.orgid],
|
|
105
|
+
startDate: Util.toStandardDateString(),
|
|
106
|
+
endDate: Util.toStandardDateString()
|
|
85
107
|
}
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
methods: {
|
|
111
|
+
searchdata () {
|
|
112
|
+
this.$refs.pay.searchdata()
|
|
86
113
|
},
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
startDate: Util.toStandardDateString(),
|
|
94
|
-
endDate: Util.toStandardDateString()
|
|
95
|
-
}
|
|
114
|
+
changePage () {
|
|
115
|
+
let curPage = this.page.indexOf(this.showPage)
|
|
116
|
+
if (curPage + 1 === this.page.length) {
|
|
117
|
+
this.showPage = this.page[0]
|
|
118
|
+
} else {
|
|
119
|
+
this.showPage = this.page[curPage + 1]
|
|
96
120
|
}
|
|
97
121
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
this.$refs.pay.searchdata()
|
|
101
|
-
},
|
|
102
|
-
getRes(obj) {
|
|
103
|
-
this.model.orgid = obj
|
|
104
|
-
},
|
|
122
|
+
getRes (obj) {
|
|
123
|
+
this.model.orgid = obj
|
|
105
124
|
}
|
|
106
125
|
}
|
|
126
|
+
}
|
|
107
127
|
</script>
|
|
108
128
|
|
|
109
129
|
<style lang="css">
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div class="flex">
|
|
7
7
|
<div class="flex" >
|
|
8
8
|
<div class="flex-row" style="height: 40%;margin-top: 2%;">
|
|
9
|
-
<div class="auto col-sm-12" style="width:
|
|
9
|
+
<div class="auto col-sm-12" style="width: 60%;height: 100%;padding: 1em" >
|
|
10
10
|
<div class=" col-sm-12 auto" style="padding-left: 1em">
|
|
11
11
|
<span class="font-title">安检</span>
|
|
12
12
|
</div>
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
<span class="normal-font" >计划安检量</span>
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
<!--<div style="width: 60%">-->
|
|
28
|
+
<!--<ring-safecheck-wh></ring-safecheck-wh>-->
|
|
29
|
+
<!--</div>-->
|
|
30
30
|
</div>
|
|
31
31
|
<div style="height: 58%">
|
|
32
32
|
<safe-check-wh></safe-check-wh>
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"checkData":{
|
|
3
|
-
"wrhsum":
|
|
3
|
+
"wrhsum":1021,
|
|
4
4
|
"jhsum":81300
|
|
5
5
|
},
|
|
6
|
-
"checkByMonth":[
|
|
7
|
-
{"sucnum":
|
|
8
|
-
{"sucnum":
|
|
9
|
-
{"sucnum":
|
|
10
|
-
{"sucnum":
|
|
11
|
-
|
|
6
|
+
"checkByMonth":[
|
|
7
|
+
{"sucnum":8359,"time":"2021-10","allnum":8500},
|
|
8
|
+
{"sucnum":8359,"time":"2021-11","allnum":8400},
|
|
9
|
+
{"sucnum":2114,"time":"2021-12","allnum":2200},
|
|
10
|
+
{"sucnum":5500,"time":"2022-01","allnum":5528},
|
|
11
|
+
{"sucnum":6921,"time":"2022-02","allnum":7000},
|
|
12
|
+
{"sucnum":3820,"time":"2022-03","allnum":4000},
|
|
13
|
+
{"sucnum":8617,"time":"2022-04","allnum":9000},
|
|
14
|
+
{"sucnum":9388,"time":"2022-05","allnum":9500}
|
|
15
|
+
],
|
|
12
16
|
"callData":{
|
|
13
17
|
"yearamount":12101,
|
|
14
18
|
"sumsend":2453,
|
|
@@ -24,9 +24,10 @@
|
|
|
24
24
|
// color: color,
|
|
25
25
|
backgroundColor: '#ffffff00',
|
|
26
26
|
legend: {
|
|
27
|
+
// show: false,
|
|
27
28
|
orient: 'horizontal',
|
|
28
29
|
x: 'center',
|
|
29
|
-
y: '
|
|
30
|
+
y: 'bottom',
|
|
30
31
|
icon: 'circle',
|
|
31
32
|
data: title,
|
|
32
33
|
itemWidth: 10,
|
|
@@ -48,23 +49,32 @@
|
|
|
48
49
|
// }],
|
|
49
50
|
labelLine: {
|
|
50
51
|
normal: {
|
|
51
|
-
length:
|
|
52
|
+
length: 10
|
|
52
53
|
}
|
|
53
54
|
},
|
|
54
55
|
label: {
|
|
55
56
|
show: true,
|
|
56
|
-
formatter: '{b|{b}}
|
|
57
|
+
formatter: '{b|{b}}{per|{d}%}',
|
|
57
58
|
rich: {
|
|
59
|
+
a: {
|
|
60
|
+
color: '#999',
|
|
61
|
+
lineHeight: 16,
|
|
62
|
+
align: 'center'
|
|
63
|
+
},
|
|
64
|
+
hr: {
|
|
65
|
+
borderColor: '#aaa',
|
|
66
|
+
width: '100%',
|
|
67
|
+
borderWidth: 1,
|
|
68
|
+
height: 0
|
|
69
|
+
},
|
|
58
70
|
b: {
|
|
59
71
|
fontSize: 10,
|
|
60
72
|
padding: [5, 0],
|
|
61
73
|
color: '#fff'
|
|
62
74
|
},
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
width: '100%',
|
|
67
|
-
borderColor: '#fff'
|
|
75
|
+
c: {
|
|
76
|
+
fontSize: 10,
|
|
77
|
+
color: '#eee'
|
|
68
78
|
},
|
|
69
79
|
per: {
|
|
70
80
|
color: '#FDF44E',
|