manage-client 3.1.31 → 3.1.35
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/.babelrc +5 -5
- package/.classpath +6 -6
- package/.editorconfig +9 -9
- package/.eslintrc.js +20 -20
- package/.gradle/5.5/fileChanges/last-build.bin +0 -0
- package/.gradle/5.5/fileHashes/fileHashes.lock +0 -0
- package/.gradle/5.5/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.npmignore +10 -0
- package/.project +18 -18
- package/CHANGELOG.md +15 -15
- 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/README.md +38 -38
- package/build/.npmignore +1 -0
- package/build/dev-server.js +174 -174
- package/build/webpack.base.conf.js +82 -82
- package/build.gradle +13 -13
- package/config/dev.env.js +6 -6
- package/config/index.js +40 -40
- package/config/prod.env.js +3 -3
- package/config/test.env.js +6 -6
- package/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/gradlew.bat +100 -100
- package/index.html +28 -28
- package/package-lock.json +11184 -0
- package/package.json +1 -1
- package/release.bat +5 -5
- package/src/ManageHome.js +269 -269
- package/src/Staff/StaffCompileList.vue +334 -334
- package/src/Staff/StaffList.vue +161 -161
- package/src/Staff/StaffListManage.vue +49 -49
- package/src/Util.js +367 -367
- package/src/components/BasisEcharts/BarChart.vue +247 -247
- package/src/components/BasisEcharts/LineChart.vue +243 -243
- package/src/components/ManageHome/CustomerService/ContentmentStatistics.vue +135 -135
- package/src/components/ManageHome/CustomerService/ExcepCollect.vue +174 -174
- package/src/components/ManageHome/CustomerService/ReasonComplaint.vue +116 -116
- package/src/components/ManageHome/CustomerService/ReasonConsultation.vue +115 -115
- package/src/components/ManageHome/CustomerService/ServiceFix.vue +155 -155
- package/src/components/ManageHome/CustomerService/ServiceHome.vue +179 -179
- package/src/components/ManageHome/CustomerService/ServiceStatistics.vue +147 -147
- package/src/components/ManageHome/CustomerService/TrafficStatistics.vue +160 -160
- package/src/components/ManageHome/Drill/DrillData.vue +791 -791
- package/src/components/ManageHome/Drill/DrillList.vue +320 -320
- package/src/components/ManageHome/Drill/DrillPool.vue +129 -129
- package/src/components/ManageHome/Home/CallCenter.vue +124 -124
- package/src/components/ManageHome/Home/CallFix.vue +172 -172
- package/src/components/ManageHome/Home/CallStatistics.vue +147 -147
- package/src/components/ManageHome/Home/GasValue.vue +233 -233
- package/src/components/ManageHome/Home/Home.vue +138 -138
- package/src/components/ManageHome/Home/Monitor.vue +329 -329
- package/src/components/ManageHome/Home/NetWork.vue +202 -202
- package/src/components/ManageHome/Home/SafeCheck.vue +249 -249
- package/src/components/ManageHome/Home/UserModule.vue +367 -367
- package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +206 -206
- package/src/components/ManageHome/ImportSupplygas/SuppleManagement.vue +43 -43
- package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +85 -85
- package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/ManageHome/ManageHome.vue +292 -292
- package/src/components/ManageHome/Monitor/BuySub.vue +311 -311
- package/src/components/ManageHome/Monitor/Caveat.vue +300 -300
- package/src/components/ManageHome/Monitor/ComparedGas.vue +264 -264
- package/src/components/ManageHome/Monitor/MeterBrand.vue +211 -211
- package/src/components/ManageHome/Monitor/MonitorCenter.vue +132 -132
- package/src/components/ManageHome/Monitor/MonitorHome.vue +188 -188
- package/src/components/ManageHome/Monitor/NoBuyGas.vue +223 -223
- package/src/components/ManageHome/Monitor/NoContact.vue +233 -233
- package/src/components/ManageHome/Monitor/NoGas.vue +202 -202
- package/src/components/ManageHome/NetWork/LineInspection.vue +267 -267
- package/src/components/ManageHome/NetWork/NetDanger.vue +258 -258
- package/src/components/ManageHome/NetWork/NetHome.vue +84 -84
- package/src/components/ManageHome/NetWork/SupplyGas.vue +204 -204
- package/src/components/ManageHome/SecurityCheck/CheckHome.vue +94 -94
- package/src/components/ManageHome/SecurityCheck/CustomerType.vue +244 -244
- package/src/components/ManageHome/SecurityCheck/LatentDanger.vue +218 -218
- package/src/components/ManageHome/SecurityCheck/PlanStatistics.vue +231 -231
- package/src/components/ManageHome/SecurityCheck/StateStatistics.vue +237 -237
- package/src/components/ManageHome/SecurityCheck/TaskStatistics.vue +303 -303
- package/src/components/ManageHome/User/GasDistri.vue +271 -271
- package/src/components/ManageHome/User/InspecDistri.vue +272 -272
- package/src/components/ManageHome/User/SaleProportion.vue +309 -309
- package/src/components/ManageHome/User/UseHome.vue +155 -155
- package/src/components/ManageHome/User/UserGascontrast.vue +223 -223
- package/src/components/ManageHome/User/UserNumber.vue +519 -519
- package/src/components/ManageHome/User/UsernumIncrease.vue +243 -243
- package/src/components/ManageHome/loading.vue +23 -23
- package/src/components/ManageHomeCS/Cockpit.vue +43 -43
- 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 +146 -146
- package/src/components/ManageHomeCS/CustomerService/ReasonConsultation.vue +148 -148
- package/src/components/ManageHomeCS/CustomerService/ServiceFix.vue +242 -242
- package/src/components/ManageHomeCS/CustomerService/ServiceHome.vue +176 -176
- package/src/components/ManageHomeCS/CustomerService/ServiceStatistics.vue +277 -277
- package/src/components/ManageHomeCS/CustomerService/TrafficStatistics.vue +226 -226
- package/src/components/ManageHomeCS/Drill/DrillData.vue +918 -918
- package/src/components/ManageHomeCS/Drill/DrillList.vue +320 -320
- package/src/components/ManageHomeCS/Drill/DrillPool.vue +129 -129
- package/src/components/ManageHomeCS/Home/CallCenter.vue +206 -206
- package/src/components/ManageHomeCS/Home/CallFix.vue +172 -172
- package/src/components/ManageHomeCS/Home/CallStatistics.vue +147 -147
- package/src/components/ManageHomeCS/Home/GasValue.vue +466 -466
- package/src/components/ManageHomeCS/Home/Home.vue +57 -57
- package/src/components/ManageHomeCS/Home/Monitor.vue +423 -423
- package/src/components/ManageHomeCS/Home/NetWork.vue +223 -223
- package/src/components/ManageHomeCS/Home/SafeCheck.vue +446 -446
- package/src/components/ManageHomeCS/Home/ShanxiMap.vue +432 -432
- package/src/components/ManageHomeCS/Home/UserModule.vue +511 -511
- package/src/components/ManageHomeCS/Home/YulinMap.vue +424 -424
- package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +206 -206
- package/src/components/ManageHomeCS/ImportSupplygas/SuppleManagement.vue +43 -43
- package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +85 -85
- package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
- package/src/components/ManageHomeCS/Monitor/BuySub.vue +339 -339
- package/src/components/ManageHomeCS/Monitor/Caveat.vue +301 -301
- package/src/components/ManageHomeCS/Monitor/ComparedGas.vue +276 -276
- package/src/components/ManageHomeCS/Monitor/MeterBrand.vue +220 -220
- package/src/components/ManageHomeCS/Monitor/MonitorCenter.vue +139 -139
- package/src/components/ManageHomeCS/Monitor/MonitorHome.vue +188 -188
- package/src/components/ManageHomeCS/Monitor/NoBuyGas.vue +218 -218
- package/src/components/ManageHomeCS/Monitor/NoContact.vue +217 -217
- package/src/components/ManageHomeCS/Monitor/NoGas.vue +214 -214
- 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 +106 -106
- package/src/components/ManageHomeCS/NetWork/NetWork.vue +222 -222
- package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +86 -86
- package/src/components/ManageHomeCS/NetWork/SupplyGas.vue +291 -291
- package/src/components/ManageHomeCS/NewHome/GasProperties.vue +314 -314
- package/src/components/ManageHomeCS/NewHome/NewManageHome.vue +182 -182
- package/src/components/ManageHomeCS/NewHome/TextBusiness.vue +267 -267
- package/src/components/ManageHomeCS/NewHome/TextChildsellgas.vue +209 -209
- package/src/components/ManageHomeCS/NewHome/TextProfit.vue +298 -298
- package/src/components/ManageHomeCS/NewHome/TextSellgas.vue +82 -82
- package/src/components/ManageHomeCS/NewHome/TextShanximap.vue +389 -389
- package/src/components/ManageHomeCS/NewHome/TextTotalsellgas.vue +406 -406
- package/src/components/ManageHomeCS/NewHome/TextUser.vue +378 -378
- package/src/components/ManageHomeCS/NewHome/yulin.vue +425 -425
- package/src/components/ManageHomeCS/Poor/PoorHome.vue +176 -176
- package/src/components/ManageHomeCS/SecurityCheck/CheckHome.vue +94 -94
- package/src/components/ManageHomeCS/SecurityCheck/CustomerType.vue +246 -246
- package/src/components/ManageHomeCS/SecurityCheck/LatentDanger.vue +220 -220
- package/src/components/ManageHomeCS/SecurityCheck/PlanStatistics.vue +306 -306
- package/src/components/ManageHomeCS/SecurityCheck/StateStatistics.vue +239 -239
- package/src/components/ManageHomeCS/SecurityCheck/TaskStatistics.vue +311 -311
- package/src/components/ManageHomeCS/User/FMYInspecDistri.vue +269 -269
- package/src/components/ManageHomeCS/User/GasDistri.vue +220 -220
- package/src/components/ManageHomeCS/User/MYInspecDistri.vue +269 -269
- package/src/components/ManageHomeCS/User/SaleProportion.vue +384 -384
- package/src/components/ManageHomeCS/User/UseHome.vue +162 -162
- package/src/components/ManageHomeCS/User/UserGascontrast.vue +221 -221
- package/src/components/ManageHomeCS/User/UserNumber.vue +600 -600
- package/src/components/ManageHomeCS/User/UsernumIncrease.vue +277 -277
- package/src/components/ManageHomeCS/loading.vue +39 -39
- package/src/components/ManageHomeCS/test.vue +88 -88
- 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/MeterInfoManage.vue +107 -107
- 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/AmountGas.vue +257 -257
- package/src/components/SellReport/BankManager.vue +146 -146
- package/src/components/SellReport/BonSummary.vue +244 -244
- package/src/components/SellReport/BusinessClassify.vue +1 -1
- package/src/components/SellReport/BusinessMoneyReport.vue +268 -268
- package/src/components/SellReport/BusinessReport.vue +256 -256
- package/src/components/SellReport/CaiManageDayGas.vue +280 -280
- package/src/components/SellReport/ChManageBusSummary.vue +273 -273
- package/src/components/SellReport/ChManageHandSellMoney.vue +274 -274
- package/src/components/SellReport/ChManageMonthGas.vue +285 -285
- package/src/components/SellReport/ChOtherfee.vue +251 -251
- package/src/components/SellReport/ChSellReport.vue +251 -251
- package/src/components/SellReport/ChargeDayTable.vue +258 -258
- package/src/components/SellReport/ChargeMonthTable.vue +257 -257
- package/src/components/SellReport/ChargePrick.vue +50 -16
- package/src/components/SellReport/ChargeYearTable.vue +252 -252
- package/src/components/SellReport/CollectFee.vue +184 -184
- package/src/components/SellReport/Contrast.vue +188 -188
- package/src/components/SellReport/DayStairMoney.vue +256 -256
- package/src/components/SellReport/DepartmentPrick.vue +1 -2
- package/src/components/SellReport/DeptHomePage.vue +299 -299
- package/src/components/SellReport/FenxiangSell.vue +183 -183
- package/src/components/SellReport/FinanceSellType.vue +254 -0
- package/src/components/SellReport/FxGasTable.vue +220 -220
- package/src/components/SellReport/GasCollect.vue +174 -174
- package/src/components/SellReport/GasMeterBrand.vue +228 -228
- package/src/components/SellReport/GasPrice.vue +1 -1
- package/src/components/SellReport/GasPriceGroup.vue +228 -228
- package/src/components/SellReport/GasSummary.vue +257 -257
- package/src/components/SellReport/Gasc.vue +257 -257
- package/src/components/SellReport/GaspriceHas.vue +141 -141
- package/src/components/SellReport/GetUserNum.vue +240 -240
- package/src/components/SellReport/HandCollect.vue +189 -189
- package/src/components/SellReport/HandplanBili.vue +241 -241
- package/src/components/SellReport/HandplanUserCount.vue +227 -227
- 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 +25 -16
- package/src/components/SellReport/ManageBusTable.vue +207 -207
- package/src/components/SellReport/ManageGasFee.vue +247 -247
- package/src/components/SellReport/ManageGasFeeOperator.vue +236 -236
- package/src/components/SellReport/ManageGasPrice.vue +241 -241
- package/src/components/SellReport/ManageGasSumChangeTwo.vue +271 -271
- package/src/components/SellReport/ManageGasSumOtherCharge.vue +244 -244
- package/src/components/SellReport/ManageHandInputtor.vue +1 -1
- package/src/components/SellReport/ManageHandSellInputtor.vue +241 -241
- package/src/components/SellReport/ManageMonthGas.vue +249 -249
- package/src/components/SellReport/ManageNewGasPrice.vue +245 -245
- package/src/components/SellReport/ManageOtherCharge.vue +250 -250
- package/src/components/SellReport/ManageReceivable.vue +254 -254
- package/src/components/SellReport/ManageSellType.vue +1 -1
- package/src/components/SellReport/ManageUserCollect.vue +183 -183
- package/src/components/SellReport/ManageUserCount.vue +1 -1
- package/src/components/SellReport/MeterBill.vue +185 -185
- package/src/components/SellReport/MeterGasMoney.vue +226 -226
- package/src/components/SellReport/MeterInput.vue +250 -250
- package/src/components/SellReport/MeterPrice.vue +244 -244
- package/src/components/SellReport/MeterReader.vue +231 -231
- package/src/components/SellReport/MonthStairMoney.vue +256 -256
- package/src/components/SellReport/OperatorSellReport.vue +268 -268
- package/src/components/SellReport/OutletTable.vue +258 -258
- package/src/components/SellReport/OweAging.vue +174 -174
- package/src/components/SellReport/PaymentDistribute.vue +228 -228
- package/src/components/SellReport/PaymentMethod.vue +274 -274
- package/src/components/SellReport/QibiaoShouqi.vue +282 -282
- package/src/components/SellReport/ReportHistory.vue +80 -80
- package/src/components/SellReport/ReportPool.vue +60 -60
- package/src/components/SellReport/SaleMonthReport.vue +227 -227
- package/src/components/SellReport/Selling.vue +188 -188
- package/src/components/SellReport/SiteManager.vue +147 -147
- package/src/components/SellReport/UserClassify.vue +1 -1
- package/src/components/SellReport/UserStateStatistics.vue +188 -188
- package/src/components/SellReport/UsertypePie.vue +101 -101
- package/src/components/SellReport/WeiNanYuShou.vue +246 -246
- package/src/components/SellReport/XianYangDate.vue +227 -227
- package/src/components/SellReport/XianYangOperator.vue +228 -228
- package/src/components/SellReport/XyDateCharge.vue +227 -227
- package/src/components/SellReport/XyOperatorCharge.vue +256 -256
- package/src/components/SellReport/YuShouTable.vue +298 -298
- package/src/components/SellReport/YuShouTableTwo.vue +309 -309
- package/src/components/SellReport/chargeSchedule.vue +410 -410
- 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 +479 -479
- package/src/components/SellReport/jingwei/handplanReport.vue +280 -280
- package/src/components/SellReport/jingwei/widegt/PaymentNoticePrint.vue +198 -198
- package/src/components/SellReport/jingwei/widegt/handplanPrint.vue +143 -143
- package/src/components/SellReport/pengan/ManageBusPeng.vue +280 -280
- package/src/components/SellReport/pengan/ManageBusSummaryPeng.vue +241 -241
- package/src/components/SellReport/userholds.vue +257 -257
- 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/BusinessHall.vue +85 -85
- package/src/components/WebReport/BussinessType.vue +137 -137
- package/src/components/WebReport/Communication.vue +131 -131
- package/src/components/WebReport/CompanyUser.vue +79 -79
- 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/PaymentDistributed.vue +176 -176
- package/src/components/WebReport/Paymentpie.vue +157 -157
- 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/daping/DataManagement.vue +11 -22
- package/src/components/daping/ManageMain.vue +5 -2
- package/src/components/daping/RedactDaPing.vue +94 -80
- package/src/components/daping/SafecheckBarChart.vue +5 -1
- package/src/components/qinhua/BarChartLine.vue +288 -288
- package/src/components/qinhua/ManageMain.vue +162 -162
- package/src/components/qinhua/Ring.vue +165 -165
- package/src/components/qinhua/SafeCheckRing.vue +149 -149
- package/src/components/qinhua/SafecheckBarChart.vue +209 -209
- package/src/components/qinhua/Scada.vue +93 -93
- package/src/components/qinhua/SellEcharts.vue +2 -2
- package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +932 -932
- package/src/components/safecheck/planCheck/chanceSituation.vue +149 -149
- package/src/components/safecheck/planCheck/checkFamily.vue +217 -217
- package/src/components/safecheck/planCheck/hidderDanger.vue +179 -179
- package/src/components/safecheck/planCheck/inFamily.vue +185 -185
- package/src/components/sale/businessquery/AccountQuery/TransactionSummary.vue +373 -373
- package/src/components/sale/businessquery/BalanceQuery.vue +456 -456
- package/src/components/sale/businessquery/BusinessManage.vue +3 -0
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +15 -5
- package/src/components/sale/businessquery/FillGasQuery.vue +35 -1
- package/src/components/sale/businessquery/InfoOperateRecord.vue +291 -0
- package/src/components/sale/businessquery/InspectManage.vue +47 -47
- package/src/components/sale/businessquery/NewAccountQuery.vue +409 -409
- package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +74 -74
- package/src/components/sale/businessquery/ResourceOperatingQuery.vue +317 -317
- package/src/components/sale/businessquery/TongjiManage.vue +74 -74
- package/src/components/sale/businessquery/UserTongjiQuery.vue +358 -358
- package/src/components/sale/businessquery/YearGasQuery.vue +422 -422
- package/src/components/sale/businessquery/analysisquery/AnalysisManage.vue +65 -65
- package/src/components/sale/businessquery/weChatBind.vue +361 -361
- package/src/components/sale/common/PrintData.vue +171 -171
- package/src/components/sale/common/PrintDataSelf.vue +225 -225
- package/src/components/sale/common/PrintTable.vue +228 -228
- package/src/components/sale/common/PrintTableSelf.vue +251 -251
- package/src/components/sale/common/TabButton.vue +155 -155
- package/src/components/sale/common/Tabs.vue +67 -67
- package/src/components/sale/common/handplanUser.vue +112 -112
- package/src/components/sale/config/DefaultPrint.js +6 -6
- package/src/components/sale/config/exportConfig.js +1 -1
- package/src/components/sale/config/tableConfig.js +48 -48
- package/src/components/sale/filesquery/detail/UserBaseInfo.vue +69 -69
- package/src/components/sale/filesquery/detail/UserDetail.vue +41 -41
- package/src/components/sale/filesquery/detail/UserOperInfo.vue +76 -76
- 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/report/aode/DayReport.vue +50 -50
- package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
- package/src/components/sale/report/aode/MonthByChargeType.vue +446 -446
- package/src/components/sale/report/aode/MonthByUserType.vue +413 -413
- package/src/components/sale/report/aode/YearByChargeTpye.vue +215 -215
- package/src/components/sale/report/aode/YearByUserType.vue +272 -272
- package/src/components/sale/report/aode/life/LifeDayReport.vue +50 -50
- package/src/components/sale/report/aode/life/LifeDayReportList.vue +241 -241
- package/src/components/sale/report/aode/life/LifeDayReportSummary.vue +49 -49
- package/src/components/sale/report/aode/life/LifeMonthReport.vue +303 -303
- package/src/components/sale/report/aode/life/LifeYearReport.vue +175 -175
- package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
- package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
- package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
- package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
- package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
- package/src/components/sale/report/aode/widget/YearByChargePrint.vue +203 -203
- package/src/components/sale/report/aode/widget/YearByUserPrint.vue +225 -225
- package/src/components/scada/CaculateGasConsumputionByDay/CaculateGasConsumputionByDay.vue +290 -290
- package/src/components/scada/ChartDisplay/ChartDisplayManage.vue +55 -55
- package/src/components/scada/ChartDisplay/ChartThreeDayContrast.vue +164 -164
- package/src/components/scada/CumulativeFlow/CumulativeFlowHeatPlant.vue +400 -400
- package/src/components/scada/CumulativeFlow/CumulativeFlowManage.vue +59 -59
- package/src/components/scada/CumulativeFlow/CumulativeFlowRegulatorStation.vue +504 -504
- package/src/components/scada/CumulativeFlow/CumulativeFlowStation.vue +248 -248
- package/src/components/scada/GasSupplyRunning/GasSupplyRunningByDay.vue +297 -297
- package/src/components/scada/InstantaneousFlow/InstantaneousFlowHeatPlant.vue +389 -389
- package/src/components/scada/InstantaneousFlow/InstantaneousFlowManage.vue +57 -57
- package/src/components/scada/InstantaneousFlow/InstantaneousFlowRegulatorStation.vue +503 -503
- package/src/components/scada/InstantaneousFlow/InstantaneousFlowStation.vue +244 -244
- package/src/components/scada/OnTimePressure/OnTimePressureHeatPlant.vue +356 -356
- package/src/components/scada/OnTimePressure/OnTimePressureManage.vue +51 -51
- package/src/components/scada/OnTimePressure/OnTimePressureRegulatorStation.vue +526 -526
- package/src/components/scada/ThreeDayContrast/ThreeDayContrastManage.vue +282 -282
- package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +710 -710
- package/src/components/webmeter/DrillData/LostContactAnalysis.vue +531 -531
- package/src/components/webmeter/DrillData/LostContactAnalysisManage.vue +30 -30
- package/src/components/webmeter/DrillData/LostContactEform.vue +190 -190
- package/src/components/webmeter/dataCollection/DataCollection.vue +676 -676
- package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +144 -144
- package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +162 -162
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +745 -745
- package/src/components/webmeter/handplan/NewWebmeterHandPlanMain.vue +59 -59
- package/src/components/webmeter/indicatorStatisticsEchars.vue +204 -204
- package/src/components/webmeter/indicatorStatisticsMain.vue +257 -257
- package/src/components/webmeter/instruction/NewQueryInstruct.vue +445 -396
- package/src/components/webmeter/meterinfo/NewMeterList.vue +414 -414
- package/src/components/webmeter/meterinfo/NewMeterListMain.vue +53 -53
- 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/UserInstructEchartsList.vue +286 -286
- package/src/components/yulin/GuanWang.vue +24 -24
- package/src/components/yulin/SingleBarLine.vue +352 -352
- package/src/components/yulin/Weather.vue +157 -157
- package/src/expandcss.less +26 -26
- package/src/filiale/WEINAN/InspectListUser.vue +492 -492
- package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
- package/src/filiale/alashan/SellingTable.vue +10 -7
- package/src/filiale/aode/ArchivesManage.vue +38 -38
- package/src/filiale/aode/BusinessManage.vue +94 -94
- package/src/filiale/aode/DefaultPrint.js +6 -6
- package/src/filiale/aode/HandplanQuery.vue +632 -632
- package/src/filiale/aode/Tabs.vue +67 -67
- package/src/filiale/aode/UserQuery.vue +599 -599
- package/src/filiale/aode/sale.js +17 -17
- package/src/filiale/ceshi/ArrearsQuery.vue +642 -642
- package/src/filiale/ceshi/ChManageBusSummary.vue +293 -293
- package/src/filiale/ceshi/CollectManage.vue +94 -94
- package/src/filiale/ceshi/MeterRateQuery.vue +633 -633
- package/src/filiale/ceshi/TabButton.vue +149 -149
- package/src/filiale/ceshi/Tabs.vue +69 -69
- package/src/filiale/ceshi/reportManage.js +5 -5
- package/src/filiale/ceshi/sale.js +11 -11
- package/src/filiale/gaomi/config/DefaultPrint.js +6 -6
- package/src/filiale/gaomi/config/tableConfig.js +47 -47
- package/src/filiale/gongyi/sale/businessquery/exportConfig.js +17 -17
- package/src/filiale/gongyi/sale/filesquery/MeterQuery.vue +718 -718
- package/src/filiale/liaoyuan/sale.js +11 -11
- package/src/filiale/macheng/config/DefaultPrint.js +12 -12
- package/src/filiale/qingtongxia/config/DefaultPrint.js +6 -6
- package/src/filiale/qingtongxia/sale.js +13 -13
- package/src/filiale/shaoguan/OtherChargeDetailQuery.vue +74 -74
- package/src/filiale/shaoguan/config/DefaultPrint.js +6 -6
- package/src/filiale/shennongjia/config/DefaultPrint.js +6 -6
- package/src/filiale/shennongjia/config/tableConfig.js +47 -47
- package/src/filiale/shennongjia/sale.js +10 -10
- package/src/filiale/tongchuan/ResSelectGroupNew.vue +176 -176
- package/src/filiale/tongchuan/ResSelectNew.vue +144 -144
- package/src/filiale/tongchuan/sale.js +12 -12
- package/src/plugins/GetLoginInfoService.js +505 -505
- package/src/plugins/LodopFuncs.js +124 -124
- package/src/plugins/getAllInputtor.js +29 -29
- package/src/reportManage.js +4 -0
- package/src/safeCheck.js +63 -63
- package/src/saleManage.js +522 -520
- package/src/stores/AppData.js +62 -62
- package/src/stores/DataSql.js +585 -585
- package/src/stores/DrillECharts.js +602 -602
- package/src/stores/DrillSql.js +888 -888
- package/src/stores/GetParames.js +15 -15
- package/src/stores/MagGetSaleParams.js +156 -156
- package/src/stores/MagLoadParams.js +63 -63
- package/src/stores/Util.js +132 -132
- package/src/stores/shanxi1.js +26 -26
- package/src/stores/yulin.js +27 -27
- package/src/webmeterManage.js +105 -105
- package/static/china.json +1 -1
- package/static/qh.json +2410 -2410
- package/static/res.json +58411 -58411
- package/static/shanxi1.json +1 -1
- package/static/yulin.json +1 -1
- package/static//345/261/261/344/270/234/347/234/201.json +1 -1
- package/test/unit/.eslintrc +5 -5
- package/test/unit/TestUtil.js +35 -35
- package/test/unit/context.html +20 -20
- package/test/unit/index.js +13 -13
- package/test/unit/init.js +11 -11
- package/test/unit/karma.conf.js +45 -45
- package/test/unit/specs/components/CallReport/Repair.spec.js +25 -25
- package/test/unit/specs/components/ManageBusiness/EquipmentQuery.spec.js +21 -21
- package/test/unit/specs/components/ManageBusiness/TableWithQuery.spec.js +21 -21
- package/test/unit/specs/components/ManageBusiness/UserQuery.spec.js +21 -21
- package/webstorm.config.js +13 -13
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="style" v-show="companyshow">
|
|
3
|
-
<label class="font_normal_body">公  司</label>
|
|
4
|
-
<res-select-new restype='organization'
|
|
5
|
-
@res-select="getorg"
|
|
6
|
-
:is-mul="mul"
|
|
7
|
-
:initresid='initres.org'></res-select-new>
|
|
8
|
-
</div>
|
|
9
|
-
<div :class="style" v-show="departmentshow">
|
|
10
|
-
<label class="font_normal_body">部  门</label>
|
|
11
|
-
<res-select restype='department'
|
|
12
|
-
@res-select="getdep"
|
|
13
|
-
:parentresid="depresid"
|
|
14
|
-
:initresid='initres.dep'
|
|
15
|
-
:is-mul="mul">
|
|
16
|
-
</res-select>
|
|
17
|
-
</div>
|
|
18
|
-
<div :class="style" v-show="operatorshow && (!cascade)">
|
|
19
|
-
<label class="font_normal_body">人  员</label>
|
|
20
|
-
<res-select restype='user'
|
|
21
|
-
@res-select="getuser"
|
|
22
|
-
:parentresid="depresid"
|
|
23
|
-
:initresid='initres.user'
|
|
24
|
-
:is-mul="mul">
|
|
25
|
-
</res-select>
|
|
26
|
-
</div>
|
|
27
|
-
<div :class="style" v-show="operatorshow && cascade">
|
|
28
|
-
<label class="font_normal_body">人  员</label>
|
|
29
|
-
<res-select restype='user'
|
|
30
|
-
@res-select="getuser"
|
|
31
|
-
:parentresid="userresid"
|
|
32
|
-
:initresid='initres.user'
|
|
33
|
-
:is-mul="mul">
|
|
34
|
-
</res-select>
|
|
35
|
-
</div>
|
|
36
|
-
<div :class="style " v-if="sliceareashow" >
|
|
37
|
-
<label class="font_normal_body">片  区</label>
|
|
38
|
-
<v-select :value.sync="slice_area" v-model="slice_area" @change='getarea'
|
|
39
|
-
:options='sliceArea' placeholder='片区/管理站' filer-key="name"
|
|
40
|
-
close-on-select v-ref:slice>
|
|
41
|
-
</v-select>
|
|
42
|
-
</div>
|
|
43
|
-
</template>
|
|
44
|
-
<script>
|
|
45
|
-
import plugin from '../../plugins/GetLoginInfoService'
|
|
46
|
-
import { HttpResetClass } from 'vue-client'
|
|
47
|
-
export default {
|
|
48
|
-
title: '资源选择测试',
|
|
49
|
-
props: {
|
|
50
|
-
style: {
|
|
51
|
-
type: String,
|
|
52
|
-
default: 'col-sm-2 form-group'
|
|
53
|
-
},
|
|
54
|
-
mul: {
|
|
55
|
-
type: Boolean,
|
|
56
|
-
default: true
|
|
57
|
-
},
|
|
58
|
-
//初始值
|
|
59
|
-
initres: {
|
|
60
|
-
type: Object,
|
|
61
|
-
default: null,
|
|
62
|
-
},
|
|
63
|
-
showComponent:{
|
|
64
|
-
default:['company','department','operator','slicearea']
|
|
65
|
-
},
|
|
66
|
-
//人员是否和部门关联
|
|
67
|
-
cascade: {
|
|
68
|
-
type: Boolean,
|
|
69
|
-
default: false
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
data () {
|
|
73
|
-
return {
|
|
74
|
-
orgresid:[this.$login.f.orgid],
|
|
75
|
-
depresid:[],
|
|
76
|
-
userresid:[],
|
|
77
|
-
sliceArea: [],
|
|
78
|
-
slice_area:[],
|
|
79
|
-
companyshow:false,
|
|
80
|
-
departmentshow:false,
|
|
81
|
-
operatorshow:false,
|
|
82
|
-
sliceareashow:false,
|
|
83
|
-
obj:{
|
|
84
|
-
orgnames:[],
|
|
85
|
-
depnames:[],
|
|
86
|
-
operatornames:[]
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
ready () {
|
|
91
|
-
console.log('开始获取组织结构。。。')
|
|
92
|
-
this.initComponent();
|
|
93
|
-
this.initAreas(this.$login.f.orgid)
|
|
94
|
-
},
|
|
95
|
-
methods:{
|
|
96
|
-
initComponent(){
|
|
97
|
-
let self=this;
|
|
98
|
-
this.showComponent.find((item)=>{
|
|
99
|
-
switch(item){
|
|
100
|
-
case 'company': self.companyshow=true; break;
|
|
101
|
-
case 'department': self.departmentshow=true; break;
|
|
102
|
-
case 'operator': self.operatorshow=true; break;
|
|
103
|
-
case 'slicearea': self.sliceareashow=true; break;
|
|
104
|
-
}
|
|
105
|
-
})
|
|
106
|
-
},
|
|
107
|
-
// 初始化片区
|
|
108
|
-
async initAreas (val) {
|
|
109
|
-
if (val) {
|
|
110
|
-
let http = new HttpResetClass()
|
|
111
|
-
let getAllArea = await http.load('POST', '/rs/search', {
|
|
112
|
-
source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
|
|
113
|
-
userid: this.$login.f.id
|
|
114
|
-
}, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
|
|
115
|
-
let arr = getAllArea.data.filter((res) => {
|
|
116
|
-
return res.parentid == val
|
|
117
|
-
})
|
|
118
|
-
console.log('过滤之后的片区', arr)
|
|
119
|
-
this.sliceArea = []
|
|
120
|
-
this.slice_area = []
|
|
121
|
-
arr.forEach((res) => {
|
|
122
|
-
this.sliceArea.push({label: res.name, value: {name: res.name, code:res.number}})
|
|
123
|
-
})
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
returnOrg(ids){
|
|
127
|
-
|
|
128
|
-
let condition;
|
|
129
|
-
if(this.depresid.length > 0)
|
|
130
|
-
condition = " and f_orgid in " + plugin.convertToIn(this.depresid);
|
|
131
|
-
else
|
|
132
|
-
condition = " and f_orgid = " + this.$login.f.orgid;
|
|
133
|
-
if(this.userresid.length > 0){
|
|
134
|
-
condition += " and f_depid in " + plugin.convertToIn(this.userresid);
|
|
135
|
-
}
|
|
136
|
-
if(ids && ids.length > 0){
|
|
137
|
-
condition += " and f_operatorid in " + plugin.convertToIn(ids);
|
|
138
|
-
}
|
|
139
|
-
if(this.slice_area.length>0){
|
|
140
|
-
condition += " and f_zones = '" + this.slice_area[0].name+"'"
|
|
141
|
-
}
|
|
142
|
-
this.$dispatch('re-res',condition,this.obj)
|
|
143
|
-
},
|
|
144
|
-
getorg (obj,val) {
|
|
145
|
-
console.log("选中公司的数据11",obj)
|
|
146
|
-
this.depresid=obj
|
|
147
|
-
this.obj.orgnames = val
|
|
148
|
-
this.initAreas(obj)
|
|
149
|
-
this.returnOrg();
|
|
150
|
-
},
|
|
151
|
-
getdep(obj,val) {
|
|
152
|
-
console.log("选中部门的数据22",obj)
|
|
153
|
-
this.obj.depnames = val
|
|
154
|
-
this.userresid=obj
|
|
155
|
-
this.returnOrg();
|
|
156
|
-
},
|
|
157
|
-
getuser(obj) {
|
|
158
|
-
this.obj.operatornames = obj
|
|
159
|
-
console.log("选中用户的数据33",obj)
|
|
160
|
-
this.returnOrg(obj);
|
|
161
|
-
},
|
|
162
|
-
getarea(val) {
|
|
163
|
-
this.slice_area=val
|
|
164
|
-
console.log("选中的大区",val)
|
|
165
|
-
if(this.obj.operatornames){
|
|
166
|
-
this.returnOrg(this.obj.operatornames);
|
|
167
|
-
}else{
|
|
168
|
-
this.returnOrg();
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
},
|
|
172
|
-
watch: {
|
|
173
|
-
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="style" v-show="companyshow">
|
|
3
|
+
<label class="font_normal_body">公  司</label>
|
|
4
|
+
<res-select-new restype='organization'
|
|
5
|
+
@res-select="getorg"
|
|
6
|
+
:is-mul="mul"
|
|
7
|
+
:initresid='initres.org'></res-select-new>
|
|
8
|
+
</div>
|
|
9
|
+
<div :class="style" v-show="departmentshow">
|
|
10
|
+
<label class="font_normal_body">部  门</label>
|
|
11
|
+
<res-select restype='department'
|
|
12
|
+
@res-select="getdep"
|
|
13
|
+
:parentresid="depresid"
|
|
14
|
+
:initresid='initres.dep'
|
|
15
|
+
:is-mul="mul">
|
|
16
|
+
</res-select>
|
|
17
|
+
</div>
|
|
18
|
+
<div :class="style" v-show="operatorshow && (!cascade)">
|
|
19
|
+
<label class="font_normal_body">人  员</label>
|
|
20
|
+
<res-select restype='user'
|
|
21
|
+
@res-select="getuser"
|
|
22
|
+
:parentresid="depresid"
|
|
23
|
+
:initresid='initres.user'
|
|
24
|
+
:is-mul="mul">
|
|
25
|
+
</res-select>
|
|
26
|
+
</div>
|
|
27
|
+
<div :class="style" v-show="operatorshow && cascade">
|
|
28
|
+
<label class="font_normal_body">人  员</label>
|
|
29
|
+
<res-select restype='user'
|
|
30
|
+
@res-select="getuser"
|
|
31
|
+
:parentresid="userresid"
|
|
32
|
+
:initresid='initres.user'
|
|
33
|
+
:is-mul="mul">
|
|
34
|
+
</res-select>
|
|
35
|
+
</div>
|
|
36
|
+
<div :class="style " v-if="sliceareashow" >
|
|
37
|
+
<label class="font_normal_body">片  区</label>
|
|
38
|
+
<v-select :value.sync="slice_area" v-model="slice_area" @change='getarea'
|
|
39
|
+
:options='sliceArea' placeholder='片区/管理站' filer-key="name"
|
|
40
|
+
close-on-select v-ref:slice>
|
|
41
|
+
</v-select>
|
|
42
|
+
</div>
|
|
43
|
+
</template>
|
|
44
|
+
<script>
|
|
45
|
+
import plugin from '../../plugins/GetLoginInfoService'
|
|
46
|
+
import { HttpResetClass } from 'vue-client'
|
|
47
|
+
export default {
|
|
48
|
+
title: '资源选择测试',
|
|
49
|
+
props: {
|
|
50
|
+
style: {
|
|
51
|
+
type: String,
|
|
52
|
+
default: 'col-sm-2 form-group'
|
|
53
|
+
},
|
|
54
|
+
mul: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
default: true
|
|
57
|
+
},
|
|
58
|
+
//初始值
|
|
59
|
+
initres: {
|
|
60
|
+
type: Object,
|
|
61
|
+
default: null,
|
|
62
|
+
},
|
|
63
|
+
showComponent:{
|
|
64
|
+
default:['company','department','operator','slicearea']
|
|
65
|
+
},
|
|
66
|
+
//人员是否和部门关联
|
|
67
|
+
cascade: {
|
|
68
|
+
type: Boolean,
|
|
69
|
+
default: false
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
data () {
|
|
73
|
+
return {
|
|
74
|
+
orgresid:[this.$login.f.orgid],
|
|
75
|
+
depresid:[],
|
|
76
|
+
userresid:[],
|
|
77
|
+
sliceArea: [],
|
|
78
|
+
slice_area:[],
|
|
79
|
+
companyshow:false,
|
|
80
|
+
departmentshow:false,
|
|
81
|
+
operatorshow:false,
|
|
82
|
+
sliceareashow:false,
|
|
83
|
+
obj:{
|
|
84
|
+
orgnames:[],
|
|
85
|
+
depnames:[],
|
|
86
|
+
operatornames:[]
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
ready () {
|
|
91
|
+
console.log('开始获取组织结构。。。')
|
|
92
|
+
this.initComponent();
|
|
93
|
+
this.initAreas(this.$login.f.orgid)
|
|
94
|
+
},
|
|
95
|
+
methods:{
|
|
96
|
+
initComponent(){
|
|
97
|
+
let self=this;
|
|
98
|
+
this.showComponent.find((item)=>{
|
|
99
|
+
switch(item){
|
|
100
|
+
case 'company': self.companyshow=true; break;
|
|
101
|
+
case 'department': self.departmentshow=true; break;
|
|
102
|
+
case 'operator': self.operatorshow=true; break;
|
|
103
|
+
case 'slicearea': self.sliceareashow=true; break;
|
|
104
|
+
}
|
|
105
|
+
})
|
|
106
|
+
},
|
|
107
|
+
// 初始化片区
|
|
108
|
+
async initAreas (val) {
|
|
109
|
+
if (val) {
|
|
110
|
+
let http = new HttpResetClass()
|
|
111
|
+
let getAllArea = await http.load('POST', '/rs/search', {
|
|
112
|
+
source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
|
|
113
|
+
userid: this.$login.f.id
|
|
114
|
+
}, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
|
|
115
|
+
let arr = getAllArea.data.filter((res) => {
|
|
116
|
+
return res.parentid == val
|
|
117
|
+
})
|
|
118
|
+
console.log('过滤之后的片区', arr)
|
|
119
|
+
this.sliceArea = []
|
|
120
|
+
this.slice_area = []
|
|
121
|
+
arr.forEach((res) => {
|
|
122
|
+
this.sliceArea.push({label: res.name, value: {name: res.name, code:res.number}})
|
|
123
|
+
})
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
returnOrg(ids){
|
|
127
|
+
|
|
128
|
+
let condition;
|
|
129
|
+
if(this.depresid.length > 0)
|
|
130
|
+
condition = " and f_orgid in " + plugin.convertToIn(this.depresid);
|
|
131
|
+
else
|
|
132
|
+
condition = " and f_orgid = " + this.$login.f.orgid;
|
|
133
|
+
if(this.userresid.length > 0){
|
|
134
|
+
condition += " and f_depid in " + plugin.convertToIn(this.userresid);
|
|
135
|
+
}
|
|
136
|
+
if(ids && ids.length > 0){
|
|
137
|
+
condition += " and f_operatorid in " + plugin.convertToIn(ids);
|
|
138
|
+
}
|
|
139
|
+
if(this.slice_area.length>0){
|
|
140
|
+
condition += " and f_zones = '" + this.slice_area[0].name+"'"
|
|
141
|
+
}
|
|
142
|
+
this.$dispatch('re-res',condition,this.obj)
|
|
143
|
+
},
|
|
144
|
+
getorg (obj,val) {
|
|
145
|
+
console.log("选中公司的数据11",obj)
|
|
146
|
+
this.depresid=obj
|
|
147
|
+
this.obj.orgnames = val
|
|
148
|
+
this.initAreas(obj)
|
|
149
|
+
this.returnOrg();
|
|
150
|
+
},
|
|
151
|
+
getdep(obj,val) {
|
|
152
|
+
console.log("选中部门的数据22",obj)
|
|
153
|
+
this.obj.depnames = val
|
|
154
|
+
this.userresid=obj
|
|
155
|
+
this.returnOrg();
|
|
156
|
+
},
|
|
157
|
+
getuser(obj) {
|
|
158
|
+
this.obj.operatornames = obj
|
|
159
|
+
console.log("选中用户的数据33",obj)
|
|
160
|
+
this.returnOrg(obj);
|
|
161
|
+
},
|
|
162
|
+
getarea(val) {
|
|
163
|
+
this.slice_area=val
|
|
164
|
+
console.log("选中的大区",val)
|
|
165
|
+
if(this.obj.operatornames){
|
|
166
|
+
this.returnOrg(this.obj.operatornames);
|
|
167
|
+
}else{
|
|
168
|
+
this.returnOrg();
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
watch: {
|
|
173
|
+
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
</script>
|
|
@@ -1,144 +1,144 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-select :options='resoptions' placeholder='请选择'
|
|
3
|
-
:value.sync="selectres"
|
|
4
|
-
:multiple="isMul"
|
|
5
|
-
search="true"
|
|
6
|
-
:close-on-select="!isMul"
|
|
7
|
-
@change="resChange"
|
|
8
|
-
>
|
|
9
|
-
</v-select>
|
|
10
|
-
</template>
|
|
11
|
-
<script>
|
|
12
|
-
import {HttpResetClass} from 'vue-client'
|
|
13
|
-
|
|
14
|
-
export default {
|
|
15
|
-
title: '资源选择',
|
|
16
|
-
props: {
|
|
17
|
-
|
|
18
|
-
//资源类型
|
|
19
|
-
restype:'',
|
|
20
|
-
//资源数据
|
|
21
|
-
resObj:{},
|
|
22
|
-
isMul: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: true
|
|
25
|
-
},
|
|
26
|
-
//资源初始化数据
|
|
27
|
-
initresid: {
|
|
28
|
-
type: Array,
|
|
29
|
-
default() { return [] },
|
|
30
|
-
},
|
|
31
|
-
//父层id
|
|
32
|
-
parentresid: {
|
|
33
|
-
type: Array,
|
|
34
|
-
default() { return [] },
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
data () {
|
|
38
|
-
return {
|
|
39
|
-
//资源数据
|
|
40
|
-
resObj:{},
|
|
41
|
-
//资源数据列表
|
|
42
|
-
resoptions:[],
|
|
43
|
-
//选中资源数据
|
|
44
|
-
selectres: [],
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
ready () {
|
|
48
|
-
//获取资源列表
|
|
49
|
-
this.getResList()
|
|
50
|
-
},
|
|
51
|
-
methods:{
|
|
52
|
-
//树形结构变成list
|
|
53
|
-
findById(val) {
|
|
54
|
-
if(val){
|
|
55
|
-
if(this.checkidres(val)){
|
|
56
|
-
this.treetoList(val,'')
|
|
57
|
-
}else if(val.children.length>0){
|
|
58
|
-
for (let value of val.children) {
|
|
59
|
-
this.findById(value)
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
//树形结构变成list
|
|
65
|
-
treetoList(val,parentname) {
|
|
66
|
-
for (let value of val.children) {
|
|
67
|
-
this.ergodicList(value,parentname)
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
//找到跟节点
|
|
71
|
-
ergodicList (val,parentname) {
|
|
72
|
-
if(val.children.length > 0 ){
|
|
73
|
-
parentname=parentname+val.name
|
|
74
|
-
this.treetoList(val,parentname)
|
|
75
|
-
}else {
|
|
76
|
-
//截取组织机构【组织机构】
|
|
77
|
-
if(this.restype=='organization'){
|
|
78
|
-
parentname=parentname.replace("组织机构","")
|
|
79
|
-
this.resoptions.push({label: val.name+' - '+parentname, value: val.id})
|
|
80
|
-
}else{
|
|
81
|
-
this.resoptions.push({label: val.name, value: val.id})
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
//检查id是否存在
|
|
86
|
-
checkidres(val){
|
|
87
|
-
let flag=false
|
|
88
|
-
//如果没传值得话 不过滤
|
|
89
|
-
if(this.parentresid.length==0&&this.restype=='organization'){
|
|
90
|
-
flag=true
|
|
91
|
-
}
|
|
92
|
-
this.parentresid.forEach((item) => {
|
|
93
|
-
if(item==val.id){
|
|
94
|
-
flag=true
|
|
95
|
-
}
|
|
96
|
-
})
|
|
97
|
-
return flag;
|
|
98
|
-
},
|
|
99
|
-
//资源改变
|
|
100
|
-
resChange(val){
|
|
101
|
-
let orgnames=[]
|
|
102
|
-
Object.keys(this.resoptions).forEach((key) => {
|
|
103
|
-
if(this.selectres.includes(this.resoptions[key].value))
|
|
104
|
-
orgnames.push(this.resoptions[key].label)
|
|
105
|
-
})
|
|
106
|
-
console.log('资源改变。。', val, orgnames)
|
|
107
|
-
this.$dispatch('res-select', this.selectres, orgnames)
|
|
108
|
-
},
|
|
109
|
-
//获取资源数据
|
|
110
|
-
async getResList() {
|
|
111
|
-
|
|
112
|
-
let http = new HttpResetClass()
|
|
113
|
-
|
|
114
|
-
let req = await http.load('POST', '/rs/search', {data: {
|
|
115
|
-
source: `tool.getFullTree(this.getRights().where(row.getType()==$${this.restype}$))`,
|
|
116
|
-
userid: this.$login.f.id
|
|
117
|
-
}}, {resolveMsg: null, rejectMsg: '获取组织结构数据出错'})
|
|
118
|
-
this.resObj=req.data[0]
|
|
119
|
-
this.dealdata()
|
|
120
|
-
},
|
|
121
|
-
dealdata(){
|
|
122
|
-
this.resoptions=[]
|
|
123
|
-
this.findById(this.resObj);
|
|
124
|
-
//赋值资源数据
|
|
125
|
-
let arryselect=[]
|
|
126
|
-
this.resoptions.forEach((item) => {
|
|
127
|
-
arryselect.push(item.value)
|
|
128
|
-
})
|
|
129
|
-
//赋值资源选中初始值
|
|
130
|
-
this.selectres=arryselect
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
watch: {
|
|
134
|
-
//监听初始化资源id
|
|
135
|
-
'initresid.length'(){
|
|
136
|
-
this.dealdata()
|
|
137
|
-
},
|
|
138
|
-
//监听初始化资源id
|
|
139
|
-
'parentresid'(){
|
|
140
|
-
this.dealdata()
|
|
141
|
-
},
|
|
142
|
-
},
|
|
143
|
-
}
|
|
144
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<v-select :options='resoptions' placeholder='请选择'
|
|
3
|
+
:value.sync="selectres"
|
|
4
|
+
:multiple="isMul"
|
|
5
|
+
search="true"
|
|
6
|
+
:close-on-select="!isMul"
|
|
7
|
+
@change="resChange"
|
|
8
|
+
>
|
|
9
|
+
</v-select>
|
|
10
|
+
</template>
|
|
11
|
+
<script>
|
|
12
|
+
import {HttpResetClass} from 'vue-client'
|
|
13
|
+
|
|
14
|
+
export default {
|
|
15
|
+
title: '资源选择',
|
|
16
|
+
props: {
|
|
17
|
+
|
|
18
|
+
//资源类型
|
|
19
|
+
restype:'',
|
|
20
|
+
//资源数据
|
|
21
|
+
resObj:{},
|
|
22
|
+
isMul: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: true
|
|
25
|
+
},
|
|
26
|
+
//资源初始化数据
|
|
27
|
+
initresid: {
|
|
28
|
+
type: Array,
|
|
29
|
+
default() { return [] },
|
|
30
|
+
},
|
|
31
|
+
//父层id
|
|
32
|
+
parentresid: {
|
|
33
|
+
type: Array,
|
|
34
|
+
default() { return [] },
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
data () {
|
|
38
|
+
return {
|
|
39
|
+
//资源数据
|
|
40
|
+
resObj:{},
|
|
41
|
+
//资源数据列表
|
|
42
|
+
resoptions:[],
|
|
43
|
+
//选中资源数据
|
|
44
|
+
selectres: [],
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
ready () {
|
|
48
|
+
//获取资源列表
|
|
49
|
+
this.getResList()
|
|
50
|
+
},
|
|
51
|
+
methods:{
|
|
52
|
+
//树形结构变成list
|
|
53
|
+
findById(val) {
|
|
54
|
+
if(val){
|
|
55
|
+
if(this.checkidres(val)){
|
|
56
|
+
this.treetoList(val,'')
|
|
57
|
+
}else if(val.children.length>0){
|
|
58
|
+
for (let value of val.children) {
|
|
59
|
+
this.findById(value)
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
//树形结构变成list
|
|
65
|
+
treetoList(val,parentname) {
|
|
66
|
+
for (let value of val.children) {
|
|
67
|
+
this.ergodicList(value,parentname)
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
//找到跟节点
|
|
71
|
+
ergodicList (val,parentname) {
|
|
72
|
+
if(val.children.length > 0 ){
|
|
73
|
+
parentname=parentname+val.name
|
|
74
|
+
this.treetoList(val,parentname)
|
|
75
|
+
}else {
|
|
76
|
+
//截取组织机构【组织机构】
|
|
77
|
+
if(this.restype=='organization'){
|
|
78
|
+
parentname=parentname.replace("组织机构","")
|
|
79
|
+
this.resoptions.push({label: val.name+' - '+parentname, value: val.id})
|
|
80
|
+
}else{
|
|
81
|
+
this.resoptions.push({label: val.name, value: val.id})
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
//检查id是否存在
|
|
86
|
+
checkidres(val){
|
|
87
|
+
let flag=false
|
|
88
|
+
//如果没传值得话 不过滤
|
|
89
|
+
if(this.parentresid.length==0&&this.restype=='organization'){
|
|
90
|
+
flag=true
|
|
91
|
+
}
|
|
92
|
+
this.parentresid.forEach((item) => {
|
|
93
|
+
if(item==val.id){
|
|
94
|
+
flag=true
|
|
95
|
+
}
|
|
96
|
+
})
|
|
97
|
+
return flag;
|
|
98
|
+
},
|
|
99
|
+
//资源改变
|
|
100
|
+
resChange(val){
|
|
101
|
+
let orgnames=[]
|
|
102
|
+
Object.keys(this.resoptions).forEach((key) => {
|
|
103
|
+
if(this.selectres.includes(this.resoptions[key].value))
|
|
104
|
+
orgnames.push(this.resoptions[key].label)
|
|
105
|
+
})
|
|
106
|
+
console.log('资源改变。。', val, orgnames)
|
|
107
|
+
this.$dispatch('res-select', this.selectres, orgnames)
|
|
108
|
+
},
|
|
109
|
+
//获取资源数据
|
|
110
|
+
async getResList() {
|
|
111
|
+
|
|
112
|
+
let http = new HttpResetClass()
|
|
113
|
+
|
|
114
|
+
let req = await http.load('POST', '/rs/search', {data: {
|
|
115
|
+
source: `tool.getFullTree(this.getRights().where(row.getType()==$${this.restype}$))`,
|
|
116
|
+
userid: this.$login.f.id
|
|
117
|
+
}}, {resolveMsg: null, rejectMsg: '获取组织结构数据出错'})
|
|
118
|
+
this.resObj=req.data[0]
|
|
119
|
+
this.dealdata()
|
|
120
|
+
},
|
|
121
|
+
dealdata(){
|
|
122
|
+
this.resoptions=[]
|
|
123
|
+
this.findById(this.resObj);
|
|
124
|
+
//赋值资源数据
|
|
125
|
+
let arryselect=[]
|
|
126
|
+
this.resoptions.forEach((item) => {
|
|
127
|
+
arryselect.push(item.value)
|
|
128
|
+
})
|
|
129
|
+
//赋值资源选中初始值
|
|
130
|
+
this.selectres=arryselect
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
watch: {
|
|
134
|
+
//监听初始化资源id
|
|
135
|
+
'initresid.length'(){
|
|
136
|
+
this.dealdata()
|
|
137
|
+
},
|
|
138
|
+
//监听初始化资源id
|
|
139
|
+
'parentresid'(){
|
|
140
|
+
this.dealdata()
|
|
141
|
+
},
|
|
142
|
+
},
|
|
143
|
+
}
|
|
144
|
+
</script>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// 分公司特殊组件页面注册
|
|
2
|
-
let specialComp = {
|
|
3
|
-
|
|
4
|
-
// 客户信息查询
|
|
5
|
-
'user-query': (resolve) => { require(['./UserQuery'], resolve) },
|
|
6
|
-
'res-select-group': (resolve) => { require(['./ResSelectGroupNew'], resolve) }
|
|
7
|
-
}
|
|
8
|
-
exports.specialComp = specialComp
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
// 分公司特殊组件页面注册
|
|
2
|
+
let specialComp = {
|
|
3
|
+
|
|
4
|
+
// 客户信息查询
|
|
5
|
+
'user-query': (resolve) => { require(['./UserQuery'], resolve) },
|
|
6
|
+
'res-select-group': (resolve) => { require(['./ResSelectGroupNew'], resolve) }
|
|
7
|
+
}
|
|
8
|
+
exports.specialComp = specialComp
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|