manage-client 3.1.55 → 3.1.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 (45) 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.4.1 → 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.4.1 → 5.2.1}/gc.properties +0 -0
  7. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  8. package/build/dev-server.js +7 -22
  9. package/package.json +1 -1
  10. package/src/components/SellReport/OperatorCheckoutTwo.vue +28 -2
  11. package/src/components/sale/businessquery/AccountQuery/ExpectGasList.vue +7 -3
  12. package/src/components/sale/businessquery/AccountQuery/PreGasList.vue +11 -3
  13. package/src/components/sale/businessquery/AccountQuery/SellingGasList.vue +17 -11
  14. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  15. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  16. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  17. package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
  18. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +1 -1
  19. package/src/components/webmeter/newwebmeter/UserGasList.vue +1 -1
  20. package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +6 -6
  21. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  22. package/src/filiale/WEINAN/ReportDataQuery.vue +249 -249
  23. package/src/filiale/WEINAN/config/tableConfig.js +19 -36
  24. package/src/filiale/WEINAN/sale.js +29 -29
  25. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  26. package/src/filiale/pingxiang/sale.js +9 -9
  27. package/src/filiale/qingtongxia/sale.js +13 -13
  28. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  29. package/src/filiale/shaoguan/ChargeQuery.vue +1 -1
  30. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  31. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  32. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  33. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  34. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  35. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  36. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  37. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  38. package/src/filiale/tongchuan/ReportList.vue +468 -456
  39. package/src/main.js +66 -66
  40. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  41. package/src/.idea/misc.xml +0 -9
  42. package/src/.idea/modules.xml +0 -8
  43. package/src/.idea/src.iml +0 -9
  44. package/src/.idea/vcs.xml +0 -6
  45. package/src/.idea/workspace.xml +0 -93
@@ -1,272 +1,272 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main">
4
- <div class="flex">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri v-show="$parent.criteriaShow">
7
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
- <div class="row">
9
- <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" v-ref:sel></res-select-group>
10
- <div class="col-sm-2" >
11
- <label for="YeadDate" class="font_normal_body">统计年份</label>
12
- <datepicker placeholder="结束日期" style="width:60%"
13
- v-model="model.YeadDate"
14
- :value.sync="model.YeadDate"
15
- :format="'yyyy'"
16
- :show-reset-button="true"
17
- :select-year="true">
18
- </datepicker>
19
- </div>
20
- <div class="col-sm-2">
21
- <label class="font_normal_body">包含APP</label>
22
- <v-select :value.sync="model.f_hasapp" v-model="model.f_hasapp"
23
- :options='$parent.$parent.hasapps' placeholder='请选择'
24
- condition="f_operator {} "
25
- close-on-select></v-select>
26
- </div>
27
-
28
- <div class="col-sm-2 ">
29
- <label class="font_normal_body" for="startDate">开始年份:</label>
30
- <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
31
- v-model="model.f_begin_operate_date"
32
- :value.sync="model.f_begin_operate_date"
33
- :format="'yyyy'"
34
- :show-reset-button="true"
35
- :select-year="true">
36
- </datepicker>
37
- </div>
38
- <div class="col-sm-2 " >
39
- <label class="font_normal_body" for="endDate">结束年份:</label>
40
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
41
- v-model="model.f_end_operate_date"
42
- :value.sync="model.f_end_operate_date"
43
- :format="'yyyy'"
44
- :show-reset-button="true"
45
- :select-year="true">
46
- </datepicker>
47
- </div>
48
- <div class="span" style = "float:right;margin-top:10px">
49
- <button class="button_search button_spacing" @click="search()">查询</button>
50
- <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
51
- <export-excel :data="$parent.$parent.getCondition"
52
- :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
53
- sqlurl="rs/logic/exportfile" sql-name="aode_YearByUserType" template-name='年报(客户类型)' :choose-col="true"></export-excel>
54
- <year-by-user-print :countmodel="{sumsmodel:$parent.$parent.sumsmodel,model:$parent.$parent.model,orgname:$parent.$parent.orgname,depname:$parent.$parent.depname}"></year-by-user-print>
55
-
56
-
57
- <!--<export-excel :data="$parent.$parent.getCondition"-->
58
- <!--:field="$parent.$parent.getExportField"-->
59
- <!--sqlurl="rs/logic/exportfile" sql-name="filesQuery" template-name='用户查询导出' :choose-col="true"></export-excel>-->
60
- </div>
61
- </div>
62
- </div>
63
- </criteria>
64
- <data-grid :model="model" partial='list' :sumsmodel="sumsmodel" class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
65
- <template partial='head'>
66
- <tr>
67
- <th><nobr>购买日期</nobr></th>
68
- <th><nobr>民用开户</nobr></th>
69
- <th><nobr>民用人次</nobr></th>
70
- <th><nobr>民用气量</nobr></th>
71
- <th><nobr>民用金额</nobr></th>
72
- <th><nobr>商业开户</nobr></th>
73
- <th><nobr>商业人次</nobr></th>
74
- <th><nobr>商业气量</nobr></th>
75
- <th><nobr>商业金额</nobr></th>
76
- <th><nobr>工业开户</nobr></th>
77
- <th><nobr>工业人次</nobr></th>
78
- <th><nobr>工业气量</nobr></th>
79
- <th><nobr>工业金额</nobr></th>
80
- <th><nobr>合计开户</nobr></th>
81
- <th><nobr>合计人次</nobr></th>
82
- <th><nobr>合计气量</nobr></th>
83
- <th><nobr>合计金额</nobr></th>
84
- </tr>
85
- </template>
86
- <template partial='body'>
87
- <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
88
- <td style="text-align: center;"><nobr>{{row.f_open_my}}</nobr></td>
89
- <td style="text-align: center;"><nobr>{{row.f_count_my}}</nobr></td>
90
- <td style="text-align: center;"><nobr>{{row.f_pregas_my}}</nobr></td>
91
- <td style="text-align: center;"><nobr>{{row.f_collection_my}}</nobr></td>
92
-
93
- <td style="text-align: center;"><nobr>{{row.f_open_sy}}</nobr></td>
94
- <td style="text-align: center;"><nobr>{{row.f_count_sy}}</nobr></td>
95
- <td style="text-align: center;"><nobr>{{row.f_pregas_sy}}</nobr></td>
96
- <td style="text-align: center;"><nobr>{{row.f_collection_sy}}</nobr></td>
97
-
98
- <td style="text-align: center;"><nobr>{{row.f_open_gy}}</nobr></td>
99
- <td style="text-align: center;"><nobr>{{row.f_count_gy}}</nobr></td>
100
- <td style="text-align: center;"><nobr>{{row.f_pregas_gy}}</nobr></td>
101
- <td style="text-align: center;"><nobr>{{row.f_collection_gy}}</nobr></td>
102
-
103
- <td style="text-align: center;"><nobr>{{row.f_open}}</nobr></td>
104
- <td style="text-align: center;"><nobr>{{row.f_count}}</nobr></td>
105
- <td style="text-align: center;"><nobr>{{row.f_pregas}}</nobr></td>
106
- <td style="text-align: center;"><nobr>{{row.f_collection}}</nobr></td>
107
- </template>
108
- <template partial='foot'>
109
- <td style="text-align: center;background-color: mistyrose"><nobr>合计:</nobr></td>
110
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_open_my}}</nobr></td>
111
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_count_my}}</nobr></td>
112
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_pregas_my}}</nobr></td>
113
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_collection_my}}</nobr></td>
114
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_open_sy}}</nobr></td>
115
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_count_sy}}</nobr></td>
116
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_pregas_sy}}</nobr></td>
117
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_collection_sy}}</nobr></td>
118
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_open_gy}}</nobr></td>
119
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_count_gy}}</nobr></td>
120
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_pregas_gy}}</nobr></td>
121
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_collection_gy}}</nobr></td>
122
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_open}}</nobr></td>
123
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_count}}</nobr></td>
124
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_pregas}}</nobr></td>
125
- <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_collection}}</nobr></td>
126
- </template>
127
- </data-grid>
128
- </criteria-paged>
129
- </div>
130
- </div>
131
- </div>
132
- </template>
133
-
134
- <script>
135
- import { PagedList } from 'vue-client'
136
- // import defaultPrint from '../config/DefaultPrint'
137
- import exportConfig from '../../config/exportConfig'
138
- let readySomething = async function (self) {
139
- let year = new Date().getFullYear()
140
- self.$refs.paged.$refs.cri.model.f_hasapp = [`!= '悦生活'`]
141
- self.$refs.paged.$refs.cri.model.YeadDate = year+""
142
- self.$refs.paged.$refs.cri.model.f_end_operate_date = year+""
143
- self.$refs.paged.$refs.cri.model.f_begin_operate_date = year+""
144
- // await self.$refs.paged.$refs.cri.search()
145
- // self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
146
- }
147
-
148
- export default {
149
- title: '年报(客户类型)',
150
- data() {
151
- return {
152
- model: new PagedList('rs/sql/aode_YearByUserType', 35,{YeadDate: 'this.model.YeadDate',f_end_operate_date:'this.model.f_end_operate_date',f_begin_operate_date:'this.model.f_begin_operate_date'},{
153
- f_open_my:0,
154
- f_count_my:0,
155
- f_pregas_my:0,
156
- f_collection_my:0,
157
- f_open_sy:0,
158
- f_count_sy:0,
159
- f_pregas_sy:0,
160
- f_collection_sy:0,
161
- f_open_gy:0,
162
- f_count_gy:0,
163
- f_pregas_gy:0,
164
- f_collection_gy:0,
165
- f_open: 0,
166
- f_count: 0,
167
- f_pregas: 0,
168
- f_collection: 0
169
- }),
170
- initres: {
171
- org:[this.$login.f.orgid],
172
- dep:[this.$login.f.depids],
173
- user:[this.$login.f.id]
174
- },
175
- criteriaShow: true,
176
- orgCondtionStr:'',
177
- sumsmodel: {},
178
- orgname: '',
179
- depname: '',
180
- hasapps: [{label: '包含APP', value: ''}, {label: '不包含APP', value: "!= '悦生活'"}],
181
- defaultfield:[],
182
- sumName:['f_open_my','f_count_my','f_pregas_my','f_collection_my',
183
- 'f_open_sy','f_count_sy','f_pregas_sy',
184
- 'f_collection_sy','f_open_gy','f_count_gy','f_pregas_gy',
185
- ' f_collection_gy','f_open','f_count','f_pregas',
186
- 'f_collection']
187
- }
188
- },
189
- ready(){
190
- readySomething(this).then(() => {
191
- this.$emit('ready')
192
- }).catch((error) => {
193
- this.$emit('error', error)
194
- })
195
- },
196
- methods: {
197
- async selfSearch (args) {
198
- let f_orgstr = this.orgCondtionStr
199
- if(!this.orgCondtionStr){
200
- f_orgstr = 'and f_orgid = ' + this.$login.f.orgid
201
- }
202
- args.condition = `${args.condition} ` + f_orgstr
203
- await this.model.search(args.condition, args.model)
204
-
205
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
206
- console.log('计算合计。', this.sumsmodel)
207
- if (this.$refs.paged.$refs.grid.model.rows.length === 0) {
208
- for (let key in this.sumsmodel) {
209
- this.sumsmodel[key] = 0
210
- }
211
- }
212
- this.$dispatch('getdata', this.sumsmodel)
213
- },
214
- clear(){
215
- //清空部门和人员
216
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
217
- //部门和人员变为全选
218
- this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
219
- this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
220
- Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
221
- this.$refs.paged.$refs.cri.model[key] = []
222
- })
223
- },
224
- show(){
225
- this.criteriaShow = true
226
- },
227
- hidden(){
228
- this.criteriaShow = false
229
- },
230
- getRes(condition,obj) {
231
- this.orgCondtionStr = condition
232
- this.orgname = obj.orgnames[0]
233
- this.depname = obj.depnames[0]
234
- }
235
- },
236
- watch:{
237
- 'all' (val) {
238
- if (val) {
239
- this.modelval = this.bodyData
240
- } else {
241
- this.modelval = defaultPrint.config
242
- this.put()
243
- }
244
- },
245
- 'modelval.length' () {
246
- this.put()
247
- },
248
- },
249
- computed:{
250
- getCondition(){
251
- return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.orgCondtionStr,YeadDate:`${this.$refs.paged.$refs.cri.model.YeadDate}`}
252
- },
253
- getfield(){
254
- return exportConfig.yearByUserConfig
255
- },
256
- userstates () {
257
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
258
- },
259
- sliceArea () {
260
- let rs = new Array()
261
- for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
262
- let temp = {
263
- label: this.$login.f.f_allArea[i].label,
264
- value: this.$login.f.f_allArea[i].label
265
- }
266
- rs.push(temp)
267
- }
268
- return [{label: '全部', value: ''}, ...rs]
269
- }
270
- }
271
- }
272
- </script>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main">
4
+ <div class="flex">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri v-show="$parent.criteriaShow">
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
8
+ <div class="row">
9
+ <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" v-ref:sel></res-select-group>
10
+ <div class="col-sm-2" >
11
+ <label for="YeadDate" class="font_normal_body">统计年份</label>
12
+ <datepicker placeholder="结束日期" style="width:60%"
13
+ v-model="model.YeadDate"
14
+ :value.sync="model.YeadDate"
15
+ :format="'yyyy'"
16
+ :show-reset-button="true"
17
+ :select-year="true">
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2">
21
+ <label class="font_normal_body">包含APP</label>
22
+ <v-select :value.sync="model.f_hasapp" v-model="model.f_hasapp"
23
+ :options='$parent.$parent.hasapps' placeholder='请选择'
24
+ condition="f_operator {} "
25
+ close-on-select></v-select>
26
+ </div>
27
+
28
+ <div class="col-sm-2 ">
29
+ <label class="font_normal_body" for="startDate">开始年份:</label>
30
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
31
+ v-model="model.f_begin_operate_date"
32
+ :value.sync="model.f_begin_operate_date"
33
+ :format="'yyyy'"
34
+ :show-reset-button="true"
35
+ :select-year="true">
36
+ </datepicker>
37
+ </div>
38
+ <div class="col-sm-2 " >
39
+ <label class="font_normal_body" for="endDate">结束年份:</label>
40
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
41
+ v-model="model.f_end_operate_date"
42
+ :value.sync="model.f_end_operate_date"
43
+ :format="'yyyy'"
44
+ :show-reset-button="true"
45
+ :select-year="true">
46
+ </datepicker>
47
+ </div>
48
+ <div class="span" style = "float:right;margin-top:10px">
49
+ <button class="button_search button_spacing" @click="search()">查询</button>
50
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
51
+ <export-excel :data="$parent.$parent.getCondition"
52
+ :field="$parent.$parent.getfield" :sumname="$parent.$parent.sumName"
53
+ sqlurl="rs/logic/exportfile" sql-name="aode_YearByUserType" template-name='年报(客户类型)' :choose-col="true"></export-excel>
54
+ <year-by-user-print :countmodel="{sumsmodel:$parent.$parent.sumsmodel,model:$parent.$parent.model,orgname:$parent.$parent.orgname,depname:$parent.$parent.depname}"></year-by-user-print>
55
+
56
+
57
+ <!--<export-excel :data="$parent.$parent.getCondition"-->
58
+ <!--:field="$parent.$parent.getExportField"-->
59
+ <!--sqlurl="rs/logic/exportfile" sql-name="filesQuery" template-name='用户查询导出' :choose-col="true"></export-excel>-->
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </criteria>
64
+ <data-grid :model="model" partial='list' :sumsmodel="sumsmodel" class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
65
+ <template partial='head'>
66
+ <tr>
67
+ <th><nobr>购买日期</nobr></th>
68
+ <th><nobr>民用开户</nobr></th>
69
+ <th><nobr>民用人次</nobr></th>
70
+ <th><nobr>民用气量</nobr></th>
71
+ <th><nobr>民用金额</nobr></th>
72
+ <th><nobr>商业开户</nobr></th>
73
+ <th><nobr>商业人次</nobr></th>
74
+ <th><nobr>商业气量</nobr></th>
75
+ <th><nobr>商业金额</nobr></th>
76
+ <th><nobr>工业开户</nobr></th>
77
+ <th><nobr>工业人次</nobr></th>
78
+ <th><nobr>工业气量</nobr></th>
79
+ <th><nobr>工业金额</nobr></th>
80
+ <th><nobr>合计开户</nobr></th>
81
+ <th><nobr>合计人次</nobr></th>
82
+ <th><nobr>合计气量</nobr></th>
83
+ <th><nobr>合计金额</nobr></th>
84
+ </tr>
85
+ </template>
86
+ <template partial='body'>
87
+ <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
88
+ <td style="text-align: center;"><nobr>{{row.f_open_my}}</nobr></td>
89
+ <td style="text-align: center;"><nobr>{{row.f_count_my}}</nobr></td>
90
+ <td style="text-align: center;"><nobr>{{row.f_pregas_my}}</nobr></td>
91
+ <td style="text-align: center;"><nobr>{{row.f_collection_my}}</nobr></td>
92
+
93
+ <td style="text-align: center;"><nobr>{{row.f_open_sy}}</nobr></td>
94
+ <td style="text-align: center;"><nobr>{{row.f_count_sy}}</nobr></td>
95
+ <td style="text-align: center;"><nobr>{{row.f_pregas_sy}}</nobr></td>
96
+ <td style="text-align: center;"><nobr>{{row.f_collection_sy}}</nobr></td>
97
+
98
+ <td style="text-align: center;"><nobr>{{row.f_open_gy}}</nobr></td>
99
+ <td style="text-align: center;"><nobr>{{row.f_count_gy}}</nobr></td>
100
+ <td style="text-align: center;"><nobr>{{row.f_pregas_gy}}</nobr></td>
101
+ <td style="text-align: center;"><nobr>{{row.f_collection_gy}}</nobr></td>
102
+
103
+ <td style="text-align: center;"><nobr>{{row.f_open}}</nobr></td>
104
+ <td style="text-align: center;"><nobr>{{row.f_count}}</nobr></td>
105
+ <td style="text-align: center;"><nobr>{{row.f_pregas}}</nobr></td>
106
+ <td style="text-align: center;"><nobr>{{row.f_collection}}</nobr></td>
107
+ </template>
108
+ <template partial='foot'>
109
+ <td style="text-align: center;background-color: mistyrose"><nobr>合计:</nobr></td>
110
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_open_my}}</nobr></td>
111
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_count_my}}</nobr></td>
112
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_pregas_my}}</nobr></td>
113
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_collection_my}}</nobr></td>
114
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_open_sy}}</nobr></td>
115
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_count_sy}}</nobr></td>
116
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_pregas_sy}}</nobr></td>
117
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_collection_sy}}</nobr></td>
118
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_open_gy}}</nobr></td>
119
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_count_gy}}</nobr></td>
120
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_pregas_gy}}</nobr></td>
121
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_collection_gy}}</nobr></td>
122
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_open}}</nobr></td>
123
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_count}}</nobr></td>
124
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_pregas}}</nobr></td>
125
+ <td style="text-align: center;background-color: mistyrose"><nobr>{{model.sums.f_collection}}</nobr></td>
126
+ </template>
127
+ </data-grid>
128
+ </criteria-paged>
129
+ </div>
130
+ </div>
131
+ </div>
132
+ </template>
133
+
134
+ <script>
135
+ import { PagedList } from 'vue-client'
136
+ // import defaultPrint from '../config/DefaultPrint'
137
+ import exportConfig from '../../config/exportConfig'
138
+ let readySomething = async function (self) {
139
+ let year = new Date().getFullYear()
140
+ self.$refs.paged.$refs.cri.model.f_hasapp = [`!= '悦生活'`]
141
+ self.$refs.paged.$refs.cri.model.YeadDate = year+""
142
+ self.$refs.paged.$refs.cri.model.f_end_operate_date = year+""
143
+ self.$refs.paged.$refs.cri.model.f_begin_operate_date = year+""
144
+ // await self.$refs.paged.$refs.cri.search()
145
+ // self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
146
+ }
147
+
148
+ export default {
149
+ title: '年报(客户类型)',
150
+ data() {
151
+ return {
152
+ model: new PagedList('rs/sql/aode_YearByUserType', 35,{YeadDate: 'this.model.YeadDate',f_end_operate_date:'this.model.f_end_operate_date',f_begin_operate_date:'this.model.f_begin_operate_date'},{
153
+ f_open_my:0,
154
+ f_count_my:0,
155
+ f_pregas_my:0,
156
+ f_collection_my:0,
157
+ f_open_sy:0,
158
+ f_count_sy:0,
159
+ f_pregas_sy:0,
160
+ f_collection_sy:0,
161
+ f_open_gy:0,
162
+ f_count_gy:0,
163
+ f_pregas_gy:0,
164
+ f_collection_gy:0,
165
+ f_open: 0,
166
+ f_count: 0,
167
+ f_pregas: 0,
168
+ f_collection: 0
169
+ }),
170
+ initres: {
171
+ org:[this.$login.f.orgid],
172
+ dep:[this.$login.f.depids],
173
+ user:[this.$login.f.id]
174
+ },
175
+ criteriaShow: true,
176
+ orgCondtionStr:'',
177
+ sumsmodel: {},
178
+ orgname: '',
179
+ depname: '',
180
+ hasapps: [{label: '包含APP', value: ''}, {label: '不包含APP', value: "!= '悦生活'"}],
181
+ defaultfield:[],
182
+ sumName:['f_open_my','f_count_my','f_pregas_my','f_collection_my',
183
+ 'f_open_sy','f_count_sy','f_pregas_sy',
184
+ 'f_collection_sy','f_open_gy','f_count_gy','f_pregas_gy',
185
+ ' f_collection_gy','f_open','f_count','f_pregas',
186
+ 'f_collection']
187
+ }
188
+ },
189
+ ready(){
190
+ readySomething(this).then(() => {
191
+ this.$emit('ready')
192
+ }).catch((error) => {
193
+ this.$emit('error', error)
194
+ })
195
+ },
196
+ methods: {
197
+ async selfSearch (args) {
198
+ let f_orgstr = this.orgCondtionStr
199
+ if(!this.orgCondtionStr){
200
+ f_orgstr = 'and f_orgid = ' + this.$login.f.orgid
201
+ }
202
+ args.condition = `${args.condition} ` + f_orgstr
203
+ await this.model.search(args.condition, args.model)
204
+
205
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
206
+ console.log('计算合计。', this.sumsmodel)
207
+ if (this.$refs.paged.$refs.grid.model.rows.length === 0) {
208
+ for (let key in this.sumsmodel) {
209
+ this.sumsmodel[key] = 0
210
+ }
211
+ }
212
+ this.$dispatch('getdata', this.sumsmodel)
213
+ },
214
+ clear(){
215
+ //清空部门和人员
216
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
217
+ //部门和人员变为全选
218
+ this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
219
+ this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
220
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
221
+ this.$refs.paged.$refs.cri.model[key] = []
222
+ })
223
+ },
224
+ show(){
225
+ this.criteriaShow = true
226
+ },
227
+ hidden(){
228
+ this.criteriaShow = false
229
+ },
230
+ getRes(condition,obj) {
231
+ this.orgCondtionStr = condition
232
+ this.orgname = obj.orgnames[0]
233
+ this.depname = obj.depnames[0]
234
+ }
235
+ },
236
+ watch:{
237
+ 'all' (val) {
238
+ if (val) {
239
+ this.modelval = this.bodyData
240
+ } else {
241
+ this.modelval = defaultPrint.config
242
+ this.put()
243
+ }
244
+ },
245
+ 'modelval.length' () {
246
+ this.put()
247
+ },
248
+ },
249
+ computed:{
250
+ getCondition(){
251
+ return {condition: `${this.$refs.paged.$refs.cri.condition}`+this.orgCondtionStr,YeadDate:`${this.$refs.paged.$refs.cri.model.YeadDate}`}
252
+ },
253
+ getfield(){
254
+ return exportConfig.yearByUserConfig
255
+ },
256
+ userstates () {
257
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户状态')]
258
+ },
259
+ sliceArea () {
260
+ let rs = new Array()
261
+ for (let i = 0; i < this.$login.f.f_allArea.length; i++) {
262
+ let temp = {
263
+ label: this.$login.f.f_allArea[i].label,
264
+ value: this.$login.f.f_allArea[i].label
265
+ }
266
+ rs.push(temp)
267
+ }
268
+ return [{label: '全部', value: ''}, ...rs]
269
+ }
270
+ }
271
+ }
272
+ </script>
@@ -332,7 +332,7 @@
332
332
  </div>
333
333
  </div>
334
334
  </div>
335
- <div class="flex-row" v-show="echarts">
335
+ <div class="flex-row" v-if="echarts">
336
336
  <user-gas-echarts :condition="condition" :echarts="echarts" :enddate="endDate"
337
337
  :groupname="groupname[0]" :startdate="startDate"></user-gas-echarts>
338
338
  </div>
@@ -298,7 +298,7 @@
298
298
  <new-exception-eform-total :condition="condition" :startdate="startDate"
299
299
  :enddate="endDate"></new-exception-eform-total>
300
300
  </div>-->
301
- <div v-show="echarts" style="width: 100%;height: 98%;">
301
+ <div v-if="echarts" style="width: 100%;height: 98%;">
302
302
  <new-exception-echarts :condition="condition" :startdate="startDate" :groupname="groupname[0]"
303
303
  :enddate="endDate" :echarts="echarts"></new-exception-echarts>
304
304
  </div>
@@ -204,7 +204,7 @@
204
204
 
205
205
  </div>
206
206
  <!--图显示模板-->
207
- <div class="flex-row" v-show="echarts" style="width: 100%;height: 98%;">
207
+ <div class="flex-row" v-if="echarts" style="width: 100%;height: 98%;">
208
208
  <user-gas-echarts-list :condition="condition" :startdate="startDate"
209
209
  :enddate="endDate" :echarts="echarts"></user-gas-echarts-list>
210
210
  </div>
@@ -79,7 +79,7 @@
79
79
  'legend': {
80
80
  'data': [
81
81
  {
82
- 'name': '成功表具数',
82
+ 'name': '当日表端接收',
83
83
  'icon': 'circle',
84
84
  'textStyle': {
85
85
  'color': '#5b5',
@@ -87,7 +87,7 @@
87
87
  }
88
88
  },
89
89
  {
90
- 'name': '总表具数',
90
+ 'name': '当日发送指令',
91
91
  'icon': 'circle',
92
92
  'textStyle': {
93
93
  'color': '#233564',
@@ -95,7 +95,7 @@
95
95
  }
96
96
  },
97
97
  {
98
- 'name': '指令成功率%',
98
+ 'name': '当日接收成功率%',
99
99
  'icon': 'circle',
100
100
  'textStyle': {
101
101
  'color': '#ffaaff',
@@ -161,7 +161,7 @@
161
161
  },
162
162
  'series': [
163
163
  {
164
- 'name': '成功表具数',
164
+ 'name': '当日表端接收',
165
165
  nameTextStyle: {
166
166
  fontSize: 15
167
167
  },
@@ -187,7 +187,7 @@
187
187
  'barGap': '0'
188
188
  },
189
189
  {
190
- 'name': '总表具数',
190
+ 'name': '当日发送指令',
191
191
  nameTextStyle: {
192
192
  fontSize: 15
193
193
  },
@@ -213,7 +213,7 @@
213
213
  'barGap': '0'
214
214
  },
215
215
  {
216
- 'name': '指令成功率%',
216
+ 'name': '当日接收成功率%',
217
217
  'type': 'line',
218
218
  'yAxisIndex': 1,
219
219
  'data': f_bv2,