manage-client 3.3.66 → 3.3.67
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
CHANGED
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
50
50
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
51
51
|
<export-excel :data="$parent.$parent.getCondition"
|
|
52
|
-
:
|
|
52
|
+
:footer="$parent.$parent.footer"
|
|
53
|
+
:field="$parent.$parent.getfield" :header="$parent.$parent.other"
|
|
53
54
|
sqlurl="rs/logic/exportfile" sql-name="flotsampriceChargeQuery" template-name='垃圾费查询导出'
|
|
54
55
|
:choose-col="true">
|
|
55
56
|
</export-excel>
|
|
@@ -168,12 +169,22 @@ export default {
|
|
|
168
169
|
model: new PagedList('rs/sql/flotsampriceChargeQuery', 20, {orderitem: this.orderitem?`${this.orderitem}`: " 'f_operate_date desc'"}
|
|
169
170
|
,{f_money:0}),
|
|
170
171
|
orgCondtionStr: '',
|
|
172
|
+
footer:[],
|
|
173
|
+
other:[],
|
|
171
174
|
//排序
|
|
172
175
|
orderitem:'f_operate_date desc',
|
|
173
176
|
show:false,
|
|
174
177
|
sumsmodel : {}
|
|
175
178
|
}
|
|
176
179
|
},
|
|
180
|
+
watch:{
|
|
181
|
+
sumsmodel:{
|
|
182
|
+
handler: function(val) {
|
|
183
|
+
this.getotherfooter();
|
|
184
|
+
},
|
|
185
|
+
deep: true
|
|
186
|
+
}
|
|
187
|
+
},
|
|
177
188
|
ready() {
|
|
178
189
|
readySomething(this).then(() => {
|
|
179
190
|
this.$emit('ready')
|
|
@@ -182,6 +193,30 @@ export default {
|
|
|
182
193
|
})
|
|
183
194
|
},
|
|
184
195
|
methods: {
|
|
196
|
+
getotherfooter () {
|
|
197
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
198
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
199
|
+
this.other = [];
|
|
200
|
+
this.footer = [];
|
|
201
|
+
let exportdata = this.getCondition;
|
|
202
|
+
let otherInData = [];
|
|
203
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
204
|
+
|
|
205
|
+
// otherInData.push(``)
|
|
206
|
+
let footerData = [], exportfield = this.getfield;
|
|
207
|
+
footerData.push("合计");
|
|
208
|
+
let self = this;
|
|
209
|
+
for (var field in self.sumsmodel) {
|
|
210
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
211
|
+
}
|
|
212
|
+
this.footer.push(footerData);
|
|
213
|
+
this.other.push(otherInData);
|
|
214
|
+
let date = []
|
|
215
|
+
date.push(`起始时间:${this.$refs.paged.$refs.cri.model.startDate}`)
|
|
216
|
+
date.push(`终止时间:${this.$refs.paged.$refs.cri.model.endDate}`)
|
|
217
|
+
this.other.push(date)
|
|
218
|
+
// this.other.push(enddate)
|
|
219
|
+
},
|
|
185
220
|
search(){
|
|
186
221
|
this.$refs.paged.$refs.cri.search()
|
|
187
222
|
},
|
|
@@ -830,6 +830,30 @@
|
|
|
830
830
|
this.gasproperties =[{label: '全部', value: ''}]
|
|
831
831
|
}
|
|
832
832
|
},
|
|
833
|
+
getotherfooter () {
|
|
834
|
+
// this.$refs.paged.$refs.cri.$refs.exports.otherData = [];
|
|
835
|
+
// this.$refs.paged.$refs.cri.$refs.exports.footerData = [];
|
|
836
|
+
this.other = [];
|
|
837
|
+
this.footer = [];
|
|
838
|
+
let exportdata = this.getCondition;
|
|
839
|
+
let otherInData = [];
|
|
840
|
+
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
841
|
+
|
|
842
|
+
// otherInData.push(``)
|
|
843
|
+
let footerData = [], exportfield = this.getfield;
|
|
844
|
+
footerData.push("合计");
|
|
845
|
+
let self = this;
|
|
846
|
+
for (var field in self.sumsmodel) {
|
|
847
|
+
footerData.push(`${exportfield[field]}合计:${self.sumsmodel[field]}`);
|
|
848
|
+
}
|
|
849
|
+
this.footer.push(footerData);
|
|
850
|
+
this.other.push(otherInData);
|
|
851
|
+
let date = []
|
|
852
|
+
date.push(`起始时间:${this.$refs.paged.$refs.cri.model.startDate}`)
|
|
853
|
+
date.push(`终止时间:${this.$refs.paged.$refs.cri.model.endDate}`)
|
|
854
|
+
this.other.push(date)
|
|
855
|
+
// this.other.push(enddate)
|
|
856
|
+
},
|
|
833
857
|
// 对选择的列进行排序
|
|
834
858
|
sortModelval() {
|
|
835
859
|
let sortModel = []
|
|
@@ -885,6 +909,12 @@
|
|
|
885
909
|
this.put()
|
|
886
910
|
}
|
|
887
911
|
},
|
|
912
|
+
sumsmodel:{
|
|
913
|
+
handler: function(val) {
|
|
914
|
+
this.getotherfooter();
|
|
915
|
+
},
|
|
916
|
+
deep: true
|
|
917
|
+
},
|
|
888
918
|
'modelval.length'() {
|
|
889
919
|
this.put()
|
|
890
920
|
}
|
|
@@ -1034,6 +1034,8 @@
|
|
|
1034
1034
|
let exportdata = this.getCondition;
|
|
1035
1035
|
let otherInData = [];
|
|
1036
1036
|
otherInData.push(`导出时间: ${this.$login.toStandardTimeString()}`);
|
|
1037
|
+
|
|
1038
|
+
// otherInData.push(``)
|
|
1037
1039
|
let footerData = [], exportfield = this.getfield;
|
|
1038
1040
|
footerData.push("合计");
|
|
1039
1041
|
let self = this;
|
|
@@ -1042,6 +1044,11 @@
|
|
|
1042
1044
|
}
|
|
1043
1045
|
this.footer.push(footerData);
|
|
1044
1046
|
this.other.push(otherInData);
|
|
1047
|
+
let date = []
|
|
1048
|
+
date.push(`起始时间:${this.$refs.paged.$refs.cri.model.startDate}`)
|
|
1049
|
+
date.push(`终止时间:${this.$refs.paged.$refs.cri.model.endDate}`)
|
|
1050
|
+
this.other.push(date)
|
|
1051
|
+
// this.other.push(enddate)
|
|
1045
1052
|
},
|
|
1046
1053
|
async getaddress(){
|
|
1047
1054
|
let HttpReset = new HttpResetClass()
|