apply-clients 7.1.34 → 7.1.36-1
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/.eslintrc.js +5 -1
- package/android.html +9 -0
- package/build/css-loaders.js +34 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server.js +166 -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 +39 -30
- package/package.json +14 -8
- package/src/AndroidApp.vue +21 -14
- package/src/App.vue +4 -6
- 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 +109 -69
- package/src/applyAndroid.js +65 -28
- package/src/assets/marker-default.png +0 -0
- package/src/assets/myLocationIcon.png +0 -0
- 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 +603 -0
- package/src/components/android/AppSign.vue +228 -0
- package/src/components/android/AppTakePic.vue +142 -0
- package/src/components/android/AppUpload.vue +260 -0
- package/src/components/android/Ignition/VentilationIgnition.vue +408 -0
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +455 -0
- package/src/components/android/Process/AppExplorationUser.vue +454 -0
- package/src/components/android/Process/AppServiceControl.vue +1397 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +338 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +818 -0
- package/src/components/android/Process/Processes/SurveyUserSign.vue +65 -0
- package/src/components/android/Process/Processes/newAppDevicesManagement.vue +343 -0
- package/src/components/android/Process/Processes/newAppInstallationDetails.vue +669 -0
- package/src/components/android/Sign/AppSignTask.vue +183 -0
- package/src/components/android/Sign/SignProcess.vue +103 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +298 -0
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +128 -0
- package/src/components/android/Task/Build/BuildTsak.vue +114 -0
- package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -0
- package/src/components/android/Task/RepairFromSend/RepairFrom.vue +124 -0
- package/src/components/android/Task/RepairFromSend/RepairSend.vue +124 -0
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +427 -0
- package/src/components/android/Task/ShiGongXinXi/ShowBuild.vue +95 -0
- package/src/components/android/Task/Survey/SurveyTsak.vue +141 -0
- package/src/components/android/Task/UpBuild/UpBuildDui.vue +95 -0
- package/src/components/android/Task/UpBuild/UpBuildTsak.vue +95 -0
- package/src/components/android/Task/UpBuild/UpJianLi.vue +95 -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 +541 -73
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +2 -2
- package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -0
- package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -0
- package/src/components/product/ApplyMap/ApplyMapCom.vue +82 -0
- package/src/components/product/ApplyMap/ApplyMapLocation.vue +850 -0
- package/src/components/product/ChongZheng/ApplyChongZhengList.vue +414 -0
- package/src/components/product/ChongZheng/ApplyChongZhengSearch.vue +30 -0
- package/src/components/product/Function/InstallFunction.vue +133 -147
- package/src/components/product/Function/InstallInfoSelect.vue +370 -281
- package/src/components/product/Function/Service/FunctionServiceControl.vue +378 -148
- package/src/components/product/Ignition/IgnitionDispatch.vue +92 -0
- package/src/components/product/Ignition/IgnitionList.vue +232 -0
- package/src/components/product/Ignition/IgnitionListManage.vue +362 -0
- package/src/components/product/Ignition/IgnitionRecord.vue +318 -0
- package/src/components/product/List/ShowDevices.vue +277 -0
- package/src/components/product/Onetomany.vue +377 -0
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +445 -0
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +252 -0
- package/src/components/product/Print/BuildOrder/printGaiXianOrder.vue +232 -0
- package/src/components/product/Print/OrderPrint/GaiXianOrder.vue +281 -0
- package/src/components/product/Print/img/R-C.jpg +0 -0
- package/src/components/product/Process/ExplorationSelect.vue +566 -347
- package/src/components/product/Process/ExplorationUser.vue +155 -135
- package/src/components/product/Process/Processes/ExhibitionPicture.vue +27 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +1000 -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 +246 -0
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +221 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -249
- package/src/components/product/Process/Processes/chargeManagement.vue +686 -562
- package/src/components/product/Process/Processes/devicesManagement.vue +373 -0
- package/src/components/product/Process/Processes/newDevicesManagement.vue +379 -0
- package/src/components/product/Process/Processes/newInstallationDetails.vue +718 -0
- package/src/components/product/Process/Processes/satisfactionShow.vue +202 -0
- package/src/components/product/Process/Processes/selectApply.vue +250 -0
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -0
- package/src/components/product/Process/Processes/selectUserinfo.vue +234 -0
- package/src/components/product/Process/Processes/supplementalAgreement.vue +182 -181
- package/src/components/product/Process/Service/ServiceControl.vue +1900 -756
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +632 -755
- package/src/components/product/Stop/StopApply.vue +105 -0
- package/src/components/product/Stop/StopApplyList.vue +224 -0
- package/src/components/product/Supervisory/ExportExcel.vue +360 -0
- package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +425 -73
- package/src/components/product/Supervisory/SupervisoryControl.vue +114 -121
- package/src/components/product/Supervisory/SupervisoryList.vue +339 -62
- package/src/components/product/Supervisory/SupervisoryhCart.vue +119 -103
- package/src/components/product/VueUtils/ApplyUpload.vue +70 -47
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
- package/src/expandcssAndroid.less +1034 -0
- package/src/main.js +5 -1
- 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/static/images/lefticon/{/345/256/211/346/243/200/346/237/245/347/234/213.png → anjianjihua.png} +0 -0
- package/static/images/lefticon/{/346/241/243/346/241/210/347/256/241/347/220/206.png → danganguanli.png} +0 -0
- package/static/images/lefticon/{/345/224/256/346/260/224/346/224/266/350/264/271.png → shouqishoufei.png} +0 -0
- package/static/images/lefticon/{/347/211/251/350/201/224/347/275/221/350/241/250.png → wulianwang.png} +0 -0
- package/static/images/lefticon/{/347/263/273/347/273/237/347/256/241/347/220/206.png → xitongguanli.png} +0 -0
- package/static/images/lefticon/{/347/273/274/345/220/210/346/237/245/350/257/242.png → yingyechaxun.png} +0 -0
- package/static/images/lefticon/{/345/221/274/345/217/253/347/263/273/347/273/237.png → yuyinkefu.png} +0 -0
- package/static/images/lefticon/{/347/273/274/345/220/210/344/270/232/345/212/241.png → zongheyewu.png} +0 -0
- package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/{dist-android/static/denglu.png → static/images/lefticonNew//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png} +0 -0
- package/static/images/lefticonNew//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticonNew//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/static/images/lefticonNew//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/static/images/lefticonNew//345/233/276/345/261/202577.png +0 -0
- package/{dist-android/static/psicon.png → static/images/lefticonNew//345/233/276/345/261/2028/346/213/267/350/264/23513.png} +0 -0
- package/static/images/lefticonNew//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/static/images/lefticonNew//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/static/images/lefticonNew//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/static/images/lefticonNew//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticonNew//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticonNew//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/static/images/lefticonNew//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/static/images/lefticonNew//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/static/images/lefticonNew//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/static/images/lefticonNew//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/images/lefticonNew//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticonNew//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/static/images/lefticonNew//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/yarn-error.log +9976 -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/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/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
|
@@ -0,0 +1,445 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
6
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-3">
|
|
9
|
+
<label class="font_normal_body">工程编号:</label>
|
|
10
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
11
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
12
|
+
condition="f_apply_num like '%{}%'">
|
|
13
|
+
</div>
|
|
14
|
+
<div class="form-group col-sm-3">
|
|
15
|
+
<label class="font_normal_body">用户名称:</label>
|
|
16
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='用户名称' v-model="model.f_user_name"
|
|
17
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
18
|
+
condition="f_user_name like '%{}%'">
|
|
19
|
+
</div>
|
|
20
|
+
<div class="form-group col-sm-3">
|
|
21
|
+
<label class="font_normal_body">电  话:</label>
|
|
22
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='电话' v-model="model.f_phone"
|
|
23
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
24
|
+
condition="f_phone = '{}'">
|
|
25
|
+
</div>
|
|
26
|
+
<div class="form-group col-sm-3 button-range">
|
|
27
|
+
<button class="button_export button_spacing" @click="$parent.$parent.batchPrint()">批量打印</button>
|
|
28
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
29
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
30
|
+
<div
|
|
31
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
32
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
33
|
+
class="button_spacing"
|
|
34
|
+
style="float: right">
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
39
|
+
<div class="form-group col-sm-3">
|
|
40
|
+
<label class="font_normal_body">报建类型:</label>
|
|
41
|
+
<v-select
|
|
42
|
+
v-model="model.f_apply_type"
|
|
43
|
+
placeholder='报建类型'
|
|
44
|
+
condition="f_apply_type = '{}'"
|
|
45
|
+
:value.sync="model.f_apply_type"
|
|
46
|
+
:options='$parent.$parent.applytype'
|
|
47
|
+
class="select select_list"
|
|
48
|
+
:value-single="true"
|
|
49
|
+
close-on-select ></v-select>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="form-group col-sm-3">
|
|
52
|
+
<label class="font_normal_body">地  址:</label>
|
|
53
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
|
|
54
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
55
|
+
condition="f_address like '%{}%'">
|
|
56
|
+
</div>
|
|
57
|
+
<div class="form-group col-sm-3">
|
|
58
|
+
<label class="font_normal_body">安装单位:</label>
|
|
59
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='安装单位' v-model="model.f_construction_name"
|
|
60
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
61
|
+
condition="f_construction_name like '%{}%'">
|
|
62
|
+
</div>
|
|
63
|
+
<div class="form-group col-sm-3">
|
|
64
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
65
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
66
|
+
style="width: 60%!important;"
|
|
67
|
+
v-model="model.startDate"
|
|
68
|
+
:value.sync="model.startDate"
|
|
69
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
70
|
+
:show-reset-button="true"
|
|
71
|
+
condition="a.f_release_date >= '{}'">
|
|
72
|
+
</datepicker>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="form-group col-sm-3">
|
|
75
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
76
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
77
|
+
style="width: 60%!important;"
|
|
78
|
+
v-model="model.endDate"
|
|
79
|
+
:value.sync="model.endDate"
|
|
80
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
81
|
+
:show-reset-button="true"
|
|
82
|
+
condition="a.f_release_date <= '{}'">
|
|
83
|
+
</datepicker>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
</criteria>
|
|
88
|
+
<data-grid :model="model" optional partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
89
|
+
<template partial='head'>
|
|
90
|
+
<tr>
|
|
91
|
+
<th>序号</th>
|
|
92
|
+
<th>工程编号</th>
|
|
93
|
+
<th>用户名称</th>
|
|
94
|
+
<th>电话</th>
|
|
95
|
+
<th>地址</th>
|
|
96
|
+
<th>安装单位</th>
|
|
97
|
+
<th>派单时间</th>
|
|
98
|
+
</tr>
|
|
99
|
+
</template>
|
|
100
|
+
<template partial='body'>
|
|
101
|
+
<tr >
|
|
102
|
+
<td style="text-align: center;">
|
|
103
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
104
|
+
</td>
|
|
105
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
106
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
107
|
+
</td>
|
|
108
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
109
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
110
|
+
</td>
|
|
111
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
112
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
113
|
+
</td>
|
|
114
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
115
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
116
|
+
</td>
|
|
117
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
118
|
+
<nobr><font>{{row.f_construction_name}}</font></nobr>
|
|
119
|
+
</td>
|
|
120
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
121
|
+
<nobr><font>{{row.f_release_date}}</font></nobr>
|
|
122
|
+
</td>
|
|
123
|
+
</tr>
|
|
124
|
+
</template>
|
|
125
|
+
</data-grid>
|
|
126
|
+
</criteria-paged>
|
|
127
|
+
|
|
128
|
+
<modal :show.sync="showPrint" title="打印预览" v-ref:modal :backdrop="false">
|
|
129
|
+
<header slot="modal-header" class="modal-header">
|
|
130
|
+
<button type="button" class="close" @click="colseModal()"><span>×</span></button>
|
|
131
|
+
<h4 class="modal-title">打印预览</h4>
|
|
132
|
+
</header>
|
|
133
|
+
<article slot="modal-body" class="modal-body" v-show="printShow">
|
|
134
|
+
<print-build-order :selectdata="selectdata" :type="type" v-ref:print></print-build-order>
|
|
135
|
+
</article>
|
|
136
|
+
<article slot="modal-body" class="modal-body" v-show="printShow1">
|
|
137
|
+
<print-gai-order :selectdata="selectdata" :type="type" v-ref:print1></print-gai-order>
|
|
138
|
+
</article>
|
|
139
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
140
|
+
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
141
|
+
</footer>
|
|
142
|
+
</modal>
|
|
143
|
+
|
|
144
|
+
<modal :show.sync="showProgress" v-ref:progress :backdrop="false">
|
|
145
|
+
<header slot="modal-header" class="modal-header">
|
|
146
|
+
<button type="button" class="close" @click="colseModal()"><span>×</span></button>
|
|
147
|
+
<h4 class="modal-title">发送打印指令中,请耐心等待...</h4>
|
|
148
|
+
</header>
|
|
149
|
+
<article slot="modal-body" class="modal-body">
|
|
150
|
+
<div class="progress" style="margin: 20px">
|
|
151
|
+
<div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent}">
|
|
152
|
+
{{ percent }}
|
|
153
|
+
</div>
|
|
154
|
+
</div>
|
|
155
|
+
</article>
|
|
156
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
157
|
+
</footer>
|
|
158
|
+
</modal>
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
</template>
|
|
162
|
+
|
|
163
|
+
<script>
|
|
164
|
+
import {PagedList} from 'vue-client'
|
|
165
|
+
import {HttpResetClass} from 'vue-client'
|
|
166
|
+
export default {
|
|
167
|
+
title: '施工通知单',
|
|
168
|
+
data () {
|
|
169
|
+
return {
|
|
170
|
+
model: new PagedList('rs/sql/buildOrderList', 30, null),
|
|
171
|
+
criteriaShow: false,
|
|
172
|
+
selectdata: null,
|
|
173
|
+
showPrint: false,
|
|
174
|
+
showProgress: false,
|
|
175
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
176
|
+
percent: 0,
|
|
177
|
+
userfile: '',
|
|
178
|
+
device: '',
|
|
179
|
+
f_construct_operator: '',
|
|
180
|
+
f_build_operator: '',
|
|
181
|
+
type: 'PREVIEW',
|
|
182
|
+
printShow: false,
|
|
183
|
+
printShow1: false
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
ready () {
|
|
187
|
+
// 调用查询
|
|
188
|
+
this.search()
|
|
189
|
+
},
|
|
190
|
+
methods: {
|
|
191
|
+
async batchPrint () {
|
|
192
|
+
this.type = 'PRINT'
|
|
193
|
+
let selectPrint = this.$refs.cp.$refs.grid.getRowData()
|
|
194
|
+
let res = await this.getUserfiles(selectPrint)
|
|
195
|
+
for (let i = 0; i < selectPrint.length; i++) {
|
|
196
|
+
if (selectPrint[i].f_apply_type !== '改线业务'){
|
|
197
|
+
for (let j = 0; j < res.length; j++) {
|
|
198
|
+
if (selectPrint[i].f_process_id === res[j].f_process_id){
|
|
199
|
+
selectPrint[i].userfile = res[j].f_meter
|
|
200
|
+
selectPrint[i].device = res[j].f_devices
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
setTimeout( async () => {
|
|
206
|
+
if (selectPrint.length > 0) {
|
|
207
|
+
let res = await this.$showMessage(`当前数据条数: ${selectPrint.length}, 条数过大时打印时间可能会过长, 是否确认打印?`)
|
|
208
|
+
if (res == 'confirm') {
|
|
209
|
+
this.showProgress = true
|
|
210
|
+
for (let i = 0; i < selectPrint.length; i++) {
|
|
211
|
+
setTimeout( async () => {
|
|
212
|
+
this.selectdata = selectPrint[i]
|
|
213
|
+
console.log("当前数据", selectPrint[i])
|
|
214
|
+
if (selectPrint[i].f_due_money >= 0) {
|
|
215
|
+
selectPrint[i].f_amount_words = this.smalltoBIG(selectPrint[i].f_due_money)
|
|
216
|
+
}
|
|
217
|
+
this.print(selectPrint[i])
|
|
218
|
+
this.percent = this.getPercent(i, selectPrint.length)
|
|
219
|
+
this.selectdata = null
|
|
220
|
+
},3000)
|
|
221
|
+
}
|
|
222
|
+
this.showProgress = false
|
|
223
|
+
this.percent = 0
|
|
224
|
+
this.$refs.cp.$refs.grid.selectInit()
|
|
225
|
+
}
|
|
226
|
+
} else {
|
|
227
|
+
this.$showAlert('请选择要打印的单子', 'warning', 3000)
|
|
228
|
+
}
|
|
229
|
+
}, 600)
|
|
230
|
+
},
|
|
231
|
+
getPercent (num, total){
|
|
232
|
+
num = parseFloat(num);
|
|
233
|
+
total = parseFloat(total);
|
|
234
|
+
if (isNaN(num) || isNaN(total)) {
|
|
235
|
+
return "-";
|
|
236
|
+
}
|
|
237
|
+
return total <= 0? "0%" : Math.round((num / total) * 10000) / 100.0 + "%";
|
|
238
|
+
},
|
|
239
|
+
print (index) {
|
|
240
|
+
console.log("当前数据",index)
|
|
241
|
+
if (index !== null && index !== '' && index !== undefined){
|
|
242
|
+
this.selectdata = index
|
|
243
|
+
}
|
|
244
|
+
if (this.getShowPrint(this.selectdata.f_apply_type)){
|
|
245
|
+
this.$refs.print.print(index)
|
|
246
|
+
}else {
|
|
247
|
+
this.$refs.print1.print(index)
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
colseModal () {
|
|
251
|
+
this.showPrint = false
|
|
252
|
+
this.showProgress = false
|
|
253
|
+
this.printShow = false
|
|
254
|
+
this.printShow1 = false
|
|
255
|
+
this.selectdata = null
|
|
256
|
+
},
|
|
257
|
+
getShowPrint (index) {
|
|
258
|
+
console.log('2222',index)
|
|
259
|
+
if (index !== '改线业务'){
|
|
260
|
+
this.printShow = true
|
|
261
|
+
return true
|
|
262
|
+
}
|
|
263
|
+
this.printShow1 = true
|
|
264
|
+
return false
|
|
265
|
+
},
|
|
266
|
+
async click (row) {
|
|
267
|
+
this.type = 'PREVIEW'
|
|
268
|
+
if (row.f_apply_type !== '改线业务') {
|
|
269
|
+
await this.getUserfile(row.f_process_id)
|
|
270
|
+
}
|
|
271
|
+
this.getShowPrint(row.f_apply_type)
|
|
272
|
+
setTimeout(() => {
|
|
273
|
+
row.userfile = this.userfile
|
|
274
|
+
row.device = this.device
|
|
275
|
+
this.selectdata = row
|
|
276
|
+
if (this.selectdata.f_due_money >= 0 ) {
|
|
277
|
+
this.selectdata.f_amount_words = this.smalltoBIG(this.selectdata.f_due_money)
|
|
278
|
+
}
|
|
279
|
+
this.showPrint = true
|
|
280
|
+
}, 600)
|
|
281
|
+
},
|
|
282
|
+
async getMeter(f_process_id) {
|
|
283
|
+
let data = {
|
|
284
|
+
f_process_id: f_process_id
|
|
285
|
+
}
|
|
286
|
+
let http = new HttpResetClass()
|
|
287
|
+
let res = await http.load(
|
|
288
|
+
'POST',
|
|
289
|
+
`rs/sql/getMeters`,
|
|
290
|
+
{data: data},
|
|
291
|
+
{resolveMsg: null, rejectMsg: null}
|
|
292
|
+
)
|
|
293
|
+
let userfile = ''
|
|
294
|
+
for (let i = 0; i < res.data.length ; i++){
|
|
295
|
+
console.log("表具信77息",res.data[i].f_meter_type)
|
|
296
|
+
if (res.data[i].f_meter_type === null){
|
|
297
|
+
res.data[i].f_meter_type = '表具'
|
|
298
|
+
}
|
|
299
|
+
userfile = userfile + res.data[i].f_meter_count + '块' + res.data[i].f_meter_type + ','
|
|
300
|
+
}
|
|
301
|
+
if (userfile === ''){
|
|
302
|
+
userfile = '无表具,'
|
|
303
|
+
}
|
|
304
|
+
console.log("表具信息",userfile)
|
|
305
|
+
this.userfile = userfile
|
|
306
|
+
return userfile
|
|
307
|
+
},
|
|
308
|
+
async getDevice(f_process_id) {
|
|
309
|
+
let data = {
|
|
310
|
+
f_process_id: f_process_id
|
|
311
|
+
}
|
|
312
|
+
let http = new HttpResetClass()
|
|
313
|
+
let res = await http.load(
|
|
314
|
+
'POST',
|
|
315
|
+
`rs/sql/getDevices`,
|
|
316
|
+
{data: data},
|
|
317
|
+
{resolveMsg: null, rejectMsg: null}
|
|
318
|
+
)
|
|
319
|
+
let device = ''
|
|
320
|
+
for (let i = 0; i < res.data.length ; i++){
|
|
321
|
+
if (res.data[i].f_devices_type === null){
|
|
322
|
+
res.data[i].f_devices_type = '设备'
|
|
323
|
+
}
|
|
324
|
+
console.log("设备信77息",res.data[i].f_devices_type)
|
|
325
|
+
device = device + res.data[i].f_devices_count + '个' + res.data[i].f_devices_type + ','
|
|
326
|
+
}
|
|
327
|
+
if (device === ''){
|
|
328
|
+
device = '无设备,'
|
|
329
|
+
}
|
|
330
|
+
console.log("设备信息",device)
|
|
331
|
+
this.device = device
|
|
332
|
+
return device
|
|
333
|
+
},
|
|
334
|
+
async getUserfile(f_process_id) {
|
|
335
|
+
let data = {
|
|
336
|
+
condition: `met.f_process_id = '${f_process_id}'`
|
|
337
|
+
}
|
|
338
|
+
let http = new HttpResetClass()
|
|
339
|
+
let res = await http.load(
|
|
340
|
+
'POST',
|
|
341
|
+
`rs/sql/getUserfiles`,
|
|
342
|
+
{data: data},
|
|
343
|
+
{resolveMsg: null, rejectMsg: null}
|
|
344
|
+
)
|
|
345
|
+
if (res.data.length > 0){
|
|
346
|
+
this.userfile = res.data[0].f_meter
|
|
347
|
+
this.device = res.data[0].f_devices
|
|
348
|
+
return res.data[0]
|
|
349
|
+
}
|
|
350
|
+
return {f_meter:'无',f_devices:'无'}
|
|
351
|
+
},
|
|
352
|
+
async getUserfiles(selectPrint) {
|
|
353
|
+
let porcessid = `(`
|
|
354
|
+
if (selectPrint.length > 0){
|
|
355
|
+
for (let i=0; i < selectPrint.length-1; i++){
|
|
356
|
+
porcessid = porcessid + `'` + selectPrint[i].f_process_id + `',`
|
|
357
|
+
}
|
|
358
|
+
porcessid = porcessid + `'` + selectPrint[selectPrint.length-1].f_process_id + `')`
|
|
359
|
+
}
|
|
360
|
+
console.log("当前porcessid",porcessid)
|
|
361
|
+
|
|
362
|
+
let data = {
|
|
363
|
+
condition: `met.f_process_id in ${porcessid}`
|
|
364
|
+
}
|
|
365
|
+
let http = new HttpResetClass()
|
|
366
|
+
let res = await http.load(
|
|
367
|
+
'POST',
|
|
368
|
+
`rs/sql/getUserfiles`,
|
|
369
|
+
{data: data},
|
|
370
|
+
{resolveMsg: null, rejectMsg: null}
|
|
371
|
+
)
|
|
372
|
+
console.log("当前res.data",res.data)
|
|
373
|
+
return res.data
|
|
374
|
+
},
|
|
375
|
+
async getUser(str) {
|
|
376
|
+
if (str) {
|
|
377
|
+
let data = {
|
|
378
|
+
items: 'us.name username,de.name departmentname',
|
|
379
|
+
tablename: 't_user us left join t_department de on us.parentid = de.id',
|
|
380
|
+
condition: `us.id = '${str}'`
|
|
381
|
+
}
|
|
382
|
+
let http = new HttpResetClass()
|
|
383
|
+
let res = await http.load(
|
|
384
|
+
'POST',
|
|
385
|
+
'rs/sql/applySingleTable',
|
|
386
|
+
{data: data}, {
|
|
387
|
+
resolveMsg: null,
|
|
388
|
+
rejectMsg: '操作人查询失败!!!'
|
|
389
|
+
})
|
|
390
|
+
if (res.data.length > 0){
|
|
391
|
+
let result = res.data[0]
|
|
392
|
+
console.log('当前人员信息', result)
|
|
393
|
+
return result
|
|
394
|
+
}else {
|
|
395
|
+
return {username:'',departmentname:''}
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
smalltoBIG (n) {
|
|
400
|
+
let fraction = ['角', '分']
|
|
401
|
+
let digit = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
|
|
402
|
+
let unit = [['元', '万', '亿'], ['', '拾', '佰', '仟']]
|
|
403
|
+
let head = n < 0 ? '欠' : ''
|
|
404
|
+
n = Math.abs(n)
|
|
405
|
+
|
|
406
|
+
let s = ''
|
|
407
|
+
|
|
408
|
+
for (var i = 0; i < fraction.length; i++) {
|
|
409
|
+
s += (digit[Math.floor(n * 10 * Math.pow(10, i)) % 10] + fraction[i]).replace(/零./, '')
|
|
410
|
+
}
|
|
411
|
+
s = s || '整'
|
|
412
|
+
n = Math.floor(n)
|
|
413
|
+
|
|
414
|
+
for (var i = 0; i < unit[0].length && n > 0; i++) {
|
|
415
|
+
let p = ''
|
|
416
|
+
for (var j = 0; j < unit[1].length && n > 0; j++) {
|
|
417
|
+
p = digit[n % 10] + unit[1][j] + p
|
|
418
|
+
n = Math.floor(n / 10)
|
|
419
|
+
}
|
|
420
|
+
s = p.replace(/(零.)*零$/, '').replace(/^$/, '零') + unit[0][i] + s
|
|
421
|
+
}
|
|
422
|
+
let result = head + s.replace(/(零.)*零元/, '元').replace(/(零.)+/g, '零').replace(/^整$/, '零元整')
|
|
423
|
+
console.log('当前大写', result)
|
|
424
|
+
return result
|
|
425
|
+
},
|
|
426
|
+
clear () {
|
|
427
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
428
|
+
this.$refs.cp.$refs.cri.model[key] = ''
|
|
429
|
+
})
|
|
430
|
+
},
|
|
431
|
+
searchCondition (args) {
|
|
432
|
+
this.model.search(args.condition, args.model)
|
|
433
|
+
},
|
|
434
|
+
// 查询
|
|
435
|
+
search () {
|
|
436
|
+
this.$refs.cp.$refs.cri.search()
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
computed: {
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
</script>
|
|
443
|
+
|
|
444
|
+
<style scoped>
|
|
445
|
+
</style>
|