manage-client 3.2.93-1 → 3.2.96

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 (46) hide show
  1. package/package.json +1 -1
  2. package/src/components/SellReport/BusSummaryes.vue +268 -0
  3. package/src/components/SellReport/GasMoneyPublicMoney.vue +251 -251
  4. package/src/components/SellReport/NonResidentGas.vue +216 -216
  5. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +507 -507
  6. package/src/components/SellReport/ReportItems.vue +246 -246
  7. package/src/components/sale/businessquery/ArrearsQuery.vue +934 -934
  8. package/src/components/sale/businessquery/ChangeMeterQuery.vue +676 -676
  9. package/src/components/sale/businessquery/InspectListGas.vue +552 -552
  10. package/src/components/sale/businessquery/InspectListUser.vue +449 -449
  11. package/src/components/sale/config/exportConfig.js +2 -2
  12. package/src/components/webmeter/WebmeterQuery.vue +61 -61
  13. package/src/components/webmeter/instruction/NewQueryInstruct.vue +446 -446
  14. package/src/filiale/liaoyuan/MeterQuery.vue +905 -905
  15. package/src/filiale/liaoyuan/RecordInfoQuery.vue +1163 -1163
  16. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  17. package/src/filiale/macheng/FxGasTable.vue +236 -236
  18. package/src/filiale/macheng/ManageDayGas.vue +248 -248
  19. package/src/filiale/macheng/ManageHandSellMoney.vue +249 -249
  20. package/src/filiale/macheng/ManageMonthGas.vue +250 -250
  21. package/src/filiale/macheng/ManageOtherCharge.vue +251 -251
  22. package/src/filiale/macheng/ManageSellType.vue +287 -287
  23. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  24. package/src/filiale/macheng/SellingTable.vue +219 -219
  25. package/src/filiale/macheng/UserBalanceReport.vue +178 -178
  26. package/src/filiale/macheng/config/exportConfig.js +67 -67
  27. package/src/filiale/macheng/reportManage.js +19 -19
  28. package/src/filiale/macheng/sale.js +11 -11
  29. package/src/filiale/meihekou/HandplanQuery.vue +1234 -1234
  30. package/src/filiale/meihekou/UserQuery.vue +773 -773
  31. package/src/filiale/qianneng/ManageBusSummary.vue +224 -0
  32. package/src/filiale/qianneng/OtherChargeQuery.vue +646 -646
  33. package/src/filiale/qianneng/reportManage.js +12 -10
  34. package/src/filiale/qianneng/sale.js +12 -12
  35. package/src/filiale/zhongyi/ManageBusSummaryPeng.vue +241 -0
  36. package/src/filiale/zhongyi/ManageHandSellMoney.vue +247 -0
  37. package/src/filiale/zhongyi/ManageSellType.vue +284 -0
  38. package/src/filiale/zhongyi/reportManage.js +16 -10
  39. package/src/main.js +66 -65
  40. package/src/reportManage.js +557 -553
  41. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  42. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  43. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  44. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  45. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  46. package/build/tmp/jar/MANIFEST.MF +0 -2
@@ -0,0 +1,284 @@
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-4 form-group" >
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 HH:mm:ss'"
16
+ :show-reset-button="reset">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-4 form-group" >
20
+ <label class="font_normal_body" for="endDate">结束日期:</label>
21
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
22
+ v-model="model.endDate"
23
+ :value.sync="model.endDate"
24
+ :disabled-days-of-Week="[]"
25
+ :format="'yyyy-MM-dd HH:mm:ss'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-4 form-group" >
30
+ <label class="font_normal_body" for="org">公&emsp;&emsp;司:</label>
31
+ <right-tree id="org" @re-res="$parent.$parent.getRes"></right-tree>
32
+ </div>
33
+ <div class="col-sm-4 form-group">
34
+ <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
35
+ <res-select id="dep" restype='department'
36
+ @res-select="$parent.$parent.getdep"
37
+ :parentresid="$parent.$parent.depresid"
38
+ :initresid='$parent.$parent.depid' >
39
+ </res-select>
40
+
41
+ </div>
42
+ <div class="col-sm-4 form-group">
43
+ <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
44
+ <res-select id="oper" restype='user'
45
+ is-mul="false"
46
+ @res-select="$parent.$parent.getuser"
47
+ :parentresid="$parent.$parent.userresid"
48
+ :initresid='$parent.$parent.operatorid'>
49
+ </res-select>
50
+ </div>
51
+ <div class="col-sm-4 form-group">
52
+ <label class="font_normal_body">收费状态:</label>
53
+ <v-select :value.sync="$parent.$parent.f_state" multiple
54
+ v-model="$parent.$parent.f_state"
55
+ :options='$parent.$parent.charge_state' placeholder='请选择'
56
+ condition="f_state in {}"
57
+ close-on-select></v-select>
58
+ </div>
59
+ <div style = "float:right;">
60
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
61
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
62
+ <report-excel id='gasprice'></report-excel>
63
+ </div>
64
+ </div>
65
+ <!--<div class="span" style = "float:right;">-->
66
+
67
+ <!--</div>-->
68
+ </div>
69
+ </criteria>
70
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
71
+ <table class='tableprint' style="margin: 0px auto">
72
+ <thead>
73
+ <tr>
74
+ <th :colspan='$parent.spans' style="font-weight: bold; text-align: left;">
75
+ <h3 style="text-align: center">营业厅分项汇总表</h3>
76
+ </th>
77
+ </tr>
78
+ <tr>
79
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
80
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
81
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;
82
+ </th>
83
+ </tr>
84
+ <tr>
85
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
86
+ 打印时间:{{{$parent.printTime}}}
87
+ </th>
88
+ </tr>
89
+ <tr>
90
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
91
+ <div>
92
+ <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
93
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
94
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{$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='$parent.spans/3' style="font-weight: normal; text-align: left;">
107
+ 收款人:
108
+ </th>
109
+ <th :colspan='$parent.spans/3' style="font-weight: normal; text-align: left;">
110
+ 审核人:
111
+ </th>
112
+ <th :colspan='$parent.spans/3' style="font-weight: normal; text-align: left;">
113
+ 经手人:
114
+ </th>
115
+ </tr>
116
+ </tfoot>
117
+ </table>
118
+ {{{ $parent.reportStr}}}
119
+ </div>
120
+ </criteria-paged>
121
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
122
+ <header slot="modal-header" class="modal-header">
123
+ <h4 class="modal-title">输入文件名称</h4>
124
+ </header>
125
+ <article slot="modal-body" class="modal-body">
126
+ <div class="form-group">
127
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
128
+ </div>
129
+ </article>
130
+ <footer slot="modal-footer" class="modal-footer">
131
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
132
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
133
+ </footer>
134
+ </modal>
135
+ </div>
136
+ </template>
137
+
138
+ <script>
139
+ import { DataModel } from 'vue-client'
140
+ import co from 'co'
141
+ let saveFile = function * (self) {
142
+ // 线验证文件是否重名
143
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
144
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
145
+ {resolveMsg: null, rejectMsg: null})
146
+ if (count.data.length > 0) {
147
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
148
+ return
149
+ }
150
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
151
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
152
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
153
+ f_outlets: this.$login.f.depname})
154
+ if (saveBack.data.status === 'succeed') {
155
+ self.show = false
156
+ self.filename = ''
157
+ // 后台保存完成,通知刷新
158
+ self.$dispatch('save-success', self.filename)
159
+ }
160
+ }
161
+ export default {
162
+ title: '营业厅分项汇总表',
163
+ props: ['data'],
164
+ data () {
165
+ return {
166
+ printTime: this.$login.toStandardTimeString(),
167
+ depresid: [],
168
+ userresid: [],
169
+ initres: {
170
+ org:[this.$login.f.orgid],
171
+ dep:[],
172
+ user:[]
173
+ },
174
+ f_orgid: this.$login.f.orgid,
175
+ f_depid: this.$login.f.depids,
176
+ f_operatorid: this.$login.f.id,
177
+ operatorid: [],
178
+ depid: [],
179
+ f_state:['有效'],
180
+ orgname: '',
181
+ depname: '',
182
+ operatorname: '',
183
+ orgCondtionStr: '1=1',
184
+ model: new DataModel('rs/report/fenxiangsell', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
185
+ f_orgid: 'this.model.f_orgid'}),
186
+ reportStr: null,
187
+ show: false,
188
+ spans: ''
189
+ }
190
+ },
191
+ ready () {
192
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
193
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
194
+ // this.$refs.paged.$refs.criteria.search()
195
+ },
196
+ methods: {
197
+ searchData () {
198
+ this.$refs.paged.$refs.criteria.search()
199
+ },
200
+ selfSearch (args) {
201
+ this.printTime = this.$login.toStandardTimeString()
202
+ this.orgCondtionStr='1=1'
203
+ if (this.f_orgid[0]) {
204
+ this.orgCondtionStr += ' and f_orgid in (' + this.f_orgid + ")"
205
+ }
206
+ if (this.f_depid[0]) {
207
+ this.orgCondtionStr += " and f_depid in (" + this.f_depid.toString() + ")"
208
+ }
209
+ if(this.f_operatorid[0]) {
210
+ this.orgCondtionStr += ' and f_operatorid in (' + this.f_operatorid + ")"
211
+ }
212
+ this.$refs.paged.$refs.criteria.model.f_orgid = this.orgCondtionStr.replace('1=1','') + (this.f_state && this.f_state != '' ? " and f_state='" + this.f_state + "' " : '')
213
+ this.$refs.paged.search(args)
214
+ },
215
+ getRes (obj) {
216
+ this.orgname = obj.res[0]
217
+ this.depresid = obj.resids
218
+ this.userresid = obj.resids
219
+ this.f_orgid = obj.resids
220
+ },
221
+ getdep (obj, val) {
222
+ this.depname = val[0]
223
+ // this.userresid = obj
224
+ this.f_depid = obj
225
+ },
226
+ getuser ( obj, val) {
227
+ this.operatorname = val[0]
228
+ this.f_operatorid = obj
229
+ },
230
+ // 根据文件路径获取储存的报表内容
231
+ getFileContent (path) {
232
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
233
+ this.reportStr = res.data.filecontent
234
+ this.model.state = '正确'
235
+ })
236
+ },
237
+ confirm () {
238
+ if (!this.filename || this.filename === '') {
239
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
240
+ }
241
+ let saveGen = saveFile(this)
242
+ co(saveGen)
243
+ },
244
+ close () {
245
+ this.show = false
246
+ },
247
+ // 将报表保存成文件
248
+ confirmReport () {
249
+ this.show = true
250
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
251
+ }
252
+ },
253
+ watch: {
254
+ 'data' (val) {
255
+ if (val.f_files_path) {
256
+ this.getFileContent(val.f_files_path)
257
+ } else {
258
+ this.reportStr = null
259
+ }
260
+ },
261
+ 'model.data' (val) {
262
+ let len=0
263
+ let a=val.split('</tr>')
264
+ for(let i=0;i<a.length;i++){
265
+ if(a[i].split('</td>').length-1>len){
266
+ len=a[i].split('</td>').length-1
267
+ }
268
+ continue
269
+ }
270
+ this.spans = len
271
+ }
272
+ },
273
+ computed: {
274
+ charge_state() {
275
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
276
+ }
277
+ }
278
+ }
279
+ </script>
280
+ <style scoped>
281
+ .noborder{
282
+ border: none;
283
+ }
284
+ </style>
@@ -1,10 +1,16 @@
1
- // 分公司特殊组件页面注册
2
- let specialComp = {
3
- // 收费查询
4
- 'echarts-box': (resolve) => { require(['./EchartsBox'], resolve) }
5
- }
6
- exports.specialComp = specialComp
7
-
8
-
9
-
10
-
1
+ // 分公司特殊组件页面注册
2
+ let specialComp = {
3
+ // 营业分析汇总报表
4
+ 'manage-sell-type': (resolve) => { require(['./ManageSellType'], resolve) },
5
+ // // 报表展示组件(营业厅售气情况统计表) 经纬
6
+ 'manage-hand-sell-money': (resolve) => { require(['./ManageHandSellMoney'], resolve) },
7
+ // // 报表展示组件(收费汇总报表)蓬安
8
+ 'manage-bus-summary-peng': (resolve) => { require(['./ManageBusSummaryPeng'], resolve) }
9
+
10
+
11
+ }
12
+ exports.specialComp = specialComp
13
+
14
+
15
+
16
+
package/src/main.js CHANGED
@@ -1,65 +1,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
-
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
+