manage-client 3.2.8 → 3.2.12
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/build/dev-server.js +2 -2
- package/package.json +2 -2
- package/src/components/SellReport/BonSummary.vue +178 -244
- package/src/components/SellReport/DepartmentPrick.vue +1 -1
- package/src/components/SellReport/ManageBusSummary.vue +219 -242
- package/src/components/SellReport/ManageGasPrice.vue +176 -241
- package/src/components/SellReport/NonResidentGas.vue +203 -244
- package/src/components/SellReport/OutletTable.vue +258 -258
- package/src/components/SellReport/ReportComponrnt/TieAnAccount.vue +501 -499
- package/src/components/SellReport/SaleMonthReport.vue +153 -227
- package/src/components/SellReport/UserSellingGas.vue +177 -251
- package/src/components/TelReport/ZhiHuanservice.vue +162 -161
- package/src/components/sale/businessquery/BusinesQuery.vue +2 -2
- package/src/components/sale/businessquery/NoBusinessQuery.vue +4 -4
- package/src/components/sale/config/exportConfig.js +887 -885
- package/src/components/statistical/StatisticalAnalysis.vue +252 -247
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +2 -2
- package/src/filiale/WEINAN/UserGasAll.vue +579 -0
- package/src/filiale/WEINAN/UserGasEcharts.vue +281 -0
- package/src/filiale/WEINAN/UserGasList.vue +438 -0
- package/src/filiale/WEINAN/sale.js +36 -29
- package/src/filiale/meihekou/UserQuery.vue +4 -4
- package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +5 -0
- package/src/filiale/tongchuan/sale.js +16 -19
- package/src/filiale/wuhai/ChargeQuery.vue +1247 -0
- package/src/filiale/wuhai/sale.js +10 -0
- package/src/main.js +1 -1
- package/src/filiale/tongchuan/CriteriaPaged.vue +0 -49
|
@@ -1,161 +1,162 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id='app' class="basic-main" style="height: 98%">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged :pager='false'>
|
|
4
|
-
<criteria partial='criteria' v-ref:criteria @condition-changed='search'>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="col-sm-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
:
|
|
37
|
-
|
|
38
|
-
</div>
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
<
|
|
42
|
-
<report-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</
|
|
70
|
-
|
|
71
|
-
<
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
</
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
import {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
model
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
condition
|
|
111
|
-
condition += this.$refs.paged.$refs.criteria.model.
|
|
112
|
-
condition += this.$refs.paged.$refs.criteria.model.
|
|
113
|
-
condition += this.
|
|
114
|
-
this
|
|
115
|
-
this
|
|
116
|
-
this.model.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
console.log(fengongsi
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
var
|
|
137
|
-
|
|
138
|
-
http
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
})
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
//
|
|
155
|
-
// },
|
|
156
|
-
//
|
|
157
|
-
//
|
|
158
|
-
// }
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div id='app' class="basic-main" style="height: 98%">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged :pager='false'>
|
|
4
|
+
<criteria partial='criteria' v-ref:criteria @condition-changed='search'>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="col-sm-2 form-group">
|
|
8
|
+
<label class="font_normal_body" for="startDate">开始时间:</label>
|
|
9
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
10
|
+
style="width: 60%"
|
|
11
|
+
v-model="model.startDate"
|
|
12
|
+
:value.sync="model.startDate"
|
|
13
|
+
:disabled-days-of-Week="[]"
|
|
14
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
15
|
+
:show-reset-button="reset">
|
|
16
|
+
</datepicker>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="col-sm-2 form-group">
|
|
19
|
+
<label class="font_normal_body" for="endDate">结束时间:</label>
|
|
20
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
21
|
+
style="width: 60%"
|
|
22
|
+
v-model="model.endDate"
|
|
23
|
+
:value.sync="model.endDate"
|
|
24
|
+
:disabled-days-of-Week="[]"
|
|
25
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
26
|
+
:show-reset-button="reset">
|
|
27
|
+
</datepicker>
|
|
28
|
+
</div>
|
|
29
|
+
<div class="col-sm-2 form-group">
|
|
30
|
+
<label class="font_normal_body">组织机构:</label>
|
|
31
|
+
<right-tree :userid.sync='$parent.$parent.userid1' :source.sync='$parent.$parent.source1' @re-res="$parent.$parent.getRes" id="schildrenorgstyle"></right-tree>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="col-sm-2 form-group">
|
|
34
|
+
<label class="font_normal_body"> 置换员:</label>
|
|
35
|
+
<v-select :value.sync="model.f_order_man" v-model="model.f_order_man" :value-single="true"
|
|
36
|
+
:options='$parent.$parent.repairers' placeholder='请选择置换员'
|
|
37
|
+
close-on-select></v-select>
|
|
38
|
+
</div>
|
|
39
|
+
|
|
40
|
+
<div class="span" style="float:right;">
|
|
41
|
+
<button class="button_search" @click="$parent.$parent.selfsearch()">查询</button>
|
|
42
|
+
<report-print id='shexian' top='1cm' left='1cm' width='100%' height='100%'></report-print>
|
|
43
|
+
<report-excel id='shexian'></report-excel>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
</criteria>
|
|
48
|
+
<div partial='list' id='shexian'>
|
|
49
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
50
|
+
<thead>
|
|
51
|
+
<tr>
|
|
52
|
+
<th colspan='5' style="font-weight: normal; text-align: left;">
|
|
53
|
+
<h3 style="text-align: center">置换通气报表</h3>
|
|
54
|
+
</th>
|
|
55
|
+
</tr>
|
|
56
|
+
<tr>
|
|
57
|
+
<th colspan='5' style="font-weight: normal; text-align: center;">
|
|
58
|
+
开始时间:{{$refs.criteria.model.startDate}}
|
|
59
|
+
结束时间:{{$refs.criteria.model.endDate }} <br/>
|
|
60
|
+
打印时间:{{{$parent.printTime}}}
|
|
61
|
+
</th>
|
|
62
|
+
</tr>
|
|
63
|
+
<tr>
|
|
64
|
+
<th colspan='7' style="font-weight: normal; text-align: center;">
|
|
65
|
+
<div>
|
|
66
|
+
<span v-show="$parent.fengongsi.trim()!=''">组织机构:{{$parent.fengongsi}}</span>
|
|
67
|
+
</div>
|
|
68
|
+
</th>
|
|
69
|
+
</tr>
|
|
70
|
+
</thead>
|
|
71
|
+
<tr>
|
|
72
|
+
<th colspan='5' style="font-weight: normal;">
|
|
73
|
+
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
74
|
+
</th>
|
|
75
|
+
</tr>
|
|
76
|
+
</table>
|
|
77
|
+
</div>
|
|
78
|
+
</criteria-paged>
|
|
79
|
+
</div>
|
|
80
|
+
</template>
|
|
81
|
+
|
|
82
|
+
<script>
|
|
83
|
+
import { DataModel } from 'vue-client'
|
|
84
|
+
import { HttpResetClass } from 'vue-client'
|
|
85
|
+
|
|
86
|
+
export default {
|
|
87
|
+
title: '置换通气报表',
|
|
88
|
+
data () {
|
|
89
|
+
let model = new DataModel('rs/report/zhihuanservice',{})
|
|
90
|
+
model.f_subcompany = ''
|
|
91
|
+
|
|
92
|
+
model.condition = '1=1'
|
|
93
|
+
return {
|
|
94
|
+
filialeNameStr:'',
|
|
95
|
+
filialeCodeStr:'',
|
|
96
|
+
userid: this.$login.f.id,
|
|
97
|
+
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() == $organization$))`,
|
|
98
|
+
source2:'this.getAllChildrens().where(row.getAttributes().get($rolestr$) == $置换员$))',
|
|
99
|
+
userid2:'',
|
|
100
|
+
printTime: this.$login.toStandardTimeString(),
|
|
101
|
+
model:model,
|
|
102
|
+
f_filiale_id:'',
|
|
103
|
+
fengongsi:'',
|
|
104
|
+
repairers:[] //置换员数组
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
methods: {
|
|
108
|
+
selfsearch(args){
|
|
109
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
110
|
+
let condition = '1=1'
|
|
111
|
+
condition += this.$refs.paged.$refs.criteria.model.startDate ? ` and tb.f_created_date > '${this.$refs.paged.$refs.criteria.model.startDate}'` : ''
|
|
112
|
+
condition += this.$refs.paged.$refs.criteria.model.endDate ? ` and tb.f_created_date < '${this.$refs.paged.$refs.criteria.model.endDate}'` : ''
|
|
113
|
+
condition += this.$refs.paged.$refs.criteria.model.f_order_man ? ` and tb.f_order_man = '${this.$refs.paged.$refs.criteria.model.f_order_man}'` : ''
|
|
114
|
+
condition += this.f_filiale_id ? ` and tb.f_filiale_id = '${this.f_filiale_id}'` : ''
|
|
115
|
+
this.$refs.paged.$refs.criteria.model.condition = condition
|
|
116
|
+
this.aaa = this.$refs.paged.$refs.criteria.model.startDate
|
|
117
|
+
this.model.search(condition)
|
|
118
|
+
},
|
|
119
|
+
|
|
120
|
+
// 获取组织结构
|
|
121
|
+
getRes(obj) {
|
|
122
|
+
// 获取到分公司ID传给 this.f_filiale_id
|
|
123
|
+
this.f_filiale_id = obj.resids[0]?obj.resids[0]:this.$login.f.orgid
|
|
124
|
+
console.log(this.f_filiale_id,'+++++++++=')
|
|
125
|
+
//再根据公司获取置换员
|
|
126
|
+
this.getEmp(this.f_filiale_id)
|
|
127
|
+
let fengongsi=obj.res.toString().split('.')
|
|
128
|
+
this.fengongsi=fengongsi[0]
|
|
129
|
+
console.log(fengongsi,'se')
|
|
130
|
+
console.log(fengongsi[fengongsi.length-1],'se')
|
|
131
|
+
this.model.f_subcompany = obj.res
|
|
132
|
+
console.log(this.model,'se')
|
|
133
|
+
},
|
|
134
|
+
getEmp (filiale) {
|
|
135
|
+
this.repairers = []
|
|
136
|
+
var source = "tool.getChildrenOfResName($置换员$).where(row.getString($orgid$)==$"+ filiale+"$)"
|
|
137
|
+
var val = {source: source, userid: filiale}
|
|
138
|
+
let http = new HttpResetClass()
|
|
139
|
+
http.load('POST', '/rs/search', {data: val}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
140
|
+
res.data.forEach((item) => {
|
|
141
|
+
this.repairers.push({label: item.name, value: item.name})
|
|
142
|
+
})
|
|
143
|
+
})
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
ready(){
|
|
147
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
148
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
149
|
+
},
|
|
150
|
+
computed: {
|
|
151
|
+
selected() {
|
|
152
|
+
return this.$refs.grid.selected
|
|
153
|
+
}
|
|
154
|
+
// outlets () {
|
|
155
|
+
// return [{label: '全部', value: ''}, ...AppData.getParam('营业网点')]
|
|
156
|
+
// },
|
|
157
|
+
// operator () {
|
|
158
|
+
// return [{label: '全部', value: ''}, ...AppData.getParam('操作员')]
|
|
159
|
+
// }
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
</script>
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
</template>
|
|
109
109
|
<template partial='body'>
|
|
110
110
|
<td style="text-align: center;">
|
|
111
|
-
<nobr>{{row.
|
|
111
|
+
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
112
112
|
</td>
|
|
113
113
|
<td style="text-align: center;">
|
|
114
114
|
<nobr>{{row.f_user_name}}</nobr>
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
model: new PagedList('rs/sql/BusinesQuery', 20, {}, {f_money: 0}),
|
|
197
197
|
criteriaShow: false,
|
|
198
198
|
headData: ["客户编号", "客户名称", "操作人", "操作日期", "停用状态", "停用原因", "其他停用原因", "同步状态"],
|
|
199
|
-
bodyData: ["
|
|
199
|
+
bodyData: ["f_userinfo_code", "f_user_name", "f_operat_type", "f_describe", "f_operat_type", "f_operate_date", "f_state", "f_operator"],
|
|
200
200
|
orgCondtionStr: '',
|
|
201
201
|
show:false,
|
|
202
202
|
rowdata:{},
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
:footer="$parent.$parent.footer"
|
|
18
18
|
:header="$parent.$parent.other"
|
|
19
19
|
sqlurl="rs/logic/exportfile"
|
|
20
|
-
sql-name="
|
|
21
|
-
template-name='
|
|
20
|
+
sql-name="noBusinessQuery"
|
|
21
|
+
template-name='非收费业务查询导出'
|
|
22
22
|
:choose-col="true"></export-excel>
|
|
23
23
|
|
|
24
24
|
<print-data :model="$parent.model" :field="$parent.$parent.getfield" :sum-field="$parent.$parent.getfield"
|
|
25
|
-
:defaultfield="$parent.$parent.defaultfield" print-name="
|
|
25
|
+
:defaultfield="$parent.$parent.defaultfield" print-name="非收费业务查询"
|
|
26
26
|
:sumsmodel="$parent.$parent.sumsmodel"></print-data>
|
|
27
27
|
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,
|
|
28
28
|
'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>
|
|
@@ -762,7 +762,7 @@
|
|
|
762
762
|
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
|
|
763
763
|
},
|
|
764
764
|
getfield() {
|
|
765
|
-
return exportConfig.
|
|
765
|
+
return exportConfig.noBusinessConfig
|
|
766
766
|
},
|
|
767
767
|
usertypes() {
|
|
768
768
|
return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
|