manage-client 3.1.13 → 3.1.14-ls
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/6.1.1/fileHashes/fileHashes.bin +0 -0
- package/build/dev-server.js +174 -178
- package/package.json +101 -101
- package/src/components/SellReport/ManageBusSummary.vue +150 -187
- package/src/components/SellReport/ManageDayGas.vue +120 -120
- package/src/components/SellReport/ManageMonthGas.vue +124 -124
- package/src/components/SellReport/ManageOtherCharge.vue +121 -121
- package/src/components/SellReport/ManageSellType.vue +133 -133
- package/src/components/SellReport/ReportItems.vue +1 -2
- package/src/components/SellReport/jingwei/ManageHandSellMoney.vue +120 -120
- package/src/components/handReport/GeneraHandReport.vue +235 -0
- package/src/components/qinhua/BarChart.vue +26 -74
- package/src/components/qinhua/Style/qinhuaStyle.less +4 -111
- package/src/components/sale/businessquery/AccountQuery/GasReimbursementRate.vue +1 -1
- package/src/components/sale/businessquery/BusinesQuery.vue +3 -3
- package/src/components/sale/businessquery/BusinessManage.vue +0 -3
- package/src/components/sale/businessquery/CancellationQuery.vue +1 -1
- package/src/components/sale/businessquery/CardHandplanQuery.vue +1 -1
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +1 -12
- package/src/components/sale/businessquery/ChangeUserQuery.vue +1 -7
- package/src/components/sale/businessquery/DisableQuery.vue +1 -1
- package/src/components/sale/businessquery/EnableQuery.vue +1 -1
- package/src/components/sale/businessquery/FillCardQuery.vue +1 -1
- package/src/components/sale/businessquery/FillGasQuery.vue +1 -1
- package/src/components/sale/businessquery/GasInspection.vue +1 -1
- package/src/components/sale/businessquery/HandGasPropertiesQuery.vue +19 -10
- package/src/components/sale/businessquery/HandplanQuery.vue +1 -1
- package/src/components/sale/businessquery/InspectListGas.vue +1 -1
- package/src/components/sale/businessquery/InspectListUser.vue +1 -1
- package/src/components/sale/businessquery/MoveMeterQuery.vue +1 -1
- package/src/components/sale/businessquery/OtherChargeQuery.vue +1 -1
- package/src/components/sale/businessquery/ReverseQuery.vue +1 -1
- package/src/components/sale/businessquery/SellingHand.vue +1 -1
- package/src/components/sale/businessquery/SendbookQuery.vue +1 -1
- package/src/components/sale/businessquery/SuspiciousUserQuery.vue +1 -1
- package/src/components/sale/businessquery/TransferQuery.vue +1 -1
- package/src/components/sale/businessquery/UserInsured.vue +1 -1
- package/src/components/sale/businessquery/overDueQuery.vue +1 -1
- package/src/components/sale/businessquery/priceadjustQuery.vue +1 -1
- package/src/components/sale/config/exportConfig.js +518 -527
- package/src/components/sale/filesquery/ArchivesManage.vue +0 -3
- package/src/components/sale/filesquery/DeviceQuery.vue +1 -1
- package/src/components/sale/filesquery/MeterQuery.vue +1 -1
- package/src/components/sale/filesquery/RecordInfoQuery.vue +9 -83
- package/src/components/sale/filesquery/UserDeviceQuery.vue +1 -1
- package/src/components/sale/filesquery/UserQuery.vue +0 -46
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +28 -19
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +14 -32
- package/src/components/webmeter/DrillData/UserGasAll.vue +10 -6
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +7 -8
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +27 -13
- package/src/components/webmeter/instruction/NewQueryInstructMain.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/MeterExceptionList.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +566 -753
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +2 -6
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +3 -10
- package/src/components/webmeter/newwebmeter/UserGasList.vue +10 -12
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +1 -1
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +18 -26
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +1 -1
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +14 -15
- package/src/components/webmeter/report/ReportList.vue +1 -1
- package/src/filiale/WEINAN/MeterQuery.vue +1 -1
- package/src/filiale/WEINAN/RecordInfoQuery.vue +1 -1
- package/src/filiale/WEINAN/manage/ChangeMeterQuery.vue +1 -1
- package/src/filiale/gongyi/sale/businessquery/BusinessManage.vue +19 -19
- package/src/filiale/gongyi/sale/businessquery/ChangeMeterQuery.vue +0 -11
- package/src/filiale/gongyi/sale/filesquery/UserQuery.vue +0 -17
- package/src/filiale/jingwei/RecordInfoQuery.vue +1 -1
- package/src/filiale/jingzhou/ChargeQuery.vue +5 -15
- package/src/filiale/jingzhou/HandplanQuery.vue +1 -1
- package/src/filiale/jingzhou/config/exportConfig.js +13 -17
- package/src/filiale/liaoyuan/RecordInfoQuery.vue +14 -55
- package/src/filiale/liaoyuan/ReportList.vue +1 -1
- package/src/filiale/macheng/MeterQuery.vue +1 -1
- package/src/filiale/meihekou/CardHandplanQuery.vue +1 -1
- package/src/filiale/meihekou/ChargeQuery.vue +4 -4
- package/src/filiale/meihekou/HandplanQuery.vue +1 -1
- package/src/filiale/meihekou/RecordInfoQuery.vue +21 -3
- package/src/filiale/meihekou/sale.js +1 -5
- package/src/filiale/pingxiang/ChangeUserQuery.vue +1 -1
- package/src/filiale/shaoguan/HandplanQuery.vue +1 -1
- package/src/filiale/shaoguan/errorHandplanQuery.vue +1 -1
- package/src/filiale/shaoguan/overDueQuery.vue +1 -1
- package/src/filiale/shaoguan/sale/businessquery/ChangeUserQuery.vue +1 -1
- package/src/main.js +66 -66
- package/src/newmanage.js +3 -37
- package/src/reportManage.js +4 -0
- package/src/saleManage.js +0 -9
- package/src/components/daping/BarChart.vue +0 -256
- package/src/components/daping/BarChartLine.vue +0 -284
- package/src/components/daping/CallCenter.vue +0 -368
- package/src/components/daping/DataManagement.vue +0 -697
- package/src/components/daping/DataManagement1.vue +0 -345
- package/src/components/daping/DataStatistics.vue +0 -241
- package/src/components/daping/ExpireMeter.vue +0 -272
- package/src/components/daping/GMap.vue +0 -636
- package/src/components/daping/ManageMain.vue +0 -255
- package/src/components/daping/Pie.vue +0 -171
- package/src/components/daping/ResidentsSecurity.vue +0 -132
- package/src/components/daping/Ring.vue +0 -227
- package/src/components/daping/SafeCheckRing.vue +0 -160
- package/src/components/daping/SafecheckBarChart.vue +0 -294
- package/src/components/daping/Scada.vue +0 -198
- package/src/components/daping/SellBarEcharts.vue +0 -220
- package/src/components/daping/SellEcharts.vue +0 -219
- package/src/components/daping/Style/qinhuaStyle.less +0 -224
- package/src/components/daping/Style//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
- package/src/components/daping/XianMap.vue +0 -275
- package/src/components/daping/js/AMap.js +0 -19
- package/src/components/daping/js/BMap.js +0 -13
- package/src/components/daping/json/mapStyle.json +0 -1299
- package/src/components/daping/json/xian.json +0 -1
- package/src/components/daping/qinHuaMap.vue +0 -338
- package/src/components/sale/businessquery/PriceChange.vue +0 -411
- package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +0 -334
- package/src/components/sale/filesquery/PriceChangeQuery.vue +0 -357
- package/src/filiale/meihekou/OtherChargeDetailQuery.vue +0 -74
- package/src/filiale/meihekou/OtherChargeQuery.vue +0 -613
- package/src/filiale/meihekou/UserGasEform.vue +0 -267
- package/src/filiale/rongchuang/SellingTable.vue +0 -250
- package/src/filiale/rongchuang/reportManage.js +0 -11
- package/src/filiale/tongchuan/UserQuery.vue +0 -846
- package/src/filiale/tongchuan/config/DefaultPrint.js +0 -6
- package/src/filiale/tongchuan/config/exportConfig.js +0 -857
- package/src/filiale/tongchuan/sale.js +0 -11
- package/src/filiale/zhoukou/CardHandplanQuery.vue +0 -457
- package/src/filiale/zhoukou/sale.js +0 -11
- package/src/plugins/transformer.js +0 -117
- package/static/NewManageHome/NewManageHome/01.png +0 -0
- package/static/NewManageHome/NewManageHome/02.png +0 -0
- package/static/NewManageHome/NewManageHome/03.png +0 -0
- package/static/NewManageHome/NewManageHome/04.png +0 -0
- package/static/NewManageHome/NewManageHome/1.gif +0 -0
- package/static/NewManageHome/NewManageHome/2.gif +0 -0
- package/static/NewManageHome/NewManageHome/3.gif +0 -0
- package/static/NewManageHome/NewManageHome/5gif.gif +0 -0
- package/static/NewManageHome/NewManageHome/6gif.gif +0 -0
- package/static/NewManageHome/NewManageHome/7.gif +0 -0
- package/static/NewManageHome/NewManageHome/8.gif +0 -0
- package/static/NewManageHome/NewManageHome/9.gif +0 -0
- package/static/NewManageHome/NewManageHome/background_qinhua.png +0 -0
- package/static/NewManageHome/NewManageHome/green.png +0 -0
- package/static/NewManageHome/NewManageHome/map.png +0 -0
- package/static/NewManageHome/NewManageHome/map1.png +0 -0
- package/static/NewManageHome/NewManageHome/mpa.png +0 -0
- package/static/NewManageHome/NewManageHome/sell_1.png +0 -0
- package/static/NewManageHome/NewManageHome/sell_2.png +0 -0
- package/static/NewManageHome/NewManageHome/title.png +0 -0
- package/static/NewManageHome/NewManageHome/title_left.png +0 -0
- package/static/NewManageHome/NewManageHome/title_right.png +0 -0
- package/static/NewManageHome/NewManageHome//345/210/206/345/205/254/345/217/270/345/271/264/345/272/246/350/264/255/350/277/233/351/207/217.png +0 -0
- package/static/NewManageHome/NewManageHome//345/212/240/350/275/275.gif +0 -0
- package/static/NewManageHome/NewManageHome//345/212/250/346/225/210.gif +0 -0
- package/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/215/203/351/230/263/345/216/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/215/242/346/260/217/345/216/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//345/217/263/344/270/212.png +0 -0
- package/static/NewManageHome/NewManageHome//345/217/263/344/270/213.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/272/345/256/232/350/265/204/344/272/247.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/2020.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/20212.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/2024.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/2025.png +0 -0
- package/static/NewManageHome/NewManageHome//345/233/276/345/261/202527.png +0 -0
- package/static/NewManageHome/NewManageHome//345/234/206/350/247/222/347/237/251/345/275/2421163.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/344/270/2341.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/344/270/2342.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/214/2271.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/214/2272.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/215/2271.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/345/215/2272.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/350/245/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/237/216/350/245/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//345/267/246/344/270/212.png +0 -0
- package/static/NewManageHome/NewManageHome//345/267/246/344/270/213.png +0 -0
- package/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2771.png +0 -0
- package/static/NewManageHome/NewManageHome//345/271/263/345/210/251/345/216/2772.png +0 -0
- package/static/NewManageHome/NewManageHome//346/200/273/345/205/254/345/217/270/351/224/200/345/224/256/350/266/213/345/212/277.png +0 -0
- package/static/NewManageHome/NewManageHome//347/224/250/346/210/267.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421173/346/213/267/350/264/235.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2421186/346/213/267/350/264/235.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2353.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2356.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2357.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24211/346/213/267/350/264/2359.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23511.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23516.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/24216/346/213/267/350/264/23522.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
- package/static/NewManageHome/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20420.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20437.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20443.png +0 -0
- package/static/NewManageHome/NewManageHome//347/273/20445.png +0 -0
- package/static/NewManageHome/NewManageHome//350/203/214/346/231/2571.png +0 -0
- package/static/NewManageHome/NewManageHome//350/220/245/344/270/232/346/224/266/345/205/245.png +0 -0
- package/static/NewManageHome/NewManageHome//351/224/200/345/224/256/346/260/224/351/207/217.png +0 -0
- package/static/NewManageHome/green.png +0 -0
- package/static/NewManageHome/title.png +0 -0
- package/static/NewManageHome/title_wujie.png +0 -0
- package/static/NewManageHome//345/233/276/345/261/202527.png +0 -0
- package/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2353.png +0 -0
- package/static/NewManageHome//347/237/251/345/275/2426/346/213/267/350/264/2354.png +0 -0
- package/static/NewManageHome//347/273/20443.png +0 -0
- package/static/NewManageHome//347/273/20445.png +0 -0
- package/static/newStyle/position.png +0 -0
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
:show-reset-button="reset">
|
|
27
27
|
</datepicker>
|
|
28
28
|
</div>
|
|
29
|
-
<res-select-group :initres="$parent.$parent.initres"
|
|
29
|
+
<res-select-group :initres="$parent.$parent.initres" :show-component=['company','department','operator'] :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
|
|
30
30
|
<div class="col-sm-2 form-group">
|
|
31
31
|
<label class="font_normal_body">收费状态</label>
|
|
32
32
|
<v-select :value.sync="$parent.$parent.f_state"
|
|
@@ -110,140 +110,140 @@
|
|
|
110
110
|
</template>
|
|
111
111
|
|
|
112
112
|
<script>
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
125
|
-
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
|
|
126
|
-
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
127
|
-
f_outlets: this.$login.f.depname})
|
|
128
|
-
if (saveBack.data.status === 'succeed') {
|
|
129
|
-
self.show = false
|
|
130
|
-
self.filename = ''
|
|
131
|
-
// 后台保存完成,通知刷新
|
|
132
|
-
self.$dispatch('save-success', self.filename)
|
|
133
|
-
}
|
|
113
|
+
import { DataModel } from 'vue-client'
|
|
114
|
+
import co from 'co'
|
|
115
|
+
let saveFile = function * (self) {
|
|
116
|
+
// 线验证文件是否重名
|
|
117
|
+
let count = yield self.$resetpost('rs/sql/manageSingleTable',
|
|
118
|
+
{data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
|
|
119
|
+
{resolveMsg: null, rejectMsg: null})
|
|
120
|
+
if (count.data.length > 0) {
|
|
121
|
+
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
|
122
|
+
return
|
|
134
123
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
124
|
+
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
125
|
+
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
|
|
126
|
+
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
127
|
+
f_outlets: this.$login.f.depname})
|
|
128
|
+
if (saveBack.data.status === 'succeed') {
|
|
129
|
+
self.show = false
|
|
130
|
+
self.filename = ''
|
|
131
|
+
// 后台保存完成,通知刷新
|
|
132
|
+
self.$dispatch('save-success', self.filename)
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
export default {
|
|
136
|
+
title: '月售气量汇总表',
|
|
137
|
+
props: ['data'],
|
|
138
|
+
data () {
|
|
139
|
+
return {
|
|
140
|
+
printTime: this.$login.toStandardTimeString(),
|
|
141
|
+
depresid: [],
|
|
142
|
+
userresid: [],
|
|
143
|
+
initres: {
|
|
144
|
+
org:[this.$login.f.orgid],
|
|
145
|
+
dep:[],
|
|
146
|
+
user:[]
|
|
147
|
+
},
|
|
148
|
+
f_orgid: this.$login.f.orgid,
|
|
149
|
+
f_depid: this.$login.f.depids,
|
|
150
|
+
f_operatorid: this.$login.f.id,
|
|
151
|
+
operatorid: [],
|
|
152
|
+
depid: [],
|
|
153
|
+
orgname: '',
|
|
154
|
+
depname: '',
|
|
155
|
+
f_state:['有效'],
|
|
156
|
+
operatorname: '',
|
|
157
|
+
orgCondtionStr: '1=1',
|
|
158
|
+
model: new DataModel('rs/report/manage_month_sellgas', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
159
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
160
|
+
reportStr: null,
|
|
161
|
+
show: false,
|
|
162
|
+
spans: ''
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
ready () {
|
|
166
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
167
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
168
|
+
// this.$refs.paged.$refs.criteria.search()
|
|
169
|
+
},
|
|
170
|
+
methods: {
|
|
171
|
+
searchData () {
|
|
172
|
+
this.$refs.paged.$refs.criteria.search()
|
|
164
173
|
},
|
|
165
|
-
|
|
166
|
-
this
|
|
167
|
-
|
|
168
|
-
|
|
174
|
+
selfSearch (args) {
|
|
175
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
176
|
+
let orgstr = this.orgCondtionStr
|
|
177
|
+
args.condition = `${args.condition} ` + orgstr
|
|
178
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = this.orgCondtionStr + (this.f_state && this.f_state != '' ? " and f_state='" + this.f_state + "' " : '')
|
|
179
|
+
this.$refs.paged.search(args)
|
|
169
180
|
},
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
this.depname = obj.depnames[0]
|
|
185
|
-
},
|
|
186
|
-
// getdep (obj, val) {
|
|
187
|
-
// // this.depname = val[0]
|
|
188
|
-
// this.userresid = obj
|
|
189
|
-
// this.f_depid = obj
|
|
190
|
-
// },
|
|
191
|
-
// getuser ( obj, val) {
|
|
192
|
-
// this.operatorname = val[0]
|
|
193
|
-
// this.f_operatorid = obj
|
|
194
|
-
// },
|
|
181
|
+
getRes (condition, obj) {
|
|
182
|
+
this.orgCondtionStr = condition
|
|
183
|
+
this.orgname = obj.orgnames[0]
|
|
184
|
+
this.depname = obj.depnames[0]
|
|
185
|
+
},
|
|
186
|
+
// getdep (obj, val) {
|
|
187
|
+
// // this.depname = val[0]
|
|
188
|
+
// this.userresid = obj
|
|
189
|
+
// this.f_depid = obj
|
|
190
|
+
// },
|
|
191
|
+
// getuser ( obj, val) {
|
|
192
|
+
// this.operatorname = val[0]
|
|
193
|
+
// this.f_operatorid = obj
|
|
194
|
+
// },
|
|
195
195
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
}
|
|
207
|
-
let saveGen = saveFile(this)
|
|
208
|
-
co(saveGen)
|
|
209
|
-
},
|
|
210
|
-
close () {
|
|
211
|
-
this.show = false
|
|
212
|
-
},
|
|
213
|
-
// 将报表保存成文件
|
|
214
|
-
confirmReport () {
|
|
215
|
-
this.show = true
|
|
216
|
-
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
196
|
+
// 根据文件路径获取储存的报表内容
|
|
197
|
+
getFileContent (path) {
|
|
198
|
+
this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
199
|
+
this.reportStr = res.data.filecontent
|
|
200
|
+
this.model.state = '正确'
|
|
201
|
+
})
|
|
202
|
+
},
|
|
203
|
+
confirm () {
|
|
204
|
+
if (!this.filename || this.filename === '') {
|
|
205
|
+
this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
|
|
217
206
|
}
|
|
207
|
+
let saveGen = saveFile(this)
|
|
208
|
+
co(saveGen)
|
|
218
209
|
},
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
}
|
|
235
|
-
this.spans = num
|
|
210
|
+
close () {
|
|
211
|
+
this.show = false
|
|
212
|
+
},
|
|
213
|
+
// 将报表保存成文件
|
|
214
|
+
confirmReport () {
|
|
215
|
+
this.show = true
|
|
216
|
+
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
watch: {
|
|
220
|
+
'data' (val) {
|
|
221
|
+
if (val.f_files_path) {
|
|
222
|
+
this.getFileContent(val.f_files_path)
|
|
223
|
+
} else {
|
|
224
|
+
this.reportStr = null
|
|
236
225
|
}
|
|
237
226
|
},
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
227
|
+
'model.data' (val) {
|
|
228
|
+
let tab = document.getElementById('test').children[0]
|
|
229
|
+
var tds = tab.getElementsByTagName('td')
|
|
230
|
+
var num = 0
|
|
231
|
+
for (let td of tds) {
|
|
232
|
+
let span = td.getAttribute('colspan')
|
|
233
|
+
num = num + ((span ? span : 1) - 0)
|
|
241
234
|
}
|
|
235
|
+
this.spans = num
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
computed: {
|
|
239
|
+
charge_state() {
|
|
240
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('收费状态')]
|
|
242
241
|
}
|
|
243
242
|
}
|
|
243
|
+
}
|
|
244
244
|
</script>
|
|
245
245
|
<style scoped>
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
246
|
+
.noborder{
|
|
247
|
+
border: none;
|
|
248
|
+
}
|
|
249
249
|
</style>
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
</div>
|
|
53
53
|
</criteria>
|
|
54
54
|
<div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
|
|
55
|
-
<table class='tableprint' style="margin: 0px auto"
|
|
55
|
+
<table class='tableprint' style="margin: 0px auto">
|
|
56
56
|
<thead>
|
|
57
57
|
<tr>
|
|
58
58
|
<th colspan='{{$parent.spans}}' style="font-weight: bold; text-align: left;">
|
|
@@ -115,136 +115,136 @@
|
|
|
115
115
|
</template>
|
|
116
116
|
|
|
117
117
|
<script>
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}
|
|
129
|
-
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
130
|
-
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
|
|
131
|
-
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
132
|
-
f_outlets: this.$login.f.depname})
|
|
133
|
-
if (saveBack.data.status === 'succeed') {
|
|
134
|
-
self.show = false
|
|
135
|
-
self.filename = ''
|
|
136
|
-
// 后台保存完成,通知刷新
|
|
137
|
-
self.$dispatch('save-success', self.filename)
|
|
138
|
-
}
|
|
118
|
+
import { DataModel } from 'vue-client'
|
|
119
|
+
import co from 'co'
|
|
120
|
+
let saveFile = function * (self) {
|
|
121
|
+
// 线验证文件是否重名
|
|
122
|
+
let count = yield self.$resetpost('rs/sql/manageSingleTable',
|
|
123
|
+
{data: {tablename: 't_report_record', condition: `f_files_name = '${self.filename}'`}},
|
|
124
|
+
{resolveMsg: null, rejectMsg: null})
|
|
125
|
+
if (count.data.length > 0) {
|
|
126
|
+
self.$showAlert('无法保存,文件名重名', 'warning', 3000)
|
|
127
|
+
return
|
|
139
128
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
129
|
+
let saveBack = yield self.$resetpost('rs/logic/saveReport', {f_files_content: self.$refs.paged.$els.handcollect.innerHTML,
|
|
130
|
+
f_files_name: self.filename, f_files_type: self.data.f_report_type, f_component_name: 'manage-bus-summary',
|
|
131
|
+
f_operator: this.$login.f.name, f_query_month: `${self.model.model.startDate}-${self.model.model.endDate}`,
|
|
132
|
+
f_outlets: this.$login.f.depname})
|
|
133
|
+
if (saveBack.data.status === 'succeed') {
|
|
134
|
+
self.show = false
|
|
135
|
+
self.filename = ''
|
|
136
|
+
// 后台保存完成,通知刷新
|
|
137
|
+
self.$dispatch('save-success', self.filename)
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
export default {
|
|
141
|
+
title: '其他收费汇总',
|
|
142
|
+
props: ['data'],
|
|
143
|
+
data () {
|
|
144
|
+
return {
|
|
145
|
+
printTime: this.$login.toStandardTimeString(),
|
|
146
|
+
depresid: [],
|
|
147
|
+
userresid: [],
|
|
148
|
+
initres: {
|
|
149
|
+
org:[this.$login.f.orgid],
|
|
150
|
+
dep:[],
|
|
151
|
+
user:[]
|
|
152
|
+
},
|
|
153
|
+
f_orgid: this.$login.f.orgid,
|
|
154
|
+
f_depid: this.$login.f.depids,
|
|
155
|
+
f_operatorid: this.$login.f.id,
|
|
156
|
+
operatorid: [],
|
|
157
|
+
depid: [],
|
|
158
|
+
orgname: '',
|
|
159
|
+
depname: '',
|
|
160
|
+
operatorname: '',
|
|
161
|
+
orgCondtionStr: '1=1',
|
|
162
|
+
model: new DataModel('rs/report/othercharge', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
|
|
163
|
+
f_orgid: 'this.model.f_orgid'}),
|
|
164
|
+
reportStr: null,
|
|
165
|
+
show: false,
|
|
166
|
+
spans: ''
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
ready () {
|
|
170
|
+
this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
|
|
171
|
+
this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
|
|
172
|
+
// this.$refs.paged.$refs.criteria.search()
|
|
173
|
+
},
|
|
174
|
+
methods: {
|
|
175
|
+
searchData () {
|
|
176
|
+
this.$refs.paged.$refs.criteria.search()
|
|
168
177
|
},
|
|
169
|
-
|
|
170
|
-
this
|
|
171
|
-
|
|
172
|
-
|
|
178
|
+
selfSearch (args) {
|
|
179
|
+
this.printTime = this.$login.toStandardTimeString()
|
|
180
|
+
let orgstr = this.orgCondtionStr
|
|
181
|
+
args.condition = `${args.condition} ` + orgstr
|
|
182
|
+
this.$refs.paged.$refs.criteria.model.f_orgid = orgstr
|
|
183
|
+
this.$refs.paged.search(args)
|
|
173
184
|
},
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
this.depname = obj.depnames[0]
|
|
189
|
-
},
|
|
190
|
-
// getdep (obj, val) {
|
|
191
|
-
// // this.depname = val[0]
|
|
192
|
-
// this.userresid = obj
|
|
193
|
-
// this.f_depid = obj
|
|
194
|
-
// },
|
|
195
|
-
// getuser ( obj, val) {
|
|
196
|
-
// this.operatorname = val[0]
|
|
197
|
-
// this.f_operatorid = obj
|
|
198
|
-
// },
|
|
185
|
+
getRes (condition, obj) {
|
|
186
|
+
this.orgCondtionStr = condition
|
|
187
|
+
this.orgname = obj.orgnames[0]
|
|
188
|
+
this.depname = obj.depnames[0]
|
|
189
|
+
},
|
|
190
|
+
// getdep (obj, val) {
|
|
191
|
+
// // this.depname = val[0]
|
|
192
|
+
// this.userresid = obj
|
|
193
|
+
// this.f_depid = obj
|
|
194
|
+
// },
|
|
195
|
+
// getuser ( obj, val) {
|
|
196
|
+
// this.operatorname = val[0]
|
|
197
|
+
// this.f_operatorid = obj
|
|
198
|
+
// },
|
|
199
199
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
}
|
|
211
|
-
let saveGen = saveFile(this)
|
|
212
|
-
co(saveGen)
|
|
213
|
-
},
|
|
214
|
-
close () {
|
|
215
|
-
this.show = false
|
|
216
|
-
},
|
|
217
|
-
// 将报表保存成文件
|
|
218
|
-
confirmReport () {
|
|
219
|
-
this.show = true
|
|
220
|
-
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
200
|
+
// 根据文件路径获取储存的报表内容
|
|
201
|
+
getFileContent (path) {
|
|
202
|
+
this.$resetpost('rs/logic/getReportFileContent', {f_files_path: path}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
203
|
+
this.reportStr = res.data.filecontent
|
|
204
|
+
this.model.state = '正确'
|
|
205
|
+
})
|
|
206
|
+
},
|
|
207
|
+
confirm () {
|
|
208
|
+
if (!this.filename || this.filename === '') {
|
|
209
|
+
this.$showAlert('无法保存,文件名不能为空', 'warning', 3000)
|
|
221
210
|
}
|
|
211
|
+
let saveGen = saveFile(this)
|
|
212
|
+
co(saveGen)
|
|
222
213
|
},
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
}
|
|
239
|
-
this.spans = num
|
|
214
|
+
close () {
|
|
215
|
+
this.show = false
|
|
216
|
+
},
|
|
217
|
+
// 将报表保存成文件
|
|
218
|
+
confirmReport () {
|
|
219
|
+
this.show = true
|
|
220
|
+
this.filename = this.data.f_report_name + this.$login.toStandardDateString()
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
watch: {
|
|
224
|
+
'data' (val) {
|
|
225
|
+
if (val.f_files_path) {
|
|
226
|
+
this.getFileContent(val.f_files_path)
|
|
227
|
+
} else {
|
|
228
|
+
this.reportStr = null
|
|
240
229
|
}
|
|
241
230
|
},
|
|
242
|
-
|
|
231
|
+
'model.data' (val) {
|
|
232
|
+
let tab = document.getElementById('test').children[0]
|
|
233
|
+
var tds = tab.getElementsByTagName('td')
|
|
234
|
+
var num = 0
|
|
235
|
+
for (let td of tds) {
|
|
236
|
+
let span = td.getAttribute('colspan')
|
|
237
|
+
num = num + ((span ? span : 1) - 0)
|
|
238
|
+
}
|
|
239
|
+
this.spans = num
|
|
243
240
|
}
|
|
241
|
+
},
|
|
242
|
+
computed: {
|
|
244
243
|
}
|
|
244
|
+
}
|
|
245
245
|
</script>
|
|
246
246
|
<style scoped>
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
247
|
+
.noborder{
|
|
248
|
+
border: none;
|
|
249
|
+
}
|
|
250
250
|
</style>
|