apply-clients 7.1.35 → 7.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android.html +4 -0
- package/build/css-loaders.js +34 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server.js +151 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +123 -0
- package/build/webpack.baseandroid.conf.js +123 -0
- package/build/webpack.dev.conf.js +43 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/index.html +4 -1
- package/package.json +11 -7
- package/src/AndroidApp.vue +21 -14
- package/src/App.vue +18 -20
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.eot +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.svg +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.ttf +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff2 +0 -0
- package/src/android-bootstrap/less/.csscomb.json +304 -0
- package/src/android-bootstrap/less/.csslintrc +19 -0
- package/src/android-bootstrap/less/alerts.less +73 -0
- package/src/android-bootstrap/less/badges.less +66 -0
- package/src/android-bootstrap/less/bootstrap.less +56 -0
- package/src/android-bootstrap/less/breadcrumbs.less +26 -0
- package/src/android-bootstrap/less/button-groups.less +247 -0
- package/src/android-bootstrap/less/buttons.less +173 -0
- package/src/android-bootstrap/less/carousel.less +269 -0
- package/src/android-bootstrap/less/close.less +34 -0
- package/src/android-bootstrap/less/code.less +69 -0
- package/src/android-bootstrap/less/component-animations.less +33 -0
- package/src/android-bootstrap/less/dropdowns.less +216 -0
- package/src/android-bootstrap/less/forms.less +626 -0
- package/src/android-bootstrap/less/glyphicons.less +305 -0
- package/src/android-bootstrap/less/grid.less +84 -0
- package/src/android-bootstrap/less/input-groups.less +167 -0
- package/src/android-bootstrap/less/jumbotron.less +52 -0
- package/src/android-bootstrap/less/labels.less +64 -0
- package/src/android-bootstrap/less/list-group.less +141 -0
- package/src/android-bootstrap/less/media.less +66 -0
- package/src/android-bootstrap/less/mixins/alerts.less +14 -0
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
- package/src/android-bootstrap/less/mixins/buttons.less +69 -0
- package/src/android-bootstrap/less/mixins/center-block.less +7 -0
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
- package/src/android-bootstrap/less/mixins/forms.less +90 -0
- package/src/android-bootstrap/less/mixins/gradients.less +59 -0
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
- package/src/android-bootstrap/less/mixins/grid.less +122 -0
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
- package/src/android-bootstrap/less/mixins/image.less +33 -0
- package/src/android-bootstrap/less/mixins/labels.less +12 -0
- package/src/android-bootstrap/less/mixins/list-group.less +30 -0
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
- package/src/android-bootstrap/less/mixins/opacity.less +8 -0
- package/src/android-bootstrap/less/mixins/pagination.less +24 -0
- package/src/android-bootstrap/less/mixins/panels.less +24 -0
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
- package/src/android-bootstrap/less/mixins/resize.less +6 -0
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
- package/src/android-bootstrap/less/mixins/size.less +10 -0
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
- package/src/android-bootstrap/less/mixins/table-row.less +44 -0
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
- package/src/android-bootstrap/less/mixins.less +40 -0
- package/src/android-bootstrap/less/modals.less +151 -0
- package/src/android-bootstrap/less/navbar.less +660 -0
- package/src/android-bootstrap/less/navs.less +302 -0
- package/src/android-bootstrap/less/normalize.less +424 -0
- package/src/android-bootstrap/less/pager.less +76 -0
- package/src/android-bootstrap/less/pagination.less +89 -0
- package/src/android-bootstrap/less/panels.less +274 -0
- package/src/android-bootstrap/less/popovers.less +131 -0
- package/src/android-bootstrap/less/print.less +101 -0
- package/src/android-bootstrap/less/progress-bars.less +87 -0
- package/src/android-bootstrap/less/responsive-embed.less +35 -0
- package/src/android-bootstrap/less/responsive-utilities.less +194 -0
- package/src/android-bootstrap/less/scaffolding.less +161 -0
- package/src/android-bootstrap/less/tables.less +262 -0
- package/src/android-bootstrap/less/theme.less +291 -0
- package/src/android-bootstrap/less/thumbnails.less +36 -0
- package/src/android-bootstrap/less/tooltip.less +102 -0
- package/src/android-bootstrap/less/type.less +303 -0
- package/src/android-bootstrap/less/utilities.less +55 -0
- package/src/android-bootstrap/less/variables.less +896 -0
- package/src/android-bootstrap/less/wells.less +29 -0
- package/src/android.js +7 -4
- package/src/apply.js +85 -69
- package/src/applyAndroid.js +52 -39
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/components/android/AppOnetomany.vue +301 -0
- package/src/components/android/AppServiceView.vue +568 -0
- package/src/components/android/AppSign.vue +169 -0
- package/src/components/android/AppTakePic.vue +142 -0
- package/src/components/android/AppUpload.vue +232 -0
- package/src/components/android/Ignition/VentilationIgnition.vue +328 -0
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +330 -0
- package/src/components/android/Process/AppExplorationUser.vue +352 -0
- package/src/components/android/Process/AppServiceControl.vue +1050 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +336 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +770 -0
- package/src/components/android/Process/Processes/SurveyUserSign.vue +56 -0
- package/src/components/android/Sign/AppSignTask.vue +182 -0
- package/src/components/android/Sign/SignProcess.vue +102 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +183 -0
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -0
- package/src/components/android/Task/Build/BuildTsak.vue +114 -0
- package/src/components/android/Task/Survey/SurveyTsak.vue +112 -0
- package/src/components/android/TaskGraph.vue +130 -0
- package/src/components/android/newPackage/customerServiceManager.vue +218 -0
- package/src/components/android/newPackage/designDrawings.vue +94 -0
- package/src/components/android/newPackage/detailedData.vue +24 -0
- package/src/components/android/newPackage/projectPrice.vue +218 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +141 -62
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +2 -2
- package/src/components/product/Function/InstallFunction.vue +53 -69
- package/src/components/product/Function/InstallInfoSelect.vue +118 -105
- package/src/components/product/Function/Service/FunctionServiceControl.vue +323 -148
- package/src/components/product/Ignition/IgnitionDispatch.vue +277 -0
- package/src/components/product/Ignition/IgnitionRecord.vue +216 -0
- package/src/components/product/Onetomany.vue +377 -0
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +229 -0
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +265 -0
- package/src/components/product/Process/ExplorationSelect.vue +374 -347
- package/src/components/product/Process/ExplorationUser.vue +151 -138
- package/src/components/product/Process/Processes/ApplyMapCom.vue +83 -0
- package/src/components/product/Process/Processes/ExhibitionPicture.vue +27 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +823 -484
- package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +59 -113
- package/src/components/product/Process/Processes/chargeManagement.vue +546 -562
- package/src/components/product/Process/Processes/devicesManagement.vue +360 -0
- package/src/components/product/Process/Processes/selectApply.vue +250 -0
- package/src/components/product/Process/Processes/selectUserinfo.vue +182 -0
- package/src/components/product/Process/Processes/supplementalAgreement.vue +182 -181
- package/src/components/product/Process/Service/ServiceControl.vue +1417 -856
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +557 -680
- package/src/components/product/Stop/StopApply.vue +105 -0
- package/src/components/product/Stop/StopApplyList.vue +224 -0
- package/src/components/product/Supervisory/NewSupervisoryhCart.vue +167 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +231 -199
- package/src/components/product/Supervisory/SupervisoryControl.vue +22 -33
- package/src/components/product/Supervisory/SupervisoryList.vue +258 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +52 -36
- package/src/components/product/VueUtils/ApplyUpload.vue +279 -261
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
- package/src/expandcssAndroid.less +1034 -0
- package/src/main.js +27 -23
- package/src/public/history/HistoryApplyList.vue +108 -0
- package/src/public/history/PublicHistoryApply.vue +39 -0
- package/src/public/history/PublicSupervisoryhCart.vue +72 -0
- package/src/public/order/PublicOrderApply.vue +387 -0
- package/dist-android/index.html +0 -3
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/0.js +0 -2
- package/dist-android/static/0.js.map +0 -1
- package/dist-android/static/1.js +0 -2
- package/dist-android/static/1.js.map +0 -1
- package/dist-android/static/10.js +0 -2
- package/dist-android/static/10.js.map +0 -1
- package/dist-android/static/100.js +0 -2
- package/dist-android/static/100.js.map +0 -1
- package/dist-android/static/11.js +0 -2
- package/dist-android/static/11.js.map +0 -1
- package/dist-android/static/12.js +0 -2
- package/dist-android/static/12.js.map +0 -1
- package/dist-android/static/13.js +0 -2
- package/dist-android/static/13.js.map +0 -1
- package/dist-android/static/14.js +0 -2
- package/dist-android/static/14.js.map +0 -1
- package/dist-android/static/15.js +0 -2
- package/dist-android/static/15.js.map +0 -1
- package/dist-android/static/16.js +0 -2
- package/dist-android/static/16.js.map +0 -1
- package/dist-android/static/17.js +0 -2
- package/dist-android/static/17.js.map +0 -1
- package/dist-android/static/18.js +0 -2
- package/dist-android/static/18.js.map +0 -1
- package/dist-android/static/19.js +0 -2
- package/dist-android/static/19.js.map +0 -1
- package/dist-android/static/2.js +0 -2
- package/dist-android/static/2.js.map +0 -1
- package/dist-android/static/20.js +0 -2
- package/dist-android/static/20.js.map +0 -1
- package/dist-android/static/21.js +0 -2
- package/dist-android/static/21.js.map +0 -1
- package/dist-android/static/22.js +0 -2
- package/dist-android/static/22.js.map +0 -1
- package/dist-android/static/23.js +0 -2
- package/dist-android/static/23.js.map +0 -1
- package/dist-android/static/24.js +0 -2
- package/dist-android/static/24.js.map +0 -1
- package/dist-android/static/25.js +0 -2
- package/dist-android/static/25.js.map +0 -1
- package/dist-android/static/26.js +0 -2
- package/dist-android/static/26.js.map +0 -1
- package/dist-android/static/27.js +0 -2
- package/dist-android/static/27.js.map +0 -1
- package/dist-android/static/28.js +0 -2
- package/dist-android/static/28.js.map +0 -1
- package/dist-android/static/29.js +0 -2
- package/dist-android/static/29.js.map +0 -1
- package/dist-android/static/3.js +0 -2
- package/dist-android/static/3.js.map +0 -1
- package/dist-android/static/30.js +0 -2
- package/dist-android/static/30.js.map +0 -1
- package/dist-android/static/31.js +0 -2
- package/dist-android/static/31.js.map +0 -1
- package/dist-android/static/32.js +0 -2
- package/dist-android/static/32.js.map +0 -1
- package/dist-android/static/33.js +0 -2
- package/dist-android/static/33.js.map +0 -1
- package/dist-android/static/34.js +0 -2
- package/dist-android/static/34.js.map +0 -1
- package/dist-android/static/35.js +0 -2
- package/dist-android/static/35.js.map +0 -1
- package/dist-android/static/36.js +0 -2
- package/dist-android/static/36.js.map +0 -1
- package/dist-android/static/37.js +0 -2
- package/dist-android/static/37.js.map +0 -1
- package/dist-android/static/38.js +0 -2
- package/dist-android/static/38.js.map +0 -1
- package/dist-android/static/39.js +0 -2
- package/dist-android/static/39.js.map +0 -1
- package/dist-android/static/4.js +0 -2
- package/dist-android/static/4.js.map +0 -1
- package/dist-android/static/40.js +0 -2
- package/dist-android/static/40.js.map +0 -1
- package/dist-android/static/41.js +0 -2
- package/dist-android/static/41.js.map +0 -1
- package/dist-android/static/42.js +0 -2
- package/dist-android/static/42.js.map +0 -1
- package/dist-android/static/43.js +0 -2
- package/dist-android/static/43.js.map +0 -1
- package/dist-android/static/44.js +0 -2
- package/dist-android/static/44.js.map +0 -1
- package/dist-android/static/45.js +0 -2
- package/dist-android/static/45.js.map +0 -1
- package/dist-android/static/46.js +0 -2
- package/dist-android/static/46.js.map +0 -1
- package/dist-android/static/47.js +0 -2
- package/dist-android/static/47.js.map +0 -1
- package/dist-android/static/48.js +0 -2
- package/dist-android/static/48.js.map +0 -1
- package/dist-android/static/49.js +0 -2
- package/dist-android/static/49.js.map +0 -1
- package/dist-android/static/5.js +0 -2
- package/dist-android/static/5.js.map +0 -1
- package/dist-android/static/50.js +0 -2
- package/dist-android/static/50.js.map +0 -1
- package/dist-android/static/51.js +0 -2
- package/dist-android/static/51.js.map +0 -1
- package/dist-android/static/52.js +0 -2
- package/dist-android/static/52.js.map +0 -1
- package/dist-android/static/53.js +0 -2
- package/dist-android/static/53.js.map +0 -1
- package/dist-android/static/54.js +0 -2
- package/dist-android/static/54.js.map +0 -1
- package/dist-android/static/55.js +0 -2
- package/dist-android/static/55.js.map +0 -1
- package/dist-android/static/56.js +0 -2
- package/dist-android/static/56.js.map +0 -1
- package/dist-android/static/57.js +0 -2
- package/dist-android/static/57.js.map +0 -1
- package/dist-android/static/58.js +0 -2
- package/dist-android/static/58.js.map +0 -1
- package/dist-android/static/59.js +0 -2
- package/dist-android/static/59.js.map +0 -1
- package/dist-android/static/6.js +0 -2
- package/dist-android/static/6.js.map +0 -1
- package/dist-android/static/60.js +0 -2
- package/dist-android/static/60.js.map +0 -1
- package/dist-android/static/61.js +0 -2
- package/dist-android/static/61.js.map +0 -1
- package/dist-android/static/62.js +0 -2
- package/dist-android/static/62.js.map +0 -1
- package/dist-android/static/63.js +0 -2
- package/dist-android/static/63.js.map +0 -1
- package/dist-android/static/64.js +0 -2
- package/dist-android/static/64.js.map +0 -1
- package/dist-android/static/65.js +0 -2
- package/dist-android/static/65.js.map +0 -1
- package/dist-android/static/66.js +0 -2
- package/dist-android/static/66.js.map +0 -1
- package/dist-android/static/67.js +0 -2
- package/dist-android/static/67.js.map +0 -1
- package/dist-android/static/68.js +0 -2
- package/dist-android/static/68.js.map +0 -1
- package/dist-android/static/69.js +0 -2
- package/dist-android/static/69.js.map +0 -1
- package/dist-android/static/7.js +0 -6
- package/dist-android/static/7.js.map +0 -1
- package/dist-android/static/70.js +0 -2
- package/dist-android/static/70.js.map +0 -1
- package/dist-android/static/71.js +0 -2
- package/dist-android/static/71.js.map +0 -1
- package/dist-android/static/72.js +0 -2
- package/dist-android/static/72.js.map +0 -1
- package/dist-android/static/73.js +0 -2
- package/dist-android/static/73.js.map +0 -1
- package/dist-android/static/74.js +0 -2
- package/dist-android/static/74.js.map +0 -1
- package/dist-android/static/75.js +0 -2
- package/dist-android/static/75.js.map +0 -1
- package/dist-android/static/76.js +0 -2
- package/dist-android/static/76.js.map +0 -1
- package/dist-android/static/77.js +0 -2
- package/dist-android/static/77.js.map +0 -1
- package/dist-android/static/78.js +0 -2
- package/dist-android/static/78.js.map +0 -1
- package/dist-android/static/79.js +0 -2
- package/dist-android/static/79.js.map +0 -1
- package/dist-android/static/8.js +0 -2
- package/dist-android/static/8.js.map +0 -1
- package/dist-android/static/80.js +0 -2
- package/dist-android/static/80.js.map +0 -1
- package/dist-android/static/81.js +0 -2
- package/dist-android/static/81.js.map +0 -1
- package/dist-android/static/82.js +0 -2
- package/dist-android/static/82.js.map +0 -1
- package/dist-android/static/83.js +0 -2
- package/dist-android/static/83.js.map +0 -1
- package/dist-android/static/84.js +0 -2
- package/dist-android/static/84.js.map +0 -1
- package/dist-android/static/85.js +0 -2
- package/dist-android/static/85.js.map +0 -1
- package/dist-android/static/86.js +0 -2
- package/dist-android/static/86.js.map +0 -1
- package/dist-android/static/87.js +0 -2
- package/dist-android/static/87.js.map +0 -1
- package/dist-android/static/88.js +0 -2
- package/dist-android/static/88.js.map +0 -1
- package/dist-android/static/89.js +0 -2
- package/dist-android/static/89.js.map +0 -1
- package/dist-android/static/9.js +0 -3
- package/dist-android/static/9.js.map +0 -1
- package/dist-android/static/90.js +0 -2
- package/dist-android/static/90.js.map +0 -1
- package/dist-android/static/91.js +0 -2
- package/dist-android/static/91.js.map +0 -1
- package/dist-android/static/92.js +0 -2
- package/dist-android/static/92.js.map +0 -1
- package/dist-android/static/93.js +0 -2
- package/dist-android/static/93.js.map +0 -1
- package/dist-android/static/94.js +0 -2
- package/dist-android/static/94.js.map +0 -1
- package/dist-android/static/95.js +0 -2
- package/dist-android/static/95.js.map +0 -1
- package/dist-android/static/96.js +0 -2
- package/dist-android/static/96.js.map +0 -1
- package/dist-android/static/97.js +0 -2
- package/dist-android/static/97.js.map +0 -1
- package/dist-android/static/98.js +0 -2
- package/dist-android/static/98.js.map +0 -1
- package/dist-android/static/99.js +0 -2
- package/dist-android/static/99.js.map +0 -1
- package/dist-android/static/app.css +0 -2
- package/dist-android/static/app.css.map +0 -1
- package/dist-android/static/app.js +0 -80
- package/dist-android/static/app.js.map +0 -1
- 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 +0 -7
- package/dist-android/static/denglu.png +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 +0 -766
- 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/src/components/app_apply/Acceptance.vue +0 -298
- package/src/components/app_apply/ApplyApp.vue +0 -91
- package/src/components/app_apply/ApplyDownList.vue +0 -166
- package/src/components/app_apply/ApplyInfo.vue +0 -56
- package/src/components/app_apply/ApplyListUpload.vue +0 -258
- package/src/components/app_apply/ApplyToDoList.vue +0 -165
- package/src/components/app_apply/ApplyUserInfo.vue +0 -56
- package/src/components/app_apply/FieldExploration.vue +0 -267
- package/src/components/app_apply/PlaceControler.vue +0 -258
- package/src/components/app_apply/ServiceControl.vue +0 -267
- package/src/components/app_apply/ServiceView.vue +0 -355
- package/src/components/app_apply/ToolsPage.vue +0 -51
- package/src/components/app_apply/Ventilation.vue +0 -199
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
- package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
- package/src/components/product/Function/functions/StopInstall.vue +0 -106
- package/src/components/product/Process/Processes/printCharge.vue +0 -126
- package/src/components/product/Process/ShowBackReason.vue +0 -32
- package/src/components/product/ReportForm/GasIgnitionSummary.vue +0 -352
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
|
@@ -1,484 +1,823 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
-
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
<th
|
|
12
|
-
<th
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
<th>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
<
|
|
182
|
-
|
|
183
|
-
<
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
</
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
this
|
|
441
|
-
}
|
|
442
|
-
this.$
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
</div>
|
|
7
|
+
</criteria>
|
|
8
|
+
<data-grid :model="model" v-ref:grid partial='list' class="list_area table_sy" style="padding: 0px">
|
|
9
|
+
<template partial='head'>
|
|
10
|
+
<tr>
|
|
11
|
+
<th>序号</th>
|
|
12
|
+
<th>客户编号</th>
|
|
13
|
+
<th>客户名称</th>
|
|
14
|
+
<th>客户电话</th>
|
|
15
|
+
<th>地址信息</th>
|
|
16
|
+
<th>表号</th>
|
|
17
|
+
<th>气表品牌</th>
|
|
18
|
+
<th>气表型号</th>
|
|
19
|
+
<th>
|
|
20
|
+
<button
|
|
21
|
+
type="button"
|
|
22
|
+
class="btn btn-info head-but"
|
|
23
|
+
@click="$parent.$parent.$parent.openModal()"
|
|
24
|
+
:disabled="$parent.$parent.$parent.mark === 1 ||
|
|
25
|
+
($parent.$parent.$parent.model.count >= $parent.$parent.$parent.selectdata.f_apply_count && $parent.$parent.$parent.selectdata.defname === '报建受理') ||
|
|
26
|
+
($parent.$parent.$parent.model.count >= $parent.$parent.$parent.selectdata.f_install_count && $parent.$parent.$parent.selectdata.defname === '工程施工')"
|
|
27
|
+
>添加用户</button>
|
|
28
|
+
<button
|
|
29
|
+
v-if="$parent.$parent.$parent.selectdata.defname === '工程施工'"
|
|
30
|
+
type="button"
|
|
31
|
+
class="btn btn-info head-but"
|
|
32
|
+
@click="$parent.$parent.$parent.openSign()"
|
|
33
|
+
>签字照片</button>
|
|
34
|
+
</th>
|
|
35
|
+
<th>
|
|
36
|
+
<template v-if="$parent.$parent.$parent.selectdata.f_apply_nature === '小区'">
|
|
37
|
+
<button type="button" class="btn btn-info head-but" v-if="$parent.$parent.$parent.mark !== 1"
|
|
38
|
+
@click="$parent.$parent.$parent.showFile = !$parent.$parent.$parent.showFile">导入</button>
|
|
39
|
+
<a type="button" class="btn btn-info head-but" v-if="$parent.$parent.$parent.mark !== 1"
|
|
40
|
+
href="/apply/download/excel/安装明细.xlsx" download>模板下载</a>
|
|
41
|
+
</template>
|
|
42
|
+
</th>
|
|
43
|
+
</tr>
|
|
44
|
+
</template>
|
|
45
|
+
<template partial='body'>
|
|
46
|
+
<tr>
|
|
47
|
+
<td style="text-align: center;">
|
|
48
|
+
<nobr>{{$index+1}}</nobr>
|
|
49
|
+
</td>
|
|
50
|
+
<td style="text-align: center;">
|
|
51
|
+
<nobr>{{row.f_userinfo_id}}</nobr>
|
|
52
|
+
</td>
|
|
53
|
+
<td style="text-align: center;">
|
|
54
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
55
|
+
</td>
|
|
56
|
+
<td style="text-align: center;">
|
|
57
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
58
|
+
</td>
|
|
59
|
+
<td style="text-align: center;">
|
|
60
|
+
<nobr>{{row.f_address}}{{row.f_address_detail}}</nobr>
|
|
61
|
+
</td>
|
|
62
|
+
<td style="text-align: center;">
|
|
63
|
+
<nobr>{{row.f_meternumber}}</nobr>
|
|
64
|
+
</td>
|
|
65
|
+
<td style="text-align: center;">
|
|
66
|
+
<nobr>{{row.f_meter_brand}}</nobr>
|
|
67
|
+
</td>
|
|
68
|
+
<td style="text-align: center;">
|
|
69
|
+
<nobr>{{row.f_meter_style}}</nobr>
|
|
70
|
+
</td>
|
|
71
|
+
<td style="text-align: center;">
|
|
72
|
+
<nobr>
|
|
73
|
+
<button
|
|
74
|
+
type="button" name="button" class="btn btn-link"
|
|
75
|
+
@click="$parent.$parent.$parent.openModal(row)">
|
|
76
|
+
{{$parent.$parent.$parent.mark === 1 || row.f_user_state === '正常' ? '查看' : '修正'}}
|
|
77
|
+
</button>
|
|
78
|
+
<!-- <button-->
|
|
79
|
+
<!-- type="button" name="button" class="btn btn-link"-->
|
|
80
|
+
<!-- @click="$parent.$parent.$parent.deleteUserinfo(row)"-->
|
|
81
|
+
<!-- v-if="$parent.$parent.$parent.showDeleteUserInfo"-->
|
|
82
|
+
<!-- :disabled="$parent.$parent.$parent.mark === 1 || row.f_user_state === '正常'"-->
|
|
83
|
+
<!-- >-->
|
|
84
|
+
<!-- 删除-->
|
|
85
|
+
<!-- </button>-->
|
|
86
|
+
</nobr>
|
|
87
|
+
</td>
|
|
88
|
+
</tr>
|
|
89
|
+
</template>
|
|
90
|
+
</data-grid>
|
|
91
|
+
</criteria-paged>
|
|
92
|
+
</div>
|
|
93
|
+
<modal v-if="showFile" :show.sync="showFile" v-ref:modal :backdrop="false" title="选择文件">
|
|
94
|
+
<header slot="modal-header" class="modal-header">
|
|
95
|
+
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
96
|
+
<h4 class="modal-title">选择文件</h4>
|
|
97
|
+
</header>
|
|
98
|
+
<article slot="modal-body" class="modal-body">
|
|
99
|
+
<div class="form-group">
|
|
100
|
+
<file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" v-ref:file></file-upload>
|
|
101
|
+
</div>
|
|
102
|
+
</article>
|
|
103
|
+
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
104
|
+
</modal>
|
|
105
|
+
<modal v-if="Sign" :show.sync="Sign" v-ref:modal :large="true" :backdrop="false">
|
|
106
|
+
<header slot="modal-header" class="modal-header">
|
|
107
|
+
<button type="button" class="close" @click="closeUserFile"><span>×</span></button>
|
|
108
|
+
<h4 class="modal-title">用户签字</h4>
|
|
109
|
+
</header>
|
|
110
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
111
|
+
<div class="left col-sm-6 col-xs-6">
|
|
112
|
+
<img-self :src="fileurl" width="100%" height="100%"></img-self>
|
|
113
|
+
</div>
|
|
114
|
+
</article>
|
|
115
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
116
|
+
<template v-if="mark !== 1 && userinfo.f_user_state !== '正常'">
|
|
117
|
+
</template>
|
|
118
|
+
</footer>
|
|
119
|
+
</modal>
|
|
120
|
+
<validator name="v">
|
|
121
|
+
<modal v-if="showModal" :show.sync="showModal" v-ref:modal :large="true" :backdrop="false">
|
|
122
|
+
<header slot="modal-header" class="modal-header">
|
|
123
|
+
<button type="button" class="close" @click="closeUserFile"><span>×</span></button>
|
|
124
|
+
<h4 class="modal-title">安装明细</h4>
|
|
125
|
+
</header>
|
|
126
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
127
|
+
<!-- 基本信息 -->
|
|
128
|
+
<div class="form-group col-sm-12 panel panel-info" v-if="showUserInfo">
|
|
129
|
+
<div class="panel-heading head col-sm-12" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
130
|
+
<div class="col-sm-6 text-left">用户信息</div>
|
|
131
|
+
</div>
|
|
132
|
+
<div class="form-group col-sm-6" :class="[$v.f_user_name.required ? 'has-error' : '']">
|
|
133
|
+
<label class="col-sm-4 control-label">客户名称:</label>
|
|
134
|
+
<div class="col-sm-8">
|
|
135
|
+
<input class="form-control input_view" style=""
|
|
136
|
+
v-validate:f_user_name = "['required']"
|
|
137
|
+
v-model="userinfo.f_user_name"
|
|
138
|
+
:value.sync="userinfo.f_user_name"
|
|
139
|
+
:readonly="mark === 1 || userinfo.f_user_state === '正常'"
|
|
140
|
+
placeholder="客户名称"/>
|
|
141
|
+
</div>
|
|
142
|
+
</div>
|
|
143
|
+
<div class="form-group col-sm-6">
|
|
144
|
+
<label class="col-sm-4 control-label">客户电话:</label>
|
|
145
|
+
<div class="col-sm-8">
|
|
146
|
+
<input class="form-control input_view" style=""
|
|
147
|
+
v-model="userinfo.f_user_phone"
|
|
148
|
+
:value.sync="userinfo.f_user_phone"
|
|
149
|
+
:readonly="mark === 1 || userinfo.f_user_state === '正常'"
|
|
150
|
+
placeholder="客户电话"/>
|
|
151
|
+
</div>
|
|
152
|
+
</div>
|
|
153
|
+
<div class="form-group col-sm-6">
|
|
154
|
+
<label class="col-sm-4 control-label">证件类型:</label>
|
|
155
|
+
<div class="col-sm-8">
|
|
156
|
+
<input-select
|
|
157
|
+
class="select select_list"
|
|
158
|
+
:value.sync="userinfo.f_credentials"
|
|
159
|
+
v-model="userinfo.f_credentials"
|
|
160
|
+
:options="credentialsList"
|
|
161
|
+
:disable="mark === 1 || userinfo.f_user_state === '正常'"
|
|
162
|
+
:valueSingle="true"></input-select>
|
|
163
|
+
</div>
|
|
164
|
+
</div>
|
|
165
|
+
<div class="form-group col-sm-6">
|
|
166
|
+
<label class="col-sm-4 control-label">证件号码:</label>
|
|
167
|
+
<div class="col-sm-8">
|
|
168
|
+
<input class="form-control input_view" style=""
|
|
169
|
+
placeholder="证件号码"
|
|
170
|
+
v-model="userinfo.f_idnumber"
|
|
171
|
+
:value="userinfo.f_idnumber"
|
|
172
|
+
:readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</div>
|
|
176
|
+
<!-- 地址信息 -->
|
|
177
|
+
<div class="form-group col-sm-12 panel panel-info" v-if="showAddress">
|
|
178
|
+
<div class="panel-heading head col-sm-12" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
179
|
+
<div class="col-sm-6 text-left">地址信息</div>
|
|
180
|
+
</div>
|
|
181
|
+
<div class="form-group col-sm-6" :class="[$v.area.required ? 'has-error' : '']">
|
|
182
|
+
<label class="col-sm-4 control-label">小区/巷道:</label>
|
|
183
|
+
<div class="col-sm-8">
|
|
184
|
+
<input type="text" v-show="false" v-model="area.id" :value.sync="area.id" v-validate:area = "['required']" >
|
|
185
|
+
<input-select
|
|
186
|
+
class="select select_list"
|
|
187
|
+
:value.sync="area"
|
|
188
|
+
v-model="area"
|
|
189
|
+
:options="areaList"
|
|
190
|
+
@change="changeArea(),addressSplicing()"
|
|
191
|
+
:disable="mark === 1 || selectdata.f_apply_nature === '小区' || userinfo.f_user_state === '正常'"
|
|
192
|
+
:valueSingle="true"></input-select>
|
|
193
|
+
</div>
|
|
194
|
+
</div>
|
|
195
|
+
<div class="form-group col-sm-6">
|
|
196
|
+
<label class="col-sm-4 control-label">楼  号:</label>
|
|
197
|
+
<div class="col-sm-8">
|
|
198
|
+
<input class="form-control input_view" placeholder="楼号"
|
|
199
|
+
v-model="userinfo.f_building"
|
|
200
|
+
:value="userinfo.f_building"
|
|
201
|
+
@change="addressSplicing"
|
|
202
|
+
:readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
|
|
203
|
+
</div>
|
|
204
|
+
</div>
|
|
205
|
+
<div class="form-group col-sm-6">
|
|
206
|
+
<label class="col-sm-4 control-label">单  元:</label>
|
|
207
|
+
<div class="col-sm-8">
|
|
208
|
+
<input class="form-control input_view" placeholder="单元"
|
|
209
|
+
v-model="userinfo.f_unit"
|
|
210
|
+
:value="userinfo.f_unit"
|
|
211
|
+
@change="addressSplicing"
|
|
212
|
+
:readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
<div class="form-group col-sm-6" v-if="false">
|
|
216
|
+
<label class="col-sm-4 control-label">楼  层:</label>
|
|
217
|
+
<div class="col-sm-8">
|
|
218
|
+
<input class="form-control input_view" placeholder="楼层"
|
|
219
|
+
v-model="userinfo.f_floor"
|
|
220
|
+
:value="userinfo.f_floor"
|
|
221
|
+
@change="addressSplicing"
|
|
222
|
+
:readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
|
|
223
|
+
</div>
|
|
224
|
+
</div>
|
|
225
|
+
<div class="form-group col-sm-6" :class="[$v.f_room.required ? 'has-error' : '']">
|
|
226
|
+
<label class="col-sm-4 control-label">门 牌 号:</label>
|
|
227
|
+
<div class="col-sm-8">
|
|
228
|
+
<input class="form-control input_view" placeholder="门牌号"
|
|
229
|
+
v-validate:f_room = "['required']"
|
|
230
|
+
v-model="userinfo.f_room"
|
|
231
|
+
:value="userinfo.f_room"
|
|
232
|
+
@change="addressSplicing"
|
|
233
|
+
:readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
|
|
234
|
+
</div>
|
|
235
|
+
</div>
|
|
236
|
+
<div class="form-group col-sm-12">
|
|
237
|
+
<label class="col-sm-2 control-label">地  址:</label>
|
|
238
|
+
<div class="col-sm-10">
|
|
239
|
+
<input class="form-control input_view"
|
|
240
|
+
placeholder="地址"
|
|
241
|
+
v-model="userinfo.f_address"
|
|
242
|
+
:value.sync="userinfo.f_address"
|
|
243
|
+
:readonly="true"/>
|
|
244
|
+
</div>
|
|
245
|
+
</div>
|
|
246
|
+
</div>
|
|
247
|
+
<!-- 表具信息 -->
|
|
248
|
+
<div class="form-group col-sm-12 panel panel-info" v-if="showUserFile">
|
|
249
|
+
<div class="panel-heading head col-sm-12" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
250
|
+
<div class="col-sm-6 text-left">表具信息</div>
|
|
251
|
+
</div>
|
|
252
|
+
<div class="form-group col-sm-6" :class="[$v.f_gasbrand_id.required ? 'has-error' : '']">
|
|
253
|
+
<label class="col-sm-4 control-label">气表品牌:</label>
|
|
254
|
+
<div class="col-sm-8">
|
|
255
|
+
<input type="text" v-show="false" v-model="userfile.f_gasbrand_id" :value.sync="userfile.f_gasbrand_id" v-validate:f_gasbrand_id = "['required']" >
|
|
256
|
+
<input-select
|
|
257
|
+
class="select select_list"
|
|
258
|
+
:value.sync="userfile.f_gasbrand_id"
|
|
259
|
+
v-model="userfile.f_gasbrand_id"
|
|
260
|
+
:options="meterBrandList"
|
|
261
|
+
@change="gasbrandChange()"
|
|
262
|
+
:disable="mark === 1 || userinfo.f_user_state === '正常'"
|
|
263
|
+
:valueSingle="true"></input-select>
|
|
264
|
+
</div>
|
|
265
|
+
</div>
|
|
266
|
+
<div class="form-group col-sm-6" :class="[$v.f_gasmodel_id.required ? 'has-error' : '']">
|
|
267
|
+
<label class="col-sm-4 control-label">气表型号:</label>
|
|
268
|
+
<div class="col-sm-8">
|
|
269
|
+
<input type="text" v-show="false" v-model="userfile.f_gasmodel_id" :value.sync="userfile.f_gasmodel_id" v-validate:f_gasmodel_id = "['required']" >
|
|
270
|
+
<input-select
|
|
271
|
+
class="select select_list"
|
|
272
|
+
:value.sync="userfile.f_gasmodel_id"
|
|
273
|
+
v-model="userfile.f_gasmodel_id"
|
|
274
|
+
:options.sync="gasModelList"
|
|
275
|
+
:disable="mark === 1 || userinfo.f_user_state === '正常'"
|
|
276
|
+
:valueSingle="true"></input-select>
|
|
277
|
+
</div>
|
|
278
|
+
</div>
|
|
279
|
+
<template v-if="showInstall">
|
|
280
|
+
<div class="form-group col-sm-6" :class="[$v.f_meternumber.required ? 'has-error' : '']">
|
|
281
|
+
<label class="col-sm-4 control-label">表  号:</label>
|
|
282
|
+
<div class="col-sm-8">
|
|
283
|
+
<input class="form-control input_view" style=""
|
|
284
|
+
placeholder="表号" v-validate:f_meternumber = "['required']"
|
|
285
|
+
v-model="userfile.f_meternumber"
|
|
286
|
+
:value.sync="userfile.f_meternumber"
|
|
287
|
+
@change="meternumberValidate()"
|
|
288
|
+
:readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
|
|
289
|
+
</div>
|
|
290
|
+
</div>
|
|
291
|
+
<div class="form-group col-sm-6">
|
|
292
|
+
<label class="col-sm-4 control-label">表 封 号:</label>
|
|
293
|
+
<div class="col-sm-8">
|
|
294
|
+
<input class="form-control input_view" style=""
|
|
295
|
+
placeholder="表封号"
|
|
296
|
+
v-model="userfile.f_metertitles"
|
|
297
|
+
:value="userfile.f_metertitles"
|
|
298
|
+
:readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
<div class="form-group col-sm-6">
|
|
302
|
+
<label class="col-sm-4 control-label">表 读 数:</label>
|
|
303
|
+
<div class="col-sm-8">
|
|
304
|
+
<input class="form-control input_view" style=""
|
|
305
|
+
type="number"
|
|
306
|
+
placeholder="表读数"
|
|
307
|
+
v-model="userfile.f_meter_base"
|
|
308
|
+
:value="userfile.f_meter_base"
|
|
309
|
+
:readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
|
|
310
|
+
</div>
|
|
311
|
+
</div>
|
|
312
|
+
<div class="form-group col-sm-6">
|
|
313
|
+
<label class="col-sm-4 control-label">初始底数:</label>
|
|
314
|
+
<div class="col-sm-8">
|
|
315
|
+
<input class="form-control input_view" style=""
|
|
316
|
+
type="number"
|
|
317
|
+
v-model="userfile.f_initial_base"
|
|
318
|
+
:value="userfile.f_initial_base"
|
|
319
|
+
placeholder="初始底数"
|
|
320
|
+
:readonly="mark === 1 || userinfo.f_user_state === '正常'"/>
|
|
321
|
+
</div>
|
|
322
|
+
</div>
|
|
323
|
+
<div class="form-group col-sm-6">
|
|
324
|
+
<label class="col-sm-4 control-label">表  向:</label>
|
|
325
|
+
<div class="col-sm-8">
|
|
326
|
+
<input-select
|
|
327
|
+
class="select select_list"
|
|
328
|
+
:value.sync="userfile.f_aroundmeter"
|
|
329
|
+
v-model="userfile.f_aroundmeter"
|
|
330
|
+
:options="aroundmeters"
|
|
331
|
+
:disable="mark === 1 || userinfo.f_user_state === '正常'"
|
|
332
|
+
:valueSingle="true"></input-select>
|
|
333
|
+
</div>
|
|
334
|
+
</div>
|
|
335
|
+
<div class="form-group col-sm-6">
|
|
336
|
+
<label class="col-sm-4 control-label">安装位置:</label>
|
|
337
|
+
<div class="col-sm-8">
|
|
338
|
+
<input-select
|
|
339
|
+
class="select select_list"
|
|
340
|
+
:value.sync="userfile.f_position"
|
|
341
|
+
v-model="userfile.f_position"
|
|
342
|
+
:options="positions"
|
|
343
|
+
:disable="mark === 1 || userinfo.f_user_state === '正常'"
|
|
344
|
+
:valueSingle="true"></input-select>
|
|
345
|
+
</div>
|
|
346
|
+
</div>
|
|
347
|
+
<div class="form-group col-sm-6">
|
|
348
|
+
<label class="col-sm-4 control-label">安 装 人:</label>
|
|
349
|
+
<div class="col-sm-8">
|
|
350
|
+
<input class="form-control input_view" style=""
|
|
351
|
+
v-model="userfile.f_install_person"
|
|
352
|
+
:value.sync="installperson(userfile.f_install_person)"
|
|
353
|
+
placeholder="安装人"
|
|
354
|
+
readonly/>
|
|
355
|
+
</div>
|
|
356
|
+
</div>
|
|
357
|
+
<div class="form-group col-sm-6">
|
|
358
|
+
<label class="col-sm-4 control-label">安装日期:</label>
|
|
359
|
+
<div class="col-sm-8">
|
|
360
|
+
<input class="form-control input_view" style=""
|
|
361
|
+
v-model="userfile.f_install_date"
|
|
362
|
+
:value.sync="installdate(userfile.f_install_date)"
|
|
363
|
+
placeholder="安装日期"
|
|
364
|
+
readonly/>
|
|
365
|
+
</div>
|
|
366
|
+
</div>
|
|
367
|
+
</template>
|
|
368
|
+
</div>
|
|
369
|
+
</article>
|
|
370
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
371
|
+
<template v-if="mark !== 1 && userinfo.f_user_state !== '正常'">
|
|
372
|
+
<button type="button" class="btn btn-primary" @click="saveUserFile" :disabled="!$v.valid">确认</button>
|
|
373
|
+
</template>
|
|
374
|
+
</footer>
|
|
375
|
+
</modal>
|
|
376
|
+
</validator>
|
|
377
|
+
</template>
|
|
378
|
+
<script>
|
|
379
|
+
import Vue from 'vue'
|
|
380
|
+
import {PagedList} from 'vue-client'
|
|
381
|
+
import {HttpResetClass} from 'vue-client'
|
|
382
|
+
import {isEmpty} from '../../../Util'
|
|
383
|
+
// Date格式化
|
|
384
|
+
Date.prototype.Format = function (fmt) {
|
|
385
|
+
var o = {
|
|
386
|
+
'M+': this.getMonth() + 1, // 月份
|
|
387
|
+
'd+': this.getDate(), // 日
|
|
388
|
+
'H+': this.getHours(), // 小时
|
|
389
|
+
'm+': this.getMinutes(), // 分
|
|
390
|
+
's+': this.getSeconds(), // 秒
|
|
391
|
+
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
392
|
+
'S': this.getMilliseconds() // 毫秒
|
|
393
|
+
}
|
|
394
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
395
|
+
for (var k in o) {
|
|
396
|
+
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
397
|
+
}
|
|
398
|
+
return fmt
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export default {
|
|
402
|
+
title: '安装明细',
|
|
403
|
+
props: {
|
|
404
|
+
selectdata: {
|
|
405
|
+
type: Object
|
|
406
|
+
},
|
|
407
|
+
mark: {
|
|
408
|
+
type: Number,
|
|
409
|
+
default: 0
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
data () {
|
|
413
|
+
return {
|
|
414
|
+
showFile: false,
|
|
415
|
+
showModal: false,
|
|
416
|
+
model: new PagedList('rs/sql/getApplyUserinfo', 20, null),
|
|
417
|
+
areaList: [],
|
|
418
|
+
area: {},
|
|
419
|
+
userinfo: {},
|
|
420
|
+
userfile: {},
|
|
421
|
+
meterBrandList: [],
|
|
422
|
+
gasModelList: [],
|
|
423
|
+
Sign: false,
|
|
424
|
+
fileurl: null
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
ready () {
|
|
428
|
+
this.search()
|
|
429
|
+
this.getMeterBrand()
|
|
430
|
+
this.getAreaList()
|
|
431
|
+
},
|
|
432
|
+
methods: {
|
|
433
|
+
async deleteUserinfo (row) {
|
|
434
|
+
let res = await this.$showMessage('此操作不可撤回,您确定要删除这条记录吗?')
|
|
435
|
+
if (res === 'cancel') {
|
|
436
|
+
return
|
|
437
|
+
}
|
|
438
|
+
let data = {
|
|
439
|
+
userinfo: row,
|
|
440
|
+
selectdata: this.selectdata
|
|
441
|
+
}
|
|
442
|
+
res = await this.$resetpost('rs/logic/applyDeleteUserinfo', {data:data}, {
|
|
443
|
+
resolveMsg: null,
|
|
444
|
+
rejectMsg: '删除失败!!!'
|
|
445
|
+
})
|
|
446
|
+
|
|
447
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
448
|
+
},
|
|
449
|
+
// 保存档案
|
|
450
|
+
async saveUserFile () {
|
|
451
|
+
let data = {
|
|
452
|
+
user: this.$login.f,
|
|
453
|
+
userinfo: this.userinfo,
|
|
454
|
+
userfile: this.userfile,
|
|
455
|
+
selectdata: this.selectdata
|
|
456
|
+
}
|
|
457
|
+
let res = await this.$resetpost('rs/logic/applyAddUserinfo', {data:data}, {
|
|
458
|
+
resolveMsg: null,
|
|
459
|
+
rejectMsg: '用户档案添加失败!!!'
|
|
460
|
+
})
|
|
461
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
462
|
+
},
|
|
463
|
+
// 检查表号是否存在
|
|
464
|
+
async meternumberValidate() {
|
|
465
|
+
if (!this.userfile.f_gasbrand_id) {
|
|
466
|
+
this.userfile.f_meternumber = ''
|
|
467
|
+
this.$showAlert('请先选择气表品牌!!!', 'warning', 3000)
|
|
468
|
+
return
|
|
469
|
+
}
|
|
470
|
+
if (this.userfile.f_gasbrand_id && this.userfile.f_meternumber) {
|
|
471
|
+
let data = {
|
|
472
|
+
f_meternumber: this.userfile.f_meternumber,
|
|
473
|
+
f_gasbrand_id: this.userfile.f_gasbrand_id
|
|
474
|
+
}
|
|
475
|
+
if (this.userfile.f_user_id) {
|
|
476
|
+
data.f_user_id = this.userfile.f_user_id
|
|
477
|
+
}
|
|
478
|
+
let res = await this.$resetpost('rs/logic/meterbrandsNumberValidate', {data:data}, {
|
|
479
|
+
resolveMsg: null,
|
|
480
|
+
rejectMsg: '表号验证失败!!'
|
|
481
|
+
})
|
|
482
|
+
console.log(`查询结果${res.data}`)
|
|
483
|
+
console.log(res.data)
|
|
484
|
+
if (res.data) {
|
|
485
|
+
this.userfile.f_meternumber = ''
|
|
486
|
+
this.$showAlert('表号已存在!!', 'warning', 3000)
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
// 选择气表品牌
|
|
491
|
+
async gasbrandChange() {
|
|
492
|
+
// 清空已保存的气表型号
|
|
493
|
+
this.userfile.f_gasmodel_id = null
|
|
494
|
+
if (isEmpty(this.userfile.f_gasbrand_id)) {
|
|
495
|
+
return
|
|
496
|
+
}
|
|
497
|
+
let data = {
|
|
498
|
+
f_gasbrand_id: this.userfile.f_gasbrand_id
|
|
499
|
+
}
|
|
500
|
+
let http = new HttpResetClass()
|
|
501
|
+
let res = await http.load(
|
|
502
|
+
'POST',
|
|
503
|
+
`rs/sql/getGasModel`,
|
|
504
|
+
{data: data},
|
|
505
|
+
{resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
|
|
506
|
+
)
|
|
507
|
+
|
|
508
|
+
this.gasModelList = res.data
|
|
509
|
+
|
|
510
|
+
data = {
|
|
511
|
+
tablename: 't_gasbrand',
|
|
512
|
+
condition: `id = '${this.userfile.f_gasbrand_id}'`
|
|
513
|
+
}
|
|
514
|
+
res = await http.load(
|
|
515
|
+
'POST',
|
|
516
|
+
`rs/sql/applySingleTable`,
|
|
517
|
+
{data: data},
|
|
518
|
+
{resolveMsg: null, rejectMsg: '表具类型查询失败!!!'}
|
|
519
|
+
)
|
|
520
|
+
this.userfile.f_meter_classify = res.data[0].f_meter_type
|
|
521
|
+
},
|
|
522
|
+
// 地址拼接
|
|
523
|
+
addressSplicing () {
|
|
524
|
+
let f_area = this.userinfo.f_area || ''
|
|
525
|
+
let f_slice_area = this.userinfo.f_slice_area || ''
|
|
526
|
+
let f_street = this.userinfo.f_street || ''
|
|
527
|
+
let f_residential_area = this.userinfo.f_residential_area || ''
|
|
528
|
+
let f_building = this.userinfo.f_building || ''
|
|
529
|
+
let f_building_suffix = f_building ? '号楼' : ''
|
|
530
|
+
let f_unit = this.userinfo.f_unit || ''
|
|
531
|
+
let f_unit_suffix = f_unit ? '单元' : ''
|
|
532
|
+
let f_floor = this.userinfo.f_floor || ''
|
|
533
|
+
let f_floor_suffix = f_floor ? '层' : ''
|
|
534
|
+
let f_room = this.userinfo.f_room || ''
|
|
535
|
+
let f_room_suffix = f_room ? '室' : ''
|
|
536
|
+
|
|
537
|
+
Vue.set(this.userinfo, 'f_address', f_area + f_slice_area + f_street + f_residential_area + f_building + f_building_suffix + f_unit + f_unit_suffix + f_floor + f_floor_suffix + f_room + f_room_suffix)
|
|
538
|
+
},
|
|
539
|
+
// 选择小区
|
|
540
|
+
changeArea () {
|
|
541
|
+
if (isEmpty(this.area)) {
|
|
542
|
+
return
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
this.userinfo.f_area = this.area.f_area
|
|
546
|
+
this.userinfo.f_slice_area = this.area.f_slice_area
|
|
547
|
+
this.userinfo.f_street = this.area.f_street
|
|
548
|
+
this.userinfo.f_residential_area = this.area.f_residential_area
|
|
549
|
+
this.userinfo.f_residential_area_id = this.area.id
|
|
550
|
+
},
|
|
551
|
+
openSign(){
|
|
552
|
+
this.getFiles()
|
|
553
|
+
this.Sign = true
|
|
554
|
+
},
|
|
555
|
+
async getFiles() {
|
|
556
|
+
let http = new HttpResetClass()
|
|
557
|
+
console.log('=========pc签字查看===============')
|
|
558
|
+
let data = {
|
|
559
|
+
tablename: 't_files',
|
|
560
|
+
condition: `f_blobid = '${this.selectdata.f_process_id}' and defname = '工程施工' and fremarks = '报装手机签字文件'`
|
|
561
|
+
}
|
|
562
|
+
let res = await http.load('POST', `rs/sql/applySingleTable`, {data: data}, {
|
|
563
|
+
warnMsg: null,
|
|
564
|
+
resolveMsg: null
|
|
565
|
+
})
|
|
566
|
+
if(res.data.length > 0){
|
|
567
|
+
console.log('=========签字地址===============',res.data[0])
|
|
568
|
+
let URL = res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)
|
|
569
|
+
res.data[0].f_downloadURL = "http://" + location.host + "/" + URL
|
|
570
|
+
console.log("=====查看文件地址=====",res.data[0].f_downloadURL)
|
|
571
|
+
this.fileurl = res.data[0].f_downloadURL
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
// 打开安装明细
|
|
575
|
+
async openModal (row) {
|
|
576
|
+
|
|
577
|
+
if (row) {
|
|
578
|
+
console.log('------------------修正---------------------')
|
|
579
|
+
this.userinfo = row
|
|
580
|
+
|
|
581
|
+
if (this.userinfo.f_residential_area_id) {
|
|
582
|
+
let data = {
|
|
583
|
+
tablename: 't_area_address',
|
|
584
|
+
condition: `id = '${this.userinfo.f_residential_area_id}'`
|
|
585
|
+
}
|
|
586
|
+
let http = new HttpResetClass()
|
|
587
|
+
let res = await http.load(
|
|
588
|
+
'POST',
|
|
589
|
+
`rs/sql/applySingleTable`,
|
|
590
|
+
{data: data},
|
|
591
|
+
{resolveMsg: null, rejectMsg: '小区查询失败!!!'}
|
|
592
|
+
)
|
|
593
|
+
|
|
594
|
+
this.area = res.data[0]
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
let data = {
|
|
598
|
+
tablename: 't_userfiles',
|
|
599
|
+
condition: `f_userinfo_id = ${row.f_userinfo_id}`
|
|
600
|
+
}
|
|
601
|
+
let http = new HttpResetClass()
|
|
602
|
+
let res = await http.load(
|
|
603
|
+
'POST',
|
|
604
|
+
`rs/sql/applySingleTable`,
|
|
605
|
+
{data: data},
|
|
606
|
+
{resolveMsg: null, rejectMsg: '表档案查询失败!!!'}
|
|
607
|
+
)
|
|
608
|
+
this.userfile = res.data[0]
|
|
609
|
+
|
|
610
|
+
if (this.userfile.f_gasbrand_id === 0) {
|
|
611
|
+
this.userfile.f_gasbrand_id = null
|
|
612
|
+
}
|
|
613
|
+
if (this.userfile.f_gasmodel_id === 0) {
|
|
614
|
+
this.userfile.f_gasmodel_id = null
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
if (!isEmpty(this.userfile.f_gasbrand_id)) {
|
|
618
|
+
let data = {
|
|
619
|
+
f_gasbrand_id: this.userfile.f_gasbrand_id
|
|
620
|
+
}
|
|
621
|
+
let http = new HttpResetClass()
|
|
622
|
+
let res = await http.load(
|
|
623
|
+
'POST',
|
|
624
|
+
`rs/sql/getGasModel`,
|
|
625
|
+
{data: data},
|
|
626
|
+
{resolveMsg: null, rejectMsg: '气表型号查询失败!!!'}
|
|
627
|
+
)
|
|
628
|
+
|
|
629
|
+
this.gasModelList = res.data
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
if (this.selectdata.f_apply_type === '民用报建' && this.selectdata.f_apply_nature === '小区') {
|
|
633
|
+
let data = {
|
|
634
|
+
tablename: 't_area_address',
|
|
635
|
+
condition: `id = ${this.selectdata.f_residential_area_id}`
|
|
636
|
+
}
|
|
637
|
+
let http = new HttpResetClass()
|
|
638
|
+
let res = await http.load(
|
|
639
|
+
'POST',
|
|
640
|
+
`rs/sql/applySingleTable`,
|
|
641
|
+
{data: data},
|
|
642
|
+
{resolveMsg: null, rejectMsg: '小区查询失败!!!'}
|
|
643
|
+
)
|
|
644
|
+
this.area = res.data[0]
|
|
645
|
+
this.changeArea()
|
|
646
|
+
this.addressSplicing()
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
// 档案回填定位信息
|
|
650
|
+
this.userinfo.f_lng = this.selectdata.f_lng
|
|
651
|
+
this.userinfo.f_lat = this.selectdata.f_lat
|
|
652
|
+
this.userinfo.f_location_address = this.selectdata.f_order_address
|
|
653
|
+
|
|
654
|
+
this.showModal = true
|
|
655
|
+
},
|
|
656
|
+
// 获取气表品牌
|
|
657
|
+
async getMeterBrand () {
|
|
658
|
+
let data = {
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
let http = new HttpResetClass()
|
|
662
|
+
let res = await http.load(
|
|
663
|
+
'POST',
|
|
664
|
+
`rs/sql/getMeterBrand`,
|
|
665
|
+
{data: data},
|
|
666
|
+
{resolveMsg: null, rejectMsg: '气表品牌查询失败!!!'}
|
|
667
|
+
)
|
|
668
|
+
|
|
669
|
+
this.meterBrandList = res.data
|
|
670
|
+
},
|
|
671
|
+
// 获取小区
|
|
672
|
+
async getAreaList () {
|
|
673
|
+
let data = {
|
|
674
|
+
tablename: 't_area_address',
|
|
675
|
+
condition: `f_filiale = '${this.$login.f.f_fengongsi}' and f_area_status = '启用'`
|
|
676
|
+
}
|
|
677
|
+
let http = new HttpResetClass()
|
|
678
|
+
let res = await http.load(
|
|
679
|
+
'POST',
|
|
680
|
+
`rs/sql/applySingleTable`,
|
|
681
|
+
{data: data},
|
|
682
|
+
{resolveMsg: null, rejectMsg: '小区查询失败!!!'}
|
|
683
|
+
)
|
|
684
|
+
this.areaList = res.data.map(item => {
|
|
685
|
+
item.id = String(item.id)
|
|
686
|
+
return {
|
|
687
|
+
label: item.f_residential_area,
|
|
688
|
+
value: item
|
|
689
|
+
}
|
|
690
|
+
})
|
|
691
|
+
},
|
|
692
|
+
searchCondition (args) {
|
|
693
|
+
if (this.selectdata.f_apply_type === '分户挂表') {
|
|
694
|
+
args.condition = args.condition + `and ui.f_userinfo_id = '${this.selectdata.f_userinfo_id}'`
|
|
695
|
+
} else {
|
|
696
|
+
args.condition = args.condition + `and ui.f_process_id = '${this.selectdata.f_process_id}'`
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
this.model.search(args.condition, args.model)
|
|
700
|
+
},
|
|
701
|
+
// 查询
|
|
702
|
+
async search () {
|
|
703
|
+
this.$refs.cp.$refs.cri.search()
|
|
704
|
+
},
|
|
705
|
+
// 关闭安装明细
|
|
706
|
+
closeUserFile() {
|
|
707
|
+
this.showModal = false
|
|
708
|
+
this.area = {}
|
|
709
|
+
this.userinfo = {}
|
|
710
|
+
this.userfile = {}
|
|
711
|
+
this.gasModelList = {}
|
|
712
|
+
this.Sign = {}
|
|
713
|
+
this.search()
|
|
714
|
+
},
|
|
715
|
+
//关闭导入弹框
|
|
716
|
+
closeFile() {
|
|
717
|
+
this.showFile = false
|
|
718
|
+
// 将选的文件清空
|
|
719
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
720
|
+
this.search()
|
|
721
|
+
},
|
|
722
|
+
},
|
|
723
|
+
events: {
|
|
724
|
+
async 'onFileUpload'(file, result) {
|
|
725
|
+
let data = {
|
|
726
|
+
selectdata: this.selectdata,
|
|
727
|
+
filepath: result.f_downloadpath,
|
|
728
|
+
user: this.$login.f,
|
|
729
|
+
mark: this.mark
|
|
730
|
+
}
|
|
731
|
+
let res = await this.$resetpost(`rs/logic/importAddressAndUserinfo`, {data:data}, {resolveMsg: null, rejectMsg: '导入失败!!!', silent: true}, 0)
|
|
732
|
+
|
|
733
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
computed: {
|
|
737
|
+
showDeleteUserInfo () {
|
|
738
|
+
return this.selectdata.f_apply_type === '民用报建' &&
|
|
739
|
+
this.selectdata.f_apply_nature === '散户' &&
|
|
740
|
+
(this.selectdata.defname === '报建受理' || this.selectdata.defname === '现场勘察')
|
|
741
|
+
},
|
|
742
|
+
showAddress () {
|
|
743
|
+
return this.selectdata.f_apply_type === '民用报建'
|
|
744
|
+
},
|
|
745
|
+
showUserInfo () {
|
|
746
|
+
return this.selectdata.f_apply_type === '民用报建' && this.selectdata.f_apply_nature === '散户'
|
|
747
|
+
},
|
|
748
|
+
showUserFile () {
|
|
749
|
+
return (this.selectdata.f_apply_type === '民用报建' && this.selectdata.f_apply_nature === '散户' && this.selectdata.defname === '工程施工') ||
|
|
750
|
+
this.selectdata.f_apply_type === '非民用报建' ||
|
|
751
|
+
this.selectdata.f_apply_type === '分户挂表'
|
|
752
|
+
},
|
|
753
|
+
showInstall () {
|
|
754
|
+
return this.showUserFile && (this.selectdata.defname === '工程施工' || this.selectdata.defname === '施工通气' || this.selectdata.defname === '点火通气')
|
|
755
|
+
},
|
|
756
|
+
// 证件类型
|
|
757
|
+
credentialsList() {
|
|
758
|
+
return this.$appdata.getParam('证件类型')
|
|
759
|
+
},
|
|
760
|
+
// 安装人
|
|
761
|
+
installperson() {
|
|
762
|
+
return function (f_install_person) {
|
|
763
|
+
if (isEmpty(f_install_person)) {
|
|
764
|
+
return this.$login.f.name
|
|
765
|
+
}
|
|
766
|
+
return f_install_person
|
|
767
|
+
}
|
|
768
|
+
},
|
|
769
|
+
// 安装时间
|
|
770
|
+
installdate() {
|
|
771
|
+
return function (f_install_date) {
|
|
772
|
+
if (isEmpty(f_install_date)) {
|
|
773
|
+
return new Date().Format('yyyy-MM-dd HH:mm:ss')
|
|
774
|
+
}
|
|
775
|
+
return f_install_date
|
|
776
|
+
}
|
|
777
|
+
},
|
|
778
|
+
// 表向
|
|
779
|
+
aroundmeters() {
|
|
780
|
+
return this.$appdata.getParam('左右表')
|
|
781
|
+
},
|
|
782
|
+
// 安装位置
|
|
783
|
+
positions() {
|
|
784
|
+
return this.$appdata.getParam('安装位置')
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
watch: {
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
</script>
|
|
791
|
+
<style scoped>
|
|
792
|
+
.head-but{
|
|
793
|
+
margin-left: 5px;
|
|
794
|
+
height: 34px;
|
|
795
|
+
/*background-color: #6aa6e2;*/
|
|
796
|
+
border-radius: 4px;
|
|
797
|
+
font-family: PingFang;
|
|
798
|
+
color: #ffffff;
|
|
799
|
+
}
|
|
800
|
+
/*清除model中的浮动*/
|
|
801
|
+
.clearfix:after,.clearfix:before{
|
|
802
|
+
display: table;
|
|
803
|
+
}
|
|
804
|
+
.clearfix:after{
|
|
805
|
+
clear: both;
|
|
806
|
+
}
|
|
807
|
+
.input_view{
|
|
808
|
+
background-color: #ffffff;
|
|
809
|
+
border-radius: 2px;
|
|
810
|
+
border: solid 1px #c7c7c7!important;
|
|
811
|
+
color: #333333!important;
|
|
812
|
+
font-size: 15px!important;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.input_view[readonly]{
|
|
816
|
+
border: 1px solid #DDD!important;
|
|
817
|
+
color:#ACA899!important;
|
|
818
|
+
}
|
|
819
|
+
.input_view:disabled{
|
|
820
|
+
border: 1px solid #DDD!important;
|
|
821
|
+
color:#ACA899!important;
|
|
822
|
+
}
|
|
823
|
+
</style>
|