manage-client 3.2.88-2 → 3.2.90

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 (39) hide show
  1. package/package.json +1 -1
  2. package/src/components/SellReport/NonResidentGas.vue +216 -216
  3. package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +507 -507
  4. package/src/components/SellReport/ReportItems.vue +246 -246
  5. package/src/components/sale/businessquery/ArrearsQuery.vue +934 -934
  6. package/src/components/sale/businessquery/ChargeQuery.vue +1277 -1277
  7. package/src/components/sale/businessquery/InspectListGas.vue +552 -552
  8. package/src/components/sale/businessquery/InspectListUser.vue +449 -449
  9. package/src/components/sale/businessquery/OtherChargeQuery.vue +1 -1
  10. package/src/components/sale/config/exportConfig.js +944 -944
  11. package/src/components/webmeter/gasStatistics/GasStatistics.vue +8 -12
  12. package/src/components/webmeter/instruction/NewQueryInstruct.vue +446 -446
  13. package/src/filiale/liaoyuan/MeterQuery.vue +905 -905
  14. package/src/filiale/liaoyuan/RecordInfoQuery.vue +1163 -1163
  15. package/src/filiale/liaoyuan/ReportList.vue +421 -421
  16. package/src/filiale/macheng/FxGasTable.vue +236 -236
  17. package/src/filiale/macheng/ManageDayGas.vue +248 -248
  18. package/src/filiale/macheng/ManageHandSellMoney.vue +249 -249
  19. package/src/filiale/macheng/ManageMonthGas.vue +250 -250
  20. package/src/filiale/macheng/ManageOtherCharge.vue +251 -251
  21. package/src/filiale/macheng/ManageSellType.vue +287 -287
  22. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  23. package/src/filiale/macheng/SellingTable.vue +219 -219
  24. package/src/filiale/macheng/UserBalanceReport.vue +178 -178
  25. package/src/filiale/macheng/config/exportConfig.js +67 -67
  26. package/src/filiale/macheng/reportManage.js +19 -19
  27. package/src/filiale/macheng/sale.js +11 -11
  28. package/src/filiale/meihekou/HandplanQuery.vue +1234 -1234
  29. package/src/filiale/qianneng/OtherChargeQuery.vue +646 -646
  30. package/src/filiale/qianneng/SellDepReport.vue +269 -269
  31. package/src/filiale/qianneng/reportManage.js +10 -10
  32. package/src/filiale/qianneng/sale.js +12 -12
  33. package/src/main.js +66 -65
  34. package/.gradle/4.4/fileContent/fileContent.lock +0 -0
  35. package/.gradle/4.4/taskHistory/taskHistory.bin +0 -0
  36. package/.gradle/4.4/taskHistory/taskHistory.lock +0 -0
  37. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  38. package/build/libs/ManageClient-3.1.0-17.jar +0 -0
  39. package/build/tmp/jar/MANIFEST.MF +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.88-2",
3
+ "version": "3.2.90",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,216 +1,216 @@
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
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
- <div class="row">
7
- <div class="col-sm-2" >
8
- <label class="font_normal_body" for="startDate">开始日期:</label>
9
- <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
- v-model="model.startDate"
11
- :value.sync="model.startDate"
12
- :disabled-days-of-Week="[]"
13
- :format="'yyyy-MM-dd HH:mm:ss'"
14
- :show-reset-button="reset">
15
- </datepicker>
16
- </div>
17
- <div class="col-sm-2" >
18
- <label class="font_normal_body" for="endDate">结束日期:</label>
19
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
- v-model="model.endDate"
21
- :value.sync="model.endDate"
22
- :disabled-days-of-Week="[]"
23
- :format="'yyyy-MM-dd HH:mm:ss'"
24
- :show-reset-button="reset">
25
- </datepicker>
26
- </div>
27
- <div class="col-sm-2">
28
- <label class="font_normal_body" title="参数:气表类型查询">气表类型:</label>
29
- <v-select :value.sync="model.f_meter_type" multiple
30
- v-model="model.f_meter_type"
31
- :options='$parent.$parent.metertype' placeholder='请选择'
32
- condition="f_meter_classify in {}"
33
- close-on-select></v-select>
34
- </div>
35
- <div class="col-sm-2">
36
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
37
- <right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
38
- </div>
39
- <div class="col-sm-2">
40
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
41
- <res-select restype='department'
42
- is-mul="false"
43
- @res-select="$parent.$parent.getdep"
44
- :parentresid="$parent.$parent.depresid"
45
- :initresid='$parent.$parent.depid'>
46
- </res-select>
47
-
48
- </div>
49
- <div class="col-sm-2">
50
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
51
- <res-select restype='user'
52
- is-mul="false"
53
- @res-select="$parent.$parent.getuser"
54
- :parentresid="$parent.$parent.userresid"
55
- :initresid='$parent.$parent.operatorid'>
56
- </res-select>
57
- </div>
58
- </div>
59
- <div class="span" 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
- </criteria>
66
- <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
67
- <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
68
- <thead>
69
- <tr>
70
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
71
- <h3 style="text-align: center">非民用用气统计</h3>
72
- </th>
73
- </tr>
74
- <tr>
75
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
76
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
77
- 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
78
- 打印时间:{{{$parent.printTime}}}
79
- </th>
80
- </tr>
81
- <tr>
82
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
83
- <div>
84
- <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
85
- <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
86
- <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
87
- </div>
88
- </th>
89
- </tr>
90
- </thead>
91
- <tr>
92
- <td :colspan='$parent.spans' class="noborder">
93
- {{{ model.data.substring(26,model.data.length-8) }}}
94
- </td>
95
- </tr>
96
- <tfoot>
97
- <tr style="text-align: left">
98
- <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
99
- <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
100
- <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
101
- </tr>
102
- </tfoot>
103
- </table>
104
- {{{ $parent.reportStr}}}
105
- </div>
106
- </criteria-paged>
107
- <modal :show.sync="show" v-ref:modal small backdrop="false">
108
- <header slot="modal-header" class="modal-header">
109
- <h4 class="modal-title">输入文件名称</h4>
110
- </header>
111
- <article slot="modal-body" class="modal-body">
112
- <div class="form-group">
113
- <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
114
- </div>
115
- </article>
116
- <footer slot="modal-footer" class="modal-footer">
117
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
118
- <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
119
- </footer>
120
- </modal>
121
- </div>
122
- </template>
123
-
124
- <script>
125
- import { DataModel } from 'vue-client'
126
- import co from 'co'
127
-
128
- export default {
129
- title: '非民用用气统计',
130
- props: ['data'],
131
- data () {
132
- return {
133
- printTime: this.$login.toStandardTimeString(),
134
- depresid: [],
135
- userresid: [],
136
- f_orgid: this.$login.f.orgid,
137
- f_depid: this.$login.f.depids,
138
- f_operatorid: this.$login.f.id,
139
- operatorid: [],
140
- depid: [],
141
- orgname: '',
142
- depname: '',
143
- operatorname: '',
144
- orgCondtionStr: '1=1',
145
- model: new DataModel('rs/report/nonResidentGas', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
146
- f_orgid: 'this.model.f_orgid'}),
147
- reportStr: null,
148
- spans: 0
149
- }
150
- },
151
- ready () {
152
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
153
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
154
- this.$refs.paged.$refs.criteria.search()
155
- console.log(this.$login.f)
156
- },
157
- methods: {
158
- searchData () {
159
- this.$refs.paged.$refs.criteria.search()
160
- },
161
- selfSearch (args) {
162
- this.printTime = this.$login.toStandardTimeString()
163
- let orgcondition ='1=1'
164
- if (this.f_orgid && this.f_orgid[0]) {
165
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
166
- }
167
- if (this.f_depid && this.f_depid[0]) {
168
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
169
- }
170
- if(this.f_operatorid && this.f_operatorid[0]) {
171
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
172
- }
173
- console.log('111111',args)
174
- orgcondition = orgcondition + ' and ' +args.condition
175
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
176
- this.$refs.paged.search(args)
177
- },
178
- getRes (obj) {
179
- this.orgname = obj.res[0]
180
- this.depresid = obj.resids
181
- this.f_orgid = obj.resids
182
- },
183
- getdep (obj, val) {
184
- this.depname = val[0]
185
- this.userresid = obj
186
- this.f_depid = obj
187
- },
188
- getuser ( obj, val) {
189
- this.operatorname = val[0]
190
- this.f_operatorid = obj
191
- }
192
- },
193
- watch: {
194
- 'model.data' (val) {
195
- let len=0
196
- let a=val.split('</tr>')
197
- for(let i=0;i<a.length;i++){
198
- if(a[i].split('</td>').length-1>len){
199
- len=a[i].split('</td>').length-1
200
- }
201
- }
202
- this.spans = len
203
- }
204
- },
205
- computed: {
206
- metertype() {
207
- return [...this.$appdata.getParam('气表类型查询')]
208
- }
209
- }
210
- }
211
- </script>
212
- <style scoped>
213
- .noborder{
214
- border: none;
215
- }
216
- </style>
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
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
+ <div class="row">
7
+ <div class="col-sm-2" >
8
+ <label class="font_normal_body" for="startDate">开始日期:</label>
9
+ <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
+ v-model="model.startDate"
11
+ :value.sync="model.startDate"
12
+ :disabled-days-of-Week="[]"
13
+ :format="'yyyy-MM-dd HH:mm:ss'"
14
+ :show-reset-button="reset">
15
+ </datepicker>
16
+ </div>
17
+ <div class="col-sm-2" >
18
+ <label class="font_normal_body" for="endDate">结束日期:</label>
19
+ <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
+ v-model="model.endDate"
21
+ :value.sync="model.endDate"
22
+ :disabled-days-of-Week="[]"
23
+ :format="'yyyy-MM-dd HH:mm:ss'"
24
+ :show-reset-button="reset">
25
+ </datepicker>
26
+ </div>
27
+ <div class="col-sm-2">
28
+ <label class="font_normal_body" title="参数:气表类型查询">气表类型:</label>
29
+ <v-select :value.sync="model.f_meter_type" multiple
30
+ v-model="model.f_meter_type"
31
+ :options='$parent.$parent.metertype' placeholder='请选择'
32
+ condition="f_meter_classify in {}"
33
+ close-on-select></v-select>
34
+ </div>
35
+ <div class="col-sm-2">
36
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
37
+ <right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
38
+ </div>
39
+ <div class="col-sm-2">
40
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
41
+ <res-select restype='department'
42
+ is-mul="false"
43
+ @res-select="$parent.$parent.getdep"
44
+ :parentresid="$parent.$parent.depresid"
45
+ :initresid='$parent.$parent.depid'>
46
+ </res-select>
47
+
48
+ </div>
49
+ <div class="col-sm-2">
50
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
51
+ <res-select restype='user'
52
+ is-mul="false"
53
+ @res-select="$parent.$parent.getuser"
54
+ :parentresid="$parent.$parent.userresid"
55
+ :initresid='$parent.$parent.operatorid'>
56
+ </res-select>
57
+ </div>
58
+ </div>
59
+ <div class="span" 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
+ </criteria>
66
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
67
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
68
+ <thead>
69
+ <tr>
70
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
71
+ <h3 style="text-align: center">非民用用气统计</h3>
72
+ </th>
73
+ </tr>
74
+ <tr>
75
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
76
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
77
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
78
+ 打印时间:{{{$parent.printTime}}}
79
+ </th>
80
+ </tr>
81
+ <tr>
82
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
83
+ <div>
84
+ <span v-show="$parent.orgname.trim()!=''">公司:{{$parent.orgname}}</span>
85
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{$parent.depname}}</span>
86
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{$parent.operatorname}}</span>
87
+ </div>
88
+ </th>
89
+ </tr>
90
+ </thead>
91
+ <tr>
92
+ <td :colspan='$parent.spans' class="noborder">
93
+ {{{ model.data.substring(26,model.data.length-8) }}}
94
+ </td>
95
+ </tr>
96
+ <tfoot>
97
+ <tr style="text-align: left">
98
+ <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
99
+ <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
100
+ <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
101
+ </tr>
102
+ </tfoot>
103
+ </table>
104
+ {{{ $parent.reportStr}}}
105
+ </div>
106
+ </criteria-paged>
107
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
108
+ <header slot="modal-header" class="modal-header">
109
+ <h4 class="modal-title">输入文件名称</h4>
110
+ </header>
111
+ <article slot="modal-body" class="modal-body">
112
+ <div class="form-group">
113
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
114
+ </div>
115
+ </article>
116
+ <footer slot="modal-footer" class="modal-footer">
117
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
118
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
119
+ </footer>
120
+ </modal>
121
+ </div>
122
+ </template>
123
+
124
+ <script>
125
+ import { DataModel } from 'vue-client'
126
+ import co from 'co'
127
+
128
+ export default {
129
+ title: '非民用用气统计',
130
+ props: ['data'],
131
+ data () {
132
+ return {
133
+ printTime: this.$login.toStandardTimeString(),
134
+ depresid: [],
135
+ userresid: [],
136
+ f_orgid: this.$login.f.orgid,
137
+ f_depid: this.$login.f.depids,
138
+ f_operatorid: this.$login.f.id,
139
+ operatorid: [],
140
+ depid: [],
141
+ orgname: '',
142
+ depname: '',
143
+ operatorname: '',
144
+ orgCondtionStr: '1=1',
145
+ model: new DataModel('rs/report/nonResidentGas', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
146
+ f_orgid: 'this.model.f_orgid'}),
147
+ reportStr: null,
148
+ spans: 0
149
+ }
150
+ },
151
+ ready () {
152
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
153
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
154
+ this.$refs.paged.$refs.criteria.search()
155
+ console.log(this.$login.f)
156
+ },
157
+ methods: {
158
+ searchData () {
159
+ this.$refs.paged.$refs.criteria.search()
160
+ },
161
+ selfSearch (args) {
162
+ this.printTime = this.$login.toStandardTimeString()
163
+ let orgcondition ='1=1'
164
+ if (this.f_orgid && this.f_orgid[0]) {
165
+ orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
166
+ }
167
+ if (this.f_depid && this.f_depid[0]) {
168
+ orgcondition += ' and f_depid in (' + this.f_depid + ')'
169
+ }
170
+ if(this.f_operatorid && this.f_operatorid[0]) {
171
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
172
+ }
173
+ console.log('111111',args)
174
+ orgcondition = orgcondition + ' and ' +args.condition
175
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
176
+ this.$refs.paged.search(args)
177
+ },
178
+ getRes (obj) {
179
+ this.orgname = obj.res[0]
180
+ this.depresid = obj.resids
181
+ this.f_orgid = obj.resids
182
+ },
183
+ getdep (obj, val) {
184
+ this.depname = val[0]
185
+ this.userresid = obj
186
+ this.f_depid = obj
187
+ },
188
+ getuser ( obj, val) {
189
+ this.operatorname = val[0]
190
+ this.f_operatorid = obj
191
+ }
192
+ },
193
+ watch: {
194
+ 'model.data' (val) {
195
+ let len=0
196
+ let a=val.split('</tr>')
197
+ for(let i=0;i<a.length;i++){
198
+ if(a[i].split('</td>').length-1>len){
199
+ len=a[i].split('</td>').length-1
200
+ }
201
+ }
202
+ this.spans = len
203
+ }
204
+ },
205
+ computed: {
206
+ metertype() {
207
+ return [...this.$appdata.getParam('气表类型查询')]
208
+ }
209
+ }
210
+ }
211
+ </script>
212
+ <style scoped>
213
+ .noborder{
214
+ border: none;
215
+ }
216
+ </style>