manage-client 3.2.216 → 3.2.218

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.
@@ -28,18 +28,6 @@ var proxyTable = {
28
28
  '/rs/logic/exportfile': {
29
29
  target: bendi
30
30
  },
31
- '/rs/sql/inspectListNew': {
32
- target: 'http://localhost:8080/'
33
- },
34
- // '/rs/sql/BusinessType': {
35
- // target: 'http://localhost:8080/'
36
- // },
37
- // '/rs/logic/getBatchOperaPro': {
38
- // target: 'http://localhost:8080/'
39
- // },
40
- // '/rs/customExport/areaChargeExportExcel': {
41
- // target: 'http://localhost:8080/'
42
- // },
43
31
  '/files': {
44
32
  target: bendi
45
33
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.216",
3
+ "version": "3.2.218",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -84,7 +84,7 @@
84
84
 
85
85
  <script>
86
86
  import {HttpResetClass} from "vue-client";
87
- import dataManage from './json/dataManage.json'
87
+ // import this.datamanage from './json/this.datamanage.json'
88
88
  export default {
89
89
  title: '收费',
90
90
  data() {
@@ -114,21 +114,21 @@
114
114
  let load1 = new HttpResetClass()
115
115
  let load2 = new HttpResetClass()
116
116
  let load3 = new HttpResetClass()
117
- if(!dataManage.callData){
117
+ if(!this.datamanage.callData){
118
118
  load1.load('POST', 'rs/sql/getCallSum', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((res) => {
119
119
  this.callData = res.data[0]
120
120
  })
121
121
  } else {
122
- this.callData = dataManage.callData
122
+ this.callData = this.datamanage.callData
123
123
  }
124
- if (!dataManage.callSum) {
124
+ if (!this.datamanage.callSum) {
125
125
  load2.load('POST', 'rs/sql/getCallSumCompare', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((rea) => {
126
126
  this.arrs = rea.data
127
127
  })
128
128
  } else {
129
- this.arrs = dataManage.callSum
129
+ this.arrs = this.datamanage.callSum
130
130
  }
131
- if (!dataManage.callSumByUnit) {
131
+ if (!this.datamanage.callSumByUnit) {
132
132
  load3.load('POST', 'rs/sql/getCallSumByUnit', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((ret) => {
133
133
  this.items = []// ret.data
134
134
  this.items = ret.data
@@ -137,11 +137,11 @@
137
137
  this.items.push(ret.data.filter((item) => item.name === "海勃湾")[0])
138
138
  })
139
139
  } else {
140
- this.items = dataManage.callSumByUnit
140
+ this.items = this.datamanage.callSumByUnit
141
141
  }
142
142
 
143
143
  },
144
- props: {}
144
+ props: ['datamanage']
145
145
  }
146
146
  </script>
147
147
  <style scoped>
@@ -19,7 +19,6 @@
19
19
  <div class="flex-inline col-sm-6 auto" >
20
20
  <span class="normal-font" >三年未入户总数</span>
21
21
  </div>
22
-
23
22
  <div class="flex-inline col-sm-6 auto" >
24
23
  <span class="normal-font" >计划安检量</span>
25
24
  </div>
@@ -29,7 +28,7 @@
29
28
  <!--</div>-->
30
29
  </div>
31
30
  <div style="height: 58%">
32
- <safe-check-wh></safe-check-wh>
31
+ <safe-check-wh :datamanage="datamanage"></safe-check-wh>
33
32
  </div>
34
33
  </div>
35
34
 
@@ -74,7 +73,7 @@
74
73
  </div>
75
74
  </div>
76
75
  <div class="flex background-left-bottom" style="height: 100%;width: 49%;margin-left:1%">
77
- <qh-call-center></qh-call-center>
76
+ <qh-call-center :datamanage="datamanage"></qh-call-center>
78
77
  </div>
79
78
  </div>
80
79
 
@@ -84,7 +83,6 @@
84
83
 
85
84
  <script>
86
85
  import {HttpResetClass} from 'vue-client'
87
- import dataManage from './json/dataManage.json'
88
86
  export default {
89
87
  title: '数据展示',
90
88
  data() {
@@ -116,13 +114,13 @@ export default {
116
114
  console.log('穿过来的值')
117
115
  this.changeshow = !this.changeshow
118
116
  console.log(this.changeshow)
119
- if(!dataManage.checkData){
117
+ if(!this.datamange.checkData){
120
118
  let http = new HttpResetClass()
121
119
  await http.load('post', '/rs/sql/getCheckSum', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
122
120
  this.checkData = res.data[0]
123
121
  })
124
122
  } else {
125
- this.checkData = dataManage.checkData
123
+ this.checkData = this.datamange.checkData
126
124
 
127
125
  }
128
126
 
@@ -273,7 +271,7 @@ export default {
273
271
 
274
272
  },
275
273
 
276
- props: ['changeshow'],
274
+ props: ['changeshow','datamanage'],
277
275
  computed: {
278
276
  top() {
279
277
  console.log('ssss')
@@ -12,8 +12,8 @@
12
12
 
13
13
  录入</span>
14
14
  </div>
15
- <div style="height: 93%;">
16
- <qh-data-management :changeshow=showChart2></qh-data-management>
15
+ <div style="height: 93%;" v-if="show">
16
+ <qh-data-management :changeshow=showChart2 :datamanage="datamanage"></qh-data-management>
17
17
  </div>
18
18
 
19
19
 
@@ -62,7 +62,9 @@
62
62
  title: '收费',
63
63
  data() {
64
64
  return{
65
+ datamanage:{},
65
66
  sumnum:0,
67
+ show: false,
66
68
  showChart1 : true,
67
69
  showChart2 : false,
68
70
  }
@@ -80,8 +82,10 @@
80
82
  },
81
83
  ready () {
82
84
  let http = new HttpResetClass()
83
- http.load('post', '/rs/sql/getSafecheckSum', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
84
- this.sumnum = (res.data[0].value/10000).toFixed(2)
85
+ http.load('get', '/dataManage.json', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
86
+ console.log(res.data)
87
+ this.datamanage = res.data
88
+ this.show = true
85
89
  })
86
90
  },
87
91
  props: {}
@@ -5,7 +5,7 @@
5
5
 
6
6
  <script>
7
7
  import {HttpResetClass} from "vue-client";
8
- import dataManage from './json/dataManage.json'
8
+ // import this.datamanage from './json/this.datamanage.json'
9
9
  export default {
10
10
  title: '收费',
11
11
  data() {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  methods: {
19
19
  async resize(){
20
- if(!dataManage.checkByMonth){
20
+ if(!this.datamanage.checkByMonth){
21
21
  let http = new HttpResetClass()
22
22
  // 收费
23
23
  await http.load('post', '/rs/sql/getSafecheckSumByMonth', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
@@ -27,7 +27,7 @@
27
27
  this.init()
28
28
  })
29
29
  }else{
30
- let res = dataManage.checkByMonth
30
+ let res = this.datamanage.checkByMonth
31
31
  this.xData = res.map(item => item.time)
32
32
  this.yData1 = res.map(item => item.allnum)
33
33
  this.yData2 = res.map(item => item.sucnum)
@@ -231,7 +231,7 @@
231
231
  ready() {
232
232
  this.resize()
233
233
  },
234
- props: {}
234
+ props: ['datamanage']
235
235
  }
236
236
  </script>
237
237
  <style scoped>
@@ -1,3 +1,29 @@
1
1
  {
2
+ "checkData":{
3
+ "wrhsum":1021,
4
+ "jhsum":82665
5
+ },
6
+ "checkByMonth":[
7
+ {"sucnum":6921,"time":"2022-08","allnum":7000},
8
+ {"sucnum":6187,"time":"2022-09","allnum":6200},
9
+ {"sucnum":5985,"time":"2022-10","allnum":6100},
10
+ {"sucnum":5783,"time":"2022-11","allnum":5900},
11
+ {"sucnum":6174,"time":"2022-12","allnum":6300},
12
+ {"sucnum":6712 ,"time":"2023-01","allnum":6800 }
2
13
 
14
+ ],
15
+ "callData":{
16
+ "yearamount":12101,
17
+ "sumsend":2453,
18
+ "dayamount":12101,
19
+ "sumwmm":2397
20
+ },
21
+ "callSum":[
22
+ {"lastyear":100,"addvalue":10,"year":118,"name":"昨日呼入量"},
23
+ {"lastyear":56,"addvalue":3,"year":70,"name":"昨日派单量"}
24
+ ],
25
+ "callSumByUnit":[
26
+ {"value":100,"addvalue":99,"name":"昨日呼入量"},
27
+ {"value":56,"addvalue":98,"name":"昨日派单量"}
28
+ ]
3
29
  }