manage-client 3.2.87-aode → 3.2.87-aodeToV4
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/.classpath +6 -6
- package/.eslintrc.js +16 -16
- package/.project +18 -18
- package/CHANGELOG.md +13 -13
- package/DOC//345/212/237/350/203/275/350/257/264/346/230/216.md +13 -13
- package/DOC//347/211/210/346/234/254/344/277/241/346/201/257.md +8 -8
- package/ManageClient.iml +12 -12
- package/build/dev-server.js +193 -193
- package/build/webpack.base.conf.js +80 -80
- package/build.gradle +13 -13
- package/config/index.js +38 -38
- package/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/gradlew +234 -234
- package/gradlew.bat +89 -89
- package/package.json +101 -101
- package/src/App.vue +28 -28
- package/src/ManageHome.js +269 -269
- package/src/Staff/StaffCompileList.vue +334 -334
- package/src/Staff/StaffList.vue +161 -161
- package/src/Util.js +383 -383
- package/src/components/ManageHome/Drill/DrillList.vue +320 -320
- package/src/components/ManageHome/Home/CallCenter.vue +124 -124
- package/src/components/ManageHome/Home/Monitor.vue +329 -329
- package/src/components/ManageHome/Home/UserModule.vue +367 -367
- package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
- package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
- package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/ManageHome/Monitor/NoContact.vue +232 -232
- package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
- package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
- package/src/components/ManageHomeCS/CustomerService/ContentmentStatistics.vue +161 -161
- package/src/components/ManageHomeCS/CustomerService/ExcepCollect.vue +201 -201
- package/src/components/ManageHomeCS/CustomerService/ReasonComplaint.vue +116 -116
- package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +115 -115
- package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +195 -195
- package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +177 -177
- package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +173 -173
- package/src/components/ManageHomeCS/Drill/DrillData.vue +792 -792
- package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
- package/src/components/ManageHomeCS/Home/CallCenter.vue +191 -191
- package/src/components/ManageHomeCS/Home/GasValue.vue +377 -377
- package/src/components/ManageHomeCS/Home/Home.vue +55 -55
- package/src/components/ManageHomeCS/Home/Monitor.vue +415 -415
- package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
- package/src/components/ManageHomeCS/Home/SafeCheck.vue +443 -443
- package/src/components/ManageHomeCS/Home/UserModule.vue +527 -527
- package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
- package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
- package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/ManageHomeCS/ManageHome.vue +149 -149
- package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
- package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +264 -264
- package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +221 -221
- package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +136 -136
- package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
- package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +233 -233
- package/src/components/ManageHomeCS/Monitor/NoContact.vue +246 -246
- package/src/components/ManageHomeCS/Monitor/NoGas.vue +212 -212
- package/src/components/ManageHomeCS/NetWork/LineInspection.vue +268 -268
- package/src/components/ManageHomeCS/NetWork/NetDanger.vue +258 -258
- package/src/components/ManageHomeCS/NetWork/NetHome.vue +108 -108
- package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
- package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
- package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +64 -64
- package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +340 -340
- package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +206 -206
- package/src/components/ManageHomeCS/NewHome/TextProfit.vue +275 -275
- package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +79 -79
- package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
- package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +403 -403
- package/src/components/ManageHomeCS/NewHome/TextUser.vue +298 -298
- package/src/components/ManageHomeCS/NewHome/shanxi.vue +437 -437
- package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
- package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +263 -263
- package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
- package/src/components/ManageHomeCS/User/GasDistri.vue +343 -343
- package/src/components/ManageHomeCS/User/InspecDistri.vue +348 -348
- package/src/components/ManageHomeCS/User/SaleProportion.vue +336 -336
- package/src/components/ManageHomeCS/User/UseHome.vue +154 -154
- package/src/components/ManageHomeCS/User/UserGascontrast.vue +224 -224
- package/src/components/ManageHomeCS/User/UserNumber.vue +599 -599
- package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
- package/src/components/MeterManage/ChangeMeterQuery.vue +82 -82
- package/src/components/MeterManage/ChargeQuery.vue +79 -79
- package/src/components/MeterManage/FillCardQuery.vue +80 -80
- package/src/components/MeterManage/FillGasQuery.vue +80 -80
- package/src/components/MeterManage/HandQuery.vue +72 -72
- package/src/components/MeterManage/MeterList.vue +336 -336
- package/src/components/MeterManage/MeterMsg.vue +181 -181
- package/src/components/MeterManage/OtherChargeQuery.vue +78 -78
- package/src/components/MeterManage/ReversalQuery.vue +77 -77
- package/src/components/MeterManage/TransferQuery.vue +72 -72
- package/src/components/SellReport/BankManager.vue +146 -146
- package/src/components/SellReport/BonSummary.vue +182 -182
- package/src/components/SellReport/BusSummary.vue +238 -238
- package/src/components/SellReport/ChargeBill.vue +186 -186
- package/src/components/SellReport/CollectFee.vue +184 -184
- package/src/components/SellReport/Contrast.vue +188 -188
- package/src/components/SellReport/FenxiangSell.vue +183 -183
- package/src/components/SellReport/GasCollect.vue +174 -174
- package/src/components/SellReport/GasPrice.vue +183 -183
- package/src/components/SellReport/GaspriceHas.vue +141 -141
- package/src/components/SellReport/GetSummary.vue +186 -186
- package/src/components/SellReport/GetUserNum.vue +166 -166
- package/src/components/SellReport/HandCollect.vue +189 -189
- package/src/components/SellReport/HandplanBili.vue +73 -73
- package/src/components/SellReport/JinChengBusSummary.vue +182 -182
- package/src/components/SellReport/JinChengHandGas.vue +182 -182
- package/src/components/SellReport/JinChengOperSummary.vue +182 -182
- package/src/components/SellReport/JinChengSliceSumgas.vue +182 -182
- package/src/components/SellReport/ManageBusSummary.vue +241 -241
- package/src/components/SellReport/ManageGasPrice.vue +183 -183
- package/src/components/SellReport/ManageHandInputtor.vue +241 -241
- package/src/components/SellReport/ManageMonthGas.vue +181 -181
- package/src/components/SellReport/ManageNewGasPrice.vue +240 -240
- package/src/components/SellReport/ManageSellType.vue +183 -183
- package/src/components/SellReport/ManageUserCollect.vue +177 -177
- package/src/components/SellReport/MeterBill.vue +185 -185
- package/src/components/SellReport/MeterInput.vue +185 -185
- package/src/components/SellReport/MeterReader.vue +203 -203
- package/src/components/SellReport/OweAging.vue +174 -174
- package/src/components/SellReport/QTXManageBusSummary.vue +234 -234
- package/src/components/SellReport/RefundQuery.vue +237 -237
- package/src/components/SellReport/ReportHistory.vue +80 -80
- package/src/components/SellReport/ReportItems.vue +39 -39
- package/src/components/SellReport/ReportPool.vue +40 -40
- package/src/components/SellReport/Selling.vue +188 -188
- package/src/components/SellReport/SiteManager.vue +151 -151
- package/src/components/SellReport/UsertypePie.vue +99 -99
- package/src/components/SellReport/VolumeStatistics.vue +226 -226
- package/src/components/SellReport/YuShou.vue +185 -185
- package/src/components/SellReport/getWebReport.vue +181 -181
- package/src/components/SellReport/jingwei/CardCharge.vue +142 -142
- package/src/components/SellReport/jingwei/MachineCharge.vue +141 -141
- package/src/components/SellReport/jingwei/PaymentNotice.vue +316 -316
- package/src/components/SellReport/jingwei/handplanReport.vue +225 -225
- package/src/components/TelReport/TrafficAssess.vue +99 -99
- package/src/components/TelReport/TrafficBasic.vue +117 -117
- package/src/components/TelReport/ZhiHuanservice.vue +147 -147
- package/src/components/WebReport/AbnormalInfo.vue +197 -197
- package/src/components/WebReport/AbnormalInfoEcharts.vue +120 -120
- package/src/components/WebReport/BatteryLow.vue +148 -148
- package/src/components/WebReport/BussinessType.vue +140 -140
- package/src/components/WebReport/Communication.vue +131 -131
- package/src/components/WebReport/EchartsBox.vue +110 -110
- package/src/components/WebReport/ElectroMagnetic.vue +142 -142
- package/src/components/WebReport/GaspriceHas.vue +141 -141
- package/src/components/WebReport/HandplanPrint.vue +167 -167
- package/src/components/WebReport/NotUpload.vue +165 -165
- package/src/components/WebReport/OweQuery.vue +169 -169
- package/src/components/WebReport/Paymentpie.vue +160 -160
- package/src/components/WebReport/ReportWorklist.vue +220 -220
- package/src/components/WebReport/SellType.vue +89 -89
- package/src/components/WebReport/Telemanlist.vue +221 -221
- package/src/components/WebReport/UserGasAll.vue +214 -214
- package/src/components/WebReport/UserGasEcharts.vue +107 -107
- package/src/components/WebReport/UsertypePie.vue +105 -105
- package/src/components/WebReport/ValueEcharts.vue +99 -99
- package/src/components/WebReport/ValueInfo.vue +194 -194
- package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
- package/src/components/sale/businessquery/BusinessManage.vue +109 -109
- package/src/components/sale/businessquery/CancelChargeQuery.vue +650 -650
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +667 -667
- package/src/components/sale/businessquery/ChargeQuery.vue +663 -663
- package/src/components/sale/businessquery/DeductionGas.vue +149 -149
- package/src/components/sale/businessquery/DisableQuery.vue +315 -315
- package/src/components/sale/businessquery/EnableQuery.vue +315 -315
- package/src/components/sale/businessquery/FillCardQuery.vue +436 -436
- package/src/components/sale/businessquery/FillGasQuery.vue +435 -435
- package/src/components/sale/businessquery/HandplanQuery.vue +705 -705
- package/src/components/sale/businessquery/InspectListGas.vue +456 -456
- package/src/components/sale/businessquery/InspectListUser.vue +366 -366
- package/src/components/sale/businessquery/InspectManage.vue +37 -37
- package/src/components/sale/businessquery/NewAccountQuery.vue +511 -511
- package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +70 -70
- package/src/components/sale/businessquery/OtherChargeQuery.vue +406 -406
- package/src/components/sale/businessquery/QueryUserState.vue +313 -313
- package/src/components/sale/businessquery/ReverseQuery.vue +347 -347
- package/src/components/sale/businessquery/SellingHand.vue +340 -340
- package/src/components/sale/businessquery/TransferQuery.vue +363 -363
- package/src/components/sale/businessquery/errorHandplanQuery.vue +246 -246
- package/src/components/sale/businessquery/ncpushQuery.vue +304 -304
- package/src/components/sale/businessquery/toolCardMakeQuery.vue +340 -340
- package/src/components/sale/common/TabButton.vue +149 -149
- package/src/components/sale/common/Tabs.vue +67 -67
- package/src/components/sale/config/exportConfig.js +271 -271
- package/src/components/sale/filesquery/ArchivesManage.vue +35 -35
- package/src/components/sale/filesquery/ChangeUserQuery.vue +396 -396
- package/src/components/sale/filesquery/DeviceQuery.vue +329 -329
- package/src/components/sale/filesquery/MeterQuery.vue +613 -613
- package/src/components/sale/filesquery/UserQuery.vue +556 -556
- package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
- package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +66 -66
- package/src/components/sale/filesquery/detail/oper/HandOper.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +46 -46
- package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +54 -54
- package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +51 -51
- package/src/components/sale/filesquery/detail/oper/SellOper.vue +56 -56
- package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +55 -55
- package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +219 -219
- package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +246 -246
- package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +239 -239
- package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +126 -126
- package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +272 -272
- package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +274 -274
- package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +80 -80
- package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +80 -80
- package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +302 -302
- package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +158 -158
- package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +198 -198
- package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +125 -125
- package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +280 -280
- package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +160 -160
- package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +155 -155
- package/src/components/sale/ncpush/ncUserLoad.vue +176 -176
- package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +497 -497
- package/src/components/sale/ncpush/ncpushmanage/NCpushManage.vue +50 -50
- package/src/components/sale/ncpush/ncpushmanage/NCpushSummary.vue +110 -110
- package/src/components/sale/ncpush/ncrecord/pushRecordQuery.vue +252 -252
- package/src/components/sale/ncpush/ncrecord/pushbilldatalist.vue +166 -166
- package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +298 -298
- package/src/components/sale/ncpush/pushconfirmManage.vue +271 -271
- package/src/components/sale/ncpush/pushconfirmadd.vue +420 -420
- package/src/components/sale/ncpush/pushconfirmlist.vue +414 -414
- package/src/components/sale/ncpush/pushconfirmmergelist.vue +480 -480
- package/src/components/sale/report/aode/DayReport.vue +50 -50
- package/src/components/sale/report/aode/DayReportList.vue +553 -553
- package/src/components/sale/report/aode/DayReportSummary.vue +112 -112
- package/src/components/sale/report/aode/MonthByChargeType.vue +526 -526
- package/src/components/sale/report/aode/MonthByUserType.vue +562 -562
- package/src/components/sale/report/aode/YearByChargeTpye.vue +254 -254
- package/src/components/sale/report/aode/YearByUserType.vue +351 -351
- package/src/components/sale/report/aode/iot/FarawayQuery.vue +401 -401
- package/src/components/sale/report/aode/iot/ReportQuery.vue +387 -387
- package/src/components/sale/report/aode/life/LifeDayReportList.vue +324 -324
- package/src/components/sale/report/aode/life/LifeMonthReport.vue +487 -487
- package/src/components/sale/report/aode/life/LifeYearReport.vue +216 -216
- package/src/components/sale/report/aode/othercharge/OtherDayReport.vue +50 -50
- package/src/components/sale/report/aode/othercharge/OtherDayReportList.vue +414 -414
- package/src/components/sale/report/aode/othercharge/OtherDayReportListPrint.vue +240 -240
- package/src/components/sale/report/aode/othercharge/OtherDayReportSummary.vue +68 -68
- package/src/components/sale/report/aode/userbuyQuery.vue +477 -477
- package/src/components/sale/report/aode/widget/DayReportListPrint.vue +310 -310
- package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +233 -233
- package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +170 -170
- package/src/components/sale/report/aode/widget/LifeYearPrint.vue +160 -160
- package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +246 -246
- package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
- package/src/components/valueaddinfo/ValueAddinfoQuery.vue +425 -425
- package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +371 -371
- package/src/components/valueaddinfo/valueAddCountQuery.vue +315 -315
- package/src/components/valueaddinfo/valueAddUserQuery.vue +404 -404
- package/src/components/webmeter/ArreasuserQuery.vue +193 -193
- package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
- package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +548 -548
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +159 -159
- package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
- package/src/components/webmeter/DrillData/NewUserGasAll.vue +592 -592
- package/src/components/webmeter/DrillData/UserGasAll.vue +538 -538
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +209 -209
- package/src/components/webmeter/DrillData/UserGasEform.vue +226 -226
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +527 -527
- package/src/components/webmeter/EasyExcelExportCk.vue +396 -396
- package/src/components/webmeter/IOTArrears/arrears.vue +325 -325
- package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +378 -378
- package/src/components/webmeter/IOTArrears/valueConfig.js +14 -14
- package/src/components/webmeter/NewWebmeterHandplanQuery.vue +605 -605
- package/src/components/webmeter/OperatorCount.vue +189 -189
- package/src/components/webmeter/WebmeterHandplanQuery.vue +640 -640
- package/src/components/webmeter/WebmeterHandplanQuery2CK.vue +663 -663
- package/src/components/webmeter/dataCollection/DataCollection.vue +630 -630
- package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
- package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +303 -303
- package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
- package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
- package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +712 -712
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +149 -149
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +211 -211
- package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +449 -449
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +492 -492
- package/src/components/webmeter/newwebmeter/NewWebUserHand.vue +324 -324
- package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +283 -283
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +245 -245
- package/src/components/webmeter/newwebmeter/UserGasList.vue +295 -295
- package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +286 -286
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +311 -311
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +258 -258
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +175 -175
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +386 -386
- package/src/components/webmeter/report/ReportList.vue +211 -211
- package/src/index.js +9 -9
- package/src/main.js +56 -56
- package/src/newmanage.js +288 -288
- package/src/plugins/GetLoginInfoService.js +505 -505
- package/src/plugins/LodopFuncs.js +124 -124
- package/src/reportManage.js +208 -208
- package/src/saleManage.js +263 -263
- package/src/stores/DataSql.js +585 -585
- package/src/stores/DrillECharts.js +601 -601
- package/src/stores/DrillSql.js +675 -675
- package/src/stores/MagGetSaleParams.js +138 -138
- package/src/stores/MagLoadParams.js +63 -63
- package/src/webmeterManage.js +99 -99
- package/yarn-error.log +7394 -7394
|
@@ -1,477 +1,477 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div v-if="!listpage" @keyup.enter="search">
|
|
3
|
-
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
4
|
-
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial style="background: #fff;padding-left: 10px;">
|
|
6
|
-
<div class="row">
|
|
7
|
-
<res-select-group :style="$parent.$parent.style" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" :style="$parent.$parent.style" v-ref:sel></res-select-group>
|
|
8
|
-
|
|
9
|
-
<div class="button-range" style="float:right">
|
|
10
|
-
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
11
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
12
|
-
<export-excel :data="$parent.$parent.getCondition" v-ref:exportexcel
|
|
13
|
-
:field="$parent.$parent.getfield"
|
|
14
|
-
:defaultselect="$parent.$parent.selectfields"
|
|
15
|
-
sqlurl="
|
|
16
|
-
class="button_export button_spacing"></export-excel>
|
|
17
|
-
<!--<day-report-list-print :countmodel="{sumsmodel:$parent.$parent.sumsmodel,model:$parent.$parent.model,orgname:$parent.$parent.orgname,depname:$parent.$parent.depname}"></day-report-list-print>-->
|
|
18
|
-
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_right':!$parent.$parent.criteriaShow}" @click="$parent.$parent.show()"></div>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
22
|
-
<div :class="$parent.$parent.style" >
|
|
23
|
-
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
24
|
-
<datepicker placeholder="开始日期" style="width:60%"
|
|
25
|
-
v-model="model.f_startDate"
|
|
26
|
-
:value.sync="model.f_startDate"
|
|
27
|
-
:format="'yyyy-MM-dd 00:00:00'"
|
|
28
|
-
class="datepicker"
|
|
29
|
-
:show-reset-button="true"
|
|
30
|
-
class="select"
|
|
31
|
-
>
|
|
32
|
-
</datepicker>
|
|
33
|
-
</div>
|
|
34
|
-
<div :class="$parent.$parent.style" >
|
|
35
|
-
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
36
|
-
<datepicker placeholder="结束日期" style="width:60%"
|
|
37
|
-
v-model="model.f_endDate"
|
|
38
|
-
:value.sync="model.f_endDate"
|
|
39
|
-
:format="'yyyy-MM-dd 23:59:59'"
|
|
40
|
-
class="datepicker"
|
|
41
|
-
:show-reset-button="true"
|
|
42
|
-
class="select"
|
|
43
|
-
>
|
|
44
|
-
</datepicker>
|
|
45
|
-
</div>
|
|
46
|
-
<div :class="$parent.$parent.style" >
|
|
47
|
-
<label class="font_normal_body">客户编号</label>
|
|
48
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
49
|
-
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
50
|
-
</div>
|
|
51
|
-
<div :class="$parent.$parent.style">
|
|
52
|
-
<label class="font_normal_body">客户名称</label>
|
|
53
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
54
|
-
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
55
|
-
</div>
|
|
56
|
-
<div :class="$parent.$parent.style">
|
|
57
|
-
<label class="font_normal_body">新客户名称</label>
|
|
58
|
-
<input type="text" style="width:60%" class="input_search" v-model="model.f_newuser_name"
|
|
59
|
-
placeholder="新客户名称">
|
|
60
|
-
</div>
|
|
61
|
-
<div :class="$parent.$parent.style">
|
|
62
|
-
<label class="font_normal_body">用气性质</label>
|
|
63
|
-
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
64
|
-
:options='$parent.$parent.useroptions' placeholder='请选择'
|
|
65
|
-
condition="f_gasproperties = '{}'"
|
|
66
|
-
close-on-select></v-select>
|
|
67
|
-
</div>
|
|
68
|
-
<div :class="$parent.$parent.style">
|
|
69
|
-
<label class="font_normal_body">操作类型</label>
|
|
70
|
-
<v-select :value.sync="model.f_type" v-model="model.f_type"
|
|
71
|
-
:options='$parent.$parent.operates' placeholder='请选择'
|
|
72
|
-
condition="f_type = '{}'"
|
|
73
|
-
close-on-select></v-select>
|
|
74
|
-
</div>
|
|
75
|
-
<div :class="$parent.$parent.style">
|
|
76
|
-
<label class="font_normal_body">操作状态</label>
|
|
77
|
-
<v-select :value.sync="model.f_state" v-model="model.f_state"
|
|
78
|
-
:options='$parent.$parent.stateoptions' placeholder='请选择'
|
|
79
|
-
condition="f_state = '{}'"
|
|
80
|
-
close-on-select></v-select>
|
|
81
|
-
</div>
|
|
82
|
-
<div :class="$parent.$parent.style">
|
|
83
|
-
<label class="font_normal_body">包含APP</label>
|
|
84
|
-
<v-select :value.sync="model.f_hasapp" v-model="model.f_hasapp"
|
|
85
|
-
:options='$parent.$parent.hasapps' placeholder='请选择'
|
|
86
|
-
condition="f_operator {} "
|
|
87
|
-
close-on-select></v-select>
|
|
88
|
-
</div>
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
</div>
|
|
93
|
-
</div>
|
|
94
|
-
</criteria>
|
|
95
|
-
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
|
|
96
|
-
<template partial='head'>
|
|
97
|
-
<tr>
|
|
98
|
-
<th>
|
|
99
|
-
<data-order field="f_userinfo_code" name="客户编号"></data-order>
|
|
100
|
-
<!--<nobr>客户编号</nobr>-->
|
|
101
|
-
</th>
|
|
102
|
-
<th><data-order field="f_user_name" name="客户姓名(缴费记录)"></data-order>
|
|
103
|
-
<th><data-order field="f_user_name" name="新客户姓名(用户档案)"></data-order>
|
|
104
|
-
<!--<nobr>客户姓名</nobr>-->
|
|
105
|
-
</th>
|
|
106
|
-
<th><nobr>地址</nobr></th>
|
|
107
|
-
<th>
|
|
108
|
-
<data-order field="f_meter_brand" name="气表厂家"></data-order>
|
|
109
|
-
</th>
|
|
110
|
-
<th><data-order field="f_operate_date" name="操作时间"></data-order>
|
|
111
|
-
<!--<nobr>操作时间</nobr>-->
|
|
112
|
-
</th>
|
|
113
|
-
<th><data-order field="f_operate_date" name="操作状态"></data-order>
|
|
114
|
-
<!--<nobr>操作时间</nobr>-->
|
|
115
|
-
</th>
|
|
116
|
-
<th>
|
|
117
|
-
<data-order field="f_stair1price" name="1单价"></data-order>
|
|
118
|
-
</th>
|
|
119
|
-
<th>
|
|
120
|
-
<data-order field="f_stair1amount" name="1气量"></data-order>
|
|
121
|
-
</th>
|
|
122
|
-
<th>
|
|
123
|
-
<data-order field="f_stair2price" name="2单价"></data-order>
|
|
124
|
-
</th>
|
|
125
|
-
<th>
|
|
126
|
-
<data-order field="f_stair2amount" name="2气量"></data-order>
|
|
127
|
-
</th>
|
|
128
|
-
<th>
|
|
129
|
-
<data-order field="f_stair3price" name="3单价"></data-order>
|
|
130
|
-
</th>
|
|
131
|
-
<th>
|
|
132
|
-
<data-order field="f_stair3amount" name="3气量"></data-order>
|
|
133
|
-
</th>
|
|
134
|
-
<th>
|
|
135
|
-
<data-order field="f_pregas" name="气量"></data-order>
|
|
136
|
-
</th>
|
|
137
|
-
<th>
|
|
138
|
-
<data-order field="f_preamount" name="应收金额"></data-order>
|
|
139
|
-
</th>
|
|
140
|
-
<th>
|
|
141
|
-
<data-order field="f_collection" name="实收金额"></data-order>
|
|
142
|
-
</th>
|
|
143
|
-
<th><nobr>上期余额</nobr></th>
|
|
144
|
-
<th><nobr>本期余额</nobr></th>
|
|
145
|
-
<th>
|
|
146
|
-
<data-order field="f_payment" name="付款方式"></data-order>
|
|
147
|
-
</th>
|
|
148
|
-
<th>
|
|
149
|
-
<data-order field="f_type" name="收费类型"></data-order>
|
|
150
|
-
</th>
|
|
151
|
-
<th>
|
|
152
|
-
<data-order field="f_operator" name="操作员"></data-order>
|
|
153
|
-
</th>
|
|
154
|
-
<th>
|
|
155
|
-
<data-order field="f_user_type" name="客户类型"></data-order>
|
|
156
|
-
</th>
|
|
157
|
-
<th><nobr>备注</nobr></th>
|
|
158
|
-
|
|
159
|
-
</tr>
|
|
160
|
-
</template>
|
|
161
|
-
<template partial='body' >
|
|
162
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}" ><nobr>
|
|
163
|
-
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
164
|
-
</nobr> </td>
|
|
165
|
-
<td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_name}}</nobr></td>
|
|
166
|
-
<td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_newuser_name}}</nobr></td>
|
|
167
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_address}}</nobr></td>
|
|
168
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_meter_brand}}</nobr></td>
|
|
169
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operate_date}}</nobr></td>
|
|
170
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_state}}</nobr></td>
|
|
171
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1price}}</nobr></td>
|
|
172
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1amount}}</nobr></td>
|
|
173
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2price}}</nobr></td>
|
|
174
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2amount}}</nobr></td>
|
|
175
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3price}}</nobr></td>
|
|
176
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3amount}}</nobr></td>
|
|
177
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_pregas}}</nobr></td>
|
|
178
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_preamount}}</nobr></td>
|
|
179
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_collection}}</nobr></td>
|
|
180
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_balance}}</nobr></td>
|
|
181
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_curbalance}}</nobr></td>
|
|
182
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_payment}}</nobr></td>
|
|
183
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_type}}</nobr></td>
|
|
184
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operator}}</nobr></td>
|
|
185
|
-
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_type}}</nobr></td>
|
|
186
|
-
<td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_comments}}</nobr></td>
|
|
187
|
-
</template>
|
|
188
|
-
</data-grid>
|
|
189
|
-
</criteria-paged>
|
|
190
|
-
<table class="table-hover" style="margin-top: -1.2%;">
|
|
191
|
-
<tr style="position: relative" class="table-bordered">
|
|
192
|
-
<td
|
|
193
|
-
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
194
|
-
汇总信息
|
|
195
|
-
</td>
|
|
196
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
197
|
-
业务气量: {{sumsmodel.f_shouru_gas}}
|
|
198
|
-
</td>
|
|
199
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
200
|
-
实收金额: {{sumsmodel.f_shouru_fee}}
|
|
201
|
-
</td>
|
|
202
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
203
|
-
应收金额: {{sumsmodel.f_yingshou_fee}}
|
|
204
|
-
</td>
|
|
205
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
206
|
-
柜台微信: {{sumsmodel.f_sumgtwx}}
|
|
207
|
-
</td>
|
|
208
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
209
|
-
财务收款: {{sumsmodel.f_sumcwsf}}
|
|
210
|
-
</td>
|
|
211
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
212
|
-
现金缴费: {{sumsmodel.f_sumxjjf}}
|
|
213
|
-
</td>
|
|
214
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
215
|
-
柜台支付宝: {{sumsmodel.f_sumzfb}}
|
|
216
|
-
</td>
|
|
217
|
-
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
218
|
-
pos: {{sumsmodel.f_sumpos}}
|
|
219
|
-
</td>
|
|
220
|
-
</tr>
|
|
221
|
-
</table>
|
|
222
|
-
|
|
223
|
-
</div>
|
|
224
|
-
<div v-if="listpage">
|
|
225
|
-
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
226
|
-
</div>
|
|
227
|
-
</template>
|
|
228
|
-
|
|
229
|
-
<script>
|
|
230
|
-
|
|
231
|
-
import { PagedList } from 'vue-client'
|
|
232
|
-
import exportConfig from '../../config/exportConfig'
|
|
233
|
-
import getLodop from '../../../../plugins/LodopFuncs'
|
|
234
|
-
|
|
235
|
-
export default {
|
|
236
|
-
// components: {DayReportSummary},
|
|
237
|
-
title: '购气记录',
|
|
238
|
-
props: {
|
|
239
|
-
style: {
|
|
240
|
-
type: String,
|
|
241
|
-
default: 'col-sm-2 form-group'
|
|
242
|
-
},
|
|
243
|
-
},
|
|
244
|
-
data() {
|
|
245
|
-
return {
|
|
246
|
-
orderDefault: "'f_operate_date'",
|
|
247
|
-
orderFields: {
|
|
248
|
-
f_userinfo_code: 'no'
|
|
249
|
-
},
|
|
250
|
-
initres: {
|
|
251
|
-
org:[this.$login.f.orgid],
|
|
252
|
-
dep:[this.$login.f.depids],
|
|
253
|
-
user:[this.$login.f.id]
|
|
254
|
-
},
|
|
255
|
-
model: new PagedList('
|
|
256
|
-
f_pregas: 0,
|
|
257
|
-
f_collection: 0,
|
|
258
|
-
f_count_open: 0,
|
|
259
|
-
f_pregas_open: 0,
|
|
260
|
-
f_collection_open: 0,
|
|
261
|
-
f_count_zg: 0,
|
|
262
|
-
f_pregas_zg: 0,
|
|
263
|
-
f_collection_zg: 0,
|
|
264
|
-
f_count_bk: 0,
|
|
265
|
-
f_pregas_bk: 0,
|
|
266
|
-
f_collection_bk: 0,
|
|
267
|
-
f_count_bq: 0,
|
|
268
|
-
f_pregas_bq: 0,
|
|
269
|
-
f_collection_bq: 0,
|
|
270
|
-
f_count_hb: 0,
|
|
271
|
-
f_pregas_hb: 0,
|
|
272
|
-
f_collection_hb: 0,
|
|
273
|
-
f_count_cz: 0,
|
|
274
|
-
f_pregas_cz: 0,
|
|
275
|
-
f_collection_cz: 0,
|
|
276
|
-
f_sum_count:0,
|
|
277
|
-
f_shouru_gas:0,
|
|
278
|
-
f_shouru_fee:0,
|
|
279
|
-
f_yingshou_fee:0,
|
|
280
|
-
f_usebenqi_fee:0,
|
|
281
|
-
f_benqi_fee:0,
|
|
282
|
-
f_sumgtwx:0,
|
|
283
|
-
f_sumcwsf:0,
|
|
284
|
-
f_sumxjjf:0,
|
|
285
|
-
f_sumzfb:0,
|
|
286
|
-
f_sumpos:0,
|
|
287
|
-
f_sumwxjf:0
|
|
288
|
-
}),
|
|
289
|
-
listpage:false,
|
|
290
|
-
rowdata: {},
|
|
291
|
-
orgCondtionStr: '',
|
|
292
|
-
userTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')],
|
|
293
|
-
count: 0,
|
|
294
|
-
sumsmodel: {},
|
|
295
|
-
printshow: false,
|
|
296
|
-
all: false,
|
|
297
|
-
orgname: '',
|
|
298
|
-
depname: '',
|
|
299
|
-
criteriaShow: true,
|
|
300
|
-
operates: [{label: '全部', value: ''},...this.$appdata.getParam('日清单操作类型')],
|
|
301
|
-
stateoptions:[{label: '全部', value: ''}, {label: '有效', value: "有效"},{label: '撤销', value: "撤销"},{label: '无效', value: "无效"},{label: '冲正', value: "冲正"}],
|
|
302
|
-
hasapps: [{label: '包含APP', value: ''}, {label: '不包含APP', value: "!= '悦生活'"}],
|
|
303
|
-
useroptions:[{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')],
|
|
304
|
-
selectfields:[],
|
|
305
|
-
pushncshow:false,
|
|
306
|
-
pushncshow2:false,
|
|
307
|
-
searchCondition:{},
|
|
308
|
-
}
|
|
309
|
-
},
|
|
310
|
-
ready() {
|
|
311
|
-
if(this.$login.r.includes('收费推送')){
|
|
312
|
-
this.pushncshow = true;
|
|
313
|
-
}
|
|
314
|
-
this.model.params = {"f_newuser_name":""}
|
|
315
|
-
this.$refs.paged.$refs.cri.condition += this.orgCondtionStr
|
|
316
|
-
this.$refs.paged.$refs.cri.model.f_hasapp = [`!= '悦生活'`]
|
|
317
|
-
this.$refs.paged.$refs.cri.model.f_startDate = this.$login.toStandardDateString() +' 00:00:00'
|
|
318
|
-
this.$refs.paged.$refs.cri.model.f_endDate = this.$login.toStandardDateString()+' 23:59:59'
|
|
319
|
-
for(var item in exportConfig.userbuyReportConfig){
|
|
320
|
-
this.selectfields.push(item)
|
|
321
|
-
}
|
|
322
|
-
// this.search()
|
|
323
|
-
},
|
|
324
|
-
methods: {
|
|
325
|
-
|
|
326
|
-
showmsg(obj){
|
|
327
|
-
this.criteriaShow = false
|
|
328
|
-
this.$emit('close')
|
|
329
|
-
this.rowdata=obj
|
|
330
|
-
this.listpage=true
|
|
331
|
-
},
|
|
332
|
-
cancel() {
|
|
333
|
-
this.listpage = false
|
|
334
|
-
this.clear();
|
|
335
|
-
},
|
|
336
|
-
search() {
|
|
337
|
-
this.$refs.paged.$refs.cri.search()
|
|
338
|
-
},
|
|
339
|
-
async selfSearch(args) {
|
|
340
|
-
if( this.$refs.paged.$refs.cri.model.f_newuser_name!=null && this.$refs.paged.$refs.cri.model.f_newuser_name!=''){
|
|
341
|
-
this.model.params = {"f_newuser_name":this.$refs.paged.$refs.cri.model.f_newuser_name}
|
|
342
|
-
}else{
|
|
343
|
-
this.model.params = {"f_newuser_name":""}
|
|
344
|
-
}
|
|
345
|
-
let f_orgstr = this.orgCondtionStr
|
|
346
|
-
if (!this.orgCondtionStr) {
|
|
347
|
-
f_orgstr = 'and f_orgid = ' + this.$login.f.orgid
|
|
348
|
-
}
|
|
349
|
-
args.condition = `${args.condition} ` + f_orgstr
|
|
350
|
-
|
|
351
|
-
this.model.params.startDate = this.$refs.paged.$refs.cri.model.f_startDate
|
|
352
|
-
this.model.params.endDate = this.$refs.paged.$refs.cri.model.f_endDate
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
//推送条件: 需要 选择片区
|
|
357
|
-
if(this.depname != null && this.depname != ''){
|
|
358
|
-
this.pushncshow2 = true;
|
|
359
|
-
}else{
|
|
360
|
-
this.pushncshow2= false;
|
|
361
|
-
}
|
|
362
|
-
this.searchCondition = this.getCondition;
|
|
363
|
-
await this.model.search(args.condition, args.model)
|
|
364
|
-
|
|
365
|
-
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
366
|
-
console.log('计算合计。', this.sumsmodel)
|
|
367
|
-
if (this.$refs.paged.$refs.grid.model.rows.length === 0) {
|
|
368
|
-
for (let key in this.sumsmodel) {
|
|
369
|
-
this.sumsmodel[key] = 0
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
this.$dispatch('getdata', this.sumsmodel)
|
|
373
|
-
},
|
|
374
|
-
getRes(condition, obj) {
|
|
375
|
-
this.orgCondtionStr = condition
|
|
376
|
-
this.orgname = obj.orgnames[0]
|
|
377
|
-
this.depname = obj.depnames[0]
|
|
378
|
-
//当未选中组织时不可进行推送
|
|
379
|
-
if(this.depname == ''){
|
|
380
|
-
this.pushncshow2 = false;
|
|
381
|
-
}
|
|
382
|
-
},
|
|
383
|
-
clear() {
|
|
384
|
-
//清空部门和人员
|
|
385
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
386
|
-
//部门和人员变为全选
|
|
387
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
388
|
-
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
389
|
-
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
390
|
-
this.$refs.paged.$refs.cri.model[key] = ''
|
|
391
|
-
})
|
|
392
|
-
this.$refs.paged.$refs.cri.model.f_startDate = this.$login.toStandardDateString() +' 00:00:00'
|
|
393
|
-
this.$refs.paged.$refs.cri.model.f_endDate = this.$login.toStandardDateString()+' 23:59:59'
|
|
394
|
-
},
|
|
395
|
-
close() {
|
|
396
|
-
this.printshow = false
|
|
397
|
-
},
|
|
398
|
-
getfield() {
|
|
399
|
-
|
|
400
|
-
return exportConfig.dataReportConfig
|
|
401
|
-
},
|
|
402
|
-
show() {
|
|
403
|
-
this.criteriaShow = !this.criteriaShow
|
|
404
|
-
},
|
|
405
|
-
/*sort(field, rule) {
|
|
406
|
-
console.log('sort...')
|
|
407
|
-
|
|
408
|
-
},*/
|
|
409
|
-
sort (field, rule) {
|
|
410
|
-
// 将所有排序方式设为不排序,实现相互排斥
|
|
411
|
-
for (let key in this.orderFields) {
|
|
412
|
-
if (key === field) {
|
|
413
|
-
this.orderFields[key] = rule
|
|
414
|
-
} else {
|
|
415
|
-
this.orderFields[key] = 'no'
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
// 如果新规则不排序,还原为默认排序
|
|
419
|
-
if (rule === 'no') {
|
|
420
|
-
this.model.paramSource.orderitem = `'${this.orderDefault}'`
|
|
421
|
-
} else {
|
|
422
|
-
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
this.search()
|
|
426
|
-
},
|
|
427
|
-
},
|
|
428
|
-
computed: {
|
|
429
|
-
getCondition() {
|
|
430
|
-
let exportcondition={
|
|
431
|
-
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
432
|
-
startDate: this.$refs.paged.$refs.cri.model.f_startDate,
|
|
433
|
-
endDate: this.$refs.paged.$refs.cri.model.f_endDate,
|
|
434
|
-
orderitem: this.model.paramSource.orderitem.split("'")[1].split("'")[0]
|
|
435
|
-
};
|
|
436
|
-
if( this.$refs.paged.$refs.cri.model.f_newuser_name!=null && this.$refs.paged.$refs.cri.model.f_newuser_name!=''){
|
|
437
|
-
exportcondition.f_newuser_name = this.$refs.paged.$refs.cri.model.f_newuser_name
|
|
438
|
-
};
|
|
439
|
-
return exportcondition;
|
|
440
|
-
},
|
|
441
|
-
getfield() {
|
|
442
|
-
//设置默认值
|
|
443
|
-
|
|
444
|
-
return exportConfig.userbuyReportConfig
|
|
445
|
-
},
|
|
446
|
-
gasproperties() {
|
|
447
|
-
console.log("xxx");
|
|
448
|
-
console.log(this.$appdata.getParam('用气性质'));
|
|
449
|
-
console.log(this);
|
|
450
|
-
let options = this.$appdata.getParam('用气性质')
|
|
451
|
-
let resultoptions = [];
|
|
452
|
-
if(options.length>0){
|
|
453
|
-
resultoptions.push({label: ' 全部 ', value: ''})
|
|
454
|
-
options.forEach((item)=>{
|
|
455
|
-
console.log(item)
|
|
456
|
-
resultoptions.push(item)
|
|
457
|
-
})
|
|
458
|
-
}
|
|
459
|
-
console.log(resultoptions);
|
|
460
|
-
return resultoptions;
|
|
461
|
-
//return [{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')]
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
</script>
|
|
467
|
-
|
|
468
|
-
<style scoped>
|
|
469
|
-
|
|
470
|
-
.col {
|
|
471
|
-
width: 300px;
|
|
472
|
-
overflow: hidden;
|
|
473
|
-
text-overflow: ellipsis;
|
|
474
|
-
white-space: nowrap;
|
|
475
|
-
}
|
|
476
|
-
|
|
477
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div v-if="!listpage" @keyup.enter="search">
|
|
3
|
+
<criteria-paged :model="model" v-ref:paged @sort="sort">
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial style="background: #fff;padding-left: 10px;">
|
|
6
|
+
<div class="row">
|
|
7
|
+
<res-select-group :style="$parent.$parent.style" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" :mul="false" :style="$parent.$parent.style" v-ref:sel></res-select-group>
|
|
8
|
+
|
|
9
|
+
<div class="button-range" style="float:right">
|
|
10
|
+
<button class="button_search button_spacing" @click="search()">查询</button>
|
|
11
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
12
|
+
<export-excel :data="$parent.$parent.getCondition" v-ref:exportexcel
|
|
13
|
+
:field="$parent.$parent.getfield"
|
|
14
|
+
:defaultselect="$parent.$parent.selectfields"
|
|
15
|
+
sqlurl="api/af-revenue/logic/exportfile" sql-name="aode_userbuyQuery" template-name='用户数据' :choose-col="true"
|
|
16
|
+
class="button_export button_spacing"></export-excel>
|
|
17
|
+
<!--<day-report-list-print :countmodel="{sumsmodel:$parent.$parent.sumsmodel,model:$parent.$parent.model,orgname:$parent.$parent.orgname,depname:$parent.$parent.depname}"></day-report-list-print>-->
|
|
18
|
+
<div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_right':!$parent.$parent.criteriaShow}" @click="$parent.$parent.show()"></div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
22
|
+
<div :class="$parent.$parent.style" >
|
|
23
|
+
<label for="startDate" class="font_normal_body">开始日期</label>
|
|
24
|
+
<datepicker placeholder="开始日期" style="width:60%"
|
|
25
|
+
v-model="model.f_startDate"
|
|
26
|
+
:value.sync="model.f_startDate"
|
|
27
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
28
|
+
class="datepicker"
|
|
29
|
+
:show-reset-button="true"
|
|
30
|
+
class="select"
|
|
31
|
+
>
|
|
32
|
+
</datepicker>
|
|
33
|
+
</div>
|
|
34
|
+
<div :class="$parent.$parent.style" >
|
|
35
|
+
<label for="endDate" class="font_normal_body">结束日期</label>
|
|
36
|
+
<datepicker placeholder="结束日期" style="width:60%"
|
|
37
|
+
v-model="model.f_endDate"
|
|
38
|
+
:value.sync="model.f_endDate"
|
|
39
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
40
|
+
class="datepicker"
|
|
41
|
+
:show-reset-button="true"
|
|
42
|
+
class="select"
|
|
43
|
+
>
|
|
44
|
+
</datepicker>
|
|
45
|
+
</div>
|
|
46
|
+
<div :class="$parent.$parent.style" >
|
|
47
|
+
<label class="font_normal_body">客户编号</label>
|
|
48
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_userinfo_code"
|
|
49
|
+
condition="f_userinfo_code = '{}' " placeholder="客户编号">
|
|
50
|
+
</div>
|
|
51
|
+
<div :class="$parent.$parent.style">
|
|
52
|
+
<label class="font_normal_body">客户名称</label>
|
|
53
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
54
|
+
condition="f_user_name like '%{}%'" placeholder="客户名称">
|
|
55
|
+
</div>
|
|
56
|
+
<div :class="$parent.$parent.style">
|
|
57
|
+
<label class="font_normal_body">新客户名称</label>
|
|
58
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_newuser_name"
|
|
59
|
+
placeholder="新客户名称">
|
|
60
|
+
</div>
|
|
61
|
+
<div :class="$parent.$parent.style">
|
|
62
|
+
<label class="font_normal_body">用气性质</label>
|
|
63
|
+
<v-select :value.sync="model.f_gasproperties" v-model="model.f_gasproperties"
|
|
64
|
+
:options='$parent.$parent.useroptions' placeholder='请选择'
|
|
65
|
+
condition="f_gasproperties = '{}'"
|
|
66
|
+
close-on-select></v-select>
|
|
67
|
+
</div>
|
|
68
|
+
<div :class="$parent.$parent.style">
|
|
69
|
+
<label class="font_normal_body">操作类型</label>
|
|
70
|
+
<v-select :value.sync="model.f_type" v-model="model.f_type"
|
|
71
|
+
:options='$parent.$parent.operates' placeholder='请选择'
|
|
72
|
+
condition="f_type = '{}'"
|
|
73
|
+
close-on-select></v-select>
|
|
74
|
+
</div>
|
|
75
|
+
<div :class="$parent.$parent.style">
|
|
76
|
+
<label class="font_normal_body">操作状态</label>
|
|
77
|
+
<v-select :value.sync="model.f_state" v-model="model.f_state"
|
|
78
|
+
:options='$parent.$parent.stateoptions' placeholder='请选择'
|
|
79
|
+
condition="f_state = '{}'"
|
|
80
|
+
close-on-select></v-select>
|
|
81
|
+
</div>
|
|
82
|
+
<div :class="$parent.$parent.style">
|
|
83
|
+
<label class="font_normal_body">包含APP</label>
|
|
84
|
+
<v-select :value.sync="model.f_hasapp" v-model="model.f_hasapp"
|
|
85
|
+
:options='$parent.$parent.hasapps' placeholder='请选择'
|
|
86
|
+
condition="f_operator {} "
|
|
87
|
+
close-on-select></v-select>
|
|
88
|
+
</div>
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</criteria>
|
|
95
|
+
<data-grid :model="model" partial='list' class="list_area table_sy" v-ref:grid >
|
|
96
|
+
<template partial='head'>
|
|
97
|
+
<tr>
|
|
98
|
+
<th>
|
|
99
|
+
<data-order field="f_userinfo_code" name="客户编号"></data-order>
|
|
100
|
+
<!--<nobr>客户编号</nobr>-->
|
|
101
|
+
</th>
|
|
102
|
+
<th><data-order field="f_user_name" name="客户姓名(缴费记录)"></data-order>
|
|
103
|
+
<th><data-order field="f_user_name" name="新客户姓名(用户档案)"></data-order>
|
|
104
|
+
<!--<nobr>客户姓名</nobr>-->
|
|
105
|
+
</th>
|
|
106
|
+
<th><nobr>地址</nobr></th>
|
|
107
|
+
<th>
|
|
108
|
+
<data-order field="f_meter_brand" name="气表厂家"></data-order>
|
|
109
|
+
</th>
|
|
110
|
+
<th><data-order field="f_operate_date" name="操作时间"></data-order>
|
|
111
|
+
<!--<nobr>操作时间</nobr>-->
|
|
112
|
+
</th>
|
|
113
|
+
<th><data-order field="f_operate_date" name="操作状态"></data-order>
|
|
114
|
+
<!--<nobr>操作时间</nobr>-->
|
|
115
|
+
</th>
|
|
116
|
+
<th>
|
|
117
|
+
<data-order field="f_stair1price" name="1单价"></data-order>
|
|
118
|
+
</th>
|
|
119
|
+
<th>
|
|
120
|
+
<data-order field="f_stair1amount" name="1气量"></data-order>
|
|
121
|
+
</th>
|
|
122
|
+
<th>
|
|
123
|
+
<data-order field="f_stair2price" name="2单价"></data-order>
|
|
124
|
+
</th>
|
|
125
|
+
<th>
|
|
126
|
+
<data-order field="f_stair2amount" name="2气量"></data-order>
|
|
127
|
+
</th>
|
|
128
|
+
<th>
|
|
129
|
+
<data-order field="f_stair3price" name="3单价"></data-order>
|
|
130
|
+
</th>
|
|
131
|
+
<th>
|
|
132
|
+
<data-order field="f_stair3amount" name="3气量"></data-order>
|
|
133
|
+
</th>
|
|
134
|
+
<th>
|
|
135
|
+
<data-order field="f_pregas" name="气量"></data-order>
|
|
136
|
+
</th>
|
|
137
|
+
<th>
|
|
138
|
+
<data-order field="f_preamount" name="应收金额"></data-order>
|
|
139
|
+
</th>
|
|
140
|
+
<th>
|
|
141
|
+
<data-order field="f_collection" name="实收金额"></data-order>
|
|
142
|
+
</th>
|
|
143
|
+
<th><nobr>上期余额</nobr></th>
|
|
144
|
+
<th><nobr>本期余额</nobr></th>
|
|
145
|
+
<th>
|
|
146
|
+
<data-order field="f_payment" name="付款方式"></data-order>
|
|
147
|
+
</th>
|
|
148
|
+
<th>
|
|
149
|
+
<data-order field="f_type" name="收费类型"></data-order>
|
|
150
|
+
</th>
|
|
151
|
+
<th>
|
|
152
|
+
<data-order field="f_operator" name="操作员"></data-order>
|
|
153
|
+
</th>
|
|
154
|
+
<th>
|
|
155
|
+
<data-order field="f_user_type" name="客户类型"></data-order>
|
|
156
|
+
</th>
|
|
157
|
+
<th><nobr>备注</nobr></th>
|
|
158
|
+
|
|
159
|
+
</tr>
|
|
160
|
+
</template>
|
|
161
|
+
<template partial='body' >
|
|
162
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}" ><nobr>
|
|
163
|
+
<span @click="$parent.$parent.$parent.showmsg(row)"><a>{{row.f_userinfo_code}}</a></span>
|
|
164
|
+
</nobr> </td>
|
|
165
|
+
<td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_name}}</nobr></td>
|
|
166
|
+
<td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_newuser_name}}</nobr></td>
|
|
167
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_address}}</nobr></td>
|
|
168
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_meter_brand}}</nobr></td>
|
|
169
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operate_date}}</nobr></td>
|
|
170
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_state}}</nobr></td>
|
|
171
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1price}}</nobr></td>
|
|
172
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair1amount}}</nobr></td>
|
|
173
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2price}}</nobr></td>
|
|
174
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair2amount}}</nobr></td>
|
|
175
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3price}}</nobr></td>
|
|
176
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_stair3amount}}</nobr></td>
|
|
177
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_pregas}}</nobr></td>
|
|
178
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_preamount}}</nobr></td>
|
|
179
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_collection}}</nobr></td>
|
|
180
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_balance}}</nobr></td>
|
|
181
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_curbalance}}</nobr></td>
|
|
182
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_payment}}</nobr></td>
|
|
183
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_type}}</nobr></td>
|
|
184
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_operator}}</nobr></td>
|
|
185
|
+
<td style="text-align: center;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_user_type}}</nobr></td>
|
|
186
|
+
<td style="text-align: left;" :style="{background:(row.f_state=='无效'?'#ffa8c0!important;':'')}"><nobr>{{row.f_comments}}</nobr></td>
|
|
187
|
+
</template>
|
|
188
|
+
</data-grid>
|
|
189
|
+
</criteria-paged>
|
|
190
|
+
<table class="table-hover" style="margin-top: -1.2%;">
|
|
191
|
+
<tr style="position: relative" class="table-bordered">
|
|
192
|
+
<td
|
|
193
|
+
style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
|
|
194
|
+
汇总信息
|
|
195
|
+
</td>
|
|
196
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
197
|
+
业务气量: {{sumsmodel.f_shouru_gas}}
|
|
198
|
+
</td>
|
|
199
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
200
|
+
实收金额: {{sumsmodel.f_shouru_fee}}
|
|
201
|
+
</td>
|
|
202
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
203
|
+
应收金额: {{sumsmodel.f_yingshou_fee}}
|
|
204
|
+
</td>
|
|
205
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
206
|
+
柜台微信: {{sumsmodel.f_sumgtwx}}
|
|
207
|
+
</td>
|
|
208
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
209
|
+
财务收款: {{sumsmodel.f_sumcwsf}}
|
|
210
|
+
</td>
|
|
211
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
212
|
+
现金缴费: {{sumsmodel.f_sumxjjf}}
|
|
213
|
+
</td>
|
|
214
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
215
|
+
柜台支付宝: {{sumsmodel.f_sumzfb}}
|
|
216
|
+
</td>
|
|
217
|
+
<td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px">
|
|
218
|
+
pos: {{sumsmodel.f_sumpos}}
|
|
219
|
+
</td>
|
|
220
|
+
</tr>
|
|
221
|
+
</table>
|
|
222
|
+
|
|
223
|
+
</div>
|
|
224
|
+
<div v-if="listpage">
|
|
225
|
+
<user-info-detail-manage :f_userinfo_id="rowdata.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage>
|
|
226
|
+
</div>
|
|
227
|
+
</template>
|
|
228
|
+
|
|
229
|
+
<script>
|
|
230
|
+
|
|
231
|
+
import { PagedList } from 'vue-client'
|
|
232
|
+
import exportConfig from '../../config/exportConfig'
|
|
233
|
+
import getLodop from '../../../../plugins/LodopFuncs'
|
|
234
|
+
|
|
235
|
+
export default {
|
|
236
|
+
// components: {DayReportSummary},
|
|
237
|
+
title: '购气记录',
|
|
238
|
+
props: {
|
|
239
|
+
style: {
|
|
240
|
+
type: String,
|
|
241
|
+
default: 'col-sm-2 form-group'
|
|
242
|
+
},
|
|
243
|
+
},
|
|
244
|
+
data() {
|
|
245
|
+
return {
|
|
246
|
+
orderDefault: "'f_operate_date'",
|
|
247
|
+
orderFields: {
|
|
248
|
+
f_userinfo_code: 'no'
|
|
249
|
+
},
|
|
250
|
+
initres: {
|
|
251
|
+
org:[this.$login.f.orgid],
|
|
252
|
+
dep:[this.$login.f.depids],
|
|
253
|
+
user:[this.$login.f.id]
|
|
254
|
+
},
|
|
255
|
+
model: new PagedList('api/af-revenue/sql/aode_userbuyQuery', 30, {orderitem: "'f_operate_date'"},{
|
|
256
|
+
f_pregas: 0,
|
|
257
|
+
f_collection: 0,
|
|
258
|
+
f_count_open: 0,
|
|
259
|
+
f_pregas_open: 0,
|
|
260
|
+
f_collection_open: 0,
|
|
261
|
+
f_count_zg: 0,
|
|
262
|
+
f_pregas_zg: 0,
|
|
263
|
+
f_collection_zg: 0,
|
|
264
|
+
f_count_bk: 0,
|
|
265
|
+
f_pregas_bk: 0,
|
|
266
|
+
f_collection_bk: 0,
|
|
267
|
+
f_count_bq: 0,
|
|
268
|
+
f_pregas_bq: 0,
|
|
269
|
+
f_collection_bq: 0,
|
|
270
|
+
f_count_hb: 0,
|
|
271
|
+
f_pregas_hb: 0,
|
|
272
|
+
f_collection_hb: 0,
|
|
273
|
+
f_count_cz: 0,
|
|
274
|
+
f_pregas_cz: 0,
|
|
275
|
+
f_collection_cz: 0,
|
|
276
|
+
f_sum_count:0,
|
|
277
|
+
f_shouru_gas:0,
|
|
278
|
+
f_shouru_fee:0,
|
|
279
|
+
f_yingshou_fee:0,
|
|
280
|
+
f_usebenqi_fee:0,
|
|
281
|
+
f_benqi_fee:0,
|
|
282
|
+
f_sumgtwx:0,
|
|
283
|
+
f_sumcwsf:0,
|
|
284
|
+
f_sumxjjf:0,
|
|
285
|
+
f_sumzfb:0,
|
|
286
|
+
f_sumpos:0,
|
|
287
|
+
f_sumwxjf:0
|
|
288
|
+
}),
|
|
289
|
+
listpage:false,
|
|
290
|
+
rowdata: {},
|
|
291
|
+
orgCondtionStr: '',
|
|
292
|
+
userTypes: [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')],
|
|
293
|
+
count: 0,
|
|
294
|
+
sumsmodel: {},
|
|
295
|
+
printshow: false,
|
|
296
|
+
all: false,
|
|
297
|
+
orgname: '',
|
|
298
|
+
depname: '',
|
|
299
|
+
criteriaShow: true,
|
|
300
|
+
operates: [{label: '全部', value: ''},...this.$appdata.getParam('日清单操作类型')],
|
|
301
|
+
stateoptions:[{label: '全部', value: ''}, {label: '有效', value: "有效"},{label: '撤销', value: "撤销"},{label: '无效', value: "无效"},{label: '冲正', value: "冲正"}],
|
|
302
|
+
hasapps: [{label: '包含APP', value: ''}, {label: '不包含APP', value: "!= '悦生活'"}],
|
|
303
|
+
useroptions:[{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')],
|
|
304
|
+
selectfields:[],
|
|
305
|
+
pushncshow:false,
|
|
306
|
+
pushncshow2:false,
|
|
307
|
+
searchCondition:{},
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
ready() {
|
|
311
|
+
if(this.$login.r.includes('收费推送')){
|
|
312
|
+
this.pushncshow = true;
|
|
313
|
+
}
|
|
314
|
+
this.model.params = {"f_newuser_name":""}
|
|
315
|
+
this.$refs.paged.$refs.cri.condition += this.orgCondtionStr
|
|
316
|
+
this.$refs.paged.$refs.cri.model.f_hasapp = [`!= '悦生活'`]
|
|
317
|
+
this.$refs.paged.$refs.cri.model.f_startDate = this.$login.toStandardDateString() +' 00:00:00'
|
|
318
|
+
this.$refs.paged.$refs.cri.model.f_endDate = this.$login.toStandardDateString()+' 23:59:59'
|
|
319
|
+
for(var item in exportConfig.userbuyReportConfig){
|
|
320
|
+
this.selectfields.push(item)
|
|
321
|
+
}
|
|
322
|
+
// this.search()
|
|
323
|
+
},
|
|
324
|
+
methods: {
|
|
325
|
+
|
|
326
|
+
showmsg(obj){
|
|
327
|
+
this.criteriaShow = false
|
|
328
|
+
this.$emit('close')
|
|
329
|
+
this.rowdata=obj
|
|
330
|
+
this.listpage=true
|
|
331
|
+
},
|
|
332
|
+
cancel() {
|
|
333
|
+
this.listpage = false
|
|
334
|
+
this.clear();
|
|
335
|
+
},
|
|
336
|
+
search() {
|
|
337
|
+
this.$refs.paged.$refs.cri.search()
|
|
338
|
+
},
|
|
339
|
+
async selfSearch(args) {
|
|
340
|
+
if( this.$refs.paged.$refs.cri.model.f_newuser_name!=null && this.$refs.paged.$refs.cri.model.f_newuser_name!=''){
|
|
341
|
+
this.model.params = {"f_newuser_name":this.$refs.paged.$refs.cri.model.f_newuser_name}
|
|
342
|
+
}else{
|
|
343
|
+
this.model.params = {"f_newuser_name":""}
|
|
344
|
+
}
|
|
345
|
+
let f_orgstr = this.orgCondtionStr
|
|
346
|
+
if (!this.orgCondtionStr) {
|
|
347
|
+
f_orgstr = 'and f_orgid = ' + this.$login.f.orgid
|
|
348
|
+
}
|
|
349
|
+
args.condition = `${args.condition} ` + f_orgstr
|
|
350
|
+
|
|
351
|
+
this.model.params.startDate = this.$refs.paged.$refs.cri.model.f_startDate
|
|
352
|
+
this.model.params.endDate = this.$refs.paged.$refs.cri.model.f_endDate
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
//推送条件: 需要 选择片区
|
|
357
|
+
if(this.depname != null && this.depname != ''){
|
|
358
|
+
this.pushncshow2 = true;
|
|
359
|
+
}else{
|
|
360
|
+
this.pushncshow2= false;
|
|
361
|
+
}
|
|
362
|
+
this.searchCondition = this.getCondition;
|
|
363
|
+
await this.model.search(args.condition, args.model)
|
|
364
|
+
|
|
365
|
+
this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
|
|
366
|
+
console.log('计算合计。', this.sumsmodel)
|
|
367
|
+
if (this.$refs.paged.$refs.grid.model.rows.length === 0) {
|
|
368
|
+
for (let key in this.sumsmodel) {
|
|
369
|
+
this.sumsmodel[key] = 0
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
this.$dispatch('getdata', this.sumsmodel)
|
|
373
|
+
},
|
|
374
|
+
getRes(condition, obj) {
|
|
375
|
+
this.orgCondtionStr = condition
|
|
376
|
+
this.orgname = obj.orgnames[0]
|
|
377
|
+
this.depname = obj.depnames[0]
|
|
378
|
+
//当未选中组织时不可进行推送
|
|
379
|
+
if(this.depname == ''){
|
|
380
|
+
this.pushncshow2 = false;
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
clear() {
|
|
384
|
+
//清空部门和人员
|
|
385
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].selectres = []
|
|
386
|
+
//部门和人员变为全选
|
|
387
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[1].$children[0].isSelectAll = false
|
|
388
|
+
this.$refs.paged.$refs.cri.$refs.sel.$children[2].$children[0].isSelectAll = false
|
|
389
|
+
Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
|
|
390
|
+
this.$refs.paged.$refs.cri.model[key] = ''
|
|
391
|
+
})
|
|
392
|
+
this.$refs.paged.$refs.cri.model.f_startDate = this.$login.toStandardDateString() +' 00:00:00'
|
|
393
|
+
this.$refs.paged.$refs.cri.model.f_endDate = this.$login.toStandardDateString()+' 23:59:59'
|
|
394
|
+
},
|
|
395
|
+
close() {
|
|
396
|
+
this.printshow = false
|
|
397
|
+
},
|
|
398
|
+
getfield() {
|
|
399
|
+
|
|
400
|
+
return exportConfig.dataReportConfig
|
|
401
|
+
},
|
|
402
|
+
show() {
|
|
403
|
+
this.criteriaShow = !this.criteriaShow
|
|
404
|
+
},
|
|
405
|
+
/*sort(field, rule) {
|
|
406
|
+
console.log('sort...')
|
|
407
|
+
|
|
408
|
+
},*/
|
|
409
|
+
sort (field, rule) {
|
|
410
|
+
// 将所有排序方式设为不排序,实现相互排斥
|
|
411
|
+
for (let key in this.orderFields) {
|
|
412
|
+
if (key === field) {
|
|
413
|
+
this.orderFields[key] = rule
|
|
414
|
+
} else {
|
|
415
|
+
this.orderFields[key] = 'no'
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
// 如果新规则不排序,还原为默认排序
|
|
419
|
+
if (rule === 'no') {
|
|
420
|
+
this.model.paramSource.orderitem = `'${this.orderDefault}'`
|
|
421
|
+
} else {
|
|
422
|
+
this.model.paramSource.orderitem = `'${field} ${rule}'`
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
this.search()
|
|
426
|
+
},
|
|
427
|
+
},
|
|
428
|
+
computed: {
|
|
429
|
+
getCondition() {
|
|
430
|
+
let exportcondition={
|
|
431
|
+
condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
|
|
432
|
+
startDate: this.$refs.paged.$refs.cri.model.f_startDate,
|
|
433
|
+
endDate: this.$refs.paged.$refs.cri.model.f_endDate,
|
|
434
|
+
orderitem: this.model.paramSource.orderitem.split("'")[1].split("'")[0]
|
|
435
|
+
};
|
|
436
|
+
if( this.$refs.paged.$refs.cri.model.f_newuser_name!=null && this.$refs.paged.$refs.cri.model.f_newuser_name!=''){
|
|
437
|
+
exportcondition.f_newuser_name = this.$refs.paged.$refs.cri.model.f_newuser_name
|
|
438
|
+
};
|
|
439
|
+
return exportcondition;
|
|
440
|
+
},
|
|
441
|
+
getfield() {
|
|
442
|
+
//设置默认值
|
|
443
|
+
|
|
444
|
+
return exportConfig.userbuyReportConfig
|
|
445
|
+
},
|
|
446
|
+
gasproperties() {
|
|
447
|
+
console.log("xxx");
|
|
448
|
+
console.log(this.$appdata.getParam('用气性质'));
|
|
449
|
+
console.log(this);
|
|
450
|
+
let options = this.$appdata.getParam('用气性质')
|
|
451
|
+
let resultoptions = [];
|
|
452
|
+
if(options.length>0){
|
|
453
|
+
resultoptions.push({label: ' 全部 ', value: ''})
|
|
454
|
+
options.forEach((item)=>{
|
|
455
|
+
console.log(item)
|
|
456
|
+
resultoptions.push(item)
|
|
457
|
+
})
|
|
458
|
+
}
|
|
459
|
+
console.log(resultoptions);
|
|
460
|
+
return resultoptions;
|
|
461
|
+
//return [{label: ' 全部 ', value: ''},...this.$appdata.getParam('用气性质')]
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
</script>
|
|
467
|
+
|
|
468
|
+
<style scoped>
|
|
469
|
+
|
|
470
|
+
.col {
|
|
471
|
+
width: 300px;
|
|
472
|
+
overflow: hidden;
|
|
473
|
+
text-overflow: ellipsis;
|
|
474
|
+
white-space: nowrap;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
</style>
|