apply-clients 4.0.66 → 4.1.1-weinan
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/dist-android/index.html +3 -0
- package/{.gradle/5.2.1/gc.properties → dist-android/static/.gitkeep} +0 -0
- package/dist-android/static/0.js +2 -0
- package/dist-android/static/0.js.map +1 -0
- package/dist-android/static/1.js +2 -0
- package/dist-android/static/1.js.map +1 -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.js +2 -0
- package/dist-android/static/11.js.map +1 -0
- package/dist-android/static/12.js +2 -0
- package/dist-android/static/12.js.map +1 -0
- package/dist-android/static/13.js +2 -0
- package/dist-android/static/13.js.map +1 -0
- package/dist-android/static/14.js +2 -0
- package/dist-android/static/14.js.map +1 -0
- package/dist-android/static/15.js +2 -0
- package/dist-android/static/15.js.map +1 -0
- package/dist-android/static/16.js +2 -0
- package/dist-android/static/16.js.map +1 -0
- package/dist-android/static/17.js +2 -0
- package/dist-android/static/17.js.map +1 -0
- package/dist-android/static/18.js +2 -0
- package/dist-android/static/18.js.map +1 -0
- package/dist-android/static/19.js +2 -0
- package/dist-android/static/19.js.map +1 -0
- package/dist-android/static/2.js +2 -0
- package/dist-android/static/2.js.map +1 -0
- package/dist-android/static/20.js +2 -0
- package/dist-android/static/20.js.map +1 -0
- package/dist-android/static/21.js +2 -0
- package/dist-android/static/21.js.map +1 -0
- package/dist-android/static/22.js +2 -0
- package/dist-android/static/22.js.map +1 -0
- package/dist-android/static/23.js +2 -0
- package/dist-android/static/23.js.map +1 -0
- package/dist-android/static/24.js +2 -0
- package/dist-android/static/24.js.map +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.js +2 -0
- package/dist-android/static/27.js.map +1 -0
- package/dist-android/static/28.js +2 -0
- package/dist-android/static/28.js.map +1 -0
- package/dist-android/static/29.js +2 -0
- package/dist-android/static/29.js.map +1 -0
- package/dist-android/static/3.js +2 -0
- package/dist-android/static/3.js.map +1 -0
- package/dist-android/static/30.js +2 -0
- package/dist-android/static/30.js.map +1 -0
- package/dist-android/static/31.js +2 -0
- package/dist-android/static/31.js.map +1 -0
- package/dist-android/static/32.js +2 -0
- package/dist-android/static/32.js.map +1 -0
- package/dist-android/static/33.js +2 -0
- package/dist-android/static/33.js.map +1 -0
- package/dist-android/static/34.js +2 -0
- package/dist-android/static/34.js.map +1 -0
- package/dist-android/static/35.js +2 -0
- package/dist-android/static/35.js.map +1 -0
- package/dist-android/static/36.js +2 -0
- package/dist-android/static/36.js.map +1 -0
- package/dist-android/static/37.js +2 -0
- package/dist-android/static/37.js.map +1 -0
- package/dist-android/static/38.js +2 -0
- package/dist-android/static/38.js.map +1 -0
- package/dist-android/static/39.js +2 -0
- package/dist-android/static/39.js.map +1 -0
- package/dist-android/static/4.js +2 -0
- package/dist-android/static/4.js.map +1 -0
- package/dist-android/static/40.js +2 -0
- package/dist-android/static/40.js.map +1 -0
- package/dist-android/static/41.js +2 -0
- package/dist-android/static/41.js.map +1 -0
- package/dist-android/static/42.js +2 -0
- package/dist-android/static/42.js.map +1 -0
- package/dist-android/static/43.js +2 -0
- package/dist-android/static/43.js.map +1 -0
- package/dist-android/static/44.js +2 -0
- package/dist-android/static/44.js.map +1 -0
- package/dist-android/static/45.js +2 -0
- package/dist-android/static/45.js.map +1 -0
- package/dist-android/static/46.js +2 -0
- package/dist-android/static/46.js.map +1 -0
- package/dist-android/static/47.js +2 -0
- package/dist-android/static/47.js.map +1 -0
- package/dist-android/static/48.js +2 -0
- package/dist-android/static/48.js.map +1 -0
- package/dist-android/static/49.js +2 -0
- package/dist-android/static/49.js.map +1 -0
- package/dist-android/static/5.js +2 -0
- package/dist-android/static/5.js.map +1 -0
- package/dist-android/static/50.js +2 -0
- package/dist-android/static/50.js.map +1 -0
- package/dist-android/static/51.js +2 -0
- package/dist-android/static/51.js.map +1 -0
- package/dist-android/static/52.js +2 -0
- package/dist-android/static/52.js.map +1 -0
- package/dist-android/static/53.js +2 -0
- package/dist-android/static/53.js.map +1 -0
- package/dist-android/static/54.js +2 -0
- package/dist-android/static/54.js.map +1 -0
- package/dist-android/static/55.js +2 -0
- package/dist-android/static/55.js.map +1 -0
- package/dist-android/static/56.js +2 -0
- package/dist-android/static/56.js.map +1 -0
- package/dist-android/static/57.js +2 -0
- package/dist-android/static/57.js.map +1 -0
- package/dist-android/static/58.js +2 -0
- package/dist-android/static/58.js.map +1 -0
- package/dist-android/static/59.js +2 -0
- package/dist-android/static/59.js.map +1 -0
- package/dist-android/static/6.js +2 -0
- package/dist-android/static/6.js.map +1 -0
- package/dist-android/static/60.js +2 -0
- package/dist-android/static/60.js.map +1 -0
- package/dist-android/static/61.js +2 -0
- package/dist-android/static/61.js.map +1 -0
- package/dist-android/static/62.js +2 -0
- package/dist-android/static/62.js.map +1 -0
- package/dist-android/static/63.js +2 -0
- package/dist-android/static/63.js.map +1 -0
- package/dist-android/static/64.js +2 -0
- package/dist-android/static/64.js.map +1 -0
- package/dist-android/static/65.js +2 -0
- package/dist-android/static/65.js.map +1 -0
- package/dist-android/static/66.js +2 -0
- package/dist-android/static/66.js.map +1 -0
- package/dist-android/static/67.js +2 -0
- package/dist-android/static/67.js.map +1 -0
- package/dist-android/static/68.js +2 -0
- package/dist-android/static/68.js.map +1 -0
- package/dist-android/static/69.js +2 -0
- package/dist-android/static/69.js.map +1 -0
- package/dist-android/static/7.js +6 -0
- package/dist-android/static/7.js.map +1 -0
- package/dist-android/static/70.js +2 -0
- package/dist-android/static/70.js.map +1 -0
- package/dist-android/static/71.js +2 -0
- package/dist-android/static/71.js.map +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.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.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/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/glyphicons-halflings-regular.eot +0 -0
- package/dist-android/static/glyphicons-halflings-regular.svg +288 -0
- package/dist-android/static/glyphicons-halflings-regular.ttf +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff2 +0 -0
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/jingyin.jpg +0 -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/newmainbg.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/277/256/346/224/271/345/257/206/347/240/201.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/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
- package/index.html +26 -17
- package/package.json +14 -7
- package/src/App.vue +11 -114
- package/src/apply.js +78 -186
- package/src/applyAndroid.js +41 -49
- package/src/bootstrap/fonts//346/261/211/344/273/252/350/217/261/345/277/203/344/275/223/347/256/200.ttf +0 -0
- package/src/bootstrap/guandao1.png +0 -0
- package/src/bootstrap/less/aofeng/animate.min.css +11 -0
- package/src/bootstrap/less/aofeng/standard.less +2121 -0
- package/src/bootstrap/less/aofeng/themeOne/BinaryTemplate.less +686 -0
- package/src/bootstrap/less/aofeng/themeOne/loginStyle.less +1586 -0
- package/src/bootstrap/less/aofeng/themeOne/systemStyle.less +2650 -0
- package/src/bootstrap/less/aofeng/themeOne.less +14 -0
- package/src/bootstrap/less/aofeng/themeTwo/newStyle1.less +415 -0
- package/src/bootstrap/less/aofeng/themeTwo.less +3 -0
- package/src/bootstrap/less/bootstrap.less +9 -0
- package/src/bootstrap/less/forms.less +2 -2
- package/src/bootstrap/less/glyphicons.less +2 -2
- package/src/bootstrap/less/less.7z +0 -0
- package/src/bootstrap/less/manageStyle/manageChile.less +180 -0
- package/src/bootstrap/less/manageStyle/manageStyle.less +1102 -0
- package/src/bootstrap/less/manageStyle/qinhuaStyle.less +116 -0
- package/src/bootstrap/less/manageStyle/safeStyle.less +498 -0
- package/src/bootstrap/less/manageStyle/telephoneanaly.less +92 -0
- package/src/bootstrap/less/navs.less +2 -3
- package/src/bootstrap/less/stand.less +207 -0
- package/src/bootstrap/less/standard.less +503 -0
- package/src/bootstrap/less/systemStyle.less +860 -0
- package/src/bootstrap/less/themeOne.less +36 -0
- package/src/bootstrap/less/themeTwo.less +29 -0
- package/src/bootstrap/less/variables.less +2 -1
- package/src/components/Util.js +4 -0
- package/src/components/app_apply/AppChargeManagement.vue +637 -0
- package/src/components/app_apply/ApplyApp.vue +5 -65
- package/src/components/app_apply/ApplyDownList.vue +2 -2
- package/src/components/app_apply/ApplyInfo.vue +1 -1
- package/src/components/app_apply/ApplyToDoList.vue +6 -42
- package/src/components/app_apply/ApplyUserInfo.vue +1 -1
- package/src/components/app_apply/FieldExploration.vue +2 -2
- package/src/components/app_apply/PlaceControler.vue +3 -7
- package/src/components/app_apply/ServiceControl.vue +11 -755
- package/src/components/app_apply/ServiceView.vue +16 -363
- package/src/components/app_apply/Ventilation.vue +2 -2
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/image//345/233/276/345/261/20212.png +0 -0
- package/src/components/image//345/233/276/345/261/20213.png +0 -0
- package/src/components/image//345/233/276/345/261/20216.png +0 -0
- package/src/components/image//345/244/232/350/276/271/345/275/2422.png +0 -0
- package/src/components/image//345/244/232/350/276/271/345/275/2422/346/213/267/350/264/235.png +0 -0
- package/src/components/image//346/244/255/345/234/2062.png +0 -0
- package/src/components/image//346/244/255/345/234/2065.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2352.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2353.png +0 -0
- package/src/components/image//347/273/2044.png +0 -0
- package/src/components/image//347/273/2045.png +0 -0
- package/src/components/image//347/273/2046.png +0 -0
- package/src/components/image//350/257/235/345/212/241/347/273/237/350/256/241/346/225/260/346/215/256/345/261/225/347/244/272.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -0
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +30 -0
- package/src/components/product/Function/InstallFunction.vue +120 -101
- package/src/components/product/Function/InstallInfoSelect.vue +294 -239
- package/src/components/product/Function/Service/FunctionServiceControl.vue +206 -579
- package/src/components/product/Function/StopApplyCrrdList.vue +176 -0
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +81 -114
- package/src/components/product/Function/functions/StopInstall.vue +76 -92
- package/src/components/product/Process/ExplorationSelect.vue +324 -410
- package/src/components/product/Process/ExplorationUser.vue +101 -110
- package/src/components/product/Process/Processes/InstallationDetails.vue +513 -0
- package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1555 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
- package/src/components/product/Process/Processes/chargeManagement.vue +540 -0
- package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
- package/src/components/product/Process/Processes/printCharge.vue +130 -0
- package/src/components/product/Process/Processes/recordcancel.vue +50 -0
- package/src/components/product/Process/Processes/selectUserinfo.vue +199 -0
- package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
- package/src/components/product/Process/Processes/supplementalAgreement.vue +297 -0
- package/src/components/product/Process/Service/ServiceControl.vue +1222 -0
- package/src/components/product/Process/ShowBackReason.vue +21 -6
- package/src/components/product/ServiceView.vue +584 -605
- package/src/components/product/Stop/StopApply.vue +101 -0
- package/src/components/product/Stop/StopApplyList.vue +257 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +194 -207
- package/src/components/product/Supervisory/SupervisoryControl.vue +121 -157
- package/src/components/product/Supervisory/SupervisoryList.vue +221 -450
- package/src/components/product/Supervisory/SupervisoryhCart.vue +76 -75
- package/src/components/product/Test.vue +40 -0
- package/src/components/product/VueUtils/ApplyUpload.vue +261 -0
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/expandcss.less +571 -0
- package/src/main.js +8 -15
- package/src/stores/ApplyLoadParams.js +1 -2
- package/src/stores/PagedListLogic.js +173 -0
- package/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
- package/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/static/imgerror.jpg +0 -0
- package/static/newStyle/clear.png +0 -0
- package/static/newStyle/fife.png +0 -0
- package/static/newStyle/hidden.png +0 -0
- package/static/newStyle/label-clear.png +0 -0
- package/static/newStyle/left-img.png +0 -0
- package/static/newStyle/list_ok.png +0 -0
- package/static/newStyle/login-check.png +0 -0
- package/static/newStyle/login-con.png +0 -0
- package/static/newStyle/login-do.gif +0 -0
- package/static/newStyle/login-f.png +0 -0
- package/static/newStyle/login-info.png +0 -0
- package/static/newStyle/login-left.png +0 -0
- package/static/newStyle/login-org.png +0 -0
- package/static/newStyle/login-pwd.png +0 -0
- package/static/newStyle/login-user.png +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/static/newStyle/loginbg1280.gif +0 -0
- package/static/newStyle/loginbg1366.gif +0 -0
- package/static/newStyle/setting.png +0 -0
- package/static/newStyle/setting1.png +0 -0
- package/static/newStyle/shirk.png +0 -0
- package/static/newStyle/stretch_bottom.png +0 -0
- package/static/newStyle/stretch_left.png +0 -0
- package/static/newStyle/stretch_right.png +0 -0
- package/static/newStyle/stretch_top.png +0 -0
- package/static/newStyle/system-off.png +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/ApplyClient.iml +0 -9
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +0 -5
- package/gradlew +0 -172
- package/gradlew.bat +0 -84
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/assets//346/212/245/350/243/205/344/270/232/345/212/241/347/253/226/345/261/2173.png +0 -0
- package/src/components/Utils.js +0 -301
- package/src/components/app_apply/AppBatchItem.vue +0 -501
- package/src/components/app_apply/AppImageUpload.vue +0 -402
- package/src/components/app_apply/PaperFeePic.vue +0 -867
- package/src/components/product/AllRecord.vue +0 -189
- package/src/components/product/Bill/BillGZK.vue +0 -78
- package/src/components/product/Bill/BillGZKMakeInfo.vue +0 -58
- package/src/components/product/Bill/BillGZKRecordInfo.vue +0 -199
- package/src/components/product/Bill/BillJLB.vue +0 -57
- package/src/components/product/Bill/BillJLBMakeInfo.vue +0 -37
- package/src/components/product/Bill/BillJLBRecordInfo.vue +0 -187
- package/src/components/product/Bill/BillKTK.vue +0 -57
- package/src/components/product/Bill/BillKTKMakeInfo.vue +0 -39
- package/src/components/product/Bill/BillKTKRecordInfo.vue +0 -193
- package/src/components/product/Bill/BillQRK.vue +0 -63
- package/src/components/product/Bill/BillQRKMakeInfo.vue +0 -79
- package/src/components/product/Bill/BillQRKRecordInfo.vue +0 -199
- package/src/components/product/Bill/BillSelect.vue +0 -66
- package/src/components/product/Bill/BillXSD.vue +0 -77
- package/src/components/product/Bill/BillXSDMakeInfo.vue +0 -206
- package/src/components/product/Bill/BillXSDRecordInfo.vue +0 -199
- package/src/components/product/Function/InstallInfoDown.vue +0 -78
- package/src/components/product/Function/functions/AddContract.vue +0 -256
- package/src/components/product/Function/functions/AllSelect.vue +0 -59
- package/src/components/product/Function/functions/InstallFee.vue +0 -661
- package/src/components/product/Function/functions/InstallFeeInfo.vue +0 -97
- package/src/components/product/Function/functions/PreparationFee.vue +0 -223
- package/src/components/product/Function/functions/PrestoreFee.vue +0 -630
- package/src/components/product/Function/functions/ReduceFee.vue +0 -143
- package/src/components/product/Function/functions/UpdateFee.vue +0 -229
- package/src/components/product/Function/functions/material_recording.vue +0 -237
- package/src/components/product/ImageUpload.vue +0 -575
- package/src/components/product/ImageUpload1.vue +0 -619
- package/src/components/product/Process/FireSelect.vue +0 -424
- package/src/components/product/Process/FireShunt.vue +0 -142
- package/src/components/product/Process/InstallationHouse.vue +0 -142
- package/src/components/product/Process/InstallationSelect.vue +0 -437
- package/src/components/product/Process/ModifyUserFiles.vue +0 -460
- package/src/components/product/Process/ProcessInfo/history_control.vue +0 -111
- package/src/components/product/Process/Processes/BatchItem.vue +0 -507
- package/src/components/product/Process/Processes/CustomerBuildingMessage.vue +0 -251
- package/src/components/product/Process/Processes/CustomerEquipmentMessage.vue +0 -172
- package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -773
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -711
- package/src/components/product/Process/Processes/ProjectSettlement.vue +0 -298
- package/src/components/product/Process/Processes/ReceiveBatch.vue +0 -850
- package/src/components/product/Process/Processes/SendOrder.vue +0 -47
- package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +0 -2112
- package/src/components/product/Process/applymaterialManage.vue +0 -369
- package/src/components/product/Statistics/ApplyPaySearch/ApplyCheckBill.vue +0 -420
- package/src/components/product/Statistics/ApplyPaySearch/ApplyFinishSearch.vue +0 -365
- package/src/components/product/Statistics/ApplyPaySearch/ApplyPayBill4.vue +0 -582
- package/src/components/product/Statistics/ApplyPaySearch/ApplyPaySearch.vue +0 -363
- package/src/components/product/Statistics/ApplyPaySearch/MaterialSummary.vue +0 -373
- package/src/components/product/Statistics/ApplyStatisticsROOT.vue +0 -51
- package/src/components/product/Supervisory/SupervisoryBaseInfo.vue +0 -126
- package/src/components/product/VueUtils/ApplyAvatarUpload.vue +0 -125
- package/src/components/product/VueUtils/TabButton.vue +0 -149
- package/src/components/product/VueUtils/Tabs.vue +0 -67
- package/src/components/product/VueUtils/rightview/InstallCardList2.vue +0 -258
- package/src/components/product/VueUtils/rightview/carddetail/BuildFeeDetail2.vue +0 -77
- package/src/components/product/VueUtils/rightview/carddetail/ChangeFeeDetail2.vue +0 -116
- package/src/components/product/VueUtils/rightview/carddetail/ReduceFeeDetail2.vue +0 -77
- package/src/components/product/VueUtils/rightview/carddetail/StopApplyDetail2.vue +0 -70
- package/src/components/product/material.vue +0 -32
|
@@ -1,94 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<
|
|
3
|
-
v-ref:batch_item
|
|
4
|
-
:selectdata="selectdata"
|
|
5
|
-
:edit="true"></batch-item-app>
|
|
6
|
-
<hr>
|
|
7
|
-
|
|
8
|
-
<div class="form-group" v-if="selectdata.defname=='工商现场勘查'||selectdata.defname=='民用现场勘查'" >
|
|
9
|
-
<label class="col-sm-12 control-label">用户报装勘查业务申请表</label>
|
|
10
|
-
<div class="row" style="height: 240px;overflow: scroll;top: 1px" >
|
|
11
|
-
<div class="col-sm-4" v-for="(index,img) in paper.f_apply_prospect_path">
|
|
12
|
-
<img-self :src="img.f_apply_prospect_path" alt="用户报装勘查业务申请表" width="150" height="200"></img-self>
|
|
13
|
-
<img src="../../assets/删除.png" @click="delfile('f_apply_prospect_path', img.f_apply_prospect_path,index)" style="width: 15px;margin-top: -80px" alt="">
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="row text-right div-photo" v-if="selectdata.defname=='工商现场勘查'||selectdata.defname=='民用现场勘查'">
|
|
17
|
-
<button type="button" name="button" class="btn btn-photo" @click="takePic('f_apply_prospect_path', '用户报装勘查业务申请表')">拍照</button>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="form-group" v-if="selectdata.defname=='工商现场勘查'||selectdata.defname=='民用现场勘查'" >
|
|
21
|
-
<label class="col-sm-12 control-label">现场勘查照片1</label>
|
|
22
|
-
<div class="row" style="height: 240px;overflow: scroll;top: 1px" >
|
|
23
|
-
<div class="col-sm-4" v-for="(index,img) in paper.f_cat_pic1">
|
|
24
|
-
<img-self :src="img.f_cat_pic1" alt="现场勘查照片1" width="150" height="200"></img-self>
|
|
25
|
-
<img src="../../assets/删除.png" @click="delfile('f_cat_pic1', img.f_cat_pic1,index)" style="width: 15px;margin-top: -80px" alt="">
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="row text-right div-photo" v-if="selectdata.defname=='工商现场勘查'||selectdata.defname=='民用现场勘查'">
|
|
29
|
-
<button type="button" name="button" class="btn btn-photo" @click="takePic('f_cat_pic1', '现场勘查照片1')">拍照</button>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
<div class="form-group" v-if="selectdata.defname=='工商现场勘查'||selectdata.defname=='民用现场勘查'" >
|
|
33
|
-
<label class="col-sm-12 control-label">现场勘查照片2</label>
|
|
34
|
-
<div class="row" style="height: 240px;overflow: scroll;top: 1px" >
|
|
35
|
-
<div class="col-sm-4" v-for="(index,img) in paper.f_cat_pic2">
|
|
36
|
-
<img-self :src="img.f_cat_pic2" alt="现场勘查照片2" width="150" height="200"></img-self>
|
|
37
|
-
<img src="../../assets/删除.png" @click="delfile('f_cat_pic2', img.f_cat_pic2,index)" style="width: 15px;margin-top: -80px" alt="">
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
<div class="row text-right div-photo" v-if="selectdata.defname=='工商现场勘查'||selectdata.defname=='民用现场勘查'">
|
|
41
|
-
<button type="button" name="button" class="btn btn-photo" @click="takePic('f_cat_pic2', '现场勘查照片2')">拍照</button>
|
|
42
|
-
</div>
|
|
43
|
-
</div>
|
|
44
|
-
|
|
45
|
-
<div class="form-group" v-if="selectdata.defname=='户内安装'">
|
|
46
|
-
<label class="col-sm-12 control-label">压力测试结果</label>
|
|
47
|
-
<div class="row" style="height: 240px;overflow: scroll;top: 1px" >
|
|
48
|
-
<div class="col-sm-4" v-for="(index,img) in paper.f_yl">
|
|
49
|
-
<img-self :src="img.f_yl" alt="压力测试结果" width="150" height="200"></img-self>
|
|
50
|
-
<img src="../../assets/删除.png" @click="delfile('f_yl', img.f_yl,index)" style="width: 15px;margin-top: -80px" alt="">
|
|
51
|
-
</div>
|
|
52
|
-
</div>
|
|
53
|
-
<div class="row text-right div-photo" v-if="selectdata.defname=='户内安装'">
|
|
54
|
-
<button type="button" name="button" class="btn btn-photo" @click="takePic('f_yl', '压力测试结果')">拍照</button>
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
<div class="form-group" v-if="selectdata.defname=='户内安装'" >
|
|
58
|
-
<label class="col-sm-12 control-label">用户确认</label>
|
|
59
|
-
<div class="row" style="height: 240px;overflow: scroll;top: 1px" >
|
|
60
|
-
<div class="col-sm-4" v-for="(index,img) in paper.f_user_ok">
|
|
61
|
-
<img-self :src="img.f_user_ok" alt="用户确认" width="150" height="200"></img-self>
|
|
62
|
-
<img src="../../assets/删除.png" @click="delfile('f_user_ok', img.f_user_ok,index)" style="width: 15px;margin-top: -80px" alt="">
|
|
63
|
-
</div>
|
|
64
|
-
</div>
|
|
65
|
-
<div class="row text-right div-photo" v-if="selectdata.defname=='户内安装'">
|
|
66
|
-
<button type="button" name="button" class="btn btn-photo" @click="takePic('f_user_ok', '用户确认')">拍照</button>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
|
|
70
|
-
<div class="form-group" v-if="selectdata.defname=='点火'" >
|
|
71
|
-
<label class="col-sm-12 control-label">点火记录单</label>
|
|
72
|
-
<div class="row" style="height: 240px;overflow: scroll;top: 1px" >
|
|
73
|
-
<div class="col-sm-4" v-for="(index,img) in paper.f_fire_record">
|
|
74
|
-
<img-self :src="img.f_fire_record" alt="点火记录单" width="150" height="200"></img-self>
|
|
75
|
-
<img src="../../assets/删除.png" @click="delfile('f_fire_record', img.f_fire_record,index)" style="width: 15px;margin-top: -80px" alt="">
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
<div class="row text-right div-photo" v-if="selectdata.defname=='点火'">
|
|
79
|
-
<button type="button" name="button" class="btn btn-photo" @click="takePic('f_fire_record', '点火记录单')">拍照</button>
|
|
80
|
-
</div>
|
|
81
|
-
</div>
|
|
82
|
-
<hr>
|
|
83
|
-
<service-view-app v-ref:service_show :data="show_data" v-if="showview"></service-view-app>
|
|
84
|
-
|
|
2
|
+
<service-view-app v-ref:service_show :data="show_data" v-if="showview"></service-view-app>
|
|
85
3
|
</template>
|
|
86
4
|
<script>
|
|
87
5
|
import co from 'co'
|
|
88
6
|
import Vue from 'vue'
|
|
89
7
|
import {HttpResetClass} from 'vue-client'
|
|
90
|
-
import * as Util from '../Utils'
|
|
91
|
-
// import serviceView from './ServiceView.vue'
|
|
92
8
|
export default {
|
|
93
9
|
title: '报建流程业务控制层',
|
|
94
10
|
props: ['selectdata'],
|
|
@@ -98,120 +14,14 @@
|
|
|
98
14
|
json_datas:null, // Json配置文件集合
|
|
99
15
|
showview:false, // 控制显示service-view组件
|
|
100
16
|
show_data:null, // 给view层显示的数据
|
|
101
|
-
department_search:null
|
|
102
|
-
alldata:null,
|
|
103
|
-
apply_data:null,
|
|
104
|
-
app_data:null,
|
|
105
|
-
app_adjustable:null,
|
|
106
|
-
piece:{f_apply_prospect_path:'',f_cat_pic1:'',f_cat_pic2:'',f_yl:'',f_user_ok:'',f_fire_record:'' },
|
|
107
|
-
paper:{f_apply_prospect_path:[],f_cat_pic1:[],f_cat_pic2:[],f_yl:[],f_user_ok:[],f_fire_record:[]},
|
|
108
|
-
yusuansum:0,
|
|
109
|
-
jiesuansum:0
|
|
17
|
+
department_search:null // 当前部门下所有人
|
|
110
18
|
}
|
|
111
19
|
},
|
|
112
20
|
methods: {
|
|
113
|
-
cameraCallBack(prop, fileName) {
|
|
114
|
-
let fileNameup=fileName.split("safecheck/")[1];
|
|
115
|
-
let updaloadfilename=fileName.split("///")[1];
|
|
116
|
-
let param={"filepath":updaloadfilename,"fileName":fileNameup}
|
|
117
|
-
|
|
118
|
-
// var result = HostApp.readLocalFile(fileName)
|
|
119
|
-
// console.log("图片内容"+JSON.stringify(result));
|
|
120
|
-
console.log("回调的值"+prop + ',' + fileName)
|
|
121
|
-
console.log("需要遍历的值"+JSON.stringify(this.paper.f_apply_prospect_path));
|
|
122
|
-
//HostApp.__this__.$set(prop, fileName) doesnt work
|
|
123
|
-
if(prop == 'f_apply_prospect_path'){
|
|
124
|
-
let f_overall_path = fileName + '?' + Math.random();
|
|
125
|
-
|
|
126
|
-
console.log("当前的push的内容filename==>"+f_overall_path)
|
|
127
|
-
|
|
128
|
-
HostApp.__this__.paper.f_apply_prospect_path.push({
|
|
129
|
-
f_apply_prospect_path:f_overall_path
|
|
130
|
-
})
|
|
131
|
-
}else if(prop == 'f_cat_pic1'){
|
|
132
|
-
let f_overall_path = fileName + '?' + Math.random();
|
|
133
|
-
HostApp.__this__.paper.f_cat_pic1.push({
|
|
134
|
-
f_cat_pic1:f_overall_path
|
|
135
|
-
})
|
|
136
|
-
}else if(prop =='f_cat_pic2'){
|
|
137
|
-
let f_overall_path = fileName + '?' + Math.random();
|
|
138
|
-
HostApp.__this__.paper.f_cat_pic2.push({
|
|
139
|
-
f_cat_pic2:f_overall_path
|
|
140
|
-
})
|
|
141
|
-
}else if( prop =='f_yl'){
|
|
142
|
-
let f_overall_path = fileName + '?' + Math.random();
|
|
143
|
-
HostApp.__this__.paper.f_yl.push({
|
|
144
|
-
f_yl:f_overall_path
|
|
145
|
-
})
|
|
146
|
-
}else if(prop =='f_user_ok'){
|
|
147
|
-
let f_overall_path = fileName + '?' + Math.random();
|
|
148
|
-
HostApp.__this__.paper.f_user_ok.push({
|
|
149
|
-
f_user_ok:f_overall_path
|
|
150
|
-
})
|
|
151
|
-
}else if(prop=='f_fire_record'){
|
|
152
|
-
let f_overall_path = fileName + '?' + Math.random();
|
|
153
|
-
HostApp.__this__.paper.f_fire_record.push({
|
|
154
|
-
f_fire_record:f_overall_path
|
|
155
|
-
})
|
|
156
|
-
}else{
|
|
157
|
-
HostApp.__this__.piece[prop] = fileName + '?' + Math.random()
|
|
158
|
-
console.log("this.piece===>"+HostApp.__this__.piece[prop])
|
|
159
|
-
}
|
|
160
|
-
console.log("kaisi上传")
|
|
161
|
-
let res = this.$androidUtil.bzLogic('appupdatePic',param)
|
|
162
|
-
// let result = HostApp.organizeJSON({f_apply_prospect_path:this.paper.f_apply_prospect_path})
|
|
163
|
-
console.log(result)
|
|
164
|
-
HostApp.__callback__ = null
|
|
165
|
-
HostApp.__this__ = null
|
|
166
|
-
},
|
|
167
|
-
takePic(prop, title) {
|
|
168
|
-
HostApp.__callback__ = this.cameraCallBack
|
|
169
|
-
HostApp.__this__ = this
|
|
170
|
-
console.log('this.piece[prop]:' + this.piece[prop])
|
|
171
|
-
let fileName
|
|
172
|
-
if(!this.piece[prop] || this.piece[prop].includes("nopic.png")) {
|
|
173
|
-
fileName = Util.guid() +'-plumb-' + prop + '.jpg'
|
|
174
|
-
} else {
|
|
175
|
-
fileName = Util.getFileName(this.piece[prop])
|
|
176
|
-
}
|
|
177
|
-
console.log("filename:"+fileName);
|
|
178
|
-
HostApp._open_a_page({type: 'boomerang',
|
|
179
|
-
page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
|
|
180
|
-
param: {file: fileName, requestCode: 111, callback:'javascript:HostApp.__callback__("' + prop +'", "%s");', watermark: title + '\t时间:'+ Util.toStandardTimeString()}
|
|
181
|
-
})
|
|
182
|
-
},
|
|
183
|
-
delfile(prop, fileName,index) {
|
|
184
|
-
if (fileName == Vue.nopic)
|
|
185
|
-
return
|
|
186
|
-
else {
|
|
187
|
-
if(prop == 'f_apply_prospect_path'){
|
|
188
|
-
this.paper.f_apply_prospect_path.splice(index,1)
|
|
189
|
-
HostApp.delfile(fileName)
|
|
190
|
-
}else if(prop == 'f_cat_pic1'){
|
|
191
|
-
this.paper.f_cat_pic1.splice(index,1)
|
|
192
|
-
HostApp.delfile(fileName)
|
|
193
|
-
}else if(prop =='f_cat_pic2'){
|
|
194
|
-
this.paper.f_cat_pic2.splice(index,1)
|
|
195
|
-
HostApp.delfile(fileName)
|
|
196
|
-
}else if(prop =='f_yl'){
|
|
197
|
-
this.paper.f_yl.splice(index,1)
|
|
198
|
-
HostApp.delfile(fileName)
|
|
199
|
-
}else if(prop=='f_user_ok'){
|
|
200
|
-
this.paper.f_user_ok.splice(index,1)
|
|
201
|
-
HostApp.delfile(fileName)
|
|
202
|
-
}else if(prop='f_fire_record'){
|
|
203
|
-
this.paper.f_fire_record.splice(index,1)
|
|
204
|
-
HostApp.delfile(fileName)
|
|
205
|
-
}else{
|
|
206
|
-
HostApp.delfile(fileName)
|
|
207
|
-
this.paper[prop] = Vue.nopic
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
21
|
// 特殊化处理
|
|
212
22
|
async special(model){
|
|
213
23
|
console.log('进入async special方法')
|
|
214
|
-
if(this.data.distribute_async &&
|
|
24
|
+
if(this.data.distribute_async && model.button.button_name==='下发'){
|
|
215
25
|
// 流程异步处理
|
|
216
26
|
let http = new HttpResetClass();
|
|
217
27
|
let res = await http.load('POST',this.$androidUtil.getProxyUrl() + '/rs/logic/syncprocess',{data:{model:model,loginUser:this.$login.f}}, {resolveMsg: null, rejectMsg: '流程异步下发据保存失败'})
|
|
@@ -271,51 +81,6 @@
|
|
|
271
81
|
}
|
|
272
82
|
this.department_search = res.data
|
|
273
83
|
}
|
|
274
|
-
// onetomany 数据获取
|
|
275
|
-
if (this.data.onetomany) {
|
|
276
|
-
console.log('判断是onetomany,this.data.onetomany的数据为=>' + JSON.stringify(this.data.onetomany))
|
|
277
|
-
for (let index = 0; index < this.data.onetomany.length; index++) {
|
|
278
|
-
let http = new HttpResetClass()
|
|
279
|
-
let data = {
|
|
280
|
-
tablename: this.data.onetomany[index].tables[0],
|
|
281
|
-
condition: `f_apply_num = '${this.selectdata.f_apply_num}' and f_process_id='${this.selectdata.f_process_id}'`
|
|
282
|
-
}
|
|
283
|
-
let res = await http.load('POST', this.$androidUtil.getProxyUrl() + '/rs/sql/singleTable', {data: data}, {
|
|
284
|
-
resolveMsg: null,
|
|
285
|
-
rejectMsg: 'onetomany查询失败'
|
|
286
|
-
})
|
|
287
|
-
// 初始化 onetomany
|
|
288
|
-
let rows = []
|
|
289
|
-
console.log('查询返回结果res.data=>' + JSON.stringify(res.data))
|
|
290
|
-
this.data.onetomany[index].rows = res.data
|
|
291
|
-
console.log(JSON.stringify('this.data.onetomany[index].rows=>' + JSON.stringify(this.data.onetomany[index].rows)))
|
|
292
|
-
|
|
293
|
-
// 初始化onetomany中的fields
|
|
294
|
-
for(let j =0;j<this.data.onetomany[index].fields.length;j++){
|
|
295
|
-
// 如果配置类型为select,优先从参数列表获取options
|
|
296
|
-
if (this.data.onetomany[index].fields[j].type === 'select') {
|
|
297
|
-
let temp = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
|
|
298
|
-
if (temp && temp.length > 0) {
|
|
299
|
-
this.data.onetomany[index].fields[j].options = Vue.$appdata.getParam(this.data.onetomany[index].fields[j].label)
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
//获取t_apply中的数据
|
|
307
|
-
|
|
308
|
-
console.log('------app开始查询t_apply数据------')
|
|
309
|
-
var condition = ` 1=1 and u.f_apply_num='${Vue.prototype.$activity_id}'`
|
|
310
|
-
var param = {"condition": condition,"id": Vue.user.id}
|
|
311
|
-
console.log(`param=>>>${JSON.stringify(param)}`)
|
|
312
|
-
//获取当前流程的 data数据
|
|
313
|
-
let res = this.$androidUtil.bzLogic('getAppApplyData',param)
|
|
314
|
-
if(res.data){
|
|
315
|
-
this.app_data = res.data.rows[0]
|
|
316
|
-
}else{
|
|
317
|
-
this.app_data = []
|
|
318
|
-
}
|
|
319
84
|
|
|
320
85
|
// data 填充 selectdata
|
|
321
86
|
console.log('即将合并data与selectdata,selectdata数据=>' + JSON.stringify(this.selectdata))
|
|
@@ -325,162 +90,18 @@
|
|
|
325
90
|
// 初始化 fields
|
|
326
91
|
console.log('this.data.fields.length=>' + this.data.fields.length)
|
|
327
92
|
for(let i=0;i<this.data.fields.length;i++){
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
if(this.selectdata.f_adjust_box != null && this.selectdata.f_adjust_box.includes("[")){
|
|
331
|
-
if(this.selectdata.f_adjust_box.length-1 ==this.selectdata.f_adjust_box.indexOf("]")){
|
|
332
|
-
this.selectdata.f_adjust_box="";
|
|
333
|
-
}
|
|
334
|
-
}
|
|
335
|
-
if(this.selectdata.f_connection_way!=null && this.selectdata.f_connection_way.includes("[")){
|
|
336
|
-
this.selectdata.f_connection_way="";
|
|
337
|
-
}
|
|
338
|
-
if(this.selectdata.f_gasinto!=null && this.selectdata.f_gasinto.includes("[")){
|
|
339
|
-
this.selectdata.f_gasinto="";
|
|
340
|
-
}
|
|
341
|
-
if(this.selectdata.f_is_gas!=null && this.selectdata.f_is_gas.includes("[")){
|
|
342
|
-
this.selectdata.f_is_gas="";
|
|
343
|
-
}
|
|
344
|
-
if(this.selectdata.f_pocket_watch!=null && this.selectdata.f_pocket_watch.includes("[")){
|
|
345
|
-
this.selectdata.f_pocket_watch="";
|
|
346
|
-
}
|
|
347
|
-
console.log("存储app_data的数据"+JSON.stringify(this.app_data))
|
|
348
93
|
// 如果selectdata有这些key,则把selectdata的value赋值给data的value
|
|
349
|
-
if(this.
|
|
350
|
-
|
|
351
|
-
this.app_data[this.data.fields[i].field]="";
|
|
352
|
-
}
|
|
353
|
-
console.log(this.app_data[this.data.fields[i].field]);
|
|
354
|
-
this.data.fields[i].value = this.app_data[this.data.fields[i].field]
|
|
94
|
+
if(this.selectdata[this.data.fields[i].field]){
|
|
95
|
+
this.data.fields[i].value = this.selectdata[this.data.fields[i].field]
|
|
355
96
|
}
|
|
356
|
-
// //将新数据保存起来
|
|
357
|
-
// if(this.alldata[this.data.fields[i].field]){
|
|
358
|
-
// this.data.fields[i].value = this.alldata[this.data.fields[i].field]
|
|
359
|
-
// }
|
|
360
|
-
|
|
361
|
-
if(this.data.fields[i].type.label== "预算" ){
|
|
362
|
-
this.data.fields[i].type.readonly = "false";
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
|
|
366
97
|
// 如果配置类型为select,优先从参数列表获取options
|
|
367
98
|
if(this.data.fields[i].type == 'select'){
|
|
368
99
|
console.log('进入下拉框参数获取方法,参数名称=>' + this.data.fields[i].label)
|
|
369
100
|
console.log('$appdata中的缓存参数与单值=>' + JSON.stringify(this.$appdata))
|
|
370
|
-
console.log(JSON.stringify(this.data.fields[i].options));
|
|
371
101
|
var param = this.$appdata.getParam(this.data.fields[i].label)
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
//初始化调压箱
|
|
379
|
-
if(this.data.fields[i].label == '调压箱'){
|
|
380
|
-
let arr = [];
|
|
381
|
-
console.log("this.appAdjustabledaga数据"+JSON.stringify(this.$appAdjustableData))
|
|
382
|
-
let asss =this.$appAdjustableData.adjustables;
|
|
383
|
-
for(let i=0;i<asss.length;i++){
|
|
384
|
-
let item = asss[i];
|
|
385
|
-
let temp = {}
|
|
386
|
-
temp.label = `[${item.value.f_adjustable_id}]-${item.label}`
|
|
387
|
-
temp.value = `[${item.value.f_adjustable_id}]-${item.value.f_adjustable_name}`
|
|
388
|
-
arr.push(temp)
|
|
389
|
-
}
|
|
390
|
-
if(arr.length != 0){
|
|
391
|
-
this.data.fields[i].options = arr
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
console.log("燃气表品牌")
|
|
395
|
-
if(this.data.fields[i].label == '燃气表品牌'){
|
|
396
|
-
let arr = [];
|
|
397
|
-
console.log("this.appAdjustabledaga数据"+JSON.stringify(this.$appAdjustableData))
|
|
398
|
-
let bransdata =this.$appAdjustableData.grsbrand.f_meter_brand;
|
|
399
|
-
for(let i=0;i<bransdata.length;i++){
|
|
400
|
-
let item = bransdata[i];
|
|
102
|
+
console.log(param)
|
|
103
|
+
this.data.fields[i].options = param
|
|
401
104
|
|
|
402
|
-
let temp = {}
|
|
403
|
-
temp.label = `${item.name.label}`;
|
|
404
|
-
temp.value = `${item.name.value}`;
|
|
405
|
-
arr.push(temp)
|
|
406
|
-
}
|
|
407
|
-
if(arr.length != 0){
|
|
408
|
-
this.data.fields[i].options = arr
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
console.log("燃气表型号")
|
|
412
|
-
if(this.data.fields[i].label == '燃气表型号'){
|
|
413
|
-
let arr = [];
|
|
414
|
-
console.log("this.appAdjustabledaga数据"+JSON.stringify(this.$appAdjustableData))
|
|
415
|
-
let bransdata =this.$appAdjustableData.grsbrand.f_meter_brand;
|
|
416
|
-
for(let i=0;i<bransdata.length;i++){
|
|
417
|
-
let item = bransdata[i];
|
|
418
|
-
for(let j=0;j<item.f_meter_style.length;j++){
|
|
419
|
-
let newitem = item.f_meter_style[j];
|
|
420
|
-
let temp = {}
|
|
421
|
-
temp.label = `${newitem.label}`;
|
|
422
|
-
temp.value = `${newitem.value}`;
|
|
423
|
-
arr.push(temp)
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
if(arr.length != 0){
|
|
427
|
-
this.data.fields[i].options = arr
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
console.log("生产厂家")
|
|
431
|
-
if(this.data.fields[i].label == '生产厂家'){
|
|
432
|
-
let arr = [];
|
|
433
|
-
console.log("this.appAdjustabledaga数据"+JSON.stringify(this.$appAdjustableData))
|
|
434
|
-
let manudata =this.$appAdjustableData.grsbrand.f_manufacturers;
|
|
435
|
-
for(let i=0;i<manudata.length;i++){
|
|
436
|
-
let item = manudata[i];
|
|
437
|
-
let temp = {}
|
|
438
|
-
temp.label = `${item.label}`;
|
|
439
|
-
temp.value = `${item.value}`;
|
|
440
|
-
arr.push(temp)
|
|
441
|
-
}
|
|
442
|
-
if(arr.length != 0){
|
|
443
|
-
this.data.fields[i].options = arr
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
console.log("开始获取材料费------------------------")
|
|
447
|
-
if(this.data.fields[i].label == '工料费'||this.data.fields[i].label == '延伸服务费'||this.data.fields[i].label =='金额'||this.data.fields[i].label =='不锈钢波纹管费合计') {
|
|
448
|
-
this.data.fields[i].readonly = true
|
|
449
|
-
let http = new HttpResetClass()
|
|
450
|
-
console.log("开始执行ApplyPaySearch")
|
|
451
|
-
let res = await http.load('POST',this.$androidUtil.getProxyUrl() +'/rs/sql/ApplyPaySearch', {data:{condition: ` f_apply_num ='${this.selectdata.f_apply_num}'`}},{resolveMsg: null, rejectMsg: '获取工料费和延伸服务费失败!'})
|
|
452
|
-
console.log("执行ApplyPaySearch结果:"+JSON.stringify(res))
|
|
453
|
-
if(this.data.fields[i].label == '工料费'){
|
|
454
|
-
this.data.fields[i].value = res.data[0].f_glf
|
|
455
|
-
}else if(this.data.fields[i].label == '延伸服务费'&&!this.data.fields[i].value){
|
|
456
|
-
this.data.fields[i].value = res.data[0].f_ysfwf
|
|
457
|
-
}else if(this.selectdata.defname == '点火'&&this.data.fields[i].label =='不锈钢波纹管费合计'){
|
|
458
|
-
this.data.fields[i].value = res.data[0].f_dhbxgbwg
|
|
459
|
-
}else if(this.selectdata.defname == '点火申请'&&this.data.fields[i].label =='金额'){
|
|
460
|
-
this.data.fields[i].value = res.data[0].f_ysfwf
|
|
461
|
-
}
|
|
462
|
-
}
|
|
463
|
-
console.log("气价类型")
|
|
464
|
-
if(this.data.fields[i].label == '气价类型'){
|
|
465
|
-
let arr = [];
|
|
466
|
-
let temp = {}
|
|
467
|
-
temp.label = "固定气价";
|
|
468
|
-
temp.value = "固定气价";
|
|
469
|
-
arr.push(temp)
|
|
470
|
-
if(arr.length != 0){
|
|
471
|
-
this.data.fields[i].options = arr
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
console.log("气价名称")
|
|
475
|
-
if(this.data.fields[i].label == '气价名称'){
|
|
476
|
-
let arr = [];
|
|
477
|
-
let temp = {}
|
|
478
|
-
temp.label = "居民用气";
|
|
479
|
-
temp.value = "居民用气";
|
|
480
|
-
arr.push(temp)
|
|
481
|
-
if(arr.length != 0){
|
|
482
|
-
this.data.fields[i].options = arr
|
|
483
|
-
}
|
|
484
105
|
}
|
|
485
106
|
}
|
|
486
107
|
// 初始化 buttons_fields
|
|
@@ -523,26 +144,6 @@
|
|
|
523
144
|
}
|
|
524
145
|
}
|
|
525
146
|
}
|
|
526
|
-
if (this.data.onetomany) {
|
|
527
|
-
for (let i = 0; i < this.data.onetomany.length; i++) {
|
|
528
|
-
if (this.data.onetomany[i].tables[0]==='t_fire_material'){
|
|
529
|
-
console.log('1111111')
|
|
530
|
-
for (let j = 0; j < this.data.onetomany[i].fields.length; j++) {
|
|
531
|
-
if (this.data.onetomany[i].fields[j].label==='材料名称'){
|
|
532
|
-
console.log('2222222')
|
|
533
|
-
let http = new HttpResetClass()
|
|
534
|
-
let res = await http.load('POST',this.$androidUtil.getProxyUrl()+'/rs/logic/getMaterialItem', {data: {condition: `1=1 and f_use_type='点火用材料'`}},{resolveMsg: null, rejectMsg: '获取材料失败!'})
|
|
535
|
-
let house = []
|
|
536
|
-
for (let row of res.data.material){
|
|
537
|
-
house.push({label: row.f_name,value: row.f_name})
|
|
538
|
-
}
|
|
539
|
-
this.data.onetomany[i].fields[j].options = house
|
|
540
|
-
console.log('3333333')
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
147
|
// 消除双向绑定,避免子组件(显示层)数据更改,父组件(控制层)也更改
|
|
547
148
|
let temp = JSON.parse(JSON.stringify(this.data))
|
|
548
149
|
// 退回原因展示
|
|
@@ -551,150 +152,15 @@
|
|
|
551
152
|
}
|
|
552
153
|
console.log('即将给show_data赋值temp=>' + JSON.stringify(temp))
|
|
553
154
|
this.show_data = temp
|
|
554
|
-
|
|
555
|
-
for (let i = 0; i < this.show_data.fields.length; i++) {
|
|
556
|
-
if (this.show_data.fields[i].label === '预算') {
|
|
557
|
-
this.show_data.fields[i].value = this.yusuansum
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
155
|
console.log('initializtion()方法结束,showview')
|
|
561
156
|
this.showview = true
|
|
562
157
|
},
|
|
563
158
|
deleteLocalApply(model){
|
|
564
159
|
console.log(`前台上传完成,开始删除本地报建工单`)
|
|
565
160
|
this.$androidUtil.bzLogic('deleteApply', {data:model})
|
|
566
|
-
},
|
|
567
|
-
saveLocalApply(model){
|
|
568
|
-
console.log(`前台上传完成,开始删除本地报建工单`)
|
|
569
|
-
this.$androidUtil.bzLogic('saveAppApply', {data:model})
|
|
570
161
|
}
|
|
571
162
|
},
|
|
572
163
|
events: {
|
|
573
|
-
'get-price' (val,type) {
|
|
574
|
-
console.log("开始预算"+val+" "+type)
|
|
575
|
-
if(type =='预算'){
|
|
576
|
-
this.yusuansum = val
|
|
577
|
-
if(this.show_data&&this.show_data.fields){
|
|
578
|
-
for (let i = 0; i < this.show_data.fields.length; i++) {
|
|
579
|
-
if (this.show_data.fields[i].label === '预算') {
|
|
580
|
-
this.show_data.fields[i].value = this.yusuansum
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
}else if(type =='结算'){
|
|
586
|
-
this.jiesuansum = val
|
|
587
|
-
if(this.show_data&&this.show_data.fields) {
|
|
588
|
-
for (let i = 0; i < this.show_data.fields.length; i++) {
|
|
589
|
-
if (this.show_data.fields[i].label === '结算费用') {
|
|
590
|
-
this.show_data.fields[i].value = this.jiesuansum
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
}
|
|
594
|
-
}else{
|
|
595
|
-
this.price = val
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
this.initializtion()
|
|
599
|
-
},
|
|
600
|
-
//获取view层confirm事件
|
|
601
|
-
async 'confirm'(tables, row,showadd_index,j) {
|
|
602
|
-
var _this = this
|
|
603
|
-
for (let i = 0; i < tables.length; i++) {
|
|
604
|
-
let datas = {
|
|
605
|
-
tables: tables,
|
|
606
|
-
row: row
|
|
607
|
-
}
|
|
608
|
-
datas.row['f_process_id'] = this.selectdata.f_process_id
|
|
609
|
-
datas.row['f_apply_num'] = this.selectdata.f_apply_num
|
|
610
|
-
datas.row['f_filiale'] = this.selectdata.f_filiale
|
|
611
|
-
let http = new HttpResetClass()
|
|
612
|
-
if (tables[i] == 't_charge_record') {
|
|
613
|
-
await http.load('POST', this.$androidUtil.getProxyUrl()+'/rs/logic/applycharge', datas, {
|
|
614
|
-
resolveMsg: null,
|
|
615
|
-
rejectMsg: '收费保存失败'
|
|
616
|
-
}).then((res) => {
|
|
617
|
-
// 刷新列表数据
|
|
618
|
-
this.$dispatch('selfsearch')
|
|
619
|
-
for (let i = 0; i < this.$refs.service_show.data.fields.length; i++) {
|
|
620
|
-
|
|
621
|
-
if (this.$refs.service_show.data.fields[i].label == '累计缴费金额') {
|
|
622
|
-
this.$refs.service_show.data.fields[i].value = res.data.f_cumulative_money
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
if (this.$refs.service_show.data.fields[i].label == '未结总金额') {
|
|
626
|
-
this.$refs.service_show.data.fields[i].value = res.data.f_unaccounts_money
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
_this.initializtion()
|
|
630
|
-
this.$showMessage("保存成功!");
|
|
631
|
-
})
|
|
632
|
-
} else if (tables[i] == 't_batch_fire') {
|
|
633
|
-
console.log('即将要保存的数据:',datas)
|
|
634
|
-
datas.row.f_cash = (datas.row.f_number*datas.row.f_price)
|
|
635
|
-
await http.load('POST', this.$androidUtil.getProxyUrl()+'/rs/logic/saveentity', datas, {
|
|
636
|
-
resolveMsg: null,
|
|
637
|
-
rejectMsg: 'onetomany保存失败'
|
|
638
|
-
}).then((res) => {
|
|
639
|
-
// 刷新列表数据
|
|
640
|
-
this.$dispatch('selfsearch')
|
|
641
|
-
let temp = _this.$refs.service_show.model.rows[showadd_index][j]
|
|
642
|
-
temp.id = res.data.id
|
|
643
|
-
_this.$refs.service_show.model.rows[showadd_index][j] = temp
|
|
644
|
-
_this.initializtion()
|
|
645
|
-
this.$showMessage("保存成功!");
|
|
646
|
-
})
|
|
647
|
-
}else {
|
|
648
|
-
await http.load('POST', this.$androidUtil.getProxyUrl()+'/rs/logic/saveentity', datas, {
|
|
649
|
-
resolveMsg: null,
|
|
650
|
-
rejectMsg: 'onetomany保存失败'
|
|
651
|
-
}).then((res) => {
|
|
652
|
-
// 刷新列表数据
|
|
653
|
-
// this.$dispatch('selfsearch')
|
|
654
|
-
let temp = _this.$refs.service_show.model.rows[showadd_index][j]
|
|
655
|
-
temp.id = res.data.id
|
|
656
|
-
console.log("a");
|
|
657
|
-
_this.$refs.service_show.model.rows[showadd_index][j] = temp
|
|
658
|
-
console.log("b");
|
|
659
|
-
_this.initializtion()
|
|
660
|
-
for(let i =0;i<this.show_data.fields.length;i++){
|
|
661
|
-
if(this.show_data.fields[i].label == '工料费'||this.show_data.fields[i].label == '延伸服务费'||this.show_data.fields[i].label =='金额'||this.show_data.fields[i].label =='不锈钢波纹管费合计') {
|
|
662
|
-
this.show_data.fields[i].readonly = true
|
|
663
|
-
let httpf = new HttpResetClass()
|
|
664
|
-
let resf = httpf.load('POST',this.$androidUtil.getProxyUrl()+'/rs/sql/ApplyPaySearch', {data:{condition: ` f_apply_num ='${this.selectdata.f_apply_num}'`}},{resolveMsg: null, rejectMsg: '获取工料费和延伸服务费失败!'})
|
|
665
|
-
if(this.show_data.fields[i].label == '工料费'){
|
|
666
|
-
this.show_data.fields[i].value = resf.data[0].f_glf
|
|
667
|
-
}else if(this.data.fields[i].label == '延伸服务费'&&!this.show_data.fields[i].value){
|
|
668
|
-
this.show_data.fields[i].value = resf.data[0].f_ysfwf
|
|
669
|
-
}else if(this.selectdata.defname == '点火'&&this.show_data.fields[i].label =='不锈钢波纹管费合计'){
|
|
670
|
-
this.show_data.fields[i].value = resf.data[0].f_dhbxgbwg
|
|
671
|
-
}else if(this.selectdata.defname == '点火申请'&&this.show_data.fields[i].label =='金额'){
|
|
672
|
-
this.show_data.fields[i].value = resf.data[0].f_ysfwf
|
|
673
|
-
}
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
this.$showMessage("保存成功!");
|
|
677
|
-
})
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
},
|
|
683
|
-
async 'onetomanydelete'(i, j) {
|
|
684
|
-
let http = new HttpResetClass()
|
|
685
|
-
let data = {
|
|
686
|
-
tables: this.show_data.onetomany[i].tables,
|
|
687
|
-
row: this.$refs.service_show.model.rows[i][j]
|
|
688
|
-
}
|
|
689
|
-
await http.load('POST', this.$androidUtil.getProxyUrl()+'/rs/logic/applyDeleteValue', {data: data}, {
|
|
690
|
-
resolveMsg: null,
|
|
691
|
-
rejectMsg: 'onetomanydelete失败'
|
|
692
|
-
}).then(() => {
|
|
693
|
-
this.$dispatch('selfsearch')
|
|
694
|
-
this.$refs.service_show.model.rows[i].splice(j, 1)
|
|
695
|
-
})
|
|
696
|
-
this.initializtion()
|
|
697
|
-
},
|
|
698
164
|
// 任意select选中时触发事件
|
|
699
165
|
'select_cascade'(index){
|
|
700
166
|
// this.$refs.service_show.model_temp // 子业务显示组件
|
|
@@ -740,12 +206,6 @@
|
|
|
740
206
|
console.log('合并selectdata与model后的model=>' + JSON.stringify(model))
|
|
741
207
|
let http = new HttpResetClass()
|
|
742
208
|
var url = this.$androidUtil.getProxyUrl() + '/rs/logic/ApplyProductService'
|
|
743
|
-
let btn = btn_operate(this, url, http, model, delteLocal)
|
|
744
|
-
this.selectdata = model;
|
|
745
|
-
this.alldata = model;
|
|
746
|
-
// this.data = model;
|
|
747
|
-
co(btn)
|
|
748
|
-
|
|
749
209
|
// let res = await http.load('POST',url,{data:{tables:this.data.tables,start_activity:this.$workflow_vue.start_activity,model:model,loginUser:Vue.user}}, {resolveMsg: null, rejectMsg: null})
|
|
750
210
|
// // 先判断是否包含code,如果服务端异常,可能不存在code
|
|
751
211
|
// console.log("service处理完成返回数据=>" + res)
|
|
@@ -765,115 +225,9 @@
|
|
|
765
225
|
// this.$showMessage('操作失败,原因:' + res.data.msg)
|
|
766
226
|
// }
|
|
767
227
|
// }
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
// onetomany模态框监听事件
|
|
772
|
-
async 'select_cascade_modal'(i,j){
|
|
773
|
-
let house = []
|
|
774
|
-
if (this.data.onetomany[i].tables[0]==='t_fire_material'){
|
|
775
|
-
console.log('1111111')
|
|
776
|
-
|
|
777
|
-
if (this.data.onetomany[i].fields[j].label ==='材料名称'){
|
|
778
|
-
console.log('2222222')
|
|
779
|
-
let a =this.$refs.service_show.showadd_fields.fields[j].value
|
|
780
|
-
let http = new HttpResetClass()
|
|
781
|
-
http.load('POST',this.$androidUtil.getProxyUrl()+'/rs/logic/getMaterialItem', {data: {condition: `f_name='${a}' and f_use_type='点火用材料'`}},{resolveMsg: null, rejectMsg: '获取材料失败!'}).then((res)=>{
|
|
782
|
-
for (let row of res.data.material){
|
|
783
|
-
house.push({label: row.f_unit,value: row.f_unit})
|
|
784
|
-
}
|
|
785
|
-
for (let m = 0; m < this.data.onetomany[i].fields.length; m++) {
|
|
786
|
-
if (this.data.onetomany[i].fields[m].label==='材料单位'){
|
|
787
|
-
console.log('传值',house)
|
|
788
|
-
this.$refs.service_show.showadd_fields.fields[m].options= house
|
|
789
|
-
console.log(house[0].value);
|
|
790
|
-
this.$refs.service_show.showadd_fields.fields[m].value= house[0].value;
|
|
791
|
-
this.$refs.service_show.update();
|
|
792
|
-
// this.$refs.service_show.update_modal()
|
|
793
|
-
console.log(`3333333=====>${this.$refs.service_show.showadd_fields.fields[m].options}`)
|
|
794
|
-
// this.data.onetomany[i].fields[m].options
|
|
795
|
-
}
|
|
796
|
-
if(this.data.onetomany[i].fields[m].label==='单价'){
|
|
797
|
-
this.$refs.service_show.showadd_fields.fields[m].value= res.data.material[0].f_price
|
|
798
|
-
}
|
|
799
|
-
}
|
|
800
|
-
})
|
|
801
|
-
|
|
802
|
-
}
|
|
803
|
-
if (this.data.onetomany[i].fields[j].label ==='数量'){
|
|
804
|
-
let danjia = 0
|
|
805
|
-
let shuliang = this.$refs.service_show.showadd_fields.fields[j].value
|
|
806
|
-
for (let m = 0; m < this.data.onetomany[i].fields.length; m++) {
|
|
807
|
-
if(this.data.onetomany[i].fields[m].label==='单价'){
|
|
808
|
-
danjia = this.$refs.service_show.showadd_fields.fields[m].value
|
|
809
|
-
}
|
|
810
|
-
if(this.data.onetomany[i].fields[m].label==='金额'){
|
|
811
|
-
this.$refs.service_show.showadd_fields.fields[m].value= danjia*shuliang
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
if (this.data.onetomany[i].tables[0]==='t_fire_machine') {
|
|
819
|
-
let a = 0
|
|
820
|
-
|
|
821
|
-
if (this.data.onetomany[i].fields[j].label === '燃气具') {
|
|
822
|
-
if (this.$refs.service_show.showadd_fields.fields[j].value === '燃气灶') {
|
|
823
|
-
a = 1
|
|
824
|
-
}
|
|
825
|
-
if (this.$refs.service_show.showadd_fields.fields[j].value === '热水器') {
|
|
826
|
-
a = 2
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
for (let m = 0; m < this.data.onetomany[i].fields.length; m++) {
|
|
832
|
-
if (a === 1) {
|
|
833
|
-
console.log('燃气灶')
|
|
834
|
-
if (this.data.onetomany[i].fields[m].label === '安装方式') {
|
|
835
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = false
|
|
836
|
-
}
|
|
837
|
-
if (this.data.onetomany[i].fields[m].label === '面板') {
|
|
838
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = false
|
|
839
|
-
}
|
|
840
|
-
if (this.data.onetomany[i].fields[m].label === '连接方式') {
|
|
841
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = false
|
|
842
|
-
}
|
|
843
|
-
if (this.data.onetomany[i].fields[m].label === '安装位置') {
|
|
844
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = true
|
|
845
|
-
}
|
|
846
|
-
if (this.data.onetomany[i].fields[m].label === '排烟方式') {
|
|
847
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = true
|
|
848
|
-
}
|
|
849
|
-
if (this.data.onetomany[i].fields[m].label === '容积') {
|
|
850
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = true
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
if (a === 2) {
|
|
854
|
-
console.log('热水器')
|
|
855
|
-
if (this.data.onetomany[i].fields[m].label === '安装位置') {
|
|
856
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = false
|
|
857
|
-
}
|
|
858
|
-
if (this.data.onetomany[i].fields[m].label === '排烟方式') {
|
|
859
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = false
|
|
860
|
-
}
|
|
861
|
-
if (this.data.onetomany[i].fields[m].label === '容积') {
|
|
862
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = false
|
|
863
|
-
}
|
|
864
|
-
if (this.data.onetomany[i].fields[m].label === '安装方式') {
|
|
865
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = true
|
|
866
|
-
}
|
|
867
|
-
if (this.data.onetomany[i].fields[m].label === '面板') {
|
|
868
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = true
|
|
869
|
-
}
|
|
870
|
-
if (this.data.onetomany[i].fields[m].label === '连接方式') {
|
|
871
|
-
this.$refs.service_show.showadd_fields.fields[m].hidden = true
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
}
|
|
875
|
-
}
|
|
876
|
-
}
|
|
228
|
+
let btn = btn_operate(this, url, http, model, delteLocal)
|
|
229
|
+
co(btn)
|
|
230
|
+
}
|
|
877
231
|
},
|
|
878
232
|
watch:{
|
|
879
233
|
// 监听selectdata的变化
|
|
@@ -888,101 +242,6 @@
|
|
|
888
242
|
let btn_operate = function * (self, url, http, model, delteLocal) {
|
|
889
243
|
// 下发,提交,保存,退回都在后台处理
|
|
890
244
|
console.log('即将请求后台url=>' + url)
|
|
891
|
-
if(model.f_contact == undefined){
|
|
892
|
-
model.f_contact ="";
|
|
893
|
-
}
|
|
894
|
-
if(model.f_supervisory_engineer == undefined){
|
|
895
|
-
model.f_supervisory_engineer ="";
|
|
896
|
-
}
|
|
897
|
-
if(model.f_construction_representative == undefined){
|
|
898
|
-
model.f_construction_representative ="";
|
|
899
|
-
}
|
|
900
|
-
if(model.f_installation_project == undefined){
|
|
901
|
-
model.f_installation_project ="";
|
|
902
|
-
}
|
|
903
|
-
if(model.f_construction_unit == undefined){
|
|
904
|
-
model.f_construction_unit ="";
|
|
905
|
-
}
|
|
906
|
-
if(model.f_suspension_position == undefined){
|
|
907
|
-
model.f_suspension_position ="";
|
|
908
|
-
}
|
|
909
|
-
if(model.f_meter_brand == undefined){
|
|
910
|
-
model.f_meter_brand ="";
|
|
911
|
-
}
|
|
912
|
-
if(model.f_meter_style == undefined){
|
|
913
|
-
model.f_meter_style ="";
|
|
914
|
-
}
|
|
915
|
-
if(model.f_meter_direction == undefined){
|
|
916
|
-
model.f_meter_direction ="";
|
|
917
|
-
}
|
|
918
|
-
if(model.f_manufacturers == undefined){
|
|
919
|
-
model.f_manufacturers ="";
|
|
920
|
-
}
|
|
921
|
-
if(model.f_price_type == undefined){
|
|
922
|
-
model.f_price_type ="";
|
|
923
|
-
}
|
|
924
|
-
if(model.f_price_name == undefined){
|
|
925
|
-
model.f_price_name ="";
|
|
926
|
-
}
|
|
927
|
-
if(model.f_payment_clerk == undefined){
|
|
928
|
-
model.f_payment_clerk ="";
|
|
929
|
-
}
|
|
930
|
-
if(model.f_dispatch_telephone == undefined){
|
|
931
|
-
model.f_dispatch_telephone ="";
|
|
932
|
-
}
|
|
933
|
-
if(model.f_ventilation == undefined){
|
|
934
|
-
model.f_ventilation ="";
|
|
935
|
-
}
|
|
936
|
-
if(model.f_fixed_conditions == undefined){
|
|
937
|
-
model.f_fixed_conditions ="";
|
|
938
|
-
}
|
|
939
|
-
if(model.f_alarm_brand == undefined){
|
|
940
|
-
model.f_alarm_brand ="";
|
|
941
|
-
}
|
|
942
|
-
if(model.f_alarm_type == undefined){
|
|
943
|
-
model.f_alarm_type ="";
|
|
944
|
-
}
|
|
945
|
-
if(model.f_alarm_manufacturer == undefined){
|
|
946
|
-
model.f_alarm_manufacturer ="";
|
|
947
|
-
}
|
|
948
|
-
if(model.f_pressure == undefined){
|
|
949
|
-
model.f_pressure ="";
|
|
950
|
-
}
|
|
951
|
-
if(model.f_alarm_installation_location == undefined){
|
|
952
|
-
model.f_alarm_installation_location ="";
|
|
953
|
-
}
|
|
954
|
-
if(model.f_retention_time == undefined){
|
|
955
|
-
model.f_retention_time ="";
|
|
956
|
-
}
|
|
957
|
-
if(model.f_disposal_opinions == undefined){
|
|
958
|
-
model.f_disposal_opinions ="";
|
|
959
|
-
}
|
|
960
|
-
if(model.f_fire_fee_person == undefined){
|
|
961
|
-
model.f_fire_fee_person ="";
|
|
962
|
-
}
|
|
963
|
-
if(model.f_dh_payment == undefined){
|
|
964
|
-
model.f_dh_payment ="";
|
|
965
|
-
}
|
|
966
|
-
if(model.f_summation == undefined){
|
|
967
|
-
model.f_summation ="";
|
|
968
|
-
}
|
|
969
|
-
if(model.f_handler == undefined){
|
|
970
|
-
model.f_handler ="";
|
|
971
|
-
}
|
|
972
|
-
if(model.f_calibration_time == undefined){
|
|
973
|
-
model.f_calibration_time ="";
|
|
974
|
-
}
|
|
975
|
-
if(model.f_is_qualified == undefined){
|
|
976
|
-
model.f_is_qualified ="";
|
|
977
|
-
}
|
|
978
|
-
if(model.f_unignited_reason == undefined){
|
|
979
|
-
model.f_unignited_reason ="";
|
|
980
|
-
}
|
|
981
|
-
if(model.f_transfer_person == undefined){
|
|
982
|
-
model.f_transfer_person ="";
|
|
983
|
-
}
|
|
984
|
-
let newmodel = model;
|
|
985
|
-
console.log("newmodel的制作"+JSON.stringify(newmodel))
|
|
986
245
|
http.load('POST',url,{data:{tables:self.data.tables,start_activity:self.$workflow_vue.start_activity,model:model,loginUser:Vue.user}}, {resolveMsg: null, rejectMsg: null})
|
|
987
246
|
.then((res) => {
|
|
988
247
|
console.log(JSON.stringify(res))
|
|
@@ -990,10 +249,7 @@
|
|
|
990
249
|
self.showview = false
|
|
991
250
|
// 如果需要删除本地记录则去删除
|
|
992
251
|
if(delteLocal){
|
|
993
|
-
self.deleteLocalApply(
|
|
994
|
-
}else{
|
|
995
|
-
//保存数据
|
|
996
|
-
self.saveLocalApply(newmodel);
|
|
252
|
+
self.deleteLocalApply(model)
|
|
997
253
|
}
|
|
998
254
|
// 特殊处理
|
|
999
255
|
self.special(model)
|