manage-client 3.2.72 → 3.2.75

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 (55) hide show
  1. package/.babelrc +5 -5
  2. package/.classpath +6 -6
  3. package/.editorconfig +9 -9
  4. package/.gradle/4.4/fileHashes/fileHashes.bin +0 -0
  5. package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
  6. package/.project +18 -18
  7. package/README.md +38 -38
  8. package/build/dev-server.js +176 -176
  9. package/config/dev.env.js +6 -6
  10. package/config/prod.env.js +3 -3
  11. package/config/test.env.js +6 -6
  12. package/package.json +1 -1
  13. package/release.bat +5 -5
  14. package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
  15. package/src/components/MeterManage/HandQuery.vue +72 -72
  16. package/src/components/MeterManage/ReversalQuery.vue +77 -77
  17. package/src/components/SellReport/GaspriceHas.vue +141 -141
  18. package/src/components/SellReport/ManageBusSummary.vue +224 -219
  19. package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
  20. package/src/components/WebReport/Communication.vue +131 -131
  21. package/src/components/WebReport/CompanyUser.vue +79 -79
  22. package/src/components/WebReport/GaspriceHas.vue +141 -141
  23. package/src/components/WebReport/ReportWorklist.vue +220 -220
  24. package/src/components/WebReport/SellType.vue +89 -89
  25. package/src/components/WebReport/Telemanlist.vue +221 -221
  26. package/src/components/WebReport/UserGasEcharts.vue +107 -107
  27. package/src/components/WebReport/ValueEcharts.vue +99 -99
  28. package/src/components/sale/businessquery/HandplanQuery.vue +91 -61
  29. package/src/components/sale/config/DefaultPrint.js +6 -6
  30. package/src/components/sale/config/exportConfig.js +1 -1
  31. package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
  32. package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
  33. package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
  34. package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
  35. package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
  36. package/src/components/webmeter/instruction/NewQueryInstruct.vue +6 -0
  37. package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
  38. package/src/filiale/liaoyuan/sale.js +0 -2
  39. package/src/filiale/macheng/RecordInfoQuery.vue +1023 -1023
  40. package/src/filiale/tongchuan/UserQuery.vue +26 -0
  41. package/src/main.js +66 -66
  42. package/src/plugins/LodopFuncs.js +124 -124
  43. package/src/stores/GetParames.js +15 -15
  44. package/src/stores/Util.js +132 -132
  45. package/test/unit/.eslintrc +5 -5
  46. package/test/unit/TestUtil.js +35 -35
  47. package/test/unit/context.html +20 -20
  48. package/test/unit/index.js +13 -13
  49. package/test/unit/init.js +11 -11
  50. package/test/unit/karma.conf.js +45 -45
  51. package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
  52. package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
  53. package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
  54. package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
  55. package/src/filiale/liaoyuan/GasInspection.vue +0 -572
@@ -1,219 +1,224 @@
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 form-group" >
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 form-group" >
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 form-group">
28
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
29
- <right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
30
- </div>
31
- <div class="col-sm-2 form-group">
32
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
33
- <res-select restype='department'
34
- is-mul="false"
35
- @res-select="$parent.$parent.getdep"
36
- :parentresid="$parent.$parent.depresid"
37
- :initresid='$parent.$parent.depid'>
38
- </res-select>
39
-
40
- </div>
41
- <div class="col-sm-2 form-group">
42
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
43
- <res-select restype='user'
44
- is-mul="false"
45
- @res-select="$parent.$parent.getuser"
46
- :parentresid="$parent.$parent.userresid"
47
- :initresid='$parent.$parent.operatorid'>
48
- </res-select>
49
- </div>
50
- </div>
51
- <div class="span" style = "float:right;">
52
- <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
53
- <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
54
- <report-excel id='gasprice'></report-excel>
55
- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
56
- 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
57
- </div>
58
- <div class="row" v-show="$parent.$parent.criteriaShow">
59
- <div class="col-sm-2 form-group">
60
- <label class="font_normal_body">收费状态</label>
61
- <v-select :value.sync="$parent.$parent.f_state" multiple
62
- v-model="$parent.$parent.f_state"
63
- :options='$parent.$parent.charge_state' placeholder='请选择'
64
- condition="f_state in {}"
65
- close-on-select></v-select>
66
- </div>
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: normal; 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;<br/>
82
- <!--打印时间:{{{$parent.printTime}}}-->
83
- 打印时间:{{$parent.printTime}}
84
- <!--收费员:{{// $parent.operatorname}}-->
85
- </th>
86
- </tr>
87
- <tr>
88
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
89
- <div>
90
- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
91
- <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
92
- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$parent.operatorname}}</span>
93
- </div>
94
- </th>
95
- </tr>
96
- </thead>
97
- <tr>
98
- <td :colspan='$parent.spans' class="noborder">
99
- {{{ model.data.substring(26,model.data.length-8) }}}
100
- </td>
101
- </tr>
102
- <tfoot>
103
- <tr style="text-align: left">
104
- <th :colspan='Math.floor($parent.spans/3)'>财务审核:</th>
105
- <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
106
- <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
107
- </tr>
108
- </tfoot>
109
- </table>
110
- {{{ $parent.reportStr}}}
111
- </div>
112
- </criteria-paged>
113
- </div>
114
- </template>
115
-
116
- <script>
117
- import { DataModel } from 'vue-client'
118
- import co from 'co'
119
-
120
- export default {
121
- title: '收费结账报表',
122
- props: ['data'],
123
- data () {
124
- return {
125
- printTime: this.$login.toStandardTimeString(),
126
- depresid: [],
127
- userresid: [],
128
- f_orgid: this.$login.f.orgid,
129
- f_depid: this.$login.f.depids,
130
- f_operatorid: this.$login.f.id,
131
- operatorid: [],
132
- depid: [],
133
- orgname: '',
134
- depname: '',
135
- criteriaShow: false,
136
- operatorname: '',
137
- orgCondtionStr: '1=1',
138
- f_state:['有效'],
139
- model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
140
- f_orgid: 'this.model.f_orgid'}),
141
- reportStr: null,
142
- spans: 0,
143
- initres: {
144
- org: [this.$login.f.orgid],
145
- dep: [],
146
- user: []
147
- }
148
- }
149
- },
150
- ready () {
151
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
152
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
153
- console.log(this.$login.f)
154
- },
155
- methods: {
156
- searchData () {
157
- this.$refs.paged.$refs.criteria.search()
158
- },
159
- selfSearch (args) {
160
- this.printTime = this.$login.toStandardTimeString()
161
- let orgcondition ='1=1'
162
- if (this.f_orgid && this.f_orgid[0]) {
163
- orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
164
- }
165
- if (this.f_depid && this.f_depid[0]) {
166
- orgcondition += ' and f_depid in (' + this.f_depid + ')'
167
- }
168
- if(this.f_operatorid && this.f_operatorid[0]) {
169
- orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
170
- }
171
- if(this.f_state && this.f_state[0]) {
172
- orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
173
- }
174
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
175
- this.$refs.paged.search(args)
176
- },
177
-
178
- hidden() {
179
- this.criteriaShow = !this.criteriaShow
180
- },
181
- getRes (obj) {
182
- this.orgname = obj.res[0]
183
- this.depresid = obj.resids
184
- this.f_orgid = obj.resids
185
- },
186
- getdep (obj, val) {
187
- this.depname = val[0]
188
- this.userresid = obj
189
- this.f_depid = obj
190
- },
191
- getuser ( obj, val) {
192
- this.operatorname = val[0]
193
- this.f_operatorid = obj
194
- }
195
- },
196
- watch: {
197
- 'model.data' (val) {
198
- let len=0
199
- let a=val.split('</tr>')
200
- for(let i=0;i<a.length;i++){
201
- if(a[i].split('</td>').length-1>len){
202
- len=a[i].split('</td>').length-1
203
- }
204
- }
205
- this.spans = len
206
- }
207
- },
208
- computed: {
209
- charge_state() {
210
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
211
- }
212
- }
213
- }
214
- </script>
215
- <style scoped>
216
- .noborder{
217
- border: none;
218
- }
219
- </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 form-group" >
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 form-group" >
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 form-group">
28
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;公司&nbsp;&nbsp;&nbsp; </label>
29
+ <right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;部门&nbsp;&nbsp;&nbsp; </label>
33
+ <res-select restype='department'
34
+ is-mul="false"
35
+ @res-select="$parent.$parent.getdep"
36
+ :parentresid="$parent.$parent.depresid"
37
+ :initresid='$parent.$parent.depid'>
38
+ </res-select>
39
+
40
+ </div>
41
+ <div class="col-sm-2 form-group">
42
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;人员&nbsp;&nbsp;&nbsp; </label>
43
+ <res-select restype='user'
44
+ is-mul="false"
45
+ @res-select="$parent.$parent.getuser"
46
+ :parentresid="$parent.$parent.userresid"
47
+ :initresid='$parent.$parent.operatorid'>
48
+ </res-select>
49
+ </div>
50
+ -->
51
+ <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>
52
+ </div>
53
+ <div class="span" style = "float:right;">
54
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
55
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
56
+ <report-excel id='gasprice'></report-excel>
57
+ <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
58
+ 'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
59
+ </div>
60
+ <div class="row" v-show="$parent.$parent.criteriaShow">
61
+ <div class="col-sm-2 form-group">
62
+ <label class="font_normal_body">收费状态</label>
63
+ <v-select :value.sync="$parent.$parent.f_state" multiple
64
+ v-model="$parent.$parent.f_state"
65
+ :options='$parent.$parent.charge_state' placeholder='请选择'
66
+ condition="f_state in {}"
67
+ close-on-select></v-select>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ </criteria>
72
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
73
+ <table class='tableprint' style="margin: 0px auto">
74
+ <thead>
75
+ <tr>
76
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
77
+ <h3 style="text-align: center">收费结账报表</h3>
78
+ </th>
79
+ </tr>
80
+ <tr>
81
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
82
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
83
+ 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
84
+ <!--打印时间:{{{$parent.printTime}}}-->
85
+ 打印时间:{{$parent.printTime}}
86
+ <!--收费员:{{// $parent.operatorname}}-->
87
+ </th>
88
+ </tr>
89
+ <tr>
90
+ <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
91
+ <div>
92
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
93
+ <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
94
+ <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$refs.criteria.$refs.res.obj.operatornames[0]">人员:{{$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='Math.floor($parent.spans/3)'>财务审核:</th>
107
+ <th :colspan='Math.floor($parent.spans/3)'>收款审核:</th>
108
+ <th :colspan='Math.floor($parent.spans/3)'>收款员:</th>
109
+ </tr>
110
+ </tfoot>
111
+ </table>
112
+ {{{ $parent.reportStr}}}
113
+ </div>
114
+ </criteria-paged>
115
+ </div>
116
+ </template>
117
+
118
+ <script>
119
+ import { DataModel } from 'vue-client'
120
+ import co from 'co'
121
+
122
+ export default {
123
+ title: '收费结账报表',
124
+ props: ['data'],
125
+ data () {
126
+ return {
127
+ printTime: this.$login.toStandardTimeString(),
128
+ depresid: [],
129
+ userresid: [],
130
+ f_orgid: this.$login.f.orgid,
131
+ f_depid: this.$login.f.depids,
132
+ f_operatorid: this.$login.f.id,
133
+ operatorid: [],
134
+ depid: [],
135
+ orgname: '',
136
+ depname: '',
137
+ criteriaShow: false,
138
+ operatorname: '',
139
+ orgCondtionStr: '1=1',
140
+ f_state:['有效'],
141
+ model: new DataModel('rs/report/getmoneyall', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
142
+ f_orgid: 'this.model.f_orgid'}),
143
+ reportStr: null,
144
+ resshow:['company','department','operator'],
145
+ spans: 0,
146
+ initres: {
147
+ org: [this.$login.f.orgid],
148
+ dep: [],
149
+ user: []
150
+ }
151
+ }
152
+ },
153
+ ready () {
154
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
155
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
156
+ console.log(this.$login.f)
157
+ },
158
+ methods: {
159
+ searchData () {
160
+ this.$refs.paged.$refs.criteria.search()
161
+ },
162
+ selfSearch (args) {
163
+ this.printTime = this.$login.toStandardTimeString()
164
+ let orgcondition = '1=1'
165
+ let orgstr = this.orgCondtionStr
166
+ orgcondition = orgcondition + orgstr
167
+ /* if (this.f_orgid && this.f_orgid[0]) {
168
+ orgcondition += ' and f_orgid in (' + this.f_orgid + ')'
169
+ }
170
+ if (this.f_depid && this.f_depid[0]) {
171
+ orgcondition += ' and f_depid in (' + this.f_depid + ')'
172
+ }
173
+ if(this.f_operatorid && this.f_operatorid[0]) {
174
+ orgcondition += ' and f_operatorid in (' + this.f_operatorid + ')'
175
+ }*/
176
+ if(this.f_state && this.f_state[0]) {
177
+ orgcondition += ` and f_state in('${this.f_state.toString().replace(/,/g,"','")}')`
178
+ }
179
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
180
+ this.$refs.paged.search(args)
181
+ },
182
+
183
+ hidden() {
184
+ this.criteriaShow = !this.criteriaShow
185
+ },
186
+ getRes (condition, obj) {
187
+ this.orgCondtionStr = condition
188
+ this.orgname = obj.orgnames[0]
189
+ this.depname = obj.depnames[0]
190
+ },
191
+ getdep (obj, val) {
192
+ this.depname = val[0]
193
+ this.userresid = obj
194
+ this.f_depid = obj
195
+ },
196
+ getuser ( obj, val) {
197
+ this.operatorname = val[0]
198
+ this.f_operatorid = obj
199
+ }
200
+ },
201
+ watch: {
202
+ 'model.data' (val) {
203
+ let len=0
204
+ let a=val.split('</tr>')
205
+ for(let i=0;i<a.length;i++){
206
+ if(a[i].split('</td>').length-1>len){
207
+ len=a[i].split('</td>').length-1
208
+ }
209
+ }
210
+ this.spans = len
211
+ }
212
+ },
213
+ computed: {
214
+ charge_state() {
215
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
216
+ }
217
+ }
218
+ }
219
+ </script>
220
+ <style scoped>
221
+ .noborder{
222
+ border: none;
223
+ }
224
+ </style>