manage-client 3.2.86-4 → 3.2.88-1
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/package.json +1 -1
- package/src/components/SellReport/ReportItems.vue +56 -49
- package/src/components/sale/businessquery/BusinesQuery.vue +32 -6
- package/src/components/sale/businessquery/ChangeUserQuery.vue +375 -350
- package/src/components/sale/businessquery/GasLossQuery.vue +30 -4
- package/src/components/sale/businessquery/GroupChargeQuery.vue +5 -3
- package/src/components/sale/businessquery/PriceChange.vue +44 -8
- package/src/components/sale/businessquery/PrickBillQuery.vue +31 -5
- package/src/components/sale/businessquery/SendbookQuery.vue +33 -7
- package/src/components/sale/businessquery/SuspiciousUserQuery.vue +36 -8
- package/src/components/sale/businessquery/gasPriceQuery.vue +39 -8
- package/src/components/sale/businessquery/pricechangeRecordQuery.vue +37 -8
- package/src/components/sale/businessquery/sellingChargePrice.vue +1 -1
- package/src/components/sale/businessquery/yucunDetails.vue +30 -4
- package/src/components/sale/filesquery/DeviceQuery.vue +50 -9
- package/src/components/sale/filesquery/FireQuery.vue +42 -7
- package/src/components/sale/filesquery/MeterQuery.vue +35 -8
- package/src/components/sale/filesquery/PriceChangeQuery.vue +34 -9
- package/src/components/sale/filesquery/RecordInfoQuery.vue +48 -31
- package/src/components/sale/filesquery/UserDeviceQuery.vue +35 -6
- package/src/components/sale/filesquery/UserQuery.vue +6 -2
- package/src/filiale/liaoyuan/MeterQuery.vue +905 -905
- package/src/filiale/liaoyuan/RecordInfoQuery.vue +1163 -1163
- package/src/filiale/liaoyuan/ReportList.vue +421 -421
- package/src/filiale/meihekou/HandplanQuery.vue +1234 -1229
- package/src/filiale/tongchuan/ChargeQuery.vue +1 -1
- package/src/main.js +1 -1
package/package.json
CHANGED
|
@@ -1,62 +1,51 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex">
|
|
3
|
-
|
|
3
|
+
<div class="row" style="height: 5%">
|
|
4
|
+
<div class="col-sm-10">
|
|
5
|
+
<label class="font_normal_body">报表名称:</label>
|
|
6
|
+
<v-select multiple
|
|
7
|
+
:value.sync="modelinfo.f_report_name"
|
|
8
|
+
class="select_list select"
|
|
9
|
+
v-model="modelinfo.f_report_name"
|
|
10
|
+
:options='reportNames' placeholder='请选择'
|
|
11
|
+
@keyup.enter="chaxun()"
|
|
12
|
+
></v-select>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="col-sm-2">
|
|
15
|
+
<button class="button_search left" @click="chaxun()">查询</button>
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<partial-view v-ref:pv>
|
|
4
20
|
<div class="span" v-show="!filtrate">
|
|
5
|
-
<p class="bg-info text-center" style="padding: 8px;background: #5ac0d9;color: white;border-radius:10px 10px 0 0"
|
|
6
|
-
|
|
21
|
+
<p class="bg-info text-center" style="padding: 8px;background: #5ac0d9;color: white;border-radius:10px 10px 0 0" >报表类型
|
|
22
|
+
<button class="button_search-3 button_spacing border-right" v-if="this.$login.r.includes('报表配置权限')" @click="saveReport()">新增</button></p>
|
|
23
|
+
<div style="height: 87%;overflow: auto;width: 104%">
|
|
7
24
|
<div style="padding:3px" :style="{background: index===row ? '#dfedfb' : 'white'}" :class="styles=='2'?'col-sm-6 auto':'col-sm-12 auto'" v-for="(index,type) in types"
|
|
8
25
|
@click="$dispatch('select-type',index, type),changecolor(index,type)"
|
|
9
26
|
:id="'div-'+index">
|
|
10
|
-
<div class="row auto"><img :src="type.f_image_path" alt="图片加载失败" class="img-rounded" style="width: 60px;"
|
|
27
|
+
<div class="row auto"><img :src="type.f_image_path" alt="图片加载失败" class="img-rounded" style="width: 60px;">
|
|
28
|
+
<div class="span" style = "float:right;">
|
|
29
|
+
<button class="button_search button_spacing right" v-if="this.$login.r.includes('报表配置权限')" @click="Update()">修改</button>
|
|
30
|
+
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
11
33
|
<div style="height:40px" class="row auto">{{index+1}}、{{type.f_report_name}}</div>
|
|
12
34
|
</div>
|
|
13
35
|
</div>
|
|
14
36
|
|
|
15
37
|
</div>
|
|
16
38
|
<div class="span" v-show="filtrate">
|
|
17
|
-
<p class="bg-info text-center" style="padding: 8px;"
|
|
39
|
+
<p class="bg-info text-center" style="padding: 8px;background: #5ac0d9;color: white;border-radius:10px 10px 0 0" @dblclick="filtrate=!filtrate">相关配置</p>
|
|
18
40
|
<div style="height: 94%;overflow: auto;width: 104%">
|
|
41
|
+
<div class="row text-primary" style="height: 3%">
|
|
42
|
+
<!--新增-->
|
|
43
|
+
<p class="bg-info text-center" style="padding: 8px;font-size: 20px" v-if="saveflag">新增页面</p>
|
|
44
|
+
<!--修改-->
|
|
45
|
+
<p class="bg-info text-center" style="padding: 8px;font-size: 20px" v-if="!saveflag">修改页面</p>
|
|
46
|
+
</div>
|
|
19
47
|
<table style="border-style: none;width: 95%;">
|
|
20
|
-
|
|
21
|
-
<td style="text-align: left">
|
|
22
|
-
<label class="font_normal_body">报表名称:</label>
|
|
23
|
-
<v-select multiple
|
|
24
|
-
:value.sync="modelinfo.f_report_name"
|
|
25
|
-
class="select_list select"
|
|
26
|
-
v-model="modelinfo.f_report_name"
|
|
27
|
-
:options='reportNames' placeholder='请选择'
|
|
28
|
-
close-on-select></v-select>
|
|
29
|
-
</td>
|
|
30
|
-
</tr>
|
|
31
|
-
<tr style="display:block;margin:15px 0;">
|
|
32
|
-
<td style="text-align: left">
|
|
33
|
-
<label class="font_normal_body">报表类型:</label>
|
|
34
|
-
<v-select
|
|
35
|
-
:value.sync="modelinfo.f_report_type"
|
|
36
|
-
:search="false"
|
|
37
|
-
class="select_list select"
|
|
38
|
-
v-model="modelinfo.f_report_type"
|
|
39
|
-
:options='reportTypes' placeholder='请选择'
|
|
40
|
-
close-on-select></v-select>
|
|
41
|
-
</td>
|
|
42
|
-
</tr>
|
|
43
|
-
<tr style="display:block;margin:15px 0;">
|
|
44
|
-
<td style="text-align: left">
|
|
45
|
-
<label class="font_normal_body">报表状态:</label>
|
|
46
|
-
<v-select
|
|
47
|
-
:value.sync="modelinfo.f_rank"
|
|
48
|
-
:search="false"
|
|
49
|
-
class="select_list select"
|
|
50
|
-
v-model="modelinfo.f_rank"
|
|
51
|
-
:options='reportState' placeholder='请选择'
|
|
52
|
-
close-on-select></v-select>
|
|
53
|
-
</td>
|
|
54
|
-
</tr>
|
|
55
|
-
<tr style="display:block;margin:15px 0;">
|
|
56
|
-
<td style="text-align: right;width: 50%;"><button class="button_clear button_spacing" @click="filtrate=!filtrate">返回</button></td>
|
|
57
|
-
<td style="text-align: right;width: 25%;"><button class="button_clear button_spacing" @click="clear()">清空</button></td>
|
|
58
|
-
<td style="text-align: left;width: 25%;"><button class="button_search button_spacing" @click="chaxun()">查询</button></td>
|
|
59
|
-
</tr>
|
|
48
|
+
|
|
60
49
|
<tr style="display:block;margin:15px 0;" v-for="(key,value) in infos">
|
|
61
50
|
<td style="text-align: left;">
|
|
62
51
|
<label class="font_normal_body" style="text-align: right;">{{key}}:</label>
|
|
@@ -64,9 +53,12 @@
|
|
|
64
53
|
</td>
|
|
65
54
|
</tr>
|
|
66
55
|
<tr style="display:block;margin:15px 0;">
|
|
67
|
-
<td style="text-align: right;width: 50%;"><button class="button_clear button_spacing" @click="
|
|
68
|
-
|
|
69
|
-
<td style="text-align:
|
|
56
|
+
<td style="text-align: right;width: 50%;"><button class="button_clear button_spacing" @click="clear(true)">清空</button></td>
|
|
57
|
+
<!--修改的保存-->
|
|
58
|
+
<td style="text-align: right;width: 25%;" v-if="!saveflag"><button class="button_clear button_spacing" @click="saveOrUpdate(1)">保存</button></td>
|
|
59
|
+
<!--新增的保存-->
|
|
60
|
+
<td style="text-align: left;width: 25%;" v-if="saveflag"><button class="button_search button_spacing" @click="saveOrUpdate(2)">保存</button></td>
|
|
61
|
+
<td style="text-align: left;width: 25%;"><button class="button_search button_spacing" @click="goback">返回</button></td>
|
|
70
62
|
</tr>
|
|
71
63
|
</table>
|
|
72
64
|
</div>
|
|
@@ -86,6 +78,7 @@ export default {
|
|
|
86
78
|
},
|
|
87
79
|
data () {
|
|
88
80
|
return {
|
|
81
|
+
saveflag: false,
|
|
89
82
|
types: [],
|
|
90
83
|
row:null,
|
|
91
84
|
infos: {
|
|
@@ -139,9 +132,22 @@ export default {
|
|
|
139
132
|
|
|
140
133
|
})
|
|
141
134
|
},
|
|
135
|
+
// 返回
|
|
136
|
+
goback(){
|
|
137
|
+
this.chaxun()
|
|
138
|
+
},
|
|
139
|
+
// 保存
|
|
140
|
+
saveReport(){
|
|
141
|
+
for (let key in this.infos) {
|
|
142
|
+
this.infos[key] =''
|
|
143
|
+
}
|
|
144
|
+
this.saveflag = true
|
|
145
|
+
this.filtrate = true
|
|
146
|
+
},
|
|
147
|
+
// 查询
|
|
142
148
|
chaxun(){
|
|
143
149
|
this.getReportInfo()
|
|
144
|
-
this.filtrate =
|
|
150
|
+
this.filtrate = false
|
|
145
151
|
},
|
|
146
152
|
changecolor(index,type){
|
|
147
153
|
this.row=index
|
|
@@ -192,6 +198,7 @@ export default {
|
|
|
192
198
|
this.reportTypes = typeArr
|
|
193
199
|
},
|
|
194
200
|
Update(){
|
|
201
|
+
this.saveflag = false
|
|
195
202
|
if (this.$login.r.includes('报表配置权限')) {
|
|
196
203
|
this.filtrate=!this.filtrate
|
|
197
204
|
} else {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="basic-main" @keyup.enter="search">
|
|
4
4
|
<div class="flex" v-if="!show">
|
|
5
5
|
|
|
6
|
-
<criteria-paged :model="model" v-ref:paged >
|
|
6
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
7
7
|
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
8
8
|
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
9
9
|
<div class="row">
|
|
@@ -101,7 +101,8 @@
|
|
|
101
101
|
<template partial='head'>
|
|
102
102
|
<tr>
|
|
103
103
|
<th>
|
|
104
|
-
|
|
104
|
+
<!--<nobr>用户编号</nobr>-->
|
|
105
|
+
<data-order field="f_userinfo_code" name="用户编号" :order.sync="$parent.$parent.$parent.orderFields.f_userinfo_code"></data-order>
|
|
105
106
|
</th>
|
|
106
107
|
<th>
|
|
107
108
|
<nobr>用户名称</nobr>
|
|
@@ -110,7 +111,8 @@
|
|
|
110
111
|
<nobr>档案编号</nobr>
|
|
111
112
|
</th>
|
|
112
113
|
<th>
|
|
113
|
-
|
|
114
|
+
<!--<nobr>用户地址</nobr>-->
|
|
115
|
+
<data-order field="f_address" name="用户地址" :order.sync="$parent.$parent.$parent.orderFields.f_address"></data-order>
|
|
114
116
|
</th>
|
|
115
117
|
<th>
|
|
116
118
|
<nobr>操作类型</nobr>
|
|
@@ -122,7 +124,8 @@
|
|
|
122
124
|
<nobr>操作状态</nobr>
|
|
123
125
|
</th>
|
|
124
126
|
<th>
|
|
125
|
-
|
|
127
|
+
<!--<nobr>操作日期</nobr>-->
|
|
128
|
+
<data-order field="f_operate_date" name="操作日期" :order.sync="$parent.$parent.$parent.orderFields.f_operate_date"></data-order>
|
|
126
129
|
</th>
|
|
127
130
|
<th>
|
|
128
131
|
<nobr>付款方式</nobr>
|
|
@@ -238,7 +241,7 @@
|
|
|
238
241
|
data: {},
|
|
239
242
|
other: [],
|
|
240
243
|
footer: [],
|
|
241
|
-
model: new PagedList('rs/sql/BusinesQuery', 20, {}, {f_money: 0}),
|
|
244
|
+
model: new PagedList('rs/sql/BusinesQuery', 20, {orderitem: this.orderitem?'"' + this.orderitem + ' "':`'f_operate_date desc'`}, {f_money: 0}),
|
|
242
245
|
criteriaShow: false,
|
|
243
246
|
bodyData: ["f_userinfo_code", "f_user_name", "f_money", "f_operat_type","f_state", "f_operate_date", "f_orgname", "f_depname", "f_operator"],
|
|
244
247
|
orgCondtionStr: '',
|
|
@@ -248,6 +251,11 @@
|
|
|
248
251
|
printshow: false,
|
|
249
252
|
all: false,
|
|
250
253
|
fields: {},
|
|
254
|
+
//排序
|
|
255
|
+
orderitem:'f_operate_date desc',
|
|
256
|
+
orderFields: {
|
|
257
|
+
f_operate_date: 'no'
|
|
258
|
+
},
|
|
251
259
|
thead: '',
|
|
252
260
|
showupload:false,
|
|
253
261
|
selected:{},
|
|
@@ -372,6 +380,24 @@
|
|
|
372
380
|
})
|
|
373
381
|
this.modelval = sortModel
|
|
374
382
|
console.log('选择的打印的字段', this.modelval)
|
|
383
|
+
},
|
|
384
|
+
sort (field, rule) {
|
|
385
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
386
|
+
for (let key in this.orderFields) {
|
|
387
|
+
if (key === field) {
|
|
388
|
+
this.orderFields[key] = rule
|
|
389
|
+
} else {
|
|
390
|
+
this.orderFields[key] = 'no'
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
// 如果新规则不排序,还原为默认排序
|
|
394
|
+
if (rule === 'no') {
|
|
395
|
+
this.model.paramSource.orderitem = `'${this.orderitem}'`
|
|
396
|
+
} else {
|
|
397
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
this.search()
|
|
375
401
|
}
|
|
376
402
|
},
|
|
377
403
|
watch: {
|
|
@@ -395,7 +421,7 @@
|
|
|
395
421
|
},
|
|
396
422
|
computed: {
|
|
397
423
|
getCondition() {
|
|
398
|
-
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
424
|
+
return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,orderitem:this.orderitem}
|
|
399
425
|
},
|
|
400
426
|
payments() {
|
|
401
427
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('付款方式')]
|