manage-client 3.1.39 → 3.1.43

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 (98) hide show
  1. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  2. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  3. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  4. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  5. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  6. package/.gradle/5.2.1/gc.properties +0 -0
  7. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  8. package/build/dev-server.js +174 -181
  9. package/package.json +1 -1
  10. package/src/App.vue +28 -29
  11. package/src/components/BasisEcharts/BarChart.vue +247 -247
  12. package/src/components/BasisEcharts/RingChart.vue +196 -196
  13. package/src/components/SellReport/BusinessClassify.vue +317 -293
  14. package/src/components/SellReport/ChargePrick.vue +284 -284
  15. package/src/components/SellReport/DepartmentPrick.vue +288 -288
  16. package/src/components/SellReport/FinanceSellType.vue +254 -254
  17. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  18. package/src/components/SellReport/GasPrice.vue +244 -244
  19. package/src/components/SellReport/ManageBusSummary.vue +242 -242
  20. package/src/components/SellReport/ManageHandInputtor.vue +281 -281
  21. package/src/components/SellReport/ManageOtherCharge.vue +250 -250
  22. package/src/components/SellReport/ManageSellType.vue +284 -284
  23. package/src/components/SellReport/ManageUserCount.vue +347 -347
  24. package/src/components/SellReport/MarketMonth.vue +297 -251
  25. package/src/components/SellReport/SaleMonthReport.vue +227 -227
  26. package/src/components/SellReport/SellingTable.vue +220 -220
  27. package/src/components/SellReport/UserClassify.vue +271 -251
  28. package/src/components/SellReport/UserSellingGas.vue +251 -251
  29. package/src/components/daping/CallCenter.vue +366 -366
  30. package/src/components/daping/DataManagement.vue +537 -537
  31. package/src/components/daping/GMap.vue +636 -636
  32. package/src/components/daping/ManageMain.vue +270 -270
  33. package/src/components/daping/NetWork.vue +238 -238
  34. package/src/components/daping/RedactDaPing.vue +468 -468
  35. package/src/components/daping/Ring.vue +212 -212
  36. package/src/components/daping/SafeCheck.vue +446 -446
  37. package/src/components/daping/SafeCheckRing.vue +166 -166
  38. package/src/components/daping/SafecheckBarChart.vue +233 -233
  39. package/src/components/daping/WuHaiMap.vue +418 -418
  40. package/src/components/qinhua/BarChart.vue +256 -256
  41. package/src/components/qinhua/Pie.vue +132 -132
  42. package/src/components/qinhua/SellEcharts.vue +115 -115
  43. package/src/components/qinhua/qinHuaMap.vue +414 -414
  44. package/src/components/sale/businessquery/CollectManage.vue +135 -135
  45. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  46. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  47. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  48. package/src/components/sale/businessquery/ProceedsOper.vue +377 -377
  49. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  50. package/src/components/sale/filesquery/DeviceQuery.vue +45 -11
  51. package/src/components/statistical/StatisticalAnalysis.vue +247 -247
  52. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  53. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  54. package/src/components/webmeter/DrillData/UserGasAll.vue +597 -597
  55. package/src/components/webmeter/DrillData/UserGasEcharts.vue +210 -210
  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/newwebmeter/NewException/NewContactEcharts.vue +171 -170
  59. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +111 -111
  60. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +275 -903
  61. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +209 -209
  62. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +213 -238
  63. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +240 -266
  64. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
  65. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +218 -218
  66. package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
  67. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +2 -46
  68. package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
  69. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  70. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  71. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  72. package/src/filiale/alashan/SellingTable.vue +234 -234
  73. package/src/filiale/alashan/reportManage.js +10 -10
  74. package/src/filiale/jingwei/RecordInfoQuery.vue +14 -14
  75. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  76. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  77. package/src/filiale/liaoyuan/ChargeQuery.vue +6 -0
  78. package/src/filiale/liaoyuan/exportConfig.js +1 -1
  79. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  80. package/src/filiale/meihekou/sale.js +26 -26
  81. package/src/filiale/rongcheng/exportConfig.js +257 -257
  82. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  83. package/src/filiale/rongchuang/reportManage.js +11 -11
  84. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  85. package/src/filiale/shaoguan/sale/businessquery/oldList.vue +41 -0
  86. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +290 -0
  87. package/src/filiale/shaoguan/sale.js +3 -1
  88. package/src/filiale/tongchuan/ManageBusSummary.vue +302 -301
  89. package/src/filiale/tongchuan/ReportList.vue +456 -0
  90. package/src/filiale/tongchuan/ResSelectGroupNew.vue +7 -2
  91. package/src/filiale/tongchuan/reportManage.js +6 -5
  92. package/src/main.js +66 -66
  93. package/src/newmanage.js +525 -525
  94. package/src/reportManage.js +462 -462
  95. package/src/saleManage.js +2 -3
  96. package/static/wuhai.json +1610 -1610
  97. package/src/components/SellReport/SellCollect.vue +0 -183
  98. package/src/components/sale/businessquery/NewHandplanQuery.vue +0 -995
@@ -0,0 +1,456 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' v-ref:criteria @condition-changed='$parent.search'>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row" >
9
+ <div class="col-sm-2">
10
+ <label class="font_normal_body">组织机构</label>
11
+ <res-select :initresid="$parent.$parent.org"
12
+ style="width:60%"
13
+ @res-select="$parent.$parent.getorg"
14
+ :is-mul=false
15
+ restype='organization'>
16
+ </res-select>
17
+
18
+ </div>
19
+ <div class="col-sm-2">
20
+ <label class="font_normal_body">表&nbsp;钢&nbsp;号&nbsp;</label>
21
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_meternumber" placeholder='表钢号'
22
+ condition="m.f_meternumber like '%{}%'" v-next-el='meternumber' v-el:meternumber
23
+ >
24
+ </div>
25
+ <!-- <div class="col-sm-2">-->
26
+ <!-- <label class="font_normal_body">组织机构</label>-->
27
+ <!-- <res-select :initresid="$parent.$parent.orgid"-->
28
+ <!-- style="width:60%"-->
29
+ <!-- @res-select="$parent.$parent.getRes"-->
30
+ <!-- restype='organization'>-->
31
+ <!-- </res-select>-->
32
+ <!-- </div>-->
33
+ <div class="col-sm-2">
34
+ <label class="font_normal_body">客户编号</label>
35
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_userinfo_code" placeholder='客户编号'
36
+ condition="ui.f_userinfo_code like '%{}%'" v-next-el='f_userinfo_code' v-el:meternumber
37
+ >
38
+ </div>
39
+ <div class="col-sm-2">
40
+ <label class="font_normal_body">客户名称</label>
41
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_username" placeholder='客户名称'
42
+ condition="ui.f_user_name like '%{}%'" v-next-el='userid' v-el:username>
43
+ </div>
44
+ <div class="col-sm-2">
45
+ <label class="font_normal_body">客户地址</label>
46
+ <input @keyup.enter="search" style="width:60%" type="text" class="input_search" v-model="model.f_address" placeholder='客户地址'
47
+ condition="ua.f_address like '%{}%'" v-next-el='userid' v-el:username>
48
+ </div>
49
+ <div class="col-sm-2 form-group">
50
+ <label class="font_normal_body">客户类型</label>
51
+ <v-select :value.sync="model.f_user_type"
52
+ @change="$parent.$parent.userTypeChange()"
53
+ :options='$parent.$parent.usertypes' placeholder='请选择' v-model="model.f_user_type"
54
+ condition="uf.f_user_type = '{}'"
55
+ close-on-select></v-select>
56
+ </div>
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body">用气性质</label>
59
+ <v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
60
+ :options='$parent.$parent.gasproperties' placeholder='请选择'
61
+ condition="uf.f_gasproperties = '{}'"
62
+ closfe-on-select></v-select>
63
+ </div>
64
+ <div class="col-sm-2 form-group">
65
+ <label class="font_normal_body">气价类型</label>
66
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
67
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
68
+ close-on-select>
69
+ </v-select>
70
+ </div>
71
+ <div class="col-sm-2 form-group">
72
+ <label class="font_normal_body">气价名称</label>
73
+ <v-select :value.sync="model.f_price_name"
74
+ v-model="model.f_price_name"
75
+ :options="$parent.$parent.getPricenames"
76
+ condition="ts.f_price_name = '{}'"
77
+ close-on-select></v-select>
78
+ </div>
79
+
80
+ <div class="span" style="float:right;margin-top:10px">
81
+ <button class="button_search button_spacing" @click="search()">查询</button>
82
+ <button class="button_clear button_spacing" @click="$parent.$parent.clearmsg">清空</button>
83
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
84
+ :field="$parent.$parent.getfield"
85
+ sqlurl="rs/logic/exportfile" sql-name="manage_getReportList" template-name='上报查询'
86
+ :choose-col="true"></export-excel>
87
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
88
+ </div>
89
+ </div>
90
+ <div class="row" v-show="$parent.$parent.criteriaShow">
91
+ <div class="col-sm-2 " >
92
+ <label class="font_normal_body" >开始时间</label>
93
+ <datepicker style="width: 60%" placeholder="大于等于"
94
+ :value.sync="model.f_start_date"
95
+ v-model="model.f_start_date"
96
+ :format="'yyyy-MM-dd HH:mm:ss'"
97
+ condition="m.f_hand_date >= '{}'"
98
+ ></datepicker>
99
+ </div>
100
+ <div class="col-sm-2 " >
101
+ <label class="font_normal_body">结束时间</label>
102
+ <datepicker style="width: 60%" placeholder="小于等于"
103
+ :value.sync="model.f_end_date"
104
+ v-model="model.f_end_date"
105
+ :format="'yyyy-MM-dd HH:mm:ss'"
106
+ condition="m.f_hand_date <= '{}'"
107
+ ></datepicker>
108
+ </div>
109
+ </div>
110
+ </div>
111
+ </criteria>
112
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
113
+ <template partial='head'>
114
+ <tr>
115
+ <th><nobr>客户编号</nobr></th>
116
+ <th><nobr>表号</nobr></th>
117
+ <th><nobr>客户姓名</nobr></th>
118
+ <th><nobr>客户电话</nobr></th>
119
+ <th><nobr>客户地址</nobr></th>
120
+
121
+ <th><nobr>上报日期</nobr></th>
122
+ <th><nobr>系统接收时间</nobr></th>
123
+ <th><nobr>表内剩余金额</nobr></th>
124
+ <th><nobr>表内单价</nobr></th>
125
+ <th><nobr>本次抄表底数</nobr></th>
126
+ <th><nobr>阀门状态</nobr></th>
127
+
128
+ <th><nobr>上报类型</nobr></th>
129
+ <th><nobr>表内累计充值金额</nobr></th>
130
+ <th><nobr>噪音强度</nobr></th>
131
+ <th><nobr>信噪比</nobr></th>
132
+ <th><nobr>电压</nobr></th>
133
+
134
+ <th><nobr>表状态</nobr></th>
135
+ <th><nobr>金额状态</nobr></th>
136
+ <th><nobr>外电低电</nobr></th>
137
+ <th><nobr>内电低电</nobr></th>
138
+ <th><nobr>流量计温度</nobr></th>
139
+ <th><nobr>流量计压力</nobr></th>
140
+ <th><nobr>流量计电压</nobr></th>
141
+ <th><nobr>流量计工况累计</nobr></th>
142
+ <th><nobr>流量计标况累计</nobr></th>
143
+ <th><nobr>流量计工况流速</nobr></th>
144
+ <th><nobr>流量计标况流速</nobr></th>
145
+ <th><nobr>流量计计量状态</nobr></th>
146
+ <th><nobr>流量计温度状态</nobr></th>
147
+ <th><nobr>流量计压力状态</nobr></th>
148
+ <th><nobr>流量计电压状态</nobr></th>
149
+ <th><nobr>流量计活动状态</nobr></th>
150
+ <th><nobr>流量计命令响应状态</nobr></th>
151
+ <th><nobr>流量计数据状态</nobr></th>
152
+ <th><nobr>流量计EEPROM状态</nobr></th>
153
+ <th><nobr>流量计时钟电路状态</nobr></th>
154
+ <th><nobr>每小时上报量</nobr></th>
155
+ </tr>
156
+ </template>
157
+ <template partial='body' partial='list'>
158
+ <tr >
159
+ <td style="text-align: left;"><nobr> <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span></nobr></td>
160
+ <td style="text-align: left;"><nobr>{{row.f_meternumber}}</nobr></td>
161
+ <td style="text-align: left;"><nobr>{{row.f_user_name}}</nobr></td>
162
+ <td style="text-align: left;"><nobr>{{row.f_user_phone}}</nobr></td>
163
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
164
+
165
+ <td style="text-align:center"><nobr>{{row.f_hand_date}}</nobr></td>
166
+ <th style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></th>
167
+ <th style="text-align:center"><nobr>{{row.f_meterbalanceamt}}</nobr></th>
168
+ <th style="text-align:center"><nobr>{{row.f_price}}</nobr></th>
169
+ <th style="text-align:center"><nobr>{{row.f_tablebase}}</nobr></th>
170
+ <th style="text-align:center"><nobr>{{row.f_valvestate}}</nobr></th>
171
+
172
+
173
+ <th style="text-align:center"><nobr>{{row.f_upload_type}}</nobr></th>
174
+ <th style="text-align:center"><nobr>{{row.f_meterdebitamt}}</nobr></th>
175
+ <th style="text-align:center"><nobr>{{row.f_signal}}</nobr></th>
176
+ <th style="text-align:center"><nobr>{{row.f_snr}}</nobr></th>
177
+ <th style="text-align:center"><nobr>{{row.f_batterylevel}}</nobr></th>
178
+
179
+ <th style="text-align:center"><nobr>{{row.f_table_msg}}</nobr></th>
180
+ <th style="text-align:center"><nobr>{{row.f_moneystate}}</nobr></th>
181
+ <th style="text-align:center"><nobr>{{row.f_lowlithiumbattery}}</nobr></th>
182
+ <th style="text-align:center"><nobr>{{row.f_lowlithiumbattery2}}</nobr></th>
183
+ <th style="text-align:center"><nobr>{{row.flowmetertemperature}}</nobr></th>
184
+ <th style="text-align:center"><nobr>{{row.flowmeterpressure}}</nobr></th>
185
+ <th style="text-align:center"><nobr>{{row.flowmeterbatterylevel}}</nobr></th>
186
+ <th style="text-align:center"><nobr>{{row.operatingmodetotal}}</nobr></th>
187
+ <th style="text-align:center"><nobr>{{row.standardconditiontotal}}</nobr></th>
188
+ <th style="text-align:center"><nobr>{{row.factorycurrentspeed}}</nobr></th>
189
+ <th style="text-align:center"><nobr>{{row.standardcurrentspeed}}</nobr></th>
190
+ <th style="text-align:center"><nobr>{{row.flowmeterwmprepaystate}}</nobr></th>
191
+ <th style="text-align:center"><nobr>{{row.flowmetertemperaturestate}}</nobr></th>
192
+ <th style="text-align:center"><nobr>{{row.flowmeterpressurestate}}</nobr></th>
193
+ <th style="text-align:center"><nobr>{{row.flowmeterbatterylevelstate}}</nobr></th>
194
+ <th style="text-align:center"><nobr>{{row.flowmeterdostate}}</nobr></th>
195
+ <th style="text-align:center"><nobr>{{row.flowmeterinstructresponsestate}}</nobr></th>
196
+ <th style="text-align:center"><nobr>{{row.flowmeterdatastate}}</nobr></th>
197
+ <th style="text-align:center"><nobr>{{row.flowmetereppromstate}}</nobr></th>
198
+ <th style="text-align:center"><nobr>{{row.flowmeterclockstate}}</nobr></th>
199
+ <!-- <th style="text-align:center"><nobr>{{row.f_nsturalgas_data}}</nobr></th>-->
200
+ <!-- <th style="text-align:center"><nobr><span @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)"><a>查看</a></span></nobr></th>-->
201
+ <th style="text-align:center">
202
+ <button type="button" class="button_search button_spacing width-60" @click="$parent.$parent.$parent.showdetail(row.f_nsturalgas_data)">查看</button>
203
+ </th>
204
+ </tr>
205
+ </template>
206
+ <template partial='foot'></template>
207
+ </data-grid>
208
+ </criteria-paged>
209
+ <table class="table-hover">
210
+ <!-- <tr style="position: relative" class="table-bordered">-->
211
+ <!-- <td-->
212
+ <!-- style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">-->
213
+ <!-- 汇总信息-->
214
+ <!-- </td>-->
215
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
216
+ <!-- 表内剩余金额合计:&emsp;{{sumsmodel.f_meterbalanceamt}}-->
217
+ <!-- </td>-->
218
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
219
+ <!-- 抄表底数合计:&emsp;{{sumsmodel.f_tablebase}}-->
220
+ <!-- </td>-->
221
+ <!-- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">-->
222
+ <!-- 表累计充值金额合计:&emsp;{{sumsmodel.f_meterdebitamt}}-->
223
+ <!-- </td>-->
224
+ <!-- </tr>-->
225
+ </table>
226
+ <modal :show.sync="detail24" >
227
+ <header slot="modal-header" class="modal-header">
228
+ <h4 class="modal-title">24小时上报数据明细</h4>
229
+ </header>
230
+ <article slot="modal-body" class="modal-body">
231
+ <table v-for="detail of detaillist">
232
+ <tr><td>{{detail.frozenDate}}</td><td>&nbsp;&nbsp;--&nbsp;&nbsp;</td><td>{{detail.frozenValue}}</td></tr>
233
+ </table>
234
+ </article>
235
+ <footer slot="modal-footer" class="modal-footer">
236
+ <div class="form-group">
237
+ <button class="btn btn-success" @click="close()">确认</button>
238
+ <button type="button" class="btn btn-default" @click='close'>取消</button>
239
+ </div>
240
+ </footer>
241
+ </modal>
242
+ </div>
243
+ <div class="flex" v-if="show">
244
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
245
+ </div>
246
+ </div>
247
+
248
+ </div>
249
+ </template>
250
+
251
+ <script>
252
+ import {HttpResetClass, PagedList} from 'vue-client'
253
+ import exportConfig from './config/exportConfig'
254
+ import plugins from '../../plugins/GetLoginInfoService'
255
+
256
+ let readySomething = async function (self) {
257
+ await self.$MagLoadParams.loadParam()
258
+ self.initParams()
259
+ self.sumsmodel = self.$refs.paged.$refs.grid.model.sums;
260
+ }
261
+ export default {
262
+ title: '上报查询',
263
+ data () {
264
+ return {
265
+ show:false,
266
+ detail24: false,
267
+ org:[this.$login.f.orgid],
268
+ orgcondition:' and f_filialeid = ' + this.$login.f.orgid,
269
+ f_filialeid: this.$login.f.f_orgid,
270
+ detaillist: [],
271
+ prices: [],
272
+ gasproperties:[],
273
+ condition:'',
274
+ rowdata:{},
275
+ sumsmodel: {},
276
+ orgid:[this.$login.f.orgid],
277
+ criteriaShow:false,
278
+ orgCondtionStr: '',
279
+ model: new PagedList('rs/sql/manage_getReportList', 50,{},{f_meterbalanceamt: 0,f_tablebase: 0,f_meterdebitamt: 0})
280
+ }
281
+ },
282
+ ready () {
283
+ // this.$refs.paged.$refs.criteria.search()
284
+ readySomething(this).then(() => {
285
+ this.$emit('ready')
286
+ }).catch((error) => {
287
+ this.$emit('error', error)
288
+ })
289
+ },
290
+ methods: {
291
+ initParams() {
292
+ // 初始化气表品牌
293
+ let brandArr = []
294
+ this.$MagGetSaleParam.getGasbrand().forEach((item) => {
295
+ let temp = {}
296
+ temp.label = item.label
297
+ temp.value = item.value.f_meter_brand
298
+ brandArr.push(temp)
299
+ })
300
+ this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
301
+ //初始化气表价格
302
+ this.prices = this.$MagGetSaleParam.getPrices();
303
+ },
304
+ async updateParams() {
305
+ await this.$MagLoadParams.loadParam(this.f_filialeid)
306
+ this.initParams()
307
+ },
308
+ getorg(obj) {
309
+ if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
310
+ this.orgcondition = " and m.f_orgid in " + plugins.convertToIn(obj)
311
+ }else{
312
+ this.orgcondition = " and m.f_orgid = " + this.$login.f.orgid
313
+ }
314
+
315
+ },
316
+ userTypeChange () {
317
+ this.gasproperties=[]
318
+ if(this.$refs.paged.$refs.criteria.model !==null) {
319
+ this.$refs.paged.$refs.criteria.model.f_gasproperties=''
320
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.criteria.model.f_user_type[0])
321
+ }
322
+ else{
323
+ this.gasproperties =[{label: '全部', value: ''}]
324
+ }
325
+ },
326
+ showdetail(val) {
327
+ console.log('24detail==', val)
328
+ if(val){
329
+ let detail = eval("("+val+")")
330
+ this.detaillist = detail
331
+ this.detail24 = true
332
+ }else{
333
+ console.log('无数据')
334
+ }
335
+ },
336
+ close() {
337
+ this.detail24 = false
338
+ },
339
+ hidden(){
340
+ this.criteriaShow = !this.criteriaShow
341
+ },
342
+ cancel() {
343
+ this.show = false
344
+ },
345
+ clearmsg () {
346
+ Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {
347
+ this.$refs.paged.$refs.criteria.model[key] = []
348
+ })
349
+ },
350
+ getRes (obj) {
351
+ this.orgCondtionStr = condition
352
+ this.orgname = obj.orgnames[0]
353
+ this.depname = obj.depnames[0]
354
+ },
355
+ showmsg(obj){
356
+ this.rowdata=obj
357
+ this.show=true
358
+ },
359
+
360
+ search (args) {
361
+ args.condition = `${args.condition}`+this.orgcondition
362
+ console.log(args.condition+"args.condition")
363
+ this.condition = args.condition
364
+ this.model.search(args.condition, args.model)
365
+ console.log(this.$refs.paged.$refs.grid.model.sums+"--this.$refs.paged.$refs.grid.model.sums")
366
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
367
+ // args.condition = `${args.condition}`
368
+ // if (this.orgcondition)
369
+ // args.condition = `${args.condition}` + this.orgcondition
370
+ // else
371
+ // args.condition = `${args.condition}` + 'and m.f_orgid in ' + '(' + this.$login.f.orgid + ')'
372
+ // this.model.search(args.condition, args.model)
373
+ }
374
+ },
375
+ watch: {
376
+ 'orgCondtionStr'(val) {
377
+ let res = val.match(/'(.*?)'/)
378
+ console.log('正则提取:',res && res[1])
379
+ if (res) {
380
+ this.f_filialeid = res[1]
381
+ this.updateParams()
382
+ }
383
+ }
384
+ },
385
+ computed: {
386
+ getPricenames() {
387
+ let f_user_type = this.$refs.paged.$refs.criteria.model.f_user_type;
388
+ let f_gasproperties = this.$refs.paged.$refs.criteria.model.f_gasproperties;
389
+ let pricetype = this.$refs.paged.$refs.criteria.model.pricetype;
390
+ console.log("打印一下:",f_user_type,f_gasproperties,pricetype,this.f_filialeid,this.prices)
391
+ console.log("查看f_orgid:",this.$login.f.f_orgid)
392
+ if(this.$refs.paged.$refs.criteria.model !==null) {
393
+ let rs = []
394
+ let priceArr = []
395
+ if ( pricetype.length >0) {
396
+ let params = {
397
+ f_price_type: pricetype[0],
398
+ filter: this.org[0],
399
+ prices: this.prices
400
+ }
401
+ console.log("打印一下params:",params)
402
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
403
+ console.log("====================================》")
404
+ let temp = {}
405
+ temp.label = item.label
406
+ temp.value = item.value.f_price_name
407
+ priceArr.push(temp)
408
+ console.log("打印一下temp:",temp)
409
+ })
410
+
411
+ rs = [{label: '全部', value: ''}, ...priceArr]
412
+ }
413
+ if (rs.length === 0) {
414
+ console.log('rs读出来是空')
415
+ this.$refs.paged.$refs.criteria.model.f_price_name = ''
416
+ }
417
+ return rs
418
+ }
419
+ },
420
+ getfield () {
421
+ return exportConfig.ReportListConfig
422
+ },
423
+ usertypes() {
424
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
425
+ },
426
+ pricetypes() {
427
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
428
+ },
429
+ getCondition () {
430
+ var con = ""
431
+ if (this.orgCondtionStr) {
432
+ con = `${this.$refs.paged.$refs.criteria.condition} and m.f_orgid in (${this.orgCondtionStr})`
433
+ }
434
+ else {
435
+ con = `${this.$refs.paged.$refs.criteria.condition}and m.f_orgid in ('${this.$login.f.orgid}' )`
436
+ }
437
+ return {
438
+ condition: con
439
+ }
440
+ }
441
+ }
442
+ }
443
+ </script>
444
+
445
+ <style>
446
+ .mystyle{
447
+ margin-left:80px;
448
+ }
449
+ .datapanel {
450
+ color: #333;
451
+ background-color: white;
452
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
453
+ padding: 10px 10px 10px 10px;
454
+ border-radius:15px;
455
+ }
456
+ </style>
@@ -10,7 +10,7 @@
10
10
  <label class="font_normal_body">部&emsp;&emsp;门</label>
11
11
  <res-select restype='department'
12
12
  @res-select="getdep"
13
- :parentresid="depresid"
13
+ :parentresid="firstdepresid"
14
14
  :initresid='initres.dep'
15
15
  :is-mul="mul">
16
16
  </res-select>
@@ -19,7 +19,7 @@
19
19
  <label class="font_normal_body">人&emsp;&emsp;员</label>
20
20
  <res-select restype='user'
21
21
  @res-select="getuser"
22
- :parentresid="depresid"
22
+ :parentresid="firstdepresid"
23
23
  :initresid='initres.user'
24
24
  :is-mul="mul">
25
25
  </res-select>
@@ -71,6 +71,8 @@
71
71
  },
72
72
  data () {
73
73
  return {
74
+ // 首次默认选择的公司
75
+ firstdepresid: [],
74
76
  orgresid:[this.$login.f.orgid],
75
77
  depresid:[],
76
78
  userresid:[],
@@ -143,6 +145,9 @@
143
145
  },
144
146
  getorg (obj,val) {
145
147
  console.log("选中公司的数据11",obj)
148
+ if (this.firstdepresid.length <= 0) {
149
+ this.firstdepresid = JSON.parse(JSON.stringify(obj))
150
+ }
146
151
  this.depresid=obj
147
152
  this.obj.orgnames = val
148
153
  this.initAreas(obj)
@@ -1,5 +1,6 @@
1
- let specialComp = {
2
- // 收费查询
3
- 'manage-bus-summary': (resolve) => { require(['./ManageBusSummary'], resolve) }
4
- }
5
- exports.specialComp = specialComp
1
+ let specialComp = {
2
+ // 收费查询
3
+ 'manage-bus-summary': (resolve) => { require(['./ManageBusSummary'], resolve) },
4
+ 'report-list': (resolve) => { require(['./reportList'], resolve) }
5
+ }
6
+ exports.specialComp = specialComp
package/src/main.js CHANGED
@@ -1,66 +1,66 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
-
5
- // import { sale } from 'sale-client'
6
- import { system } from 'system-clients'
7
- import { ldap } from 'ldap-clients'
8
- import saleManage from './saleManage'
9
- import webmeterManage from './webmeterManage'
10
- import reportManage from './reportManage'
11
- import newmanage from './newmanage'
12
- import ManageHome from './ManageHome'
13
- import echarts from 'echarts'
14
- import AMap from 'vue-amap'
15
-
16
- Vue.config.silent = true
17
- // Vue.mmType = 'AES'
18
-
19
- Vue.use(AMap);
20
-
21
- // 初始化vue-amap
22
- AMap.initAMapApiLoader({
23
- // 高德key
24
- key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
- // 插件集合 (插件按需引入)
26
- plugin: [
27
- "AMap.Autocomplete", //输入提示插件
28
- "AMap.PlaceSearch", //POI搜索插件
29
- "AMap.Scale", //右下角缩略图插件 比例尺
30
- "AMap.OverView", //地图鹰眼插件
31
- "AMap.ToolBar", //地图工具条
32
- "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
- "AMap.PolyEditor", //编辑 折线多,边形
34
- "AMap.CircleEditor", //圆形编辑器插件
35
- "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
- ],
37
- uiVersion: "1.0"
38
- });
39
- /** **************************通用组件******************************/
40
-
41
- Vue.prototype.$echarts = echarts
42
- all()
43
- // sale()
44
- ldap()
45
- system(false)
46
- saleManage()
47
-
48
- webmeterManage()
49
- ManageHome()
50
- newmanage()
51
- reportManage('tongchuan')
52
- require('system-clients/src/styles/less/bootstrap.less')
53
- require('./components/qinhua/Style/qinhuaStyle.less')
54
- // require('./bootstrap/less/manageStyle/manageChile.less')
55
- // require('./bootstrap/less/manageStyle/safeStyle.less')
56
-
57
- //大屏展示要放开的样式
58
- // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
- // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
- // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
-
62
- new Vue({
63
- el: 'body',
64
- components: { App }
65
- })
66
-
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+
5
+ // import { sale } from 'sale-client'
6
+ import { system } from 'system-clients'
7
+ import { ldap } from 'ldap-clients'
8
+ import saleManage from './saleManage'
9
+ import webmeterManage from './webmeterManage'
10
+ import reportManage from './reportManage'
11
+ import newmanage from './newmanage'
12
+ import ManageHome from './ManageHome'
13
+ import echarts from 'echarts'
14
+ import AMap from 'vue-amap'
15
+
16
+ Vue.config.silent = true
17
+ // Vue.mmType = 'AES'
18
+
19
+ Vue.use(AMap);
20
+
21
+ // 初始化vue-amap
22
+ AMap.initAMapApiLoader({
23
+ // 高德key
24
+ key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
+ // 插件集合 (插件按需引入)
26
+ plugin: [
27
+ "AMap.Autocomplete", //输入提示插件
28
+ "AMap.PlaceSearch", //POI搜索插件
29
+ "AMap.Scale", //右下角缩略图插件 比例尺
30
+ "AMap.OverView", //地图鹰眼插件
31
+ "AMap.ToolBar", //地图工具条
32
+ "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
+ "AMap.PolyEditor", //编辑 折线多,边形
34
+ "AMap.CircleEditor", //圆形编辑器插件
35
+ "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
+ ],
37
+ uiVersion: "1.0"
38
+ });
39
+ /** **************************通用组件******************************/
40
+
41
+ Vue.prototype.$echarts = echarts
42
+ all()
43
+ // sale()
44
+ ldap()
45
+ system(false)
46
+ saleManage()
47
+
48
+ webmeterManage()
49
+ ManageHome()
50
+ newmanage()
51
+ reportManage()
52
+ require('system-clients/src/styles/less/bootstrap.less')
53
+ require('./components/qinhua/Style/qinhuaStyle.less')
54
+ // require('./bootstrap/less/manageStyle/manageChile.less')
55
+ // require('./bootstrap/less/manageStyle/safeStyle.less')
56
+
57
+ //大屏展示要放开的样式
58
+ // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
+ // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
+ // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
+
62
+ new Vue({
63
+ el: 'body',
64
+ components: { App }
65
+ })
66
+