manage-client-xy 3.2.28 → 3.2.30

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 (31) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/components/SellReport/FinancialStatement.vue +30 -0
  4. package/src/components/SellReport/ManageBusSummary.vue +241 -241
  5. package/src/components/SellReport/SmartKitchenSummary.vue +275 -275
  6. package/src/components/SellReport/UserNumber.vue +30 -0
  7. package/src/components/SellReport/XianYangNewCharge.vue +355 -355
  8. package/src/components/sale/businessquery/AreaGeneralQuery.vue +715 -700
  9. package/src/components/sale/businessquery/CMHGasQuery.vue +441 -411
  10. package/src/components/sale/businessquery/ChangeMeterQuery.vue +659 -630
  11. package/src/components/sale/businessquery/ChangeUserQuery.vue +403 -373
  12. package/src/components/sale/businessquery/ChargeQuery.vue +1027 -997
  13. package/src/components/sale/businessquery/DisableQuery.vue +433 -403
  14. package/src/components/sale/businessquery/EnableQuery.vue +422 -392
  15. package/src/components/sale/businessquery/FMYGasQuery.vue +440 -410
  16. package/src/components/sale/businessquery/FillCardQuery.vue +522 -492
  17. package/src/components/sale/businessquery/FillGasQuery.vue +506 -476
  18. package/src/components/sale/businessquery/HandplanQuery.vue +728 -698
  19. package/src/components/sale/businessquery/LogQuery.vue +301 -269
  20. package/src/components/sale/businessquery/NewAccountQuery.vue +518 -488
  21. package/src/components/sale/businessquery/OtherChargeQuery.vue +432 -402
  22. package/src/components/sale/businessquery/RecordQuery.vue +399 -369
  23. package/src/components/sale/businessquery/ResidentialQuery.vue +417 -387
  24. package/src/components/sale/businessquery/ReverseQuery.vue +459 -429
  25. package/src/components/sale/businessquery/SellingHand.vue +408 -378
  26. package/src/components/sale/businessquery/TransferQuery.vue +589 -559
  27. package/src/components/sale/businessquery/cancelAccountQuery.vue +518 -488
  28. package/src/components/sale/filesquery/DeviceQuery.vue +30 -0
  29. package/src/components/sale/filesquery/MeterQuery.vue +30 -0
  30. package/src/components/sale/filesquery/UserQuery.vue +796 -764
  31. package/src/components/webmeter/DrillData/UserGasAll.vue +30 -1
@@ -1,275 +1,275 @@
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">
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">
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">
30
- <label class="font_normal_body">&emsp;&emsp;公司:</label>
31
- <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
- </div>
33
- <div class="col-sm-4">
34
- <label class="font_normal_body">&emsp;&emsp;部门:</label>
35
- <res-select restype='department'
36
- is-mul="false"
37
- @res-select="$parent.$parent.getdep"
38
- :parentresid="$parent.$parent.depresid"
39
- :initresid='$parent.$parent.depid'>
40
- </res-select>
41
-
42
- </div>
43
- <div class="col-sm-4">
44
- <label class="font_normal_body">&emsp;&emsp;人员:</label>
45
- <res-select restype='user'
46
- is-mul="false"
47
- @res-select="$parent.$parent.getuser"
48
- :parentresid="$parent.$parent.userresid"
49
- :initresid='$parent.$parent.operatorid'>
50
- </res-select>
51
- </div>
52
- <div class="col-sm-4" style="float:right;">
53
- <label class="font_normal_body">&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&nbsp;</label>
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'
57
- v-if="$parent.$parent.jurisdiction.includes('excel导出')"
58
- ></report-excel>
59
- </div>
60
- </div>
61
- </div>
62
- </criteria>
63
- <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
64
- <table class='tableprint' style="margin: 0px auto">
65
- <thead>
66
- <tr>
67
- <th colspan='17' style="font-weight: normal; text-align: left;">
68
- <h3 style="text-align: center">智慧厨房报表</h3>
69
- </th>
70
- </tr>
71
- <tr>
72
- <th colspan='17' style="font-weight: normal; text-align: center;">
73
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
74
- 结束时间:{{ model.model.endDate }}
75
- </th>
76
- </tr>
77
- <tr>
78
- <th colspan='17' style="font-weight: normal; text-align: center;">
79
- 打印时间:{{{$parent.printTime}}}
80
- </th>
81
- </tr>
82
- <tr>
83
- <th colspan='17' style="font-weight: normal; text-align: center;">
84
- <div>
85
- <span v-show="$parent.orgname.trim()!=''">公司:{{ $parent.orgname }}</span>
86
- <span v-show="$parent.depname.trim()!=''"> 部门:{{ $parent.depname }}</span>
87
- <span v-show="$parent.operatorname.trim()!=''">人员:{{ $parent.operatorname }}</span>
88
- </div>
89
- </th>
90
- </tr>
91
- </thead>
92
- <tr>
93
- <td colspan='17'>
94
- {{{ model.data.substring(26,model.data.length-8) }}}
95
- </td>
96
- </tr>
97
- <tfoot>
98
- <tr style="text-align: left">
99
- <th colspan='6'>财务审核:</th>
100
- <th colspan='6'>收款审核:</th>
101
- <th colspan='5'>收款员:</th>
102
- </tr>
103
- </tfoot>
104
- </table>
105
- {{{ $parent.reportStr}}}
106
- </div>
107
- </criteria-paged>
108
- <modal :show.sync="show" v-ref:modal small backdrop="false">
109
- <header slot="modal-header" class="modal-header">
110
- <h4 class="modal-title">输入文件名称</h4>
111
- </header>
112
- <article slot="modal-body" class="modal-body">
113
- <div class="form-group">
114
- <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
115
- </div>
116
- </article>
117
- <footer slot="modal-footer" class="modal-footer">
118
- <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
119
- <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
120
- </footer>
121
- </modal>
122
- </div>
123
- </template>
124
-
125
- <script>
126
- import { DataModel } from 'vue-client'
127
- import co from 'co'
128
- let saveFile = function * (self) {
129
- // 线验证文件是否重名
130
- let count = yield self.$resetpost('rs/sql/manageSingleTable',
131
- {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
132
- {resolveMsg: null, rejectMsg: null})
133
- if (count.data.length > 0) {
134
- self.$showAlert('无法保存,文件名重名', 'warning', 3000)
135
- return
136
- }
137
- let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
138
- f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
139
- f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
140
- f_outlets: this.$login.f.depname})
141
- if (saveBack.data.status === 'succeed') {
142
- self.show = false
143
- self.filename = ''
144
- // 后台保存完成,通知刷新
145
- self.$dispatch('save-success', self.filename)
146
- }
147
- }
148
- export default {
149
- title: '智慧厨房报表',
150
- props: ['data'],
151
- data () {
152
- return {
153
- printTime: this.$login.toStandardTimeString(),
154
- depresid: [],
155
- userresid: [],
156
- f_orgid: this.$login.f.orgid,
157
- f_depid: this.$login.f.depids,
158
- f_operatorid: this.$login.f.id,
159
- jurisdiction: this.$login.r,
160
- operatorid: [],
161
- depid: [],
162
- orgname: '',
163
- depname: '',
164
- operatorname: '',
165
- f_inputtor:[],
166
- f_user_type:'',
167
- orgCondtionStr: '1=1',
168
- model: new DataModel('rs/report/smartKitchenReport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
169
- f_orgid: 'this.model.f_orgid'}),
170
- reportStr: null,
171
- show: false
172
- }
173
- },
174
- ready () {
175
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
176
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
177
- this.$refs.paged.$refs.criteria.search()
178
- console.log(this.$login.f)
179
- },
180
- methods: {
181
- searchData () {
182
- this.$refs.paged.$refs.criteria.search()
183
- },
184
- selfSearch (args) {
185
- this.printTime = this.$login.toStandardTimeString()
186
- let orgcondition ='1=1'
187
- if (this.f_orgid[0]) {
188
- var id = this.f_orgid.toString()
189
- var ids = id.split(',')
190
- console.log('几个公司:'+ids.length)
191
- var orgids = ''
192
- var f_orgids = ''
193
- if(ids.length==1){
194
- f_orgids += "'"+ids[0]+"'"
195
- }else{
196
- for (var i = 0;i<ids.length;i++){
197
- console.log('id = ' + ids[i])
198
- orgids += "'"+ids[i]+"',"
199
- }
200
- f_orgids = orgids.substring(0,orgids.length-1)
201
- }
202
-
203
- orgcondition += " and f_orgid in ( " + f_orgids + " ) "
204
- console.log('f_orgids:' + f_orgids)
205
- }
206
- if (this.f_depid[0]) {
207
- orgcondition += " and F_DEPNAME like '%" + this.depname + "%'"
208
- }
209
- if(this.f_operatorid[0]) {
210
- orgcondition += " and f_operator like '%" + this.operatorname + "%'"
211
- }
212
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
213
- this.$refs.paged.search(args)
214
- },
215
- getRes (obj) {
216
- this.orgname = obj.res[0]
217
- this.depresid = obj.resids
218
- this.f_orgid = obj.resids
219
- this.userresid = obj.resids
220
- },
221
- getdep (obj, val) {
222
- this.depname = val[0]
223
- this.f_depid = obj
224
- },
225
- getuser ( obj, val) {
226
- this.operatorname = val[0]
227
- this.f_operatorid = obj
228
- },
229
- // 根据文件路径获取储存的报表内容
230
- getFileContent (path) {
231
- this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
232
- this.reportStr = res.data.filecontent
233
- this.model.state = '正确'
234
- })
235
- },
236
- confirm () {
237
- if (!this.filename || this.filename === '') {
238
- this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
239
- }
240
- let saveGen = saveFile(this)
241
- co(saveGen)
242
- },
243
- close () {
244
- this.show = false
245
- },
246
- // 将报表保存成文件
247
- confirmReport () {
248
- this.show = true
249
- this.filename = this.data.f_report_name + this.$login.toStandardDateString()
250
- },
251
- },
252
- watch: {
253
- 'data' (val) {
254
- if (val.f_files_path) {
255
- this.getFileContent(val.f_files_path)
256
- } else {
257
- this.reportStr = null
258
- }
259
- }
260
- },
261
- computed: {
262
- usertypes() {
263
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
264
- },
265
- inputtor() {
266
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
267
- },
268
- }
269
- }
270
- </script>
271
- <style scoped>
272
- .noborder{
273
- border: none;
274
- }
275
- </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
+ <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">
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">
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">
30
+ <label class="font_normal_body">&emsp;&emsp;公司:</label>
31
+ <right-tree @re-res="$parent.$parent.getRes"></right-tree>
32
+ </div>
33
+ <div class="col-sm-4">
34
+ <label class="font_normal_body">&emsp;&emsp;部门:</label>
35
+ <res-select restype='department'
36
+ is-mul="false"
37
+ @res-select="$parent.$parent.getdep"
38
+ :parentresid="$parent.$parent.depresid"
39
+ :initresid='$parent.$parent.depid'>
40
+ </res-select>
41
+
42
+ </div>
43
+ <div class="col-sm-4">
44
+ <label class="font_normal_body">&emsp;&emsp;人员:</label>
45
+ <res-select restype='user'
46
+ is-mul="false"
47
+ @res-select="$parent.$parent.getuser"
48
+ :parentresid="$parent.$parent.userresid"
49
+ :initresid='$parent.$parent.operatorid'>
50
+ </res-select>
51
+ </div>
52
+ <div class="col-sm-4" style="float:right;">
53
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&nbsp;</label>
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'
57
+ v-if="$parent.$parent.jurisdiction.includes('excel导出')"
58
+ ></report-excel>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </criteria>
63
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
64
+ <table class='tableprint' style="margin: 0px auto">
65
+ <thead>
66
+ <tr>
67
+ <th colspan='17' style="font-weight: normal; text-align: left;">
68
+ <h3 style="text-align: center">智慧厨房报表</h3>
69
+ </th>
70
+ </tr>
71
+ <tr>
72
+ <th colspan='17' style="font-weight: normal; text-align: center;">
73
+ 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
74
+ 结束时间:{{ model.model.endDate }}
75
+ </th>
76
+ </tr>
77
+ <tr>
78
+ <th colspan='17' style="font-weight: normal; text-align: center;">
79
+ 打印时间:{{{$parent.printTime}}}
80
+ </th>
81
+ </tr>
82
+ <tr>
83
+ <th colspan='17' style="font-weight: normal; text-align: center;">
84
+ <div>
85
+ <span v-show="$parent.orgname.trim()!=''">公司:{{ $parent.orgname }}</span>
86
+ <span v-show="$parent.depname.trim()!=''"> 部门:{{ $parent.depname }}</span>
87
+ <span v-show="$parent.operatorname.trim()!=''">人员:{{ $parent.operatorname }}</span>
88
+ </div>
89
+ </th>
90
+ </tr>
91
+ </thead>
92
+ <tr>
93
+ <td colspan='17'>
94
+ {{{ model.data.substring(26,model.data.length-8) }}}
95
+ </td>
96
+ </tr>
97
+ <tfoot>
98
+ <tr style="text-align: left">
99
+ <th colspan='6'>财务审核:</th>
100
+ <th colspan='6'>收款审核:</th>
101
+ <th colspan='5'>收款员:</th>
102
+ </tr>
103
+ </tfoot>
104
+ </table>
105
+ {{{ $parent.reportStr}}}
106
+ </div>
107
+ </criteria-paged>
108
+ <modal :show.sync="show" v-ref:modal small backdrop="false">
109
+ <header slot="modal-header" class="modal-header">
110
+ <h4 class="modal-title">输入文件名称</h4>
111
+ </header>
112
+ <article slot="modal-body" class="modal-body">
113
+ <div class="form-group">
114
+ <input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
115
+ </div>
116
+ </article>
117
+ <footer slot="modal-footer" class="modal-footer">
118
+ <button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
119
+ <button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
120
+ </footer>
121
+ </modal>
122
+ </div>
123
+ </template>
124
+
125
+ <script>
126
+ import { DataModel } from 'vue-client'
127
+ import co from 'co'
128
+ let saveFile = function * (self) {
129
+ // 线验证文件是否重名
130
+ let count = yield self.$resetpost('rs/sql/manageSingleTable',
131
+ {data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
132
+ {resolveMsg: null, rejectMsg: null})
133
+ if (count.data.length > 0) {
134
+ self.$showAlert('无法保存,文件名重名', 'warning', 3000)
135
+ return
136
+ }
137
+ let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
138
+ f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
139
+ f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
140
+ f_outlets: this.$login.f.depname})
141
+ if (saveBack.data.status === 'succeed') {
142
+ self.show = false
143
+ self.filename = ''
144
+ // 后台保存完成,通知刷新
145
+ self.$dispatch('save-success', self.filename)
146
+ }
147
+ }
148
+ export default {
149
+ title: '智慧厨房报表',
150
+ props: ['data'],
151
+ data () {
152
+ return {
153
+ printTime: this.$login.toStandardTimeString(),
154
+ depresid: [],
155
+ userresid: [],
156
+ f_orgid: this.$login.f.orgid,
157
+ f_depid: this.$login.f.depids,
158
+ f_operatorid: this.$login.f.id,
159
+ jurisdiction: this.$login.r,
160
+ operatorid: [],
161
+ depid: [],
162
+ orgname: '',
163
+ depname: '',
164
+ operatorname: '',
165
+ f_inputtor:[],
166
+ f_user_type:'',
167
+ orgCondtionStr: '1=1',
168
+ model: new DataModel('rs/report/smartKitchenReport', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
169
+ f_orgid: 'this.model.f_orgid'}),
170
+ reportStr: null,
171
+ show: false
172
+ }
173
+ },
174
+ ready () {
175
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
176
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
177
+ this.$refs.paged.$refs.criteria.search()
178
+ console.log(this.$login.f)
179
+ },
180
+ methods: {
181
+ searchData () {
182
+ this.$refs.paged.$refs.criteria.search()
183
+ },
184
+ selfSearch (args) {
185
+ this.printTime = this.$login.toStandardTimeString()
186
+ let orgcondition ='1=1'
187
+ if (this.f_orgid[0]) {
188
+ var id = this.f_orgid.toString()
189
+ var ids = id.split(',')
190
+ console.log('几个公司:'+ids.length)
191
+ var orgids = ''
192
+ var f_orgids = ''
193
+ if(ids.length==1){
194
+ f_orgids += "'"+ids[0]+"'"
195
+ }else{
196
+ for (var i = 0;i<ids.length;i++){
197
+ console.log('id = ' + ids[i])
198
+ orgids += "'"+ids[i]+"',"
199
+ }
200
+ f_orgids = orgids.substring(0,orgids.length-1)
201
+ }
202
+
203
+ orgcondition += " and f_orgid in ( " + f_orgids + " ) "
204
+ console.log('f_orgids:' + f_orgids)
205
+ }
206
+ if (this.f_depid[0]) {
207
+ orgcondition += " and F_DEPNAME like '%" + this.depname + "%'"
208
+ }
209
+ if(this.f_operatorid[0]) {
210
+ orgcondition += " and f_operator like '%" + this.operatorname + "%'"
211
+ }
212
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
213
+ this.$refs.paged.search(args)
214
+ },
215
+ getRes (obj) {
216
+ this.orgname = obj.res[0]
217
+ this.depresid = obj.resids
218
+ this.f_orgid = obj.resids
219
+ this.userresid = obj.resids
220
+ },
221
+ getdep (obj, val) {
222
+ this.depname = val[0]
223
+ this.f_depid = obj
224
+ },
225
+ getuser ( obj, val) {
226
+ this.operatorname = val[0]
227
+ this.f_operatorid = obj
228
+ },
229
+ // 根据文件路径获取储存的报表内容
230
+ getFileContent (path) {
231
+ this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
232
+ this.reportStr = res.data.filecontent
233
+ this.model.state = '正确'
234
+ })
235
+ },
236
+ confirm () {
237
+ if (!this.filename || this.filename === '') {
238
+ this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
239
+ }
240
+ let saveGen = saveFile(this)
241
+ co(saveGen)
242
+ },
243
+ close () {
244
+ this.show = false
245
+ },
246
+ // 将报表保存成文件
247
+ confirmReport () {
248
+ this.show = true
249
+ this.filename = this.data.f_report_name + this.$login.toStandardDateString()
250
+ },
251
+ },
252
+ watch: {
253
+ 'data' (val) {
254
+ if (val.f_files_path) {
255
+ this.getFileContent(val.f_files_path)
256
+ } else {
257
+ this.reportStr = null
258
+ }
259
+ }
260
+ },
261
+ computed: {
262
+ usertypes() {
263
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
264
+ },
265
+ inputtor() {
266
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表员')]
267
+ },
268
+ }
269
+ }
270
+ </script>
271
+ <style scoped>
272
+ .noborder{
273
+ border: none;
274
+ }
275
+ </style>
@@ -38,6 +38,36 @@
38
38
  condition="f_user_state in {}"
39
39
  close-on-select></v-select>
40
40
  </div>
41
+ <div class="col-sm-2 form-group">
42
+ <label class="font_normal_body">房产地址</label>
43
+ <input class="input_search" condition="f_house_address = '{}'"
44
+ placeholder='房产地址'
45
+ style="width:60%" type="text" v-model="model.f_house_address">
46
+ </div>
47
+ <div class="col-sm-2 form-group">
48
+ <label class="font_normal_body">用途</label>
49
+ <input class="input_search" condition="f_property_usage = '{}'"
50
+ placeholder='用途'
51
+ style="width:60%" type="text" v-model="model.f_property_usage">
52
+ </div>
53
+ <div class="col-sm-2 form-group">
54
+ <label class="font_normal_body">房型</label>
55
+ <input class="input_search" condition="f_house_type = '{}'"
56
+ placeholder='房型'
57
+ style="width:60%" type="text" v-model="model.f_house_type">
58
+ </div>
59
+ <div class="col-sm-2 form-group">
60
+ <label class="font_normal_body">是否一户多表</label>
61
+ <input class="input_search" condition="f_is_multi_meter = '{}'"
62
+ placeholder='是否一户多表'
63
+ style="width:60%" type="text" v-model="model.f_is_multi_meter">
64
+ </div>
65
+ <div class="col-sm-2 form-group">
66
+ <label class="font_normal_body">关联ID</label>
67
+ <input class="input_search" condition="f_house_id = '{}'"
68
+ placeholder='关联ID'
69
+ style="width:60%" type="text" v-model="model.f_house_id">
70
+ </div>
41
71
  <div class="col-sm-4" style="float:right;">
42
72
  <label class="font_normal_body">&nbsp;&nbsp;&nbsp;&emsp;&emsp;&nbsp;&nbsp;&nbsp;</label>
43
73
  <button class="button_search" @click="$parent.$parent.searchData()">查询</button>