manage-client 3.2.139-tcc → 3.2.143

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 (52) hide show
  1. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  2. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  3. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  4. package/build/dev-server.js +176 -176
  5. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  6. package/build/tmp/jar/MANIFEST.MF +2 -0
  7. package/package.json +1 -1
  8. package/src/components/SellReport/Cardapplysgas.vue +274 -0
  9. package/src/components/SellReport/GasPropertiesManager.vue +151 -0
  10. package/src/components/SellReport/LeftChart.vue +132 -0
  11. package/src/components/SellReport/MarketMonthChart.vue +162 -0
  12. package/src/components/SellReport/MarketMonthgas.vue +244 -0
  13. package/src/components/SellReport/UserFillmoney.vue +1 -1
  14. package/src/components/WebReport/EchartsBox.vue +54 -34
  15. package/src/components/daping/DataManagement.vue +4 -4
  16. package/src/components/daping/json/dataManage.json +11 -7
  17. package/src/components/qinhua/Pie.vue +18 -8
  18. package/src/components/sale/businessquery/AccountQuery/AccountListManage.vue +2 -2
  19. package/src/components/sale/businessquery/AccountQuery/OverdueList.vue +4 -4
  20. package/src/components/sale/businessquery/AccountQuery/keyUserGasRanking.vue +165 -0
  21. package/src/components/sale/businessquery/ArrearsQuery.vue +15 -13
  22. package/src/components/sale/businessquery/BusinessManage.vue +197 -164
  23. package/src/components/sale/businessquery/ChargeQuery.vue +6 -6
  24. package/src/components/sale/businessquery/CollectManage.vue +6 -0
  25. package/src/components/sale/businessquery/CommunityPaymen.vue +1 -1
  26. package/src/components/sale/businessquery/GroupChargeQuery.vue +2 -2
  27. package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +5 -2
  28. package/src/components/sale/businessquery/HandplanQuery.vue +1 -1
  29. package/src/components/sale/businessquery/InspectListGas.vue +238 -246
  30. package/src/components/sale/businessquery/NoBusinessQuery.vue +37 -38
  31. package/src/components/sale/businessquery/ProceedsOper.vue +4 -4
  32. package/src/components/sale/businessquery/ResidentialCardQuery.vue +373 -0
  33. package/src/components/sale/businessquery/SellOrgnameQuery.vue +2 -2
  34. package/src/components/sale/businessquery/SellPeopleQuery.vue +2 -2
  35. package/src/components/sale/businessquery/UserSellHeadDetail.vue +4 -4
  36. package/src/components/sale/config/exportConfig.js +1064 -1053
  37. package/src/components/sale/filesquery/MeterQuery.vue +21 -1
  38. package/src/components/sale/filesquery/RecordInfoQuery.vue +16 -0
  39. package/src/components/sale/filesquery/UserQuery.vue +6 -0
  40. package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +1 -1
  41. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +2 -1
  42. package/src/components/webmeter/DrillData/UserGasEform.vue +1 -1
  43. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +2 -1
  44. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +26 -26
  45. package/src/filiale/qianneng/ArrearsQuery.vue +2 -2
  46. package/src/filiale/qianneng/ChargeQuery.vue +2 -2
  47. package/src/filiale/qianneng/HandplanQuery.vue +1 -1
  48. package/src/filiale/qianneng/MeterQuery.vue +21 -1
  49. package/src/filiale/qianneng/exportConfig.js +3 -3
  50. package/src/filiale/rongcheng/RecordInfoQuery.vue +1 -1
  51. package/src/reportManage.js +18 -0
  52. package/src/saleManage.js +6 -0
@@ -0,0 +1,151 @@
1
+ <template lang="html">
2
+ <div id="charts">
3
+ <div id="GasPropertiesManager">
4
+ <button class="button_export button_spacing" @click="change('f_user_type')">一级用气性质</button>
5
+ <button class="button_export button_spacing" @click="change('f_gasproperties')">二级用气性质</button>
6
+ </div>
7
+ <div id="sm" :style="{width:'100%',height:'98%'}"></div>
8
+ </div>
9
+ </template>
10
+
11
+ <script>
12
+ /* eslint-disable indent,key-spacing,no-labels */
13
+
14
+ import * as Util from '../../Util'
15
+ import co from 'co'
16
+ import echarts from 'echarts'
17
+ import {HttpResetClass} from 'vue-client'
18
+
19
+ let getData = function* (self) {
20
+ let load = new HttpResetClass()
21
+ load.load('POST', 'rs/sql/gasPropertiesStatistics',
22
+ {data: {startDate: self.startdate, endDate: self.enddate, f_orgid: self.orgid, groupkey: self.groupkey}},
23
+ {resolveMsg: null, rejectMsg: null})
24
+ .then((res) => {
25
+ self.texttile = '用户类型'
26
+ let arrparams = []
27
+ let numdata = []
28
+ let pricedata = []
29
+ for (var i = 0; i < res.data.length; i++) {
30
+ arrparams[i] = res.data[i].name
31
+ numdata[i] = res.data[i].num
32
+ pricedata[i] = res.data[i].money
33
+ }
34
+ self.set(arrparams, numdata, pricedata)
35
+ })
36
+ }
37
+ export default {
38
+ props: {
39
+ startdate: {
40
+ type: String,
41
+ default: Util.toStandardDateString()
42
+ },
43
+ enddate: {
44
+ type: String,
45
+ default: Util.toStandardDateString()
46
+ },
47
+ orgid: {
48
+ type: String
49
+ }
50
+ },
51
+ data () {
52
+ return {
53
+ texttile: '',
54
+ xc: '',
55
+ groupkey: 'f_user_type'
56
+ }
57
+ },
58
+ methods: {
59
+ change (type) {
60
+ this.groupkey = type
61
+ this.searchdata()
62
+ },
63
+ set (arrparams, numdata, pricedata) {
64
+ this.xc = echarts.init(document.getElementById('sm'))
65
+ this.xc.setOption({
66
+ title: {
67
+ text: '用气性质散列图',
68
+ subtext: '数据查询来源',
69
+ x: 'left'
70
+ },
71
+ tooltip: {
72
+ trigger: 'axis'
73
+ },
74
+ legend: {
75
+ x: 'left',
76
+ y: 'bottom',
77
+ data: ['条数', '用量']
78
+ },
79
+ toolbox: {
80
+ show: true,
81
+ feature: {
82
+ dataView: {show: true, readOnly: false},
83
+ magicType: {show: true, type: ['line', 'bar']},
84
+ restore: {show: true},
85
+ saveAsImage: {show: true}
86
+ }
87
+ },
88
+ calculable: true,
89
+ xAxis: [
90
+ {
91
+ type: 'category',
92
+ data: arrparams
93
+ }
94
+ ],
95
+ yAxis: [
96
+ {
97
+ type: 'value'
98
+ }
99
+ ],
100
+ series: [
101
+ {
102
+ name: '条数',
103
+ type: 'bar',
104
+ data: numdata,
105
+ markLine: {
106
+ data: [
107
+ {type: 'average', name: '平均值'}
108
+ ]
109
+ }
110
+ },
111
+ {
112
+ name: '用量',
113
+ type: 'bar',
114
+ data: pricedata,
115
+ markLine: {
116
+ data: [
117
+ {type: 'average', name: '平均值'}
118
+ ]
119
+ }
120
+ }
121
+ ]
122
+ })
123
+ },
124
+ searchdata () {
125
+ let getGen = getData(this)
126
+ co(getGen)
127
+ }
128
+ },
129
+ ready () {
130
+ this.searchdata()
131
+ },
132
+ watch: {
133
+ 'startdate' (val) {
134
+ this.searchdata()
135
+ },
136
+ 'enddate' (val) {
137
+ this.searchdata()
138
+ },
139
+ 'orgid' (val) {
140
+ this.searchdata()
141
+ }
142
+ }
143
+
144
+ }
145
+ </script>
146
+ <style lang="less">
147
+ #GasPropertiesManager {
148
+ display: flex;
149
+ justify-content: center;
150
+ }
151
+ </style>
@@ -0,0 +1,132 @@
1
+ <template>
2
+ <div :id="id" style="height:50%"></div>
3
+ </template>
4
+ <script>
5
+ import * as echarts from "echarts";
6
+ export default {
7
+ name: "LineEchart",
8
+ props: {
9
+ title: {
10
+ type: String,
11
+ },
12
+ id: {
13
+ type: String,
14
+ default: "main",
15
+ },
16
+ type: {
17
+ type: String,
18
+ default: "line",
19
+ },
20
+ color: {
21
+ type: Array,
22
+ default: function () {
23
+ return ["#9E87FF", '#73DDFF', '#fe9a8b', '#F56948', '#9E87FF',"#005aff", "pink", "#08b551", "red", "#f0b551", "black"];
24
+ },
25
+ },
26
+ param: {
27
+ type: Object,
28
+ default: function () {
29
+ return {
30
+ width: "1",
31
+ legendData: ["Email", "Union Ads", "Video Ads"],
32
+ xData: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
33
+ yData: [
34
+ [120, 132, 101, 134, 90, 230, 210],
35
+ [220, 232, 301, 434, 290, 230, 210],
36
+ [920, 832, 501, 234, 590, 230, 210],
37
+ ],
38
+ };
39
+ },
40
+ },
41
+ },
42
+ data() {
43
+ return {};
44
+ },
45
+
46
+ ready() {
47
+ // this.initData();
48
+ },
49
+ watch:{
50
+ 'param'(val){
51
+ if(val){
52
+ this.initData();
53
+ }
54
+ }
55
+ },
56
+ methods: {
57
+ //组织单个Series
58
+ getSeries(name, width, color, data) {
59
+ return {
60
+ name: name,
61
+ type: "line",
62
+ lineStyle: {
63
+ width: width,
64
+ type: "line",
65
+ },
66
+ data: data,
67
+ };
68
+ },
69
+ setSeries() {
70
+ let arr = [];
71
+ for (let i = 0; i < this.param.yData.length; i++) {
72
+ let serie = this.getSeries(
73
+ this.param.legendData[i],
74
+ this.param.width,
75
+ this.color[i],
76
+ this.param.yData[i]
77
+ );
78
+ arr.push(serie);
79
+ }
80
+ return arr;
81
+ },
82
+ initData() {
83
+ var chartDom = document.getElementById(this.id);
84
+ var myChart = echarts.init(chartDom);
85
+ this.option = {
86
+ title: {
87
+ text: this.title,
88
+ },
89
+ tooltip: {
90
+ trigger: "axis",
91
+ position: function (pos, params, dom, rect, size) {
92
+ let yPos = '20%'
93
+ let xPos = 0
94
+ if (pos[0] < size.viewSize[0] / 2) {
95
+ xPos = pos[0] + 10
96
+ } else {
97
+ xPos = pos[0] - dom.offsetWidth - 10
98
+ }
99
+ return [xPos, yPos]
100
+ },
101
+ trigger: 'axis',
102
+ extraCssText: 'width:auto;height:auto;border:1px solid #015999;background:#032f53 ',
103
+ },
104
+ legend: {
105
+ data: this.param.legendData,
106
+ bottom: '0%',
107
+ left: 'center',
108
+ },
109
+ grid: {
110
+ left: "3%",
111
+ right: "4%",
112
+ bottom: "13%",
113
+ containLabel: true,
114
+ },
115
+ xAxis: {
116
+ type: "category",
117
+ boundaryGap: false,
118
+ data: this.param.xData,
119
+ },
120
+ yAxis: {
121
+ type: "value",
122
+ },
123
+ series: this.setSeries(),
124
+ };
125
+
126
+ this.option && myChart.setOption(this.option);
127
+ },
128
+ },
129
+ };
130
+ </script>
131
+
132
+ <style scoped></style>
@@ -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">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </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">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </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">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </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}}&nbsp;&nbsp;&nbsp;
91
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<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>
@@ -91,7 +91,7 @@
91
91
  <nobr>应收金额</nobr>
92
92
  </th>
93
93
  <th>
94
- <nobr>滞纳金</nobr>
94
+ <nobr>违约金</nobr>
95
95
  </th>
96
96
  <th>
97
97
  <nobr>本期结余</nobr>