apply-clients 3.4.76 → 3.4.78
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 +120 -119
- package/package.json +1 -1
- package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
- package/src/components/product/Process/Service/ServiceControl.vue +1928 -1928
- package/src/filiale/shexian/android/AppExplorationUser.vue +487 -487
- package/src/filiale/shexian/android/AppInstallationDetails.vue +494 -0
- package/src/filiale/shexian/android/AppServiceView.vue +745 -0
- package/src/filiale/shexian/android.js +10 -8
- package/src/filiale/shexian/pc/InstallationDetails.vue +614 -0
- package/src/filiale/shexian/pc.js +8 -7
- package/src/main.js +23 -23
- package/dist-android/static/0.68b45dd6665d95e65c33.js +0 -2
- package/dist-android/static/1.80d8977616c7c12b7af9.js +0 -1
- package/dist-android/static/10.f5b38719cf759cdaf30b.js +0 -2
- package/dist-android/static/11.da9d1dc6b3d3b0afdfb0.js +0 -2
- package/dist-android/static/12.0a445de8782b0c9e90bf.js +0 -1
- package/dist-android/static/13.922509a433e667a476e5.js +0 -1
- package/dist-android/static/14.db06181765d81baf5cbb.js +0 -1
- package/dist-android/static/15.0d662b8ce36cc983f55f.js +0 -1
- package/dist-android/static/16.02ffeb80c794d52cc05b.js +0 -1
- package/dist-android/static/17.9df21714d8510c924622.js +0 -1
- package/dist-android/static/18.23870c83910093244c4d.js +0 -1
- package/dist-android/static/19.05a7de4086cdeaf941a3.js +0 -1
- package/dist-android/static/2.a8212d24013b8aff0e90.js +0 -1
- package/dist-android/static/20.77ef8859683206c4053b.js +0 -1
- package/dist-android/static/21.7a2b8cbdd87e750bb68c.js +0 -1
- package/dist-android/static/22.fcb6d54375cc2aed8d8a.js +0 -1
- package/dist-android/static/23.2a43413ded0c53f046b0.js +0 -1
- package/dist-android/static/24.773855dfeab42a232778.js +0 -1
- package/dist-android/static/25.4144e5e465dfe1930e8a.js +0 -1
- package/dist-android/static/27.92303edf5e513839988d.js +0 -13
- package/dist-android/static/28.ec077b1393009a6ac91d.js +0 -3
- package/dist-android/static/29.6519a95fc0f8cf001aca.js +0 -3
- package/dist-android/static/3.d03c06455952af580398.js +0 -1
- package/dist-android/static/30.da90dfe911c6c930a460.js +0 -2
- package/dist-android/static/31.7510bed78757fe6f5429.js +0 -1
- package/dist-android/static/32.4fde305b2f004b2f8ae6.js +0 -1
- package/dist-android/static/33.b7c4eebaca777a1739cc.js +0 -2
- package/dist-android/static/34.b8fce20028dae1fe22c7.js +0 -1
- package/dist-android/static/35.bacc1f42bc3aaba3f6c1.js +0 -1
- package/dist-android/static/36.be29bd4ca2eee30d18d3.js +0 -1
- package/dist-android/static/37.b6b19986f63d12cb6583.js +0 -1
- package/dist-android/static/38.fce6d8c12747a01dd095.js +0 -1
- package/dist-android/static/39.a559012aafe7aff96d0d.js +0 -1
- package/dist-android/static/4.4aafc84956e965362a8c.js +0 -13
- package/dist-android/static/40.61ff080ce5dea5d201d5.js +0 -1
- package/dist-android/static/41.7029304a3d33521ca1c6.js +0 -1
- package/dist-android/static/42.de71132c19548f6f89a7.js +0 -1
- package/dist-android/static/43.4eca68b0f272638b9797.js +0 -1
- package/dist-android/static/44.321d337802ce2f113887.js +0 -1
- package/dist-android/static/45.f0b260e67c4cdb5845aa.js +0 -1
- package/dist-android/static/46.3d8bf661bd9d1167ddce.js +0 -1
- package/dist-android/static/47.d3039cbe7ef9270019b8.js +0 -1
- package/dist-android/static/48.612417d81cafc13f8142.js +0 -1
- package/dist-android/static/49.fba314518cbdab8a90e7.js +0 -1
- package/dist-android/static/5.0d01bce56926c132aa6b.js +0 -13
- package/dist-android/static/50.486e579f125840977f43.js +0 -1
- package/dist-android/static/51.8324ad7f396f978a05e8.js +0 -1
- package/dist-android/static/52.886647248ac26f5140db.js +0 -1
- package/dist-android/static/53.93a2ccb1a3130abfa79e.js +0 -1
- package/dist-android/static/54.0a74c8035e75eeb595c5.js +0 -1
- package/dist-android/static/55.9976fa21f7ddcfdfc4a0.js +0 -1
- package/dist-android/static/56.219c17b93279098dbddb.js +0 -1
- package/dist-android/static/57.8492d8c5c99205b55dc7.js +0 -1
- package/dist-android/static/58.312d1b2ee57d0d64b52f.js +0 -2
- package/dist-android/static/59.2d4f7176b27424e3009e.js +0 -1
- package/dist-android/static/6.bce74f8df7973b9c7451.js +0 -13
- package/dist-android/static/60.12567cf9aff324a95a7d.js +0 -1
- package/dist-android/static/61.66e9834fbb82ee452f8e.js +0 -2
- package/dist-android/static/62.328ba82e50967bd864f6.js +0 -1
- package/dist-android/static/63.19e45135d67e7e7026bd.js +0 -2
- package/dist-android/static/64.a43534ecf2a1a17a1314.js +0 -1
- package/dist-android/static/65.c51325b67a704bcf87d4.js +0 -1
- package/dist-android/static/66.6def8535daa57eac38fe.js +0 -1
- package/dist-android/static/67.1263ab1b5bf1005070a7.js +0 -1
- package/dist-android/static/68.bf2224572c3cd510c532.js +0 -1
- package/dist-android/static/69.d5b8358203dfa6e4cc62.js +0 -1
- package/dist-android/static/7.39164eae605d873940b6.js +0 -13
- package/dist-android/static/70.b129fa555a5a7daaf0a8.js +0 -1
- package/dist-android/static/71.503ac7365bb788a3c2ba.js +0 -1
- package/dist-android/static/72.f46bd9238f50d475747b.js +0 -1
- package/dist-android/static/73.d33ed35134b25f21bc08.js +0 -1
- package/dist-android/static/74.be31f1b4d678ba6e0387.js +0 -1
- package/dist-android/static/75.41da68b38db6400ed47f.js +0 -1
- package/dist-android/static/76.6323b38d846ed3faf8e3.js +0 -1
- package/dist-android/static/77.002152fa076232e2a7ef.js +0 -1
- package/dist-android/static/78.589f59b4c82a65920bce.js +0 -1
- package/dist-android/static/79.cd5521b0b7b86d567459.js +0 -1
- package/dist-android/static/8.667600d040abe33aa1d4.js +0 -13
- package/dist-android/static/80.f3549dbf5a1b23a294a1.js +0 -1
- package/dist-android/static/81.ca2ec2b72e1b4449853c.js +0 -1
- package/dist-android/static/82.2bdcb170eaa5bdee9aaf.js +0 -1
- package/dist-android/static/83.a168d74f18a60c9b2a67.js +0 -1
- package/dist-android/static/84.772e2e67ba55134fec9a.js +0 -1
- package/dist-android/static/85.8680fd727f1e68d8b5f1.js +0 -1
- package/dist-android/static/86.1532b3659b8c032df0a3.js +0 -1
- package/dist-android/static/87.3c45f14e992d0d0de21a.js +0 -1
- package/dist-android/static/88.34c3d55993269cb4bee7.js +0 -1
- package/dist-android/static/89.8c0cd296c36febba47d6.js +0 -1
- package/dist-android/static/9.7f2db78822a32aaa40cd.js +0 -13
- package/dist-android/static/90.6534c9442526cb9627b6.js +0 -1
- package/dist-android/static/91.67ac346acb5c96fc6c7e.js +0 -1
- package/dist-android/static/appf2f018d386daaf983c8f.js +0 -136
- package/dist-android/static/doc.jpg +0 -0
- package/dist-android/static/dwg.png +0 -0
- package/dist-android/static/images/lefticon/anjianjihua.png +0 -0
- package/dist-android/static/images/lefticon/danganguanli.png +0 -0
- package/dist-android/static/images/lefticon/shouqishoufei.png +0 -0
- package/dist-android/static/images/lefticon/wulianwang.png +0 -0
- package/dist-android/static/images/lefticon/xitongguanli.png +0 -0
- package/dist-android/static/images/lefticon/yingyechaxun.png +0 -0
- package/dist-android/static/images/lefticon/yuyinkefu.png +0 -0
- package/dist-android/static/images/lefticon/zongheyewu.png +0 -0
- package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticonNew//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticonNew//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist-android/static/images/lefticonNew//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/images/lefticonNew//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/images/lefticonNew//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/images/lefticonNew//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist-android/static/images/lefticonNew//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/images/lefticonNew//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/images/lefticonNew//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticonNew//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticonNew//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/images/lefticonNew//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist-android/static/images/lefticonNew//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/images/lefticonNew//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/images/lefticonNew//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/images/lefticonNew//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticonNew//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/images/lefticonNew//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/imgerror.jpg +0 -0
- package/dist-android/static/jsoneditor-icons.svg +0 -893
- package/dist-android/static/newStyle/clear.png +0 -0
- package/dist-android/static/newStyle/fife.png +0 -0
- package/dist-android/static/newStyle/hidden.png +0 -0
- package/dist-android/static/newStyle/label-clear.png +0 -0
- package/dist-android/static/newStyle/left-img.png +0 -0
- package/dist-android/static/newStyle/list_ok.png +0 -0
- package/dist-android/static/newStyle/login-check.png +0 -0
- package/dist-android/static/newStyle/login-con.png +0 -0
- package/dist-android/static/newStyle/login-do.gif +0 -0
- package/dist-android/static/newStyle/login-f.png +0 -0
- package/dist-android/static/newStyle/login-info.png +0 -0
- package/dist-android/static/newStyle/login-left.png +0 -0
- package/dist-android/static/newStyle/login-org.png +0 -0
- package/dist-android/static/newStyle/login-pwd.png +0 -0
- package/dist-android/static/newStyle/login-user.png +0 -0
- package/dist-android/static/newStyle/loginbg.gif +0 -0
- package/dist-android/static/newStyle/loginbg1280.gif +0 -0
- package/dist-android/static/newStyle/loginbg1366.gif +0 -0
- package/dist-android/static/newStyle/setting.png +0 -0
- package/dist-android/static/newStyle/setting1.png +0 -0
- package/dist-android/static/newStyle/shirk.png +0 -0
- package/dist-android/static/newStyle/stretch_bottom.png +0 -0
- package/dist-android/static/newStyle/stretch_left.png +0 -0
- package/dist-android/static/newStyle/stretch_right.png +0 -0
- package/dist-android/static/newStyle/stretch_top.png +0 -0
- package/dist-android/static/newStyle/system-off.png +0 -0
- package/dist-android/static/pdf.jpg +0 -0
- package/dist-android/static//344/270/213/350/275/275/350/256/241/345/210/222.png +0 -0
- package/dist-android/static//344/273/273/345/212/241/346/237/245/350/257/242.png +0 -0
- package/dist-android/static//344/277/241/346/201/257/345/205/254/345/221/212.png +0 -0
- package/dist-android/static//345/205/254/345/221/212/346/237/245/347/234/213.png +0 -0
- package/dist-android/static//345/206/214/345/206/205/351/241/272/345/272/217/344/277/256/346/224/271.png +0 -0
- package/dist-android/static//345/215/241/350/241/250/345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//345/220/210/345/220/214/347/255/276/350/256/242.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/345/256/211/346/243/200.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/345/267/241/346/243/200.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/242/344/277/256.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/245/350/243/205.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/223/215/344/275/234.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/347/273/264/344/277/256.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/347/274/264/350/264/271.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/351/200/232/346/260/224.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/346/212/275/345/215/225.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/347/273/264/344/277/256/346/226/275/345/267/245.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//345/256/236/345/220/215/350/256/244/350/257/201.png +0 -0
- package/dist-android/static//345/256/242/346/234/215/347/256/241/347/220/206.png +0 -0
- package/dist-android/static//345/267/241/346/243/200/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//345/267/241/346/243/200/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/267/245/347/250/213/346/212/245/344/273/267.png +0 -0
- package/dist-android/static//345/267/245/347/250/213/346/226/275/345/267/245.png +0 -0
- package/dist-android/static//345/267/245/347/250/213/346/264/276/345/267/245.png +0 -0
- package/dist-android/static//345/267/245/347/250/213/351/230/237/346/264/276/345/267/245.png +0 -0
- package/dist-android/static//345/274/200/345/205/263/351/230/200.png +0 -0
- package/dist-android/static//345/275/242/347/212/2664.png +0 -0
- package/dist-android/static//346/211/271/351/207/217/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/350/256/260/345/275/225.png +0 -0
- package/dist-android/static//346/212/245/345/273/272/346/234/215/345/212/241.png +0 -0
- package/dist-android/static//346/224/266/350/264/271/346/261/207/346/200/273/350/241/250.png +0 -0
- package/dist-android/static//346/224/266/350/264/271/350/256/260/345/275/225.png +0 -0
- package/dist-android/static//346/226/275/345/267/245/344/277/241/346/201/257.png +0 -0
- package/dist-android/static//346/227/245/346/212/245/346/237/245/350/257/242.png +0 -0
- package/dist-android/static//346/241/243/346/241/210/344/277/256/346/224/271.png +0 -0
- package/dist-android/static//346/265/201/347/250/213/344/270/232/345/212/241.png +0 -0
- package/dist-android/static//346/265/201/347/250/213/347/233/221/346/216/247.png +0 -0
- package/dist-android/static//347/216/260/345/234/272/345/213/230/345/257/237.png +0 -0
- package/dist-android/static//347/233/221/347/220/206/345/215/225/344/275/215/346/264/276/345/267/245.png +0 -0
- package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//347/273/237/350/256/241/346/212/245/350/241/250.png +0 -0
- package/dist-android/static//347/273/264/344/277/256/346/264/276/345/215/225.png +0 -0
- package/dist-android/static//350/220/245/344/270/232/345/233/276/350/241/250.png +0 -0
- package/dist-android/static//350/241/250/345/206/214/351/241/272/345/272/217.png +0 -0
- package/dist-android/static//350/260/203/344/273/267/350/241/245/345/267/256/347/274/264/350/264/271.png +0 -0
- package/dist-android/static//350/277/233/345/272/246/345/210/227/350/241/250.png +0 -0
- package/dist-android/static//351/200/200/345/207/272/347/231/273/345/275/225.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//351/200/232/346/260/224/347/202/271/347/201/253.png +0 -0
- package/dist-android/static//351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
- package/dist-android/static//351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
- package/dist-android/static//351/253/230/345/257/206/345/205/254/345/221/212.png +0 -0
package/build/dev-server.js
CHANGED
|
@@ -1,119 +1,120 @@
|
|
|
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
|
-
var app = express()
|
|
7
|
-
var compiler = webpack(config)
|
|
8
|
-
// var proxy = httpProxy.createProxyServer()
|
|
9
|
-
// var ldap = 'http://121.36.79.201:8400'
|
|
10
|
-
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
-
var ldap = 'http://
|
|
12
|
-
var applyinstall = 'http://
|
|
13
|
-
|
|
14
|
-
var proxyTable = {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
})
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
//
|
|
95
|
-
// res.header('Access-Control-Allow-
|
|
96
|
-
// res.header('Access-Control-Allow-
|
|
97
|
-
// res.header('
|
|
98
|
-
// res.header('
|
|
99
|
-
// res.header('
|
|
100
|
-
//
|
|
101
|
-
//
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
//
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
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
|
+
var app = express()
|
|
7
|
+
var compiler = webpack(config)
|
|
8
|
+
// var proxy = httpProxy.createProxyServer()
|
|
9
|
+
// var ldap = 'http://121.36.79.201:8400'
|
|
10
|
+
// var applyinstall = 'http://121.36.79.201:8400'
|
|
11
|
+
var ldap = 'http://221.193.244.147:8400'
|
|
12
|
+
var applyinstall = 'http://221.193.244.147:8400'
|
|
13
|
+
|
|
14
|
+
var proxyTable = {
|
|
15
|
+
|
|
16
|
+
'/rs/logic/getSaleInitData': {
|
|
17
|
+
target: ldap
|
|
18
|
+
},
|
|
19
|
+
'/rs/workflow': {
|
|
20
|
+
target: applyinstall
|
|
21
|
+
},
|
|
22
|
+
'/rs/vue': {
|
|
23
|
+
target: ldap
|
|
24
|
+
},
|
|
25
|
+
// 查找资源服务数据
|
|
26
|
+
'/rs/search': {
|
|
27
|
+
target: ldap
|
|
28
|
+
},
|
|
29
|
+
// 街道查询
|
|
30
|
+
'/rs/sql/address_getstreetlist': {
|
|
31
|
+
target: ldap
|
|
32
|
+
},
|
|
33
|
+
// 创建街道
|
|
34
|
+
'/rs/logic/address_updatestreet': {
|
|
35
|
+
target: ldap
|
|
36
|
+
},
|
|
37
|
+
// 创建小区
|
|
38
|
+
'/rs/logic/address_updatearea': {
|
|
39
|
+
target: ldap
|
|
40
|
+
},
|
|
41
|
+
// 用户登录服务地址
|
|
42
|
+
'/rs/user': {
|
|
43
|
+
target: ldap
|
|
44
|
+
},
|
|
45
|
+
'/rs/logic/getInitData': {
|
|
46
|
+
target: ldap?ldap:applyinstall
|
|
47
|
+
},
|
|
48
|
+
'/rs/logic/getLogin': {
|
|
49
|
+
target: ldap
|
|
50
|
+
},
|
|
51
|
+
'/rs/file': { // 文件上传
|
|
52
|
+
target: applyinstall
|
|
53
|
+
},
|
|
54
|
+
'/project': { // 文件回显
|
|
55
|
+
target: applyinstall
|
|
56
|
+
},
|
|
57
|
+
'/rs': {
|
|
58
|
+
target: applyinstall
|
|
59
|
+
},
|
|
60
|
+
'/ws': {
|
|
61
|
+
target: applyinstall,
|
|
62
|
+
ws: true // 代理webSocket
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
var devMiddleware = require('webpack-dev-middleware')(compiler, {
|
|
67
|
+
publicPath: config.output.publicPath,
|
|
68
|
+
stats: {
|
|
69
|
+
colors: true,
|
|
70
|
+
chunks: false
|
|
71
|
+
}
|
|
72
|
+
})
|
|
73
|
+
|
|
74
|
+
var hotMiddleware = require('webpack-hot-middleware')(compiler)
|
|
75
|
+
// force page reload when html-webpack-plugin template changes
|
|
76
|
+
compiler.plugin('compilation', function (compilation) {
|
|
77
|
+
compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
|
|
78
|
+
hotMiddleware.publish({action: 'reload'})
|
|
79
|
+
cb()
|
|
80
|
+
})
|
|
81
|
+
})
|
|
82
|
+
|
|
83
|
+
// proxy api requests
|
|
84
|
+
Object.keys(proxyTable).forEach(function (context) {
|
|
85
|
+
var options = proxyTable[context]
|
|
86
|
+
if (typeof options === 'string') {
|
|
87
|
+
options = {target: options}
|
|
88
|
+
}
|
|
89
|
+
app.use(proxyMiddleware(context, options))
|
|
90
|
+
})
|
|
91
|
+
|
|
92
|
+
// handle fallback for HTML5 history API
|
|
93
|
+
app.use(require('connect-history-api-fallback')())
|
|
94
|
+
// app.use(function (req, res, next) {
|
|
95
|
+
// res.header('Access-Control-Allow-Origin', '*')
|
|
96
|
+
// res.header('Access-Control-Allow-Headers', 'X-Requested-With')
|
|
97
|
+
// res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
|
|
98
|
+
// res.header('X-Powered-By', '3,2,1')
|
|
99
|
+
// res.header('Access-Control-Allow-Credentials', 'true')
|
|
100
|
+
// res.header('Content-Type', 'application/json;charset=utf-8')
|
|
101
|
+
// next()
|
|
102
|
+
// })
|
|
103
|
+
|
|
104
|
+
// serve webpack bundle output
|
|
105
|
+
app.use(devMiddleware)
|
|
106
|
+
|
|
107
|
+
// enable hot-reload and state-preserving
|
|
108
|
+
// compilation error display
|
|
109
|
+
app.use(hotMiddleware)
|
|
110
|
+
|
|
111
|
+
// serve pure static assets
|
|
112
|
+
app.use('/static', express.static('./static'))
|
|
113
|
+
|
|
114
|
+
module.exports = app.listen(8300, function (err) {
|
|
115
|
+
if (err) {
|
|
116
|
+
console.log(err)
|
|
117
|
+
return
|
|
118
|
+
}
|
|
119
|
+
console.log('Listening at http://localhost:8300')
|
|
120
|
+
})
|