manage-client 3.1.39 → 3.1.40
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/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/build/dev-server.js +22 -29
- package/package.json +1 -1
- package/src/App.vue +28 -29
- package/src/components/BasisEcharts/BarChart.vue +247 -247
- package/src/components/BasisEcharts/RingChart.vue +196 -196
- package/src/components/SellReport/BusinessClassify.vue +293 -293
- package/src/components/SellReport/ChargePrick.vue +284 -284
- package/src/components/SellReport/DepartmentPrick.vue +288 -288
- package/src/components/SellReport/FinanceSellType.vue +254 -254
- package/src/components/SellReport/GasBaozhuangFee.vue +237 -237
- package/src/components/SellReport/GasPrice.vue +244 -244
- package/src/components/SellReport/ManageBusSummary.vue +242 -242
- package/src/components/SellReport/ManageHandInputtor.vue +281 -281
- package/src/components/SellReport/ManageOtherCharge.vue +250 -250
- package/src/components/SellReport/ManageSellType.vue +284 -284
- package/src/components/SellReport/ManageUserCount.vue +347 -347
- package/src/components/SellReport/MarketMonth.vue +277 -251
- package/src/components/SellReport/SaleMonthReport.vue +227 -227
- package/src/components/SellReport/SellingTable.vue +220 -220
- package/src/components/SellReport/UserClassify.vue +251 -251
- package/src/components/SellReport/UserSellingGas.vue +251 -251
- package/src/components/daping/CallCenter.vue +366 -366
- package/src/components/daping/DataManagement.vue +537 -537
- package/src/components/daping/GMap.vue +636 -636
- package/src/components/daping/ManageMain.vue +270 -270
- package/src/components/daping/NetWork.vue +238 -238
- package/src/components/daping/RedactDaPing.vue +468 -468
- package/src/components/daping/Ring.vue +212 -212
- package/src/components/daping/SafeCheck.vue +446 -446
- package/src/components/daping/SafeCheckRing.vue +166 -166
- package/src/components/daping/SafecheckBarChart.vue +233 -233
- package/src/components/daping/WuHaiMap.vue +418 -418
- package/src/components/qinhua/BarChart.vue +256 -256
- package/src/components/qinhua/Pie.vue +132 -132
- package/src/components/qinhua/SellEcharts.vue +115 -115
- package/src/components/qinhua/qinHuaMap.vue +414 -414
- package/src/components/sale/businessquery/CollectManage.vue +135 -135
- package/src/components/sale/businessquery/FMYGasQuery.vue +713 -713
- package/src/components/sale/businessquery/MonthGasQuery.vue +467 -467
- package/src/components/sale/businessquery/OtherChargeQuery.vue +619 -619
- package/src/components/sale/businessquery/ProceedsOper.vue +377 -377
- package/src/components/sale/businessquery/YingShouMingXi.vue +525 -525
- package/src/components/statistical/StatisticalAnalysis.vue +247 -247
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +633 -633
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +177 -177
- package/src/components/webmeter/DrillData/UserGasAll.vue +597 -597
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +210 -210
- package/src/components/webmeter/DrillData/UserGasEform.vue +227 -227
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +585 -585
- package/src/components/webmeter/newwebmeter/NewException/NewContactEcharts.vue +170 -170
- package/src/components/webmeter/newwebmeter/NewException/NewEchartsAll.vue +111 -111
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +903 -903
- package/src/components/webmeter/newwebmeter/NewException/NewGasEcharts.vue +209 -209
- package/src/components/webmeter/newwebmeter/NewException/NewHandplanEcharts.vue +238 -238
- package/src/components/webmeter/newwebmeter/NewException/NewInstructEcharts.vue +266 -266
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +607 -607
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +218 -218
- package/src/components/webmeter/newwebmeter/UserGasList.vue +438 -438
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +332 -332
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +266 -266
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +387 -387
- package/src/filiale/alashan/SellingTable.vue +234 -234
- package/src/filiale/alashan/reportManage.js +10 -10
- package/src/filiale/jingzhou/ChargeQuery.vue +1243 -1243
- package/src/filiale/jingzhou/config/exportConfig.js +861 -861
- package/src/filiale/meihekou/UserGasEform.vue +267 -267
- package/src/filiale/meihekou/sale.js +26 -26
- package/src/filiale/rongcheng/exportConfig.js +257 -257
- package/src/filiale/rongchuang/SellingTable.vue +250 -250
- package/src/filiale/rongchuang/reportManage.js +11 -11
- package/src/filiale/shaoguan/config/exportConfig.js +433 -433
- package/src/filiale/tongchuan/ManageBusSummary.vue +301 -301
- package/src/filiale/tongchuan/ResSelectGroupNew.vue +181 -176
- package/src/filiale/tongchuan/reportManage.js +5 -5
- package/src/main.js +2 -2
- package/src/newmanage.js +525 -525
- package/src/reportManage.js +462 -462
- package/src/saleManage.js +521 -522
- package/static/wuhai.json +1610 -1610
- package/src/components/SellReport/SellCollect.vue +0 -183
- package/src/components/sale/businessquery/NewHandplanQuery.vue +0 -995
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id='app' >
|
|
3
|
-
<criteria-paged :model="model" :pager='false' v-ref:paged>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
|
5
|
-
<div novalidate class="form-inline auto " partial >
|
|
6
|
-
<p class="bg-info text-center" style="padding: 8px;">用户统计报表</p>
|
|
7
|
-
<div class="flex-row auto" style="justify-content: space-between">
|
|
8
|
-
<div class="form-group" v-if="!$parent.$parent.data.f_files_path">
|
|
9
|
-
<label for="startDate">开始日期:</label>
|
|
10
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
11
|
-
v-model="model.startDate"
|
|
12
|
-
:value.sync="model.startDate"
|
|
13
|
-
:disabled-days-of-Week="[]"
|
|
14
|
-
:format="'yyyy-MM-dd'"
|
|
15
|
-
:show-reset-button="reset">
|
|
16
|
-
</datepicker>
|
|
17
|
-
<label for="endDate">结束日期:</label>
|
|
18
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
19
|
-
v-model="model.endDate"
|
|
20
|
-
:value.sync="model.endDate"
|
|
21
|
-
:disabled-days-of-Week="[]"
|
|
22
|
-
:format="'yyyy-MM-dd'"
|
|
23
|
-
:show-reset-button="reset">
|
|
24
|
-
</datepicker>
|
|
25
|
-
<label for="endDate" class="control-label">组织机构</label>
|
|
26
|
-
<right-tree :userid.sync='$parent.$parent.userid' :source.sync='$parent.$parent.source' @re-res="$parent.$parent.getRes"></right-tree>
|
|
27
|
-
<button class="btn btn-primary width-100" @click="search()">查询</button>
|
|
28
|
-
<!--<button class="btn btn-success width-100" @click="$parent.$parent.confirmReport()">保存报表</button>-->
|
|
29
|
-
</div>
|
|
30
|
-
<span></span>
|
|
31
|
-
<div class="form-group">
|
|
32
|
-
<report-print id='gasprice' top='1cm' left='2cm' width='100%' height='100%' :preview="true"></report-print>
|
|
33
|
-
<report-excel id='gasprice' ></report-excel>
|
|
34
|
-
</div>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
</criteria>
|
|
38
|
-
<div partial='list' v-el:handcollect id='gasprice'>
|
|
39
|
-
<table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
|
|
40
|
-
<thead>
|
|
41
|
-
<tr>
|
|
42
|
-
<th colspan='6' style="font-weight: normal; text-align: left;">
|
|
43
|
-
<h3 style="text-align: center">用户统计报表</h3>
|
|
44
|
-
</th>
|
|
45
|
-
</tr>
|
|
46
|
-
<tr>
|
|
47
|
-
<th colspan='6' style="font-weight: normal; text-align: center;">
|
|
48
|
-
开始时间:{{model.model.startDate}}
|
|
49
|
-
结束时间:{{ model.model.endDate }}
|
|
50
|
-
</th>
|
|
51
|
-
</tr>
|
|
52
|
-
<tr>
|
|
53
|
-
<th colspan='6' style="font-weight: normal; text-align: center;">
|
|
54
|
-
打印时间:{{{$parent.printTime}}}
|
|
55
|
-
</th>
|
|
56
|
-
</tr>
|
|
57
|
-
<tr>
|
|
58
|
-
<th colspan='6' style="font-weight: normal; text-align: center;">
|
|
59
|
-
组织机构:{{$parent.filialeNameStr}}
|
|
60
|
-
</th>
|
|
61
|
-
</tr>
|
|
62
|
-
</thead>
|
|
63
|
-
<tr>
|
|
64
|
-
<td colspan='6'>
|
|
65
|
-
{{{ model.data.substring(26,model.data.length-8) }}}
|
|
66
|
-
</td>
|
|
67
|
-
</tr>
|
|
68
|
-
|
|
69
|
-
</table>
|
|
70
|
-
{{{ $parent.reportStr }}}
|
|
71
|
-
</div>
|
|
72
|
-
</criteria-paged>
|
|
73
|
-
<modal :show.sync="show" v-ref:modal small backdrop="false">
|
|
74
|
-
<header slot="modal-header" class="modal-header">
|
|
75
|
-
<h4 class="modal-title">输入文件名称</h4>
|
|
76
|
-
</header>
|
|
77
|
-
<article slot="modal-body" class="modal-body">
|
|
78
|
-
<div class="form-group">
|
|
79
|
-
<input type="text" class="form-control" v-model="filename" placeholder='保存的文件名'>
|
|
80
|
-
</div>
|
|
81
|
-
</article>
|
|
82
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
83
|
-
<button v-show="show" type="button" class="btn btn-default" @click='close'>取消</button>
|
|
84
|
-
<button v-show="show" type="button" class="btn btn-success" @click='confirm(filename)'>确认</button>
|
|
85
|
-
</footer>
|
|
86
|
-
</modal>
|
|
87
|
-
|
|
88
|
-
</div>
|
|
89
|
-
</template>
|
|
90
|
-
<script>
|
|
91
|
-
import { DataModel } from 'vue-client'
|
|
92
|
-
import co from 'co'
|
|
93
|
-
let saveFile = function * (self) {
|
|
94
|
-
// 线验证文件是否重名
|
|
95
|
-
let count = yield self.$resetpost('rs/sql/manageSingleTable',
|
|
96
|
-
{data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
|
|
97
|
-
{resolveMsg: null, rejectMsg: null})
|
|
98
|
-
if (count.data.length > 0) {
|
|
99
|
-
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
|
100
|
-
return
|
|
101
|
-
}
|
|
102
|
-
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
103
|
-
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-user-collect',
|
|
104
|
-
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
105
|
-
f_outlets: this.$login.f.f_parentname})
|
|
106
|
-
if (saveBack.data.status === 'succeed') {
|
|
107
|
-
self.show = false
|
|
108
|
-
self.filename = ''
|
|
109
|
-
// 后台保存完成,通知刷新
|
|
110
|
-
self.$dispatch('save-success', self.filename)
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
export default {
|
|
114
|
-
title: '用户统计报表',
|
|
115
|
-
props: ['data'],
|
|
116
|
-
data () {
|
|
117
|
-
return {
|
|
118
|
-
model: new DataModel('rs/report/manger_user_report', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
119
|
-
filialeCodeStr: 'this.model.filialeCodeStr', filiale: 'this.model.filiale'}),
|
|
120
|
-
reportStr: null,
|
|
121
|
-
show: false,
|
|
122
|
-
printTime: this.$login.toStandardTimeString(),
|
|
123
|
-
filename: '',
|
|
124
|
-
filialeNameStr: this.$login.f.orgpathnames,
|
|
125
|
-
filialeCodeStr: this.$login.f.orgpathstr,
|
|
126
|
-
userid: this.$login.f.id,
|
|
127
|
-
source: `tool.getFullTree(this.getRights().where(row.getType() != $zone$).where(row.getType() != $role$))`
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
ready () {
|
|
131
|
-
if (this.data) {
|
|
132
|
-
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString()
|
|
133
|
-
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString()
|
|
134
|
-
this.$refs.paged.$refs.criteria.model.filiale = this.$login.f.f_fengongsi
|
|
135
|
-
}
|
|
136
|
-
this.$refs.paged.$refs.criteria.search()
|
|
137
|
-
},
|
|
138
|
-
methods: {
|
|
139
|
-
selfSearch (args) {
|
|
140
|
-
this.$refs.paged.$refs.criteria.model.filialeCodeStr = this.filialeCodeStr
|
|
141
|
-
this.$refs.paged.search(args)
|
|
142
|
-
},
|
|
143
|
-
getRes(obj) {
|
|
144
|
-
console.log(obj, '组织')
|
|
145
|
-
this.filialeNameStr = obj.res
|
|
146
|
-
this.filialeCodeStr = obj.resids
|
|
147
|
-
},
|
|
148
|
-
// 根据文件路径获取储存的报表内容
|
|
149
|
-
getFileContent (path) {
|
|
150
|
-
this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
151
|
-
this.reportStr = res.data.filecontent
|
|
152
|
-
this.model.state = '正确'
|
|
153
|
-
})
|
|
154
|
-
},
|
|
155
|
-
confirm () {
|
|
156
|
-
if (!this.filename || this.filename === '') {
|
|
157
|
-
this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
|
|
158
|
-
}
|
|
159
|
-
let saveGen = saveFile(this)
|
|
160
|
-
co(saveGen)
|
|
161
|
-
},
|
|
162
|
-
close () {
|
|
163
|
-
this.show = false
|
|
164
|
-
},
|
|
165
|
-
// 将报表保存成文件
|
|
166
|
-
confirmReport () {
|
|
167
|
-
this.show = true
|
|
168
|
-
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
watch: {
|
|
172
|
-
'data' (val) {
|
|
173
|
-
if (val.f_files_path) {
|
|
174
|
-
this.getFileContent(val.f_files_path)
|
|
175
|
-
} else {
|
|
176
|
-
this.reportStr = null
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
},
|
|
180
|
-
computed: {
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
</script>
|