manage-client 3.1.23 → 3.1.27

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 (85) hide show
  1. package/build/dev-server.js +181 -174
  2. package/package.json +1 -1
  3. package/src/App.vue +29 -28
  4. package/src/components/BasisEcharts/BarChart.vue +247 -247
  5. package/src/components/BasisEcharts/RingChart.vue +196 -196
  6. package/src/components/SellReport/BusinessClassify.vue +251 -251
  7. package/src/components/SellReport/ChargePrick.vue +245 -262
  8. package/src/components/SellReport/DepartmentPrick.vue +262 -262
  9. package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
  10. package/src/components/SellReport/ManageSellType.vue +284 -284
  11. package/src/components/SellReport/ManageUserCount.vue +347 -347
  12. package/src/components/SellReport/MarketMonth.vue +251 -251
  13. package/src/components/SellReport/SellingTable.vue +220 -220
  14. package/src/components/SellReport/UserClassify.vue +251 -251
  15. package/src/components/SellReport/UserSellingGas.vue +251 -251
  16. package/src/components/daping/CallCenter.vue +366 -366
  17. package/src/components/daping/DataManagement.vue +543 -703
  18. package/src/components/daping/GMap.vue +636 -636
  19. package/src/components/daping/ManageMain.vue +267 -255
  20. package/src/components/daping/NetWork.vue +238 -0
  21. package/src/components/daping/RedactDaPing.vue +454 -0
  22. package/src/components/daping/Ring.vue +212 -217
  23. package/src/components/daping/SafeCheck.vue +446 -0
  24. package/src/components/daping/SafeCheckRing.vue +149 -160
  25. package/src/components/daping/SafecheckBarChart.vue +48 -133
  26. package/src/components/daping/WuHaiMap.vue +418 -0
  27. package/src/components/qinhua/BarChart.vue +256 -256
  28. package/src/components/qinhua/Pie.vue +132 -116
  29. package/src/components/qinhua/SellEcharts.vue +115 -94
  30. package/src/components/qinhua/qinHuaMap.vue +414 -390
  31. package/src/components/sale/businessquery/CollectManage.vue +135 -135
  32. package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
  33. package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
  34. package/src/components/sale/businessquery/NewHandplanQuery.vue +995 -0
  35. package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
  36. package/src/components/sale/businessquery/ProceedsOper.vue +377 -377
  37. package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
  38. package/src/components/sale/config/exportConfig.js +2 -1
  39. package/src/components/sale/filesquery/UserQuery.vue +16 -0
  40. package/src/components/statistical/StatisticalAnalysis.vue +247 -249
  41. package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
  42. package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
  43. package/src/components/webmeter/DrillData/UserGasAll.vue +596 -596
  44. package/src/components/webmeter/DrillData/UserGasEcharts.vue +210 -210
  45. package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
  46. package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
  47. package/src/components/webmeter/instruction/NewQueryInstruct.vue +9 -12
  48. package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +170 -0
  49. package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +111 -0
  50. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +899 -899
  51. package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +209 -0
  52. package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +238 -0
  53. package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +266 -0
  54. package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +606 -606
  55. package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +252 -252
  56. package/src/components/webmeter/newwebmeter/UserGasList.vue +440 -440
  57. package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
  58. package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
  59. package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
  60. package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
  61. package/src/filiale/alashan/SellingTable.vue +231 -231
  62. package/src/filiale/alashan/reportManage.js +10 -10
  63. package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
  64. package/src/filiale/jingzhou/config/exportConfig.js +861 -861
  65. package/src/filiale/meihekou/UserGasEform.vue +267 -267
  66. package/src/filiale/meihekou/sale.js +26 -26
  67. package/src/filiale/rongcheng/exportConfig.js +257 -251
  68. package/src/filiale/rongchuang/SellingTable.vue +250 -250
  69. package/src/filiale/rongchuang/reportManage.js +11 -11
  70. package/src/filiale/shaoguan/config/exportConfig.js +433 -430
  71. package/src/filiale/tongchuan/ResSelectGroupNew.vue +176 -0
  72. package/src/filiale/tongchuan/ResSelectNew.vue +144 -0
  73. package/src/filiale/tongchuan/sale.js +2 -1
  74. package/src/main.js +66 -66
  75. package/src/newmanage.js +525 -504
  76. package/src/reportManage.js +458 -458
  77. package/src/saleManage.js +23 -0
  78. package/static/wuhai.json +1610 -1610
  79. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  80. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  81. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  82. package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
  83. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  84. package/.gradle/5.2.1/gc.properties +0 -0
  85. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
@@ -6,13 +6,7 @@
6
6
  <div class="form-horizontal select-overspread container-fluid auto" novalidate partial>
7
7
  <div class="row">
8
8
  <div class="col-sm-2">
9
- <label class="font_normal_body">组织机构</label>
10
- <res-select :initresid="$parent.$parent.org"
11
- style="width:60%"
12
- @res-select="$parent.$parent.getorg"
13
- restype='organization'>
14
- </res-select>
15
-
9
+ <res-select-group :show-component="['company']" :initres="$parent.$parent.org" @re-res="$parent.$parent.getorg" style="width:60%"></res-select-group>
16
10
  </div>
17
11
  <div class="col-sm-2 form-group ">
18
12
  <label class="font_normal_body">客户编号</label>
@@ -274,7 +268,11 @@
274
268
  userType:[],
275
269
  instructtype:[],
276
270
  instructstate:[],
277
- org:[this.$login.f.orgid],
271
+ org:{
272
+ org:[this.$login.f.orgid],
273
+ dep:[],
274
+ user:[],
275
+ },
278
276
  orgcondition:' and f_filialeid = ' + this.$login.f.orgid,
279
277
  show: false,
280
278
  condition:'',
@@ -293,19 +291,18 @@
293
291
  readyGen(this)
294
292
  this.$refs.paged.$refs.criteria.model.f_start_date = Util.toStandardDateString() + ' 00:00:00'
295
293
  this.$refs.paged.$refs.criteria.model.f_end_date = Util.toStandardDateString() + ' 23:59:59'
296
- this.$refs.paged.$refs.criteria.search()
294
+ //this.$refs.paged.$refs.criteria.search()
297
295
  },
298
296
  methods: {
299
297
  hidden(){
300
298
  this.criteriaShow = !this.criteriaShow
301
299
  },
302
300
  getorg(obj) {
303
- if(plugins.convertToIn(obj)!==null&&plugins.convertToIn(obj)!==''){
304
- this.orgcondition = " and f_filialeid in " + plugins.convertToIn(obj)
301
+ if(obj){
302
+ this.orgcondition = obj.replace('f_orgid', 'f_filialeid')
305
303
  }else{
306
304
  this.orgcondition = " and f_filialeid = " + this.$login.f.orgid
307
305
  }
308
-
309
306
  },
310
307
  initQueryParam () {
311
308
  let arr = []
@@ -0,0 +1,170 @@
1
+ <template lang="html">
2
+ <div>
3
+ <div id="mk" :style="{width:'100%',height:'100%'}"></div>
4
+ </div>
5
+ </template>
6
+
7
+ <script>
8
+ import * as Util from '../../../../Util'
9
+ import co from 'co'
10
+ import { HttpResetClass } from 'vue-client'
11
+
12
+ let getData = function * (self, condition) {
13
+ let load = new HttpResetClass()
14
+ load.load('POST', 'rs/sql/webmeter_getNewLoseGroupList',
15
+ {data:{condition: '1 = 1' + (self.orgid != null ? ' and f_orgid in( ' + self.orgid + ')' : ''),
16
+ groupname: 'max_days_type',
17
+ startDate: self.startdate + ' 00:00:00',
18
+ endDate: self.enddate + ' 23:59:59'}},
19
+ {resolveMsg: null, rejectMsg: null})
20
+ .then((res) => {
21
+ let name = []
22
+ let value = []
23
+ for (let i = 0; i < res.data.length; i++) {
24
+ name[i] = res.data[i].res
25
+ value[i] = res.data[i].value
26
+ }
27
+ console.log(name)
28
+ console.log(value)
29
+ self.set(name,value)
30
+ })
31
+ }
32
+ export default {
33
+ props: {
34
+ echarts:{
35
+ type:Boolean,
36
+ default:false
37
+ },
38
+ startdate: {
39
+ type: String,
40
+ default: Util.toStandardDateString()
41
+ },
42
+ enddate: {
43
+ type: String,
44
+ default: Util.toStandardDateString()
45
+ },
46
+ condition: {
47
+ type: String,
48
+ default: '1=1'
49
+ },
50
+ orgid: '',
51
+ groupname: {
52
+ type: String,
53
+ default: 'max_days_type'
54
+ }
55
+ },
56
+ data () {
57
+ return {
58
+ xc: ''
59
+ }
60
+ },
61
+ ready () {
62
+ this.searchdata()
63
+ },
64
+ methods: {
65
+ set (key, value) {
66
+ let Name = ''
67
+ if (this.groupname[0] === 'f_user_type')
68
+ {
69
+ Name = '用户类型'
70
+ } else if (this.groupname[0] === 'f_gasproperties') {
71
+ Name = '用气性质'
72
+ } else if (this.groupname[0] === 'f_orgname') {
73
+ Name = '分公司'
74
+ } else if (this.groupname[0] === 'max_days_type') {
75
+ Name = '最长失联天数'
76
+ } else if (this.groupname[0] === 'all_days_type') {
77
+ Name = '合计失联天数'
78
+ } else {
79
+ Name = '合计'
80
+ }
81
+ this.xc = this.$echarts.init(document.getElementById('mk'))
82
+ console.log('-----55555------', this.xc)
83
+ let option = {
84
+ title: {
85
+ text: '表具失联(' + Name + ')分析',
86
+ x: 'left',
87
+ textStyle: {
88
+ color: '#000',
89
+ fontSize: 20
90
+ }
91
+ },
92
+ tooltip: {
93
+ trigger: 'axis',
94
+ extraCssText: 'width: auto;height: auto;'
95
+ },
96
+ toolbox: {
97
+ show: true,
98
+ feature: {
99
+ dataView: {show: true, readOnly: false},
100
+ magicType: {show: true, type: ['line', 'bar']},
101
+ restore: {show: true},
102
+ saveAsImage: {show: true}
103
+ }
104
+ },
105
+ calculable: true,
106
+ xAxis: [
107
+ {
108
+ name: '分组项',
109
+ nameTextStyle: {
110
+ fontSize: 15
111
+ },
112
+ type: 'category',
113
+ data: key,
114
+ axisLabel: {
115
+ show: true,
116
+ textStyle: {
117
+ fontSize: 15
118
+ }
119
+ }
120
+ }
121
+ ],
122
+ yAxis: [
123
+ {
124
+ name: '用户数(户)',
125
+ nameTextStyle: {
126
+ fontSize: 15
127
+ },
128
+ type: 'value'
129
+ }
130
+ ],
131
+ series: [
132
+ {
133
+ name: '用户数',
134
+ type: 'bar',
135
+ data: value,
136
+ markPoint: {
137
+ data: [
138
+ {type: 'max', name: '最大值'},
139
+ {type: 'min', name: '最小值'}
140
+ ]
141
+ },
142
+ markLine: {
143
+ data: [
144
+ {type: 'average', name: '平均值'}
145
+ ]
146
+ }
147
+ }
148
+ ]
149
+ }
150
+ this.xc.setOption(option)
151
+ console.log("------------->>>>>>>>",document.getElementById('infoss'))
152
+ },
153
+ searchdata (condition) {
154
+ let getGen = getData(this, condition)
155
+ co(getGen)
156
+ }
157
+ },
158
+ watch: {
159
+ 'startdate' (val) {
160
+ this.searchdata()
161
+ },
162
+ 'enddate' (val) {
163
+ this.searchdata()
164
+ },
165
+ 'orgid' (val) {
166
+ this.searchdata()
167
+ }
168
+ }
169
+ }
170
+ </script>
@@ -0,0 +1,111 @@
1
+ <template>
2
+ <div :class="classname" :style="{width:width,height:height}">
3
+ <div class="form-horizontal select-overspread container-fluid auto">
4
+ <div class="row">
5
+ <div class="col-sm-3 form-group">
6
+ <label class="font_normal_body" for="startDate">开始日期:</label>
7
+ <datepicker id="startDate" placeholder="开始日期"
8
+ style="width:60%"
9
+ v-model="model.startDate"
10
+ :value.sync="model.startDate"
11
+ :disabled-days-of-Week="[]"
12
+ class="datepicker"
13
+ :format="'yyyy-MM-dd'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-3 form-group">
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期"
20
+ style="width:60%"
21
+ class="datepicker"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :disabled-days-of-Week="[]"
25
+ :format="'yyyy-MM-dd'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-3 form-group">
30
+ <label class="font_normal_body" for="endDate">使用公司:</label>
31
+ <res-select restype='organization'
32
+ @res-select="getRes"
33
+ :initresid="model.id">
34
+ </res-select>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ <div style="height: 97%;">
39
+ <div class="flex-row" style="flex: 1;border-bottom: 1px dashed #888;height: 48%">
40
+ <div style="flex: 1;border-right: 1px dashed #888;width: 50%">
41
+ <new-gas-echarts :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid.toString()'
42
+ v-ref:pay></new-gas-echarts>
43
+ </div>
44
+ <div style="flex: 1;width: 50%">
45
+ <new-handplan-echarts :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid.toString()'
46
+ v-ref:pay></new-handplan-echarts>
47
+ </div>
48
+ </div>
49
+ <div class="flex-row" style="flex: 1;height: 48%">
50
+
51
+ <div class="flex-row" style="flex: 1;width: 50%;border-right: 1px dashed #888;">
52
+ <div style="flex: 1;">
53
+ <new-instruct-echarts :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid.toString()' v-ref:pay ></new-instruct-echarts>
54
+ </div>
55
+ <!-- <div style="flex: 1;">-->
56
+ <!-- <usertype-pie :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid[0]' v-ref:pay ></usertype-pie>-->
57
+ <!-- </div>-->
58
+ </div>
59
+
60
+ <div style="flex: 1;width: 50%">
61
+ <new-contact-echarts :startdate='model.startDate' :enddate='model.endDate' :orgid='model.orgid.toString()' v-ref:pay ></new-contact-echarts>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ </div>
66
+
67
+ </template>
68
+
69
+ <script>
70
+ import * as Util from '../../../../Util'
71
+
72
+ export default {
73
+ title: '综合分析',
74
+ props: {
75
+ classname: {
76
+ type: String,
77
+ default: 'basic-main'
78
+ },
79
+ width: {
80
+ type: String,
81
+ default: '98.5%'
82
+ },
83
+ height: {
84
+ type: String,
85
+ default: '98%'
86
+ }
87
+ },
88
+ data() {
89
+ return {
90
+ jurisdiction: this.$login.r,
91
+ model: {
92
+ id: [this.$login.f.orgid],
93
+ orgid: [this.$login.f.orgid],
94
+ startDate: Util.toStandardDateString(),
95
+ endDate: Util.toStandardDateString()
96
+ }
97
+ }
98
+ },
99
+ methods: {
100
+ searchdata() {
101
+ this.$refs.pay.searchdata()
102
+ },
103
+ getRes(obj) {
104
+ this.model.orgid = obj
105
+ },
106
+ }
107
+ }
108
+ </script>
109
+
110
+ <style lang="css">
111
+ </style>