manage-client-xy 3.2.29 → 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 (23) hide show
  1. package/build/dev-server.js +2 -2
  2. package/package.json +1 -1
  3. package/src/components/sale/businessquery/AreaGeneralQuery.vue +715 -715
  4. package/src/components/sale/businessquery/CMHGasQuery.vue +441 -441
  5. package/src/components/sale/businessquery/ChangeMeterQuery.vue +659 -659
  6. package/src/components/sale/businessquery/ChangeUserQuery.vue +403 -403
  7. package/src/components/sale/businessquery/ChargeQuery.vue +1027 -1027
  8. package/src/components/sale/businessquery/DisableQuery.vue +433 -433
  9. package/src/components/sale/businessquery/EnableQuery.vue +422 -422
  10. package/src/components/sale/businessquery/FMYGasQuery.vue +440 -440
  11. package/src/components/sale/businessquery/FillCardQuery.vue +522 -522
  12. package/src/components/sale/businessquery/FillGasQuery.vue +506 -506
  13. package/src/components/sale/businessquery/HandplanQuery.vue +728 -728
  14. package/src/components/sale/businessquery/LogQuery.vue +301 -301
  15. package/src/components/sale/businessquery/NewAccountQuery.vue +518 -518
  16. package/src/components/sale/businessquery/OtherChargeQuery.vue +432 -432
  17. package/src/components/sale/businessquery/RecordQuery.vue +399 -399
  18. package/src/components/sale/businessquery/ResidentialQuery.vue +417 -417
  19. package/src/components/sale/businessquery/ReverseQuery.vue +459 -459
  20. package/src/components/sale/businessquery/SellingHand.vue +408 -408
  21. package/src/components/sale/businessquery/TransferQuery.vue +589 -589
  22. package/src/components/sale/businessquery/cancelAccountQuery.vue +518 -518
  23. package/src/components/sale/filesquery/UserQuery.vue +796 -796
@@ -1,301 +1,301 @@
1
- <template>
2
- <div id="unit" class="flex-row">
3
- <div class="basic-main" @keyup.enter="search">
4
- <div class="flex" v-if="!show">
5
- <criteria-paged :model="model" v-ref:paged>
6
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
- <div novalidate class="form-inline auto" partial>
8
- <div class="row">
9
- <div class="col-sm-2 form-group">
10
- <label class="font_normal_body">操作人</label>
11
- <input type="text" style="width:60%" class="input_search" v-model="model.f_operator"
12
- condition="tr.f_operator = '{}' " placeholder="操作人">
13
- </div>
14
- <div class="col-sm-2 form-group">
15
- <label class="font_normal_body">操作类型</label>
16
- <input type="text" style="width:60%" class="input_search" v-model="model.f_operat_type"
17
- condition="f_operat_type like '%{}%'" placeholder="操作类型">
18
- </div>
19
- <div class="col-sm-4 form-group">
20
- <label class="font_normal_body">操作日期</label>
21
- <datepicker id="startDate" placeholder="操作日期" style="width:60%"
22
- v-model="model.startDate"
23
- :value.sync="model.startDate"
24
- :format="'yyyy-MM-dd HH:mm:ss'"
25
- :show-reset-button="true"
26
- condition="f_operate_date >= to_date('{}','yyyy-mm-dd hh24:mi:ss')">
27
- </datepicker>
28
-
29
- <label for="startDate" class="font_normal_body">至</label>
30
-
31
- <datepicker id="endDate" style="width:60%"
32
- v-model="model.endDate"
33
- :value.sync="model.endDate"
34
- :format="'yyyy-MM-dd HH:mm:ss'"
35
- :show-reset-button="true"
36
- condition="f_operate_date <= to_date('{}','yyyy-mm-dd hh24:mi:ss')">
37
- </datepicker>
38
- </div>
39
- <div class="span" style="float:right;">
40
- <button class="button_search button_spacing" @click="search()">查询</button>
41
- <export-excel :data="$parent.$parent.getCondition"
42
- :field="$parent.$parent.getfield"
43
- sqlurl="rs/logic/exportfile" sql-name="GMHgasQuery" template-name='日志查询导出'
44
- v-if ="$parent.$parent.jurisdiction.includes('excel导出')"
45
- :choose-col="true"></export-excel>
46
-
47
- </div>
48
- </div>
49
- <div class="row">
50
- <div class="col-sm-2 form-group">
51
- <label class="font_normal_body">房产地址</label>
52
- <input class="input_search" condition="f_house_address = '{}'"
53
- placeholder='房产地址'
54
- style="width:60%" type="text" v-model="model.f_house_address">
55
- </div>
56
- <div class="col-sm-2 form-group">
57
- <label class="font_normal_body">用途</label>
58
- <input class="input_search" condition="f_property_usage = '{}'"
59
- placeholder='用途'
60
- style="width:60%" type="text" v-model="model.f_property_usage">
61
- </div>
62
- <div class="col-sm-2 form-group">
63
- <label class="font_normal_body">房型</label>
64
- <input class="input_search" condition="f_house_type = '{}'"
65
- placeholder='房型'
66
- style="width:60%" type="text" v-model="model.f_house_type">
67
- </div>
68
- <div class="col-sm-2 form-group">
69
- <label class="font_normal_body">是否一户多表</label>
70
- <input class="input_search" condition="f_is_multi_meter = '{}'"
71
- placeholder='是否一户多表'
72
- style="width:60%" type="text" v-model="model.f_is_multi_meter">
73
- </div>
74
- <div class="col-sm-2 form-group">
75
- <label class="font_normal_body">关联ID</label>
76
- <input class="input_search" condition="f_house_id = '{}'"
77
- placeholder='关联ID'
78
- style="width:60%" type="text" v-model="model.f_house_id">
79
- </div>
80
- </div>
81
-
82
- </div>
83
- </criteria>
84
- <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
85
- <template partial='head'>
86
- <tr>
87
- <th>
88
- <nobr>操作人</nobr>
89
- </th>
90
- <th>
91
- <nobr>功能描述</nobr>
92
- </th>
93
- <th>
94
- <nobr>操作时间</nobr>
95
- </th>
96
- <th>
97
- <nobr>操作类型</nobr>
98
- </th>
99
- <th>
100
- <nobr>操作原因</nobr>
101
- </th>
102
- <th>
103
- <nobr>登录/退出</nobr>
104
- </th>
105
- <th>
106
- <nobr>公司</nobr>
107
- </th>
108
- <th>
109
- <nobr>部门</nobr>
110
- </th>
111
-
112
- </tr>
113
- </template>
114
- <template partial='body'>
115
- <td style="text-align: center;">
116
- <nobr>{{ row.f_operator }}</nobr>
117
- </td>
118
- <td style="text-align: center;">
119
- <nobr>{{ row.f_describe }}</nobr>
120
- </td>
121
- <td style="text-align: center;">
122
- <nobr>{{ row.f_operate_date }}</nobr>
123
- </td>
124
- <td style="text-align: center;">
125
- <nobr>{{ row.f_operat_type }}</nobr>
126
- </td>
127
- <td style="text-align: center;">
128
- <nobr>{{ row.f_comments }}</nobr>
129
- </td>
130
- <td style="text-align: center;">
131
- <nobr>{{ row.type }}</nobr>
132
- </td>
133
- <td style="text-align: center;">
134
- <nobr>{{ row.f_orgname }}</nobr>
135
- </td>
136
- <td style="text-align: center;">
137
- <nobr>{{ row.f_depname }}</nobr>
138
- </td>
139
- </template>
140
- <template partial='foot'></template>
141
- </data-grid>
142
- </criteria-paged>
143
- </div>
144
- </div>
145
-
146
- </div>
147
- </template>
148
- <script>
149
- import {HttpResetClass, PagedList} from 'vue-client'
150
- import defaultPrint from '../config/DefaultPrint'
151
- import exportConfig from '../config/exportConfig'
152
-
153
- let readySomething = async function (self) {
154
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
155
- self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
156
- await self.$MagLoadParams.loadParam()
157
- self.initParams()
158
- }
159
- export default {
160
- title: '日志查询',
161
- name: 'AddMaterial',
162
- data() {
163
- return {
164
-
165
- model: new PagedList('rs/sql/LogQuery', 30, {}),
166
- initres: {
167
- org: [this.$login.f.orgid],
168
- dep: [],
169
- user: [],
170
- },
171
- gasproperties: [],
172
- orgCondtionStr: '',
173
- show: false,
174
- rowdata: {},
175
- criteriaShow: false,
176
- jurisdiction: this.$login.r,
177
- modelval: [],
178
- printshow: false,
179
- showComponent: ['company', 'department', 'operator'],
180
- all: false,
181
- fields: {},
182
- thead: '',
183
- tfoot: '',
184
- residentialArea: [],
185
- //合计数据
186
- sumsmodel: {},
187
- defaultfield: [],
188
- metertype: [{label: '全部', value: ''}, {label: '卡表', value: '卡表'}, {label: '机表', value: '机表'}]
189
- }
190
- },
191
- ready() {
192
- readySomething(this)
193
- },
194
- methods: {
195
- userTypeChange() {
196
- this.gasproperties = []
197
- if (this.$refs.paged.model.model !== null) {
198
- this.$refs.paged.model.model.f_gasproperties = ''
199
-
200
- console.log(this.$refs.paged.model.model.f_user_type[0])
201
- this.gasproperties = this.$appdata.getParam(this.$refs.paged.model.model.f_user_type[0])
202
- // this.gasproperties.push({label: '全部', value: ''})
203
- } else {
204
- this.gasproperties = [{label: '全部', value: ''}]
205
- }
206
- },
207
- search() {
208
- this.$refs.paged.$refs.cri.search()
209
- },
210
- cancel() {
211
- this.show = false
212
- },
213
- selfSearch(args) {
214
- args.condition = `${args.condition}` + this.orgCondtionStr
215
- this.model.search(args.condition, args.model)
216
- this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
217
- },
218
-
219
- show() {
220
- this.criteriaShow = true
221
- },
222
-
223
- stamp() {
224
- this.all = false
225
- //默认选择要打印的列
226
- this.modelval = defaultPrint.config
227
- this.fields = this.getfield
228
- console.log('所有打印字段', this.fields)
229
- this.printshow = true
230
- this.put()
231
- },
232
- put() {
233
- // 对Modelval进行排序
234
- this.sortModelval()
235
- this.thead = `<tr><th colspan=${this.modelval.length}>收费查询统计报表</th></tr><tr>`
236
- for (let key of this.modelval) {
237
- this.thead += '<th>' + this.fields[key] + '</th>'
238
- }
239
- this.thead += '</tr>'
240
- },
241
- print() {
242
- this.$refs.print.PrintAsFile()
243
- this.printshow = false
244
- },
245
-
246
- getRes(obj) {
247
- this.orgCondtionStr = obj
248
- },
249
- close() {
250
- this.printshow = false
251
- this.all = false
252
- },
253
- // 对选择的列进行排序
254
- sortModelval() {
255
- let sortModel = []
256
- Object.keys(this.fields).forEach((key) => {
257
- if (this.modelval.includes(key)) {
258
- sortModel.push(key)
259
- }
260
- })
261
- this.modelval = sortModel
262
- console.log('选择的打印的字段', this.modelval)
263
- }
264
-
265
- },
266
- computed: {
267
- getCondition() {
268
- return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
269
- endDate: `${this.$refs.paged.$refs.cri.model.endDate}`}
270
- },
271
- getfield() {
272
- return exportConfig.logConfig
273
- },
274
- usertypes() {
275
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
276
- },
277
- },
278
- events: {},
279
- watch: {
280
- 'all'(val) {
281
- if (val) {
282
- this.modelval = this.bodyData
283
- } else {
284
- this.modelval = defaultPrint.config
285
- this.put()
286
- }
287
- },
288
- 'modelval.length'() {
289
- this.put()
290
- },
291
- }
292
- }
293
- </script>
294
- <style>
295
- .datapanel {
296
- color: #333;
297
- background-color: white;
298
- padding: 10px 20px;
299
- border-radius: 15px;
300
- }
301
- </style>
1
+ <template>
2
+ <div id="unit" class="flex-row">
3
+ <div class="basic-main" @keyup.enter="search">
4
+ <div class="flex" v-if="!show">
5
+ <criteria-paged :model="model" v-ref:paged>
6
+ <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
7
+ <div novalidate class="form-inline auto" partial>
8
+ <div class="row">
9
+ <div class="col-sm-2 form-group">
10
+ <label class="font_normal_body">操作人</label>
11
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_operator"
12
+ condition="tr.f_operator = '{}' " placeholder="操作人">
13
+ </div>
14
+ <div class="col-sm-2 form-group">
15
+ <label class="font_normal_body">操作类型</label>
16
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_operat_type"
17
+ condition="f_operat_type like '%{}%'" placeholder="操作类型">
18
+ </div>
19
+ <div class="col-sm-4 form-group">
20
+ <label class="font_normal_body">操作日期</label>
21
+ <datepicker id="startDate" placeholder="操作日期" style="width:60%"
22
+ v-model="model.startDate"
23
+ :value.sync="model.startDate"
24
+ :format="'yyyy-MM-dd HH:mm:ss'"
25
+ :show-reset-button="true"
26
+ condition="tr.f_operate_date >= to_date('{}','yyyy-mm-dd hh24:mi:ss')">
27
+ </datepicker>
28
+
29
+ <label for="startDate" class="font_normal_body">至</label>
30
+
31
+ <datepicker id="endDate" style="width:60%"
32
+ v-model="model.endDate"
33
+ :value.sync="model.endDate"
34
+ :format="'yyyy-MM-dd HH:mm:ss'"
35
+ :show-reset-button="true"
36
+ condition="tr.f_operate_date <= to_date('{}','yyyy-mm-dd hh24:mi:ss')">
37
+ </datepicker>
38
+ </div>
39
+ <div class="span" style="float:right;">
40
+ <button class="button_search button_spacing" @click="search()">查询</button>
41
+ <export-excel :data="$parent.$parent.getCondition"
42
+ :field="$parent.$parent.getfield"
43
+ sqlurl="rs/logic/exportfile" sql-name="GMHgasQuery" template-name='日志查询导出'
44
+ v-if ="$parent.$parent.jurisdiction.includes('excel导出')"
45
+ :choose-col="true"></export-excel>
46
+
47
+ </div>
48
+ </div>
49
+ <div class="row">
50
+ <div class="col-sm-2 form-group">
51
+ <label class="font_normal_body">房产地址</label>
52
+ <input class="input_search" condition="f_house_address = '{}'"
53
+ placeholder='房产地址'
54
+ style="width:60%" type="text" v-model="model.f_house_address">
55
+ </div>
56
+ <div class="col-sm-2 form-group">
57
+ <label class="font_normal_body">用途</label>
58
+ <input class="input_search" condition="f_property_usage = '{}'"
59
+ placeholder='用途'
60
+ style="width:60%" type="text" v-model="model.f_property_usage">
61
+ </div>
62
+ <div class="col-sm-2 form-group">
63
+ <label class="font_normal_body">房型</label>
64
+ <input class="input_search" condition="f_house_type = '{}'"
65
+ placeholder='房型'
66
+ style="width:60%" type="text" v-model="model.f_house_type">
67
+ </div>
68
+ <div class="col-sm-2 form-group">
69
+ <label class="font_normal_body">是否一户多表</label>
70
+ <input class="input_search" condition="f_is_multi_meter = '{}'"
71
+ placeholder='是否一户多表'
72
+ style="width:60%" type="text" v-model="model.f_is_multi_meter">
73
+ </div>
74
+ <div class="col-sm-2 form-group">
75
+ <label class="font_normal_body">关联ID</label>
76
+ <input class="input_search" condition="f_house_id = '{}'"
77
+ placeholder='关联ID'
78
+ style="width:60%" type="text" v-model="model.f_house_id">
79
+ </div>
80
+ </div>
81
+
82
+ </div>
83
+ </criteria>
84
+ <data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid :classname="$parent.classname">
85
+ <template partial='head'>
86
+ <tr>
87
+ <th>
88
+ <nobr>操作人</nobr>
89
+ </th>
90
+ <th>
91
+ <nobr>功能描述</nobr>
92
+ </th>
93
+ <th>
94
+ <nobr>操作时间</nobr>
95
+ </th>
96
+ <th>
97
+ <nobr>操作类型</nobr>
98
+ </th>
99
+ <th>
100
+ <nobr>操作原因</nobr>
101
+ </th>
102
+ <th>
103
+ <nobr>登录/退出</nobr>
104
+ </th>
105
+ <th>
106
+ <nobr>公司</nobr>
107
+ </th>
108
+ <th>
109
+ <nobr>部门</nobr>
110
+ </th>
111
+
112
+ </tr>
113
+ </template>
114
+ <template partial='body'>
115
+ <td style="text-align: center;">
116
+ <nobr>{{ row.f_operator }}</nobr>
117
+ </td>
118
+ <td style="text-align: center;">
119
+ <nobr>{{ row.f_describe }}</nobr>
120
+ </td>
121
+ <td style="text-align: center;">
122
+ <nobr>{{ row.f_operate_date }}</nobr>
123
+ </td>
124
+ <td style="text-align: center;">
125
+ <nobr>{{ row.f_operat_type }}</nobr>
126
+ </td>
127
+ <td style="text-align: center;">
128
+ <nobr>{{ row.f_comments }}</nobr>
129
+ </td>
130
+ <td style="text-align: center;">
131
+ <nobr>{{ row.type }}</nobr>
132
+ </td>
133
+ <td style="text-align: center;">
134
+ <nobr>{{ row.f_orgname }}</nobr>
135
+ </td>
136
+ <td style="text-align: center;">
137
+ <nobr>{{ row.f_depname }}</nobr>
138
+ </td>
139
+ </template>
140
+ <template partial='foot'></template>
141
+ </data-grid>
142
+ </criteria-paged>
143
+ </div>
144
+ </div>
145
+
146
+ </div>
147
+ </template>
148
+ <script>
149
+ import {HttpResetClass, PagedList} from 'vue-client'
150
+ import defaultPrint from '../config/DefaultPrint'
151
+ import exportConfig from '../config/exportConfig'
152
+
153
+ let readySomething = async function (self) {
154
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
155
+ self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
156
+ await self.$MagLoadParams.loadParam()
157
+ self.initParams()
158
+ }
159
+ export default {
160
+ title: '日志查询',
161
+ name: 'AddMaterial',
162
+ data() {
163
+ return {
164
+
165
+ model: new PagedList('rs/sql/LogQuery', 30, {}),
166
+ initres: {
167
+ org: [this.$login.f.orgid],
168
+ dep: [],
169
+ user: [],
170
+ },
171
+ gasproperties: [],
172
+ orgCondtionStr: '',
173
+ show: false,
174
+ rowdata: {},
175
+ criteriaShow: false,
176
+ jurisdiction: this.$login.r,
177
+ modelval: [],
178
+ printshow: false,
179
+ showComponent: ['company', 'department', 'operator'],
180
+ all: false,
181
+ fields: {},
182
+ thead: '',
183
+ tfoot: '',
184
+ residentialArea: [],
185
+ //合计数据
186
+ sumsmodel: {},
187
+ defaultfield: [],
188
+ metertype: [{label: '全部', value: ''}, {label: '卡表', value: '卡表'}, {label: '机表', value: '机表'}]
189
+ }
190
+ },
191
+ ready() {
192
+ readySomething(this)
193
+ },
194
+ methods: {
195
+ userTypeChange() {
196
+ this.gasproperties = []
197
+ if (this.$refs.paged.model.model !== null) {
198
+ this.$refs.paged.model.model.f_gasproperties = ''
199
+
200
+ console.log(this.$refs.paged.model.model.f_user_type[0])
201
+ this.gasproperties = this.$appdata.getParam(this.$refs.paged.model.model.f_user_type[0])
202
+ // this.gasproperties.push({label: '全部', value: ''})
203
+ } else {
204
+ this.gasproperties = [{label: '全部', value: ''}]
205
+ }
206
+ },
207
+ search() {
208
+ this.$refs.paged.$refs.cri.search()
209
+ },
210
+ cancel() {
211
+ this.show = false
212
+ },
213
+ selfSearch(args) {
214
+ args.condition = `${args.condition}` + this.orgCondtionStr
215
+ this.model.search(args.condition, args.model)
216
+ this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
217
+ },
218
+
219
+ show() {
220
+ this.criteriaShow = true
221
+ },
222
+
223
+ stamp() {
224
+ this.all = false
225
+ //默认选择要打印的列
226
+ this.modelval = defaultPrint.config
227
+ this.fields = this.getfield
228
+ console.log('所有打印字段', this.fields)
229
+ this.printshow = true
230
+ this.put()
231
+ },
232
+ put() {
233
+ // 对Modelval进行排序
234
+ this.sortModelval()
235
+ this.thead = `<tr><th colspan=${this.modelval.length}>收费查询统计报表</th></tr><tr>`
236
+ for (let key of this.modelval) {
237
+ this.thead += '<th>' + this.fields[key] + '</th>'
238
+ }
239
+ this.thead += '</tr>'
240
+ },
241
+ print() {
242
+ this.$refs.print.PrintAsFile()
243
+ this.printshow = false
244
+ },
245
+
246
+ getRes(obj) {
247
+ this.orgCondtionStr = obj
248
+ },
249
+ close() {
250
+ this.printshow = false
251
+ this.all = false
252
+ },
253
+ // 对选择的列进行排序
254
+ sortModelval() {
255
+ let sortModel = []
256
+ Object.keys(this.fields).forEach((key) => {
257
+ if (this.modelval.includes(key)) {
258
+ sortModel.push(key)
259
+ }
260
+ })
261
+ this.modelval = sortModel
262
+ console.log('选择的打印的字段', this.modelval)
263
+ }
264
+
265
+ },
266
+ computed: {
267
+ getCondition() {
268
+ return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,startDate:`${this.$refs.paged.$refs.cri.model.startDate}`,
269
+ endDate: `${this.$refs.paged.$refs.cri.model.endDate}`}
270
+ },
271
+ getfield() {
272
+ return exportConfig.logConfig
273
+ },
274
+ usertypes() {
275
+ return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
276
+ },
277
+ },
278
+ events: {},
279
+ watch: {
280
+ 'all'(val) {
281
+ if (val) {
282
+ this.modelval = this.bodyData
283
+ } else {
284
+ this.modelval = defaultPrint.config
285
+ this.put()
286
+ }
287
+ },
288
+ 'modelval.length'() {
289
+ this.put()
290
+ },
291
+ }
292
+ }
293
+ </script>
294
+ <style>
295
+ .datapanel {
296
+ color: #333;
297
+ background-color: white;
298
+ padding: 10px 20px;
299
+ border-radius: 15px;
300
+ }
301
+ </style>