manage-client 3.2.107 → 3.2.109-1

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 (33) hide show
  1. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  2. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  3. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  4. package/.gradle/{4.4/fileHashes/fileHashes.bin → buildOutputCleanup/outputFiles.bin} +0 -0
  5. package/build/dev-server.js +2 -2
  6. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  7. package/build/tmp/jar/MANIFEST.MF +2 -0
  8. package/package.json +1 -1
  9. package/src/components/SellReport/ManageBusSummary.vue +221 -224
  10. package/src/components/daping/CallCenter.vue +26 -14
  11. package/src/components/daping/DataManagement.vue +13 -6
  12. package/src/components/daping/SafeCheckRing.vue +2 -1
  13. package/src/components/daping/SafecheckBarChart.vue +17 -8
  14. package/src/components/daping/json/dataManage.json +26 -0
  15. package/src/components/sale/businessquery/FillCardQuery.vue +1 -5
  16. package/src/components/sale/businessquery/sellingChargePrice.vue +716 -716
  17. package/src/components/sale/config/exportConfig.js +6 -5
  18. package/src/components/sale/config/tableConfig.js +48 -48
  19. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +2 -2
  20. package/src/components/webmeter/WebmeterQuery.vue +64 -64
  21. package/src/components/webmeter/meterinfo/NewMeterList.vue +10 -3
  22. package/src/components/webmeter/report/ReportList.vue +1 -1
  23. package/src/components/webmeter/reportdata/ReportDataQuery.vue +279 -279
  24. package/src/filiale/qianneng/GasLossQuery.vue +632 -0
  25. package/src/filiale/qianneng/HandplanQuery.vue +1 -0
  26. package/src/filiale/qianneng/sale.js +1 -1
  27. package/src/main.js +66 -66
  28. package/src/webmeterManage.js +1 -1
  29. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  30. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  31. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  32. package/.gradle/buildOutputCleanup/built.bin +0 -0
  33. package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
@@ -13,10 +13,10 @@ var compiler = webpack(config)
13
13
  // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
14
  var shaoguan='http://119.146.1.106:8300/'
15
15
  var qtx='http://36.103.222.144:6300/'
16
- var bendi = 'http://localhost:8090/'
16
+ var bendi = 'http://203.57.101.233:9001'
17
17
  // var bendi = 'http://172.168.1.11:9001'
18
18
  var fuwu = 'http://192.168.50.4:8400'
19
- // var fuwu = 'http://172.168.1.11:9001'
19
+ // var fuwu = 'http://203.57.101.233:9001'
20
20
  var system = 'http://192.168.50.4:8400'
21
21
  //192.168.
22
22
  // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
@@ -0,0 +1,2 @@
1
+ Manifest-Version: 1.0
2
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.107",
3
+ "version": "3.2.109-1",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,224 +1,221 @@
1
- <template>
2
- <div class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false' v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
- <div class="row">
7
- <div class="col-sm-2 form-group" >
8
- <label class="font_normal_body" for="startDate">开始日期:</label>
9
- <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
- v-model="model.startDate"
11
- :value.sync="model.startDate"
12
- :disabled-days-of-Week="[]"
13
- :format="'yyyy-MM-dd HH:mm:ss'"
14
- :show-reset-button="reset">
15
- </datepicker>
16
- </div>
17
- <div class="col-sm-2 form-group" >
18
- <label class="font_normal_body" for="endDate">结束日期:</label>
19
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
- v-model="model.endDate"
21
- :value.sync="model.endDate"
22
- :disabled-days-of-Week="[]"
23
- :format="'yyyy-MM-dd HH:mm:ss'"
24
- :show-reset-button="reset">
25
- </datepicker>
26
- </div><!--
27
- <div class="col-sm-2 form-group">
28
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
29
- <right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
30
- </div>
31
- <div class="col-sm-2 form-group">
32
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
33
- <res-select restype='department'
34
- is-mul="false"
35
- @res-select="$parent.$parent.getdep"
36
- :parentresid="$parent.$parent.depresid"
37
- :initresid='$parent.$parent.depid'>
38
- </res-select>
39
-
40
- </div>
41
- <div class="col-sm-2 form-group">
42
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
43
- <res-select restype='user'
44
- is-mul="false"
45
- @res-select="$parent.$parent.getuser"
46
- :parentresid="$parent.$parent.userresid"
47
- :initresid='$parent.$parent.operatorid'>
48
- </res-select>
49
- </div>
50
- -->
51
- <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
52
- </div>
53
- <div class="span" style = "float:right;">
54
- <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
55
- <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
56
- <report-excel id='gasprice'></report-excel>
57
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
58
- 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
59
- </div>
60
- <div class="row" v-show="$parent.$parent.criteriaShow">
61
- <div class="col-sm-2 form-group">
62
- <label class="font_normal_body">收费状态</label>
63
- <v-select :value.sync="$parent.$parent.f_state" multiple
64
- v-model="$parent.$parent.f_state"
65
- :options='$parent.$parent.charge_state' placeholder='请选择'
66
- condition="f_state in {}"
67
- close-on-select></v-select>
68
- </div>
69
- </div>
70
- </div>
71
- </criteria>
72
- <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
73
- <table class='tableprint' style="margin: 0px auto">
74
- <thead>
75
- <tr>
76
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
77
- <h3 style="text-align: center">收费结账报表</h3>
78
- </th>
79
- </tr>
80
- <tr>
81
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
82
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
83
- 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
84
- <!--打印时间:{{{$parent.printTime}}}-->
85
- 打印时间:{{$parent.printTime}}
86
- <!--收费员:{{// $parent.operatorname}}-->
87
- </th>
88
- </tr>
89
- <tr>
90
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
91
- <div>
92
- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
93
- <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
94
- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$parent.operatorname}}</span>
95
- </div>
96
- </th>
97
- </tr>
98
- </thead>
99
- <tr>
100
- <td :colspan='$parent.spans' class="noborder">
101
- {{{ model.data.substring(26,model.data.length-8) }}}
102
- </td>
103
- </tr>
104
- <tfoot>
105
- <tr style="text-align: left">
106
- <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
107
- <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
108
- <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
109
- </tr>
110
- </tfoot>
111
- </table>
112
- {{{ $parent.reportStr}}}
113
- </div>
114
- </criteria-paged>
115
- </div>
116
- </template>
117
-
118
- <script>
119
- import { DataModel } from 'vue-client'
120
- import co from 'co'
121
-
122
- export default {
123
- title: '收费结账报表',
124
- props: ['data'],
125
- data () {
126
- return {
127
- printTime: this.$login.toStandardTimeString(),
128
- depresid: [],
129
- userresid: [],
130
- f_orgid: this.$login.f.orgid,
131
- f_depid: this.$login.f.depids,
132
- f_operatorid: this.$login.f.id,
133
- operatorid: [],
134
- depid: [],
135
- orgname: '',
136
- depname: '',
137
- criteriaShow: false,
138
- operatorname: '',
139
- orgCondtionStr: '1=1',
140
- f_state:['有效'],
141
- model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
142
- f_orgid: 'this.model.f_orgid'}),
143
- reportStr: null,
144
- resshow:['company','department','operator'],
145
- spans: 0,
146
- initres: {
147
- org: [this.$login.f.orgid],
148
- dep: [],
149
- user: []
150
- }
151
- }
152
- },
153
- ready () {
154
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
155
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
156
- console.log(this.$login.f)
157
- },
158
- methods: {
159
- searchData () {
160
- this.$refs.paged.$refs.criteria.search()
161
- },
162
- selfSearch (args) {
163
- this.printTime = this.$login.toStandardTimeString()
164
- let orgcondition = '1=1'
165
- let orgstr = this.orgCondtionStr
166
- orgcondition = orgcondition + orgstr
167
- /* if (this.f_orgid && this.f_orgid[0]) {
168
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
169
- }
170
- if (this.f_depid && this.f_depid[0]) {
171
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
172
- }
173
- if(this.f_operatorid && this.f_operatorid[0]) {
174
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
175
- }*/
176
- if(this.f_state && this.f_state[0]) {
177
- orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
178
- }
179
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
180
- this.$refs.paged.search(args)
181
- },
182
-
183
- hidden() {
184
- this.criteriaShow = !this.criteriaShow
185
- },
186
- getRes (condition, obj) {
187
- this.orgCondtionStr = condition
188
- this.orgname = obj.orgnames[0]
189
- this.depname = obj.depnames[0]
190
- },
191
- getdep (obj, val) {
192
- this.depname = val[0]
193
- this.userresid = obj
194
- this.f_depid = obj
195
- },
196
- getuser ( obj, val) {
197
- this.operatorname = val[0]
198
- this.f_operatorid = obj
199
- }
200
- },
201
- watch: {
202
- 'model.data' (val) {
203
- let len=0
204
- let a=val.split('</tr>')
205
- for(let i=0;i<a.length;i++){
206
- if(a[i].split('</td>').length-1>len){
207
- len=a[i].split('</td>').length-1
208
- }
209
- }
210
- this.spans = len
211
- }
212
- },
213
- computed: {
214
- charge_state() {
215
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
216
- }
217
- }
218
- }
219
- </script>
220
- <style scoped>
221
- .noborder{
222
- border: none;
223
- }
224
- </style>
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <criteria-paged :model="model" :pager='false' v-ref:paged>
4
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="col-sm-2 form-group" >
8
+ <label class="font_normal_body" for="startDate">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ :disabled-days-of-Week="[]"
13
+ :format="'yyyy-MM-dd HH:mm:ss'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-2 form-group" >
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
+ v-model="model.endDate"
21
+ :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]"
23
+ :format="'yyyy-MM-dd HH:mm:ss'"
24
+ :show-reset-button="reset">
25
+ </datepicker>
26
+ </div><!--
27
+ <div class="col-sm-2 form-group">
28
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
29
+ <right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
33
+ <res-select restype='department'
34
+ is-mul="false"
35
+ @res-select="$parent.$parent.getdep"
36
+ :parentresid="$parent.$parent.depresid"
37
+ :initresid='$parent.$parent.depid'>
38
+ </res-select>
39
+
40
+ </div>
41
+ <div class="col-sm-2 form-group">
42
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
43
+ <res-select restype='user'
44
+ is-mul="false"
45
+ @res-select="$parent.$parent.getuser"
46
+ :parentresid="$parent.$parent.userresid"
47
+ :initresid='$parent.$parent.operatorid'>
48
+ </res-select>
49
+ </div>
50
+ -->
51
+ <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
52
+ </div>
53
+ <div class="span" style = "float:right;">
54
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
55
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
56
+ <report-excel id='gasprice'></report-excel>
57
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
58
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
59
+ </div>
60
+ <div class="row" v-show="$parent.$parent.criteriaShow">
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">收费状态</label>
63
+ <v-select :value.sync="$parent.$parent.f_state" multiple
64
+ v-model="$parent.$parent.f_state"
65
+ :options='$parent.$parent.charge_state' placeholder='请选择'
66
+ condition="f_state in {}"
67
+ close-on-select></v-select>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ </criteria>
72
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
73
+ <table class='tableprint' style="margin: 0px auto">
74
+ <thead>
75
+ <tr>
76
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
77
+ <h3 style="text-align: center">收费结账报表</h3>
78
+ </th>
79
+ </tr>
80
+ <tr>
81
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
82
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
83
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
84
+ <!--打印时间:{{{$parent.printTime}}}-->
85
+ 打印时间:{{$parent.printTime}}
86
+ <!--收费员:{{// $parent.operatorname}}-->
87
+ </th>
88
+ </tr>
89
+ <tr>
90
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
91
+ <div>
92
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
93
+ <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
94
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$parent.operatorname}}</span>
95
+ </div>
96
+ </th>
97
+ </tr>
98
+ </thead>
99
+ <tr>
100
+ <td :colspan='$parent.spans' class="noborder">
101
+ {{{ model.data.substring(26,model.data.length-8) }}}
102
+ </td>
103
+ </tr>
104
+ <tfoot>
105
+ <tr style="text-align: left">
106
+ <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
107
+ <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
108
+ <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
109
+ </tr>
110
+ </tfoot>
111
+ </table>
112
+ {{{ $parent.reportStr}}}
113
+ </div>
114
+ </criteria-paged>
115
+ </div>
116
+ </template>
117
+
118
+ <script>
119
+ import { DataModel } from 'vue-client'
120
+ import co from 'co'
121
+
122
+ export default {
123
+ title: '收费结账报表',
124
+ props: ['data'],
125
+ data () {
126
+ return {
127
+ printTime: this.$login.toStandardTimeString(),
128
+ depresid: [],
129
+ userresid: [],
130
+ f_orgid: this.$login.f.orgid,
131
+ f_depid: this.$login.f.depids,
132
+ f_operatorid: this.$login.f.id,
133
+ operatorid: [],
134
+ depid: [],
135
+ orgname: '',
136
+ depname: '',
137
+ criteriaShow: false,
138
+ operatorname: '',
139
+ orgCondtionStr: '1=1',
140
+ f_state:['有效'],
141
+ model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
142
+ f_orgid: 'this.model.f_orgid'}),
143
+ reportStr: null,
144
+ resshow:['company','department','operator'],
145
+ spans: 0,
146
+ initres: {
147
+ org: [this.$login.f.orgid],
148
+ dep: [],
149
+ user: []
150
+ }
151
+ }
152
+ },
153
+ ready () {
154
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
155
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
156
+ console.log(this.$login.f)
157
+ },
158
+ methods: {
159
+ searchData () {
160
+ this.$refs.paged.$refs.criteria.search()
161
+ },
162
+ selfSearch (args) {
163
+ this.printTime = this.$login.toStandardTimeString()
164
+ let orgcondition = '1=1'
165
+ let orgstr = this.orgCondtionStr
166
+ orgcondition = orgcondition + orgstr
167
+ /* if (this.f_orgid && this.f_orgid[0]) {
168
+ orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
169
+ }
170
+ if (this.f_depid && this.f_depid[0]) {
171
+ orgcondition += ' and f_depid in (' + this.f_depid + ')'
172
+ }
173
+ if(this.f_operatorid && this.f_operatorid[0]) {
174
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
175
+ }*/
176
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
177
+ this.$refs.paged.search(args)
178
+ },
179
+
180
+ hidden() {
181
+ this.criteriaShow = !this.criteriaShow
182
+ },
183
+ getRes (condition, obj) {
184
+ this.orgCondtionStr = condition
185
+ this.orgname = obj.orgnames[0]
186
+ this.depname = obj.depnames[0]
187
+ },
188
+ getdep (obj, val) {
189
+ this.depname = val[0]
190
+ this.userresid = obj
191
+ this.f_depid = obj
192
+ },
193
+ getuser ( obj, val) {
194
+ this.operatorname = val[0]
195
+ this.f_operatorid = obj
196
+ }
197
+ },
198
+ watch: {
199
+ 'model.data' (val) {
200
+ let len=0
201
+ let a=val.split('</tr>')
202
+ for(let i=0;i<a.length;i++){
203
+ if(a[i].split('</td>').length-1>len){
204
+ len=a[i].split('</td>').length-1
205
+ }
206
+ }
207
+ this.spans = len
208
+ }
209
+ },
210
+ computed: {
211
+ charge_state() {
212
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
213
+ }
214
+ }
215
+ }
216
+ </script>
217
+ <style scoped>
218
+ .noborder{
219
+ border: none;
220
+ }
221
+ </style>
@@ -84,7 +84,7 @@
84
84
 
85
85
  <script>
86
86
  import {HttpResetClass} from "vue-client";
87
-
87
+ import dataManage from './json/dataManage.json'
88
88
  export default {
89
89
  title: '收费',
90
90
  data() {
@@ -114,19 +114,31 @@
114
114
  let load1 = new HttpResetClass()
115
115
  let load2 = new HttpResetClass()
116
116
  let load3 = new HttpResetClass()
117
- load1.load('POST', 'rs/sql/getCallSum', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((res) => {
118
- this.callData = res.data[0]
119
- })
120
- load2.load('POST', 'rs/sql/getCallSumCompare', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((rea) => {
121
- this.arrs = rea.data
122
- })
123
- load3.load('POST', 'rs/sql/getCallSumByUnit', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((ret) => {
124
- this.items = ret.data
125
- // this.items =ret.data
126
- // this.items.push(ret.data.filter((item) => item.name === "滨河")[0])
127
- // this.items.push(ret.data.filter((item) => item.name === "乌达")[0])
128
- // this.items.push(ret.data.filter((item) => item.name === "海勃湾")[0])
129
- })
117
+ if(!dataManage.callData){
118
+ load1.load('POST', 'rs/sql/getCallSum', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((res) => {
119
+ this.callData = res.data[0]
120
+ })
121
+ } else {
122
+ this.callData = dataManage.callData
123
+ }
124
+ if (!dataManage.callSum) {
125
+ load2.load('POST', 'rs/sql/getCallSumCompare', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((rea) => {
126
+ this.arrs = rea.data
127
+ })
128
+ } else {
129
+ this.arrs = dataManage.callSum
130
+ }
131
+ if (!dataManage.callSumByUnit) {
132
+ load3.load('POST', 'rs/sql/getCallSumByUnit', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((ret) => {
133
+ ret.data
134
+ // this.items =ret.data
135
+ // this.items.push(ret.data.filter((item) => item.name === "滨河")[0])
136
+ // this.items.push(ret.data.filter((item) => item.name === "乌达")[0])
137
+ // this.items.push(ret.data.filter((item) => item.name === "海勃湾")[0])
138
+ })
139
+ } else {
140
+ this.items = dataManage.callSumByUnit
141
+ }
130
142
 
131
143
  },
132
144
  props: {}
@@ -11,10 +11,10 @@
11
11
  <span class="font-title">安检</span>
12
12
  </div>
13
13
  <div class="flex-inline col-sm-6 auto" >
14
- <span id="weiruhu">{{checkData.wrhsum > 10000 ? (checkData.wrhsum/10000).toFixed(0) + '万' : checkData.wrhsum}}</span>
14
+ <span id="weiruhu">{{checkData.wrhsum > 1000000 ? (checkData.wrhsum/10000).toFixed(2) + '万' : checkData.wrhsum}}</span>
15
15
  </div>
16
16
  <div class="flex-inline col-sm-6 auto" >
17
- <span id="anjian">{{checkData.jhsum > 10000 ? (checkData.jhsum/10000).toFixed(0) + '万' : checkData.jhsum}}</span>
17
+ <span id="anjian">{{checkData.jhsum > 1000000 ? (checkData.jhsum/10000).toFixed(2) + '万' : checkData.jhsum}}</span>
18
18
  </div>
19
19
  <div class="flex-inline col-sm-6 auto" >
20
20
  <span class="normal-font" >三年未入户总数</span>
@@ -84,6 +84,7 @@
84
84
 
85
85
  <script>
86
86
  import {HttpResetClass} from 'vue-client'
87
+ import dataManage from './json/dataManage.json'
87
88
  export default {
88
89
  title: '数据展示',
89
90
  data() {
@@ -115,10 +116,16 @@ export default {
115
116
  console.log('穿过来的值')
116
117
  this.changeshow = !this.changeshow
117
118
  console.log(this.changeshow)
118
- let http = new HttpResetClass()
119
- await http.load('post', '/rs/sql/getCheckSum', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
120
- this.checkData = res.data[0]
121
- })
119
+ if(!dataManage.checkData){
120
+ let http = new HttpResetClass()
121
+ await http.load('post', '/rs/sql/getCheckSum', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
122
+ this.checkData = res.data[0]
123
+ })
124
+ } else {
125
+ this.checkData = dataManage.checkData
126
+
127
+ }
128
+
122
129
  // await http.load('post', '/rs/sql/getHeatStationTable', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
123
130
  // console.log('热源厂---------------')
124
131
  // console.log(res)
@@ -5,7 +5,7 @@
5
5
 
6
6
  <script>
7
7
  import {HttpResetClass} from "vue-client";
8
-
8
+ // import dataManage from 'src/components/daping/json/dataManage.json'
9
9
  export default {
10
10
  title: '收费',
11
11
  data () {
@@ -16,6 +16,7 @@
16
16
  },
17
17
  methods: {
18
18
  async resize(){
19
+ // if(dataManage.safeCheckRing)
19
20
  let http = new HttpResetClass()
20
21
  // 收费
21
22
  await http.load('post', '/rs/sql/getSafecheckSumByType', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
@@ -5,7 +5,7 @@
5
5
 
6
6
  <script>
7
7
  import {HttpResetClass} from "vue-client";
8
-
8
+ import dataManage from './json/dataManage.json'
9
9
  export default {
10
10
  title: '收费',
11
11
  data() {
@@ -17,14 +17,23 @@
17
17
  },
18
18
  methods: {
19
19
  async resize(){
20
- let http = new HttpResetClass()
21
- // 收费
22
- await http.load('post', '/rs/sql/getSafecheckSumByMonth', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
23
- this.xData = res.data.map(item => item.time)
24
- this.yData1 = res.data.map(item => item.allnum)
25
- this.yData2 = res.data.map(item => item.sucnum)
20
+ if(!dataManage.checkByMonth){
21
+ let http = new HttpResetClass()
22
+ // 收费
23
+ await http.load('post', '/rs/sql/getSafecheckSumByMonth', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
24
+ this.xData = res.data.map(item => item.time)
25
+ this.yData1 = res.data.map(item => item.allnum)
26
+ this.yData2 = res.data.map(item => item.sucnum)
27
+ this.init()
28
+ })
29
+ }else{
30
+ let res = dataManage.checkByMonth
31
+ this.xData = res.map(item => item.time)
32
+ this.yData1 = res.map(item => item.allnum)
33
+ this.yData2 = res.map(item => item.sucnum)
26
34
  this.init()
27
- })
35
+ }
36
+
28
37
  },
29
38
  init() {
30
39
  var xData = this.xData,