manage-client 3.3.41 → 3.3.42

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.
@@ -1106,5 +1106,13 @@ export default{
1106
1106
  'f_collection': '收款', 'f_payment': '付款方式', 'f_operate_date': '收费日期', 'f_state': '状态',
1107
1107
  'f_orgname': '所属机构', 'f_depname': '部门', 'f_operator': '操作人'
1108
1108
  },
1109
+ enterpriseChargeConfig: {
1110
+ 'f_userinfo_code': '燃气户号', 'f_paper_name': '企业名称', 'f_taxpayer_id': '统一社会信用代码', 'f_orgname': '燃气公司标志',
1111
+ 'f_pregas': '用气量', 'f_preamount': '应交金额', 'f_collection': '收款', 'f_operate_date': '收费日期'
1112
+ },
1113
+ enterpriseGasConfig: {
1114
+ 'f_userinfo_code': '燃气户号', 'f_paper_name': '企业名称', 'f_taxpayer_id': '统一社会信用代码', 'f_orgname': '燃气公司标志',
1115
+ 'f_oughtamount': '用气量', 'f_oughtfee': '用气金额', 'f_whether_pay': '是否缴费', 'f_input_date': '抄表日期'
1116
+ }
1109
1117
  }
1110
1118
 
@@ -0,0 +1,310 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" v-if="!show">
6
+ <criteria-paged :model="model" v-ref:paged>
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label class="font_normal_body">企业名称</label>
12
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
+ condition="ui.f_paper_name = '{}' " placeholder="企业名称">
14
+ </div>
15
+ <div class="col-sm-2 form-group">
16
+ <label class="font_normal_body">信用代码</label>
17
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
18
+ condition="ui.f_taxpayer_id = '{}'" placeholder="客户名称">
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label class="font_normal_body">燃气户号</label>
22
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
23
+ condition="ui.f_userinfo_code = '{}' " placeholder="燃气户号">
24
+ </div>
25
+ <div class="span" style="float:right;">
26
+ <button class="button_search button_spacing" @click="search()">查询</button>
27
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
28
+ <export-excel :data="$parent.$parent.getCondition" :field="$parent.$parent.getExportField"
29
+ :header="$parent.$parent.other" sqlurl="rs/logic/exportfile"
30
+ sql-name="enterpriseChargeQuery" :choose-col="true"
31
+ template-name='企业收费查询'></export-excel>
32
+ <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model"
33
+ :field="$parent.$parent.getExportField" :defaultfield="$parent.$parent.defaultfield"
34
+ titletable="企业收费查询"></print-data>
35
+ <div style="float: right" class="button_spacing"
36
+ :class="{ 'button_shrink_top': $parent.$parent.criteriaShow, 'button_shrink_bottom': !$parent.$parent.criteriaShow }"
37
+ @click="$parent.$parent.hidden()"></div>
38
+ </div>
39
+ </div>
40
+ <div class="row" v-show="$parent.$parent.criteriaShow">
41
+ <res-select-group :initres="$parent.$parent.initres"
42
+ :show-component="['company']"
43
+ @re-res="$parent.$parent.getRes"></res-select-group>
44
+ <div class="col-sm-2 form-group">
45
+ <label for="startDate" class="font_normal_body">收费日期</label>
46
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%" v-model="model.startDate"
47
+ :value.sync="model.startDate" :format="'yyyy-MM-dd'" :show-reset-button="true"
48
+ condition="s.f_operate_date >= '{} 00:00:00'">
49
+ </datepicker>
50
+ </div>
51
+ <div class="col-sm-2 form-group">
52
+ <label for="endDate" class="font_normal_body">收费日期</label>
53
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%" v-model="model.endDate"
54
+ :value.sync="model.endDate" :format="'yyyy-MM-dd'" :show-reset-button="true"
55
+ condition="s.f_operate_date <= '{} 23:59:59'">
56
+ </datepicker>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </criteria>
61
+
62
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy"
63
+ :classname="$parent.classname">
64
+ <template partial='head'>
65
+ <tr>
66
+ <th>
67
+ <nobr>序号</nobr>
68
+ </th>
69
+ <th>
70
+ <nobr>企业名称</nobr>
71
+ </th>
72
+ <th>
73
+ <nobr>统一社会信用代码</nobr>
74
+ </th>
75
+ <th>
76
+ <nobr>燃气公司标志</nobr>
77
+ </th>
78
+ <th>
79
+ <nobr>燃气户号</nobr>
80
+ </th>
81
+ <th>
82
+ <nobr>用气量</nobr>
83
+ </th>
84
+ <th>
85
+ <nobr>用气金额</nobr>
86
+ </th>
87
+ <th>
88
+ <nobr>收款</nobr>
89
+ </th>
90
+ <th>
91
+ <nobr>收费时间</nobr>
92
+ </th>
93
+ </tr>
94
+ </template>
95
+ <template partial='body'>
96
+ <td style="text-align: center;">
97
+ <nobr>
98
+ {{ $index }}
99
+ </nobr>
100
+ </td>
101
+ <td style="text-align: center;">
102
+ <nobr>
103
+ {{ row.f_paper_name }}
104
+ </nobr>
105
+ </td>
106
+ <td style="text-align: center;">
107
+ <nobr>
108
+ {{ row.f_taxpayer_id }}
109
+ </nobr>
110
+ </td>
111
+ <td style="text-align: center;">
112
+ <nobr>
113
+ {{ row.f_orgname }}
114
+ </nobr>
115
+ </td>
116
+ <td style="text-align: center;">
117
+ <nobr>
118
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{ row.f_userinfo_code }}</a></span>
119
+ </nobr>
120
+ </td>
121
+ <td style="text-align: center;">
122
+ <nobr>
123
+ {{ row.f_pregas }}
124
+ </nobr>
125
+ </td>
126
+ <td style="text-align: center;">
127
+ <nobr>
128
+ {{ row.f_preamount }}
129
+ </nobr>
130
+ </td>
131
+ <td style="text-align: center;">
132
+ <nobr>
133
+ {{ row.f_collection }}
134
+ </nobr>
135
+ </td>
136
+ <td style="text-align: center;">
137
+ <nobr>
138
+ {{ row.f_operate_date }}
139
+ </nobr>
140
+ </td>
141
+ </template>
142
+ <template partial='foot'>
143
+ </template>
144
+ </data-grid>
145
+ </criteria-paged>
146
+ </div>
147
+ <div class="flex" v-if="show">
148
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
149
+ @cancel-main="cancel"></user-info-detail-manage-new>
150
+ </div>
151
+ </div>
152
+ </div>
153
+ </div>
154
+ </template>
155
+
156
+ <script>
157
+ import {PagedList} from 'vue-client'
158
+ import exportConfig from '../config/exportConfig'
159
+
160
+
161
+ let readySomething = async function (self) {
162
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
163
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
164
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
165
+ }
166
+
167
+ export default {
168
+ title: '收费查询',
169
+ data() {
170
+ return {
171
+ other: [],
172
+ footer: [],
173
+ model: new PagedList('rs/sql/enterpriseChargeQuery', 20),
174
+ criteriaShow: false,
175
+ orgCondtionStr: '',
176
+
177
+ modelval: [],
178
+ printshow: false,
179
+ all: false,
180
+ fields: {},
181
+ thead: '',
182
+ tfoot: '',
183
+ initres: {
184
+ org: [this.$login.f.orgid],
185
+ dep: [],
186
+ user: [],
187
+ },
188
+ show: false,
189
+ rowdata: {},
190
+ //默认打印列
191
+ defaultfield: [],
192
+ config: {
193
+ defaultPrint: []
194
+ },
195
+ }
196
+ },
197
+ ready() {
198
+ readySomething(this).then(() => {
199
+ this.$emit('ready')
200
+ }).catch((error) => {
201
+ this.$emit('error', error)
202
+ })
203
+ },
204
+ methods: {
205
+ getotherfooter() {
206
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
207
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
208
+ this.other = [];
209
+ this.footer = [];
210
+ let exportdata = this.getCondition;
211
+ let otherInData = [];
212
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
213
+ // let footerData = [], exportfield = this.getExportField;
214
+ // footerData.push("合计");
215
+ // let self = this;
216
+ // for (var field in self.sumsmodel) {
217
+ // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
218
+ // }
219
+ // this.footer.push(footerData);
220
+ this.other.push(otherInData);
221
+ },
222
+ search() {
223
+ this.$refs.paged.$refs.cri.search()
224
+ },
225
+ cancel() {
226
+ this.show = false
227
+ },
228
+ showmsg(obj) {
229
+ this.rowdata = obj
230
+ this.show = true
231
+ },
232
+ selfSearch(args) {
233
+ if (!this.orgCondtionStr) {
234
+ args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
235
+ } else {
236
+ args.condition = `${args.condition}` + this.orgCondtionStr
237
+ }
238
+ this.model.search(args.condition, args.model)
239
+ },
240
+ clear() {
241
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
242
+ this.$refs.paged.$refs.cri.model[key] = []
243
+ })
244
+ },
245
+ hidden() {
246
+ this.criteriaShow = !this.criteriaShow
247
+ },
248
+ async getRes(condition) {
249
+ this.orgCondtionStr = condition
250
+
251
+ },
252
+ stamp() {
253
+ this.all = false
254
+ //默认选择要打印的列
255
+ this.modelval = defaultPrint.config
256
+ this.fields = this.getfield
257
+ console.log('所有打印字段', this.fields)
258
+ this.printshow = true
259
+ this.put()
260
+ },
261
+ print() {
262
+ this.$refs.print.PrintAsFile()
263
+ this.printshow = false
264
+ },
265
+ close() {
266
+ this.printshow = false
267
+ this.all = false
268
+ },
269
+ // 对选择的列进行排序
270
+ sortModelval() {
271
+ let sortModel = []
272
+ Object.keys(this.fields).forEach((key) => {
273
+ if (this.modelval.includes(key)) {
274
+ sortModel.push(key)
275
+ }
276
+ })
277
+ this.modelval = sortModel
278
+ console.log('选择的打印的字段', this.modelval)
279
+ },
280
+ async initSlice(val) {
281
+ if (val) {
282
+ let getAllArea = await this.$resetpost('/rs/search', {
283
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
284
+ userid: this.$login.f.id
285
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
286
+ let arr = getAllArea.data.filter((res) => {
287
+ return res.parentid == val
288
+ })
289
+ this.bookSlice = []
290
+ console.log('过滤之后的片区-------------------', arr)
291
+ arr.forEach((res) => {
292
+ this.bookSlice.push({label: res.name, value: res.name})
293
+ })
294
+ }
295
+ }
296
+ },
297
+ watch: {
298
+ },
299
+ computed: {
300
+ getCondition() {
301
+ return {condition: `${this.$refs.paged.$refs.cri.condition}`}
302
+ },
303
+ getExportField() {
304
+ return exportConfig.enterpriseChargeConfig
305
+ },
306
+ }
307
+ }
308
+
309
+ </script>
310
+
@@ -0,0 +1,309 @@
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex">
5
+ <div style="flex:1;" class="flex" v-if="!show">
6
+ <criteria-paged :model="model" v-ref:paged>
7
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
8
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
9
+ <div class="row">
10
+ <div class="col-sm-2 form-group">
11
+ <label class="font_normal_body">企业名称</label>
12
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
13
+ condition="ui.f_paper_name = '{}' " placeholder="企业名称">
14
+ </div>
15
+ <div class="col-sm-2 form-group">
16
+ <label class="font_normal_body">信用代码</label>
17
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
18
+ condition="ui.f_taxpayer_id = '{}'" placeholder="客户名称">
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label class="font_normal_body">燃气户号</label>
22
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_olduserinfo_code"
23
+ condition="ui.f_userinfo_code = '{}' " placeholder="燃气户号">
24
+ </div>
25
+ <div class="span" style="float:right;">
26
+ <button class="button_search button_spacing" @click="search()">查询</button>
27
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
28
+ <export-excel :data="$parent.$parent.getCondition" :field="$parent.$parent.getExportField"
29
+ :header="$parent.$parent.other" sqlurl="rs/logic/exportfile"
30
+ sql-name="enterpriseGasQuery" :choose-col="true"
31
+ template-name='企业收费查询'></export-excel>
32
+ <print-data :sum-field="$parent.$parent.getExportField" :model="$parent.model"
33
+ :field="$parent.$parent.getExportField" :defaultfield="$parent.$parent.defaultfield"
34
+ titletable="企业收费查询"></print-data>
35
+ <div style="float: right" class="button_spacing"
36
+ :class="{ 'button_shrink_top': $parent.$parent.criteriaShow, 'button_shrink_bottom': !$parent.$parent.criteriaShow }"
37
+ @click="$parent.$parent.hidden()"></div>
38
+ </div>
39
+ </div>
40
+ <div class="row" v-show="$parent.$parent.criteriaShow">
41
+ <res-select-group :initres="$parent.$parent.initres"
42
+ :show-component="['company']"
43
+ @re-res="$parent.$parent.getRes"></res-select-group>
44
+ <div class="col-sm-2 form-group">
45
+ <label for="startDate" class="font_normal_body">抄表日期</label>
46
+ <datepicker id="startDate" placeholder="开始日期" style="width:60%" v-model="model.startDate"
47
+ :value.sync="model.startDate" :format="'yyyy-MM-dd'" :show-reset-button="true"
48
+ condition="h.f_input_date >= '{} 00:00:00'">
49
+ </datepicker>
50
+ </div>
51
+ <div class="col-sm-2 form-group">
52
+ <label for="endDate" class="font_normal_body">抄表日期</label>
53
+ <datepicker id="endDate" placeholder="结束日期" style="width:60%" v-model="model.endDate"
54
+ :value.sync="model.endDate" :format="'yyyy-MM-dd'" :show-reset-button="true"
55
+ condition="h.f_input_date <= '{} 23:59:59'">
56
+ </datepicker>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </criteria>
61
+
62
+ <data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy"
63
+ :classname="$parent.classname">
64
+ <template partial='head'>
65
+ <tr>
66
+ <th>
67
+ <nobr>序号</nobr>
68
+ </th>
69
+ <th>
70
+ <nobr>企业名称</nobr>
71
+ </th>
72
+ <th>
73
+ <nobr>统一社会信用代码</nobr>
74
+ </th>
75
+ <th>
76
+ <nobr>燃气公司标志</nobr>
77
+ </th>
78
+ <th>
79
+ <nobr>燃气户号</nobr>
80
+ </th>
81
+ <th>
82
+ <nobr>用气量</nobr>
83
+ </th>
84
+ <th>
85
+ <nobr>用气金额</nobr>
86
+ </th>
87
+ <th>
88
+ <nobr>是否缴费</nobr>
89
+ </th>
90
+ <th>
91
+ <nobr>抄表时间</nobr>
92
+ </th>
93
+ </tr>
94
+ </template>
95
+ <template partial='body'>
96
+ <td style="text-align: center;">
97
+ <nobr>
98
+ {{ $index }}
99
+ </nobr>
100
+ </td>
101
+ <td style="text-align: center;">
102
+ <nobr>
103
+ {{ row.f_paper_name }}
104
+ </nobr>
105
+ </td>
106
+ <td style="text-align: center;">
107
+ <nobr>
108
+ {{ row.f_taxpayer_id }}
109
+ </nobr>
110
+ </td>
111
+ <td style="text-align: center;">
112
+ <nobr>
113
+ {{ row.f_orgname }}
114
+ </nobr>
115
+ </td>
116
+ <td style="text-align: center;">
117
+ <nobr>
118
+ <span @click="$parent.$parent.$parent.showmsg(row)"><a>{{ row.f_userinfo_code }}</a></span>
119
+ </nobr>
120
+ </td>
121
+ <td style="text-align: center;">
122
+ <nobr>
123
+ {{ row.f_oughtamount }}
124
+ </nobr>
125
+ </td>
126
+ <td style="text-align: center;">
127
+ <nobr>
128
+ {{ row.f_oughtfee }}
129
+ </nobr>
130
+ </td>
131
+ <td style="text-align: center;">
132
+ <nobr>
133
+ {{ row.f_whether_pay }}
134
+ </nobr>
135
+ </td>
136
+ <td style="text-align: center;">
137
+ <nobr>
138
+ {{ row.f_input_date }}
139
+ </nobr>
140
+ </td>
141
+ </template>
142
+ <template partial='foot'>
143
+ </template>
144
+ </data-grid>
145
+ </criteria-paged>
146
+ </div>
147
+ <div class="flex" v-if="show">
148
+ <user-info-detail-manage-new :f_userinfo_id="rowdata.f_userinfo_id"
149
+ @cancel-main="cancel"></user-info-detail-manage-new>
150
+ </div>
151
+ </div>
152
+ </div>
153
+ </div>
154
+ </template>
155
+
156
+ <script>
157
+ import {PagedList} from 'vue-client'
158
+ import exportConfig from '../config/exportConfig'
159
+
160
+
161
+ let readySomething = async function (self) {
162
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString()
163
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
164
+ self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
165
+ }
166
+
167
+ export default {
168
+ title: '用气查询',
169
+ data() {
170
+ return {
171
+ other: [],
172
+ footer: [],
173
+ model: new PagedList('rs/sql/enterpriseGasQuery', 20,
174
+ {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}),
175
+ criteriaShow: false,
176
+ orgCondtionStr: '',
177
+
178
+ modelval: [],
179
+ printshow: false,
180
+ all: false,
181
+ fields: {},
182
+ thead: '',
183
+ tfoot: '',
184
+ initres: {
185
+ org: [this.$login.f.orgid],
186
+ dep: [],
187
+ user: [],
188
+ },
189
+ whetherPay: [{label: '全部', value: ''},
190
+ {label: '是', value: '是'},
191
+ {label: '否', value: '否'}],
192
+ show: false,
193
+ rowdata: {},
194
+ //默认打印列
195
+ defaultfield: [],
196
+ config: {
197
+ defaultPrint: []
198
+ },
199
+ }
200
+ },
201
+ ready() {
202
+ readySomething(this).then(() => {
203
+ this.$emit('ready')
204
+ }).catch((error) => {
205
+ this.$emit('error', error)
206
+ })
207
+ },
208
+ methods: {
209
+ getotherfooter() {
210
+ // this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
211
+ // this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
212
+ this.other = [];
213
+ this.footer = [];
214
+ let exportdata = this.getCondition;
215
+ let otherInData = [];
216
+ otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
217
+ // let footerData = [], exportfield = this.getExportField;
218
+ // footerData.push("合计");
219
+ // let self = this;
220
+ // for (var field in self.sumsmodel) {
221
+ // footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
222
+ // }
223
+ // this.footer.push(footerData);
224
+ this.other.push(otherInData);
225
+ },
226
+ search() {
227
+ this.$refs.paged.$refs.cri.search()
228
+ },
229
+ cancel() {
230
+ this.show = false
231
+ },
232
+ showmsg(obj) {
233
+ this.rowdata = obj
234
+ this.show = true
235
+ },
236
+ selfSearch(args) {
237
+ if (!this.orgCondtionStr) {
238
+ args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
239
+ } else {
240
+ args.condition = `${args.condition}` + this.orgCondtionStr
241
+ }
242
+ this.model.search(args.condition, args.model)
243
+ },
244
+ clear() {
245
+ Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
246
+ this.$refs.paged.$refs.cri.model[key] = []
247
+ })
248
+ },
249
+ hidden() {
250
+ this.criteriaShow = !this.criteriaShow
251
+ },
252
+ async getRes(condition) {
253
+ this.orgCondtionStr = condition
254
+
255
+ },
256
+ print() {
257
+ this.$refs.print.PrintAsFile()
258
+ this.printshow = false
259
+ },
260
+ close() {
261
+ this.printshow = false
262
+ this.all = false
263
+ },
264
+ // 对选择的列进行排序
265
+ sortModelval() {
266
+ let sortModel = []
267
+ Object.keys(this.fields).forEach((key) => {
268
+ if (this.modelval.includes(key)) {
269
+ sortModel.push(key)
270
+ }
271
+ })
272
+ this.modelval = sortModel
273
+ console.log('选择的打印的字段', this.modelval)
274
+ },
275
+ async initSlice(val) {
276
+ if (val) {
277
+ let getAllArea = await this.$resetpost('/rs/search', {
278
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
279
+ userid: this.$login.f.id
280
+ }, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
281
+ let arr = getAllArea.data.filter((res) => {
282
+ return res.parentid == val
283
+ })
284
+ this.bookSlice = []
285
+ console.log('过滤之后的片区-------------------', arr)
286
+ arr.forEach((res) => {
287
+ this.bookSlice.push({label: res.name, value: res.name})
288
+ })
289
+ }
290
+ }
291
+ },
292
+ watch: {
293
+ },
294
+ computed: {
295
+ getCondition() {
296
+ return {
297
+ condition: `${this.$refs.paged.$refs.cri.condition}`,
298
+ startDate: this.$refs.paged.$refs.cri.model.startDate,
299
+ endDate: this.$refs.paged.$refs.cri.model.endDate,
300
+ }
301
+ },
302
+ getExportField() {
303
+ return exportConfig.enterpriseGasConfig
304
+ },
305
+ }
306
+ }
307
+
308
+ </script>
309
+
@@ -0,0 +1,40 @@
1
+ <template>
2
+ <tab-button class="foot_tabset" :active="-1">
3
+ <tabs header="收费查询" v-if="permission('收费查询')">
4
+ <enterprise-charge-query v-if="show.includes('收费查询')"></enterprise-charge-query>
5
+ </tabs>
6
+ <tabs header="用气查询" v-if="permission('用气查询')">
7
+ <enterprise-gas-query v-if="show.includes('用气查询')"></enterprise-gas-query>
8
+ </tabs>
9
+
10
+ </tab-button>
11
+
12
+ </template>
13
+
14
+ <script>
15
+ import TabButton from '../common/TabButton'
16
+ import Tabs from '../common/Tabs'
17
+
18
+ export default {
19
+ title: '档案查询',
20
+ data() {
21
+ return {
22
+ show: []
23
+ }
24
+ },
25
+ components: {Tabs, TabButton},
26
+ methods: {
27
+ permission(name) {
28
+ if (this.$login.r.find(value => value == '综合查询')) {
29
+ if (!this.$login.r.find(value => value == name)) {
30
+ return false
31
+ }
32
+ }
33
+ return true
34
+ }
35
+ }
36
+ }
37
+ </script>
38
+
39
+ <style scoped>
40
+ </style>
@@ -636,8 +636,8 @@
636
636
 
637
637
  <script>
638
638
  import {HttpResetClass, PagedList} from 'vue-client'
639
- import defaultPrint from '../../components/sale/config/DefaultPrint'
640
- import exportConfig from '../../components/sale/config/exportConfig'
639
+ import defaultPrint from './config/DefaultPrint'
640
+ import exportConfig from './config/exportConfig'
641
641
  let cardBtnGen = async function (self, val) {
642
642
  self.cardInfo = val.data
643
643