manage-client 3.2.4 → 3.2.8

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 (91) hide show
  1. package/build/dev-server.js +5 -3
  2. package/package.json +1 -1
  3. package/src/components/BasisEcharts/BarChart.vue +247 -247
  4. package/src/components/SellReport/AmountGas.vue +3 -3
  5. package/src/components/SellReport/BonSummary.vue +3 -3
  6. package/src/components/SellReport/BusinessMoneyReport.vue +1 -1
  7. package/src/components/SellReport/BusinessReport.vue +3 -3
  8. package/src/components/SellReport/ChSellReport.vue +3 -3
  9. package/src/components/SellReport/ChargeBill.vue +3 -3
  10. package/src/components/SellReport/ChargeDayTable.vue +3 -3
  11. package/src/components/SellReport/ChargeMonthTable.vue +3 -3
  12. package/src/components/SellReport/ChargeYearTable.vue +3 -3
  13. package/src/components/SellReport/DeptHomePage.vue +2 -2
  14. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  15. package/src/components/SellReport/GasMeterBrand.vue +1 -1
  16. package/src/components/SellReport/GasPriceGroup.vue +1 -1
  17. package/src/components/SellReport/GasSummary.vue +3 -3
  18. package/src/components/SellReport/Gasc.vue +3 -3
  19. package/src/components/SellReport/GetUserNum.vue +3 -3
  20. package/src/components/SellReport/HandplanBili.vue +3 -3
  21. package/src/components/SellReport/HandplanUserCount.vue +1 -1
  22. package/src/components/SellReport/ManageGasPrice.vue +3 -3
  23. package/src/components/SellReport/ManageGasSumChange.vue +3 -3
  24. package/src/components/SellReport/ManageGasSumChangeTwo.vue +2 -2
  25. package/src/components/SellReport/ManageGasSumOtherCharge.vue +3 -3
  26. package/src/components/SellReport/MeterPrice.vue +3 -3
  27. package/src/components/SellReport/MeterReader.vue +2 -2
  28. package/src/components/SellReport/NonResidentGas.vue +3 -3
  29. package/src/components/SellReport/OperatorSellReport.vue +1 -1
  30. package/src/components/SellReport/OutletTable.vue +3 -3
  31. package/src/components/SellReport/PaymentDistribute.vue +1 -1
  32. package/src/components/SellReport/PaymentMethod.vue +1 -1
  33. package/src/components/SellReport/QTXManageBusSummary.vue +3 -3
  34. package/src/components/SellReport/SellDepReport.vue +3 -3
  35. package/src/components/SellReport/SellingTable.vue +220 -220
  36. package/src/components/SellReport/UserGasFillCard.vue +2 -2
  37. package/src/components/SellReport/UserSellingGas.vue +3 -3
  38. package/src/components/SellReport/WeiNanYuShou.vue +4 -4
  39. package/src/components/SellReport/YuShouTable.vue +1 -1
  40. package/src/components/SellReport/chargeSchedule.vue +2 -2
  41. package/src/components/SellReport/pengan/ManageBusPeng.vue +3 -3
  42. package/src/components/SellReport/userholds.vue +3 -3
  43. package/src/components/daping/GMap.vue +636 -636
  44. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +504 -504
  45. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +371 -371
  46. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +404 -404
  47. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  48. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  49. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  50. package/src/components/sale/businessquery/ProceedsOper.vue +417 -417
  51. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  52. package/src/components/sale/config/exportConfig.js +885 -885
  53. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  54. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  55. package/src/components/webmeter/DrillData/UserGasAll.vue +6 -7
  56. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  57. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  58. package/src/components/webmeter/instruction/NewQueryInstruct.vue +9 -11
  59. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  60. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +284 -283
  61. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  62. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +242 -242
  63. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  64. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  65. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  66. package/src/components/webmeter/report/ReportList.vue +14 -13
  67. package/src/filiale/WEINAN/EchartsBox.vue +110 -110
  68. package/src/filiale/WEINAN/SiteManager.vue +191 -191
  69. package/src/filiale/WEINAN/config/tableConfig.js +2 -0
  70. package/src/filiale/WEINAN/reportManage.js +12 -12
  71. package/src/filiale/alashan/reportManage.js +10 -10
  72. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  73. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  74. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  75. package/src/filiale/meihekou/sale.js +26 -26
  76. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  77. package/src/filiale/rongchuang/reportManage.js +11 -11
  78. package/src/filiale/shaoguan/RecordInfoQuery.vue +87 -79
  79. package/src/filiale/tongchuan/CriteriaPaged.vue +49 -0
  80. package/src/filiale/tongchuan/ReportList.vue +472 -472
  81. package/src/filiale/tongchuan/config/exportConfig.js +1 -1
  82. package/src/filiale/tongchuan/sale.js +4 -1
  83. package/src/main.js +66 -66
  84. package/static/wuhai.json +1610 -1610
  85. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  86. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  87. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  88. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  89. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  90. package/.gradle/5.2.1/gc.properties +0 -0
  91. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
@@ -1,227 +1,227 @@
1
- <template lang="html">
2
- <div class="basic-main" id="unit">
3
- <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
4
- <div class="row">
5
- <div class="col-sm-1 form-group">
6
- <label class="font_normal_body">汇总项</label>
7
- </div>
8
- <div class="col-sm-1 form-group">
9
- <input id="year" type="checkbox" checked v-model="nameForSql" value="year"/>
10
- <label class="font_normal_body" for="year">年份</label>
11
- </div>
12
- <div class="col-sm-1 form-group">
13
- <input id="month" type="checkbox" v-model="nameForSql" value="month"/>
14
- <label class="font_normal_body" for="month">月份</label>
15
- </div>
16
- <div class="col-sm-1 form-group">
17
- <input id="week" type="checkbox" v-model="nameForSql" value="week"/>
18
- <label class="font_normal_body" for="week">周</label>
19
- </div>
20
- <div class="col-sm-1 form-group">
21
- <input id="day" type="checkbox" v-model="nameForSql" value="day"/>
22
- <label class="font_normal_body" for="day">日</label>
23
- </div>
24
- <div class="col-sm-1 form-group">
25
- <input id="f_userType" type="checkbox" v-model="nameForSql" value="f_user_type"/>
26
- <label class="font_normal_body" for="f_userType">用户类型</label>
27
- </div>
28
- <div class="col-sm-1 form-group">
29
- <input id="f_gasproperties" type="checkbox" v-model="nameForSql" value="f_gasproperties"/>
30
- <label class="font_normal_body" for="f_gasproperties">用气性质</label>
31
- </div>
32
- <div class="col-sm-1 form-group">
33
- <input id="f_meter_brand" type="checkbox" v-model="nameForSql" value="f_meter_brand"/>
34
- <label class="font_normal_body" for="f_meter_brand">气表品牌</label>
35
- </div>
36
- <div class="col-sm-1 form-group">
37
- <input id="f_orgname" type="checkbox" v-model="nameForSql" value="f_orgname"/>
38
- <label class="font_normal_body" for="f_orgname">组织机构</label>
39
- </div>
40
-
41
- <span style="float: right">
42
- <button @click="searchData" class="button_search button_spacing">查询</button>
43
- <button @click="$parent.notShowTotalForm()" class="button_clear button_spacing" style="width: max-content">隐藏汇总</button>
44
- <export-excel :data="getCondition" class="button_export button_spacing"
45
- :field="getfield"
46
- sqlurl="rs/logic/exportfile" sql-name="webmeter_getUserGasSum" template-name='用气分析汇总'
47
- :choose-col="true"></export-excel>
48
-
49
- <!--<rexport-excel class="button_export button_spacing" id="table" style="width: 28%"></rexport-excel>-->
50
- <report-print class="button_export button_spacing" height='100%' id="table" left='0' top='3cm'
51
- width='100%'></report-print></span>
52
- </div>
53
- </div>
54
- <div id="table" style="height:600px;overflow:scroll;">
55
- <table class="table table-bordered">
56
- <thead class="text-left">
57
- <tr style="text-align:center">
58
- <p style="padding: 8px;text-align:center;" class="font_normal_body">用户用气汇总</p>
59
- </tr>
60
- <tr>
61
- <th style="text-align:center" v-if="nameForSql.includes('year')">年份</th>
62
- <th style="text-align:center" v-if="nameForSql.includes('month')">月份</th>
63
- <th style="text-align:center" v-if="nameForSql.includes('week')">周</th>
64
- <th style="text-align:center" v-if="nameForSql.includes('day')">日</th>
65
- <th style="text-align:center" v-if="nameForSql.includes('f_user_type')">用户类型</th>
66
- <th style="text-align:center" v-if="nameForSql.includes('f_gasproperties')">用气性质</th>
67
- <th style="text-align:center" v-if="nameForSql.includes('f_meter_brand')">气表品牌</th>
68
- <th style="text-align:center" v-if="nameForSql.includes('f_orgname')">组织机构</th>
69
- <th style="text-align:center">
70
- <nobr>总用气气量(m³)</nobr>
71
- </th>
72
- <th style="text-align:center">
73
- <nobr>总用气金额(元)</nobr>
74
- </th>
75
- <!--<th style="text-align:center"><nobr>一阶总气量(m³)</nobr></th>-->
76
- <!--<th style="text-align:center"><nobr>一阶总金额(元)</nobr></th>-->
77
- <!--<th style="text-align:center"><nobr>二阶总气量(m³)</nobr></th>-->
78
- <!--<th style="text-align:center"><nobr>二阶总金额(元)</nobr></th>-->
79
- <!--<th style="text-align:center"><nobr>三阶总气量(m³)</nobr></th>-->
80
- <!--<th style="text-align:center"><nobr>三阶总金额(元)</nobr></th>-->
81
- </tr>
82
- </thead>
83
- <tbody>
84
-
85
- <tr v-for="item in model2">
86
- <td style="text-align:center" v-if="nameForSql.includes('year')">{{item.year}}</td>
87
- <td style="text-align:center" v-if="nameForSql.includes('month')">{{item.month}}</td>
88
- <td style="text-align:center" v-if="nameForSql.includes('week')">{{item.week}}</td>
89
- <td style="text-align:center" v-if="nameForSql.includes('day')">{{item.day}}</td>
90
- <td style="text-align:center" v-if="nameForSql.includes('f_user_type')">{{item.f_user_type}}</td>
91
- <td style="text-align:center" v-if="nameForSql.includes('f_gasproperties')">{{item.f_gasproperties}}</td>
92
- <td style="text-align:center" v-if="nameForSql.includes('f_meter_brand')">{{item.f_meter_brand}}</td>
93
- <td style="text-align:center" v-if="nameForSql.includes('f_orgname')">{{item.f_orgname}}</td>
94
- <td style="text-align:center">{{item.f_oughtamount}}</td>
95
- <td style="text-align:center">{{item.f_oughtfee}}</td>
96
- <!--<td style="text-align:center">{{item.f_gas1}}</td>-->
97
- <!--<td style="text-align:center">{{item.f_money1}}</td>-->
98
- <!--<td style="text-align:center">{{item.f_gas2}}</td>-->
99
- <!--<td style="text-align:center">{{item.f_money2}}</td>-->
100
- <!--<td style="text-align:center">{{item.f_gas3}}</td>-->
101
- <!--<td style="text-align:center">{{item.f_money3}}</td>-->
102
- </tr>
103
- </tbody>
104
- </table>
105
- </div>
106
- </div>
107
-
108
- </template>
109
-
110
- <script>
111
- import {HttpResetClass} from 'vue-client'
112
- import * as Util from '../../../Util'
113
-
114
- export default {
115
- props: {
116
- startdate: {
117
- type: String,
118
- default: Util.toStandardDateString()
119
- },
120
- enddate: {
121
- type: String,
122
- default: Util.toStandardDateString()
123
- },
124
- condition: {
125
- type: String,
126
- default: '1=1'
127
- }
128
- // groupNameByDate: {
129
- // type: [],
130
- // default:['year']
131
- // }
132
- },
133
- data() {
134
- return {
135
- model2: null,
136
-
137
- conditionForSql: '1=1',
138
- nameForSql: [],
139
- groupNameForSql: '',
140
- exportfield:{"year":"年份","month":"月份","week":"周","day":"日",
141
- "f_user_type":"用户类型","f_gasproperties":"用气性质","f_meter_brand":"气表品牌","f_orgname":"组织机构"}
142
- }
143
- },
144
- ready() {
145
- this.nameForSql=['year']
146
- this.groupNameForSql= 'year'
147
- this.conditionForSql = this.condition
148
- this.searchData()
149
- },
150
- methods: {
151
- async searchData() {
152
- console.log(this.groupNameForSql)
153
- if (this.groupNameForSql&& this.groupNameForSql !== 'undefined') {
154
- let load = new HttpResetClass()
155
- let res = await load.load('POST', 'rs/sql/webmeter_getUserGasSum',
156
- {data: {condition: this.conditionForSql, groupname: this.groupNameForSql}},
157
- {resolveMsg: null, rejectMsg: null})
158
- console.log('res返回', res)
159
- this.model2 = res.data
160
- console.log('res返回123', this.model2)
161
- } else {
162
- this.$showAlert('请选择汇总项', 'warning', 3000)
163
- }
164
- },
165
- //拼接groupName1
166
- getGroupName1() {
167
- console.log("this.nameForSql.length:" + this.nameForSql.length)
168
- let str = ''
169
- let i = 0
170
- for (; i < this.nameForSql.length - 1; i++) {
171
- str += this.nameForSql[i] + ','
172
- }
173
- str += this.nameForSql[i]
174
- this.groupNameForSql = str.trim()
175
- }
176
- },
177
- computed: {
178
- // usertypes () {
179
- // return this.$appdate.getParams("客户类型")
180
- // },
181
- getfield(){
182
- var fields={}
183
- let i = 0
184
- for (; i < this.nameForSql.length; i++) {
185
- if(this.nameForSql[i] in this.exportfield ){
186
- fields[this.nameForSql[i]]=this.exportfield[this.nameForSql[i]]
187
- }
188
- }
189
- fields.f_oughtamount="总用气气量(m³)"
190
- fields.f_oughtfee="总用气金额(元)"
191
- return fields
192
- },
193
- getCondition() {
194
- return {
195
- condition: this.conditionForSql,
196
- groupname: this.groupNameForSql
197
-
198
- }
199
- }
200
- },
201
- watch: {
202
- 'nameForSql'() {
203
- // this.nameForSql =this.groupNameByDate;
204
- this.getGroupName1()
205
- }
206
- }
207
- }
208
- </script>
209
-
210
- <style scoped>
211
- .mystyle2 {
212
- width: 100%;
213
- height: 35px;
214
- /*background: #00A3F0;*/
215
- padding-left: 15px;
216
- float: left;
217
- }
218
-
219
- .datapanel {
220
- color: #333;
221
- background-color: white;
222
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
223
- padding: 10px 30px 10px 30px;
224
- border-radius: 15px;
225
- }
226
-
227
- </style>
1
+ <template lang="html">
2
+ <div class="basic-main" id="unit">
3
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
4
+ <div class="row">
5
+ <div class="col-sm-1 form-group">
6
+ <label class="font_normal_body">汇总项</label>
7
+ </div>
8
+ <div class="col-sm-1 form-group">
9
+ <input id="year" type="checkbox" checked v-model="nameForSql" value="year"/>
10
+ <label class="font_normal_body" for="year">年份</label>
11
+ </div>
12
+ <div class="col-sm-1 form-group">
13
+ <input id="month" type="checkbox" v-model="nameForSql" value="month"/>
14
+ <label class="font_normal_body" for="month">月份</label>
15
+ </div>
16
+ <div class="col-sm-1 form-group">
17
+ <input id="week" type="checkbox" v-model="nameForSql" value="week"/>
18
+ <label class="font_normal_body" for="week">周</label>
19
+ </div>
20
+ <div class="col-sm-1 form-group">
21
+ <input id="day" type="checkbox" v-model="nameForSql" value="day"/>
22
+ <label class="font_normal_body" for="day">日</label>
23
+ </div>
24
+ <div class="col-sm-1 form-group">
25
+ <input id="f_userType" type="checkbox" v-model="nameForSql" value="f_user_type"/>
26
+ <label class="font_normal_body" for="f_userType">用户类型</label>
27
+ </div>
28
+ <div class="col-sm-1 form-group">
29
+ <input id="f_gasproperties" type="checkbox" v-model="nameForSql" value="f_gasproperties"/>
30
+ <label class="font_normal_body" for="f_gasproperties">用气性质</label>
31
+ </div>
32
+ <div class="col-sm-1 form-group">
33
+ <input id="f_meter_brand" type="checkbox" v-model="nameForSql" value="f_meter_brand"/>
34
+ <label class="font_normal_body" for="f_meter_brand">气表品牌</label>
35
+ </div>
36
+ <div class="col-sm-1 form-group">
37
+ <input id="f_orgname" type="checkbox" v-model="nameForSql" value="f_orgname"/>
38
+ <label class="font_normal_body" for="f_orgname">组织机构</label>
39
+ </div>
40
+
41
+ <span style="float: right">
42
+ <button @click="searchData" class="button_search button_spacing">查询</button>
43
+ <button @click="$parent.notShowTotalForm()" class="button_clear button_spacing" style="width: max-content">隐藏汇总</button>
44
+ <export-excel :data="getCondition" class="button_export button_spacing"
45
+ :field="getfield"
46
+ sqlurl="rs/logic/exportfile" sql-name="webmeter_getUserGasSum" template-name='用气分析汇总'
47
+ :choose-col="true"></export-excel>
48
+
49
+ <!--<rexport-excel class="button_export button_spacing" id="table" style="width: 28%"></rexport-excel>-->
50
+ <report-print class="button_export button_spacing" height='100%' id="table" left='0' top='3cm'
51
+ width='100%'></report-print></span>
52
+ </div>
53
+ </div>
54
+ <div id="table" style="height:600px;overflow:scroll;">
55
+ <table class="table table-bordered">
56
+ <thead class="text-left">
57
+ <tr style="text-align:center">
58
+ <p style="padding: 8px;text-align:center;" class="font_normal_body">用户用气汇总</p>
59
+ </tr>
60
+ <tr>
61
+ <th style="text-align:center" v-if="nameForSql.includes('year')">年份</th>
62
+ <th style="text-align:center" v-if="nameForSql.includes('month')">月份</th>
63
+ <th style="text-align:center" v-if="nameForSql.includes('week')">周</th>
64
+ <th style="text-align:center" v-if="nameForSql.includes('day')">日</th>
65
+ <th style="text-align:center" v-if="nameForSql.includes('f_user_type')">用户类型</th>
66
+ <th style="text-align:center" v-if="nameForSql.includes('f_gasproperties')">用气性质</th>
67
+ <th style="text-align:center" v-if="nameForSql.includes('f_meter_brand')">气表品牌</th>
68
+ <th style="text-align:center" v-if="nameForSql.includes('f_orgname')">组织机构</th>
69
+ <th style="text-align:center">
70
+ <nobr>总用气气量(m³)</nobr>
71
+ </th>
72
+ <th style="text-align:center">
73
+ <nobr>总用气金额(元)</nobr>
74
+ </th>
75
+ <!--<th style="text-align:center"><nobr>一阶总气量(m³)</nobr></th>-->
76
+ <!--<th style="text-align:center"><nobr>一阶总金额(元)</nobr></th>-->
77
+ <!--<th style="text-align:center"><nobr>二阶总气量(m³)</nobr></th>-->
78
+ <!--<th style="text-align:center"><nobr>二阶总金额(元)</nobr></th>-->
79
+ <!--<th style="text-align:center"><nobr>三阶总气量(m³)</nobr></th>-->
80
+ <!--<th style="text-align:center"><nobr>三阶总金额(元)</nobr></th>-->
81
+ </tr>
82
+ </thead>
83
+ <tbody>
84
+
85
+ <tr v-for="item in model2">
86
+ <td style="text-align:center" v-if="nameForSql.includes('year')">{{item.year}}</td>
87
+ <td style="text-align:center" v-if="nameForSql.includes('month')">{{item.month}}</td>
88
+ <td style="text-align:center" v-if="nameForSql.includes('week')">{{item.week}}</td>
89
+ <td style="text-align:center" v-if="nameForSql.includes('day')">{{item.day}}</td>
90
+ <td style="text-align:center" v-if="nameForSql.includes('f_user_type')">{{item.f_user_type}}</td>
91
+ <td style="text-align:center" v-if="nameForSql.includes('f_gasproperties')">{{item.f_gasproperties}}</td>
92
+ <td style="text-align:center" v-if="nameForSql.includes('f_meter_brand')">{{item.f_meter_brand}}</td>
93
+ <td style="text-align:center" v-if="nameForSql.includes('f_orgname')">{{item.f_orgname}}</td>
94
+ <td style="text-align:center">{{item.f_oughtamount}}</td>
95
+ <td style="text-align:center">{{item.f_oughtfee}}</td>
96
+ <!--<td style="text-align:center">{{item.f_gas1}}</td>-->
97
+ <!--<td style="text-align:center">{{item.f_money1}}</td>-->
98
+ <!--<td style="text-align:center">{{item.f_gas2}}</td>-->
99
+ <!--<td style="text-align:center">{{item.f_money2}}</td>-->
100
+ <!--<td style="text-align:center">{{item.f_gas3}}</td>-->
101
+ <!--<td style="text-align:center">{{item.f_money3}}</td>-->
102
+ </tr>
103
+ </tbody>
104
+ </table>
105
+ </div>
106
+ </div>
107
+
108
+ </template>
109
+
110
+ <script>
111
+ import {HttpResetClass} from 'vue-client'
112
+ import * as Util from '../../../Util'
113
+
114
+ export default {
115
+ props: {
116
+ startdate: {
117
+ type: String,
118
+ default: Util.toStandardDateString()
119
+ },
120
+ enddate: {
121
+ type: String,
122
+ default: Util.toStandardDateString()
123
+ },
124
+ condition: {
125
+ type: String,
126
+ default: '1=1'
127
+ }
128
+ // groupNameByDate: {
129
+ // type: [],
130
+ // default:['year']
131
+ // }
132
+ },
133
+ data() {
134
+ return {
135
+ model2: null,
136
+
137
+ conditionForSql: '1=1',
138
+ nameForSql: [],
139
+ groupNameForSql: '',
140
+ exportfield:{"year":"年份","month":"月份","week":"周","day":"日",
141
+ "f_user_type":"用户类型","f_gasproperties":"用气性质","f_meter_brand":"气表品牌","f_orgname":"组织机构"}
142
+ }
143
+ },
144
+ ready() {
145
+ this.nameForSql=['year']
146
+ this.groupNameForSql= 'year'
147
+ this.conditionForSql = this.condition
148
+ this.searchData()
149
+ },
150
+ methods: {
151
+ async searchData() {
152
+ console.log(this.groupNameForSql)
153
+ if (this.groupNameForSql&& this.groupNameForSql !== 'undefined') {
154
+ let load = new HttpResetClass()
155
+ let res = await load.load('POST', 'rs/sql/webmeter_getUserGasSum',
156
+ {data: {condition: this.conditionForSql, groupname: this.groupNameForSql}},
157
+ {resolveMsg: null, rejectMsg: null})
158
+ console.log('res返回', res)
159
+ this.model2 = res.data
160
+ console.log('res返回123', this.model2)
161
+ } else {
162
+ this.$showAlert('请选择汇总项', 'warning', 3000)
163
+ }
164
+ },
165
+ //拼接groupName1
166
+ getGroupName1() {
167
+ console.log("this.nameForSql.length:" + this.nameForSql.length)
168
+ let str = ''
169
+ let i = 0
170
+ for (; i < this.nameForSql.length - 1; i++) {
171
+ str += this.nameForSql[i] + ','
172
+ }
173
+ str += this.nameForSql[i]
174
+ this.groupNameForSql = str.trim()
175
+ }
176
+ },
177
+ computed: {
178
+ // usertypes () {
179
+ // return this.$appdate.getParams("客户类型")
180
+ // },
181
+ getfield(){
182
+ var fields={}
183
+ let i = 0
184
+ for (; i < this.nameForSql.length; i++) {
185
+ if(this.nameForSql[i] in this.exportfield ){
186
+ fields[this.nameForSql[i]]=this.exportfield[this.nameForSql[i]]
187
+ }
188
+ }
189
+ fields.f_oughtamount="总用气气量(m³)"
190
+ fields.f_oughtfee="总用气金额(元)"
191
+ return fields
192
+ },
193
+ getCondition() {
194
+ return {
195
+ condition: this.conditionForSql,
196
+ groupname: this.groupNameForSql
197
+
198
+ }
199
+ }
200
+ },
201
+ watch: {
202
+ 'nameForSql'() {
203
+ // this.nameForSql =this.groupNameByDate;
204
+ this.getGroupName1()
205
+ }
206
+ }
207
+ }
208
+ </script>
209
+
210
+ <style scoped>
211
+ .mystyle2 {
212
+ width: 100%;
213
+ height: 35px;
214
+ /*background: #00A3F0;*/
215
+ padding-left: 15px;
216
+ float: left;
217
+ }
218
+
219
+ .datapanel {
220
+ color: #333;
221
+ background-color: white;
222
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
223
+ padding: 10px 30px 10px 30px;
224
+ border-radius: 15px;
225
+ }
226
+
227
+ </style>