apply-clients 7.1.36 → 7.1.37
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/android.html +0 -4
- package/dist-android/index.html +3 -0
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/0.50054aa998577d450157.js +2 -0
- package/dist-android/static/0.js +2 -0
- package/dist-android/static/0.js.map +1 -0
- package/dist-android/static/1.0b685d8dcbf4f3a8a5b2.js +1 -0
- package/dist-android/static/1.js +2 -0
- package/dist-android/static/1.js.map +1 -0
- package/dist-android/static/10.2a698c421c0ff5f57336.js +2 -0
- package/dist-android/static/10.js +2 -0
- package/dist-android/static/10.js.map +1 -0
- package/dist-android/static/100.js +2 -0
- package/dist-android/static/100.js.map +1 -0
- package/dist-android/static/11.75a39568e320abbddcc2.js +2 -0
- package/dist-android/static/11.js +2 -0
- package/dist-android/static/11.js.map +1 -0
- package/dist-android/static/12.4ac0c584da492acc599d.js +1 -0
- package/dist-android/static/12.js +2 -0
- package/dist-android/static/12.js.map +1 -0
- package/dist-android/static/13.5471bac3b39798923a79.js +1 -0
- package/dist-android/static/13.js +2 -0
- package/dist-android/static/13.js.map +1 -0
- package/dist-android/static/14.ee274728fdeb5107c357.js +1 -0
- package/dist-android/static/14.js +2 -0
- package/dist-android/static/14.js.map +1 -0
- package/dist-android/static/15.a1dc233c1804ede2ba87.js +1 -0
- package/dist-android/static/15.js +2 -0
- package/dist-android/static/15.js.map +1 -0
- package/dist-android/static/16.5081ea8a90d0dacbc748.js +1 -0
- package/dist-android/static/16.js +2 -0
- package/dist-android/static/16.js.map +1 -0
- package/dist-android/static/17.5b5184c9a9337a88d4f9.js +1 -0
- package/dist-android/static/17.js +2 -0
- package/dist-android/static/17.js.map +1 -0
- package/dist-android/static/18.0c99e5cb0de0f76008f6.js +1 -0
- package/dist-android/static/18.js +2 -0
- package/dist-android/static/18.js.map +1 -0
- package/dist-android/static/19.b50c8bf85b8e7fb27e2a.js +1 -0
- package/dist-android/static/19.js +2 -0
- package/dist-android/static/19.js.map +1 -0
- package/dist-android/static/2.16718caad0da13b463a3.js +1 -0
- package/dist-android/static/2.js +2 -0
- package/dist-android/static/2.js.map +1 -0
- package/dist-android/static/20.8f6767f58df1fde18784.js +1 -0
- package/dist-android/static/20.js +2 -0
- package/dist-android/static/20.js.map +1 -0
- package/dist-android/static/21.026f5cbfd90d70d8dd3a.js +1 -0
- package/dist-android/static/21.js +2 -0
- package/dist-android/static/21.js.map +1 -0
- package/dist-android/static/22.4631f8885615e9b6ad6e.js +1 -0
- package/dist-android/static/22.js +2 -0
- package/dist-android/static/22.js.map +1 -0
- package/dist-android/static/23.437b569f91863452daeb.js +1 -0
- package/dist-android/static/23.js +2 -0
- package/dist-android/static/23.js.map +1 -0
- package/dist-android/static/24.f1310985a29496bc5fd8.js +1 -0
- package/dist-android/static/24.js +2 -0
- package/dist-android/static/24.js.map +1 -0
- package/dist-android/static/25.b6dcf8c6d26f44035506.js +1 -0
- package/dist-android/static/25.js +2 -0
- package/dist-android/static/25.js.map +1 -0
- package/dist-android/static/26.js +2 -0
- package/dist-android/static/26.js.map +1 -0
- package/dist-android/static/27.2185c9e2e7116302e1e1.js +13 -0
- package/dist-android/static/27.js +2 -0
- package/dist-android/static/27.js.map +1 -0
- package/dist-android/static/28.b429eaf351968226c395.js +3 -0
- package/dist-android/static/28.js +2 -0
- package/dist-android/static/28.js.map +1 -0
- package/dist-android/static/29.aed6b18ccda9ca3748ce.js +3 -0
- package/dist-android/static/29.js +2 -0
- package/dist-android/static/29.js.map +1 -0
- package/dist-android/static/3.761de5413a2ed045ab10.js +1 -0
- package/dist-android/static/3.js +2 -0
- package/dist-android/static/3.js.map +1 -0
- package/dist-android/static/30.567f5fbffc0601227294.js +2 -0
- package/dist-android/static/30.js +2 -0
- package/dist-android/static/30.js.map +1 -0
- package/dist-android/static/31.179f87c71c11fd562feb.js +1 -0
- package/dist-android/static/31.js +2 -0
- package/dist-android/static/31.js.map +1 -0
- package/dist-android/static/32.8d45d3f6c5e874582cff.js +1 -0
- package/dist-android/static/32.js +2 -0
- package/dist-android/static/32.js.map +1 -0
- package/dist-android/static/33.32fd8d2f4e6e7b065a5c.js +1 -0
- package/dist-android/static/33.js +2 -0
- package/dist-android/static/33.js.map +1 -0
- package/dist-android/static/34.df47f9984baec20bdf5b.js +1 -0
- package/dist-android/static/34.js +2 -0
- package/dist-android/static/34.js.map +1 -0
- package/dist-android/static/35.5883200f073b546cb1a3.js +1 -0
- package/dist-android/static/35.js +2 -0
- package/dist-android/static/35.js.map +1 -0
- package/dist-android/static/36.477f89087e507526163f.js +1 -0
- package/dist-android/static/36.js +2 -0
- package/dist-android/static/36.js.map +1 -0
- package/dist-android/static/37.b82438692bca848519f6.js +1 -0
- package/dist-android/static/37.js +2 -0
- package/dist-android/static/37.js.map +1 -0
- package/dist-android/static/38.83c950bebdb997be2ef8.js +1 -0
- package/dist-android/static/38.js +2 -0
- package/dist-android/static/38.js.map +1 -0
- package/dist-android/static/39.333e42c6dbabf1bf2706.js +1 -0
- package/dist-android/static/39.js +2 -0
- package/dist-android/static/39.js.map +1 -0
- package/dist-android/static/4.eb190515d001a4e1bebd.js +13 -0
- package/dist-android/static/4.js +2 -0
- package/dist-android/static/4.js.map +1 -0
- package/dist-android/static/40.f6807724af2482375d7c.js +1 -0
- package/dist-android/static/40.js +2 -0
- package/dist-android/static/40.js.map +1 -0
- package/dist-android/static/41.92f39c44002772179f48.js +1 -0
- package/dist-android/static/41.js +2 -0
- package/dist-android/static/41.js.map +1 -0
- package/dist-android/static/42.662a0643f36dc759abc0.js +1 -0
- package/dist-android/static/42.js +2 -0
- package/dist-android/static/42.js.map +1 -0
- package/dist-android/static/43.5b55816aa2ca7b510d72.js +1 -0
- package/dist-android/static/43.js +2 -0
- package/dist-android/static/43.js.map +1 -0
- package/dist-android/static/44.4a6af5dd359e3973dea4.js +1 -0
- package/dist-android/static/44.js +2 -0
- package/dist-android/static/44.js.map +1 -0
- package/dist-android/static/45.d5992c604ad9eb4f40d2.js +1 -0
- package/dist-android/static/45.js +2 -0
- package/dist-android/static/45.js.map +1 -0
- package/dist-android/static/46.aa87912e9361ab053234.js +1 -0
- package/dist-android/static/46.js +2 -0
- package/dist-android/static/46.js.map +1 -0
- package/dist-android/static/47.b9efca55c1ea582c59e7.js +2 -0
- package/dist-android/static/47.js +2 -0
- package/dist-android/static/47.js.map +1 -0
- package/dist-android/static/48.8902ce91c715d61c63ef.js +1 -0
- package/dist-android/static/48.js +2 -0
- package/dist-android/static/48.js.map +1 -0
- package/dist-android/static/49.dd2591b071fe1901d2f2.js +2 -0
- package/dist-android/static/49.js +2 -0
- package/dist-android/static/49.js.map +1 -0
- package/dist-android/static/5.304b463f21c8253aa514.js +13 -0
- package/dist-android/static/5.js +2 -0
- package/dist-android/static/5.js.map +1 -0
- package/dist-android/static/50.e49f64d967a7f7350105.js +1 -0
- package/dist-android/static/50.js +2 -0
- package/dist-android/static/50.js.map +1 -0
- package/dist-android/static/51.0d311b6815373c5a3b1b.js +1 -0
- package/dist-android/static/51.js +2 -0
- package/dist-android/static/51.js.map +1 -0
- package/dist-android/static/52.344f9d59bb5cb156380d.js +1 -0
- package/dist-android/static/52.js +2 -0
- package/dist-android/static/52.js.map +1 -0
- package/dist-android/static/53.289984b9a04a7d11ffef.js +1 -0
- package/dist-android/static/53.js +2 -0
- package/dist-android/static/53.js.map +1 -0
- package/dist-android/static/54.5808cc57ddb689577efe.js +1 -0
- package/dist-android/static/54.js +2 -0
- package/dist-android/static/54.js.map +1 -0
- package/dist-android/static/55.9874aac28d0d80b55860.js +1 -0
- package/dist-android/static/55.js +2 -0
- package/dist-android/static/55.js.map +1 -0
- package/dist-android/static/56.babac04ffcc93c5573ed.js +1 -0
- package/dist-android/static/56.js +2 -0
- package/dist-android/static/56.js.map +1 -0
- package/dist-android/static/57.ca9993d9b0137ec93a81.js +1 -0
- package/dist-android/static/57.js +2 -0
- package/dist-android/static/57.js.map +1 -0
- package/dist-android/static/58.be8a5ac661eb638aff79.js +1 -0
- package/dist-android/static/58.js +2 -0
- package/dist-android/static/58.js.map +1 -0
- package/dist-android/static/59.2d0116e8a66e13cbabe2.js +1 -0
- package/dist-android/static/59.js +2 -0
- package/dist-android/static/59.js.map +1 -0
- package/dist-android/static/6.3f10426d99466042d079.js +13 -0
- package/dist-android/static/6.js +2 -0
- package/dist-android/static/6.js.map +1 -0
- package/dist-android/static/60.e60b562292633421a3d7.js +1 -0
- package/dist-android/static/60.js +2 -0
- package/dist-android/static/60.js.map +1 -0
- package/dist-android/static/61.492b25e8e1b66366329b.js +1 -0
- package/dist-android/static/61.js +2 -0
- package/dist-android/static/61.js.map +1 -0
- package/dist-android/static/62.24924f3f6fd5f97975d1.js +1 -0
- package/dist-android/static/62.js +2 -0
- package/dist-android/static/62.js.map +1 -0
- package/dist-android/static/63.7628250218be54b5c52f.js +1 -0
- package/dist-android/static/63.js +2 -0
- package/dist-android/static/63.js.map +1 -0
- package/dist-android/static/64.0c2d7593ebede3d30dc8.js +1 -0
- package/dist-android/static/64.js +2 -0
- package/dist-android/static/64.js.map +1 -0
- package/dist-android/static/65.220dfd6b1dd8e75c9d08.js +1 -0
- package/dist-android/static/65.js +2 -0
- package/dist-android/static/65.js.map +1 -0
- package/dist-android/static/66.da91b8ed2181ced4a4de.js +1 -0
- package/dist-android/static/66.js +2 -0
- package/dist-android/static/66.js.map +1 -0
- package/dist-android/static/67.75a3f13bea3c0ac4bbbe.js +1 -0
- package/dist-android/static/67.js +2 -0
- package/dist-android/static/67.js.map +1 -0
- package/dist-android/static/68.37aa2fd75666d1461dac.js +1 -0
- package/dist-android/static/68.js +2 -0
- package/dist-android/static/68.js.map +1 -0
- package/dist-android/static/69.e6a3e52929239e08b8d3.js +1 -0
- package/dist-android/static/69.js +2 -0
- package/dist-android/static/69.js.map +1 -0
- package/dist-android/static/7.57945431c1f505e425c1.js +13 -0
- package/dist-android/static/7.js +6 -0
- package/dist-android/static/7.js.map +1 -0
- package/dist-android/static/70.945cf028761bd66a2302.js +1 -0
- package/dist-android/static/70.js +2 -0
- package/dist-android/static/70.js.map +1 -0
- package/dist-android/static/71.0ae45dcfc105541b051d.js +1 -0
- package/dist-android/static/71.js +2 -0
- package/dist-android/static/71.js.map +1 -0
- package/dist-android/static/72.d89a35482e9c434d0bd0.js +1 -0
- package/dist-android/static/72.js +2 -0
- package/dist-android/static/72.js.map +1 -0
- package/dist-android/static/73.js +2 -0
- package/dist-android/static/73.js.map +1 -0
- package/dist-android/static/74.js +2 -0
- package/dist-android/static/74.js.map +1 -0
- package/dist-android/static/75.js +2 -0
- package/dist-android/static/75.js.map +1 -0
- package/dist-android/static/76.js +2 -0
- package/dist-android/static/76.js.map +1 -0
- package/dist-android/static/77.js +2 -0
- package/dist-android/static/77.js.map +1 -0
- package/dist-android/static/78.js +2 -0
- package/dist-android/static/78.js.map +1 -0
- package/dist-android/static/79.js +2 -0
- package/dist-android/static/79.js.map +1 -0
- package/dist-android/static/8.830a99f33590aeb637a3.js +13 -0
- package/dist-android/static/8.js +2 -0
- package/dist-android/static/8.js.map +1 -0
- package/dist-android/static/80.js +2 -0
- package/dist-android/static/80.js.map +1 -0
- package/dist-android/static/81.js +2 -0
- package/dist-android/static/81.js.map +1 -0
- package/dist-android/static/82.js +2 -0
- package/dist-android/static/82.js.map +1 -0
- package/dist-android/static/83.js +2 -0
- package/dist-android/static/83.js.map +1 -0
- package/dist-android/static/84.js +2 -0
- package/dist-android/static/84.js.map +1 -0
- package/dist-android/static/85.js +2 -0
- package/dist-android/static/85.js.map +1 -0
- package/dist-android/static/86.js +2 -0
- package/dist-android/static/86.js.map +1 -0
- package/dist-android/static/87.js +2 -0
- package/dist-android/static/87.js.map +1 -0
- package/dist-android/static/88.js +2 -0
- package/dist-android/static/88.js.map +1 -0
- package/dist-android/static/89.js +2 -0
- package/dist-android/static/89.js.map +1 -0
- package/dist-android/static/9.2432be88a7316649f45b.js +12 -0
- package/dist-android/static/9.js +3 -0
- package/dist-android/static/9.js.map +1 -0
- package/dist-android/static/90.js +2 -0
- package/dist-android/static/90.js.map +1 -0
- package/dist-android/static/91.js +2 -0
- package/dist-android/static/91.js.map +1 -0
- package/dist-android/static/92.js +2 -0
- package/dist-android/static/92.js.map +1 -0
- package/dist-android/static/93.js +2 -0
- package/dist-android/static/93.js.map +1 -0
- package/dist-android/static/94.js +2 -0
- package/dist-android/static/94.js.map +1 -0
- package/dist-android/static/95.js +2 -0
- package/dist-android/static/95.js.map +1 -0
- package/dist-android/static/96.js +2 -0
- package/dist-android/static/96.js.map +1 -0
- package/dist-android/static/97.js +2 -0
- package/dist-android/static/97.js.map +1 -0
- package/dist-android/static/98.js +2 -0
- package/dist-android/static/98.js.map +1 -0
- package/dist-android/static/99.js +2 -0
- package/dist-android/static/99.js.map +1 -0
- package/dist-android/static/app.css +2 -0
- package/dist-android/static/app.css.map +1 -0
- package/dist-android/static/app.js +80 -0
- package/dist-android/static/app.js.map +1 -0
- package/dist-android/static/appca71cf7af0c441a6b6ff.js +135 -0
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/config.json +7 -0
- package/dist-android/static/denglu.png +0 -0
- package/dist-android/static/doc.jpg +0 -0
- package/{src/android-bootstrap/fonts → dist-android/static}/glyphicons-halflings-regular.eot +0 -0
- package/{src/android-bootstrap/fonts → dist-android/static}/glyphicons-halflings-regular.svg +0 -0
- package/{src/android-bootstrap/fonts → dist-android/static}/glyphicons-halflings-regular.ttf +0 -0
- package/{src/android-bootstrap/fonts → dist-android/static}/glyphicons-halflings-regular.woff +0 -0
- package/{src/android-bootstrap/fonts → dist-android/static}/glyphicons-halflings-regular.woff2 +0 -0
- package/dist-android/static/huangtengbiaozhi.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/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.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/346/237/245/347/234/213.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//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.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/imgerror.jpg +0 -0
- package/dist-android/static/jingyin.jpg +0 -0
- package/dist-android/static/jsoneditor-icons.svg +893 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- 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/newmainbg.jpg +0 -0
- package/dist-android/static/pdf.jpg +0 -0
- package/dist-android/static/psicon.png +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/workflow_apply.json +766 -0
- package/dist-android/static/xinxi.png +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//344/277/256/346/224/271/345/257/206/347/240/201.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/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/257/274/350/210/252/347/253/226/345/261/2173.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/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/257/274/345/207/272/346/225/260/346/215/256.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/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/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//346/270/205/347/251/272/346/225/260/346/215/256.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/217/221.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/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/index.html +1 -4
- package/package.json +7 -11
- package/src/AndroidApp.vue +14 -21
- package/src/App.vue +20 -18
- package/src/android.js +4 -7
- package/src/apply.js +69 -85
- package/src/applyAndroid.js +39 -52
- package/src/components/app_apply/Acceptance.vue +298 -0
- package/src/components/app_apply/ApplyApp.vue +91 -0
- package/src/components/app_apply/ApplyDownList.vue +166 -0
- package/src/components/app_apply/ApplyInfo.vue +56 -0
- package/src/components/app_apply/ApplyListUpload.vue +258 -0
- package/src/components/app_apply/ApplyToDoList.vue +165 -0
- package/src/components/app_apply/ApplyUserInfo.vue +56 -0
- package/src/components/app_apply/FieldExploration.vue +267 -0
- package/src/components/app_apply/PlaceControler.vue +258 -0
- package/src/components/app_apply/ServiceControl.vue +267 -0
- package/src/components/app_apply/ServiceView.vue +355 -0
- package/src/components/app_apply/ToolsPage.vue +51 -0
- package/src/components/app_apply/Ventilation.vue +199 -0
- package/src/components/image/TXT.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +62 -141
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +107 -0
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +2 -2
- package/src/components/product/Function/InstallFunction.vue +147 -131
- package/src/components/product/Function/InstallInfoSelect.vue +105 -118
- package/src/components/product/Function/Service/FunctionServiceControl.vue +148 -323
- package/src/components/product/Function/StopApplyCrrdList.vue +176 -0
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +102 -0
- package/src/components/product/Function/functions/StopInstall.vue +106 -0
- package/src/components/product/Process/ExplorationSelect.vue +347 -374
- package/src/components/product/Process/ExplorationUser.vue +135 -151
- package/src/components/product/Process/Processes/InstallationDetails.vue +311 -614
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +113 -59
- package/src/components/product/Process/Processes/chargeManagement.vue +562 -546
- package/src/components/product/Process/Processes/printCharge.vue +126 -0
- package/src/components/product/Process/Processes/supplementalAgreement.vue +181 -182
- package/src/components/product/Process/Service/ServiceControl.vue +639 -1308
- package/src/components/product/Process/ShowBackReason.vue +32 -0
- package/src/components/product/ReportForm/GasIgnitionSummary.vue +352 -0
- package/src/components/product/ServiceView.vue +680 -557
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +199 -231
- package/src/components/product/Supervisory/SupervisoryControl.vue +121 -110
- package/src/components/product/Supervisory/SupervisoryList.vue +208 -258
- package/src/components/product/Supervisory/SupervisoryhCart.vue +36 -52
- package/src/components/product/VueUtils/ApplyUpload.vue +55 -68
- package/src/components/product/VueUtils/ToolsPage.vue +51 -0
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/main.js +23 -27
- package/build/css-loaders.js +0 -34
- package/build/dev-client.js +0 -8
- package/build/dev-server.js +0 -151
- package/build/example-server.js +0 -80
- package/build/release.sh +0 -28
- package/build/utils.js +0 -80
- package/build/webpack.base.conf.js +0 -123
- package/build/webpack.baseandroid.conf.js +0 -123
- package/build/webpack.dev.conf.js +0 -43
- package/build/webpack.devandroid.conf.js +0 -34
- package/build/webpack.example.conf.js +0 -49
- package/build/webpack.prod.conf.js +0 -60
- package/build/webpack.prodandroid.conf.js +0 -60
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/src/android-bootstrap/less/.csscomb.json +0 -304
- package/src/android-bootstrap/less/.csslintrc +0 -19
- package/src/android-bootstrap/less/alerts.less +0 -73
- package/src/android-bootstrap/less/badges.less +0 -66
- package/src/android-bootstrap/less/bootstrap.less +0 -56
- package/src/android-bootstrap/less/breadcrumbs.less +0 -26
- package/src/android-bootstrap/less/button-groups.less +0 -247
- package/src/android-bootstrap/less/buttons.less +0 -173
- package/src/android-bootstrap/less/carousel.less +0 -269
- package/src/android-bootstrap/less/close.less +0 -34
- package/src/android-bootstrap/less/code.less +0 -69
- package/src/android-bootstrap/less/component-animations.less +0 -33
- package/src/android-bootstrap/less/dropdowns.less +0 -216
- package/src/android-bootstrap/less/forms.less +0 -626
- package/src/android-bootstrap/less/glyphicons.less +0 -305
- package/src/android-bootstrap/less/grid.less +0 -84
- package/src/android-bootstrap/less/input-groups.less +0 -167
- package/src/android-bootstrap/less/jumbotron.less +0 -52
- package/src/android-bootstrap/less/labels.less +0 -64
- package/src/android-bootstrap/less/list-group.less +0 -141
- package/src/android-bootstrap/less/media.less +0 -66
- package/src/android-bootstrap/less/mixins/alerts.less +0 -14
- package/src/android-bootstrap/less/mixins/background-variant.less +0 -9
- package/src/android-bootstrap/less/mixins/border-radius.less +0 -18
- package/src/android-bootstrap/less/mixins/buttons.less +0 -69
- package/src/android-bootstrap/less/mixins/center-block.less +0 -7
- package/src/android-bootstrap/less/mixins/clearfix.less +0 -22
- package/src/android-bootstrap/less/mixins/forms.less +0 -90
- package/src/android-bootstrap/less/mixins/gradients.less +0 -59
- package/src/android-bootstrap/less/mixins/grid-framework.less +0 -92
- package/src/android-bootstrap/less/mixins/grid.less +0 -122
- package/src/android-bootstrap/less/mixins/hide-text.less +0 -21
- package/src/android-bootstrap/less/mixins/image.less +0 -33
- package/src/android-bootstrap/less/mixins/labels.less +0 -12
- package/src/android-bootstrap/less/mixins/list-group.less +0 -30
- package/src/android-bootstrap/less/mixins/nav-divider.less +0 -10
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +0 -9
- package/src/android-bootstrap/less/mixins/opacity.less +0 -8
- package/src/android-bootstrap/less/mixins/pagination.less +0 -24
- package/src/android-bootstrap/less/mixins/panels.less +0 -24
- package/src/android-bootstrap/less/mixins/progress-bar.less +0 -10
- package/src/android-bootstrap/less/mixins/reset-filter.less +0 -8
- package/src/android-bootstrap/less/mixins/reset-text.less +0 -18
- package/src/android-bootstrap/less/mixins/resize.less +0 -6
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +0 -15
- package/src/android-bootstrap/less/mixins/size.less +0 -10
- package/src/android-bootstrap/less/mixins/tab-focus.less +0 -9
- package/src/android-bootstrap/less/mixins/table-row.less +0 -44
- package/src/android-bootstrap/less/mixins/text-emphasis.less +0 -9
- package/src/android-bootstrap/less/mixins/text-overflow.less +0 -8
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +0 -227
- package/src/android-bootstrap/less/mixins.less +0 -40
- package/src/android-bootstrap/less/modals.less +0 -151
- package/src/android-bootstrap/less/navbar.less +0 -660
- package/src/android-bootstrap/less/navs.less +0 -302
- package/src/android-bootstrap/less/normalize.less +0 -424
- package/src/android-bootstrap/less/pager.less +0 -76
- package/src/android-bootstrap/less/pagination.less +0 -89
- package/src/android-bootstrap/less/panels.less +0 -274
- package/src/android-bootstrap/less/popovers.less +0 -131
- package/src/android-bootstrap/less/print.less +0 -101
- package/src/android-bootstrap/less/progress-bars.less +0 -87
- package/src/android-bootstrap/less/responsive-embed.less +0 -35
- package/src/android-bootstrap/less/responsive-utilities.less +0 -194
- package/src/android-bootstrap/less/scaffolding.less +0 -161
- package/src/android-bootstrap/less/tables.less +0 -262
- package/src/android-bootstrap/less/theme.less +0 -291
- package/src/android-bootstrap/less/thumbnails.less +0 -36
- package/src/android-bootstrap/less/tooltip.less +0 -102
- package/src/android-bootstrap/less/type.less +0 -303
- package/src/android-bootstrap/less/utilities.less +0 -55
- package/src/android-bootstrap/less/variables.less +0 -896
- package/src/android-bootstrap/less/wells.less +0 -29
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/components/android/AppOnetomany.vue +0 -301
- package/src/components/android/AppServiceView.vue +0 -568
- package/src/components/android/AppSign.vue +0 -169
- package/src/components/android/AppTakePic.vue +0 -142
- package/src/components/android/AppUpload.vue +0 -232
- package/src/components/android/Ignition/VentilationIgnition.vue +0 -328
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +0 -330
- package/src/components/android/Process/AppExplorationUser.vue +0 -352
- package/src/components/android/Process/AppServiceControl.vue +0 -1050
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +0 -336
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +0 -770
- package/src/components/android/Process/Processes/SurveyUserSign.vue +0 -56
- package/src/components/android/Sign/AppSignTask.vue +0 -182
- package/src/components/android/Sign/SignProcess.vue +0 -102
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +0 -183
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +0 -121
- package/src/components/android/Task/Build/BuildTsak.vue +0 -114
- package/src/components/android/Task/Survey/SurveyTsak.vue +0 -112
- package/src/components/android/TaskGraph.vue +0 -130
- package/src/components/android/newPackage/customerServiceManager.vue +0 -218
- package/src/components/android/newPackage/designDrawings.vue +0 -94
- package/src/components/android/newPackage/detailedData.vue +0 -24
- package/src/components/android/newPackage/projectPrice.vue +0 -218
- package/src/components/product/Ignition/IgnitionDispatch.vue +0 -277
- package/src/components/product/Ignition/IgnitionRecord.vue +0 -216
- package/src/components/product/Onetomany.vue +0 -377
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +0 -229
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +0 -265
- package/src/components/product/Process/Processes/ApplyMapCom.vue +0 -83
- package/src/components/product/Process/Processes/ExhibitionPicture.vue +0 -27
- package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
- package/src/components/product/Process/Processes/Print/printCharge.vue +0 -142
- package/src/components/product/Process/Processes/devicesManagement.vue +0 -360
- package/src/components/product/Process/Processes/selectApply.vue +0 -250
- package/src/components/product/Process/Processes/selectUserinfo.vue +0 -182
- package/src/components/product/Process/Service/ShowBackReason.vue +0 -33
- package/src/components/product/Stop/StopApply.vue +0 -105
- package/src/components/product/Stop/StopApplyList.vue +0 -224
- package/src/components/product/Supervisory/NewSupervisoryhCart.vue +0 -167
- package/src/components/product/VueUtils/HighMeter.vue +0 -208
- package/src/expandcssAndroid.less +0 -1034
- package/src/public/history/HistoryApplyList.vue +0 -108
- package/src/public/history/PublicHistoryApply.vue +0 -39
- package/src/public/history/PublicSupervisoryhCart.vue +0 -72
- package/src/public/order/PublicOrderApply.vue +0 -387
|
@@ -1,1417 +1,748 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
<div class="auto clearfix">
|
|
3
4
|
<show-back-reason :selectdata="show_data"></show-back-reason>
|
|
4
|
-
<service-view v-ref:serviceview :data="show_data"></service-view>
|
|
5
5
|
</div>
|
|
6
|
+
|
|
7
|
+
<service-view v-ref:serviceview :data="show_data" v-if="showview"></service-view>
|
|
8
|
+
|
|
6
9
|
</template>
|
|
7
10
|
<script>
|
|
8
|
-
import Vue from 'vue'
|
|
9
|
-
import {HttpResetClass} from 'vue-client'
|
|
10
|
-
import {isEmpty} from '../../../Util'
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
11
|
+
import Vue from 'vue'
|
|
12
|
+
import {HttpResetClass} from 'vue-client'
|
|
13
|
+
import {getNowDate,isEmpty} from '../../../Util'
|
|
14
|
+
// Date格式化
|
|
15
|
+
Date.prototype.Format = function (fmt) {
|
|
16
|
+
var o = {
|
|
17
|
+
"M+": this.getMonth() + 1, //月份
|
|
18
|
+
"d+": this.getDate(), //日
|
|
19
|
+
"H+": this.getHours(), //小时
|
|
20
|
+
"m+": this.getMinutes(), //分
|
|
21
|
+
"s+": this.getSeconds(), //秒
|
|
22
|
+
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
23
|
+
"S": this.getMilliseconds() //毫秒
|
|
24
|
+
};
|
|
25
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
26
|
+
for (var k in o)
|
|
27
|
+
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
28
|
+
return fmt;
|
|
29
|
+
}
|
|
28
30
|
|
|
29
|
-
export default {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
return
|
|
53
|
-
}
|
|
54
|
-
this.json_datas.activitys.forEach(item => {
|
|
55
|
-
if (this.selectdata.defname === item.title) {
|
|
56
|
-
jsonData = item // 拿到当前节点的json配置信息
|
|
57
|
-
sum++ // 节点名一样的个数
|
|
31
|
+
export default {
|
|
32
|
+
title: '报建流程业务控制层',
|
|
33
|
+
props: ['selectdata'],
|
|
34
|
+
data() {
|
|
35
|
+
return {
|
|
36
|
+
data: null, // 数据库数据,json配置文件数据的数据集合
|
|
37
|
+
json_datas: null, // Json配置文件集合
|
|
38
|
+
showview: false, // 控制显示service-view组件
|
|
39
|
+
show_data: null // 给view层显示的数据
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
created () {
|
|
43
|
+
this.refurbish()
|
|
44
|
+
},
|
|
45
|
+
methods: {
|
|
46
|
+
// 组件初始化操作
|
|
47
|
+
refurbish() {
|
|
48
|
+
this.json_datas = this.$workflow_vue
|
|
49
|
+
let sum = 0
|
|
50
|
+
let jsonData = {}
|
|
51
|
+
if (!this.json_datas || !this.json_datas.activitys || this.json_datas.activitys.length == 0) {
|
|
52
|
+
this.$showMessage("网络故障,请刷新页面")
|
|
53
|
+
return
|
|
58
54
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
return
|
|
65
|
-
}
|
|
66
|
-
if (sum > 1) {
|
|
67
|
-
this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
|
|
68
|
-
return
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
this.selectdata = Object.assign({}, this.selectdata, jsonData)
|
|
72
|
-
|
|
73
|
-
// fields 字段填充值
|
|
74
|
-
for (const item of this.selectdata.fields) {
|
|
75
|
-
if (!item.value) {
|
|
76
|
-
item.value = null
|
|
55
|
+
for (let i = 0; i < this.json_datas.activitys.length; i++) {
|
|
56
|
+
if (this.selectdata.defname == this.json_datas.activitys[i].title) {
|
|
57
|
+
jsonData = this.json_datas.activitys[i] // 拿到当前节点的json配置信息
|
|
58
|
+
sum++ // 节点名一样的个数
|
|
59
|
+
}
|
|
77
60
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
}
|
|
61
|
+
if (sum == 1) {
|
|
62
|
+
this.data = null
|
|
63
|
+
this.data = jsonData
|
|
64
|
+
// selectdata 填充 data
|
|
65
|
+
this.data = Object.assign({}, this.data, this.selectdata)
|
|
66
|
+
this.initializeJSON()
|
|
67
|
+
} else if (sum == 0) {
|
|
68
|
+
this.$showMessage(`没有在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置`)
|
|
69
|
+
} else {
|
|
70
|
+
this.$showMessage(`在JSON配置文件中找到活动名为:(${this.selectdata.defname})的节点配置:${sum}个`)
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
// json配置数据处理
|
|
74
|
+
async initializeJSON() {
|
|
75
|
+
// 有默认值,value就给默认值,没有就是null
|
|
76
|
+
this.data.fields.forEach(item => {
|
|
77
|
+
if (!item.value) {
|
|
78
|
+
if (item.value === 0) {
|
|
79
|
+
item.value = 0
|
|
80
|
+
} else {
|
|
81
|
+
item.value = null
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
if (item.default || item.default == 0) {
|
|
83
85
|
item.value = item.default
|
|
84
86
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
if (this.selectdata[item.field]) {
|
|
88
|
+
// 将json字符串格式化赋值给value
|
|
89
|
+
if (String(this.selectdata[item.field]).startsWith("{")) {
|
|
90
|
+
item.value = JSON.parse(this.selectdata[item.field])
|
|
91
|
+
this.selectdata[item.field] = JSON.parse(this.selectdata[item.field])
|
|
92
|
+
} else {
|
|
93
|
+
item.value = this.selectdata[item.field]
|
|
94
|
+
}
|
|
91
95
|
} else {
|
|
92
|
-
|
|
96
|
+
if (this.selectdata[item.field] === 0) {
|
|
97
|
+
item.value = 0
|
|
98
|
+
}
|
|
93
99
|
}
|
|
94
|
-
}
|
|
95
|
-
if (this.selectdata[item.field] === 0) {
|
|
96
|
-
item.value = 0
|
|
97
|
-
}
|
|
98
100
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
// datepicker 没有值给当时值
|
|
102
|
+
if (item.type === 'datepicker' && !item.value && item.default) {
|
|
103
|
+
item.value = new Date().Format('yyyy-MM-dd HH:mm:ss')
|
|
104
|
+
}
|
|
103
105
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
let temp = this.$appdata.getParam(item.label)
|
|
106
|
+
// 如果配置类型为select,优先从参数列表获取options
|
|
107
|
+
if (item.type === 'select') {
|
|
108
|
+
let temp = null
|
|
108
109
|
|
|
109
|
-
|
|
110
|
-
item.options = temp
|
|
111
|
-
}
|
|
110
|
+
temp = this.$appdata.getParam(item.label)
|
|
112
111
|
|
|
113
|
-
if (item.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
112
|
+
if (temp && temp.length > 0 && item.label) {
|
|
113
|
+
item.options = temp
|
|
114
|
+
} else {
|
|
115
|
+
if (item.paramLabel) {
|
|
116
|
+
temp = this.$appdata.getParam(item.paramLabel)
|
|
117
|
+
if (temp && temp.length > 0) {
|
|
118
|
+
item.options = temp
|
|
119
|
+
}
|
|
117
120
|
}
|
|
118
121
|
}
|
|
119
122
|
}
|
|
120
|
-
|
|
121
|
-
item.options = await this[item.ready]()
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
if (item.type === 'checkbox') {
|
|
127
|
-
if (this.selectdata[item.field]) {
|
|
128
|
-
item.value = JSON.parse(this.selectdata[item.field])
|
|
129
|
-
} else {
|
|
130
|
-
item.value = []
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
this.selectdata[item.field] = item.value
|
|
135
|
-
}
|
|
123
|
+
})
|
|
136
124
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
if (!item.mark) {
|
|
125
|
+
// 控制组件
|
|
126
|
+
if (this.data.components) {
|
|
127
|
+
this.data.components.forEach(item => {
|
|
141
128
|
item.mark = 0
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
}
|
|
129
|
+
})
|
|
130
|
+
}
|
|
145
131
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
132
|
+
// 初始化 fields 可对数据进行特殊处理
|
|
133
|
+
this.initializeFields()
|
|
134
|
+
console.log("this.data的数据:" + JSON.stringify(this.data))
|
|
135
|
+
// 初始化 buttons_fields
|
|
136
|
+
for (let i = 0; i < this.data.buttons.length; i++) {
|
|
137
|
+
// 下发按钮相关配置
|
|
138
|
+
if (this.data.buttons[i].button_name === '下发') {
|
|
139
|
+
if (this.data.buttons[i].button_fields && this.data.buttons[i].button_fields.length === 1) {
|
|
140
|
+
if (this.data.source){
|
|
141
|
+
let http = new HttpResetClass()
|
|
142
|
+
let res = await http.load('POST', 'rs/search', {
|
|
143
|
+
source: this.data.source,
|
|
144
|
+
userid: this.$login.f.id
|
|
145
|
+
}, {resolveMsg: null, rejectMsg: null})
|
|
146
|
+
|
|
147
|
+
let options = []
|
|
148
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
149
|
+
options.push(
|
|
150
|
+
{
|
|
151
|
+
"label": res.data[i].name,
|
|
152
|
+
"value": res.data[i].name
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
}
|
|
156
|
+
this.data.buttons[i].button_fields[0]['options'] = options
|
|
157
|
+
} else {
|
|
158
|
+
this.$showMessage("请配置获取人员表达式")
|
|
159
|
+
}
|
|
160
|
+
} else {
|
|
161
|
+
this.$showMessage("下发按钮必须满足 当且仅当一个字段")
|
|
156
162
|
}
|
|
157
|
-
res = await this.$resetpost(
|
|
158
|
-
'rs/sql/applySingleTable',
|
|
159
|
-
{data: data},
|
|
160
|
-
{resolveMsg: null, rejectMsg: 'onetomany查询失败'}
|
|
161
|
-
)
|
|
162
163
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
if (!field.value) {
|
|
169
|
-
if (field.value !== 0) {
|
|
170
|
-
field.value = null
|
|
164
|
+
if (this.data.buttons[i].button_fields) {
|
|
165
|
+
this.data.buttons[i].button_fields.forEach(x => {
|
|
166
|
+
// 如果配置类型为select,优先从参数列表获取options
|
|
167
|
+
if (x.type === 'select' && this.$appdata.getParam(x.label)) {
|
|
168
|
+
x.options = this.$appdata.getParam(x.label).trim()
|
|
171
169
|
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
field.value = field.default
|
|
176
|
-
}
|
|
170
|
+
})
|
|
171
|
+
}
|
|
172
|
+
}
|
|
177
173
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
174
|
+
// onetomany 数据获取
|
|
175
|
+
if (this.data.onetomany) {
|
|
176
|
+
for (let index = 0; index < this.data.onetomany.length; index++) {
|
|
177
|
+
let res = null
|
|
178
|
+
if (!this.data.onetomany[index].queryEvent || this.data.onetomany[index].queryEvent === 'default'){
|
|
179
|
+
let http = new HttpResetClass()
|
|
180
|
+
let data = {
|
|
181
|
+
tablename: this.data.onetomany[index].tables[0],
|
|
182
|
+
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
183
|
+
}
|
|
184
|
+
res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
185
|
+
resolveMsg: null,
|
|
186
|
+
rejectMsg: 'onetomany查询失败'
|
|
187
|
+
})
|
|
188
|
+
} else {
|
|
189
|
+
res = this[this.data.onetomany[index].queryEvent]()
|
|
181
190
|
}
|
|
182
191
|
|
|
183
|
-
|
|
192
|
+
// 初始化 onetomany
|
|
193
|
+
this.data.onetomany[index].rows = res.data
|
|
184
194
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
if (
|
|
188
|
-
|
|
195
|
+
// 初始化onetomany中的fields
|
|
196
|
+
for (let j = 0; j < this.data.onetomany[index].fields.length; j++) {
|
|
197
|
+
if (!this.data.onetomany[index].fields[j].value) {
|
|
198
|
+
if (this.data.onetomany[index].fields[j].value === 0) {
|
|
199
|
+
this.data.onetomany[index].fields[j].value = 0
|
|
200
|
+
} else {
|
|
201
|
+
this.data.onetomany[index].fields[j].value = null
|
|
202
|
+
}
|
|
189
203
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
204
|
+
if (this.data.onetomany[index].fields[j].default || this.data.onetomany[index].fields[j].default == 0) {
|
|
205
|
+
this.data.onetomany[index].fields[j].value = this.data.onetomany[index].fields[j].default
|
|
206
|
+
}
|
|
207
|
+
// 如果配置类型为select,优先从参数列表获取options
|
|
208
|
+
if (this.data.onetomany[index].fields[j].type === 'select') {
|
|
209
|
+
let temp = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
|
|
193
210
|
if (temp && temp.length > 0) {
|
|
194
|
-
|
|
211
|
+
this.data.onetomany[index].fields[j].options = temp
|
|
195
212
|
}
|
|
196
213
|
}
|
|
197
214
|
}
|
|
198
215
|
}
|
|
199
216
|
}
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
// 初始化 buttons_fields
|
|
203
|
-
for (const item of this.selectdata.buttons) {
|
|
204
|
-
if (item.button_name === '下发') {
|
|
205
217
|
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
userid: this.$login.f.id
|
|
209
|
-
}
|
|
210
|
-
if (item.sourceMethod) {
|
|
211
|
-
data.source = this[item.sourceMethod]()
|
|
212
|
-
}
|
|
213
|
-
if (!data.source) {
|
|
214
|
-
this.$showMessage("请配置获取人员表达式")
|
|
215
|
-
return
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
let res = await this.$resetpost(
|
|
219
|
-
'rs/search',
|
|
220
|
-
{data: data},
|
|
221
|
-
{resolveMsg: null, rejectMsg: '下发人员查询失败!!!'}
|
|
222
|
-
)
|
|
218
|
+
// 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
|
|
219
|
+
let temp = JSON.parse(JSON.stringify(this.data))
|
|
223
220
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
221
|
+
this.show_data = temp
|
|
222
|
+
this.$nextTick(() => {
|
|
223
|
+
this.showview = true
|
|
224
|
+
})
|
|
225
|
+
// 查询区域和街道
|
|
226
|
+
if (this.selectdata.defname === '报装申请') {
|
|
227
|
+
let http = new HttpResetClass()
|
|
228
|
+
let condition = "1=1"
|
|
229
|
+
let res = await http.load('POST','rs/sql/apply_singleTable',{data:{tablename:'t_address',condition:condition}}, {resolveMsg: null, rejectMsg: null})
|
|
230
|
+
for (let i = 0; i < this.show_data.fields.length; i++) {
|
|
231
|
+
|
|
232
|
+
if (this.show_data.fields[i].label === '区/县') {
|
|
233
|
+
let data = []
|
|
234
|
+
let array = []
|
|
235
|
+
data = res.data.map(item => {
|
|
236
|
+
if (item.type === '区'){
|
|
237
|
+
return item.f_name;
|
|
238
|
+
}
|
|
239
|
+
})
|
|
240
|
+
for (let q = 0; q < data.length; q++) {
|
|
241
|
+
let arraydata = {
|
|
242
|
+
'label': data[q],
|
|
243
|
+
'value': data[q]
|
|
244
|
+
}
|
|
245
|
+
if (array.length !== 0) {
|
|
246
|
+
for (let w = 0; w < array.length; w++) {
|
|
247
|
+
if (array[w].label === data[q]) {
|
|
248
|
+
break
|
|
249
|
+
}
|
|
250
|
+
while (w === array.length - 1) {
|
|
251
|
+
array.push(arraydata)
|
|
252
|
+
break
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
} else {
|
|
256
|
+
array.push(arraydata)
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
this.show_data.fields[i].options = array
|
|
260
|
+
console.log("区县选择框数据:" + JSON.stringify(this.show_data.fields[i].options))
|
|
228
261
|
}
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
item.button_fields[0].options = options
|
|
237
|
-
}
|
|
238
|
-
if (item.button_fields) {
|
|
239
|
-
item.button_fields.forEach(x => {
|
|
240
|
-
// 如果配置类型为select,优先从参数列表获取options
|
|
241
|
-
if (x.type === 'select') {
|
|
242
|
-
|
|
243
|
-
if (x.param) {
|
|
244
|
-
let temp = this.$appdata.getParam(x.label)
|
|
245
|
-
|
|
246
|
-
if (temp && temp.length > 0) {
|
|
247
|
-
x.options = temp
|
|
262
|
+
if (this.show_data.fields[i].label === '片区') {
|
|
263
|
+
let data = []
|
|
264
|
+
let array = []
|
|
265
|
+
data = res.data.map(item => {
|
|
266
|
+
if (item.type === '街道'){
|
|
267
|
+
return item.f_name;
|
|
248
268
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
269
|
+
})
|
|
270
|
+
for (let q = 0; q < data.length; q++) {
|
|
271
|
+
let arraydata = {
|
|
272
|
+
'label': data[q],
|
|
273
|
+
'value': data[q]
|
|
274
|
+
}
|
|
275
|
+
if (array.length !== 0) {
|
|
276
|
+
for (let w = 0; w < array.length; w++) {
|
|
277
|
+
if (array[w].label === data[q]) {
|
|
278
|
+
break
|
|
279
|
+
}
|
|
280
|
+
while (w === array.length - 1) {
|
|
281
|
+
array.push(arraydata)
|
|
282
|
+
break
|
|
283
|
+
}
|
|
254
284
|
}
|
|
285
|
+
} else {
|
|
286
|
+
array.push(arraydata)
|
|
255
287
|
}
|
|
256
288
|
}
|
|
257
|
-
|
|
289
|
+
this.show_data.fields[i].options = array
|
|
290
|
+
console.log("片区选择框数据:" + JSON.stringify(this.show_data.fields[i].options))
|
|
258
291
|
}
|
|
259
|
-
})
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
if (this.selectdata.f_apply_nature === '散户' && this.selectdata.defname === '现场勘察') {
|
|
264
|
-
for (const item of this.selectdata.fields) {
|
|
265
|
-
if (item.label.includes('安装户数')) {
|
|
266
|
-
item.readonly = true
|
|
267
292
|
}
|
|
268
293
|
}
|
|
269
|
-
}
|
|
270
|
-
//
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
this.show_data = temp
|
|
274
|
-
this.$nextTick(() => {
|
|
275
|
-
this.showview = true
|
|
276
|
-
})
|
|
294
|
+
},
|
|
295
|
+
// 初始化fields值
|
|
296
|
+
initializeFields() {
|
|
277
297
|
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
298
|
+
},
|
|
299
|
+
// 金额转大写
|
|
300
|
+
smalltoBIG(n) {
|
|
301
|
+
let fraction = ['角', '分'];
|
|
302
|
+
let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'];
|
|
303
|
+
let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']];
|
|
304
|
+
let head = n < 0 ? '欠' : '';
|
|
305
|
+
n = Math.abs(n);
|
|
286
306
|
|
|
287
|
-
|
|
307
|
+
let s = '';
|
|
288
308
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}
|
|
292
|
-
s = s || '整';
|
|
293
|
-
n = Math.floor(n);
|
|
294
|
-
|
|
295
|
-
for (var i = 0; i < unit[0].length && n > 0; i++) {
|
|
296
|
-
let p = '';
|
|
297
|
-
for (var j = 0; j < unit[1].length && n > 0; j++) {
|
|
298
|
-
p = digit[n % 10] + unit[1][j] + p;
|
|
299
|
-
n = Math.floor(n / 10);
|
|
309
|
+
for (var i = 0; i < fraction.length; i++) {
|
|
310
|
+
s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '');
|
|
300
311
|
}
|
|
301
|
-
s =
|
|
302
|
-
|
|
303
|
-
return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
|
|
304
|
-
},
|
|
305
|
-
getLableValue(label) {
|
|
306
|
-
for (const item of this.show_data.fields) {
|
|
307
|
-
if (item.label === label && item.type !== 'number') {
|
|
308
|
-
return item.value || ''
|
|
309
|
-
}
|
|
310
|
-
if (item.label === label && item.type === 'number') {
|
|
311
|
-
return item.value || 0
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
getLableOptions(label) {
|
|
316
|
-
for (const item of this.show_data.fields) {
|
|
317
|
-
if (item.label === label) {
|
|
318
|
-
return item.options
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
setLabelValue(label, value) {
|
|
323
|
-
for (const item of this.show_data.fields) {
|
|
324
|
-
if (item.label === label) {
|
|
325
|
-
item.value = value
|
|
326
|
-
this.show_data[item.field] = value
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
setLabelOptions(label, options) {
|
|
331
|
-
for (const item of this.show_data.fields) {
|
|
332
|
-
if (item.label === label) {
|
|
333
|
-
item.options = options
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
showLabels(...labels) {
|
|
338
|
-
for (const item of this.show_data.fields) {
|
|
339
|
-
if (labels.includes(item.label)) {
|
|
340
|
-
item.hidden = false
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
},
|
|
344
|
-
hideLabels(...labels) {
|
|
345
|
-
for (const item of this.show_data.fields) {
|
|
346
|
-
if (labels.includes(item.label)) {
|
|
347
|
-
item.hidden = true
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
},
|
|
351
|
-
showButtons(...buttons) {
|
|
352
|
-
for (const item of this.show_data.buttons) {
|
|
353
|
-
if (buttons.includes(item.button_name)) {
|
|
354
|
-
item.hidden = false
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
hideButtons(...buttons) {
|
|
359
|
-
for (const item of this.show_data.buttons) {
|
|
360
|
-
if (buttons.includes(item.button_name)) {
|
|
361
|
-
item.hidden = true
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
requiredLabels(...labels) {
|
|
366
|
-
for (const item of this.show_data.fields) {
|
|
367
|
-
if (labels.includes(item.label)) {
|
|
368
|
-
item.required = true
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
},
|
|
372
|
-
electiveLabels(...labels) {
|
|
373
|
-
for (const item of this.show_data.fields) {
|
|
374
|
-
if (labels.includes(item.label)) {
|
|
375
|
-
item.required = false
|
|
376
|
-
}
|
|
377
|
-
}
|
|
378
|
-
},
|
|
379
|
-
readonlyLabels(...labels) {
|
|
380
|
-
for (const item of this.show_data.fields) {
|
|
381
|
-
if (labels.includes(item.label)) {
|
|
382
|
-
item.readonly = true
|
|
383
|
-
item.disabled = true
|
|
384
|
-
}
|
|
385
|
-
}
|
|
386
|
-
},
|
|
387
|
-
readwriteLabels(...labels) {
|
|
388
|
-
for (const item of this.show_data.fields) {
|
|
389
|
-
if (labels.includes(item.label)) {
|
|
390
|
-
item.readonly = false
|
|
391
|
-
item.disabled = false
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
},
|
|
395
|
-
disabledButtons(...buttons) {
|
|
396
|
-
for (const item of this.show_data.buttons) {
|
|
397
|
-
if (buttons.includes(item.button_name)) {
|
|
398
|
-
item.disabled = true
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
},
|
|
402
|
-
enableButtons(...buttons) {
|
|
403
|
-
for (const item of this.show_data.buttons) {
|
|
404
|
-
if (buttons.includes(item.button_name)) {
|
|
405
|
-
item.disabled = false
|
|
406
|
-
}
|
|
407
|
-
}
|
|
408
|
-
},
|
|
409
|
-
showComponents(...titles) {
|
|
410
|
-
for (const item of this.show_data.components) {
|
|
411
|
-
if (titles.includes(item.title) && item.device === 'pc') {
|
|
412
|
-
item.hidden = false
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
},
|
|
416
|
-
hideComponents(...titles) {
|
|
417
|
-
for (const item of this.show_data.components) {
|
|
418
|
-
if (titles.includes(item.title) && item.device === 'pc') {
|
|
419
|
-
item.hidden = true
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
},
|
|
423
|
-
async checkDuplicate(index) {
|
|
424
|
-
let http = new HttpResetClass()
|
|
425
|
-
let data = {
|
|
426
|
-
tablename: 't_apply',
|
|
427
|
-
condition: `${this.show_data.fields[index].field} = '${this.show_data.fields[index].value}'`
|
|
428
|
-
}
|
|
429
|
-
let res = await http.load('POST', 'rs/sql/applySingleTable', {data: data}, {
|
|
430
|
-
resolveMsg: null,
|
|
431
|
-
rejectMsg: `${this.show_data.fields[index].label}查询失败`
|
|
432
|
-
})
|
|
433
|
-
if (res.data.length > 0) {
|
|
434
|
-
this.show_data.fields[index].value = null
|
|
435
|
-
this.$showAlert(`${this.show_data.fields[index].label}已存在!!!`, 'warning', 3000)
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
// 获取片区
|
|
439
|
-
async getSliceArea () {
|
|
440
|
-
let data = {
|
|
441
|
-
source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
|
|
442
|
-
userid: this.$login.f.id
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
let http = new HttpResetClass()
|
|
446
|
-
let res = await http.load(
|
|
447
|
-
'POST',
|
|
448
|
-
`rs/search`,
|
|
449
|
-
{data: data},
|
|
450
|
-
{resolveMsg: null, rejectMsg: '片区查询失败!!!'}
|
|
451
|
-
)
|
|
312
|
+
s = s || '整';
|
|
313
|
+
n = Math.floor(n);
|
|
452
314
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
})
|
|
459
|
-
},
|
|
460
|
-
// 获取区县
|
|
461
|
-
async getPcd () {
|
|
462
|
-
let data = {
|
|
463
|
-
tablename: 't_pcd',
|
|
464
|
-
condition: `f_filialeid = '${this.$login.f.orgid}'`
|
|
465
|
-
}
|
|
466
|
-
let http = new HttpResetClass()
|
|
467
|
-
let res = await http.load(
|
|
468
|
-
'POST',
|
|
469
|
-
`rs/sql/applySingleTable`,
|
|
470
|
-
{data: data},
|
|
471
|
-
{resolveMsg: null, rejectMsg: '区县查询失败!!!'}
|
|
472
|
-
)
|
|
473
|
-
|
|
474
|
-
return res.data.map(item => {
|
|
475
|
-
return {
|
|
476
|
-
label: item.f_pcd,
|
|
477
|
-
value: item.f_pcd
|
|
478
|
-
}
|
|
479
|
-
})
|
|
480
|
-
},
|
|
481
|
-
// 缴费前置
|
|
482
|
-
chargeBefore () {
|
|
483
|
-
if (this.show_data.f_apply_type === '民用报建' && this.show_data.f_apply_nature === '小区') {
|
|
484
|
-
return
|
|
485
|
-
}
|
|
486
|
-
if (Number(this.show_data.f_due_money) > Number(this.show_data.f_cumulative_payment_money) || Number(this.show_data.f_surplus_money) > 0) {
|
|
487
|
-
this.$showAlert('费用未结清!!!', 'warning', 3000)
|
|
488
|
-
throw null
|
|
489
|
-
}
|
|
490
|
-
},
|
|
491
|
-
// 获取设计人员
|
|
492
|
-
async getDesignerPeople () {
|
|
493
|
-
let data = {
|
|
494
|
-
source: 'this.getParentByType($organization$).getChildByName($营业厅报装$).getChildren()',
|
|
495
|
-
userid: this.$login.f.id
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
let res = await this.$resetpost(
|
|
499
|
-
'rs/search',
|
|
500
|
-
{data: data},
|
|
501
|
-
{resolveMsg: null, rejectMsg: '设计人员查询失败!!!'}
|
|
502
|
-
)
|
|
503
|
-
|
|
504
|
-
return res.data.map(item => {
|
|
505
|
-
return {
|
|
506
|
-
label: item.name,
|
|
507
|
-
value: item.id
|
|
508
|
-
}
|
|
509
|
-
})
|
|
510
|
-
},
|
|
511
|
-
//现场勘察
|
|
512
|
-
async prospectingBefore() {
|
|
513
|
-
let data = {
|
|
514
|
-
tablename: 't_files',
|
|
515
|
-
condition: `f_blobid = '${this.selectdata.f_process_id}' and defname = '现场勘察' and fremarks = '报装手机签字文件'`
|
|
516
|
-
}
|
|
517
|
-
let http = new HttpResetClass()
|
|
518
|
-
let res = await http.load(
|
|
519
|
-
'POST',
|
|
520
|
-
`rs/sql/applySingleTable`,
|
|
521
|
-
{data: data},
|
|
522
|
-
{resolveMsg: null, rejectMsg: null}
|
|
523
|
-
)
|
|
524
|
-
if (res.data.length <= 0) {
|
|
525
|
-
this.$showAlert('现场勘察未签字,无法提交!!!', 'warning', 3000)
|
|
526
|
-
throw '现场勘察未签字,无法提交!'
|
|
527
|
-
}
|
|
528
|
-
},
|
|
529
|
-
//合同签订提交
|
|
530
|
-
async contractSigningBefore() {
|
|
531
|
-
let http = new HttpResetClass()
|
|
532
|
-
let data = {
|
|
533
|
-
tablename: 't_contract',
|
|
534
|
-
condition: `f_process_id = '${this.selectdata.f_process_id}'`
|
|
535
|
-
}
|
|
536
|
-
let res = await http.load(
|
|
537
|
-
'POST',
|
|
538
|
-
`rs/sql/applySingleTable`,
|
|
539
|
-
{data: data},
|
|
540
|
-
{resolveMsg: null, rejectMsg: null}
|
|
541
|
-
)
|
|
542
|
-
if (res.data[0].f_sign_state !== '签订完成') {
|
|
543
|
-
this.$showAlert('用户未签订完成,无法提交!!!', 'warning', 3000)
|
|
544
|
-
throw '用户未签订完成,无法提交!'
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
// 施工前置
|
|
548
|
-
async constructionBefore () {
|
|
549
|
-
if (this.show_data.f_apply_nature !== '小区') {
|
|
550
|
-
let http = new HttpResetClass()
|
|
551
|
-
let data = {
|
|
552
|
-
condition: `ui.f_process_id = '${this.show_data.f_process_id}' and f_meternumber is null`
|
|
553
|
-
}
|
|
554
|
-
let res = await http.load(
|
|
555
|
-
'POST',
|
|
556
|
-
'rs/sql/countApplyUserinfo',
|
|
557
|
-
{data: data},
|
|
558
|
-
{
|
|
559
|
-
resolveMsg: null,
|
|
560
|
-
rejectMsg: '安装明细查询失败!!!'
|
|
561
|
-
})
|
|
562
|
-
if (res.data[0].num > 0) {
|
|
563
|
-
this.$showAlert(`还有${res.data[0].num}户未安装,无法提交`, 'warning', 3000)
|
|
564
|
-
throw `还有${res.data[0].num}户未安装,无法提交`
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
},
|
|
568
|
-
async userSignBefore() {
|
|
569
|
-
let http = new HttpResetClass()
|
|
570
|
-
let data = {
|
|
571
|
-
tablename: 't_files',
|
|
572
|
-
condition: `f_blobid = '${this.selectdata.f_process_id}' and defname = '${this.selectdata.defname}' and fremarks = '报装手机签字文件'`
|
|
573
|
-
}
|
|
574
|
-
let res = await http.load(
|
|
575
|
-
'POST',
|
|
576
|
-
`rs/sql/applySingleTable`,
|
|
577
|
-
{data: data},
|
|
578
|
-
{resolveMsg: null, rejectMsg: null}
|
|
579
|
-
)
|
|
580
|
-
if (res.data.length <= 0) {
|
|
581
|
-
this.$showAlert('用户未签字,无法提交!!!', 'warning', 3000)
|
|
582
|
-
throw '用户未签字,无法提交!'
|
|
583
|
-
}
|
|
584
|
-
},
|
|
585
|
-
addressInitialization () {
|
|
586
|
-
this.$getConfig(this, 'UserAddress')
|
|
587
|
-
|
|
588
|
-
let f_address_type = this.show_data.f_address_type
|
|
589
|
-
|
|
590
|
-
for (const item of this.show_data.fields) {
|
|
591
|
-
if (f_address_type === '民用市区') {
|
|
592
|
-
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
593
|
-
item.hidden = false
|
|
594
|
-
item.required = true
|
|
315
|
+
for (var i = 0; i < unit[0].length && n > 0; i++) {
|
|
316
|
+
let p = '';
|
|
317
|
+
for (var j = 0; j < unit[1].length && n > 0; j++) {
|
|
318
|
+
p = digit[n % 10] + unit[1][j] + p;
|
|
319
|
+
n = Math.floor(n / 10);
|
|
595
320
|
}
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
321
|
+
s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s;
|
|
322
|
+
}
|
|
323
|
+
return head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
|
|
324
|
+
},
|
|
325
|
+
getLableValue(label) {
|
|
326
|
+
for (const item of this.show_data.fields) {
|
|
327
|
+
if (item.label === label && item.type !== 'number') {
|
|
328
|
+
return item.value || ''
|
|
599
329
|
}
|
|
600
|
-
if (item.label === '
|
|
601
|
-
item.
|
|
330
|
+
if (item.label === label && item.type === 'number') {
|
|
331
|
+
return item.value || 0
|
|
602
332
|
}
|
|
603
333
|
}
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
334
|
+
},
|
|
335
|
+
setLabelValue(label, value) {
|
|
336
|
+
for (const item of this.show_data.fields) {
|
|
337
|
+
if (item.label === label) {
|
|
338
|
+
item.value = value
|
|
608
339
|
}
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
async buttonBefore(model) {
|
|
343
|
+
// if (
|
|
344
|
+
// model.button.button_name === '提交' &&
|
|
345
|
+
// model.defname === '收费' &&
|
|
346
|
+
// (
|
|
347
|
+
// model.f_apply_type === '散户报建' ||
|
|
348
|
+
// model.f_apply_type === '工业户报建' ||
|
|
349
|
+
// model.f_apply_type === '商业户报建'
|
|
350
|
+
// ) &&
|
|
351
|
+
// model.f_surplus_money > 0
|
|
352
|
+
// ) {
|
|
353
|
+
// throw '未结金额大于0,无法提交!!!'
|
|
354
|
+
// }
|
|
355
|
+
// if (model.defname === '施工' && model.button.button_name === '提交') {
|
|
356
|
+
// let http = new HttpResetClass()
|
|
357
|
+
// let data = {
|
|
358
|
+
// f_process_id: model.f_process_id
|
|
359
|
+
// }
|
|
360
|
+
// let res = await http.load('POST', 'rs/sql/notInstalled', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
361
|
+
// if (res.data[0].num > 0) {
|
|
362
|
+
// throw `还有${res.data[0].num}户未安装,无法提交`
|
|
363
|
+
// }
|
|
364
|
+
// }
|
|
365
|
+
return model
|
|
366
|
+
},
|
|
367
|
+
// ========================= 武安 =================================
|
|
368
|
+
// 地址类型变化
|
|
369
|
+
addressType() {
|
|
370
|
+
for (const item of this.show_data.fields) {
|
|
371
|
+
if (item.label === '小区' && this.show_data.f_address_type === '民用地址') {
|
|
372
|
+
item.required = true
|
|
612
373
|
}
|
|
613
|
-
if (item.label === '
|
|
614
|
-
item.hidden = true
|
|
374
|
+
if (item.label === '小区' && this.show_data.f_address_type === '特殊地址') {
|
|
615
375
|
item.required = false
|
|
616
376
|
}
|
|
617
|
-
if (
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
377
|
+
if (
|
|
378
|
+
(
|
|
379
|
+
item.label === '楼号' ||
|
|
380
|
+
item.label === '单元' ||
|
|
381
|
+
item.label === '楼层' ||
|
|
382
|
+
item.label === '门牌号'
|
|
383
|
+
) && this.show_data.f_address_type === '民用地址'
|
|
384
|
+
) {
|
|
624
385
|
item.required = true
|
|
625
|
-
}
|
|
626
|
-
if (item.label === '集收单位') {
|
|
627
386
|
item.hidden = false
|
|
628
|
-
item.
|
|
387
|
+
item.value = null
|
|
629
388
|
}
|
|
630
|
-
if (
|
|
631
|
-
|
|
389
|
+
if (
|
|
390
|
+
(
|
|
391
|
+
item.label === '楼号' ||
|
|
392
|
+
item.label === '单元' ||
|
|
393
|
+
item.label === '楼层' ||
|
|
394
|
+
item.label === '门牌号'
|
|
395
|
+
) && this.show_data.f_address_type === '特殊地址'
|
|
396
|
+
) {
|
|
632
397
|
item.required = false
|
|
398
|
+
item.hidden = true
|
|
399
|
+
item.value = null
|
|
633
400
|
}
|
|
634
|
-
if (item.label === '地址') {
|
|
635
|
-
item.readonly = false
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
if (this.show_data.f_apply_source === '线下发起' && item.label === '预约地址') {
|
|
640
|
-
item.hidden = true
|
|
641
401
|
}
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
tablename: 't_area',
|
|
651
|
-
condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}'`
|
|
652
|
-
}
|
|
653
|
-
let http = new HttpResetClass()
|
|
654
|
-
let res = await http.load(
|
|
655
|
-
'POST',
|
|
656
|
-
`rs/sql/applySingleTable`,
|
|
657
|
-
{data: data},
|
|
658
|
-
{resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
|
|
659
|
-
)
|
|
660
|
-
|
|
661
|
-
this.setLabelOptions('集收单位', res.data.map(item => {
|
|
662
|
-
return {
|
|
663
|
-
label: item.f_residential_area,
|
|
664
|
-
value: item.f_residential_area
|
|
402
|
+
},
|
|
403
|
+
//根据区县获取街道
|
|
404
|
+
async getStreetList () {
|
|
405
|
+
console.log("街道查询")
|
|
406
|
+
let data = {
|
|
407
|
+
son: '街道',
|
|
408
|
+
parent: '区',
|
|
409
|
+
condition: `b.f_name = '${this.getLableValue('区/县')}'`
|
|
665
410
|
}
|
|
666
|
-
}))
|
|
667
|
-
},
|
|
668
|
-
async pcdChange () {
|
|
669
|
-
if (isEmpty(this.show_data.f_pcd)) {
|
|
670
|
-
return
|
|
671
|
-
}
|
|
672
411
|
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
412
|
+
let res = await this.$resetpost(
|
|
413
|
+
`rs/sql/singleTable`,
|
|
414
|
+
{data: data},
|
|
415
|
+
{resolveMsg: null, rejectMsg: '街道查询失败,请重新进入!!!'}
|
|
416
|
+
)
|
|
678
417
|
|
|
679
|
-
|
|
680
|
-
data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '市区'`
|
|
681
|
-
}
|
|
682
|
-
if (f_address_type === '民用乡镇') {
|
|
683
|
-
data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '乡镇'`
|
|
684
|
-
}
|
|
418
|
+
let streetList = []
|
|
685
419
|
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
)
|
|
420
|
+
res.data.forEach(item => {
|
|
421
|
+
streetList.push({
|
|
422
|
+
label: item.f_name,
|
|
423
|
+
value: item.f_name
|
|
424
|
+
})
|
|
425
|
+
})
|
|
693
426
|
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
427
|
+
for (const item of this.show_data.fields) {
|
|
428
|
+
if (item.label === '街道') {
|
|
429
|
+
item.options = streetList
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
//根据街道获取小区
|
|
434
|
+
async getAreaList () {
|
|
435
|
+
let data = {
|
|
436
|
+
son: '小区',
|
|
437
|
+
parent: '街道',
|
|
438
|
+
condition: `b.f_name = '${this.getLableValue('街道')}'`
|
|
698
439
|
}
|
|
699
|
-
}))
|
|
700
|
-
},
|
|
701
|
-
async getConstructionWorker(){
|
|
702
|
-
let data = {
|
|
703
|
-
source: 'this.getParentByType($organization$).getChildByName($营业厅报装$).getChildren()',
|
|
704
|
-
userid: this.$login.f.id
|
|
705
|
-
}
|
|
706
440
|
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
441
|
+
let res = await this.$resetpost(
|
|
442
|
+
`rs/sql/getAddress`,
|
|
443
|
+
{data: data},
|
|
444
|
+
{resolveMsg: null, rejectMsg: '小区查询失败,请重新进入!!!'}
|
|
445
|
+
)
|
|
712
446
|
|
|
713
|
-
|
|
714
|
-
return {
|
|
715
|
-
label: item.name,
|
|
716
|
-
value: item.id
|
|
717
|
-
}
|
|
718
|
-
})
|
|
719
|
-
},
|
|
720
|
-
// 安装单位
|
|
721
|
-
async getConstructionUnit () {
|
|
722
|
-
let data = {
|
|
723
|
-
source: 'this.getParentByType($organization$).getChildByName($营业厅报装$).getChildren()',
|
|
724
|
-
userid: this.$login.f.id
|
|
725
|
-
}
|
|
447
|
+
let areaList = []
|
|
726
448
|
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
449
|
+
res.data.forEach(item => {
|
|
450
|
+
areaList.push({
|
|
451
|
+
label: item.f_name,
|
|
452
|
+
value: item.f_name
|
|
453
|
+
})
|
|
454
|
+
})
|
|
732
455
|
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
456
|
+
for (const item of this.show_data.fields) {
|
|
457
|
+
if (item.label === '小区') {
|
|
458
|
+
item.options = areaList
|
|
459
|
+
}
|
|
737
460
|
}
|
|
738
|
-
})
|
|
739
|
-
},
|
|
740
|
-
// 建设单位
|
|
741
|
-
async getConstructOperator () {
|
|
742
|
-
let data = {
|
|
743
|
-
source: 'this.getParentByType($organization$).getChildByName($营业厅报装$).getChildren()',
|
|
744
|
-
userid: this.$login.f.id
|
|
745
461
|
}
|
|
746
462
|
|
|
747
|
-
let res = await this.$resetpost(
|
|
748
|
-
'rs/search',
|
|
749
|
-
{data: data},
|
|
750
|
-
{resolveMsg: null, rejectMsg: '建设单位人员查询失败!!!'}
|
|
751
|
-
)
|
|
752
|
-
|
|
753
|
-
return res.data.map(item => {
|
|
754
|
-
return {
|
|
755
|
-
label: item.name,
|
|
756
|
-
value: item.id
|
|
757
|
-
}
|
|
758
|
-
})
|
|
759
463
|
},
|
|
760
|
-
|
|
761
|
-
async getSupervisorOperator () {
|
|
762
|
-
let data = {
|
|
763
|
-
source: 'this.getParentByType($organization$).getChildByName($营业厅报装$).getChildren()',
|
|
764
|
-
userid: this.$login.f.id
|
|
765
|
-
}
|
|
464
|
+
events: {
|
|
766
465
|
|
|
767
|
-
|
|
768
|
-
'rs/search',
|
|
769
|
-
{data: data},
|
|
770
|
-
{resolveMsg: null, rejectMsg: '监理单位人员查询失败!!!'}
|
|
771
|
-
)
|
|
466
|
+
'openAddModel'(index) {
|
|
772
467
|
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
468
|
+
},
|
|
469
|
+
// 获取view层button事件/
|
|
470
|
+
async 'button'(model) {
|
|
471
|
+
// 修改提交数据
|
|
472
|
+
model = Object.assign({}, this.selectdata, model)
|
|
473
|
+
// 点击重置按钮就重置数据
|
|
474
|
+
if (model.button.button_name === '重置') {
|
|
475
|
+
this.$dispatch('breakControl', this.data)
|
|
476
|
+
return
|
|
777
477
|
}
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
{resolveMsg: null, rejectMsg: '土建单位人员查询失败!!!'}
|
|
791
|
-
)
|
|
792
|
-
let result = res.data.map(item => {
|
|
793
|
-
return {
|
|
794
|
-
label: item.name,
|
|
795
|
-
value: item.id
|
|
478
|
+
// 联合验收必须上传附件
|
|
479
|
+
if (model.defname === '联合验收' && model.button.button_name === '提交') {
|
|
480
|
+
let http = new HttpResetClass()
|
|
481
|
+
let data = {
|
|
482
|
+
tablename: 't_files',
|
|
483
|
+
condition: "f_blobid = '" + this.selectdata.f_process_id + "'"
|
|
484
|
+
}
|
|
485
|
+
let res = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
486
|
+
if (!res.data.length > 0) {
|
|
487
|
+
this.$showMessage("您没有上传附件,无法提交!")
|
|
488
|
+
return
|
|
489
|
+
}
|
|
796
490
|
}
|
|
797
|
-
})
|
|
798
|
-
if(this.selectdata.f_apply_nature === '散户'){
|
|
799
|
-
result.push({label:'用户自理',value:'用户自理'})
|
|
800
|
-
}
|
|
801
|
-
return result
|
|
802
|
-
},
|
|
803
|
-
// 检测单位
|
|
804
|
-
async getCheckOperator () {
|
|
805
|
-
let data = {
|
|
806
|
-
source: 'this.getParentByType($organization$).getChildByName($营业厅报装$).getChildren()',
|
|
807
|
-
userid: this.$login.f.id
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
let res = await this.$resetpost(
|
|
811
|
-
'rs/search',
|
|
812
|
-
{data: data},
|
|
813
|
-
{resolveMsg: null, rejectMsg: '检测单位人员查询失败!!!'}
|
|
814
|
-
)
|
|
815
491
|
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
492
|
+
// 提交前置
|
|
493
|
+
try {
|
|
494
|
+
model = await this.buttonBefore(model)
|
|
495
|
+
} catch (e) {
|
|
496
|
+
this.$showAlert(e, 'warning', 3000)
|
|
497
|
+
return
|
|
820
498
|
}
|
|
821
|
-
})
|
|
822
|
-
},
|
|
823
|
-
// 获取气表品牌
|
|
824
|
-
async getMeterBrand () {
|
|
825
|
-
let data = {
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
let http = new HttpResetClass()
|
|
829
|
-
let res = await http.load(
|
|
830
|
-
'POST',
|
|
831
|
-
`rs/sql/getMeterBrand`,
|
|
832
|
-
{data: data},
|
|
833
|
-
{resolveMsg: null, rejectMsg: '气表品牌查询失败!!!'}
|
|
834
|
-
)
|
|
835
499
|
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
500
|
+
let http = new HttpResetClass()
|
|
501
|
+
let requestData = {
|
|
502
|
+
tables: this.data.tables,
|
|
503
|
+
start_activity: this.$workflow_vue.start_activity,
|
|
504
|
+
model: model,
|
|
505
|
+
loginUser: this.$login.f,
|
|
506
|
+
workflow_xmlfilename: this.$workflow_vue.workflow_xmlfilename
|
|
507
|
+
}
|
|
508
|
+
// 下发,提交,保存,退回通用业务后台处理logic
|
|
509
|
+
let url = 'rs/logic/ApplyProductService'
|
|
510
|
+
let res = await http.load('POST', url, {data: requestData}, {resolveMsg: null, rejectMsg: '数据保存失败'})
|
|
511
|
+
|
|
512
|
+
if (res.data.code == 200) {
|
|
513
|
+
this.$dispatch('search')
|
|
514
|
+
} else {
|
|
515
|
+
if (res.data.msg) {
|
|
516
|
+
this.$showMessage(res.data.msg)
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
},
|
|
520
|
+
async 'initializtionView'() {
|
|
852
521
|
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
522
|
+
if (this.show_data.defname === '报装申请' && this.show_data.f_apply_type === '工商户报装') {
|
|
523
|
+
await this.getStreetList()
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
// 失去焦点出触发事件
|
|
527
|
+
async 'onchange'(index) {
|
|
528
|
+
console.log('失去焦点')
|
|
858
529
|
|
|
859
|
-
|
|
530
|
+
if (this.show_data.defname === '报装申请' && this.show_data.f_apply_type === '工商户报装'){
|
|
860
531
|
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
532
|
+
if (this.show_data.fields[index].label === '区/县'){
|
|
533
|
+
console.log('-----------添加街道-----------')
|
|
534
|
+
if (this.show_data.fields[index].value === null || this.show_data.fields[index].value === '') {
|
|
535
|
+
this.show_data.fields[index].value = null
|
|
536
|
+
this.$showAlert('区/县不能为空!!!', 'warning', 3000)
|
|
537
|
+
return
|
|
538
|
+
}
|
|
539
|
+
this.setLabelValue('街道', '')
|
|
540
|
+
await this.getStreetList()
|
|
541
|
+
}
|
|
542
|
+
if (this.show_data.fields[index].label === '街道') {
|
|
543
|
+
this.setLabelValue('小区', '')
|
|
544
|
+
await this.getAreaList()
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
// 地址拼接
|
|
548
|
+
if (
|
|
549
|
+
this.show_data.fields[index].label === '区/县' ||
|
|
550
|
+
this.show_data.fields[index].label === '街道' ||
|
|
551
|
+
this.show_data.fields[index].label === '小区' ||
|
|
552
|
+
this.show_data.fields[index].label === '门牌号'
|
|
553
|
+
) {
|
|
554
|
+
let f_address = null
|
|
555
|
+
f_address = this.getLableValue('区/县') + this.getLableValue('街道') + this.getLableValue('小区') + this.getLableValue('门牌号')
|
|
556
|
+
this.setLabelValue('地址',f_address)
|
|
557
|
+
}
|
|
558
|
+
if (this.show_data.defname === '竣工验收') {
|
|
559
|
+
if (this.show_data.fields[index].label === '验收是否合格'){
|
|
560
|
+
for (const button of this.show_data.buttons) {
|
|
561
|
+
if (this.show_data.fields[index].value === '否' && button.button_name === '退回') {
|
|
562
|
+
button.hidden = false
|
|
563
|
+
} else {
|
|
564
|
+
button.hidden = true
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
}
|
|
880
568
|
}
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
569
|
+
if (this.show_data.defname === '合同签订') {
|
|
570
|
+
if (this.show_data.fields[index].label === '合同编号') {
|
|
571
|
+
if (!isEmpty(this.show_data.fields[index].value)) {
|
|
572
|
+
let http = new HttpResetClass()
|
|
573
|
+
let data = {
|
|
574
|
+
tablename: 't_apply',
|
|
575
|
+
condition: `f_contract_number='${this.show_data.fields[index].value}'`
|
|
576
|
+
}
|
|
577
|
+
let res = await http.load('POST', 'rs/sql/singleTable', {data: data}, {
|
|
578
|
+
resolveMsg: null,
|
|
579
|
+
rejectMsg: '合同编号查重失败'
|
|
580
|
+
})
|
|
581
|
+
if (res.data.length > 0) {
|
|
582
|
+
this.show_data.fields[index].value = null
|
|
583
|
+
this.$showAlert('合同编号已存在!!!', 'warning', 3000)
|
|
584
|
+
}
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
if (this.show_data.fields[index].label === '单价(户)') {
|
|
588
|
+
let http = new HttpResetClass()
|
|
589
|
+
let data = {
|
|
590
|
+
num1: this.getLableValue(this.show_data.fields[index].label),
|
|
591
|
+
num2: this.getLableValue('户数'),
|
|
592
|
+
operator: '*'
|
|
593
|
+
}
|
|
594
|
+
try {
|
|
595
|
+
let res = await http.load('POST', 'rs/logic/compute', {data: data}, {
|
|
596
|
+
resolveMsg: null,
|
|
597
|
+
rejectMsg: null
|
|
598
|
+
})
|
|
599
|
+
data = {
|
|
600
|
+
num1: res.data,
|
|
601
|
+
num2: this.getLableValue('其他费用'),
|
|
602
|
+
operator: '+'
|
|
603
|
+
}
|
|
604
|
+
res = await http.load('POST', 'rs/logic/compute', {data: data}, {
|
|
605
|
+
resolveMsg: null,
|
|
606
|
+
rejectMsg: null
|
|
607
|
+
})
|
|
608
|
+
this.setLabelValue('合同金额',res.data)
|
|
609
|
+
} catch (e) {
|
|
610
|
+
this.$showAlert(e.data.msg, 'warning', 3000)
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
if (this.show_data.fields[index].label === '其他费用') {
|
|
614
|
+
let http = new HttpResetClass()
|
|
615
|
+
let data = {
|
|
616
|
+
num1: this.getLableValue(this.show_data.fields[index].label),
|
|
617
|
+
num2: this.getLableValue('合同金额'),
|
|
618
|
+
operator: '+'
|
|
619
|
+
}
|
|
620
|
+
try {
|
|
621
|
+
let res = await http.load('POST', 'rs/logic/compute', {data: data}, {
|
|
622
|
+
resolveMsg: null,
|
|
623
|
+
rejectMsg: null
|
|
624
|
+
})
|
|
625
|
+
this.setLabelValue('合同金额',res.data)
|
|
626
|
+
} catch (e) {
|
|
627
|
+
this.$showAlert(e.data.msg, 'warning', 3000)
|
|
628
|
+
}
|
|
629
|
+
}
|
|
898
630
|
}
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
this.setLabelValue("地址", f_address)
|
|
909
|
-
},
|
|
910
|
-
},
|
|
911
|
-
events: {
|
|
912
|
-
// 强制开关阀
|
|
913
|
-
async 'onOffValve' () {
|
|
914
|
-
let data = {
|
|
915
|
-
condition: `ui.f_userinfo_id = '${this.show_data.f_userinfo_id}'`
|
|
916
|
-
}
|
|
917
|
-
let http = new HttpResetClass()
|
|
918
|
-
let res = await http.load(
|
|
919
|
-
'POST',
|
|
920
|
-
`rs/sql/getApplyUserinfo`,
|
|
921
|
-
{data: data},
|
|
922
|
-
{resolveMsg: null, rejectMsg: '档案获取失败!!!'}
|
|
923
|
-
)
|
|
924
|
-
|
|
925
|
-
let userinfo = res.data[0]
|
|
926
|
-
|
|
927
|
-
if (this.show_data.button.button_name !== '退出强制状态') {
|
|
928
|
-
data = {
|
|
929
|
-
condition: `t_userfiles.f_meternumber = '${userinfo.f_meternumber}'`,
|
|
930
|
-
contentData: {
|
|
931
|
-
isOpen: this.show_data.button.button_name === '强制开阀' ? 1 : 0
|
|
932
|
-
},
|
|
933
|
-
inputtor: this.$login.f.name,
|
|
934
|
-
instructTitle: this.show_data.button.button_name === '强制开阀' ? '开阀' : '关阀',
|
|
935
|
-
instructType: '阀门控制',
|
|
936
|
-
meterBrandName: userinfo.f_alias
|
|
631
|
+
// ========================= 武安 =================================
|
|
632
|
+
// 号码检测
|
|
633
|
+
if (this.show_data.fields[index].label === '电话号码') {
|
|
634
|
+
let phone = this.show_data.fields[index].value
|
|
635
|
+
// 电话号码效验
|
|
636
|
+
if (!(/^1[3456789]\d{9}$/.test(phone))) {
|
|
637
|
+
this.show_data.fields[index].value = ""
|
|
638
|
+
this.$showAlert('电话号码格式不正确,请重新输入。', 'info', 2000)
|
|
639
|
+
}
|
|
937
640
|
}
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
data = {
|
|
947
|
-
f_user_id: userinfo.f_user_id,
|
|
948
|
-
f_userinfo_id: userinfo.f_userinfo_id,
|
|
949
|
-
record: {
|
|
950
|
-
f_filiale: this.$login.f.f_fengongsi,
|
|
951
|
-
f_instruct_meta_data: this.show_data.button.button_name === '退出强制状态' ? '退出强制阀控' : '进入强制阀控',
|
|
952
|
-
f_instruct_title: this.show_data.button.button_name === '退出强制状态' ? '退出强制阀控' : '进入强制阀控',
|
|
953
|
-
f_instruct_type: '阀门控制',
|
|
954
|
-
f_meternumber: userinfo.f_meternumber,
|
|
955
|
-
f_operator: this.$login.f.name,
|
|
956
|
-
f_outlets: userinfo.f_outlets,
|
|
957
|
-
f_reason: this.show_data.button.f_reason,
|
|
958
|
-
f_user_id: userinfo.f_user_id,
|
|
959
|
-
f_userinfo_id: userinfo.f_userinfo_id
|
|
960
|
-
},
|
|
961
|
-
state: this.show_data.button.button_name === '退出强制状态' ? 0 : 1
|
|
962
|
-
}
|
|
963
|
-
|
|
964
|
-
res = await http.load(
|
|
965
|
-
'POST',
|
|
966
|
-
`rs/logic/updateNetWorkValve`,
|
|
967
|
-
{data: data},
|
|
968
|
-
{resolveMsg: '执行成功!!!', rejectMsg: `执行失败!!!`}
|
|
969
|
-
)
|
|
970
|
-
|
|
971
|
-
},
|
|
972
|
-
// 修改用户档案
|
|
973
|
-
async 'updateUserinfoState' () {
|
|
974
|
-
let data = {
|
|
975
|
-
f_userinfo_id: this.show_data.f_userinfo_id
|
|
976
|
-
}
|
|
977
|
-
let http = new HttpResetClass()
|
|
978
|
-
let res = await http.load(
|
|
979
|
-
'POST',
|
|
980
|
-
`rs/logic/updateUserinfoState`,
|
|
981
|
-
{data: data},
|
|
982
|
-
{resolveMsg: '该用户档案已为正常档案,可进行开关阀操作!!!', rejectMsg: '档案状态修改失败!!!'}
|
|
983
|
-
)
|
|
984
|
-
|
|
985
|
-
this.showButtons('强制开阀','强制关阀')
|
|
986
|
-
this.hideButtons('转正式档案')
|
|
987
|
-
},
|
|
988
|
-
// 选择用户
|
|
989
|
-
async 'selectUserinfo' (row) {
|
|
990
|
-
this.setLabelValue('用户编号', row.f_userinfo_id)
|
|
991
|
-
this.setLabelValue('用户名称', row.f_user_name)
|
|
992
|
-
this.setLabelValue('用户电话', row.f_user_phone)
|
|
993
|
-
this.setLabelValue('证件类型', row.f_credentials)
|
|
994
|
-
this.setLabelValue('证件号码', row.f_idnumber)
|
|
995
|
-
this.setLabelValue('地址', row.f_address)
|
|
996
|
-
|
|
997
|
-
this.show_data.f_userinfo_id = row.f_userinfo_id
|
|
998
|
-
},
|
|
999
|
-
async 'getPrice' (index) {
|
|
1000
|
-
if (isEmpty(this.show_data.f_gas_nature) || isEmpty(this.show_data.f_price_type)) {
|
|
1001
|
-
return
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
if (index) {
|
|
1005
|
-
this.setLabelValue('气价名称', null)
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
if (this.show_data.f_price_type === '混合气价') {
|
|
1009
|
-
this.showLabels('比率')
|
|
1010
|
-
} else {
|
|
1011
|
-
this.setLabelValue('比率', null)
|
|
1012
|
-
this.hideLabels('比率')
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
|
-
let data = {
|
|
1016
|
-
condition: `sp.f_filiale = '${this.$login.f.f_fengongsi}' and sp.f_price_type = '${this.show_data.f_price_type}' and f_gasproperties = '${this.show_data.f_gas_nature}'`
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
if (this.show_data.f_apply_type === '民用报建') {
|
|
1020
|
-
data.condition += `and f_user_type = '民用'`
|
|
1021
|
-
}
|
|
1022
|
-
if (this.show_data.f_apply_type === '非民用报建') {
|
|
1023
|
-
data.condition += `and f_user_type = '非民用'`
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
let http = new HttpResetClass()
|
|
1028
|
-
let res = await http.load(
|
|
1029
|
-
'POST',
|
|
1030
|
-
`rs/sql/applyGetPrice`,
|
|
1031
|
-
{data: data},
|
|
1032
|
-
{resolveMsg: null, rejectMsg: '气价查询失败!!!'}
|
|
1033
|
-
)
|
|
1034
|
-
|
|
1035
|
-
this.setLabelOptions('气价名称', res.data.map(item => {
|
|
1036
|
-
return {
|
|
1037
|
-
label: item.f_price_name,
|
|
1038
|
-
value: `${item.id}`
|
|
641
|
+
//时间提醒
|
|
642
|
+
if (this.show_data.fields[index].label.includes("时间") || this.show_data.fields[index].type === 'datepicker') {
|
|
643
|
+
let setTime = this.show_data.fields[index].value
|
|
644
|
+
let nowTime = new Date().Format("yyyy-MM-dd HH:mm:ss")
|
|
645
|
+
if (nowTime >= setTime) {
|
|
646
|
+
this.$showMessage("请注意,当前节点时间/工期已过期!")
|
|
647
|
+
}
|
|
1039
648
|
}
|
|
1040
|
-
}
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
this.setLabelOptions('街道', res.data)
|
|
1070
|
-
|
|
1071
|
-
this.addressSplicing()
|
|
1072
|
-
},
|
|
1073
|
-
// 区县市区焦点
|
|
1074
|
-
'changeArea' () {
|
|
1075
|
-
if (isEmpty(this.show_data.f_area)) {
|
|
1076
|
-
return
|
|
1077
|
-
}
|
|
1078
|
-
this.setLabelValue('片区', null)
|
|
1079
|
-
this.setLabelValue('街道', null)
|
|
1080
|
-
this.setLabelOptions('片区', this.$appdata.getParam(`${this.show_data.f_area}片区`))
|
|
1081
|
-
this.setLabelOptions('街道', [])
|
|
1082
|
-
|
|
1083
|
-
this.addressSplicing()
|
|
1084
|
-
},
|
|
1085
|
-
// 开启签字
|
|
1086
|
-
async 'startSignActivity' () {
|
|
1087
|
-
this.hideButtons('签字')
|
|
1088
|
-
await this.userSignBefore()
|
|
1089
|
-
|
|
1090
|
-
let data = {
|
|
1091
|
-
apply: this.show_data,
|
|
1092
|
-
user: this.$login.f
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
let res = await this.$resetpost(
|
|
1096
|
-
`rs/logic/startSignActivity`,
|
|
1097
|
-
{data: data},
|
|
1098
|
-
{resolveMsg: '签字流程已发起!!!', rejectMsg: '签字发起失败!!!'}
|
|
1099
|
-
)
|
|
1100
|
-
|
|
1101
|
-
this.$dispatch('breakControl', this.show_data)
|
|
1102
|
-
},
|
|
1103
|
-
// 工程施工初始化
|
|
1104
|
-
async 'buildReadyEvent' () {
|
|
1105
|
-
if(this.getLableValue('是否发起签字') === '是') {
|
|
1106
|
-
this.hideButtons('签字')
|
|
1107
|
-
}
|
|
1108
|
-
|
|
1109
|
-
let data = {
|
|
1110
|
-
f_process_id: this.show_data.f_process_id
|
|
1111
|
-
}
|
|
1112
|
-
let http = new HttpResetClass()
|
|
1113
|
-
let res = await http.load(
|
|
1114
|
-
'POST',
|
|
1115
|
-
`rs/sql/getSingAct`,
|
|
1116
|
-
{data: data},
|
|
1117
|
-
{resolveMsg: null, rejectMsg: '签字状态查询失败!!!'}
|
|
1118
|
-
)
|
|
1119
|
-
if (res.data.length > 0) {
|
|
1120
|
-
this.setLabelValue('签字所在环节', res.data[0].defname)
|
|
1121
|
-
return
|
|
1122
|
-
}
|
|
1123
|
-
this.setLabelValue('签字所在环节', null)
|
|
1124
|
-
|
|
1125
|
-
if (isEmpty(this.show_data.f_meter_brand)) {
|
|
1126
|
-
return
|
|
1127
|
-
}
|
|
1128
|
-
data = {
|
|
1129
|
-
f_gasbrand_id: this.show_data.f_meter_brand
|
|
1130
|
-
}
|
|
1131
|
-
res = await http.load(
|
|
1132
|
-
'POST',
|
|
1133
|
-
`rs/sql/getGasModel`,
|
|
1134
|
-
{data: data},
|
|
1135
|
-
{resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
|
|
1136
|
-
)
|
|
1137
|
-
this.setLabelOptions('气表型号', res.data)
|
|
649
|
+
},
|
|
650
|
+
// input值发生变化
|
|
651
|
+
async 'oninput'(index) {
|
|
652
|
+
|
|
653
|
+
},
|
|
654
|
+
// 错误事件
|
|
655
|
+
error_check(index) {
|
|
656
|
+
// 时间格式检测
|
|
657
|
+
if (this.show_data.fields[index].type == 'datepicker') {
|
|
658
|
+
let dateRe = new RegExp(/(([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29)$/)
|
|
659
|
+
let datetimeRe = new RegExp(/((([0-9]{3}[1-9]|[0-9]{2}[1-9][0-9]{1}|[0-9]{1}[1-9][0-9]{2}|[1-9][0-9]{3})-(((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01]))|((0[469]|11)-(0[1-9]|[12][0-9]|30))|(02-(0[1-9]|[1][0-9]|2[0-8]))))|((([0-9]{2})(0[48]|[2468][048]|[13579][26])|((0[48]|[2468][048]|[3579][26])00))-02-29))\s([0-1][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/)
|
|
660
|
+
if (datetimeRe.test(this.show_data.fields[index].value) && this.show_data.fields[index].value.trim().length == 19 && this.show_data.fields[index].fullsize) {
|
|
661
|
+
this.show_data.fields[index].error.flag = false
|
|
662
|
+
} else if (dateRe.test(this.show_data.fields[index].value) && this.show_data.fields[index].value.trim().length == 10) {
|
|
663
|
+
this.show_data.fields[index].error.flag = false
|
|
664
|
+
} else {
|
|
665
|
+
if (this.show_data.fields[index].fullsize) {
|
|
666
|
+
this.show_data.fields[index].error = Object.assign({}, this.show_data.fields[index].error)
|
|
667
|
+
this.show_data.fields[index].error.msg = this.show_data.fields[index].error.msg ? this.show_data.fields[index].error.msg : '时间格式如:2019-05-02 09:23:21'
|
|
668
|
+
this.$showAlert(this.show_data.fields[index].label + '格式错误' + this.show_data.fields[index].error.msg, 'warning', 3000)
|
|
669
|
+
this.show_data.fields[index].error.flag = true
|
|
670
|
+
this.show_data.fields[index].value = ''
|
|
671
|
+
} else {
|
|
672
|
+
this.show_data.fields[index].error = Object.assign({}, this.show_data.fields[index].error)
|
|
673
|
+
this.show_data.fields[index].error.msg = this.show_data.fields[index].error.msg ? this.show_data.fields[index].error.msg : '时间格式如:2019-05-02'
|
|
674
|
+
this.$showAlert(this.show_data.fields[index].label + '格式错误' + this.show_data.fields[index].error.msg, 'warning', 3000)
|
|
675
|
+
this.show_data.fields[index].error.flag = true
|
|
676
|
+
this.show_data.fields[index].value = ''
|
|
677
|
+
}
|
|
1138
678
|
|
|
1139
|
-
|
|
1140
|
-
let data = {
|
|
1141
|
-
condition: `ui.f_userinfo_id = '${this.show_data.f_userinfo_id}'`
|
|
679
|
+
}
|
|
1142
680
|
}
|
|
681
|
+
},
|
|
682
|
+
// onetomany模态框默认监听监听事件
|
|
683
|
+
async 'onetomanydelete'(i, j) {
|
|
684
|
+
console.log('默认删除')
|
|
1143
685
|
let http = new HttpResetClass()
|
|
1144
|
-
let
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
686
|
+
let data = {
|
|
687
|
+
table: this.show_data.onetomany[i].tables[0],
|
|
688
|
+
row: this.show_data.onetomany[i].rows[j]
|
|
689
|
+
}
|
|
690
|
+
let res = await http.load('POST', 'rs/logic/onetomanyDefaultDeleteEvent', {data: data}, {
|
|
691
|
+
resolveMsg: null,
|
|
692
|
+
rejectMsg: '删除失败'
|
|
693
|
+
})
|
|
1150
694
|
|
|
1151
|
-
if (res.data
|
|
695
|
+
if (res.data <= 0){
|
|
696
|
+
this.$showMessage('删除失败')
|
|
1152
697
|
return
|
|
1153
698
|
}
|
|
1154
|
-
if (res.data[0].f_user_state === '正常') {
|
|
1155
|
-
this.showButtons('退出强制状态','强制关阀')
|
|
1156
|
-
this.hideButtons('转正式档案')
|
|
1157
|
-
} else {
|
|
1158
|
-
this.showButtons('转正式档案')
|
|
1159
|
-
this.hideButtons('退出强制状态','强制关阀')
|
|
1160
|
-
}
|
|
1161
|
-
}
|
|
1162
|
-
},
|
|
1163
|
-
// 工程派工初始化
|
|
1164
|
-
async 'dispatchReadyEvent' () {
|
|
1165
|
-
if (isEmpty(this.show_data.f_meter_brand)) {
|
|
1166
|
-
return
|
|
1167
|
-
}
|
|
1168
|
-
let data = {
|
|
1169
|
-
f_gasbrand_id: this.show_data.f_meter_brand
|
|
1170
|
-
}
|
|
1171
|
-
let http = new HttpResetClass()
|
|
1172
|
-
let res = await http.load(
|
|
1173
|
-
'POST',
|
|
1174
|
-
`rs/sql/getGasModel`,
|
|
1175
|
-
{data: data},
|
|
1176
|
-
{resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
|
|
1177
|
-
)
|
|
1178
699
|
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
async 'meterBrandChenge' (index) {
|
|
1183
|
-
if (isEmpty(this.show_data.f_meter_brand)) {
|
|
1184
|
-
return
|
|
1185
|
-
}
|
|
1186
|
-
this.setLabelValue('气表型号', null)
|
|
1187
|
-
let data = {
|
|
1188
|
-
f_gasbrand_id: this.show_data.f_meter_brand
|
|
1189
|
-
}
|
|
1190
|
-
let http = new HttpResetClass()
|
|
1191
|
-
let res = await http.load(
|
|
1192
|
-
'POST',
|
|
1193
|
-
`rs/sql/getGasModel`,
|
|
1194
|
-
{data: data},
|
|
1195
|
-
{resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
|
|
1196
|
-
)
|
|
700
|
+
this.$dispatch('breakControl', this.show_data)
|
|
701
|
+
},
|
|
702
|
+
async 'onetomanyadd'(index) {
|
|
1197
703
|
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
}
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
{
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
'installCountChange' (index) {
|
|
1222
|
-
if (isEmpty(this.show_data.f_install_count)) {
|
|
1223
|
-
return
|
|
1224
|
-
}
|
|
1225
|
-
if (Number(this.show_data.f_install_count) > Number(this.show_data.f_apply_count)) {
|
|
1226
|
-
this.$showAlert('安装数已超过申请数!!!', 'warning', 3000)
|
|
1227
|
-
// this.setLabelValue('安装户数', null)
|
|
1228
|
-
// this.setLabelValue('安装点数', null)
|
|
1229
|
-
// return
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
if (Number(this.show_data.f_install_count) <= 0) {
|
|
1233
|
-
this.$showAlert('至少有安装一个!!!', 'warning', 3000)
|
|
1234
|
-
this.setLabelValue('安装户数', null)
|
|
1235
|
-
this.setLabelValue('安装点数', null)
|
|
1236
|
-
return
|
|
1237
|
-
}
|
|
1238
|
-
},
|
|
1239
|
-
// 报建性质失去焦点
|
|
1240
|
-
'applyNatureChange' (index) {
|
|
1241
|
-
if (this.show_data.f_apply_nature === '散户') {
|
|
1242
|
-
this.hideLabels('营业执照', '小区')
|
|
1243
|
-
this.electiveLabels('营业执照', '购货单位识别号', '购货单位银行账号', '购货单位地址电话', '小区')
|
|
1244
|
-
}
|
|
1245
|
-
if (this.show_data.f_apply_nature === '小区') {
|
|
1246
|
-
this.showLabels('营业执照', '小区')
|
|
1247
|
-
this.requiredLabels('营业执照', '购货单位识别号', '购货单位银行账号', '购货单位地址电话', '小区')
|
|
1248
|
-
}
|
|
1249
|
-
},
|
|
1250
|
-
// ===========================================
|
|
1251
|
-
'initializtionView' () {
|
|
1252
|
-
if (this.show_data.f_apply_nature === '散户') {
|
|
1253
|
-
this.hideLabels('营业执照', '小区')
|
|
1254
|
-
this.electiveLabels('营业执照', '购货单位识别号', '购货单位银行账号', '购货单位地址电话', '小区')
|
|
1255
|
-
}
|
|
1256
|
-
if (this.show_data.f_apply_nature === '小区') {
|
|
1257
|
-
this.showLabels('营业执照', '小区')
|
|
1258
|
-
this.requiredLabels('营业执照', '购货单位识别号', '购货单位银行账号', '购货单位地址电话', '小区')
|
|
1259
|
-
// this.hideComponents('用户花名单')
|
|
1260
|
-
}
|
|
1261
|
-
},
|
|
1262
|
-
// 检查重复
|
|
1263
|
-
'checkRepeat' (index) {
|
|
1264
|
-
this.checkDuplicate(index)
|
|
1265
|
-
},
|
|
1266
|
-
async 'button'() {
|
|
1267
|
-
if (this.show_data.button.before) {
|
|
1268
|
-
await this[this.show_data.button.before]()
|
|
1269
|
-
}
|
|
1270
|
-
// 点击重置按钮就重置数据
|
|
1271
|
-
if (this.show_data.button.button_name === '重置') {
|
|
1272
|
-
this.$dispatch('breakControl', this.selectdata)
|
|
1273
|
-
return
|
|
1274
|
-
}
|
|
1275
|
-
|
|
1276
|
-
this.show_data.start_activity = this.$workflow_vue.start_activity
|
|
1277
|
-
this.show_data.xmlfilename = this.$workflow_vue.workflow_xmlfilename
|
|
1278
|
-
|
|
1279
|
-
let data = {
|
|
1280
|
-
apply: this.show_data,
|
|
1281
|
-
user: this.$login.f
|
|
1282
|
-
}
|
|
1283
|
-
|
|
1284
|
-
let res = await this.$resetpost(
|
|
1285
|
-
`rs/logic/ApplyProductService`,
|
|
1286
|
-
{data: data},
|
|
1287
|
-
{resolveMsg: null, rejectMsg: '数据保存失败'}
|
|
1288
|
-
)
|
|
1289
|
-
|
|
1290
|
-
if (this.show_data.button.after) {
|
|
1291
|
-
this[this.show_data.button.after]()
|
|
1292
|
-
}
|
|
1293
|
-
this.$dispatch('loadPage')
|
|
1294
|
-
},
|
|
1295
|
-
// 失去焦点出触发事件
|
|
1296
|
-
'onchange' (index) {
|
|
1297
|
-
},
|
|
1298
|
-
selectSearch (val, index) {},
|
|
1299
|
-
'onblur' (index) {},
|
|
1300
|
-
'oninput' (index) {},
|
|
1301
|
-
async 'onchangeModal' (index, fieldIndex) {
|
|
1302
|
-
},
|
|
1303
|
-
async 'onblurModal' (index, fieldIndex) {
|
|
1304
|
-
|
|
1305
|
-
},
|
|
1306
|
-
async 'oninputModal' (index, fieldIndex) {
|
|
1307
|
-
|
|
1308
|
-
},
|
|
1309
|
-
async 'onetomanydelete' (index, rowIndex) {
|
|
1310
|
-
|
|
1311
|
-
let http = new HttpResetClass()
|
|
1312
|
-
|
|
1313
|
-
let res = await http.load(
|
|
1314
|
-
'DELETE',
|
|
1315
|
-
`rs/entity/${this.show_data.onetomany[index].tables[0]}/${this.show_data.onetomany[index].rows[rowIndex].id}`,
|
|
1316
|
-
null,
|
|
1317
|
-
{resolveMsg: null, rejectMsg: '删除失败!!!'}
|
|
1318
|
-
)
|
|
1319
|
-
|
|
1320
|
-
res = await this.$resetpost(
|
|
1321
|
-
'rs/entity/t_apply',
|
|
1322
|
-
this.show_data
|
|
1323
|
-
)
|
|
1324
|
-
|
|
1325
|
-
this.$dispatch('breakControl', this.show_data)
|
|
1326
|
-
},
|
|
1327
|
-
async 'onetomanyupdate' (index, rowIndex) {
|
|
1328
|
-
let data = this.show_data.onetomany[index].rows[rowIndex]
|
|
1329
|
-
|
|
1330
|
-
this.show_data.onetomany[index].fields.forEach(item => {
|
|
1331
|
-
data[item.field] = item.value
|
|
1332
|
-
})
|
|
1333
|
-
let res = await this.$resetpost(
|
|
1334
|
-
`rs/entity/${this.show_data.onetomany[index].tables[0]}`,
|
|
1335
|
-
data
|
|
1336
|
-
)
|
|
1337
|
-
|
|
1338
|
-
res = await this.$resetpost(
|
|
1339
|
-
'rs/entity/t_apply',
|
|
1340
|
-
this.show_data
|
|
1341
|
-
)
|
|
1342
|
-
|
|
1343
|
-
this.$dispatch('breakControl', this.show_data)
|
|
1344
|
-
},
|
|
1345
|
-
async 'onetomanyadd' (index) {
|
|
1346
|
-
let data = {
|
|
1347
|
-
f_process_id : this.show_data.f_process_id,
|
|
1348
|
-
f_operator_id: this.$login.f.id,
|
|
1349
|
-
f_operator: this.$login.f.name,
|
|
1350
|
-
f_operation_date: new Date().Format('yyyy-MM-dd HH:mm:ss'),
|
|
1351
|
-
f_orgid: this.$login.f.orgid,
|
|
1352
|
-
f_orgname: this.$login.f.orgs
|
|
1353
|
-
}
|
|
1354
|
-
this.show_data.onetomany[index].fields.forEach(item => {
|
|
1355
|
-
data[item.field] = item.value
|
|
1356
|
-
})
|
|
1357
|
-
let res = await this.$resetpost(
|
|
1358
|
-
`rs/entity/${this.show_data.onetomany[index].tables[0]}`,
|
|
1359
|
-
data
|
|
1360
|
-
)
|
|
1361
|
-
|
|
1362
|
-
res = await this.$resetpost(
|
|
1363
|
-
'rs/entity/t_apply',
|
|
1364
|
-
this.show_data
|
|
1365
|
-
)
|
|
704
|
+
let data = {
|
|
705
|
+
f_process_id : this.show_data.f_process_id
|
|
706
|
+
}
|
|
707
|
+
this.show_data.onetomany[index].fields.forEach(item => {
|
|
708
|
+
data[item.field] = item.value
|
|
709
|
+
})
|
|
710
|
+
let res = await this.$resetpost(
|
|
711
|
+
`rs/entity/${this.show_data.onetomany[index].tables[0]}`,
|
|
712
|
+
data
|
|
713
|
+
)
|
|
714
|
+
this.$dispatch('breakControl', this.show_data)
|
|
715
|
+
},
|
|
716
|
+
async 'onetomanyupdate'(i, j) {
|
|
717
|
+
let onetomany = this.show_data.onetomany[i]
|
|
718
|
+
let data = onetomany.rows[j]
|
|
719
|
+
|
|
720
|
+
onetomany.fields.forEach(item => {
|
|
721
|
+
data[item.field] = item.value
|
|
722
|
+
})
|
|
723
|
+
let res = await this.$resetpost(
|
|
724
|
+
`rs/entity/${this.show_data.onetomany[i].tables[0]}`,
|
|
725
|
+
data
|
|
726
|
+
)
|
|
1366
727
|
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
this.showButtons('终止')
|
|
1374
|
-
} else {
|
|
1375
|
-
this.hideButtons('终止')
|
|
1376
|
-
this.showButtons('下发','提交')
|
|
728
|
+
this.$dispatch('breakControl', this.show_data)
|
|
729
|
+
},
|
|
730
|
+
// onetomany模态框监听事件
|
|
731
|
+
async 'onchange_modal'(index, i) {
|
|
732
|
+
},
|
|
733
|
+
async 'oninput_modal'(index, i) {
|
|
1377
734
|
}
|
|
1378
735
|
},
|
|
1379
|
-
|
|
1380
|
-
let data = {
|
|
1381
|
-
selectdata: this.show_data,
|
|
1382
|
-
table: table,
|
|
1383
|
-
filepath: filepath,
|
|
1384
|
-
configName: configName,
|
|
1385
|
-
user: this.$login.f
|
|
1386
|
-
}
|
|
1387
|
-
|
|
1388
|
-
let res = await this.$resetpost(
|
|
1389
|
-
`rs/logic/importEvent`,
|
|
1390
|
-
data
|
|
1391
|
-
)
|
|
1392
|
-
|
|
1393
|
-
this.$dispatch('breakControl', this.show_data)
|
|
1394
|
-
},
|
|
1395
|
-
'onbutchange' (index) {
|
|
1396
|
-
|
|
1397
|
-
},
|
|
1398
|
-
'onbutblur' (index) {
|
|
1399
|
-
|
|
1400
|
-
},
|
|
1401
|
-
'onbutinput' (index) {
|
|
1402
|
-
|
|
736
|
+
watch: {
|
|
1403
737
|
}
|
|
1404
|
-
},
|
|
1405
|
-
watch: {
|
|
1406
738
|
}
|
|
1407
|
-
}
|
|
1408
739
|
</script>
|
|
1409
740
|
<style scoped>
|
|
1410
|
-
/*清除model中的浮动*/
|
|
1411
|
-
.clearfix:after,.clearfix:before{
|
|
1412
|
-
|
|
1413
|
-
}
|
|
1414
|
-
.clearfix:after{
|
|
1415
|
-
|
|
1416
|
-
}
|
|
741
|
+
/*清除model中的浮动*/
|
|
742
|
+
.clearfix:after,.clearfix:before{
|
|
743
|
+
display: table;
|
|
744
|
+
}
|
|
745
|
+
.clearfix:after{
|
|
746
|
+
clear: both;
|
|
747
|
+
}
|
|
1417
748
|
</style>
|