manage-client 3.2.208 → 3.2.209

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 (36) hide show
  1. package/build/dev-server.js +4 -1
  2. package/package.json +1 -1
  3. package/src/components/SellReport/AnLiReport.vue +1 -1
  4. package/src/components/SellReport/ManageBusSummaryNew.vue +181 -0
  5. package/src/components/SellReport/ManageSellTypeNew.vue +34 -19
  6. package/src/components/SellReport/jingwei/ManageHandSellMoneyNew.vue +166 -0
  7. package/src/components/sale/businessquery/InspectListUser.vue +3 -2
  8. package/src/filiale/WEINAN/CancellationQuery.vue +486 -486
  9. package/src/filiale/WEINAN/ChargeQuery.vue +800 -800
  10. package/src/filiale/WEINAN/EnableQuery.vue +456 -456
  11. package/src/filiale/WEINAN/config/exportConfig.js +824 -824
  12. package/src/filiale/shanxian/AreaGeneralQuery.vue +633 -0
  13. package/src/filiale/shanxian/FmyGasDeviceQuery.vue +855 -0
  14. package/src/filiale/shanxian/GasDeviceQuery.vue +964 -0
  15. package/src/filiale/shanxian/InspectListGas.vue +22 -1
  16. package/src/filiale/shanxian/Paymentpie.vue +205 -0
  17. package/src/filiale/shanxian/RecordInfoQuery.vue +1 -1
  18. package/src/filiale/shanxian/SiteManager.vue +3 -1
  19. package/src/filiale/shanxian/config/exportConfig.js +2 -2
  20. package/src/filiale/shanxian/reportManage.js +4 -1
  21. package/src/filiale/shanxian/sale.js +4 -2
  22. package/src/filiale/wuhai/ReportList.vue +10 -1
  23. package/src/main.js +66 -66
  24. package/src/reportManage.js +10 -2
  25. package/yarn-error.log +7659 -0
  26. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  27. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  28. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  29. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  30. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  31. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  32. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  33. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  34. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  35. package/.gradle/7.1/gc.properties +0 -0
  36. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
@@ -16,7 +16,7 @@ var qtx= 'http://36.103.222.144:6300/'
16
16
  // var bendi = 'http://220.194.141.253:8600/'
17
17
  // var bendi = 'http://203.57.101.233:9001'
18
18
  // var bendi = 'http://172.168.1.11:9001/'
19
- var bendi = 'http://172.168.1.11:8400/#'
19
+ var bendi = 'http://121.36.106.17:8400/'
20
20
  // var bendi = 'http://121.36.106.17:8400/'
21
21
  // var fuwu = 'http://203.57.101.233:9001'
22
22
  var system = 'http://192.168.50.4:8400'
@@ -24,6 +24,9 @@ var system = 'http://192.168.50.4:8400'
24
24
  // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
25
25
  // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
26
26
  var proxyTable = {
27
+ '/report':{
28
+ target: 'http://aote-office.f3322.net:31039'
29
+ },
27
30
  '/rs/logic/exportfile': {
28
31
  target: bendi
29
32
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.208",
3
+ "version": "3.2.209",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -55,7 +55,7 @@ export default {
55
55
  },
56
56
  isShow: false,
57
57
  url: '',
58
- urlPrefix: 'http://192.168.50.77:31039/report/jmreport/shareView/761723305776898048',
58
+ urlPrefix: '/report/jmreport/shareView/761723305776898048',
59
59
  queryData: {
60
60
  f_user_state: []
61
61
  }
@@ -0,0 +1,181 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <div class="form-group" >
4
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
5
+ <div class="row">
6
+ <div class="col-sm-3 form-group" >
7
+ <label class="font_normal_body" for="startDate">开始日期:</label>
8
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
9
+ v-model="model.startDate"
10
+ :value.sync="model.startDate"
11
+ :disabled-days-of-Week="[]"
12
+ :format="'yyyy-MM-dd HH:mm:ss'"
13
+ :show-reset-button="reset">
14
+ </datepicker>
15
+ </div>
16
+ <div class="col-sm-3 form-group" >
17
+ <label class="font_normal_body" for="endDate">结束日期:</label>
18
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
19
+ v-model="model.endDate"
20
+ :value.sync="model.endDate"
21
+ :disabled-days-of-Week="[]"
22
+ :format="'yyyy-MM-dd HH:mm:ss'"
23
+ :show-reset-button="reset">
24
+ </datepicker>
25
+ </div>
26
+ <div class="col-sm-3 form-group" >
27
+ <label class="font_normal_body" for="org">公&emsp;&emsp;司:</label>
28
+ <right-tree id="org" @re-res="getRes"></right-tree>
29
+ </div>
30
+ <div class="col-sm-3 form-group">
31
+ <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
32
+ <res-select id="dep" restype='department'
33
+ @res-select="getdep"
34
+ :parentresid="depresid"
35
+ :initresid='queryData.depid' >
36
+ </res-select>
37
+
38
+ </div>
39
+ <div class="col-sm-3 form-group">
40
+ <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
41
+ <res-select id="oper" restype='user'
42
+ is-mul="false"
43
+ @res-select="getuser"
44
+ :parentresid="userresid"
45
+ :initresid='queryData.operatorid'>
46
+ </res-select>
47
+ </div>
48
+ <div class="col-sm-3 form-group">
49
+ <label class="font_normal_body">用户类型</label>
50
+ <v-select :value.sync="queryData.f_user_type"
51
+ v-model="queryData.f_user_type"
52
+ :options='user_type' placeholder='请选择'
53
+ close-on-select :value-single="true"></v-select>
54
+ </div>
55
+ <div class="col-sm-2 form-group" style="float:right;">
56
+ <button class="button_search" @click="searchData()">查询</button>
57
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':criteriaShow,
58
+ 'button_shrink_bottom':!criteriaShow}" @click="hidden()"></div>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ <div style="width:100%;height: 100%;margin-top: 2%" class="div-iframe">
63
+ <iframe class="iframe_style" style="width:100%;height:100%" :src="url" v-if="isShow"></iframe>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </template>
68
+
69
+ <script>
70
+ export default {
71
+ title: '新收费汇总报表',
72
+ data () {
73
+ return {
74
+ orgCondtionStr: '1=1',
75
+ model: {
76
+ startDate: '',
77
+ endDate: '',
78
+ f_orgid: []
79
+ },
80
+ isShow: false,
81
+ url: '',
82
+ urlPrefix: '/report/jmreport/shareView/783966412390916096',
83
+ queryData: {
84
+ f_user_type: '',
85
+ f_depid: [],
86
+ f_operatorid: []
87
+ },
88
+ orgname: '',
89
+ depresid: [],
90
+ userresid: [],
91
+ depname: '',
92
+ operatorname: '',
93
+ operatorid: [],
94
+ depid: [],
95
+ criteriaShow: false
96
+ }
97
+ },
98
+ ready () {
99
+ this.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
100
+ this.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
101
+ this.searchData()
102
+ },
103
+ methods: {
104
+ searchData () {
105
+ let queryData = ''
106
+ queryData = this.orgCondtionStr
107
+ let f_orgid = ''
108
+ f_orgid = this.orgCondtionStr
109
+ if (this.model.f_orgid.length > 0) {
110
+ f_orgid = f_orgid + ' and f_orgid in (' + "'" + this.model.f_orgid + "'" + ')'
111
+ }
112
+ console.log(f_orgid)
113
+ for (let key in this.queryData) {
114
+ if (this.queryData[key] !== null && this.queryData[key] !== '' && this.queryData[key] !== undefined && this.queryData[key].length > 0) {
115
+ if (Array.isArray(this.queryData[key])) {
116
+ let stringValue = ''
117
+ for (var i = 0; i < this.queryData[key].length; i++) {
118
+ if (i === this.queryData[key].length - 1) {
119
+ stringValue = stringValue + "'" + this.queryData[key][i] + "'"
120
+ } else {
121
+ stringValue = stringValue + "'" + this.queryData[key][i] + "',"
122
+ }
123
+ }
124
+ queryData = queryData + ' and ' + key + ' in (' + stringValue + ')'
125
+ } else {
126
+ queryData = queryData + ' and ' + key + ' = ' + "'" + this.queryData[key] + "'"
127
+ }
128
+ }
129
+ }
130
+ console.log(queryData)
131
+ // 重置url
132
+ this.url = ''
133
+ // encodeURIComponent是将该参数中的特殊符号进行编码,后端会进行解码
134
+ this.url = this.urlPrefix + '?condition=' + encodeURIComponent(queryData) +
135
+ '&startDate=' + encodeURIComponent(this.model.startDate) +
136
+ '&f_orgid=' + encodeURIComponent(f_orgid) +
137
+ '&endDate=' + encodeURIComponent(this.model.endDate)
138
+ console.log('报表===' + queryData)
139
+ console.log('报表===>' + this.url)
140
+ this.isShow = true
141
+ },
142
+ load () {
143
+ this.isShow = true
144
+ },
145
+ getRes (obj) {
146
+ this.orgname = obj.res[0]
147
+ this.depresid = obj.resids
148
+ this.userresid = obj.resids
149
+ this.model.f_orgid = obj.resids
150
+ },
151
+ getdep (obj, val) {
152
+ this.depname = val[0]
153
+ this.userresid = obj
154
+ this.queryData.f_depid = obj
155
+ },
156
+ getuser (obj, val) {
157
+ this.operatorname = val[0]
158
+ this.queryData.f_operatorid = obj
159
+ },
160
+ hidden () {
161
+ this.criteriaShow = !this.criteriaShow
162
+ }
163
+ },
164
+ computed: {
165
+ user_type () {
166
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
167
+ }
168
+ }
169
+ }
170
+ </script>
171
+ <style scoped>
172
+ .noborder{
173
+ border: none;
174
+ }
175
+ .span{
176
+ height: 0;
177
+ }
178
+ .iframe_style{
179
+ border: medium none;
180
+ }
181
+ </style>
@@ -59,8 +59,10 @@
59
59
  </div>
60
60
  </div>
61
61
  </div>
62
- <div style="width:100%;height: 100%;margin-top: 2%" class="div-iframe">
63
- <iframe class="ifarme_style" style="width:100%;height:100%" :src="url" v-if="isShow"></iframe>
62
+ <div style="width:100%;height: 100%;margin-top: 2%;text-align: center" class="div-iframe">
63
+ <div style="width: 100%;height: 100%;display: inline-block" >
64
+ <iframe id="iframe" class="iframe_style" style="width:100%;height:100%" :src="url" v-show="isShow"></iframe>
65
+ </div>
64
66
  </div>
65
67
  </div>
66
68
  </div>
@@ -68,23 +70,22 @@
68
70
 
69
71
  <script>
70
72
  export default {
71
- title: '营业厅分项汇总表',
73
+ title: '新营业厅分项汇总表',
72
74
  data () {
73
75
  return {
74
- f_state: [ {label: '全部', value: ''}, {label: '正常', value: '正常'}, {label: '销户', value: '销户'}, {label: '预备', value: '预备'} ],
75
- orgCondtionStr: '1=1',
76
+ orgCondtionStr: 'and 1=1',
76
77
  model: {
77
78
  startDate: '',
78
79
  endDate: ''
79
80
  },
80
81
  isShow: false,
81
82
  url: '',
82
- urlPrefix: 'http://192.168.50.77:31039/report/jmreport/shareView/779255398271029248',
83
+ urlPrefix: '/report/jmreport/shareView/779255398271029248',
83
84
  queryData: {
84
85
  f_state: ['有效'],
85
- f_orgid: this.$login.f.orgid,
86
- f_depid: this.$login.f.depids,
87
- f_operatorid: this.$login.f.id
86
+ f_orgid: [],
87
+ f_depid: [],
88
+ f_operatorid: []
88
89
  },
89
90
  orgname: '',
90
91
  depresid: [],
@@ -101,12 +102,31 @@ export default {
101
102
  this.searchData()
102
103
  },
103
104
  methods: {
105
+ // iframe () {
106
+ // let iframe = document.getElementById('iframe')
107
+ // if (iframe.attachEvent) {
108
+ // iframe.attachEvent('onload', function () {
109
+ // console.log('加载完成-----------')
110
+ // })
111
+ // } else {
112
+ // iframe.onload = function () {
113
+ // console.log('加载完成===========')
114
+ // // let iframeDoc = iframe.contentDocument
115
+ // // iframeDoc.body.style.backgroundColor = 'blue'
116
+ // // console.log(iframeDoc.body.style.backgroundColor + '------------------------------')
117
+ // var y = (iframe.contentWindow || iframe.contentDocument)
118
+ // if (y.document)y = y.document
119
+ // console.log(y.body.style.backgroundColor)
120
+ // }
121
+ // }
122
+ // },
104
123
  searchData () {
105
- let queryData = this.orgCondtionStr
124
+ let queryData = ''
125
+ queryData = this.orgCondtionStr
106
126
  for (let key in this.queryData) {
107
127
  if (this.queryData[key] !== null && this.queryData[key] !== '' && this.queryData[key] !== undefined && this.queryData[key].length > 0) {
108
128
  if (Array.isArray(this.queryData[key])) {
109
- var stringValue = ''
129
+ let stringValue = ''
110
130
  for (var i = 0; i < this.queryData[key].length; i++) {
111
131
  if (i === this.queryData[key].length - 1) {
112
132
  stringValue = stringValue + "'" + this.queryData[key][i] + "'"
@@ -116,7 +136,7 @@ export default {
116
136
  }
117
137
  queryData = queryData + ' and ' + key + ' in (' + stringValue + ')'
118
138
  } else {
119
- queryData = queryData + ' and ' + key + ' = ' + this.queryData[key]
139
+ queryData = queryData + ' and ' + key + ' = ' + "'" + this.queryData[key] + "'"
120
140
  }
121
141
  }
122
142
  }
@@ -129,6 +149,7 @@ export default {
129
149
  console.log('报表===' + queryData)
130
150
  console.log('报表===>' + this.url)
131
151
  this.isShow = true
152
+ // this.iframe()
132
153
  },
133
154
  load () {
134
155
  this.isShow = true
@@ -157,13 +178,7 @@ export default {
157
178
  }
158
179
  </script>
159
180
  <style scoped>
160
- .noborder{
161
- border: none;
162
- }
163
- .span{
164
- height: 0;
165
- }
166
- .ifarme_style{
181
+ .iframe_style{
167
182
  border: medium none;
168
183
  }
169
184
  </style>
@@ -0,0 +1,166 @@
1
+ <template>
2
+ <div class="basic-main" style="height: 100%">
3
+ <div class="form-group" >
4
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
5
+ <div class="row">
6
+ <div class="col-sm-3 form-group" >
7
+ <label class="font_normal_body" for="startDate">开始日期:</label>
8
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
9
+ v-model="model.startDate"
10
+ :value.sync="model.startDate"
11
+ :disabled-days-of-Week="[]"
12
+ :format="'yyyy-MM-dd HH:mm:ss'"
13
+ :show-reset-button="reset">
14
+ </datepicker>
15
+ </div>
16
+ <div class="col-sm-3 form-group" >
17
+ <label class="font_normal_body" for="endDate">结束日期:</label>
18
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
19
+ v-model="model.endDate"
20
+ :value.sync="model.endDate"
21
+ :disabled-days-of-Week="[]"
22
+ :format="'yyyy-MM-dd HH:mm:ss'"
23
+ :show-reset-button="reset">
24
+ </datepicker>
25
+ </div>
26
+ <div class="col-sm-3 form-group" >
27
+ <label class="font_normal_body" for="org">公&emsp;&emsp;司:</label>
28
+ <right-tree id="org" @re-res="getRes"></right-tree>
29
+ </div>
30
+ <div class="col-sm-3 form-group">
31
+ <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
32
+ <res-select id="dep" restype='department'
33
+ @res-select="getdep"
34
+ :parentresid="depresid"
35
+ :initresid='queryData.depid' >
36
+ </res-select>
37
+
38
+ </div>
39
+ <div class="col-sm-3 form-group">
40
+ <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
41
+ <res-select id="oper" restype='user'
42
+ is-mul="false"
43
+ @res-select="getuser"
44
+ :parentresid="userresid"
45
+ :initresid='queryData.operatorid'>
46
+ </res-select>
47
+ </div>
48
+ <div class="col-sm-2 form-group" style="float:right;">
49
+ <button class="button_search" @click="searchData()">查询</button>
50
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':criteriaShow,
51
+ 'button_shrink_bottom':!criteriaShow}" @click="hidden()"></div>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ <div style="width:100%;height: 100%;margin-top: 2%" class="div-iframe">
56
+ <iframe class="iframe_style" style="width:100%;height:100% ;border: medium none;" :src="url" v-if="isShow"></iframe>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </template>
61
+
62
+ <script>
63
+ export default {
64
+ title: '新营业厅售气情况统计表',
65
+ data () {
66
+ return {
67
+ orgCondtionStr: 'and 1=1',
68
+ model: {
69
+ startDate: '',
70
+ endDate: ''
71
+ },
72
+ isShow: false,
73
+ url: '',
74
+ urlPrefix: '/report/jmreport/shareView/786012859030429696',
75
+ queryData: {
76
+ f_orgid: [],
77
+ f_depid: [],
78
+ f_operatorid: []
79
+ },
80
+ orgname: '',
81
+ depresid: [],
82
+ userresid: [],
83
+ depname: '',
84
+ operatorname: '',
85
+ operatorid: [],
86
+ depid: [],
87
+ criteriaShow: false
88
+ }
89
+ },
90
+ ready () {
91
+ this.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
92
+ this.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
93
+ this.searchData()
94
+ },
95
+ methods: {
96
+ searchData () {
97
+ let queryData = ''
98
+ queryData = this.orgCondtionStr
99
+ for (let key in this.queryData) {
100
+ if (this.queryData[key] !== null && this.queryData[key] !== '' && this.queryData[key] !== undefined && this.queryData[key].length > 0) {
101
+ if (Array.isArray(this.queryData[key])) {
102
+ let stringValue = ''
103
+ for (var i = 0; i < this.queryData[key].length; i++) {
104
+ if (i === this.queryData[key].length - 1) {
105
+ stringValue = stringValue + "'" + this.queryData[key][i] + "'"
106
+ } else {
107
+ stringValue = stringValue + "'" + this.queryData[key][i] + "',"
108
+ }
109
+ }
110
+ queryData = queryData + ' and ' + key + ' in (' + stringValue + ')'
111
+ } else {
112
+ queryData = queryData + ' and ' + key + ' = ' + "'" + this.queryData[key] + "'"
113
+ }
114
+ }
115
+ }
116
+ console.log(queryData)
117
+ // 重置url
118
+ this.url = ''
119
+ // encodeURIComponent是将该参数中的特殊符号进行编码,后端会进行解码
120
+ this.url = this.urlPrefix + '?f_orgid=' + encodeURIComponent(queryData) +
121
+ '&startDate=' + encodeURIComponent(this.model.startDate) +
122
+ '&endDate=' + encodeURIComponent(this.model.endDate)
123
+ console.log('报表===' + queryData)
124
+ console.log('报表===>' + this.url)
125
+ this.isShow = true
126
+ },
127
+ load () {
128
+ this.isShow = true
129
+ },
130
+ getRes (obj) {
131
+ this.orgname = obj.res[0]
132
+ this.depresid = obj.resids
133
+ this.userresid = obj.resids
134
+ this.model.f_orgid = obj.resids
135
+ },
136
+ getdep (obj, val) {
137
+ this.depname = val[0]
138
+ this.userresid = obj
139
+ this.queryData.f_depid = obj
140
+ },
141
+ getuser (obj, val) {
142
+ this.operatorname = val[0]
143
+ this.queryData.f_operatorid = obj
144
+ },
145
+ hidden () {
146
+ this.criteriaShow = !this.criteriaShow
147
+ }
148
+ },
149
+ computed: {
150
+ user_type () {
151
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')]
152
+ }
153
+ }
154
+ }
155
+ </script>
156
+ <style scoped>
157
+ .noborder{
158
+ border: none;
159
+ }
160
+ .span{
161
+ height: 0;
162
+ }
163
+ .iframe_style{
164
+ border: medium none;
165
+ }
166
+ </style>
@@ -83,7 +83,7 @@
83
83
  </datepicker>
84
84
  </div>
85
85
  <div class="col-sm-2 ">
86
- <label for="f_meter_classify"class="font_normal_body">气表类型</label>
86
+ <label for="f_meter_classify"class="font_normal_body" title="参数名称:气表类型">气表类型</label>
87
87
  <v-select id="f_meter_classify"
88
88
  v-model="$parent.$parent.meter_classify"
89
89
  placeholder='气表类型'
@@ -420,7 +420,8 @@
420
420
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表状态')]
421
421
  },
422
422
  f_meter_classify(){
423
- return [{label: '机表', value: '机表'},{label: '卡表', value: '卡表'},{label: '物联网表', value: '物联网表'}]
423
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('气表类型')]
424
+ // return [{label: '机表', value: '机表'},{label: '卡表', value: '卡表'},{label: '物联网表', value: '物联网表'}]
424
425
  // return [{label: '卡表', value: '卡表'}]
425
426
  },
426
427