manage-client 3.2.91-aode → 3.2.91-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/build/dev-server.js +197 -193
- package/package.json +101 -101
- package/src/App.vue +1 -1
- package/src/Staff/StaffCompileList.vue +1 -1
- package/src/Staff/StaffList.vue +4 -4
- package/src/components/ManageHome/Drill/DrillList.vue +3 -3
- package/src/components/ManageHome/Home/CallCenter.vue +1 -1
- package/src/components/ManageHome/ImportSupplygas/AddSupply.vue +3 -3
- package/src/components/ManageHome/ImportSupplygas/SupplySelect.vue +1 -1
- package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +1 -1
- package/src/components/ManageHome/NetWork/LineInspection.vue +1 -1
- package/src/components/ManageHome/NetWork/NetDanger.vue +1 -1
- package/src/components/ManageHomeCS/Drill/DrillList.vue +3 -3
- package/src/components/ManageHomeCS/Home/CallCenter.vue +1 -1
- package/src/components/ManageHomeCS/ImportSupplygas/AddSupply.vue +3 -3
- package/src/components/ManageHomeCS/ImportSupplygas/SupplySelect.vue +1 -1
- package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +1 -1
- package/src/components/ManageHomeCS/NetWork/LineInspection.vue +1 -1
- package/src/components/ManageHomeCS/NetWork/NetDanger.vue +1 -1
- package/src/components/ManageHomeCS/NetWork/NetWorkMap.vue +2 -2
- package/src/components/MeterManage/ChangeMeterQuery.vue +1 -1
- package/src/components/MeterManage/ChargeQuery.vue +1 -1
- package/src/components/MeterManage/FillCardQuery.vue +1 -1
- package/src/components/MeterManage/FillGasQuery.vue +1 -1
- package/src/components/MeterManage/HandQuery.vue +1 -1
- package/src/components/MeterManage/MeterList.vue +1 -1
- package/src/components/MeterManage/MeterMsg.vue +2 -2
- package/src/components/MeterManage/OtherChargeQuery.vue +1 -1
- package/src/components/MeterManage/ReversalQuery.vue +1 -1
- package/src/components/MeterManage/TransferQuery.vue +1 -1
- package/src/components/SellReport/BankManager.vue +1 -1
- package/src/components/SellReport/BonSummary.vue +4 -4
- package/src/components/SellReport/BusSummary.vue +4 -4
- package/src/components/SellReport/ChargeBill.vue +4 -4
- package/src/components/SellReport/CollectFee.vue +4 -4
- package/src/components/SellReport/Contrast.vue +4 -4
- package/src/components/SellReport/FenxiangSell.vue +4 -4
- package/src/components/SellReport/GasCollect.vue +4 -4
- package/src/components/SellReport/GasPrice.vue +4 -4
- package/src/components/SellReport/GaspriceHas.vue +1 -1
- package/src/components/SellReport/GetSummary.vue +4 -4
- package/src/components/SellReport/GetUserNum.vue +4 -4
- package/src/components/SellReport/HandCollect.vue +4 -4
- package/src/components/SellReport/HandplanBili.vue +1 -1
- package/src/components/SellReport/JinChengBusSummary.vue +4 -4
- package/src/components/SellReport/JinChengHandGas.vue +4 -4
- package/src/components/SellReport/JinChengOperSummary.vue +4 -4
- package/src/components/SellReport/JinChengSliceSumgas.vue +4 -4
- package/src/components/SellReport/ManageBusSummary.vue +4 -4
- package/src/components/SellReport/ManageGasPrice.vue +4 -4
- package/src/components/SellReport/ManageHandInputtor.vue +4 -4
- package/src/components/SellReport/ManageMonthGas.vue +4 -4
- package/src/components/SellReport/ManageNewGasPrice.vue +4 -4
- package/src/components/SellReport/ManageSellType.vue +4 -4
- package/src/components/SellReport/ManageUserCollect.vue +4 -4
- package/src/components/SellReport/MeterBill.vue +4 -4
- package/src/components/SellReport/MeterInput.vue +4 -4
- package/src/components/SellReport/MeterReader.vue +4 -4
- package/src/components/SellReport/OweAging.vue +4 -4
- package/src/components/SellReport/QTXManageBusSummary.vue +4 -4
- package/src/components/SellReport/RefundQuery.vue +4 -4
- package/src/components/SellReport/ReportHistory.vue +2 -2
- package/src/components/SellReport/ReportItems.vue +1 -1
- package/src/components/SellReport/Selling.vue +4 -4
- package/src/components/SellReport/SiteManager.vue +1 -1
- package/src/components/SellReport/UsertypePie.vue +1 -1
- package/src/components/SellReport/VolumeStatistics.vue +4 -4
- package/src/components/SellReport/YuShou.vue +4 -4
- package/src/components/SellReport/getWebReport.vue +4 -4
- package/src/components/SellReport/jingwei/CardCharge.vue +1 -1
- package/src/components/SellReport/jingwei/MachineCharge.vue +1 -1
- package/src/components/SellReport/jingwei/PaymentNotice.vue +2 -2
- package/src/components/SellReport/jingwei/handplanReport.vue +230 -225
- package/src/components/TelReport/TrafficAssess.vue +1 -1
- package/src/components/TelReport/TrafficBasic.vue +1 -1
- package/src/components/TelReport/ZhiHuanservice.vue +1 -1
- package/src/components/WebReport/AbnormalInfo.vue +2 -2
- package/src/components/WebReport/AbnormalInfoEcharts.vue +1 -1
- package/src/components/WebReport/BatteryLow.vue +2 -2
- package/src/components/WebReport/BussinessType.vue +1 -1
- package/src/components/WebReport/Communication.vue +2 -2
- package/src/components/WebReport/ElectroMagnetic.vue +2 -2
- package/src/components/WebReport/GaspriceHas.vue +1 -1
- package/src/components/WebReport/HandplanPrint.vue +2 -2
- package/src/components/WebReport/NotUpload.vue +2 -2
- package/src/components/WebReport/OweQuery.vue +2 -2
- package/src/components/WebReport/Paymentpie.vue +1 -1
- package/src/components/WebReport/ReportWorklist.vue +4 -4
- package/src/components/WebReport/SellType.vue +1 -1
- package/src/components/WebReport/Telemanlist.vue +4 -4
- package/src/components/WebReport/UserGasAll.vue +2 -2
- package/src/components/WebReport/UserGasEcharts.vue +1 -1
- package/src/components/WebReport/UsertypePie.vue +1 -1
- package/src/components/WebReport/ValueEcharts.vue +1 -1
- package/src/components/WebReport/ValueInfo.vue +2 -2
- package/src/components/safecheck/analysis/SafeHiddenAnaly.vue +3 -3
- package/src/components/sale/businessquery/CancelChargeQuery.vue +2 -2
- package/src/components/sale/businessquery/ChangeMeterQuery.vue +3 -3
- package/src/components/sale/businessquery/ChargeQuery.vue +2 -2
- package/src/components/sale/businessquery/DeductionGas.vue +2 -2
- package/src/components/sale/businessquery/DisableQuery.vue +2 -2
- package/src/components/sale/businessquery/EnableQuery.vue +2 -2
- package/src/components/sale/businessquery/FillCardQuery.vue +2 -2
- package/src/components/sale/businessquery/FillGasQuery.vue +2 -2
- package/src/components/sale/businessquery/HandplanQuery.vue +2 -2
- package/src/components/sale/businessquery/InspectListGas.vue +5 -5
- package/src/components/sale/businessquery/InspectListUser.vue +5 -5
- package/src/components/sale/businessquery/NewAccountQuery.vue +2 -2
- package/src/components/sale/businessquery/OtherChargeDetailQuery.vue +1 -1
- package/src/components/sale/businessquery/OtherChargeQuery.vue +2 -2
- package/src/components/sale/businessquery/QueryUserState.vue +2 -2
- package/src/components/sale/businessquery/ReverseQuery.vue +2 -2
- package/src/components/sale/businessquery/SellingHand.vue +2 -2
- package/src/components/sale/businessquery/TransferQuery.vue +2 -2
- package/src/components/sale/businessquery/errorHandplanQuery.vue +2 -2
- package/src/components/sale/businessquery/ncpushQuery.vue +308 -304
- package/src/components/sale/businessquery/toolCardMakeQuery.vue +2 -2
- package/src/components/sale/filesquery/ChangeUserQuery.vue +2 -2
- package/src/components/sale/filesquery/DeviceQuery.vue +2 -2
- package/src/components/sale/filesquery/MeterQuery.vue +2 -2
- package/src/components/sale/filesquery/UserQuery.vue +4 -4
- package/src/components/sale/filesquery/detail/UserBaseInfo.vue +1 -1
- package/src/components/sale/filesquery/detail/oper/ChangeMessage.vue +1 -1
- package/src/components/sale/filesquery/detail/oper/ExchangeOper.vue +1 -1
- package/src/components/sale/filesquery/detail/oper/HandOper.vue +1 -1
- package/src/components/sale/filesquery/detail/oper/HandleMessage.vue +1 -1
- package/src/components/sale/filesquery/detail/oper/OtherCharge.vue +1 -1
- package/src/components/sale/filesquery/detail/oper/ReplaceCard.vue +1 -1
- package/src/components/sale/filesquery/detail/oper/SellOper.vue +1 -1
- package/src/components/sale/filesquery/detail/oper/TransferMessage.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/BlackListQueryDetail.vue +2 -2
- package/src/components/sale/filesquery/filequerydetail/ChangeMeterQueryDetail.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/ChargeQueryDetail.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/DeviceQueryDetail.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/DisableQueryDetail.vue +2 -2
- package/src/components/sale/filesquery/filequerydetail/EnableQueryDetail.vue +2 -2
- package/src/components/sale/filesquery/filequerydetail/FillCardQueryDetail.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/FillGasQueryDetail.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/HandQueryDetail.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/MeterQueryDetail.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/OtherChargeQueryDetail.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/RecordQueryDetail.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/SellingHandDetail.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/TransferQueryDetail.vue +1 -1
- package/src/components/sale/filesquery/filequerydetail/UserQueryDetail.vue +1 -1
- package/src/components/sale/ncpush/ncUserLoad.vue +1 -1
- package/src/components/sale/ncpush/ncpushmanage/NCpushList.vue +2 -6
- package/src/components/sale/ncpush/ncrecord/pushRecordQuery.vue +1 -1
- package/src/components/sale/ncpush/ncrecord/pushbilldatalist.vue +1 -1
- package/src/components/sale/ncpush/ncrecord/pushdaydatalist.vue +3 -3
- package/src/components/sale/ncpush/pushconfirmManage.vue +1 -1
- package/src/components/sale/ncpush/pushconfirmadd.vue +4 -4
- package/src/components/sale/ncpush/pushconfirmlist.vue +1 -1
- package/src/components/sale/ncpush/pushconfirmmergelist.vue +1 -1
- package/src/components/sale/report/aode/DayReportList.vue +4 -22
- package/src/components/sale/report/aode/MonthByChargeType.vue +2 -2
- package/src/components/sale/report/aode/MonthByUserType.vue +2 -2
- package/src/components/sale/report/aode/YearByChargeTpye.vue +3 -3
- package/src/components/sale/report/aode/YearByUserType.vue +4 -4
- package/src/components/sale/report/aode/iot/FarawayQuery.vue +2 -2
- package/src/components/sale/report/aode/iot/ReportQuery.vue +4 -4
- package/src/components/sale/report/aode/life/LifeDayReportList.vue +2 -2
- package/src/components/sale/report/aode/life/LifeMonthReport.vue +2 -2
- package/src/components/sale/report/aode/life/LifeYearReport.vue +2 -2
- package/src/components/sale/report/aode/othercharge/OtherDayReportList.vue +2 -2
- package/src/components/sale/report/aode/userbuyQuery.vue +2 -2
- package/src/components/valueaddinfo/ValueAddinfoQuery.vue +2 -2
- package/src/components/valueaddinfo/renewalvalueAddUserQuery.vue +2 -2
- package/src/components/valueaddinfo/valueAddCountQuery.vue +2 -2
- package/src/components/valueaddinfo/valueAddUserQuery.vue +2 -2
- package/src/components/webmeter/ArreasuserQuery.vue +2 -2
- package/src/components/webmeter/DrillData/LargeScreenAnalysisEcharts.vue +2 -2
- package/src/components/webmeter/DrillData/LostContactAnalysis.vue +3 -3
- package/src/components/webmeter/DrillData/LostContactAnalysisList.vue +19 -30
- package/src/components/webmeter/DrillData/LostContactEcharts.vue +1 -1
- package/src/components/webmeter/DrillData/LostContactEform.vue +2 -2
- package/src/components/webmeter/DrillData/NewUserGasAll.vue +2 -2
- package/src/components/webmeter/DrillData/UserGasAll.vue +1 -1
- package/src/components/webmeter/DrillData/UserGasEcharts.vue +1 -1
- package/src/components/webmeter/DrillData/UserGasEform.vue +2 -2
- package/src/components/webmeter/DrillData/UserLostContactAnalysis.vue +3 -3
- package/src/components/webmeter/IOTArrears/arrears.vue +3 -3
- package/src/components/webmeter/IOTArrears/iotRechargeAudit.vue +4 -4
- package/src/components/webmeter/NewWebmeterHandplanQuery.vue +1 -1
- package/src/components/webmeter/OperatorCount.vue +1 -1
- package/src/components/webmeter/WebmeterHandplanQuery.vue +2 -2
- package/src/components/webmeter/WebmeterHandplanQuery2CK.vue +1 -1
- package/src/components/webmeter/dataCollection/DataCollection.vue +2 -2
- package/src/components/webmeter/gasAnalysis/GasAnalysisEcharts.vue +1 -1
- package/src/components/webmeter/gasAnalysis/GasAnalysisManage.vue +3 -3
- package/src/components/webmeter/gasAnalysis/GasAnalysisSummary.vue +1 -1
- package/src/components/webmeter/handplan/NewWebMeterHandPlan.vue +3 -3
- package/src/components/webmeter/indicatorStatisticsEchars.vue +1 -1
- package/src/components/webmeter/indicatorStatisticsMain.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEcharsTotal.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEform.vue +1 -1
- package/src/components/webmeter/newwebmeter/NewException/NewExceptionEformTotal.vue +2 -2
- package/src/components/webmeter/newwebmeter/NewException/NewMeterException.vue +2 -2
- package/src/components/webmeter/newwebmeter/NewException/TotalExceptionByMeter.vue +431 -379
- package/src/components/webmeter/newwebmeter/NewWebUserHand.vue +3 -3
- package/src/components/webmeter/newwebmeter/ReportDataQuery.vue +2 -2
- package/src/components/webmeter/newwebmeter/UserGasEchartsList.vue +1 -1
- package/src/components/webmeter/newwebmeter/UserGasList.vue +2 -2
- package/src/components/webmeter/newwebmeter/UserInstructEchartsList.vue +1 -1
- package/src/components/webmeter/newwebmeter/UserInstructList.vue +2 -2
- package/src/components/webmeter/newwebmeter/signAnalysisEcharts.vue +1 -1
- package/src/components/webmeter/newwebmeter/signAnalysisEform.vue +2 -2
- package/src/components/webmeter/newwebmeter/signAnalysisListMain.vue +2 -2
- package/src/components/webmeter/report/ReportList.vue +2 -2
- package/src/plugins/GetLoginInfoService.js +1 -1
- package/src/stores/DataSql.js +2 -2
- package/src/stores/DrillECharts.js +2 -2
- package/src/stores/MagGetSaleParams.js +1 -1
- package/src/stores/MagLoadParams.js +2 -2
- package/.gradle/7.4/checksums/checksums.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.4/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/vcs-1/gc.properties +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,193 +1,197 @@
|
|
|
1
|
-
var express = require('express')
|
|
2
|
-
var webpack = require('webpack')
|
|
3
|
-
var config = require('./webpack.dev.conf')
|
|
4
|
-
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
-
// var httpProxy = require('http-proxy')
|
|
6
|
-
|
|
7
|
-
var app = express()
|
|
8
|
-
var compiler = webpack(config)
|
|
9
|
-
// var proxy = httpProxy.createProxyServer()
|
|
10
|
-
|
|
11
|
-
// Define HTTP proxies to your custom API backend
|
|
12
|
-
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
-
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
|
-
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
15
|
-
var str = 'http://192.168.10.14:8300', fuwu = 'http://192.168.10.233:8300', bendi = 'http://localhost:9025/'
|
|
16
|
-
// var str = 'http://121.36.106.17:8400' , fuwu = 'http://121.36.106.17:8400' , bendi = 'http://192.168.10.14:8300'
|
|
17
|
-
var proxyTable = {
|
|
18
|
-
|
|
19
|
-
'/rs/easyexcel/': {
|
|
20
|
-
target:
|
|
21
|
-
},
|
|
22
|
-
'/rs/logic/exportfile': {
|
|
23
|
-
target: fuwu
|
|
24
|
-
},
|
|
25
|
-
'/rs/sql/aode_YearByChargeType':{
|
|
26
|
-
target:fuwu+"/staticpage/yearbychargetype/"
|
|
27
|
-
},
|
|
28
|
-
'/rs/sql/aode_YearByUserType':{
|
|
29
|
-
target:fuwu+"/staticpage/yearbyusertype/"
|
|
30
|
-
},
|
|
31
|
-
'/rs/sql/aode_monthByChargeType':{
|
|
32
|
-
target:fuwu+"/staticpage/monthbychargetype/"
|
|
33
|
-
},
|
|
34
|
-
'/files': {
|
|
35
|
-
target: fuwu
|
|
36
|
-
},
|
|
37
|
-
// 查找资源服务数据
|
|
38
|
-
'/rs/search': {
|
|
39
|
-
target: fuwu
|
|
40
|
-
},
|
|
41
|
-
'/rs/ckh/singleTableParam': {
|
|
42
|
-
target: fuwu
|
|
43
|
-
},
|
|
44
|
-
'/rs/easyexcel/exportCkh': {
|
|
45
|
-
target: fuwu
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
'/rs/sql/webmeter_getNewHandChanceList': {
|
|
49
|
-
target:
|
|
50
|
-
},
|
|
51
|
-
|
|
52
|
-
'/rs/sql/manage_handplanRecord': {
|
|
53
|
-
target: 'http://192.168.10.233:8300'
|
|
54
|
-
},
|
|
55
|
-
'/rs/logic/chargevalueaddinfo': {
|
|
56
|
-
target: 'http://localhost:8025'
|
|
57
|
-
},
|
|
58
|
-
'/rs/logic/valueaddinfo': {
|
|
59
|
-
target: 'http://localhost:8025'
|
|
60
|
-
},
|
|
61
|
-
// 查找资源服务数据
|
|
62
|
-
'/rs/logic/getLogin': {
|
|
63
|
-
target: fuwu
|
|
64
|
-
},
|
|
65
|
-
// 查找资源服务数据
|
|
66
|
-
'/rs/logic/getInitData': {
|
|
67
|
-
target: fuwu
|
|
68
|
-
},
|
|
69
|
-
// 用户登录服务地址
|
|
70
|
-
'/rs/user': {
|
|
71
|
-
target: fuwu
|
|
72
|
-
},
|
|
73
|
-
'/rs/path/getParams': {
|
|
74
|
-
target: fuwu
|
|
75
|
-
},
|
|
76
|
-
'/rs/data': {
|
|
77
|
-
target: fuwu
|
|
78
|
-
},
|
|
79
|
-
'/rs/license': {
|
|
80
|
-
target: fuwu
|
|
81
|
-
},
|
|
82
|
-
'/rs/db': {
|
|
83
|
-
target: fuwu
|
|
84
|
-
},
|
|
85
|
-
'/excel': {
|
|
86
|
-
target: fuwu
|
|
87
|
-
},
|
|
88
|
-
'/rs/config': {
|
|
89
|
-
target: fuwu
|
|
90
|
-
},
|
|
91
|
-
'/rs/sql/getLicenseById': {
|
|
92
|
-
target: fuwu
|
|
93
|
-
},
|
|
94
|
-
'/rs/report': {
|
|
95
|
-
target: fuwu
|
|
96
|
-
},
|
|
97
|
-
'/rs/vue': {
|
|
98
|
-
target: fuwu
|
|
99
|
-
},
|
|
100
|
-
'/rs': {
|
|
101
|
-
target: fuwu
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
app.use(
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
//
|
|
136
|
-
|
|
137
|
-
//
|
|
138
|
-
// res.header('Access-Control-Allow-
|
|
139
|
-
// res.header('
|
|
140
|
-
//
|
|
141
|
-
//
|
|
142
|
-
|
|
143
|
-
//
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
//
|
|
148
|
-
app.use(
|
|
149
|
-
|
|
150
|
-
//
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
//
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
//
|
|
158
|
-
|
|
159
|
-
//
|
|
160
|
-
//
|
|
161
|
-
//
|
|
162
|
-
|
|
163
|
-
//
|
|
164
|
-
//
|
|
165
|
-
//
|
|
166
|
-
//
|
|
167
|
-
//
|
|
168
|
-
//
|
|
169
|
-
|
|
170
|
-
//
|
|
171
|
-
//
|
|
172
|
-
//
|
|
173
|
-
|
|
174
|
-
//
|
|
175
|
-
|
|
176
|
-
//
|
|
177
|
-
//
|
|
178
|
-
//
|
|
179
|
-
|
|
180
|
-
//
|
|
181
|
-
//
|
|
182
|
-
//
|
|
183
|
-
//
|
|
184
|
-
//
|
|
185
|
-
//
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
1
|
+
var express = require('express')
|
|
2
|
+
var webpack = require('webpack')
|
|
3
|
+
var config = require('./webpack.dev.conf')
|
|
4
|
+
var proxyMiddleware = require('http-proxy-middleware')
|
|
5
|
+
// var httpProxy = require('http-proxy')
|
|
6
|
+
|
|
7
|
+
var app = express()
|
|
8
|
+
var compiler = webpack(config)
|
|
9
|
+
// var proxy = httpProxy.createProxyServer()
|
|
10
|
+
|
|
11
|
+
// Define HTTP proxies to your custom API backend
|
|
12
|
+
// https://github.com/chimurai/http-proxy-middleware
|
|
13
|
+
// var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
|
|
14
|
+
// var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
|
|
15
|
+
var str = 'http://192.168.10.14:8300', fuwu = 'http://192.168.10.233:8300', bendi = 'http://localhost:9025/'
|
|
16
|
+
// var str = 'http://121.36.106.17:8400' , fuwu = 'http://121.36.106.17:8400' , bendi = 'http://192.168.10.14:8300'
|
|
17
|
+
var proxyTable = {
|
|
18
|
+
|
|
19
|
+
'/rs/easyexcel/': {
|
|
20
|
+
target: 'http://192.168.10.14:8600/manage/'
|
|
21
|
+
},
|
|
22
|
+
'/rs/logic/exportfile': {
|
|
23
|
+
target: fuwu
|
|
24
|
+
},
|
|
25
|
+
'/rs/sql/aode_YearByChargeType':{
|
|
26
|
+
target:fuwu+"/staticpage/yearbychargetype/"
|
|
27
|
+
},
|
|
28
|
+
'/rs/sql/aode_YearByUserType':{
|
|
29
|
+
target:fuwu+"/staticpage/yearbyusertype/"
|
|
30
|
+
},
|
|
31
|
+
'/rs/sql/aode_monthByChargeType':{
|
|
32
|
+
target:fuwu+"/staticpage/monthbychargetype/"
|
|
33
|
+
},
|
|
34
|
+
'/files': {
|
|
35
|
+
target: fuwu
|
|
36
|
+
},
|
|
37
|
+
// 查找资源服务数据
|
|
38
|
+
'/rs/search': {
|
|
39
|
+
target: fuwu
|
|
40
|
+
},
|
|
41
|
+
'/rs/ckh/singleTableParam': {
|
|
42
|
+
target: fuwu
|
|
43
|
+
},
|
|
44
|
+
'/rs/easyexcel/exportCkh': {
|
|
45
|
+
target: fuwu
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
'/rs/sql/webmeter_getNewHandChanceList': {
|
|
49
|
+
target: fuwu
|
|
50
|
+
},
|
|
51
|
+
|
|
52
|
+
'/rs/sql/manage_handplanRecord': {
|
|
53
|
+
target: 'http://192.168.10.233:8300'
|
|
54
|
+
},
|
|
55
|
+
'/rs/logic/chargevalueaddinfo': {
|
|
56
|
+
target: 'http://localhost:8025'
|
|
57
|
+
},
|
|
58
|
+
'/rs/logic/valueaddinfo': {
|
|
59
|
+
target: 'http://localhost:8025'
|
|
60
|
+
},
|
|
61
|
+
// 查找资源服务数据
|
|
62
|
+
'/rs/logic/getLogin': {
|
|
63
|
+
target: fuwu
|
|
64
|
+
},
|
|
65
|
+
// 查找资源服务数据
|
|
66
|
+
'/rs/logic/getInitData': {
|
|
67
|
+
target: fuwu
|
|
68
|
+
},
|
|
69
|
+
// 用户登录服务地址
|
|
70
|
+
'/rs/user': {
|
|
71
|
+
target: fuwu
|
|
72
|
+
},
|
|
73
|
+
'/rs/path/getParams': {
|
|
74
|
+
target: fuwu
|
|
75
|
+
},
|
|
76
|
+
'/rs/data': {
|
|
77
|
+
target: fuwu
|
|
78
|
+
},
|
|
79
|
+
'/rs/license': {
|
|
80
|
+
target: fuwu
|
|
81
|
+
},
|
|
82
|
+
'/rs/db': {
|
|
83
|
+
target: fuwu
|
|
84
|
+
},
|
|
85
|
+
'/excel': {
|
|
86
|
+
target: fuwu
|
|
87
|
+
},
|
|
88
|
+
'/rs/config': {
|
|
89
|
+
target: fuwu
|
|
90
|
+
},
|
|
91
|
+
'/rs/sql/getLicenseById': {
|
|
92
|
+
target: fuwu
|
|
93
|
+
},
|
|
94
|
+
'/rs/report': {
|
|
95
|
+
target: fuwu
|
|
96
|
+
},
|
|
97
|
+
'/rs/vue': {
|
|
98
|
+
target: fuwu
|
|
99
|
+
},
|
|
100
|
+
'/rs': {
|
|
101
|
+
target: fuwu
|
|
102
|
+
},
|
|
103
|
+
'/api/af-revenue': {
|
|
104
|
+
pathRewrite: { '^/api/af-revenue/sql': '/rs/sql', '^/api/af-revenue/logic/exportfile': '/rs/logic/exportfile', },
|
|
105
|
+
target: fuwu
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
110
|
+
publicPath: config.output.publicPath,
|
|
111
|
+
stats: {
|
|
112
|
+
colors: true,
|
|
113
|
+
chunks: false
|
|
114
|
+
}
|
|
115
|
+
})
|
|
116
|
+
|
|
117
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
118
|
+
// force page reload when html-webpack-plugin template changes
|
|
119
|
+
compiler.plugin('compilation', function (compilation) {
|
|
120
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
121
|
+
hotMiddleware.publish({action: 'reload'})
|
|
122
|
+
cb()
|
|
123
|
+
})
|
|
124
|
+
})
|
|
125
|
+
|
|
126
|
+
// proxy api requests
|
|
127
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
128
|
+
var options = proxyTable[context]
|
|
129
|
+
if (typeof options === 'string') {
|
|
130
|
+
options = {target: options}
|
|
131
|
+
}
|
|
132
|
+
app.use(proxyMiddleware(context, options))
|
|
133
|
+
})
|
|
134
|
+
|
|
135
|
+
// handle fallback for HTML5 history API
|
|
136
|
+
app.use(require('connect-history-api-fallback')())
|
|
137
|
+
// app.use(function (req, res, next) {
|
|
138
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
139
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
140
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
141
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
142
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
143
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
144
|
+
// next()
|
|
145
|
+
// })
|
|
146
|
+
|
|
147
|
+
// serve webpack bundle output
|
|
148
|
+
app.use(devMiddleware)
|
|
149
|
+
|
|
150
|
+
// enable hot-reload and state-preserving
|
|
151
|
+
// compilation error display
|
|
152
|
+
app.use(hotMiddleware)
|
|
153
|
+
|
|
154
|
+
// serve pure static assets
|
|
155
|
+
app.use('/static', express.static('./static'))
|
|
156
|
+
|
|
157
|
+
// app.all('/rs/*', function (req, res) {
|
|
158
|
+
// proxy.web(req, res, {
|
|
159
|
+
// target: 'http://127.0.0.1:8081/reports'
|
|
160
|
+
// })
|
|
161
|
+
// })
|
|
162
|
+
|
|
163
|
+
// app.all('/rs/*', function (req, res) {
|
|
164
|
+
// proxy.web(req, res, {
|
|
165
|
+
// target: 'http://127.0.0.1:8081/ldap'
|
|
166
|
+
// })
|
|
167
|
+
// })
|
|
168
|
+
// app.all('/excel/*', function (req, res) {
|
|
169
|
+
// proxy.web(req, res, {
|
|
170
|
+
// target: 'http://127.0.0.1:8081/charge'
|
|
171
|
+
// })
|
|
172
|
+
// })
|
|
173
|
+
|
|
174
|
+
// app.all('/rs/*', function (req, res) {
|
|
175
|
+
// proxy.web(req, res, {
|
|
176
|
+
// target: 'http://127.0.0.1:82/charge'
|
|
177
|
+
// })
|
|
178
|
+
// })
|
|
179
|
+
|
|
180
|
+
// app.all('/*', function (req, res) {
|
|
181
|
+
// proxy.web(req, res, {
|
|
182
|
+
// target: 'http://127.0.0.1:82'
|
|
183
|
+
// })
|
|
184
|
+
// })
|
|
185
|
+
// app.all('/rs/user', function (req, res) {
|
|
186
|
+
// proxy.web(req, res, {
|
|
187
|
+
// target: 'http://127.0.0.1:82'
|
|
188
|
+
// })
|
|
189
|
+
// })
|
|
190
|
+
|
|
191
|
+
module.exports = app.listen(8099, function (err) {
|
|
192
|
+
if (err) {
|
|
193
|
+
console.log(err)
|
|
194
|
+
return
|
|
195
|
+
}
|
|
196
|
+
console.log('Listening at http://localhost:8099')
|
|
197
|
+
})
|
package/package.json
CHANGED
|
@@ -1,101 +1,101 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "manage-client",
|
|
3
|
-
"version": "3.2.91-
|
|
4
|
-
"description": "经营管控模块前台组件",
|
|
5
|
-
"main": "src/index.js",
|
|
6
|
-
"directories": {
|
|
7
|
-
"test": "test"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"axios": "^1.2.0",
|
|
11
|
-
"jsencrypt": "*",
|
|
12
|
-
"vue-json-excel": "^0.3.0"
|
|
13
|
-
},
|
|
14
|
-
"devDependencies": {
|
|
15
|
-
"babel-core": "^6.0.0",
|
|
16
|
-
"babel-loader": "^6.0.0",
|
|
17
|
-
"babel-plugin-transform-runtime": "^6.0.0",
|
|
18
|
-
"babel-preset-es2015": "^6.0.0",
|
|
19
|
-
"babel-preset-stage-2": "^6.0.0",
|
|
20
|
-
"chai": "^3.5.0",
|
|
21
|
-
"co": "^4.6.0",
|
|
22
|
-
"connect-history-api-fallback": "^1.1.0",
|
|
23
|
-
"cross-env": "^1.0.7",
|
|
24
|
-
"cross-spawn": "^2.1.5",
|
|
25
|
-
"css-loader": "^0.23.0",
|
|
26
|
-
"echarts": "^4.1.0",
|
|
27
|
-
"eslint": "^2.0.0",
|
|
28
|
-
"eslint-config-standard": "^5.1.0",
|
|
29
|
-
"eslint-friendly-formatter": "^1.2.2",
|
|
30
|
-
"eslint-loader": "^1.3.0",
|
|
31
|
-
"eslint-plugin-html": "^1.3.0",
|
|
32
|
-
"eslint-plugin-promise": "^1.0.8",
|
|
33
|
-
"eslint-plugin-standard": "^1.3.2",
|
|
34
|
-
"eslint-plugin-vue": "^0.1.1",
|
|
35
|
-
"eventsource-polyfill": "^0.9.6",
|
|
36
|
-
"express": "^4.13.3",
|
|
37
|
-
"extract-text-webpack-plugin": "^1.0.1",
|
|
38
|
-
"file-loader": "^0.8.4",
|
|
39
|
-
"function-bind": "^1.0.2",
|
|
40
|
-
"html-webpack-plugin": "^2.8.1",
|
|
41
|
-
"http-proxy-middleware": "^0.11.0",
|
|
42
|
-
"inject-loader": "^2.0.1",
|
|
43
|
-
"isparta-loader": "^2.0.0",
|
|
44
|
-
"jasmine-core": "^2.4.1",
|
|
45
|
-
"jquery": "^3.3.1",
|
|
46
|
-
"json-loader": "^0.5.4",
|
|
47
|
-
"karma": "^1.4.1",
|
|
48
|
-
"karma-chrome-launcher": "^2.2.0",
|
|
49
|
-
"karma-coverage": "^1.1.1",
|
|
50
|
-
"karma-mocha": "^1.3.0",
|
|
51
|
-
"karma-sinon-chai": "^1.3.1",
|
|
52
|
-
"karma-sourcemap-loader": "^0.3.7",
|
|
53
|
-
"karma-spec-reporter": "0.0.31",
|
|
54
|
-
"karma-webpack": "^2.0.2",
|
|
55
|
-
"less": "^2.7.3",
|
|
56
|
-
"mkdirp": "^0.5.1",
|
|
57
|
-
"mocha": "^3.2.0",
|
|
58
|
-
"ncp": "^2.0.0",
|
|
59
|
-
"rimraf": "^2.5.0",
|
|
60
|
-
"sale-client": "^1.2.17-aode",
|
|
61
|
-
"selenium-server": "2.52.0",
|
|
62
|
-
"sinon": "^2.1.0",
|
|
63
|
-
"sinon-chai": "^2.8.0",
|
|
64
|
-
"style": "0.0.3",
|
|
65
|
-
"style-loader": "^0.20.3",
|
|
66
|
-
"system-clients": "3.1.109-aode",
|
|
67
|
-
"url-loader": "^0.5.7",
|
|
68
|
-
"vue-amap": "0.5.10",
|
|
69
|
-
"vue-client": "^1.22.28-aode",
|
|
70
|
-
"vue-hot-reload-api": "^1.2.0",
|
|
71
|
-
"vue-html-loader": "^1.0.0",
|
|
72
|
-
"vue-loader": "8.2.1",
|
|
73
|
-
"vue-resource": "^1.5.0",
|
|
74
|
-
"vue-router": "^0.7.13",
|
|
75
|
-
"vue-strap": "^1.0.9",
|
|
76
|
-
"vue-style-loader": "^1.0.0",
|
|
77
|
-
"vue-validator": "2.1.7",
|
|
78
|
-
"webpack": "1.12.2",
|
|
79
|
-
"webpack-dev-middleware": "^1.4.0",
|
|
80
|
-
"webpack-hot-middleware": "^2.6.0",
|
|
81
|
-
"webpack-merge": "^0.8.3"
|
|
82
|
-
},
|
|
83
|
-
"scripts": {
|
|
84
|
-
"unit": "karma start test/unit/karma.conf.js --single-run",
|
|
85
|
-
"example": "node build/example-server.js",
|
|
86
|
-
"dev": "node build/dev-server.js",
|
|
87
|
-
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
88
|
-
"build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
89
|
-
"e2e": "node test/e2e/runner.js",
|
|
90
|
-
"release": "bash build/release.sh"
|
|
91
|
-
},
|
|
92
|
-
"repository": {
|
|
93
|
-
"type": "git",
|
|
94
|
-
"url": "https://gitee.com/aote/management_modules.git"
|
|
95
|
-
},
|
|
96
|
-
"keywords": [
|
|
97
|
-
"manage"
|
|
98
|
-
],
|
|
99
|
-
"author": "liuxudong",
|
|
100
|
-
"license": "ISC"
|
|
101
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "manage-client",
|
|
3
|
+
"version": "3.2.91-aodeToV4",
|
|
4
|
+
"description": "经营管控模块前台组件",
|
|
5
|
+
"main": "src/index.js",
|
|
6
|
+
"directories": {
|
|
7
|
+
"test": "test"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"axios": "^1.2.0",
|
|
11
|
+
"jsencrypt": "*",
|
|
12
|
+
"vue-json-excel": "^0.3.0"
|
|
13
|
+
},
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"babel-core": "^6.0.0",
|
|
16
|
+
"babel-loader": "^6.0.0",
|
|
17
|
+
"babel-plugin-transform-runtime": "^6.0.0",
|
|
18
|
+
"babel-preset-es2015": "^6.0.0",
|
|
19
|
+
"babel-preset-stage-2": "^6.0.0",
|
|
20
|
+
"chai": "^3.5.0",
|
|
21
|
+
"co": "^4.6.0",
|
|
22
|
+
"connect-history-api-fallback": "^1.1.0",
|
|
23
|
+
"cross-env": "^1.0.7",
|
|
24
|
+
"cross-spawn": "^2.1.5",
|
|
25
|
+
"css-loader": "^0.23.0",
|
|
26
|
+
"echarts": "^4.1.0",
|
|
27
|
+
"eslint": "^2.0.0",
|
|
28
|
+
"eslint-config-standard": "^5.1.0",
|
|
29
|
+
"eslint-friendly-formatter": "^1.2.2",
|
|
30
|
+
"eslint-loader": "^1.3.0",
|
|
31
|
+
"eslint-plugin-html": "^1.3.0",
|
|
32
|
+
"eslint-plugin-promise": "^1.0.8",
|
|
33
|
+
"eslint-plugin-standard": "^1.3.2",
|
|
34
|
+
"eslint-plugin-vue": "^0.1.1",
|
|
35
|
+
"eventsource-polyfill": "^0.9.6",
|
|
36
|
+
"express": "^4.13.3",
|
|
37
|
+
"extract-text-webpack-plugin": "^1.0.1",
|
|
38
|
+
"file-loader": "^0.8.4",
|
|
39
|
+
"function-bind": "^1.0.2",
|
|
40
|
+
"html-webpack-plugin": "^2.8.1",
|
|
41
|
+
"http-proxy-middleware": "^0.11.0",
|
|
42
|
+
"inject-loader": "^2.0.1",
|
|
43
|
+
"isparta-loader": "^2.0.0",
|
|
44
|
+
"jasmine-core": "^2.4.1",
|
|
45
|
+
"jquery": "^3.3.1",
|
|
46
|
+
"json-loader": "^0.5.4",
|
|
47
|
+
"karma": "^1.4.1",
|
|
48
|
+
"karma-chrome-launcher": "^2.2.0",
|
|
49
|
+
"karma-coverage": "^1.1.1",
|
|
50
|
+
"karma-mocha": "^1.3.0",
|
|
51
|
+
"karma-sinon-chai": "^1.3.1",
|
|
52
|
+
"karma-sourcemap-loader": "^0.3.7",
|
|
53
|
+
"karma-spec-reporter": "0.0.31",
|
|
54
|
+
"karma-webpack": "^2.0.2",
|
|
55
|
+
"less": "^2.7.3",
|
|
56
|
+
"mkdirp": "^0.5.1",
|
|
57
|
+
"mocha": "^3.2.0",
|
|
58
|
+
"ncp": "^2.0.0",
|
|
59
|
+
"rimraf": "^2.5.0",
|
|
60
|
+
"sale-client": "^1.2.17-aode",
|
|
61
|
+
"selenium-server": "2.52.0",
|
|
62
|
+
"sinon": "^2.1.0",
|
|
63
|
+
"sinon-chai": "^2.8.0",
|
|
64
|
+
"style": "0.0.3",
|
|
65
|
+
"style-loader": "^0.20.3",
|
|
66
|
+
"system-clients": "3.1.109-aode",
|
|
67
|
+
"url-loader": "^0.5.7",
|
|
68
|
+
"vue-amap": "0.5.10",
|
|
69
|
+
"vue-client": "^1.22.28-aode",
|
|
70
|
+
"vue-hot-reload-api": "^1.2.0",
|
|
71
|
+
"vue-html-loader": "^1.0.0",
|
|
72
|
+
"vue-loader": "8.2.1",
|
|
73
|
+
"vue-resource": "^1.5.0",
|
|
74
|
+
"vue-router": "^0.7.13",
|
|
75
|
+
"vue-strap": "^1.0.9",
|
|
76
|
+
"vue-style-loader": "^1.0.0",
|
|
77
|
+
"vue-validator": "2.1.7",
|
|
78
|
+
"webpack": "1.12.2",
|
|
79
|
+
"webpack-dev-middleware": "^1.4.0",
|
|
80
|
+
"webpack-hot-middleware": "^2.6.0",
|
|
81
|
+
"webpack-merge": "^0.8.3"
|
|
82
|
+
},
|
|
83
|
+
"scripts": {
|
|
84
|
+
"unit": "karma start test/unit/karma.conf.js --single-run",
|
|
85
|
+
"example": "node build/example-server.js",
|
|
86
|
+
"dev": "node build/dev-server.js",
|
|
87
|
+
"lint": "eslint src/**.js test/e2e/**.js test/unit/specs/** build/**.js",
|
|
88
|
+
"build": "rimraf dist && mkdirp dist && ncp static dist/static && cross-env NODE_ENV=production webpack --progress --hide-modules --config build/webpack.prod.conf.js",
|
|
89
|
+
"e2e": "node test/e2e/runner.js",
|
|
90
|
+
"release": "bash build/release.sh"
|
|
91
|
+
},
|
|
92
|
+
"repository": {
|
|
93
|
+
"type": "git",
|
|
94
|
+
"url": "https://gitee.com/aote/management_modules.git"
|
|
95
|
+
},
|
|
96
|
+
"keywords": [
|
|
97
|
+
"manage"
|
|
98
|
+
],
|
|
99
|
+
"author": "liuxudong",
|
|
100
|
+
"license": "ISC"
|
|
101
|
+
}
|
package/src/App.vue
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<route :comp="{name: 'login'}"></route>
|
|
12
12
|
<!-- <route :comp="{name: 'load-data'}"></route> -->
|
|
13
13
|
<!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
|
|
14
|
-
<!-- <route :comp="{name: 'load-params', props: {dataUrl: ['
|
|
14
|
+
<!-- <route :comp="{name: 'load-params', props: {dataUrl: ['api/af-revenue/sql/getMeterBrand','api/af-revenue/sql/getPriceType','api/af-revenue/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
|
|
15
15
|
</article>
|
|
16
16
|
</div>
|
|
17
17
|
</app-base>
|
|
@@ -260,7 +260,7 @@
|
|
|
260
260
|
this.listinfo.roles = val.id
|
|
261
261
|
},
|
|
262
262
|
parentidSave () {
|
|
263
|
-
this.$resetpost('
|
|
263
|
+
this.$resetpost('api/af-revenue/sql/staffQuery', {data: {condition: "f_staff_name = '" + this.listinfo.ename + "'"}}).then((res) => {
|
|
264
264
|
if (res.data.length > 0) {
|
|
265
265
|
this.saveid = 0
|
|
266
266
|
this.$showAlert('此登录名已存在,请核实后重新输入!!', 'warning', 5000)
|
package/src/Staff/StaffList.vue
CHANGED
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
<div class="col-sm-3 form-group form-input-group">
|
|
61
61
|
<!--<export-excel :data="$parent.$parent.getCondition"-->
|
|
62
62
|
<!--:field="$parent.$parent.getfield"-->
|
|
63
|
-
<!--sqlurl="
|
|
63
|
+
<!--sqlurl="api/af-revenue/logic/saleExport" sql-name="staffQuery" template-name='员工信息查询导出' :choose-col="true"></export-excel>-->
|
|
64
64
|
<!--<export-excel :data="{items: 'f_parentid,f_user_name,f_sex,f_age,f_parentname,f_job,f_user_phone,f_staff_state,f_operator_date,f_address,f_operate,f_filiale,f_remark',-->
|
|
65
65
|
<!--orderitem: 'f_operator_date',tablename: 't_staff',-->
|
|
66
|
-
<!--condition: condition}" bean='员工信息列表导出' sqlurl="
|
|
66
|
+
<!--condition: condition}" bean='员工信息列表导出' sqlurl="api/af-revenue/logic/exportfile"></export-excel>-->
|
|
67
67
|
</div>
|
|
68
68
|
</div>
|
|
69
69
|
</criteria>
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
export default {
|
|
113
113
|
data () {
|
|
114
114
|
return {
|
|
115
|
-
model: new PagedList('
|
|
115
|
+
model: new PagedList('api/af-revenue/sql/staffQuery',20, {}),
|
|
116
116
|
orgCondtionStr:'',
|
|
117
117
|
// 公司下拉
|
|
118
118
|
curorgid: [this.$login.f.id],
|
|
@@ -137,7 +137,7 @@
|
|
|
137
137
|
delete(row){
|
|
138
138
|
if(row.id){
|
|
139
139
|
var id = row.id
|
|
140
|
-
this.$resetdelete('
|
|
140
|
+
this.$resetdelete('api/af-revenue/entity/t_user', {id: id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
141
141
|
this.$dispatch('refresh')
|
|
142
142
|
})
|
|
143
143
|
}
|