apply-clients 3.4.76 → 3.4.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dev-server.js +120 -119
- package/package.json +1 -1
- package/src/components/product/Ignition/IgnitionListManage.vue +420 -420
- package/src/components/product/Process/Service/ServiceControl.vue +1928 -1928
- package/src/filiale/shexian/android/AppExplorationUser.vue +487 -487
- package/src/filiale/shexian/android/AppInstallationDetails.vue +494 -0
- package/src/filiale/shexian/android/AppServiceView.vue +745 -0
- package/src/filiale/shexian/android.js +10 -8
- package/src/filiale/shexian/pc/InstallationDetails.vue +614 -0
- package/src/filiale/shexian/pc.js +8 -7
- package/src/main.js +23 -23
- package/dist-android/static/0.68b45dd6665d95e65c33.js +0 -2
- package/dist-android/static/1.80d8977616c7c12b7af9.js +0 -1
- package/dist-android/static/10.f5b38719cf759cdaf30b.js +0 -2
- package/dist-android/static/11.da9d1dc6b3d3b0afdfb0.js +0 -2
- package/dist-android/static/12.0a445de8782b0c9e90bf.js +0 -1
- package/dist-android/static/13.922509a433e667a476e5.js +0 -1
- package/dist-android/static/14.db06181765d81baf5cbb.js +0 -1
- package/dist-android/static/15.0d662b8ce36cc983f55f.js +0 -1
- package/dist-android/static/16.02ffeb80c794d52cc05b.js +0 -1
- package/dist-android/static/17.9df21714d8510c924622.js +0 -1
- package/dist-android/static/18.23870c83910093244c4d.js +0 -1
- package/dist-android/static/19.05a7de4086cdeaf941a3.js +0 -1
- package/dist-android/static/2.a8212d24013b8aff0e90.js +0 -1
- package/dist-android/static/20.77ef8859683206c4053b.js +0 -1
- package/dist-android/static/21.7a2b8cbdd87e750bb68c.js +0 -1
- package/dist-android/static/22.fcb6d54375cc2aed8d8a.js +0 -1
- package/dist-android/static/23.2a43413ded0c53f046b0.js +0 -1
- package/dist-android/static/24.773855dfeab42a232778.js +0 -1
- package/dist-android/static/25.4144e5e465dfe1930e8a.js +0 -1
- package/dist-android/static/27.92303edf5e513839988d.js +0 -13
- package/dist-android/static/28.ec077b1393009a6ac91d.js +0 -3
- package/dist-android/static/29.6519a95fc0f8cf001aca.js +0 -3
- package/dist-android/static/3.d03c06455952af580398.js +0 -1
- package/dist-android/static/30.da90dfe911c6c930a460.js +0 -2
- package/dist-android/static/31.7510bed78757fe6f5429.js +0 -1
- package/dist-android/static/32.4fde305b2f004b2f8ae6.js +0 -1
- package/dist-android/static/33.b7c4eebaca777a1739cc.js +0 -2
- package/dist-android/static/34.b8fce20028dae1fe22c7.js +0 -1
- package/dist-android/static/35.bacc1f42bc3aaba3f6c1.js +0 -1
- package/dist-android/static/36.be29bd4ca2eee30d18d3.js +0 -1
- package/dist-android/static/37.b6b19986f63d12cb6583.js +0 -1
- package/dist-android/static/38.fce6d8c12747a01dd095.js +0 -1
- package/dist-android/static/39.a559012aafe7aff96d0d.js +0 -1
- package/dist-android/static/4.4aafc84956e965362a8c.js +0 -13
- package/dist-android/static/40.61ff080ce5dea5d201d5.js +0 -1
- package/dist-android/static/41.7029304a3d33521ca1c6.js +0 -1
- package/dist-android/static/42.de71132c19548f6f89a7.js +0 -1
- package/dist-android/static/43.4eca68b0f272638b9797.js +0 -1
- package/dist-android/static/44.321d337802ce2f113887.js +0 -1
- package/dist-android/static/45.f0b260e67c4cdb5845aa.js +0 -1
- package/dist-android/static/46.3d8bf661bd9d1167ddce.js +0 -1
- package/dist-android/static/47.d3039cbe7ef9270019b8.js +0 -1
- package/dist-android/static/48.612417d81cafc13f8142.js +0 -1
- package/dist-android/static/49.fba314518cbdab8a90e7.js +0 -1
- package/dist-android/static/5.0d01bce56926c132aa6b.js +0 -13
- package/dist-android/static/50.486e579f125840977f43.js +0 -1
- package/dist-android/static/51.8324ad7f396f978a05e8.js +0 -1
- package/dist-android/static/52.886647248ac26f5140db.js +0 -1
- package/dist-android/static/53.93a2ccb1a3130abfa79e.js +0 -1
- package/dist-android/static/54.0a74c8035e75eeb595c5.js +0 -1
- package/dist-android/static/55.9976fa21f7ddcfdfc4a0.js +0 -1
- package/dist-android/static/56.219c17b93279098dbddb.js +0 -1
- package/dist-android/static/57.8492d8c5c99205b55dc7.js +0 -1
- package/dist-android/static/58.312d1b2ee57d0d64b52f.js +0 -2
- package/dist-android/static/59.2d4f7176b27424e3009e.js +0 -1
- package/dist-android/static/6.bce74f8df7973b9c7451.js +0 -13
- package/dist-android/static/60.12567cf9aff324a95a7d.js +0 -1
- package/dist-android/static/61.66e9834fbb82ee452f8e.js +0 -2
- package/dist-android/static/62.328ba82e50967bd864f6.js +0 -1
- package/dist-android/static/63.19e45135d67e7e7026bd.js +0 -2
- package/dist-android/static/64.a43534ecf2a1a17a1314.js +0 -1
- package/dist-android/static/65.c51325b67a704bcf87d4.js +0 -1
- package/dist-android/static/66.6def8535daa57eac38fe.js +0 -1
- package/dist-android/static/67.1263ab1b5bf1005070a7.js +0 -1
- package/dist-android/static/68.bf2224572c3cd510c532.js +0 -1
- package/dist-android/static/69.d5b8358203dfa6e4cc62.js +0 -1
- package/dist-android/static/7.39164eae605d873940b6.js +0 -13
- package/dist-android/static/70.b129fa555a5a7daaf0a8.js +0 -1
- package/dist-android/static/71.503ac7365bb788a3c2ba.js +0 -1
- package/dist-android/static/72.f46bd9238f50d475747b.js +0 -1
- package/dist-android/static/73.d33ed35134b25f21bc08.js +0 -1
- package/dist-android/static/74.be31f1b4d678ba6e0387.js +0 -1
- package/dist-android/static/75.41da68b38db6400ed47f.js +0 -1
- package/dist-android/static/76.6323b38d846ed3faf8e3.js +0 -1
- package/dist-android/static/77.002152fa076232e2a7ef.js +0 -1
- package/dist-android/static/78.589f59b4c82a65920bce.js +0 -1
- package/dist-android/static/79.cd5521b0b7b86d567459.js +0 -1
- package/dist-android/static/8.667600d040abe33aa1d4.js +0 -13
- package/dist-android/static/80.f3549dbf5a1b23a294a1.js +0 -1
- package/dist-android/static/81.ca2ec2b72e1b4449853c.js +0 -1
- package/dist-android/static/82.2bdcb170eaa5bdee9aaf.js +0 -1
- package/dist-android/static/83.a168d74f18a60c9b2a67.js +0 -1
- package/dist-android/static/84.772e2e67ba55134fec9a.js +0 -1
- package/dist-android/static/85.8680fd727f1e68d8b5f1.js +0 -1
- package/dist-android/static/86.1532b3659b8c032df0a3.js +0 -1
- package/dist-android/static/87.3c45f14e992d0d0de21a.js +0 -1
- package/dist-android/static/88.34c3d55993269cb4bee7.js +0 -1
- package/dist-android/static/89.8c0cd296c36febba47d6.js +0 -1
- package/dist-android/static/9.7f2db78822a32aaa40cd.js +0 -13
- package/dist-android/static/90.6534c9442526cb9627b6.js +0 -1
- package/dist-android/static/91.67ac346acb5c96fc6c7e.js +0 -1
- package/dist-android/static/appf2f018d386daaf983c8f.js +0 -136
- package/dist-android/static/doc.jpg +0 -0
- package/dist-android/static/dwg.png +0 -0
- package/dist-android/static/images/lefticon/anjianjihua.png +0 -0
- package/dist-android/static/images/lefticon/danganguanli.png +0 -0
- package/dist-android/static/images/lefticon/shouqishoufei.png +0 -0
- package/dist-android/static/images/lefticon/wulianwang.png +0 -0
- package/dist-android/static/images/lefticon/xitongguanli.png +0 -0
- package/dist-android/static/images/lefticon/yingyechaxun.png +0 -0
- package/dist-android/static/images/lefticon/yuyinkefu.png +0 -0
- package/dist-android/static/images/lefticon/zongheyewu.png +0 -0
- package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticonNew//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticonNew//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist-android/static/images/lefticonNew//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/images/lefticonNew//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/images/lefticonNew//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/images/lefticonNew//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist-android/static/images/lefticonNew//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/images/lefticonNew//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/images/lefticonNew//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticonNew//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticonNew//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/images/lefticonNew//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist-android/static/images/lefticonNew//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticonNew//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/images/lefticonNew//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/images/lefticonNew//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/images/lefticonNew//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticonNew//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/images/lefticonNew//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/imgerror.jpg +0 -0
- package/dist-android/static/jsoneditor-icons.svg +0 -893
- package/dist-android/static/newStyle/clear.png +0 -0
- package/dist-android/static/newStyle/fife.png +0 -0
- package/dist-android/static/newStyle/hidden.png +0 -0
- package/dist-android/static/newStyle/label-clear.png +0 -0
- package/dist-android/static/newStyle/left-img.png +0 -0
- package/dist-android/static/newStyle/list_ok.png +0 -0
- package/dist-android/static/newStyle/login-check.png +0 -0
- package/dist-android/static/newStyle/login-con.png +0 -0
- package/dist-android/static/newStyle/login-do.gif +0 -0
- package/dist-android/static/newStyle/login-f.png +0 -0
- package/dist-android/static/newStyle/login-info.png +0 -0
- package/dist-android/static/newStyle/login-left.png +0 -0
- package/dist-android/static/newStyle/login-org.png +0 -0
- package/dist-android/static/newStyle/login-pwd.png +0 -0
- package/dist-android/static/newStyle/login-user.png +0 -0
- package/dist-android/static/newStyle/loginbg.gif +0 -0
- package/dist-android/static/newStyle/loginbg1280.gif +0 -0
- package/dist-android/static/newStyle/loginbg1366.gif +0 -0
- package/dist-android/static/newStyle/setting.png +0 -0
- package/dist-android/static/newStyle/setting1.png +0 -0
- package/dist-android/static/newStyle/shirk.png +0 -0
- package/dist-android/static/newStyle/stretch_bottom.png +0 -0
- package/dist-android/static/newStyle/stretch_left.png +0 -0
- package/dist-android/static/newStyle/stretch_right.png +0 -0
- package/dist-android/static/newStyle/stretch_top.png +0 -0
- package/dist-android/static/newStyle/system-off.png +0 -0
- package/dist-android/static/pdf.jpg +0 -0
- package/dist-android/static//344/270/213/350/275/275/350/256/241/345/210/222.png +0 -0
- package/dist-android/static//344/273/273/345/212/241/346/237/245/350/257/242.png +0 -0
- package/dist-android/static//344/277/241/346/201/257/345/205/254/345/221/212.png +0 -0
- package/dist-android/static//345/205/254/345/221/212/346/237/245/347/234/213.png +0 -0
- package/dist-android/static//345/206/214/345/206/205/351/241/272/345/272/217/344/277/256/346/224/271.png +0 -0
- package/dist-android/static//345/215/241/350/241/250/345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//345/220/210/345/220/214/347/255/276/350/256/242.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/345/256/211/346/243/200.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/345/267/241/346/243/200.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/242/344/277/256.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/245/350/243/205.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/223/215/344/275/234.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/347/273/264/344/277/256.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/347/274/264/350/264/271.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/351/200/232/346/260/224.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/346/212/275/345/215/225.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/347/273/264/344/277/256/346/226/275/345/267/245.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//345/256/236/345/220/215/350/256/244/350/257/201.png +0 -0
- package/dist-android/static//345/256/242/346/234/215/347/256/241/347/220/206.png +0 -0
- package/dist-android/static//345/267/241/346/243/200/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//345/267/241/346/243/200/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/267/245/347/250/213/346/212/245/344/273/267.png +0 -0
- package/dist-android/static//345/267/245/347/250/213/346/226/275/345/267/245.png +0 -0
- package/dist-android/static//345/267/245/347/250/213/346/264/276/345/267/245.png +0 -0
- package/dist-android/static//345/267/245/347/250/213/351/230/237/346/264/276/345/267/245.png +0 -0
- package/dist-android/static//345/274/200/345/205/263/351/230/200.png +0 -0
- package/dist-android/static//345/275/242/347/212/2664.png +0 -0
- package/dist-android/static//346/211/271/351/207/217/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/350/256/260/345/275/225.png +0 -0
- package/dist-android/static//346/212/245/345/273/272/346/234/215/345/212/241.png +0 -0
- package/dist-android/static//346/224/266/350/264/271/346/261/207/346/200/273/350/241/250.png +0 -0
- package/dist-android/static//346/224/266/350/264/271/350/256/260/345/275/225.png +0 -0
- package/dist-android/static//346/226/275/345/267/245/344/277/241/346/201/257.png +0 -0
- package/dist-android/static//346/227/245/346/212/245/346/237/245/350/257/242.png +0 -0
- package/dist-android/static//346/241/243/346/241/210/344/277/256/346/224/271.png +0 -0
- package/dist-android/static//346/265/201/347/250/213/344/270/232/345/212/241.png +0 -0
- package/dist-android/static//346/265/201/347/250/213/347/233/221/346/216/247.png +0 -0
- package/dist-android/static//347/216/260/345/234/272/345/213/230/345/257/237.png +0 -0
- package/dist-android/static//347/233/221/347/220/206/345/215/225/344/275/215/346/264/276/345/267/245.png +0 -0
- package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//347/273/237/350/256/241/346/212/245/350/241/250.png +0 -0
- package/dist-android/static//347/273/264/344/277/256/346/264/276/345/215/225.png +0 -0
- package/dist-android/static//350/220/245/344/270/232/345/233/276/350/241/250.png +0 -0
- package/dist-android/static//350/241/250/345/206/214/351/241/272/345/272/217.png +0 -0
- package/dist-android/static//350/260/203/344/273/267/350/241/245/345/267/256/347/274/264/350/264/271.png +0 -0
- package/dist-android/static//350/277/233/345/272/246/345/210/227/350/241/250.png +0 -0
- package/dist-android/static//351/200/200/345/207/272/347/231/273/345/275/225.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//351/200/232/346/260/224/347/202/271/347/201/253.png +0 -0
- package/dist-android/static//351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
- package/dist-android/static//351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
- package/dist-android/static//351/253/230/345/257/206/345/205/254/345/221/212.png +0 -0
|
@@ -0,0 +1,494 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<list :model="model" partial='list'>
|
|
4
|
+
<div partial class="auto app-text panel">
|
|
5
|
+
<div class="panel-body panel-self">
|
|
6
|
+
<div class="row">
|
|
7
|
+
<p class="col-xs-3 text-left font"><b>客户编号</b></p>
|
|
8
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_userinfo_code }}</p>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="row">
|
|
11
|
+
<p class="col-xs-3 text-left font"><b>客户名称</b></p>
|
|
12
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_user_name }}</p>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="row">
|
|
15
|
+
<p class="col-xs-3 text-left font"><b>客户电话</b></p>
|
|
16
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_user_phone }}</p>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="row">
|
|
19
|
+
<p class="col-xs-3 text-left font"><b>地址信息</b></p>
|
|
20
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row.f_address }}</p>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="row">
|
|
23
|
+
<p class="col-xs-3 text-left font"><b>表具数量</b></p>
|
|
24
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{row.f_userfiles_num === null ? 0 : row.f_userfiles_num}}</p>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="row text-right">
|
|
27
|
+
<button class="btn btn-info"
|
|
28
|
+
:disabled="(row.f_cumulative_payment_money < $parent.$parent.selectdata.f_price && ($parent.$parent.selectdata.f_apply_type === '散户集体报建' || $parent.$parent.selectdata.f_apply_type === '煤改气报建')) || $parent.$parent.mark === 1"
|
|
29
|
+
@click.prevent="$parent.$parent.showUserFileModal(row)">
|
|
30
|
+
{{row.f_userfiles_num > 0 ? '修正' : '添加'}}
|
|
31
|
+
</button>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</list>
|
|
36
|
+
|
|
37
|
+
<modal v-if="showUserFile" :show.sync="showUserFile" v-ref:modal :large="true" :backdrop="false" title="安装明细" width="100%">
|
|
38
|
+
<header slot="modal-header" class="modal-header">
|
|
39
|
+
<button type="button" class="close" @click="closeUserFile"><span>×</span></button>
|
|
40
|
+
<h4 class="modal-title">安装明细</h4>
|
|
41
|
+
</header>
|
|
42
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
43
|
+
<div class="form-group row vertical-center">
|
|
44
|
+
<label class="col-xs-4 control-label">地址信息:</label>
|
|
45
|
+
<div class="col-xs-8">
|
|
46
|
+
<input class="form-control input_view" style=""
|
|
47
|
+
v-model="useradders.f_address"
|
|
48
|
+
:value="useradders.f_address"
|
|
49
|
+
:readonly="true"/>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
<div v-for="(i, item) in userinfo.userfiles" class="form-group col-xs-12 panel panel-info">
|
|
54
|
+
<div class="panel-heading head row" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
55
|
+
<div class="col-xs-6 text-left">表具{{$index+1}}信息</div>
|
|
56
|
+
<div class="col-xs-6 text-right"><button
|
|
57
|
+
class="btn btn-danger"
|
|
58
|
+
v-if="!item.f_userfiles_id"
|
|
59
|
+
@click.prevent="deleteUserFile(i)"
|
|
60
|
+
>删除</button></div>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="form-group row vertical-center" :class="item.f_gasbrand_id ? '':'has-error'">
|
|
63
|
+
<label class="col-xs-4 control-label">气表品牌:</label>
|
|
64
|
+
<div class="col-xs-8">
|
|
65
|
+
<input-select
|
|
66
|
+
class="select select_list"
|
|
67
|
+
:value.sync="item.gasbrand"
|
|
68
|
+
v-model="item.gasbrand"
|
|
69
|
+
:options="meterbrands"
|
|
70
|
+
@change="gasbrandChange(i)"
|
|
71
|
+
:valueSingle="true"></input-select>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="form-group row vertical-center" :class="item.f_gasmodel_id ? '':'has-error'">
|
|
75
|
+
<label class="col-xs-4 control-label">气表型号:</label>
|
|
76
|
+
<div class="col-xs-8">
|
|
77
|
+
<input-select
|
|
78
|
+
class="select select_list"
|
|
79
|
+
:value.sync="item.gasmodel"
|
|
80
|
+
v-model="item.gasmodel"
|
|
81
|
+
:options="item.gasbrand.gasmodel"
|
|
82
|
+
@change="gasmodelChange(i)"
|
|
83
|
+
:valueSingle="true"></input-select>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="form-group row vertical-center" :class="item.f_meternumber ? '':'has-error'">
|
|
87
|
+
<label class="col-xs-4 control-label">表  号:</label>
|
|
88
|
+
<div class="col-xs-8">
|
|
89
|
+
<input class="form-control input_view" style=""
|
|
90
|
+
placeholder="表号"
|
|
91
|
+
v-model="item.f_meternumber"
|
|
92
|
+
type="number"
|
|
93
|
+
οnkeyup="this.value=this.value.replace(/\s+/g,'')"
|
|
94
|
+
:value="item.f_meternumber"
|
|
95
|
+
@change="meternumberValidate(i)"
|
|
96
|
+
:readonly="false"/>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
<div class="form-group row vertical-center">
|
|
100
|
+
<label class="col-xs-4 control-label ">表 封 号:</label>
|
|
101
|
+
<div class="col-xs-8" style="width:50%">
|
|
102
|
+
<input class="form-control input_view" style=""
|
|
103
|
+
placeholder="表封号"
|
|
104
|
+
v-model="item.f_metertitles"
|
|
105
|
+
:value="item.f_metertitles"
|
|
106
|
+
:readonly="false"/>
|
|
107
|
+
</div>
|
|
108
|
+
<button
|
|
109
|
+
type="button" name="button" class="btn btn-primary" style="float: right;" @click="scan(i)">扫码
|
|
110
|
+
</button>
|
|
111
|
+
</div>
|
|
112
|
+
<div class="form-group row vertical-center">
|
|
113
|
+
<label class="col-xs-4 control-label">表 读 数:</label>
|
|
114
|
+
<div class="col-xs-8">
|
|
115
|
+
<input class="form-control input_view" style=""
|
|
116
|
+
onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"
|
|
117
|
+
type="number"
|
|
118
|
+
placeholder="表读数"
|
|
119
|
+
v-model="item.f_meter_base"
|
|
120
|
+
:value="item.f_meter_base"
|
|
121
|
+
:readonly="false"/>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
<div class="form-group row vertical-center">
|
|
125
|
+
<label class="col-xs-4 control-label">初始底数:</label>
|
|
126
|
+
<div class="col-xs-8">
|
|
127
|
+
<input class="form-control input_view" style=""
|
|
128
|
+
onkeyup="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}" onafterpaste="if(this.value.length==1){this.value=this.value.replace(/[^1-9]/g,'')}else{this.value=this.value.replace(/\D/g,'')}"
|
|
129
|
+
type="number"
|
|
130
|
+
v-model="item.f_initial_base"
|
|
131
|
+
:value="item.f_initial_base"
|
|
132
|
+
placeholder="初始底数"
|
|
133
|
+
:readonly="false"/>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
<div class="form-group row vertical-center">
|
|
137
|
+
<label class="col-xs-4 control-label">表  向:</label>
|
|
138
|
+
<div class="col-xs-8">
|
|
139
|
+
<input-select
|
|
140
|
+
class="select select_list"
|
|
141
|
+
:value.sync="item.f_aroundmeter"
|
|
142
|
+
v-model="item.f_aroundmeter"
|
|
143
|
+
:options="aroundmeters"
|
|
144
|
+
:valueSingle="true"></input-select>
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
<div class="form-group row vertical-center">
|
|
148
|
+
<label class="col-xs-4 control-label">安装位置:</label>
|
|
149
|
+
<div class="col-xs-8">
|
|
150
|
+
<input-select
|
|
151
|
+
class="select select_list"
|
|
152
|
+
:value.sync="item.f_position"
|
|
153
|
+
v-model="item.f_position"
|
|
154
|
+
:options="positions"
|
|
155
|
+
:valueSingle="true"></input-select>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
<div class="form-group row vertical-center">
|
|
159
|
+
<label class="col-xs-4 control-label">安 装 人:</label>
|
|
160
|
+
<div class="col-xs-8">
|
|
161
|
+
<input class="form-control input_view" style=""
|
|
162
|
+
v-model="item.f_install_person"
|
|
163
|
+
:value.sync="installperson(item.f_install_person)"
|
|
164
|
+
placeholder="安装人"
|
|
165
|
+
readonly/>
|
|
166
|
+
<!-- <input-select-->
|
|
167
|
+
<!-- class="select select_list"-->
|
|
168
|
+
<!-- :value.sync="item.f_install_person"-->
|
|
169
|
+
<!-- v-model="item.f_install_person"-->
|
|
170
|
+
<!-- :options="installperson"-->
|
|
171
|
+
<!-- :valueSingle="true"></input-select>-->
|
|
172
|
+
</div>
|
|
173
|
+
</div>
|
|
174
|
+
<div class="form-group row vertical-center">
|
|
175
|
+
<label class="col-xs-4 control-label">安装日期:</label>
|
|
176
|
+
<div class="col-xs-8">
|
|
177
|
+
<input class="form-control input_view" style=""
|
|
178
|
+
v-model="item.f_install_date"
|
|
179
|
+
:value.sync="installdate(item.f_install_date)"
|
|
180
|
+
placeholder="安装日期"
|
|
181
|
+
readonly/>
|
|
182
|
+
<!-- <datepicker-->
|
|
183
|
+
<!-- placeholder="安装日期"-->
|
|
184
|
+
<!-- :value.sync="item.f_install_date"-->
|
|
185
|
+
<!-- v-model="item.f_install_date"-->
|
|
186
|
+
<!-- format="yyyy-MM-dd HH:mm:ss"-->
|
|
187
|
+
<!-- :show-reset-button="reset">-->
|
|
188
|
+
<!-- </datepicker>-->
|
|
189
|
+
</div>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
|
|
193
|
+
</article>
|
|
194
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
195
|
+
<!-- 去除一户多表 -->
|
|
196
|
+
<button type="button" class="btn btn-primary" @click="addUserFile" v-if="false">添加表具</button>
|
|
197
|
+
<button type="button" class="btn btn-primary" @click="saveUserFile">确认</button>
|
|
198
|
+
</footer>
|
|
199
|
+
</modal>
|
|
200
|
+
</div>
|
|
201
|
+
|
|
202
|
+
</template>
|
|
203
|
+
<script>
|
|
204
|
+
import Vue from 'vue'
|
|
205
|
+
import {PagedList} from 'vue-client'
|
|
206
|
+
import {HttpResetClass} from 'vue-client'
|
|
207
|
+
import {isEmpty} from '../../../components/utils'
|
|
208
|
+
// Date格式化
|
|
209
|
+
Date.prototype.Format = function (fmt) {
|
|
210
|
+
var o = {
|
|
211
|
+
'M+': this.getMonth() + 1, // 月份
|
|
212
|
+
'd+': this.getDate(), // 日
|
|
213
|
+
'H+': this.getHours(), // 小时
|
|
214
|
+
'm+': this.getMinutes(), // 分
|
|
215
|
+
's+': this.getSeconds(), // 秒
|
|
216
|
+
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
217
|
+
'S': this.getMilliseconds() // 毫秒
|
|
218
|
+
}
|
|
219
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
220
|
+
for (var k in o) {
|
|
221
|
+
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
222
|
+
}
|
|
223
|
+
return fmt
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export default {
|
|
227
|
+
title: '安装明细',
|
|
228
|
+
props: {
|
|
229
|
+
selectdata: {
|
|
230
|
+
type: Object
|
|
231
|
+
},
|
|
232
|
+
mark: {
|
|
233
|
+
type: Number,
|
|
234
|
+
default: 0
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
data () {
|
|
238
|
+
return {
|
|
239
|
+
showUserFile: false,
|
|
240
|
+
model: {
|
|
241
|
+
rows: null
|
|
242
|
+
},
|
|
243
|
+
meterbrands: [], // 气表品牌
|
|
244
|
+
useradders: null,
|
|
245
|
+
userinfo: {}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
ready () {
|
|
249
|
+
this.search()
|
|
250
|
+
this.getMeterbrands()
|
|
251
|
+
},
|
|
252
|
+
methods: {
|
|
253
|
+
scan(index) {
|
|
254
|
+
HostApp.__this__ = this,
|
|
255
|
+
HostApp.scanCode({callback: "javascript:HostApp.__this__.getCode("+index+");"})
|
|
256
|
+
},
|
|
257
|
+
getCode(index) {
|
|
258
|
+
var datapa = HostApp.getCode().data;
|
|
259
|
+
console.log(datapa)
|
|
260
|
+
this.userinfo.userfiles[index].f_meternumber = datapa
|
|
261
|
+
},
|
|
262
|
+
// 删除未保存的表具
|
|
263
|
+
async deleteUserFile (index) {
|
|
264
|
+
this.userinfo.userfiles.splice(index, 1)
|
|
265
|
+
},
|
|
266
|
+
// 追加表具
|
|
267
|
+
addUserFile() {
|
|
268
|
+
this.userinfo.userfiles.push({})
|
|
269
|
+
},
|
|
270
|
+
// 保存档案
|
|
271
|
+
async saveUserFile() {
|
|
272
|
+
// 检查必填项
|
|
273
|
+
for (let i = 0; i < this.userinfo.userfiles.length; i++) {
|
|
274
|
+
let userfile = this.userinfo.userfiles[i]
|
|
275
|
+
if (userfile.f_gasbrand_id === null || userfile.f_gasbrand_id === '') {
|
|
276
|
+
this.$showMessage(`表具${i+1}气表品牌没有选择!!!`)
|
|
277
|
+
return
|
|
278
|
+
}
|
|
279
|
+
if (userfile.f_gasmodel_id === null || userfile.f_gasmodel_id === '') {
|
|
280
|
+
this.$showMessage(`表具${i+1}气表型号没有选择!!!`)
|
|
281
|
+
return
|
|
282
|
+
}
|
|
283
|
+
if (userfile.f_meternumber === null || userfile.f_meternumber === '') {
|
|
284
|
+
this.$showMessage(`表具${i+1}表号没有填写!!!`)
|
|
285
|
+
return
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
let data = {
|
|
289
|
+
// user: {"f_show_department_name":"","parentname":"营业厅","functions":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"客服系统","icon":"/images/lefticon/档案管理.png","hasright":false,"resourcetype":"function","parentid":"27","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"档案管理","link":"address-manage","hasright":true,"resourcetype":"function","parentid":"212","children":[],"selfid":"33664","name":"地址管理","templatename":"functionedit","id":"33663","position":"5","fullname":"资源管理.功能模块.客服系统.档案管理.地址管理","fullid":"3.21.27.212.33663","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"档案管理","link":"file-user-files","hasright":true,"resourcetype":"function","parentid":"212","children":[],"selfid":"237","name":"用户档案","templatename":"functionedit","id":"236","position":"8","fullname":"资源管理.功能模块.客服系统.档案管理.用户档案","fullid":"3.21.27.212.236","tablename":"t_function"}],"selfid":"213","name":"档案管理","templatename":"functionedit","id":"212","position":"2","fullname":"资源管理.功能模块.客服系统.档案管理","fullid":"3.21.27.212","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"客服系统","icon":"/images/lefticon/综合业务.png","hasright":false,"resourcetype":"function","parentid":"27","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","parentname":"综合业务","link":"param-manage","hasright":true,"resourcetype":"function","parentid":"284","children":[],"selfid":"303","name":"参数管理","templatename":"functionedit","id":"302","position":"3","fullname":"资源管理.功能模块.客服系统.综合业务.参数管理","fullid":"3.21.27.284.302","tablename":"t_function"}],"selfid":"285","name":"综合业务","templatename":"functionedit","id":"284","position":"5","fullname":"资源管理.功能模块.客服系统.综合业务","fullid":"3.21.27.284","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"客服系统","icon":"/images/lefticon/报建系统.png","hasright":true,"resourcetype":"function","parentid":"27","f_parentname":"客服系统","children":[{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"install-function","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34680","name":"功能业务","templatename":"functionedit","id":"34679","position":"1","fullname":"资源管理.功能模块.客服系统.报建业务.功能业务","fullid":"3.21.27.34673.34679","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"exploration-user","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34686","name":"流程业务","templatename":"functionedit","id":"34685","position":"2","fullname":"资源管理.功能模块.客服系统.报建业务.流程业务","fullid":"3.21.27.34673.34685","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"supervisory-control","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34692","name":"流程监控","templatename":"functionedit","id":"34691","position":"3","fullname":"资源管理.功能模块.客服系统.报建业务.流程监控","fullid":"3.21.27.34673.34691","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"apply-charge-search","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34698","name":"收费明细","templatename":"functionedit","id":"34697","position":"4","fullname":"资源管理.功能模块.客服系统.报建业务.收费明细","fullid":"3.21.27.34673.34697","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"order-apply","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34704","name":"预约申请","templatename":"functionedit","id":"34703","position":"5","fullname":"资源管理.功能模块.客服系统.报建业务.预约申请","fullid":"3.21.27.34673.34703","tablename":"t_function"},{"pagenames":"公共通讯录维护模板","processnames":"发邮件流程","loginid":"15","parentname":"报建业务","link":"stop-apply","hasright":true,"resourcetype":"function","parentid":"34673","f_parentname":"报建业务","children":[],"selfid":"34710","name":"终止报建","templatename":"functionedit","id":"34709","position":"6","fullname":"资源管理.功能模块.客服系统.报建业务.终止报建","fullid":"3.21.27.34673.34709","tablename":"t_function"}],"selfid":"34674","name":"报建业务","templatename":"functionedit","id":"34673","position":"11","fullname":"资源管理.功能模块.客服系统.报建业务","fullid":"3.21.27.34673","tablename":"t_function"}],"qrcode":"/rs/user/getQRcode?QRCODE=406b-1630284429661-03197","rolesnames":"营业厅报装,设计部报装,市场部报装,工程部报装,运营部报装,财务部报装","roles":"34751,34757,34763,34769,34775,35326","f_sex":"男","f_icon":"tree_user","fullnames":"河南亿星集团实业有限公司.周口市天然气有限公司.营业厅.报建测试","dir":"zhoukou","userid":"406b-1630284429661-03197","accesstime":"1630409418399","parentid":"34715","f_show_rolestr":"","fullids":"30463.10101.34715.34781.","number":"10101","f_idnumber":{},"selfid":"34782","templatename":"useredit","logindate":"2021-08-30 16:36:39","id":"34781","state":"在职","tablename":"t_user","deptype":"部门","depids":"34715","loginid":"15","imgid":{},"f_user_telephone":{},"rolestr":"营业厅报装,设计部报装,市场部报装,工程部报装,运营部报装,财务部报装","deps":"营业厅","loginnum":"0","f_age":{},"resourcetype":"user","orgid":"10101","f_department_name":"营业厅","ename":"bjcs","deleted":"false","entitytype":"t_user","f_description":{},"loginip":"192.168.66.138","name":"报建测试","position":"1","orgs":"周口市天然气有限公司","f_role_name":"营业厅报装 设计部报装 市场部报装 工程部报装 运营部报装 财务部报装 ","f_allArea":[],"f_gasman":[],"lics":[]},
|
|
290
|
+
user: Vue.user,
|
|
291
|
+
useradders: this.useradders,
|
|
292
|
+
userinfo: this.userinfo,
|
|
293
|
+
selectdata: this.selectdata
|
|
294
|
+
}
|
|
295
|
+
let res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/addInstallationDetails`, {data:data}, {
|
|
296
|
+
// let res = await this.$resetpost(`rs/logic/addInstallationDetails`, {data:data}, {
|
|
297
|
+
resolveMsg: null,
|
|
298
|
+
rejectMsg: '表具添加失败!!!'
|
|
299
|
+
})
|
|
300
|
+
|
|
301
|
+
this.closeUserFile()
|
|
302
|
+
this.$dispatch('breakControl')
|
|
303
|
+
},
|
|
304
|
+
// 检查表号是否存在
|
|
305
|
+
async meternumberValidate(i) {
|
|
306
|
+
if (!this.userinfo.userfiles[i].f_gasbrand_id) {
|
|
307
|
+
this.userinfo.userfiles[i].f_meternumber = ''
|
|
308
|
+
this.$showMessage('请先选择气表品牌!!!')
|
|
309
|
+
return
|
|
310
|
+
}
|
|
311
|
+
if (this.userinfo.userfiles[i].f_gasbrand_id && this.userinfo.userfiles[i].f_meternumber) {
|
|
312
|
+
let data = {
|
|
313
|
+
f_meternumber: this.userinfo.userfiles[i].f_meternumber,
|
|
314
|
+
f_gasbrand_id: this.userinfo.userfiles[i].f_gasbrand_id
|
|
315
|
+
}
|
|
316
|
+
if (this.userinfo.userfiles[i].f_userfiles_id) {
|
|
317
|
+
data.f_userfiles_id = this.userinfo.userfiles[i].f_userfiles_id
|
|
318
|
+
}
|
|
319
|
+
let res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/meterbrandsNumberValidate`, {data:data}, {
|
|
320
|
+
// let res = await this.$resetpost(`rs/logic/meterbrandsNumberValidate`, {data:data}, {
|
|
321
|
+
resolveMsg: null,
|
|
322
|
+
rejectMsg: '表号验证失败!!'
|
|
323
|
+
})
|
|
324
|
+
if (res.data) {
|
|
325
|
+
this.userinfo.userfiles[i].f_meternumber = ''
|
|
326
|
+
this.$showMessage('表号已存在!!')
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
// 选择气表型号
|
|
331
|
+
gasmodelChange(i) {
|
|
332
|
+
if (this.userinfo.userfiles[i].gasmodel) {
|
|
333
|
+
this.userinfo.userfiles[i].f_gasmodel_id = this.userinfo.userfiles[i].gasmodel.id
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
// 选择气表品牌
|
|
337
|
+
gasbrandChange(i) {
|
|
338
|
+
// 清空已保存的气表型号
|
|
339
|
+
this.userinfo.userfiles[i].f_gasmodel_id = null
|
|
340
|
+
this.userinfo.userfiles[i].gasmodel = null
|
|
341
|
+
|
|
342
|
+
if (this.userinfo.userfiles[i].gasbrand) {
|
|
343
|
+
// 气表品牌id
|
|
344
|
+
this.userinfo.userfiles[i].f_gasbrand_id = this.userinfo.userfiles[i].gasbrand.id
|
|
345
|
+
// 气表分类
|
|
346
|
+
this.userinfo.userfiles[i].f_meter_classify = this.userinfo.userfiles[i].gasbrand.f_meter_type
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
// 打开安装明细
|
|
350
|
+
async showUserFileModal (row) {
|
|
351
|
+
this.useradders = row
|
|
352
|
+
|
|
353
|
+
let http = new HttpResetClass()
|
|
354
|
+
let data = {
|
|
355
|
+
condition: `f_userinfo_id='${row.f_userinfo_id}'`
|
|
356
|
+
}
|
|
357
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getUserinfoAndUserfiles`, {data:data}, {
|
|
358
|
+
// let res = await http.load('POST', `rs/logic/getUserinfoAndUserfiles`, {data:data}, {
|
|
359
|
+
resolveMsg: null,
|
|
360
|
+
rejectMsg: null
|
|
361
|
+
})
|
|
362
|
+
|
|
363
|
+
this.userinfo = res.data
|
|
364
|
+
|
|
365
|
+
// 已有表具的 气表信息补充
|
|
366
|
+
for (let i = 0; i < this.userinfo.userfiles.length; i++) {
|
|
367
|
+
for (const item of this.meterbrands) {
|
|
368
|
+
if (item.value.id === this.userinfo.userfiles[i].f_gasbrand_id) {
|
|
369
|
+
// this.userinfo.userfiles[i].gasbrand = item.value // 防止双向绑定失败
|
|
370
|
+
Vue.set(this.userinfo.userfiles[i], 'gasbrand', item.value)
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
if (this.userinfo.userfiles[i].gasbrand) {
|
|
374
|
+
for (const item of this.userinfo.userfiles[i].gasbrand.gasmodel) {
|
|
375
|
+
if (item.value.id === this.userinfo.userfiles[i].f_gasmodel_id) {
|
|
376
|
+
// this.userinfo.userfiles[i].gasmodel = item.value
|
|
377
|
+
Vue.set(this.userinfo.userfiles[i], 'gasmodel', item.value)
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
this.showUserFile = true
|
|
384
|
+
},
|
|
385
|
+
// 获取气表品牌
|
|
386
|
+
async getMeterbrands() {
|
|
387
|
+
let http = new HttpResetClass()
|
|
388
|
+
let data = {
|
|
389
|
+
f_orgid: Vue.user.orgid
|
|
390
|
+
// f_orgid: '10101'
|
|
391
|
+
}
|
|
392
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/getMeterbrands`, {data:data}, {
|
|
393
|
+
// let res = await http.load('POST', `rs/logic/getMeterbrands`, {data:data}, {
|
|
394
|
+
resolveMsg: null,
|
|
395
|
+
rejectMsg: null
|
|
396
|
+
})
|
|
397
|
+
this.meterbrands = res.data
|
|
398
|
+
},
|
|
399
|
+
// 查询
|
|
400
|
+
async search () {
|
|
401
|
+
var tablestate=''
|
|
402
|
+
if(this.selectdata.f_sub_state==='完工'){
|
|
403
|
+
tablestate='正常'
|
|
404
|
+
}else{
|
|
405
|
+
tablestate='待开通'
|
|
406
|
+
}
|
|
407
|
+
let http = new HttpResetClass()
|
|
408
|
+
let data = {
|
|
409
|
+
condition: `ua.f_process_id = '${this.selectdata.f_process_id}'`,
|
|
410
|
+
condValue : tablestate
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
if (this.selectdata.f_apply_type === '团购转散户' || this.selectdata.f_apply_type === '改管报建' || this.selectdata.f_apply_type === '增容报建' || this.selectdata.f_apply_type === '报警器报建' || this.selectdata.f_apply_type === '工商业报警器报建') {
|
|
414
|
+
data.condition = `ui.f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
|
|
415
|
+
}
|
|
416
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/getAddresAndUserinfoAndUserfilesAmount`, {data:data}, {
|
|
417
|
+
// let res = await http.load('POST', `rs/sql/getAddresAndUserinfoAndUserfilesAmount`, {data:data}, {
|
|
418
|
+
resolveMsg: null,
|
|
419
|
+
rejectMsg: null
|
|
420
|
+
})
|
|
421
|
+
this.model.rows = res.data
|
|
422
|
+
if (this.selectdata.f_apply_type === '团购报建') {
|
|
423
|
+
let f_installed_households = 0
|
|
424
|
+
for (const item of res.data) {
|
|
425
|
+
if (item.f_userfiles_num > 0) {
|
|
426
|
+
f_installed_households++
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
let f_uninstalled_households = this.selectdata.f_apply_count - f_installed_households
|
|
430
|
+
for (const item of this.selectdata.fields) {
|
|
431
|
+
if (item.label === '已安装户数') {
|
|
432
|
+
item.value = f_installed_households
|
|
433
|
+
}
|
|
434
|
+
if (item.label === '未安装户数') {
|
|
435
|
+
item.value = f_uninstalled_households
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
// 关闭安装明细
|
|
441
|
+
closeUserFile() {
|
|
442
|
+
this.showUserFile = false
|
|
443
|
+
this.useradders = null
|
|
444
|
+
this.userinfo = {}
|
|
445
|
+
this.search()
|
|
446
|
+
},
|
|
447
|
+
},
|
|
448
|
+
events: {
|
|
449
|
+
},
|
|
450
|
+
computed: {
|
|
451
|
+
// 安装人
|
|
452
|
+
installperson() {
|
|
453
|
+
return function (f_install_person) {
|
|
454
|
+
if (isEmpty(f_install_person)) {
|
|
455
|
+
return Vue.user.name
|
|
456
|
+
}
|
|
457
|
+
return f_install_person
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
installdate() {
|
|
461
|
+
return function (f_install_date) {
|
|
462
|
+
if (isEmpty(f_install_date)) {
|
|
463
|
+
return new Date().Format('yyyy-MM-dd HH:mm:ss')
|
|
464
|
+
}
|
|
465
|
+
return f_install_date
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
// 表向
|
|
469
|
+
aroundmeters() {
|
|
470
|
+
return this.$appdata.getParam('左右表')
|
|
471
|
+
},
|
|
472
|
+
// 安装位置
|
|
473
|
+
positions() {
|
|
474
|
+
return this.$appdata.getParam('安装位置')
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
watch: {
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
</script>
|
|
481
|
+
<style scoped>
|
|
482
|
+
.vertical-center {
|
|
483
|
+
display: flex;
|
|
484
|
+
align-items: center;
|
|
485
|
+
text-align: center;
|
|
486
|
+
}
|
|
487
|
+
/*清除model中的浮动*/
|
|
488
|
+
.clearfix:after,.clearfix:before{
|
|
489
|
+
display: table;
|
|
490
|
+
}
|
|
491
|
+
.clearfix:after{
|
|
492
|
+
clear: both;
|
|
493
|
+
}
|
|
494
|
+
</style>
|