manage-client 3.3.57 → 3.3.59

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 (44) hide show
  1. package/build/dev-server.js +21 -34
  2. package/package.json +1 -1
  3. package/src/components/webmeter/instruction/NewQueryInstruct.vue +61 -7
  4. package/src/components/webmeter/reportdata/ReportDataQuery.vue +0 -6
  5. package/src/filiale/WEINAN/CancellationQuery.vue +74 -0
  6. package/src/filiale/WEINAN/ChargeQuery.vue +58 -1
  7. package/src/filiale/WEINAN/DeviceQuery.vue +63 -0
  8. package/src/filiale/WEINAN/DisableQuery.vue +74 -0
  9. package/src/filiale/WEINAN/EnableQuery.vue +74 -0
  10. package/src/filiale/WEINAN/FillGasQuery.vue +74 -0
  11. package/src/filiale/WEINAN/InspectListUser.vue +35 -0
  12. package/src/filiale/WEINAN/MergeFileQuery.vue +77 -1
  13. package/src/filiale/WEINAN/MeterQuery.vue +58 -0
  14. package/src/filiale/WEINAN/NewAccountQuery.vue +58 -0
  15. package/src/filiale/WEINAN/OtherChargeQuery.vue +58 -0
  16. package/src/filiale/WEINAN/RecordInfoQuery.vue +58 -0
  17. package/src/filiale/WEINAN/UserGasAll.vue +63 -0
  18. package/src/filiale/WEINAN/UserGasList.vue +59 -0
  19. package/src/filiale/WEINAN/UserLostContactAnalysis.vue +63 -0
  20. package/src/filiale/WEINAN/UserQuery.vue +63 -0
  21. package/src/filiale/WEINAN/businessquery/FillCardQuery.vue +643 -0
  22. package/src/filiale/WEINAN/businessquery/HandplanQuery.vue +1428 -0
  23. package/src/filiale/WEINAN/businessquery/MoveMeterQuery.vue +477 -0
  24. package/src/filiale/WEINAN/businessquery/ReverseQuery.vue +512 -0
  25. package/src/filiale/WEINAN/businessquery/TransferQuery.vue +553 -0
  26. package/src/filiale/WEINAN/businessquery/UserInsured.vue +483 -0
  27. package/src/filiale/WEINAN/businessquery/priceadjustQuery.vue +535 -0
  28. package/src/filiale/WEINAN/config/exportConfig.js +41 -38
  29. package/src/filiale/WEINAN/filesquery/ChangeUserQuery.vue +468 -0
  30. package/src/filiale/WEINAN/filesquery/FmyGasDeviceQuery.vue +911 -0
  31. package/src/filiale/WEINAN/filesquery/GasDeviceQuery.vue +1021 -0
  32. package/src/filiale/WEINAN/filesquery/PriceChangeQuery.vue +468 -0
  33. package/src/filiale/WEINAN/filesquery/UserDeviceQuery.vue +505 -0
  34. package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +63 -0
  35. package/src/filiale/WEINAN/sale.js +23 -2
  36. package/src/filiale/WEINAN/webmeter/LostContactAnalysisList.vue +692 -0
  37. package/src/filiale/WEINAN/webmeter/NewQueryInstruct.vue +564 -0
  38. package/src/filiale/WEINAN/webmeter/ReportList.vue +483 -0
  39. package/src/filiale/WEINAN/webmeter/TotalExceptionByMeter.vue +665 -0
  40. package/src/filiale/WEINAN/webmeter/UserInstructEchartsList.vue +242 -0
  41. package/src/filiale/WEINAN/webmeter/UserInstructList.vue +390 -0
  42. package/src/filiale/WEINAN/webmeterManage.js +13 -0
  43. package/src/filiale/lixianV3/BusinessManage.vue +3 -0
  44. package/src/filiale/shanxian/UserLostContactAnalysis.vue +35 -3
@@ -0,0 +1,242 @@
1
+ <template lang="html">
2
+ <div>
3
+ <div id="userinstruct" style=" height: 98%;width: 98%;padding: 1% 1%;"></div>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import * as Util from '../../../Util'
9
+ import co from 'co'
10
+ import echarts from 'echarts'
11
+ import { HttpResetClass } from 'vue-client'
12
+
13
+ let getData = function * (self) {
14
+ let load = new HttpResetClass()
15
+ load.load('POST','rs/sql/webmeter_getNewInstructChanceList',
16
+ {data:{condition: self.condition, startDate: self.startdate, endDate: self.enddate}},
17
+ {resolveMsg: null, rejectMsg: null}).then((res) => {
18
+ // every_time,f_bv1,f_bv2,f_bv3,f_gas
19
+ let every_time = []
20
+ let f_bv0 = []
21
+ let f_bv1 = []
22
+ let f_bv2 = []
23
+ let c = []
24
+ let c0 = []
25
+ for (var i = 0; i < res.data.length; i++) {
26
+ every_time[i] = res.data[i].f_insert_date
27
+ f_bv0[i] = res.data[i].f_bv0
28
+ f_bv1[i] = res.data[i].f_bv1
29
+ f_bv2[i] = res.data[i].f_bv2
30
+ c[i] = res.data[i].c
31
+ c0[i] = res.data[i].c0
32
+ }
33
+ self.set(every_time, f_bv0, f_bv1, f_bv2, c, c0)
34
+ })
35
+ }
36
+ export default {
37
+ props: {
38
+ echarts: {
39
+ type: Boolean,
40
+ default:false
41
+ },
42
+ startdate: {
43
+ type: String,
44
+ default: Util.toStandardDateString()
45
+ },
46
+ enddate: {
47
+ type: String,
48
+ default: Util.toStandardDateString()
49
+ },
50
+ condition: {
51
+ type: String,
52
+ default: '1=1'
53
+ }
54
+ },
55
+ data () {
56
+ return {
57
+ xc: ''
58
+ }
59
+ },
60
+ methods: {
61
+ // every_time: 日期 f_bv1: 抄表成功率 f_bv2: 指令成功率 f_bv3: 综合成功率 f_gas: 日用气量
62
+ set (every_time, f_bv0, f_bv1, f_bv2, c, c0) {
63
+
64
+ this.xc = echarts.init(document.getElementById('userinstruct'))
65
+ this.xc.setOption({
66
+ 'title': {
67
+ 'text': '指令成功率分析',
68
+ 'left': 'center',
69
+ 'y': '10',
70
+ 'textStyle': {
71
+ 'color': '#696969',
72
+ fontSize: 20
73
+ }
74
+ },
75
+ 'tooltip': {
76
+ 'trigger': 'axis',
77
+ 'extraCssText': 'width: auto;height: auto;'
78
+ },
79
+ 'legend': {
80
+ 'data': [
81
+ {
82
+ 'name': '当日表端接收',
83
+ 'icon': 'circle',
84
+ 'textStyle': {
85
+ 'color': '#5b5',
86
+ fontSize: 20
87
+ }
88
+ },
89
+ {
90
+ 'name': '当日发送指令',
91
+ 'icon': 'circle',
92
+ 'textStyle': {
93
+ 'color': '#233564',
94
+ fontSize: 20
95
+ }
96
+ },
97
+ {
98
+ 'name': '当日接收成功率%',
99
+ 'icon': 'circle',
100
+ 'textStyle': {
101
+ 'color': '#ffaaff',
102
+ fontSize: 20
103
+ }
104
+ }
105
+ ],
106
+ 'top': '10%',
107
+ 'textStyle': {
108
+ 'color': '#fff'
109
+ }
110
+ },
111
+ 'xAxis': [
112
+ {
113
+ 'type': 'category',
114
+ 'data': every_time,
115
+ 'axisPointer': {
116
+ 'type': 'shadow'
117
+ },
118
+ 'axisLabel': {
119
+ 'show': true,
120
+ 'textStyle': {
121
+ 'color': '#7d838b',
122
+ fontSize: 15
123
+ }
124
+ }
125
+ }
126
+ ],
127
+ 'yAxis': [
128
+ {
129
+ 'type': 'value',
130
+ 'name': '表具数',
131
+ nameTextStyle: {
132
+ fontSize: 10
133
+ },
134
+ 'show': true,
135
+ 'axisLabel': {
136
+ 'show': true,
137
+ 'textStyle': {
138
+ 'color': '#7d838b',
139
+ fontSize: 10
140
+ }
141
+ }
142
+ },
143
+ {
144
+ 'type': 'value',
145
+ 'name': '成功率%',
146
+ nameTextStyle: {
147
+ fontSize: 15
148
+ },
149
+ 'show': true,
150
+ 'axisLabel': {
151
+ 'show': true,
152
+ 'textStyle': {
153
+ 'color': '#ffaa00',
154
+ fontSize: 15
155
+ }
156
+ }
157
+ }
158
+ ],
159
+ 'grid': {
160
+ 'top': '20%'
161
+ },
162
+ 'series': [
163
+ {
164
+ 'name': '当日表端接收',
165
+ nameTextStyle: {
166
+ fontSize: 15
167
+ },
168
+ 'type': 'bar',
169
+ 'data': c0,
170
+ 'markPoint': {
171
+ data: [
172
+ {type: 'max', name: '最大值'},
173
+ {type: 'min', name: '最小值'}
174
+ ]
175
+ },
176
+ markLine: {
177
+ data: [
178
+ {type: 'average', name: '平均值'}
179
+ ]
180
+ },
181
+ 'barWidth': 'auto',
182
+ 'itemStyle': {
183
+ 'normal': {
184
+ 'color': '#5b5'
185
+ }
186
+ },
187
+ 'barGap': '0'
188
+ },
189
+ {
190
+ 'name': '当日发送指令',
191
+ nameTextStyle: {
192
+ fontSize: 15
193
+ },
194
+ 'type': 'bar',
195
+ 'data': c,
196
+ 'markPoint': {
197
+ data: [
198
+ {type: 'max', name: '最大值'},
199
+ {type: 'min', name: '最小值'}
200
+ ]
201
+ },
202
+ markLine: {
203
+ data: [
204
+ {type: 'average', name: '平均值'}
205
+ ]
206
+ },
207
+ 'barWidth': 'auto',
208
+ 'itemStyle': {
209
+ 'normal': {
210
+ 'color': '#233564'
211
+ }
212
+ },
213
+ 'barGap': '0'
214
+ },
215
+ {
216
+ 'name': '当日接收成功率%',
217
+ 'type': 'line',
218
+ 'yAxisIndex': 1,
219
+ 'data': f_bv2,
220
+ 'itemStyle': {
221
+ 'normal': {
222
+ 'color': '#ffaaff',
223
+ fontSize: 15
224
+ }
225
+ },
226
+ 'smooth': true
227
+ }
228
+ ]
229
+ })
230
+ },
231
+ searchdata () {
232
+ let getGen = getData(this)
233
+ co(getGen)
234
+ }
235
+ },
236
+ watch: {
237
+ 'echarts' () {
238
+ this.searchdata()
239
+ }
240
+ }
241
+ }
242
+ </script>
@@ -0,0 +1,390 @@
1
+ <template>
2
+ <div class="flex-row binary" id="unit">
3
+ <div class="basic-main" @keyup.enter="search1">
4
+ <div class="flex">
5
+ <div class="flex" style="flex:1;" v-show="!echarts">
6
+ <criteria-paged :model="model" :pager='true' v-ref:paged>
7
+ <criteria @condition-changed='$parent.search' partial='criteria' v-ref:cri>
8
+ <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
9
+ <div class="row" width="100%">
10
+
11
+ <div class="col-sm-2 form-group">
12
+ <label class="font_normal_body">客户编号</label>
13
+ <input style="width:60%" class="input_search" condition="u.f_userinfo_code like '%{}%'" placeholder='客户编号' type="text"
14
+ v-el:meternumber v-model="model.f_userinfo_code" v-next-el='f_userinfo_code'
15
+ >
16
+ </div>
17
+ <div class="col-sm-2 form-group">
18
+ <label class="font_normal_body">客户名称</label>
19
+ <input style="width:60%" class="input_search" condition="u.f_user_name = '{}'" placeholder='客户名称' type="text"
20
+ v-el:username v-model="model.f_username" v-next-el='userid'>
21
+ </div>
22
+ <div class="col-sm-2 form-group">
23
+ <label class="font_normal_body">客户地址</label>
24
+ <input style="width:60%" class="input_search" condition="a.f_address like '%{}%'" placeholder='地址' type="text"
25
+ v-el:area v-el:xq v-model="model.f_address" v-next-el='address'
26
+ >
27
+ </div>
28
+ <div class="col-sm-2 form-group">
29
+ <label class="font_normal_body">表&emsp;&emsp;号</label>
30
+ <input style="width:60%" class="input_search" condition="uf.f_meternumber like '%{}%'" placeholder='表钢号' type="text"
31
+ v-el:meternumber v-model="model.f_meternumber" v-next-el='meternumber'
32
+ >
33
+ </div>
34
+ <div class="span" style="float:right;">
35
+ <button @click="search()" class="button_search button_spacing">查询</button>
36
+ <button @click="$parent.$parent.clearmsg" class="button_clear button_spacing">清空</button>
37
+ <export-excel :data="$parent.$parent.getCondition" class="button_export button_spacing"
38
+ :field="$parent.$parent.getfield"
39
+ sqlurl="rs/logic/exportfile" sql-name="webmeter_getNewInstructChanceList" template-name='指令分析'
40
+ :choose-col="true"></export-excel>
41
+ <button @click="$parent.$parent.showEcharts()" class="button_export button_spacing">显示图表</button>
42
+ <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>
43
+ </div>
44
+ </div>
45
+ <div class="row" v-show="$parent.$parent.criteriaShow">
46
+
47
+ <div class="col-sm-2 form-group">
48
+ <!-- <label class="font_normal_body">组织机构</label>-->
49
+ <!-- <res-select :initresid="$parent.$parent.orgid"-->
50
+ <!-- @res-select="$parent.$parent.getRes"-->
51
+ <!-- restype='organization'style="width: 60%">-->
52
+ <!-- </res-select>-->
53
+ <label class="font_normal_body">公&emsp;&emsp;司</label>
54
+ <right-tree @re-res="$parent.$parent.getRes"
55
+ :initresid='$parent.$parent.orgid'></right-tree>
56
+ </div>
57
+ <div class="col-sm-2 form-group">
58
+ <label class="font_normal_body">用户类型</label>
59
+ <v-select :options='$parent.$parent.usertypes'
60
+ :value.sync="model.f_user_type"
61
+ close-on-select
62
+ style="width:60%"
63
+ condition="uf.f_user_type = '{}'"
64
+ @change="$parent.$parent.userTypeChange()"
65
+ id="f_user_type"
66
+ placeholder='用户类型'
67
+ v-model="model.f_user_type">
68
+ </v-select>
69
+ </div>
70
+ <div class="col-sm-2 form-group">
71
+ <label class="font_normal_body">用气性质</label>
72
+ <v-select :options='$parent.$parent.gasproperties'
73
+ :value.sync="model.f_gasproperties"
74
+ close-on-select
75
+ style="width:60%"
76
+ condition="uf.f_gasproperties = '{}'"
77
+ id="f_gasproperties"
78
+ placeholder='用气性质'
79
+ v-model="model.f_gasproperties">
80
+ </v-select>
81
+ </div>
82
+ <div class="col-sm-2 form-group">
83
+ <label class="font_normal_body" style="word-break:keep-all;">上报时间</label>
84
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
85
+ :value.sync="model.startDate"
86
+ style="width:60%"
87
+ placeholder="起始时间"
88
+ v-model="model.startDate"
89
+ ></datepicker>
90
+ </div>
91
+ <div class="col-sm-2 form-group">
92
+ <label class="font_normal_body" style="word-break:keep-all;">&emsp;&ensp;至&emsp;</label>
93
+ <datepicker :format="'yyyy-MM-dd HH:mm:ss'"
94
+ :value.sync="model.endDate"
95
+ placeholder="结束时间"
96
+ style="width:60%"
97
+ v-model="model.endDate"
98
+ ></datepicker>
99
+ </div>
100
+ <div class="col-sm-2 form-group">
101
+ <label for="f_user_usetype" class="font_normal_body ">用气类型</label>
102
+ <v-select :value.sync="model.f_user_usetype" :search="false"
103
+ @change="$parent.$parent.userUseTypeChange()"
104
+ v-model="model.f_user_usetype"
105
+ :options='$parent.$parent.userusetypes'
106
+ condition="f_user_usetype = '{}'"
107
+ placeholder='用气类型'
108
+ value-single="true"
109
+ close-on-select>
110
+ </v-select>
111
+ </div>
112
+ <div class="col-sm-2 form-group">
113
+ <label for="f_use_institution" class="font_normal_body">用气机构</label>
114
+ <v-select :value.sync="model.f_use_institution" :search="false"
115
+ @change="$parent.$parent.userUseInstitutionChange()"
116
+ v-model="model.f_use_institution"
117
+ :options='$parent.$parent.useinstitutions'
118
+ condition="f_use_institution = '{}'"
119
+ placeholder='用气机构'
120
+ value-single="true"
121
+ close-on-select>
122
+ </v-select>
123
+ </div>
124
+ <div class="col-sm-2 form-group">
125
+ <label for="f_user_usenature" class="font_normal_body ">使用性质</label>
126
+ <v-select :value.sync="model.f_user_usenature" :search="false"
127
+ v-model="model.f_user_usenature"
128
+ :options='$parent.$parent.userusenatures'
129
+ condition="f_user_usenature = '{}'"
130
+ placeholder='使用性质'
131
+ value-single="true"
132
+ close-on-select>
133
+ </v-select>
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </criteria>
138
+ <data-grid :model="model" id="reportgas" partial='list' class="list_area table_sy" v-ref:grid>
139
+ <template partial='head'>
140
+ <tr>
141
+ <th style="text-align:center">序号</th>
142
+ <th style="text-align:center">
143
+ <nobr>上报日期</nobr>
144
+ </th>
145
+ <th style="text-align:center" title="在用户数:表具状态为正常的用户数">
146
+ <nobr>在用户数</nobr>
147
+ </th>
148
+ <th style="text-align:center" title="停用户数:表具状态为停用的用户数">
149
+ <nobr>停用户数</nobr>
150
+ </th>
151
+
152
+ <th style="text-align:center" title="指令下发成功表具数">
153
+ <nobr>指令下发成功表具数</nobr>
154
+ </th>
155
+ <th style="text-align:center" title="指令下发总表具数">
156
+ <nobr>指令下发总表具数</nobr>
157
+ </th>
158
+ <th style="text-align:center" title="表具成功率=指令上报成功表具数/指令上报总表具数">
159
+ <nobr>表具成功率</nobr>
160
+ </th>
161
+ <th style="text-align:center" title="成功指令数">
162
+ <nobr>成功指令数</nobr>
163
+ </th>
164
+ <th style="text-align:center" title="总指令数">
165
+ <nobr>总指令数</nobr>
166
+ </th>
167
+ <th style="text-align:center" title="指令成功率=成功指令数/总指令数">
168
+ <nobr>指令成功率</nobr>
169
+ </th>
170
+ <th style="text-align:center" title="综合表具成功率=指令下发总表具数/在用户数">
171
+ <nobr>综合表具成功率</nobr>
172
+ </th>
173
+ </tr>
174
+ </template>
175
+ <template partial='body' partial='list' v-ref:grid>
176
+ <tr>
177
+ <td style="text-align:center">{{$index + 1}}</td>
178
+ <td style="text-align:center;width: 170px;">
179
+ <nobr>{{row.f_insert_date}}</nobr>
180
+ </td>
181
+ <td style="text-align:center">{{row.zaiyong}}</td>
182
+ <th style="text-align:center">{{row.tingyong}}</th>
183
+
184
+ <td style="text-align:center">{{row.c0}}</td>
185
+ <th style="text-align:center">{{row.c}}</th>
186
+ <th style="text-align:center">{{row.f_bv1}}</th>
187
+ <td style="text-align:center">
188
+ <nobr>{{row.success}}</nobr>
189
+ </td>
190
+ <td style="text-align:center">
191
+ <nobr>{{row.c1}}</nobr>
192
+ </td>
193
+ <td style="text-align:center">
194
+ <nobr>{{row.f_bv2}}</nobr>
195
+ </td>
196
+ <td style="text-align:center">
197
+ <nobr>{{row.f_bv0}}</nobr>
198
+ </td>
199
+ </tr>
200
+ </template>
201
+ <template partial='foot'></template>
202
+ </data-grid>
203
+ </criteria-paged>
204
+ </div>
205
+ <div style="height: 40px;width: 100%;" v-show="echarts">
206
+ <button @click="showEcharts()" class="button_search button_spacing">隐藏图表</button>
207
+ </div>
208
+ <!-- 图显示模板-->
209
+ <div class="span " style="width: 100%;" v-show="echarts">
210
+ <user-instruct-echarts-list :condition="condition" :echarts="echarts"
211
+ :enddate="endDate" :startdate="startDate"></user-instruct-echarts-list>
212
+ </div>
213
+ </div>
214
+ </div>
215
+ </div>
216
+ </template>
217
+ <script>
218
+ import {PagedList} from 'vue-client'
219
+ import * as Util from '../../../Util'
220
+ import getLodop from '../../../plugins/LodopFuncs'
221
+ import UserInstructEchartsList from './UserInstructEchartsList'
222
+ import plugins from '../../../plugins/GetLoginInfoService'
223
+ import plugin from 'system-clients/src/plugins/GetLoginInfoService'
224
+
225
+ export default {
226
+ title: '指令分析',
227
+ props: ['data'],
228
+ components: {UserInstructEchartsList},
229
+ data() {
230
+ return {
231
+ model: new PagedList('rs/sql/webmeter_getNewInstructChanceList', 100, {
232
+ startDate: 'this.model.startDate',
233
+ endDate: 'this.model.endDate'
234
+ }),
235
+ condition: '1=1',
236
+ startDate: '',
237
+ gasproperties:[{label: '全部', value: ''}],
238
+ endDate: '',
239
+ getfield:{"f_insert_date":"上报日期","zaiyong":"在用户数",
240
+ "tingyong":"停用户数",
241
+ "c0":"指令下发成功表具数","c":"指令下发总表具数",
242
+ "f_bv1":"表具指令成功率",
243
+ "success":"成功指令数","c1":"总指令数",
244
+ "f_bv2":"指令成功率",
245
+ "f_bv0":"综合指令成功率"
246
+ },
247
+ criteriaShow: false,
248
+ echarts: false,
249
+ searchshow: false,
250
+ userusetypes: [],
251
+ useinstitutions: [],
252
+ userusenatures: [],
253
+ orgCondtionStr: '(' + this.$login.f.orgid + ')',
254
+ orgid: [this.$login.f.orgid]
255
+ }
256
+ },
257
+ ready() {
258
+ this.$refs.paged.$refs.cri.model.startDate = Util.addDate(new Date(),-6).substring(0,10) + ' 00:00:00'
259
+ this.$refs.paged.$refs.cri.model.endDate = Util.toStandardDateString() + ' 23:59:59'
260
+ this.getdata()
261
+ },
262
+ methods: {
263
+ userUseInstitutionChange () {
264
+ this.userusenatures = []
265
+ this.$refs.paged.$refs.cri.model.f_user_usenature = ''
266
+ if (this.$refs.paged.$refs.cri.model.f_use_institution) {
267
+ let str = this.$refs.paged.$refs.cri.model.f_use_institution + '使用性质'
268
+ this.userusenatures = this.$appdata.getParam(str)
269
+ }
270
+ },
271
+ userUseTypeChange () {
272
+ this.useinstitutions = []
273
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
274
+ if (this.$refs.paged.$refs.cri.model.f_user_usetype) {
275
+ let str = this.$refs.paged.$refs.cri.model.f_user_usetype + '机构'
276
+ this.useinstitutions = this.$appdata.getParam(str)
277
+ }
278
+ },
279
+ userTypeChange () {
280
+ this.userusetypes = []
281
+ this.gasproperties=[{label: '全部', value: ''}]
282
+ if(this.$refs.paged.$refs.cri.model !==null) {
283
+ this.$refs.paged.$refs.cri.model.f_gasproperties=''
284
+
285
+ console.log(this.$refs.paged.$refs.cri.model.f_user_type[0])
286
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.$refs.cri.model.f_user_type[0])
287
+ // this.gasproperties.push({label: '全部', value: ''})
288
+ this.$refs.paged.$refs.cri.model.f_use_institution = ''
289
+ let str = this.$refs.paged.$refs.cri.model.f_user_type[0] + '用气类型'
290
+ this.userusetypes = this.$appdata.getParam(str)
291
+
292
+ }
293
+ else{
294
+ this.gasproperties =[{label: '全部', value: ''}]
295
+ }
296
+ },
297
+ search1(){
298
+ this.$refs.paged.$refs.cri.search()
299
+ },
300
+ // 查询开关
301
+ hidden() {
302
+ this.criteriaShow = !this.criteriaShow
303
+ },
304
+ getdata() {
305
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
306
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
307
+ if (this.orgCondtionStr)
308
+ this.condition = this.$refs.paged.$refs.cri.condition + 'and uf.f_orgid in ' + this.orgCondtionStr
309
+ this.$refs.paged.$refs.cri.search()
310
+ },
311
+ // 显示柱状图
312
+ showEcharts() {
313
+ this.echarts = !this.echarts
314
+ },
315
+ close() {
316
+ this.show = false
317
+ },
318
+ // SaveAsFile(str) {
319
+ // this.$showMessage('您是否需要导出本页数据?', ['confirm', 'cancel']).then((res) => {
320
+ // if (res === 'confirm') {
321
+ // let style = '<style>' +
322
+ // 'td {border-width: 1px;padding: 2px;border-style: solid; border-color:black; border-collapse:collapse;} .tdright{text-align: right;} .tdcenter{text-align: center;}</style>';
323
+ // let strHtml = style + document.getElementById(str).innerHTML;
324
+ // console.log(strHtml);
325
+ // let LODOP = getLodop();
326
+ // LODOP.PRINT_INIT('');
327
+ // LODOP.ADD_PRINT_TABLE(5, 5, '99%', '100%', strHtml);
328
+ // LODOP.SAVE_TO_FILE('抄表统计.xls')
329
+ // }
330
+ // })
331
+ // },
332
+ clearmsg() {
333
+ this.$refs.paged.$refs.cri.model = {}
334
+ },
335
+ search(args) {
336
+ this.startDate = this.$refs.paged.$refs.cri.model.startDate
337
+ this.endDate = this.$refs.paged.$refs.cri.model.endDate
338
+ if (this.endDate == '' || this.startDate == '') {
339
+ return this.$showMessage("时间区间的开始和结束时间不能为空!")
340
+ }
341
+ if (this.orgCondtionStr)
342
+ args.condition = `${args.condition}` + 'and uf.f_orgid in ' + this.orgCondtionStr
343
+ this.condition = args.condition
344
+ this.model.search(args.condition, args.model)
345
+ },
346
+ getRes (obj) {
347
+ this.orgCondtionStr = plugins.convertToIn(obj.resids)?plugin.convertToIn(obj.resids):'(' + this.$login.f.orgid + ')'
348
+ }
349
+ // getRes(obj) {
350
+ // this.orgCondtionStr = plugins.convertToIn(obj)
351
+ // }
352
+ },
353
+ computed: {
354
+ getCondition() {
355
+ var con=""
356
+ if (this.orgCondtionStr) {
357
+ con= `${this.$refs.paged.$refs.cri.condition} and u.f_orgid in ${this.orgCondtionStr}`
358
+ }
359
+ else{
360
+ con= `${this.$refs.paged.$refs.cri.condition} `
361
+ }
362
+ return {
363
+ condition: con ,
364
+ startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
365
+ endDate:`${this.$refs.paged.$refs.cri.model.endDate}`
366
+ }
367
+
368
+ },
369
+ usertypes() {
370
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
371
+ },
372
+ Getuserstyle() {
373
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用气类型')]
374
+ }
375
+ }
376
+ }
377
+ </script>
378
+ <style>
379
+ .mystyle {
380
+ margin-left: 80px;
381
+ }
382
+
383
+ .datapanel {
384
+ color: #333;
385
+ background-color: white;
386
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
387
+ padding: 10px 10px 10px 10px;
388
+ border-radius: 15px;
389
+ }
390
+ </style>
@@ -4,4 +4,17 @@ import Vue from 'vue'
4
4
  export default function () {
5
5
  // 用户失联
6
6
  Vue.component('user-lost-contact-analysis', (resolve) => { require(['./UserLostContactAnalysis'], resolve) })
7
+ // 上报统计分析--抄表分析
8
+ Vue.component('user-gas-list', (resolve) => { require(['./UserGasList'], resolve) })
9
+ // 失联查询
10
+ Vue.component('lost-contact-analysis-list', (resolve) => { require(['./webmeter/LostContactAnalysisList'], resolve) })
11
+ Vue.component('new-query-instruct', (resolve) => { require(['./webmeter/NewQueryInstruct'], resolve) })
12
+ // 上报统计分析--指令分析
13
+ Vue.component('user-instruct-list', (resolve) => { require(['./webmeter/UserInstructList'], resolve) })
14
+ // 异常汇总分析
15
+ Vue.component('total-exception-by-meter', (resolve) => { require(['./webmeter/TotalExceptionByMeter'], resolve) })
16
+ // 上报查询
17
+ Vue.component('report-list', (resolve) => { require(['./webmeter/ReportList'], resolve) })
18
+ // 指令分析图表分析
19
+ Vue.component('user-instruct-echarts-list', (resolve) => { require(['./webmeter/UserInstructEchartsList'], resolve) })
7
20
  }
@@ -10,6 +10,9 @@
10
10
  <tabs header="机表抄表查询" v-if="permission('机表抄表查询')">
11
11
  <handplan-query v-if="show.includes('机表抄表查询')" @deal-msg="dealMsg" :data="data"></handplan-query>
12
12
  </tabs>
13
+ <tabs header="物联网表抄表查询" v-if="permission('机表抄表查询')">
14
+ <web-handplan-query v-if="show.includes('物联网表抄表查询')" @deal-msg="dealMsg" :data="data"></web-handplan-query>
15
+ </tabs>
13
16
  <tabs header="免费送气查询" v-if="permission('免费送气查询')">
14
17
  <privilege-query v-if="show.includes('免费送气查询')" @deal-msg="dealMsg" :data="data"></privilege-query>
15
18
  </tabs>