manage-client 3.2.69 → 3.2.70

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 (32) hide show
  1. package/.gradle/{5.5 → 4.4}/fileChanges/last-build.bin +0 -0
  2. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  3. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  4. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  5. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  6. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  7. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  8. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  9. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  10. package/CHANGELOG.md +1 -0
  11. package/build/dev-server.js +176 -174
  12. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  13. package/build/tmp/jar/MANIFEST.MF +2 -0
  14. package/package.json +1 -1
  15. package/src/App.vue +28 -28
  16. package/src/components/MeterManage/MeterList.vue +2 -2
  17. package/src/components/SellReport/GYReportWH.vue +181 -0
  18. package/src/components/SellReport/ReportItems.vue +250 -241
  19. package/src/components/SellReport/ReportItemsSpecial.vue +246 -0
  20. package/src/components/SellReport/ReportPoolSpecial.vue +60 -0
  21. package/src/components/SellReport/SYReportWH.vue +181 -0
  22. package/src/components/SellReport/tongchuan/ReportGasType.vue +230 -0
  23. package/src/components/sale/filesquery/DeviceQuery.vue +1 -1
  24. package/src/components/sale/filesquery/RecordInfoQuery.vue +1 -1
  25. package/src/components/sale/report/aode/DayReportList.vue +371 -371
  26. package/src/components/webmeter/DrillData/UserGasAll.vue +607 -607
  27. package/src/filiale/shaoguan/HandplanQuery.vue +22 -24
  28. package/src/filiale/shaoguan/RecordInfoQuery.vue +1108 -1108
  29. package/src/filiale/zhongsheng/UserGasAll.vue +625 -0
  30. package/src/reportManage.js +532 -506
  31. package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
  32. package/.gradle/5.5/gc.properties +0 -0
@@ -0,0 +1,230 @@
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-3" >
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'"
16
+ :show-reset-button="reset">
17
+ </datepicker>
18
+ </div>
19
+ <div class="col-sm-3" >
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'"
26
+ :show-reset-button="reset">
27
+ </datepicker>
28
+ </div>
29
+ <div class="col-sm-3">
30
+ <label class="font_normal_body" title="参数:分公司查询">公&emsp;&emsp;司:</label>
31
+ <v-select :value.sync="model.f_orgnames" multiple
32
+ v-model="model.f_orgnames"
33
+ :options='$parent.$parent.f_orgnames' placeholder='请选择'
34
+ condition="f_orgname in {}"
35
+ close-on-select></v-select>
36
+ </div>
37
+ <!--<div class="col-sm-3">-->
38
+ <!--<label class="font_normal_body">公&emsp;&emsp;司:</label>-->
39
+ <!--<right-tree @re-res="$parent.$parent.getRes"></right-tree>-->
40
+ <!--</div>-->
41
+ <div class="span" style = "float:right;">
42
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
43
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
44
+ <report-excel id='gasprice'></report-excel>
45
+ </div>
46
+ </div>
47
+
48
+ </div>
49
+ </criteria>
50
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
51
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
52
+ <thead>
53
+ <tr>
54
+ <th colspan='4' style="font-weight: normal; text-align: left;">
55
+ <h3 style="text-align: center">营业分类统计</h3>
56
+ </th>
57
+ </tr>
58
+ <tr>
59
+ <th colspan='4' style="font-weight: normal; text-align: center;">
60
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
61
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;
62
+ <!--打印时间:{{{$parent.printTime}}}-->
63
+ </th>
64
+ </tr>
65
+ <!--<tr>-->
66
+ <!--<th colspan='4' style="font-weight: normal; text-align: center;">-->
67
+ <!--<div>-->
68
+ <!--<span >公司:铜川天然气公司</span>-->
69
+ <!--&lt;!&ndash;<span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>&ndash;&gt;-->
70
+ <!--&lt;!&ndash;<span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>&ndash;&gt;-->
71
+ <!--</div>-->
72
+ <!--</th>-->
73
+ <!--</tr>-->
74
+ </thead>
75
+ <tr>
76
+ <td colspan='4'>
77
+ {{{ model.data.substring(26,model.data.length-8) }}}
78
+ </td>
79
+ </tr>
80
+ <tfoot>
81
+ <tr style="text-align: left">
82
+ <th colspan='1'>财务审核:</th>
83
+ <th colspan='1'>收款审核:</th>
84
+ <th colspan='2'>收款员:</th>
85
+ </tr>
86
+ </tfoot>
87
+ </table>
88
+ {{{ $parent.reportStr}}}
89
+ </div>
90
+ </criteria-paged>
91
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
92
+ <header slot="modal-header" class="modal-header">
93
+ <h4 class="modal-title">输入文件名称</h4>
94
+ </header>
95
+ <article slot="modal-body" class="modal-body">
96
+ <div class="form-group">
97
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
98
+ </div>
99
+ </article>
100
+ <footer slot="modal-footer" class="modal-footer">
101
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
102
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
103
+ </footer>
104
+ </modal>
105
+ </div>
106
+ </template>
107
+
108
+ <script>
109
+ import { DataModel } from 'vue-client'
110
+ import co from 'co'
111
+ let saveFile = function * (self) {
112
+ // 线验证文件是否重名
113
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
114
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
115
+ {resolveMsg: null, rejectMsg: null})
116
+ if (count.data.length > 0) {
117
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
118
+ return
119
+ }
120
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
121
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
122
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
123
+ f_outlets: this.$login.f.depname})
124
+ if (saveBack.data.status === 'succeed') {
125
+ self.show = false
126
+ self.filename = ''
127
+ // 后台保存完成,通知刷新
128
+ self.$dispatch('save-success', self.filename)
129
+ }
130
+ }
131
+ export default {
132
+ title: '营业分类统计',
133
+ props: ['data'],
134
+ data () {
135
+ return {
136
+ printTime: this.$login.toStandardTimeString(),
137
+ // depresid: [],
138
+ // userresid: [],
139
+ // f_orgid: this.$login.f.orgid,
140
+ // f_depid: this.$login.f.depids,
141
+ // f_operatorid: this.$login.f.id,
142
+ operatorid: [],
143
+ depid: [],
144
+ orgname: '',
145
+ depname: '',
146
+ operatorname: '',
147
+ orgCondtionStr: '1=1',
148
+ model: new DataModel('rs/report/BusinessClassifyTc', {startDate: 'this.model.startDate', endDate: 'this.model.endDate', f_orgid: 'this.model.f_orgid'}),
149
+ reportStr: null,
150
+ show: false,
151
+ }
152
+ },
153
+ ready () {
154
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString().substring(0,7)
155
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString().substring(0,7)
156
+ this.$refs.paged.$refs.criteria.search()
157
+ console.log(this.$login.f)
158
+ },
159
+ methods: {
160
+ searchData () {
161
+ this.$refs.paged.$refs.criteria.search()
162
+ },
163
+ selfSearch (args) {
164
+ this.printTime = this.$login.toStandardTimeString()
165
+ let orgcondition ='1=1'
166
+ // if (this.f_orgid[0]) {
167
+ // orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
168
+ // }
169
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition + ' and ' + this.$refs.paged.$refs.criteria.condition
170
+ this.$refs.paged.search(args)
171
+ },
172
+ // getRes (obj) {
173
+ // this.orgname = obj.res[0]
174
+ // this.depresid = obj.resids
175
+ // this.f_orgid = obj.resids
176
+ // },
177
+ // getdep (obj, val) {
178
+ // this.depname = val[0]
179
+ // this.userresid = obj
180
+ // this.f_depid = obj
181
+ // },
182
+ // getuser ( obj, val) {
183
+ // this.operatorname = val[0]
184
+ // this.f_operatorid = obj
185
+ // },
186
+
187
+ // 根据文件路径获取储存的报表内容
188
+ getFileContent (path) {
189
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
190
+ this.reportStr = res.data.filecontent
191
+ this.model.state = '正确'
192
+ })
193
+ },
194
+ confirm () {
195
+ if (!this.filename || this.filename === '') {
196
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
197
+ }
198
+ let saveGen = saveFile(this)
199
+ co(saveGen)
200
+ },
201
+ close () {
202
+ this.show = false
203
+ },
204
+ // 将报表保存成文件
205
+ confirmReport () {
206
+ this.show = true
207
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
208
+ },
209
+ },
210
+ watch: {
211
+ 'data' (val) {
212
+ if (val.f_files_path) {
213
+ this.getFileContent(val.f_files_path)
214
+ } else {
215
+ this.reportStr = null
216
+ }
217
+ }
218
+ },
219
+ computed: {
220
+ f_orgnames() {
221
+ return [...this.$appdata.getParam('分公司查询')]
222
+ }
223
+ }
224
+ }
225
+ </script>
226
+ <style scoped>
227
+ .noborder{
228
+ border: none;
229
+ }
230
+ </style>
@@ -52,7 +52,7 @@
52
52
  condition="f_address like '%{}%'" placeholder='客户地址'>
53
53
  </div>
54
54
  <div class="col-sm-2 form-group" >
55
- <label class="font_normal_body">客户状态</label>
55
+ <label class="font_normal_body">用户状态</label>
56
56
  <v-select :value.sync="model.f_user_state"
57
57
  v-model="model.f_user_state"
58
58
  :options='$parent.$parent.userstates' placeholder='请选择'
@@ -81,7 +81,7 @@
81
81
  </div>
82
82
 
83
83
  <div class="col-sm-2 form-group" >
84
- <label class="font_normal_body">客户状态</label>
84
+ <label class="font_normal_body">用户状态</label>
85
85
  <v-select :value.sync="model.f_user_state"
86
86
  v-model="model.f_user_state"
87
87
  :options='$parent.$parent.userstates' placeholder='请选择'