manage-client 3.2.87 → 3.2.88-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 (58) 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/buildOutputCleanup/outputFiles.bin +0 -0
  5. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  6. package/build/tmp/jar/MANIFEST.MF +2 -0
  7. package/package.json +1 -1
  8. package/src/components/SellReport/NonResidentGas.vue +216 -216
  9. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +507 -507
  10. package/src/components/SellReport/ReportItems.vue +56 -49
  11. package/src/components/sale/businessquery/ArrearsQuery.vue +934 -924
  12. package/src/components/sale/businessquery/BusinesQuery.vue +32 -6
  13. package/src/components/sale/businessquery/ChangeUserQuery.vue +375 -350
  14. package/src/components/sale/businessquery/ChargeQuery.vue +1277 -1277
  15. package/src/components/sale/businessquery/GasLossQuery.vue +30 -4
  16. package/src/components/sale/businessquery/GroupChargeQuery.vue +5 -3
  17. package/src/components/sale/businessquery/InspectListGas.vue +552 -535
  18. package/src/components/sale/businessquery/InspectListUser.vue +449 -419
  19. package/src/components/sale/businessquery/PriceChange.vue +44 -8
  20. package/src/components/sale/businessquery/PrickBillQuery.vue +31 -5
  21. package/src/components/sale/businessquery/SendbookQuery.vue +33 -7
  22. package/src/components/sale/businessquery/SuspiciousUserQuery.vue +36 -8
  23. package/src/components/sale/businessquery/gasPriceQuery.vue +39 -8
  24. package/src/components/sale/businessquery/pricechangeRecordQuery.vue +37 -8
  25. package/src/components/sale/businessquery/sellingChargePrice.vue +1 -1
  26. package/src/components/sale/businessquery/yucunDetails.vue +30 -4
  27. package/src/components/sale/config/exportConfig.js +944 -944
  28. package/src/components/sale/filesquery/DeviceQuery.vue +50 -9
  29. package/src/components/sale/filesquery/FireQuery.vue +42 -7
  30. package/src/components/sale/filesquery/MeterQuery.vue +35 -8
  31. package/src/components/sale/filesquery/PriceChangeQuery.vue +34 -9
  32. package/src/components/sale/filesquery/RecordInfoQuery.vue +48 -31
  33. package/src/components/sale/filesquery/UserDeviceQuery.vue +35 -6
  34. package/src/components/sale/filesquery/UserQuery.vue +6 -2
  35. package/src/components/webmeter/gasStatistics/GasStatistics.vue +469 -467
  36. package/src/components/webmeter/instruction/NewQueryInstruct.vue +446 -446
  37. package/src/filiale/liaoyuan/MeterQuery.vue +905 -905
  38. package/src/filiale/liaoyuan/RecordInfoQuery.vue +1163 -1163
  39. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  40. package/src/filiale/macheng/FxGasTable.vue +236 -236
  41. package/src/filiale/macheng/ManageDayGas.vue +248 -248
  42. package/src/filiale/macheng/ManageHandSellMoney.vue +249 -249
  43. package/src/filiale/macheng/ManageMonthGas.vue +250 -250
  44. package/src/filiale/macheng/ManageOtherCharge.vue +251 -251
  45. package/src/filiale/macheng/ManageSellType.vue +287 -287
  46. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  47. package/src/filiale/macheng/SellingTable.vue +219 -219
  48. package/src/filiale/macheng/UserBalanceReport.vue +178 -178
  49. package/src/filiale/macheng/config/exportConfig.js +67 -67
  50. package/src/filiale/macheng/reportManage.js +19 -19
  51. package/src/filiale/macheng/sale.js +11 -11
  52. package/src/filiale/meihekou/HandplanQuery.vue +1234 -1229
  53. package/src/filiale/qianneng/OtherChargeQuery.vue +646 -646
  54. package/src/filiale/qianneng/SellDepReport.vue +269 -0
  55. package/src/filiale/qianneng/reportManage.js +10 -0
  56. package/src/filiale/qianneng/sale.js +12 -12
  57. package/src/filiale/tongchuan/ChargeQuery.vue +1 -1
  58. package/src/main.js +65 -66
@@ -0,0 +1,269 @@
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
+ <p class="bg-info text-center" style="padding: 8px;">营业厅日结账</p>
6
+ <div class="form-group" v-if="!$parent.$parent.data.f_files_path"></div>
7
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
8
+ <div class="row">
9
+ <div class="col-sm-2" >
10
+ <label class="font_normal_body" for="startDate">开始日期:</label>
11
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
12
+ v-model="model.startDate"
13
+ :value.sync="model.startDate"
14
+ :disabled-days-of-Week="[]"
15
+ :format="'yyyy-MM-dd 00:00:00'"
16
+ :show-reset-button="reset"
17
+ :disabled="$parent.$parent.noshow">
18
+ </datepicker>
19
+ </div>
20
+ <div class="col-sm-2" >
21
+ <label class="font_normal_body" for="endDate">结束日期:</label>
22
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
23
+ v-model="model.endDate"
24
+ :value.sync="model.endDate"
25
+ :disabled-days-of-Week="[]"
26
+ :format="'yyyy-MM-dd 23:59:59'"
27
+ :show-reset-button="reset">
28
+ </datepicker>
29
+ </div>
30
+ <!--<div class="col-sm-2">-->
31
+ <!--<label class="font_normal_body" title="参数:付款方式查询">付款方式:</label>-->
32
+ <!--<v-select :value.sync="model.f_payment" multiple-->
33
+ <!--v-model="model.f_payment"-->
34
+ <!--:options='$parent.$parent.payment' placeholder='请选择'-->
35
+ <!--condition="f_payment in {}"-->
36
+ <!--close-on-select></v-select>-->
37
+ <!--</div>-->
38
+ <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>
39
+ </div>
40
+ <div class="span" style = "float:right;">
41
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
42
+ <tie-an-account v-if="this.$login.r.includes('报表扎帐')"
43
+ :org="$parent.$parent.org"
44
+ @update="$parent.$parent.update"
45
+ :model="$parent.$parent.data"
46
+ :fee-str="$parent.model.data"
47
+ :end-date="model.endDate" ></tie-an-account>
48
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
49
+ <report-excel id='gasprice'></report-excel>
50
+ </div>
51
+ </div>
52
+ </criteria>
53
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
54
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
55
+ <thead>
56
+ <tr>
57
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
58
+ <h3 style="text-align: center">营业厅日结账</h3>
59
+ </th>
60
+ </tr>
61
+ <tr>
62
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
63
+ 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
64
+ 打印时间:{{$parent.printTime}}
65
+ </th>
66
+ </tr>
67
+ <tr>
68
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
69
+ <div>
70
+ <span v-show="$parent.orgname[0]">公司:{{$parent.orgname}}</span>
71
+ <span v-show="$parent.depname[0]"> 部门:{{$parent.depname}}</span>
72
+ <span v-show="$parent.operatorname[0]">人员:{{$parent.operatorname}}</span>
73
+ </div>
74
+ </th>
75
+ </tr>
76
+ </thead>
77
+ <tr>
78
+ <td :colspan='$parent.tablen' class="noborder">
79
+ {{{ $parent.datas }}}
80
+ </td>
81
+ </tr>
82
+ <tfoot>
83
+ <tr style="text-align: left">
84
+ <th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
85
+ <th :colspan='Math.round($parent.tablen/3)'>收款审核:</th>
86
+ <th :colspan='Math.round($parent.tablen/3)'>收款员:</th>
87
+ </tr>
88
+ </tfoot>
89
+ </table>
90
+ {{{ $parent.reportStr}}}
91
+ </div>
92
+ </criteria-paged>
93
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
94
+ <header slot="modal-header" class="modal-header">
95
+ <h4 class="modal-title">输入文件名称</h4>
96
+ </header>
97
+ <article slot="modal-body" class="modal-body">
98
+ <div class="form-group">
99
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
100
+ </div>
101
+ </article>
102
+ <footer slot="modal-footer" class="modal-footer">
103
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
104
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
105
+ </footer>
106
+ </modal>
107
+ </div>
108
+ </template>
109
+
110
+ <script>
111
+ import { DataModel } from 'vue-client'
112
+ import co from 'co'
113
+ let saveFile = function * (self) {
114
+ // 线验证文件是否重名
115
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
116
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
117
+ {resolveMsg: null, rejectMsg: null})
118
+ if (count.data.length > 0) {
119
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
120
+ return
121
+ }
122
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
123
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
124
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
125
+ f_outlets: this.$login.f.depname})
126
+ if (saveBack.data.status === 'succeed') {
127
+ self.show = false
128
+ self.filename = ''
129
+ // 后台保存完成,通知刷新
130
+ self.$dispatch('save-success', self.filename)
131
+ }
132
+ }
133
+ export default {
134
+ title: '营业厅日结账',
135
+ props: ['data'],
136
+ data () {
137
+ return {
138
+ printTime: this.$login.toStandardTimeString(),
139
+ depresid: [],
140
+ userresid: [],
141
+ f_orgid: this.$login.f.orgid,
142
+ f_depid: this.$login.f.depids,
143
+ f_operatorid: this.$login.f.id,
144
+ operatorid: [],
145
+ depid: [],
146
+ org: {
147
+ f_orgname:'',
148
+ f_depname: '',
149
+ f_operator: ''
150
+ },
151
+ tablen:0,
152
+ noshow: false,
153
+ datas: '',
154
+ orgname: '',
155
+ depname: '',
156
+ operatorname: '',
157
+ orgCondtionStr: '1=1',
158
+ model: new DataModel('rs/report/sellDepReport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
159
+ f_orgid: 'this.model.f_orgid'}),
160
+ reportStr: null,
161
+ resshow:['company','department','operator'],
162
+ show: false,
163
+ spans: 0,
164
+ initres: {
165
+ org: [this.$login.f.orgid],
166
+ dep: [],
167
+ user: []
168
+ }
169
+ }
170
+ },
171
+ ready () {
172
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString()
173
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardTimeString()
174
+ console.log(this.$login.f)
175
+ },
176
+ methods: {
177
+ searchData () {
178
+ this.$refs.paged.$refs.criteria.search()
179
+ },
180
+ selfSearch (args) {
181
+ this.printTime = this.$login.toStandardTimeString()
182
+ let orgcondition = '1=1'
183
+ let orgstr = this.orgCondtionStr
184
+ this.org.f_depname = this.depname
185
+ this.org.f_operator = this.operatorname
186
+ orgcondition = orgcondition + orgstr
187
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + ' and ' + this.$refs.paged.$refs.criteria.condition
188
+ this.$refs.paged.search(args)
189
+ },
190
+ update (val) {
191
+ if (val !== ''){
192
+ this.$refs.paged.$refs.criteria.model.startDate = val
193
+ this.noshow = true
194
+ } else {
195
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
196
+ this.noshow = false
197
+ }
198
+ },
199
+ getRes (condition, obj) {
200
+ this.orgCondtionStr = condition
201
+ this.org.f_orgname = obj.orgnames[0]
202
+ this.orgname = obj.orgnames[0]
203
+ this.depname = obj.depnames[0]
204
+ this.operatorname = obj.operatornames[0]
205
+ },
206
+ getdep (obj, val) {
207
+ this.org.f_depname = this.depname = val[0]
208
+ this.userresid = obj
209
+ this.f_depid = obj
210
+ },
211
+ getuser ( obj, val) {
212
+ this.org.f_operator = this.operatorname = val[0]
213
+ this.f_operatorid = obj
214
+ },
215
+ // 根据文件路径获取储存的报表内容
216
+ getFileContent (path) {
217
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
218
+ this.reportStr = res.data.filecontent
219
+ this.model.state = '正确'
220
+ })
221
+ },
222
+ confirm () {
223
+ if (!this.filename || this.filename === '') {
224
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
225
+ }
226
+ let saveGen = saveFile(this)
227
+ co(saveGen)
228
+ },
229
+ close () {
230
+ this.show = false
231
+ },
232
+ // 将报表保存成文件
233
+ confirmReport () {
234
+ this.show = true
235
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
236
+ }
237
+ },
238
+ watch: {
239
+ 'data' (val) {
240
+ if (val.f_files_path) {
241
+ this.getFileContent(val.f_files_path)
242
+ } else {
243
+ this.reportStr = null
244
+ }
245
+ },
246
+ 'model.data' (val) {
247
+ this.datas = val.replace(/#\(|\)|\^(.+?)\)/g, '').toString().substring(26, val.length - 8)
248
+ let len=0
249
+ let a=val.split('</tr>')
250
+ for(let i=0;i<a.length;i++){
251
+ if(a[i].split('</td>').length-1>len){
252
+ len=a[i].split('</td>').length-1
253
+ }
254
+ }
255
+ this.tablen=len
256
+ }
257
+ },
258
+ computed: {
259
+ payment() {
260
+ return [...this.$appdata.getParam('付款方式查询')]
261
+ }
262
+ }
263
+ }
264
+ </script>
265
+ <style scoped>
266
+ .noborder{
267
+ border: none;
268
+ }
269
+ </style>
@@ -0,0 +1,10 @@
1
+ // 分公司特殊组件页面注册
2
+ let specialComp = {
3
+ // 营业分项汇总报表
4
+ 'sell-dep-report': (resolve) => { require(['./SellDepReport'], resolve) }
5
+ }
6
+ exports.specialComp = specialComp
7
+
8
+
9
+
10
+
@@ -1,12 +1,12 @@
1
- // 分公司特殊组件页面注册
2
- let specialComp = {
3
- 'other-charge-query': (resolve) => { require(['./OtherChargeQuery'], resolve) },
4
- 'arrears-query': (resolve) => { require(['./ArrearsQuery'], resolve) },
5
- 'charge-query': (resolve) => { require(['./ChargeQuery'], resolve) },
6
- 'handplan-query': (resolve) => { require(['./HandplanQuery'], resolve) }
7
- }
8
- exports.specialComp = specialComp
9
-
10
-
11
-
12
-
1
+ // 分公司特殊组件页面注册
2
+ let specialComp = {
3
+ 'other-charge-query': (resolve) => { require(['./OtherChargeQuery'], resolve) },
4
+ 'arrears-query': (resolve) => { require(['./ArrearsQuery'], resolve) },
5
+ 'charge-query': (resolve) => { require(['./ChargeQuery'], resolve) },
6
+ 'handplan-query': (resolve) => { require(['./HandplanQuery'], resolve) }
7
+ }
8
+ exports.specialComp = specialComp
9
+
10
+
11
+
12
+
@@ -939,7 +939,7 @@
939
939
  let param = {
940
940
  items: 'f_terminal_name',
941
941
  tablename: 't_equipment',
942
- condition: `f_equipment_type = 'POS' and f_state = '正常' and f_orgid = '${this.$login.f.orgid}'`,
942
+ condition: `f_equipment_type = 'POS' and f_state = '正常'`,
943
943
  orderitem: 'id'
944
944
  }
945
945
  var data = await HttpReset.load('POST', 'rs/sql/manage_singleTable', {data: param}, {resolveMsg: null, rejectMsg: '获取设备列表失败!'})
package/src/main.js CHANGED
@@ -1,66 +1,65 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
-
5
- // import { sale } from 'sale-client'
6
- import { system } from 'system-clients'
7
- import { ldap } from 'ldap-clients'
8
- import saleManage from './saleManage'
9
- import webmeterManage from './webmeterManage'
10
- import reportManage from './reportManage'
11
- import newmanage from './newmanage'
12
- import ManageHome from './ManageHome'
13
- import echarts from 'echarts'
14
- import AMap from 'vue-amap'
15
-
16
- Vue.config.silent = true
17
- // Vue.mmType = 'AES'
18
-
19
- Vue.use(AMap);
20
-
21
- // 初始化vue-amap
22
- AMap.initAMapApiLoader({
23
- // 高德key
24
- key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
- // 插件集合 (插件按需引入)
26
- plugin: [
27
- "AMap.Autocomplete", //输入提示插件
28
- "AMap.PlaceSearch", //POI搜索插件
29
- "AMap.Scale", //右下角缩略图插件 比例尺
30
- "AMap.OverView", //地图鹰眼插件
31
- "AMap.ToolBar", //地图工具条0
32
- "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
- "AMap.PolyEditor", //编辑 折线多,边形
34
- "AMap.CircleEditor", //圆形编辑器插件
35
- "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
- ],
37
- uiVersion: "1.0"
38
- });
39
- /** **************************通用组件******************************/
40
-
41
- Vue.prototype.$echarts = echarts
42
- all()
43
- // sale()
44
- ldap()
45
- system(false)
46
- saleManage()
47
-
48
- webmeterManage()
49
- ManageHome()
50
- newmanage()
51
- reportManage()
52
- require('system-clients/src/styles/less/bootstrap.less')
53
- require('./components/qinhua/Style/qinhuaStyle.less')
54
- // require('./bootstrap/less/manageStyle/manageChile.less')
55
- // require('./bootstrap/less/manageStyle/safeStyle.less')
56
-
57
- //大屏展示要放开的样式
58
- // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
- // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
- // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
-
62
- new Vue({
63
- el: 'body',
64
- components: { App }
65
- })
66
-
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+
5
+ // import { sale } from 'sale-client'
6
+ import { system } from 'system-clients'
7
+ import { ldap } from 'ldap-clients'
8
+ import saleManage from './saleManage'
9
+ import webmeterManage from './webmeterManage'
10
+ import reportManage from './reportManage'
11
+ import newmanage from './newmanage'
12
+ import ManageHome from './ManageHome'
13
+ import echarts from 'echarts'
14
+ import AMap from 'vue-amap'
15
+
16
+ Vue.config.silent = true
17
+ // Vue.mmType = 'AES'
18
+
19
+ Vue.use(AMap);
20
+
21
+ // 初始化vue-amap
22
+ AMap.initAMapApiLoader({
23
+ // 高德key
24
+ key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
+ // 插件集合 (插件按需引入)
26
+ plugin: [
27
+ "AMap.Autocomplete", //输入提示插件
28
+ "AMap.PlaceSearch", //POI搜索插件
29
+ "AMap.Scale", //右下角缩略图插件 比例尺
30
+ "AMap.OverView", //地图鹰眼插件
31
+ "AMap.ToolBar", //地图工具条0
32
+ "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
+ "AMap.PolyEditor", //编辑 折线多,边形
34
+ "AMap.CircleEditor", //圆形编辑器插件
35
+ "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
+ ],
37
+ uiVersion: "1.0"
38
+ });
39
+ /** **************************通用组件******************************/
40
+
41
+ Vue.prototype.$echarts = echarts
42
+ all()
43
+ // sale()
44
+ ldap()
45
+ system(false)
46
+ saleManage()
47
+ webmeterManage()
48
+ ManageHome()
49
+ newmanage()
50
+ reportManage()
51
+ require('system-clients/src/styles/less/bootstrap.less')
52
+ require('./components/qinhua/Style/qinhuaStyle.less')
53
+ // require('./bootstrap/less/manageStyle/manageChile.less')
54
+ // require('./bootstrap/less/manageStyle/safeStyle.less')
55
+
56
+ //大屏展示要放开的样式
57
+ // require('system-clients/src/styles/less/manageStyle/manageChile.less')
58
+ // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
59
+ // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
60
+
61
+ new Vue({
62
+ el: 'body',
63
+ components: { App }
64
+ })
65
+