manage-client 4.0.72 → 4.0.74
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.
- package/.gradle/8.0/checksums/checksums.lock +0 -0
- package/.gradle/8.0/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/{8.5 → 8.0}/executionHistory/executionHistory.bin +0 -0
- package/.gradle/8.0/executionHistory/executionHistory.lock +0 -0
- package/.gradle/{8.5 → 8.0}/fileHashes/fileHashes.bin +0 -0
- package/.gradle/8.0/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/file-system.probe +0 -0
- package/build/dev-server.js +200 -200
- package/package.json +111 -111
- package/src/components/sale/businessquery/weChatBind.vue +418 -418
- package/src/filiale/bayan/MonthlyReport.vue +2 -10
- package/src/filiale/bayan/businessquery/weChatBind.vue +423 -0
- package/src/filiale/bayan/sale.js +19 -16
- package/src/filiale/shexian/ChangeMeterQuery.vue +2 -2
- package/src/filiale/yangchun/DeviceQuery.vue +1 -1
- package/src/filiale/yangchun/MeterQuery.vue +15 -5
- package/src/filiale/yangchun/WebHandplanQuery.vue +17 -1
- package/src/filiale/yangchun/config/exportConfig.js +1 -1
- package/src/main.js +70 -70
- package/.gradle/8.5/checksums/checksums.lock +0 -0
- package/.gradle/8.5/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/8.5/executionHistory/executionHistory.lock +0 -0
- package/.gradle/8.5/fileHashes/fileHashes.lock +0 -0
- /package/.gradle/{8.5 → 8.0}/dependencies-accessors/gc.properties +0 -0
- /package/.gradle/{8.5 → 8.0}/fileChanges/last-build.bin +0 -0
- /package/.gradle/{8.5 → 8.0}/gc.properties +0 -0
|
@@ -91,7 +91,6 @@
|
|
|
91
91
|
|
|
92
92
|
<script>
|
|
93
93
|
import { DataModel } from 'vue-client'
|
|
94
|
-
import co from 'co'
|
|
95
94
|
export default {
|
|
96
95
|
title: '月报表',
|
|
97
96
|
props: ['data'],
|
|
@@ -125,16 +124,13 @@ export default {
|
|
|
125
124
|
},
|
|
126
125
|
selfSearch (args) {
|
|
127
126
|
this.printTime = this.$login.toStandardTimeString()
|
|
128
|
-
let orgcondition = '1=1'
|
|
127
|
+
let orgcondition = 'and 1=1'
|
|
129
128
|
if (this.f_orgid && this.f_orgid[0]) {
|
|
130
129
|
orgcondition += ` and f_orgid in ('${this.f_orgid}')`
|
|
131
130
|
}
|
|
132
131
|
if (this.f_depid && this.f_depid[0]) {
|
|
133
132
|
orgcondition += ` and f_depid in ('${this.f_depid}')`
|
|
134
133
|
}
|
|
135
|
-
if(this.f_operatorid && this.f_operatorid[0]) {
|
|
136
|
-
orgcondition += ` and f_operatorid in ('${this.f_operatorid}')`
|
|
137
|
-
}
|
|
138
134
|
this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
|
|
139
135
|
this.$refs.paged.search(args)
|
|
140
136
|
},
|
|
@@ -147,15 +143,11 @@ export default {
|
|
|
147
143
|
this.depname = val[0]
|
|
148
144
|
this.userresid = obj
|
|
149
145
|
this.f_depid = obj
|
|
150
|
-
},
|
|
151
|
-
getuser ( obj, val) {
|
|
152
|
-
this.operatorname = val[0]
|
|
153
|
-
this.f_operatorid = obj
|
|
154
146
|
}
|
|
155
147
|
},
|
|
156
148
|
watch: {
|
|
157
149
|
'model.data' (val) {
|
|
158
|
-
this.spans = val.split('</tr>').map(item => item.split('</td>').length-1).reduce((x, y) => x > y ? x : y)
|
|
150
|
+
this.spans = val.split('</tr>').map(item => item.split('</td>').length - 1).reduce((x, y) => x > y ? x : y)
|
|
159
151
|
}
|
|
160
152
|
},
|
|
161
153
|
computed: {
|
|
@@ -0,0 +1,423 @@
|
|
|
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 for="startDate" class="font_normal_body">开始日期</label>
|
|
12
|
+
<datepicker id="startDate" placeholder="开始日期" style="width:60%"
|
|
13
|
+
v-model="model.startDate"
|
|
14
|
+
:value.sync="model.startDate"
|
|
15
|
+
:format="'yyyy-MM-dd'"
|
|
16
|
+
:show-reset-button="true"
|
|
17
|
+
condition="f_band_time >= '{}'">
|
|
18
|
+
</datepicker>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="col-sm-2 form-group">
|
|
21
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
22
|
+
<datepicker id="endDate" placeholder="结束日期" style="width:60%"
|
|
23
|
+
v-model="model.endDate"
|
|
24
|
+
:value.sync="model.endDate"
|
|
25
|
+
:format="'yyyy-MM-dd'"
|
|
26
|
+
:show-reset-button="true"
|
|
27
|
+
condition="f_band_time <= '{}'">
|
|
28
|
+
</datepicker>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-sm-2 form-group">
|
|
31
|
+
<label class="font_normal_body">客户编号</label>
|
|
32
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
33
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-2 form-group">
|
|
36
|
+
<label class="font_normal_body">客户名称</label>
|
|
37
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
38
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
39
|
+
</div>
|
|
40
|
+
<div class="span" style="float:right;">
|
|
41
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
42
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
43
|
+
<!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
|
|
44
|
+
|
|
45
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
46
|
+
:field="$parent.$parent.getExportField"
|
|
47
|
+
sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="wechatQuery" template-name='微信查询导出'
|
|
48
|
+
:choose-col="true"></export-excel>
|
|
49
|
+
|
|
50
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
51
|
+
</div>
|
|
52
|
+
</div>
|
|
53
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
54
|
+
<res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes"></res-select-group>
|
|
55
|
+
<div class="col-sm-2 form-group">
|
|
56
|
+
<label class="font_normal_body">客户电话</label>
|
|
57
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
58
|
+
condition="f_user_phone like '%{}%'" placeholder="客户电话">
|
|
59
|
+
</div>
|
|
60
|
+
<div class="col-sm-2 form-group">
|
|
61
|
+
<label class="font_normal_body">客户地址</label>
|
|
62
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
63
|
+
condition="f_address like '%{}%'" placeholder='客户地址'>
|
|
64
|
+
</div>
|
|
65
|
+
<div class="col-sm-2 form-group" >
|
|
66
|
+
<label class="font_normal_body">气表品牌</label>
|
|
67
|
+
<v-select :value.sync="model.gasbrand" v-model="model.gasbrand"
|
|
68
|
+
:options='$parent.$parent.meterbrands' placeholder='气表品牌' close-on-select
|
|
69
|
+
v-model='$parent.$parent.gasbrand'
|
|
70
|
+
condition="f_meter_brand = '{}'"
|
|
71
|
+
></v-select>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="col-sm-2 form-group">
|
|
74
|
+
<label class="font_normal_body"> 小区 </label>
|
|
75
|
+
<v-select :value.sync="model.f_residential_area"
|
|
76
|
+
class="select_list select"
|
|
77
|
+
v-model="model.f_residential_area"
|
|
78
|
+
style="width: 60%"
|
|
79
|
+
multiple
|
|
80
|
+
condition="f_residential_area in {}"
|
|
81
|
+
:options='$parent.$parent.residentialArea' placeholder='选择小区'
|
|
82
|
+
close-on-select>
|
|
83
|
+
|
|
84
|
+
</v-select>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="col-sm-2 form-group">
|
|
87
|
+
<label class="font_normal_body">区期</label>
|
|
88
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_area_period"
|
|
89
|
+
condition="f_area_period = '{}'" placeholder='区期'>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="col-sm-2 form-group">
|
|
92
|
+
<label class="font_normal_body">楼号</label>
|
|
93
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_building"
|
|
94
|
+
condition="f_building = '{}'" placeholder='楼号'>
|
|
95
|
+
</div>
|
|
96
|
+
<div class="col-sm-2 form-group">
|
|
97
|
+
<label class="font_normal_body">单元</label>
|
|
98
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_unit"
|
|
99
|
+
condition="f_unit = '{}'" placeholder='单元'>
|
|
100
|
+
</div>
|
|
101
|
+
<div class="col-sm-2 form-group">
|
|
102
|
+
<label class="font_normal_body">楼层</label>
|
|
103
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_floor"
|
|
104
|
+
condition="f_floor = '{}'" placeholder='楼层'>
|
|
105
|
+
</div>
|
|
106
|
+
<div class="col-sm-2 form-group">
|
|
107
|
+
<label class="font_normal_body">房间号</label>
|
|
108
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_room"
|
|
109
|
+
condition="f_room = '{}'" placeholder='房间号'>
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
</criteria>
|
|
114
|
+
|
|
115
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" @dblclick="$parent.dblclick" v-ref:grid>
|
|
116
|
+
<template partial='head'>
|
|
117
|
+
<tr>
|
|
118
|
+
<th>
|
|
119
|
+
<nobr>客户编号</nobr>
|
|
120
|
+
</th>
|
|
121
|
+
<th>
|
|
122
|
+
<nobr>客户名称</nobr>
|
|
123
|
+
</th>
|
|
124
|
+
<th>
|
|
125
|
+
<nobr>气表品牌</nobr>
|
|
126
|
+
</th>
|
|
127
|
+
<th>
|
|
128
|
+
<nobr>气表类型</nobr>
|
|
129
|
+
</th>
|
|
130
|
+
<th>
|
|
131
|
+
<nobr>客户电话</nobr>
|
|
132
|
+
</th>
|
|
133
|
+
<th>
|
|
134
|
+
<nobr>微信标识</nobr>
|
|
135
|
+
</th>
|
|
136
|
+
<th>
|
|
137
|
+
<nobr>绑定状态</nobr>
|
|
138
|
+
</th>
|
|
139
|
+
<th>
|
|
140
|
+
<nobr>小区</nobr>
|
|
141
|
+
</th>
|
|
142
|
+
<th>
|
|
143
|
+
<nobr>客户地址</nobr>
|
|
144
|
+
</th>
|
|
145
|
+
<th>
|
|
146
|
+
<nobr>操作</nobr>
|
|
147
|
+
</th>
|
|
148
|
+
</tr>
|
|
149
|
+
</template>
|
|
150
|
+
<template partial='body'>
|
|
151
|
+
<td :class="'back-blue'" style="text-align: center;" >
|
|
152
|
+
<nobr>
|
|
153
|
+
{{row.f_userinfo_code}}
|
|
154
|
+
</nobr> </td>
|
|
155
|
+
<td :class="'back-blue'" style="text-align: center;">
|
|
156
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
157
|
+
</td>
|
|
158
|
+
<td :class="'back-blue'" style="text-align: center;">
|
|
159
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
160
|
+
</td>
|
|
161
|
+
<td :class="'back-blue'" style="text-align: center;">
|
|
162
|
+
<nobr>{{row.f_meter_type}}</nobr>
|
|
163
|
+
</td>
|
|
164
|
+
<td :class="'back-blue'" style="text-align: center;">
|
|
165
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
166
|
+
</td>
|
|
167
|
+
<td :class="'back-blue'" style="text-align: center;">
|
|
168
|
+
<nobr>{{row.f_open_id}}</nobr>
|
|
169
|
+
</td>
|
|
170
|
+
<td :class="'back-blue'" style="text-align: center;">
|
|
171
|
+
<nobr>{{row.f_band_state}}</nobr>
|
|
172
|
+
</td>
|
|
173
|
+
<td :class="'back-blue'" style="text-align: center;">
|
|
174
|
+
<nobr>{{row.f_residential_area}}</nobr>
|
|
175
|
+
</td>
|
|
176
|
+
<td :class="'back-blue'" style="text-align: center;">
|
|
177
|
+
<nobr>{{row.f_address}}</nobr>
|
|
178
|
+
</td>
|
|
179
|
+
<td style="text-align: center;">
|
|
180
|
+
<button type="button" name="button" class="btn btn-link"
|
|
181
|
+
@click="$parent.$parent.$parent.wechatbing(row)">解绑
|
|
182
|
+
</button>
|
|
183
|
+
</td>
|
|
184
|
+
</template>
|
|
185
|
+
</data-grid>
|
|
186
|
+
</criteria-paged>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
</template>
|
|
192
|
+
|
|
193
|
+
<script>
|
|
194
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
195
|
+
import defaultPrint from '../config/DefaultPrint'
|
|
196
|
+
import exportConfig from '../config/exportConfig'
|
|
197
|
+
|
|
198
|
+
let readySomething = async function (self) {
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
await self.$MagLoadParams.loadParam()
|
|
202
|
+
await self.$LoadParams.loadParam(self.f_filialeid)
|
|
203
|
+
self.loadMeterBooks()
|
|
204
|
+
self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
|
|
205
|
+
self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
|
|
206
|
+
await self.$refs.paged.$refs.cri.search()
|
|
207
|
+
// self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
|
|
208
|
+
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export default {
|
|
212
|
+
title: '微信绑定查询',
|
|
213
|
+
data() {
|
|
214
|
+
return {
|
|
215
|
+
model: new PagedList('api/af-revenue/sql/wechatQuery', 20, {}),
|
|
216
|
+
criteriaShow: false,
|
|
217
|
+
orgCondtionStr: '',
|
|
218
|
+
modelval: [],
|
|
219
|
+
residentialArea: [],
|
|
220
|
+
printshow: false,
|
|
221
|
+
all: false,
|
|
222
|
+
fields: {},
|
|
223
|
+
meterbrands:[{label: '全部',value: ''}],
|
|
224
|
+
thead: '',
|
|
225
|
+
tfoot: '',
|
|
226
|
+
area: [],
|
|
227
|
+
//合计数据
|
|
228
|
+
// sumsmodel: {},
|
|
229
|
+
initres: {
|
|
230
|
+
org:[this.$login.f.orgid],
|
|
231
|
+
dep:[],
|
|
232
|
+
user:[],
|
|
233
|
+
},
|
|
234
|
+
userdetail: {
|
|
235
|
+
show: false,
|
|
236
|
+
f_userinfo_code: '',
|
|
237
|
+
f_filialeids: ''
|
|
238
|
+
},
|
|
239
|
+
show:false,
|
|
240
|
+
rowdata:{},
|
|
241
|
+
sliceArea: []
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
ready() {
|
|
245
|
+
this.getaddress()
|
|
246
|
+
readySomething(this).then(() => {
|
|
247
|
+
this.$emit('ready')
|
|
248
|
+
}).catch((error) => {
|
|
249
|
+
this.$emit('error', error)
|
|
250
|
+
})
|
|
251
|
+
this.initAreas(this.$login.f.orgid)
|
|
252
|
+
},
|
|
253
|
+
methods: {
|
|
254
|
+
loadMeterBooks(){
|
|
255
|
+
let meterbrand = this.$GetSaleParam.getGasbrand()
|
|
256
|
+
for(let row of meterbrand){
|
|
257
|
+
this.meterbrands.push({label: row.label,value: row.value.f_meter_brand})
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
async getaddress(){
|
|
261
|
+
console.log('开始获取小区')
|
|
262
|
+
let HttpReset = new HttpResetClass()
|
|
263
|
+
var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
|
|
264
|
+
data: {
|
|
265
|
+
condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
|
|
266
|
+
}
|
|
267
|
+
}, {resolveMsg: null, rejectMsg: '获取小区失败!'})
|
|
268
|
+
console.log('小区',data)
|
|
269
|
+
let house = []
|
|
270
|
+
for (let row of data.data){
|
|
271
|
+
console.log('开始保存小区')
|
|
272
|
+
house.push({label: row.f_residential_area, value: row.f_residential_area})
|
|
273
|
+
}
|
|
274
|
+
this.residentialArea = house
|
|
275
|
+
},
|
|
276
|
+
//把数据库查询数据转换为下拉数据
|
|
277
|
+
calculate(rows){
|
|
278
|
+
let data = []
|
|
279
|
+
rows.forEach((row, n) => {
|
|
280
|
+
data[n] = {label: row.f_residential_area, value: row.id}
|
|
281
|
+
})
|
|
282
|
+
return data
|
|
283
|
+
},
|
|
284
|
+
search(){
|
|
285
|
+
this.$refs.paged.$refs.cri.search()
|
|
286
|
+
},
|
|
287
|
+
wechatbing(row) {
|
|
288
|
+
console.log('微信解绑用户', row)
|
|
289
|
+
let param = {
|
|
290
|
+
id: row.id
|
|
291
|
+
}
|
|
292
|
+
this.$resetpost('api/af-revenue/logic/wechatbind', {data: param}, {warnMsg: '确定对这条记录进行解绑吗?'}).then(() => {
|
|
293
|
+
this.$refs.paged.$refs.cri.search()
|
|
294
|
+
})
|
|
295
|
+
},
|
|
296
|
+
cancel(obj) {
|
|
297
|
+
this.show = false
|
|
298
|
+
},
|
|
299
|
+
async initAreas (val) {
|
|
300
|
+
|
|
301
|
+
if (val) {
|
|
302
|
+
let getAllArea = await this.$resetpost('/rs/search', {
|
|
303
|
+
source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
|
|
304
|
+
userid: this.$login.f.id
|
|
305
|
+
}, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
|
|
306
|
+
|
|
307
|
+
let arr = getAllArea.data.filter((res) => {
|
|
308
|
+
return res.parentid == val
|
|
309
|
+
})
|
|
310
|
+
console.log('过滤之后的片区', arr)
|
|
311
|
+
this.sliceArea = []
|
|
312
|
+
this.sliceArea.push({label: "全部", value: ""})
|
|
313
|
+
arr.forEach((res) => {
|
|
314
|
+
this.sliceArea.push({label: res.name, value: res.name})
|
|
315
|
+
})
|
|
316
|
+
console.log(this.sliceArea)
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
selfSearch(args) {
|
|
320
|
+
if (!this.orgCondtionStr) {
|
|
321
|
+
args.condition = `${args.condition}` + " and f_orgid = " + this.$login.f.orgid
|
|
322
|
+
} else {
|
|
323
|
+
args.condition = `${args.condition}` + this.orgCondtionStr
|
|
324
|
+
}
|
|
325
|
+
this.model.search(args.condition, args.model)
|
|
326
|
+
},
|
|
327
|
+
clear() {
|
|
328
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
329
|
+
this.$refs.paged.$refs.cri.model[key] = []
|
|
330
|
+
})
|
|
331
|
+
},
|
|
332
|
+
hidden() {
|
|
333
|
+
this.criteriaShow = !this.criteriaShow
|
|
334
|
+
},
|
|
335
|
+
getRes(obj) {
|
|
336
|
+
this.orgCondtionStr = obj
|
|
337
|
+
},
|
|
338
|
+
stamp() {
|
|
339
|
+
this.all = false
|
|
340
|
+
//默认选择要打印的列
|
|
341
|
+
this.modelval = defaultPrint.config
|
|
342
|
+
this.fields = this.getfield
|
|
343
|
+
console.log('所有打印字段', this.fields)
|
|
344
|
+
this.printshow = true
|
|
345
|
+
this.put()
|
|
346
|
+
},
|
|
347
|
+
put() {
|
|
348
|
+
// 对Modelval进行排序
|
|
349
|
+
this.sortModelval()
|
|
350
|
+
this.thead = `<tr><th colspan=${this.modelval.length}>用户查询统计报表</th></tr><tr>`
|
|
351
|
+
for (let key of this.modelval) {
|
|
352
|
+
this.thead += '<th>' + this.fields[key] + '</th>'
|
|
353
|
+
}
|
|
354
|
+
this.thead += '</tr>'
|
|
355
|
+
},
|
|
356
|
+
print() {
|
|
357
|
+
this.$refs.print.PrintAsFile()
|
|
358
|
+
this.printshow = false
|
|
359
|
+
},
|
|
360
|
+
close() {
|
|
361
|
+
this.printshow = false
|
|
362
|
+
},
|
|
363
|
+
// 对选择的列进行排序
|
|
364
|
+
sortModelval() {
|
|
365
|
+
let sortModel = []
|
|
366
|
+
Object.keys(this.fields).forEach((key) => {
|
|
367
|
+
if (this.modelval.includes(key)) {
|
|
368
|
+
sortModel.push(key)
|
|
369
|
+
}
|
|
370
|
+
})
|
|
371
|
+
this.modelval = sortModel
|
|
372
|
+
console.log('选择的打印的字段', this.modelval)
|
|
373
|
+
},
|
|
374
|
+
dblclick(row, index) {
|
|
375
|
+
console.log('双击之后数据', row, index)
|
|
376
|
+
this.userdetail.show = true
|
|
377
|
+
this.userdetail.f_userinfo_code = row.f_userinfo_code
|
|
378
|
+
this.userdetail.f_filialeids = row.f_filialeids
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
watch: {
|
|
382
|
+
'all'(val) {
|
|
383
|
+
if (val) {
|
|
384
|
+
this.modelval = this.bodyData
|
|
385
|
+
} else {
|
|
386
|
+
this.modelval = defaultPrint.config
|
|
387
|
+
this.put()
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
'modelval.length'() {
|
|
391
|
+
this.put()
|
|
392
|
+
},
|
|
393
|
+
},
|
|
394
|
+
computed: {
|
|
395
|
+
authArr () {
|
|
396
|
+
return this.$login.r ? this.$login.r : []
|
|
397
|
+
},
|
|
398
|
+
|
|
399
|
+
getCondition() {
|
|
400
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
401
|
+
},
|
|
402
|
+
getfield() {
|
|
403
|
+
let data = {}
|
|
404
|
+
this.bodyData.forEach((value, index) => {
|
|
405
|
+
data[this.bodyData[index]] = this.headData[index]
|
|
406
|
+
})
|
|
407
|
+
return data
|
|
408
|
+
},
|
|
409
|
+
getExportField() {
|
|
410
|
+
return exportConfig.wechatConfig
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
</script>
|
|
415
|
+
<style>
|
|
416
|
+
.back-red{ /* 红色背景 */
|
|
417
|
+
background-color: #F6C6CE;
|
|
418
|
+
}
|
|
419
|
+
.back-blue{ /* 蓝色背景 */
|
|
420
|
+
|
|
421
|
+
}
|
|
422
|
+
</style>
|
|
423
|
+
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
// 分公司特殊组件页面注册
|
|
2
|
-
import Vue from 'vue'
|
|
3
|
-
|
|
4
|
-
export default function () {
|
|
5
|
-
Vue.component('charge-query', (resolve) => { require(['./ChargeQuery'], resolve) })
|
|
6
|
-
// 打印
|
|
7
|
-
Vue.component('print-table', (resolve) => { require(['./PrintTableManage'], resolve) })
|
|
8
|
-
// 其他收费查询
|
|
9
|
-
Vue.component('other-charge-query', (resolve) => {
|
|
10
|
-
require(['./OtherChargeQuery'], resolve)
|
|
11
|
-
})
|
|
12
|
-
// 综合档案信息查询
|
|
13
|
-
Vue.component('record-info-query', (resolve) => {
|
|
14
|
-
require(['./RecordInfoQuery'], resolve)
|
|
15
|
-
})
|
|
16
|
-
|
|
1
|
+
// 分公司特殊组件页面注册
|
|
2
|
+
import Vue from 'vue'
|
|
3
|
+
|
|
4
|
+
export default function () {
|
|
5
|
+
Vue.component('charge-query', (resolve) => { require(['./ChargeQuery'], resolve) })
|
|
6
|
+
// 打印
|
|
7
|
+
Vue.component('print-table', (resolve) => { require(['./PrintTableManage'], resolve) })
|
|
8
|
+
// 其他收费查询
|
|
9
|
+
Vue.component('other-charge-query', (resolve) => {
|
|
10
|
+
require(['./OtherChargeQuery'], resolve)
|
|
11
|
+
})
|
|
12
|
+
// 综合档案信息查询
|
|
13
|
+
Vue.component('record-info-query', (resolve) => {
|
|
14
|
+
require(['./RecordInfoQuery'], resolve)
|
|
15
|
+
})
|
|
16
|
+
Vue.component('wechat-bind', (resolve) => {
|
|
17
|
+
require(['./businessquery/weChatBind'], resolve)
|
|
18
|
+
})
|
|
19
|
+
}
|
|
@@ -192,12 +192,12 @@
|
|
|
192
192
|
</div>
|
|
193
193
|
<div class="col-sm-2 form-group">
|
|
194
194
|
<label class="font_normal_body">旧 表 号</label>
|
|
195
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.
|
|
195
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber_old"
|
|
196
196
|
condition="f_meternumber_old = '{}'" placeholder='旧表号'>
|
|
197
197
|
</div>
|
|
198
198
|
<div class="col-sm-2 form-group">
|
|
199
199
|
<label class="font_normal_body">旧 卡 号</label>
|
|
200
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.
|
|
200
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_card_old"
|
|
201
201
|
condition="f_card_old = '{}'" placeholder='旧卡号'>
|
|
202
202
|
</div>
|
|
203
203
|
<div class="col-sm-2 form-group">
|
|
@@ -167,14 +167,14 @@
|
|
|
167
167
|
</datepicker>
|
|
168
168
|
</div>
|
|
169
169
|
<div class="col-sm-2 form-group">
|
|
170
|
-
<label for="startDate" class="font_normal_body"
|
|
170
|
+
<label for="startDate" class="font_normal_body">表具通气日期</label>
|
|
171
171
|
<datepicker id="startDate" placeholder="开始日期" style="width:60%" v-model="model.startTQDate"
|
|
172
172
|
:value.sync="model.startTQDate" :format="'yyyy-MM-dd'" :show-reset-button="true"
|
|
173
173
|
condition="f_gas_date >= '{} 00:00:00'">
|
|
174
174
|
</datepicker>
|
|
175
175
|
</div>
|
|
176
176
|
<div class="col-sm-2 form-group">
|
|
177
|
-
<label for="endDate" class="font_normal_body"
|
|
177
|
+
<label for="endDate" class="font_normal_body">表具通气日期</label>
|
|
178
178
|
<datepicker id="endDate" placeholder="结束日期" style="width:60%" v-model="model.endTQDate"
|
|
179
179
|
:value.sync="model.endTQDate" :format="'yyyy-MM-dd'" :show-reset-button="true"
|
|
180
180
|
condition="f_gas_date <= '{} 23:59:59'">
|
|
@@ -226,13 +226,23 @@
|
|
|
226
226
|
<div class="col-sm-2 form-group">
|
|
227
227
|
<label for="startGasDate" class="font_normal_body">首次通气日期</label>
|
|
228
228
|
<datepicker id="startGasDate" placeholder="开始日期" style="width:60%"
|
|
229
|
-
v-model="model.
|
|
230
|
-
:value.sync="model.
|
|
229
|
+
v-model="model.startuserGasDate"
|
|
230
|
+
:value.sync="model.startuserGasDate"
|
|
231
231
|
:format="'yyyy-MM-dd'"
|
|
232
232
|
:show-reset-button="true"
|
|
233
233
|
condition="f_uservent_date >= '{} 00:00:00'">
|
|
234
234
|
</datepicker>
|
|
235
235
|
</div>
|
|
236
|
+
<div class="col-sm-2 form-group">
|
|
237
|
+
<label for="startGasDate" class="font_normal_body">首次通气日期</label>
|
|
238
|
+
<datepicker id="startGasDate" placeholder="截至日期" style="width:60%"
|
|
239
|
+
v-model="model.enduserGasDate"
|
|
240
|
+
:value.sync="model.enduserGasDate"
|
|
241
|
+
:format="'yyyy-MM-dd'"
|
|
242
|
+
:show-reset-button="true"
|
|
243
|
+
condition="f_uservent_date <= '{} 00:00:00'">
|
|
244
|
+
</datepicker>
|
|
245
|
+
</div>
|
|
236
246
|
</div>
|
|
237
247
|
</div>
|
|
238
248
|
</criteria>
|
|
@@ -315,7 +325,7 @@
|
|
|
315
325
|
</th>
|
|
316
326
|
<th>
|
|
317
327
|
<!--<nobr>通气时间</nobr>-->
|
|
318
|
-
<data-order field="f_gas_date" name="
|
|
328
|
+
<data-order field="f_gas_date" name="表具通气时间"
|
|
319
329
|
:order.sync="$parent.$parent.$parent.orderFields.f_gas_date"></data-order>
|
|
320
330
|
</th>
|
|
321
331
|
<th>
|
|
@@ -196,6 +196,17 @@
|
|
|
196
196
|
<input type="text" style="width:60%" class="input_search" v-model="model.f_curbalance"
|
|
197
197
|
condition="f_curbalance < '{}' " placeholder="本期余额小于">
|
|
198
198
|
</div>
|
|
199
|
+
<div class="col-sm-2 form-group">
|
|
200
|
+
<label class="font_normal_body">使用类型</label>
|
|
201
|
+
<v-select :value.sync="model.f_usetype"
|
|
202
|
+
v-model="model.f_usetype"
|
|
203
|
+
:options='$parent.$parent.usetype'
|
|
204
|
+
placeholder='使用类型'
|
|
205
|
+
style="width:60%"
|
|
206
|
+
close-on-select
|
|
207
|
+
condition="f_usetype = '{}'">
|
|
208
|
+
</v-select>
|
|
209
|
+
</div>
|
|
199
210
|
</div>
|
|
200
211
|
</div>
|
|
201
212
|
</criteria>
|
|
@@ -268,6 +279,7 @@
|
|
|
268
279
|
<th>
|
|
269
280
|
<nobr>气价名称</nobr>
|
|
270
281
|
</th>
|
|
282
|
+
<th><nobr>使用类型</nobr></th>
|
|
271
283
|
<th>
|
|
272
284
|
<nobr>一阶气量</nobr>
|
|
273
285
|
</th>
|
|
@@ -399,6 +411,7 @@
|
|
|
399
411
|
<td style="text-align: center;">
|
|
400
412
|
<nobr>{{row.f_price_name}}</nobr>
|
|
401
413
|
</td>
|
|
414
|
+
<th style="text-align:center"><nobr>{{row.f_usetype}}</nobr></th>
|
|
402
415
|
<td style="text-align: center;">
|
|
403
416
|
<nobr>{{row.f_stair1amount}}</nobr>
|
|
404
417
|
</td>
|
|
@@ -935,7 +948,7 @@
|
|
|
935
948
|
'f_userinfo_code': '客户编号', 'f_user_name': '客户名称', 'f_olduserinfo_code': '档案编号', 'f_address': '客户地址', 'f_zones': '片区', 'phone': '客户手机', 'f_valve_state': '阀门状态',
|
|
936
949
|
'f_last_tablebase': '上期底数', 'f_tablebase': '本期底数', 'f_oughtamount': '用气量', 'f_oughtfee': '用气金额','f_meternumber': '表号', 'ym_data': '数据年月',
|
|
937
950
|
'f_balance': '上期余额', 'f_curbalance': '本期余额', 'f_hand_date': '抄表日期','f_meter_state': '抄表状态', 'f_hand_state': '记录状态',
|
|
938
|
-
'f_inputtor': '抄表员', 'f_book_slice_area': '表册片区', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司',
|
|
951
|
+
'f_inputtor': '抄表员', 'f_book_slice_area': '表册片区', 'f_user_type': '客户类型', 'f_gasproperties': '用气性质', 'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司','f_usetype': '使用类型',
|
|
939
952
|
'f_stair1amount': '一阶气量', 'f_stair1price': '一阶单价', 'f_stair1fee': '一阶气费','f_stair2amount': '二阶气量', 'f_stair2price': '二阶单价', 'f_stair2fee': '二阶气费',
|
|
940
953
|
'f_stair3amount': '三阶气量','f_stair3price': '三阶单价', 'f_stair3fee': '三阶气费', 'belongmonth': '所属年月','f_current_deduct_amount':'本次抵扣金额','f_remaining_deduct_amount':'剩余抵扣金额'
|
|
941
954
|
}
|
|
@@ -949,6 +962,9 @@
|
|
|
949
962
|
meterstate() {
|
|
950
963
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('抄表状态')]
|
|
951
964
|
},
|
|
965
|
+
usetype() {
|
|
966
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
|
|
967
|
+
},
|
|
952
968
|
handstate() {
|
|
953
969
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('表单状态')]
|
|
954
970
|
},
|