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,206 +1,206 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto select-overspread">
|
|
3
|
-
<div class="panel panel-info">
|
|
4
|
-
<div class="panel-heading">
|
|
5
|
-
<h3 class="panel-title">添加用户信息</h3>
|
|
6
|
-
</div>
|
|
7
|
-
</div>
|
|
8
|
-
<validator name="v">
|
|
9
|
-
<form class="form-horizontal">
|
|
10
|
-
<div class="col-sm-12 form-group" style="margin-top: 100px;">
|
|
11
|
-
<div class="col-sm-4" :class="[$v.f_gasmun.required ? 'has-error': '']">
|
|
12
|
-
<label class="col-sm-6 control-label">供气量:</label>
|
|
13
|
-
<div class="col-sm-4">
|
|
14
|
-
<input type="text" onkeyup="value=value.replace(/[^\.\d]/g,'')" onblur="value=value.replace(/[^\.\d]/g,'')" onblur="this.v();" class="form-control" v-model="model.f_gasmun" v-validate:f_gasmun='{required: true }'/>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
17
|
-
<div class="col-sm-4" :class="[$v.f_gasunits.required ? 'has-error': '']">
|
|
18
|
-
<label class="col-sm-6 control-label">供气单位:</label>
|
|
19
|
-
<div class="col-sm-4">
|
|
20
|
-
<input type="text" class="form-control" v-model="model.f_gasunits" v-validate:f_gasunits='{required: true }'/>
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
<!--<div class="col-sm-4" :class="[$v.fcredentials.required ? 'has-error select-error': '']">-->
|
|
24
|
-
<!--<label class="col-sm-6 control-label">证件类型:</label>-->
|
|
25
|
-
<!--<div class="col-sm-4">-->
|
|
26
|
-
<!--<input type="text" v-show="false" v-model="$refs.fcredentials.selectedItems" v-validate:fcredentials='{required: true }'>-->
|
|
27
|
-
<!--<v-select :value.sync="model.f_credentials" v-model="model.f_credentials" v-ref:fcredentials :options='credentials'-->
|
|
28
|
-
<!--placeholder='请选择' close-on-select></v-select>-->
|
|
29
|
-
<!--</div>-->
|
|
30
|
-
<!--</div>-->
|
|
31
|
-
<div class="col-sm-4" :class="[$v.f_gasdate.required ? 'has-error select-error': '']">
|
|
32
|
-
<label for="startDate" class="col-sm-6 control-label">供气时间:</label>
|
|
33
|
-
<div class="col-sm-4" >
|
|
34
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
35
|
-
v-model="model.f_gasdate"
|
|
36
|
-
:value.sync="model.f_gasdate"
|
|
37
|
-
:disabled-days-of-Week="[]"
|
|
38
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
39
|
-
:show-reset-button="reset">
|
|
40
|
-
</datepicker>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="col-sm-12 form-group">
|
|
45
|
-
<div class="col-sm-4" :class="[$v.f_department.required ? 'has-error': '']">
|
|
46
|
-
<label class="col-sm-6 control-label">操作部门:</label>
|
|
47
|
-
<div class="col-sm-4">
|
|
48
|
-
<input type="text" class="form-control" v-model="model.f_department" v-validate:f_department='{required: true }'/>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
<!--<div class="col-sm-12 form-group">-->
|
|
53
|
-
<!--<div class="col-sm-4" :class="[$v.finputtortype.required ? 'has-error select-error': '']">-->
|
|
54
|
-
<!--<label class="col-sm-6 control-label">操作部门:</label>-->
|
|
55
|
-
<!--<div class="col-sm-4">-->
|
|
56
|
-
<!--<input type="text" v-show="false" v-model="$refs.finputtortype.selectedItems" v-validate:finputtortype='{required: true }'>-->
|
|
57
|
-
<!--<v-select :value.sync="model.f_inputtor_type" v-model="model.f_inputtor_type" v-ref:finputtortype :options='inputtortype'-->
|
|
58
|
-
<!--placeholder='请选择' close-on-select></v-select>-->
|
|
59
|
-
<!--</div>-->
|
|
60
|
-
<!--</div>-->
|
|
61
|
-
|
|
62
|
-
<!--</div>-->
|
|
63
|
-
<div class="col-sm-12 form-group">
|
|
64
|
-
<div class="col-sm-4">
|
|
65
|
-
<label class="col-sm-6 control-label">分公司:</label>
|
|
66
|
-
<div class="col-sm-4">
|
|
67
|
-
<input type="text" class="form-control" v-model="model.f_filiale" disabled/>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
<div class="col-sm-4">
|
|
71
|
-
<label class="col-sm-6 control-label">操作时间:</label>
|
|
72
|
-
<div class="col-sm-4">
|
|
73
|
-
<input type="text" class="form-control" v-model="model.f_date" disabled/>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
<div class="col-sm-4">
|
|
77
|
-
<label class="col-sm-6 control-label">操作人:</label>
|
|
78
|
-
<div class="col-sm-6">
|
|
79
|
-
<input type="text" class="form-control" v-model="model.f_operator" disabled/>
|
|
80
|
-
</div>
|
|
81
|
-
</div>
|
|
82
|
-
</div>
|
|
83
|
-
</form>
|
|
84
|
-
</validator>
|
|
85
|
-
<div class="col-sm-12 form-group" style="margin-top: 40px;">
|
|
86
|
-
<center>
|
|
87
|
-
<button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:40px;" :disabled='$v.invalid'>
|
|
88
|
-
保存
|
|
89
|
-
</button>
|
|
90
|
-
<button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:40px;">
|
|
91
|
-
撤销
|
|
92
|
-
</button>
|
|
93
|
-
<button type="button" @click="openFile" class="btn btn-primary" style="width:80px; margin-left:40px;">
|
|
94
|
-
导入
|
|
95
|
-
</button>
|
|
96
|
-
|
|
97
|
-
</center>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
<modal :show.sync="showFile" v-ref:modal backdrop="false">
|
|
101
|
-
<header slot="modal-header" class="modal-header">
|
|
102
|
-
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
103
|
-
<h4 class="modal-title">档案导入</h4>
|
|
104
|
-
</header>
|
|
105
|
-
<article slot="modal-body" class="modal-body">
|
|
106
|
-
<div class="form-group">
|
|
107
|
-
<file-upload class="my-file-uploader" name="recordExcel"
|
|
108
|
-
action="
|
|
109
|
-
</div>
|
|
110
|
-
</article>
|
|
111
|
-
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
112
|
-
</modal>
|
|
113
|
-
</template>
|
|
114
|
-
<script>
|
|
115
|
-
import * as Util from '../../../stores/Util'
|
|
116
|
-
import {HttpResetClass} from 'vue-client'
|
|
117
|
-
|
|
118
|
-
export default {
|
|
119
|
-
title: '添加人员信息',
|
|
120
|
-
data () {
|
|
121
|
-
return {
|
|
122
|
-
model: {
|
|
123
|
-
// f_filiale: Util.f.f_fengongsi,
|
|
124
|
-
// f_operator: Util.f.name,
|
|
125
|
-
//f_filiale: this.$login.f.name,
|
|
126
|
-
f_operator: this.$login.f.name,
|
|
127
|
-
f_date: Util.toStandardDateString(),
|
|
128
|
-
f_filiale: this.$login.f.f_fengongsi,
|
|
129
|
-
//f_filiale : null,
|
|
130
|
-
f_gasdate :Util.toStandardTimeString()
|
|
131
|
-
},
|
|
132
|
-
showFile : false
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
ready () {
|
|
136
|
-
this.$dispatch('hiddenpaged')
|
|
137
|
-
},
|
|
138
|
-
methods: {
|
|
139
|
-
closeFile (){
|
|
140
|
-
this.showFile = false
|
|
141
|
-
},
|
|
142
|
-
openFile (){
|
|
143
|
-
this.showFile = true
|
|
144
|
-
},
|
|
145
|
-
confirm() {
|
|
146
|
-
//this.model.f_credentials = this.model.f_credentials ? this.model.f_credentials[0] : ''
|
|
147
|
-
//this.model.f_inputtor_type = this.model.f_inputtor_type ? this.model.f_inputtor_type[0] : ''
|
|
148
|
-
//this.model.f_parentname = this.model.f_parentname ? this.model.f_parentname[0] : ''
|
|
149
|
-
//供气量,供气单位
|
|
150
|
-
console.log(typeof this.model.f_filiale);
|
|
151
|
-
console.log(this.model);
|
|
152
|
-
|
|
153
|
-
this.model.f_gasdate //= this.model.startDate;//供气时间赋值
|
|
154
|
-
//姓名相同所以不需要赋值
|
|
155
|
-
this.model.f_department //=this.model.f_department;//操作部门
|
|
156
|
-
this.model.f_filiale //= this.model.f_fengongsi;//分公司赋值
|
|
157
|
-
this.model.f_date //= this.model.f_operator_date;//操作日期赋值
|
|
158
|
-
this.$resetpost('
|
|
159
|
-
this.reset()
|
|
160
|
-
})
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
},
|
|
164
|
-
reset () {
|
|
165
|
-
this.$dispatch('close')
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
computed: {
|
|
169
|
-
// credentials (){
|
|
170
|
-
// return AppData.getParam("证件类型")
|
|
171
|
-
// },
|
|
172
|
-
// inputtortype () {
|
|
173
|
-
// return AppData.getParam("角色类型")
|
|
174
|
-
// },
|
|
175
|
-
// parentname () {
|
|
176
|
-
// return AppData.getParam("营业网点")
|
|
177
|
-
// }
|
|
178
|
-
},
|
|
179
|
-
events: {
|
|
180
|
-
async onFileUpload (file, res) {
|
|
181
|
-
let data = {
|
|
182
|
-
tablename: 't_supplygas',
|
|
183
|
-
filepath: res.f_downloadpath,
|
|
184
|
-
f_filiale: this.model.f_filiale,
|
|
185
|
-
f_date: this.model.f_date,
|
|
186
|
-
f_operator: this.model.f_operator
|
|
187
|
-
}
|
|
188
|
-
var num = this.$parent.$refs.personquery.model.rows.length
|
|
189
|
-
console.log('num',num)
|
|
190
|
-
let http2 = new HttpResetClass()
|
|
191
|
-
await http2.load('POST','
|
|
192
|
-
// 刷新
|
|
193
|
-
this.$parent.$refs.personquery.model.search('1=1').then((re) =>{
|
|
194
|
-
var numNew = this.$parent.$refs.personquery.model.rows.length
|
|
195
|
-
console.log('numNew',numNew)
|
|
196
|
-
console.log('res.data',res.data)
|
|
197
|
-
if (num + res.data != numNew){
|
|
198
|
-
this.$showMessage("存在重复数据,已覆盖"+(num+res.data-numNew)+"条!")
|
|
199
|
-
}
|
|
200
|
-
})
|
|
201
|
-
this.closeFile()
|
|
202
|
-
})
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto select-overspread">
|
|
3
|
+
<div class="panel panel-info">
|
|
4
|
+
<div class="panel-heading">
|
|
5
|
+
<h3 class="panel-title">添加用户信息</h3>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
<validator name="v">
|
|
9
|
+
<form class="form-horizontal">
|
|
10
|
+
<div class="col-sm-12 form-group" style="margin-top: 100px;">
|
|
11
|
+
<div class="col-sm-4" :class="[$v.f_gasmun.required ? 'has-error': '']">
|
|
12
|
+
<label class="col-sm-6 control-label">供气量:</label>
|
|
13
|
+
<div class="col-sm-4">
|
|
14
|
+
<input type="text" onkeyup="value=value.replace(/[^\.\d]/g,'')" onblur="value=value.replace(/[^\.\d]/g,'')" onblur="this.v();" class="form-control" v-model="model.f_gasmun" v-validate:f_gasmun='{required: true }'/>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<div class="col-sm-4" :class="[$v.f_gasunits.required ? 'has-error': '']">
|
|
18
|
+
<label class="col-sm-6 control-label">供气单位:</label>
|
|
19
|
+
<div class="col-sm-4">
|
|
20
|
+
<input type="text" class="form-control" v-model="model.f_gasunits" v-validate:f_gasunits='{required: true }'/>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
<!--<div class="col-sm-4" :class="[$v.fcredentials.required ? 'has-error select-error': '']">-->
|
|
24
|
+
<!--<label class="col-sm-6 control-label">证件类型:</label>-->
|
|
25
|
+
<!--<div class="col-sm-4">-->
|
|
26
|
+
<!--<input type="text" v-show="false" v-model="$refs.fcredentials.selectedItems" v-validate:fcredentials='{required: true }'>-->
|
|
27
|
+
<!--<v-select :value.sync="model.f_credentials" v-model="model.f_credentials" v-ref:fcredentials :options='credentials'-->
|
|
28
|
+
<!--placeholder='请选择' close-on-select></v-select>-->
|
|
29
|
+
<!--</div>-->
|
|
30
|
+
<!--</div>-->
|
|
31
|
+
<div class="col-sm-4" :class="[$v.f_gasdate.required ? 'has-error select-error': '']">
|
|
32
|
+
<label for="startDate" class="col-sm-6 control-label">供气时间:</label>
|
|
33
|
+
<div class="col-sm-4" >
|
|
34
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
35
|
+
v-model="model.f_gasdate"
|
|
36
|
+
:value.sync="model.f_gasdate"
|
|
37
|
+
:disabled-days-of-Week="[]"
|
|
38
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
39
|
+
:show-reset-button="reset">
|
|
40
|
+
</datepicker>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
<div class="col-sm-12 form-group">
|
|
45
|
+
<div class="col-sm-4" :class="[$v.f_department.required ? 'has-error': '']">
|
|
46
|
+
<label class="col-sm-6 control-label">操作部门:</label>
|
|
47
|
+
<div class="col-sm-4">
|
|
48
|
+
<input type="text" class="form-control" v-model="model.f_department" v-validate:f_department='{required: true }'/>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<!--<div class="col-sm-12 form-group">-->
|
|
53
|
+
<!--<div class="col-sm-4" :class="[$v.finputtortype.required ? 'has-error select-error': '']">-->
|
|
54
|
+
<!--<label class="col-sm-6 control-label">操作部门:</label>-->
|
|
55
|
+
<!--<div class="col-sm-4">-->
|
|
56
|
+
<!--<input type="text" v-show="false" v-model="$refs.finputtortype.selectedItems" v-validate:finputtortype='{required: true }'>-->
|
|
57
|
+
<!--<v-select :value.sync="model.f_inputtor_type" v-model="model.f_inputtor_type" v-ref:finputtortype :options='inputtortype'-->
|
|
58
|
+
<!--placeholder='请选择' close-on-select></v-select>-->
|
|
59
|
+
<!--</div>-->
|
|
60
|
+
<!--</div>-->
|
|
61
|
+
|
|
62
|
+
<!--</div>-->
|
|
63
|
+
<div class="col-sm-12 form-group">
|
|
64
|
+
<div class="col-sm-4">
|
|
65
|
+
<label class="col-sm-6 control-label">分公司:</label>
|
|
66
|
+
<div class="col-sm-4">
|
|
67
|
+
<input type="text" class="form-control" v-model="model.f_filiale" disabled/>
|
|
68
|
+
</div>
|
|
69
|
+
</div>
|
|
70
|
+
<div class="col-sm-4">
|
|
71
|
+
<label class="col-sm-6 control-label">操作时间:</label>
|
|
72
|
+
<div class="col-sm-4">
|
|
73
|
+
<input type="text" class="form-control" v-model="model.f_date" disabled/>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
<div class="col-sm-4">
|
|
77
|
+
<label class="col-sm-6 control-label">操作人:</label>
|
|
78
|
+
<div class="col-sm-6">
|
|
79
|
+
<input type="text" class="form-control" v-model="model.f_operator" disabled/>
|
|
80
|
+
</div>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</form>
|
|
84
|
+
</validator>
|
|
85
|
+
<div class="col-sm-12 form-group" style="margin-top: 40px;">
|
|
86
|
+
<center>
|
|
87
|
+
<button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:40px;" :disabled='$v.invalid'>
|
|
88
|
+
保存
|
|
89
|
+
</button>
|
|
90
|
+
<button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:40px;">
|
|
91
|
+
撤销
|
|
92
|
+
</button>
|
|
93
|
+
<button type="button" @click="openFile" class="btn btn-primary" style="width:80px; margin-left:40px;">
|
|
94
|
+
导入
|
|
95
|
+
</button>
|
|
96
|
+
|
|
97
|
+
</center>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
<modal :show.sync="showFile" v-ref:modal backdrop="false">
|
|
101
|
+
<header slot="modal-header" class="modal-header">
|
|
102
|
+
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
103
|
+
<h4 class="modal-title">档案导入</h4>
|
|
104
|
+
</header>
|
|
105
|
+
<article slot="modal-body" class="modal-body">
|
|
106
|
+
<div class="form-group">
|
|
107
|
+
<file-upload class="my-file-uploader" name="recordExcel"
|
|
108
|
+
action="api/af-revenue/file/uploadFile" tagname="文件导入" :headers="headers" v-ref:file></file-upload>
|
|
109
|
+
</div>
|
|
110
|
+
</article>
|
|
111
|
+
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
112
|
+
</modal>
|
|
113
|
+
</template>
|
|
114
|
+
<script>
|
|
115
|
+
import * as Util from '../../../stores/Util'
|
|
116
|
+
import {HttpResetClass} from 'vue-client'
|
|
117
|
+
|
|
118
|
+
export default {
|
|
119
|
+
title: '添加人员信息',
|
|
120
|
+
data () {
|
|
121
|
+
return {
|
|
122
|
+
model: {
|
|
123
|
+
// f_filiale: Util.f.f_fengongsi,
|
|
124
|
+
// f_operator: Util.f.name,
|
|
125
|
+
//f_filiale: this.$login.f.name,
|
|
126
|
+
f_operator: this.$login.f.name,
|
|
127
|
+
f_date: Util.toStandardDateString(),
|
|
128
|
+
f_filiale: this.$login.f.f_fengongsi,
|
|
129
|
+
//f_filiale : null,
|
|
130
|
+
f_gasdate :Util.toStandardTimeString()
|
|
131
|
+
},
|
|
132
|
+
showFile : false
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
ready () {
|
|
136
|
+
this.$dispatch('hiddenpaged')
|
|
137
|
+
},
|
|
138
|
+
methods: {
|
|
139
|
+
closeFile (){
|
|
140
|
+
this.showFile = false
|
|
141
|
+
},
|
|
142
|
+
openFile (){
|
|
143
|
+
this.showFile = true
|
|
144
|
+
},
|
|
145
|
+
confirm() {
|
|
146
|
+
//this.model.f_credentials = this.model.f_credentials ? this.model.f_credentials[0] : ''
|
|
147
|
+
//this.model.f_inputtor_type = this.model.f_inputtor_type ? this.model.f_inputtor_type[0] : ''
|
|
148
|
+
//this.model.f_parentname = this.model.f_parentname ? this.model.f_parentname[0] : ''
|
|
149
|
+
//供气量,供气单位
|
|
150
|
+
console.log(typeof this.model.f_filiale);
|
|
151
|
+
console.log(this.model);
|
|
152
|
+
|
|
153
|
+
this.model.f_gasdate //= this.model.startDate;//供气时间赋值
|
|
154
|
+
//姓名相同所以不需要赋值
|
|
155
|
+
this.model.f_department //=this.model.f_department;//操作部门
|
|
156
|
+
this.model.f_filiale //= this.model.f_fengongsi;//分公司赋值
|
|
157
|
+
this.model.f_date //= this.model.f_operator_date;//操作日期赋值
|
|
158
|
+
this.$resetpost('api/af-revenue/entity/save/t_supplygas', this.model).then(() => {
|
|
159
|
+
this.reset()
|
|
160
|
+
})
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
},
|
|
164
|
+
reset () {
|
|
165
|
+
this.$dispatch('close')
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
computed: {
|
|
169
|
+
// credentials (){
|
|
170
|
+
// return AppData.getParam("证件类型")
|
|
171
|
+
// },
|
|
172
|
+
// inputtortype () {
|
|
173
|
+
// return AppData.getParam("角色类型")
|
|
174
|
+
// },
|
|
175
|
+
// parentname () {
|
|
176
|
+
// return AppData.getParam("营业网点")
|
|
177
|
+
// }
|
|
178
|
+
},
|
|
179
|
+
events: {
|
|
180
|
+
async onFileUpload (file, res) {
|
|
181
|
+
let data = {
|
|
182
|
+
tablename: 't_supplygas',
|
|
183
|
+
filepath: res.f_downloadpath,
|
|
184
|
+
f_filiale: this.model.f_filiale,
|
|
185
|
+
f_date: this.model.f_date,
|
|
186
|
+
f_operator: this.model.f_operator
|
|
187
|
+
}
|
|
188
|
+
var num = this.$parent.$refs.personquery.model.rows.length
|
|
189
|
+
console.log('num',num)
|
|
190
|
+
let http2 = new HttpResetClass()
|
|
191
|
+
await http2.load('POST','api/af-revenue/logic/recordImport', data, {resolveMsg: '上传成功', rejectMsg: '上传失败'}).then((res) => {
|
|
192
|
+
// 刷新
|
|
193
|
+
this.$parent.$refs.personquery.model.search('1=1').then((re) =>{
|
|
194
|
+
var numNew = this.$parent.$refs.personquery.model.rows.length
|
|
195
|
+
console.log('numNew',numNew)
|
|
196
|
+
console.log('res.data',res.data)
|
|
197
|
+
if (num + res.data != numNew){
|
|
198
|
+
this.$showMessage("存在重复数据,已覆盖"+(num+res.data-numNew)+"条!")
|
|
199
|
+
}
|
|
200
|
+
})
|
|
201
|
+
this.closeFile()
|
|
202
|
+
})
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
</script>
|
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="flex">
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
-
<form novalidate class="" partial >
|
|
6
|
-
<div class="col-sm-12 select-overspread">
|
|
7
|
-
<div class="col-sm-2" style="margin-right: 5px;">
|
|
8
|
-
<input type="text" class="form-control" v-model="model.f_gasunits" v-on:keyup.enter="search"
|
|
9
|
-
condition="f_gasunits like '%{}%'" placeholder="供气单位">
|
|
10
|
-
</div>
|
|
11
|
-
<div class="col-sm-2" style="margin-right: 5px;">
|
|
12
|
-
<input type="text" class="form-control" v-model="model.f_operator" v-on:keyup.enter="search"
|
|
13
|
-
condition="f_operator like '%{}%'" placeholder="操作员姓名">
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-2" style="margin-right: 5px;">
|
|
16
|
-
<input type="text" class="form-control" v-model="model.f_department" v-on:keyup.enter="search"
|
|
17
|
-
condition="f_department like '%{}%'" placeholder="操作部门">
|
|
18
|
-
</div>
|
|
19
|
-
<div class="col-sm-2 pull-right" style="margin-left: 50px;">
|
|
20
|
-
<button class="btn btn-primary" type="button" @click="search()">查询</button>
|
|
21
|
-
<button class="btn btn-primary" type="button" @click="$parent.$parent.addInfo()">新增</button>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
</form>
|
|
25
|
-
</criteria>
|
|
26
|
-
<data-grid :model="model" partial='list' v-ref:grid>
|
|
27
|
-
<template partial='head'>
|
|
28
|
-
<tr>
|
|
29
|
-
<th>序号</th>
|
|
30
|
-
<th>供气单位</th>
|
|
31
|
-
<th>供气时间</th>
|
|
32
|
-
<th>供气量</th>
|
|
33
|
-
<th>操作人</th>
|
|
34
|
-
<th>操作日期</th>
|
|
35
|
-
<th>操作部门</th>
|
|
36
|
-
<th>分公司</th>
|
|
37
|
-
</tr>
|
|
38
|
-
</template>
|
|
39
|
-
<template partial='body'>
|
|
40
|
-
<tr>
|
|
41
|
-
<td>{{$index+1}}</td>
|
|
42
|
-
<td>{{row.f_gasunits}}</td>
|
|
43
|
-
<td>{{row.f_gasdate}}</td>
|
|
44
|
-
<td>{{row.f_gasmun}}</td>
|
|
45
|
-
<td>{{row.f_operator}}</td>
|
|
46
|
-
<td>{{row.f_date}}</td>
|
|
47
|
-
<td>{{row.f_department}}</td>
|
|
48
|
-
<td>{{row.f_filiale}}</td>
|
|
49
|
-
<td style="text-align: center;">
|
|
50
|
-
|
|
51
|
-
<a href="#" @click="$parent.$parent.$parent.stamp(row)">修正</a>
|
|
52
|
-
|
|
53
|
-
</td>
|
|
54
|
-
</tr>
|
|
55
|
-
</template>
|
|
56
|
-
</data-grid>
|
|
57
|
-
</criteria-paged>
|
|
58
|
-
</div>
|
|
59
|
-
</template>
|
|
60
|
-
<script>
|
|
61
|
-
import { PagedList } from 'vue-client'
|
|
62
|
-
export default {
|
|
63
|
-
title: '供销差列表',
|
|
64
|
-
data () {
|
|
65
|
-
return {
|
|
66
|
-
model: new PagedList('
|
|
67
|
-
condition: ''
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
ready() {
|
|
71
|
-
this.search()
|
|
72
|
-
},
|
|
73
|
-
methods: {
|
|
74
|
-
search() {
|
|
75
|
-
THIS.$REFS.CP.$REFS.CRI.SEARCH()
|
|
76
|
-
},
|
|
77
|
-
addInfo () {
|
|
78
|
-
this.$dispatch('addInfo')
|
|
79
|
-
},
|
|
80
|
-
stamp (val) {
|
|
81
|
-
this.$dispatch("showupdate", val)
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex">
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<form novalidate class="" partial >
|
|
6
|
+
<div class="col-sm-12 select-overspread">
|
|
7
|
+
<div class="col-sm-2" style="margin-right: 5px;">
|
|
8
|
+
<input type="text" class="form-control" v-model="model.f_gasunits" v-on:keyup.enter="search"
|
|
9
|
+
condition="f_gasunits like '%{}%'" placeholder="供气单位">
|
|
10
|
+
</div>
|
|
11
|
+
<div class="col-sm-2" style="margin-right: 5px;">
|
|
12
|
+
<input type="text" class="form-control" v-model="model.f_operator" v-on:keyup.enter="search"
|
|
13
|
+
condition="f_operator like '%{}%'" placeholder="操作员姓名">
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-2" style="margin-right: 5px;">
|
|
16
|
+
<input type="text" class="form-control" v-model="model.f_department" v-on:keyup.enter="search"
|
|
17
|
+
condition="f_department like '%{}%'" placeholder="操作部门">
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-sm-2 pull-right" style="margin-left: 50px;">
|
|
20
|
+
<button class="btn btn-primary" type="button" @click="search()">查询</button>
|
|
21
|
+
<button class="btn btn-primary" type="button" @click="$parent.$parent.addInfo()">新增</button>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</form>
|
|
25
|
+
</criteria>
|
|
26
|
+
<data-grid :model="model" partial='list' v-ref:grid>
|
|
27
|
+
<template partial='head'>
|
|
28
|
+
<tr>
|
|
29
|
+
<th>序号</th>
|
|
30
|
+
<th>供气单位</th>
|
|
31
|
+
<th>供气时间</th>
|
|
32
|
+
<th>供气量</th>
|
|
33
|
+
<th>操作人</th>
|
|
34
|
+
<th>操作日期</th>
|
|
35
|
+
<th>操作部门</th>
|
|
36
|
+
<th>分公司</th>
|
|
37
|
+
</tr>
|
|
38
|
+
</template>
|
|
39
|
+
<template partial='body'>
|
|
40
|
+
<tr>
|
|
41
|
+
<td>{{$index+1}}</td>
|
|
42
|
+
<td>{{row.f_gasunits}}</td>
|
|
43
|
+
<td>{{row.f_gasdate}}</td>
|
|
44
|
+
<td>{{row.f_gasmun}}</td>
|
|
45
|
+
<td>{{row.f_operator}}</td>
|
|
46
|
+
<td>{{row.f_date}}</td>
|
|
47
|
+
<td>{{row.f_department}}</td>
|
|
48
|
+
<td>{{row.f_filiale}}</td>
|
|
49
|
+
<td style="text-align: center;">
|
|
50
|
+
|
|
51
|
+
<a href="#" @click="$parent.$parent.$parent.stamp(row)">修正</a>
|
|
52
|
+
|
|
53
|
+
</td>
|
|
54
|
+
</tr>
|
|
55
|
+
</template>
|
|
56
|
+
</data-grid>
|
|
57
|
+
</criteria-paged>
|
|
58
|
+
</div>
|
|
59
|
+
</template>
|
|
60
|
+
<script>
|
|
61
|
+
import { PagedList } from 'vue-client'
|
|
62
|
+
export default {
|
|
63
|
+
title: '供销差列表',
|
|
64
|
+
data () {
|
|
65
|
+
return {
|
|
66
|
+
model: new PagedList('api/af-revenue/sql/BusysubSelect', 20),
|
|
67
|
+
condition: ''
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
ready() {
|
|
71
|
+
this.search()
|
|
72
|
+
},
|
|
73
|
+
methods: {
|
|
74
|
+
search() {
|
|
75
|
+
THIS.$REFS.CP.$REFS.CRI.SEARCH()
|
|
76
|
+
},
|
|
77
|
+
addInfo () {
|
|
78
|
+
this.$dispatch('addInfo')
|
|
79
|
+
},
|
|
80
|
+
stamp (val) {
|
|
81
|
+
this.$dispatch("showupdate", val)
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
</script>
|