apply-clients 7.1.35 → 7.1.36-yuchuan-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 +172 -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 +10 -1
- package/package.json +14 -8
- package/src/AndroidApp.vue +21 -14
- package/src/App.vue +4 -6
- 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 +83 -16
- package/src/applyAndroid.js +70 -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 +231 -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/AppChaiChuInfo.vue +546 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +339 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +867 -0
- package/src/components/android/Process/Processes/SurveyUserSign.vue +65 -0
- package/src/components/android/Process/Processes/newAppDevicesManagement.vue +344 -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 +334 -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/ShenHe/BuZhangShenHe.vue +64 -0
- package/src/components/android/Task/ShenHe/JingLiShenHe.vue +64 -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 +568 -73
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +2 -2
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeList.vue +198 -0
- package/src/components/product/ApplyGaiXianCharge/ApplyGaiXianChargeSearch.vue +30 -0
- package/src/components/product/ApplyGuanXian/GuanXianCaiLiao.vue +235 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationSelect.vue +323 -0
- package/src/components/product/ApplyGuanXian/GuanXianExplorationUser.vue +144 -0
- package/src/components/product/ApplyGuanXian/GuanXianSupervisoryhCart.vue +119 -0
- package/src/components/product/ApplyGuanXian/TabButton.vue +157 -0
- package/src/components/product/ApplyGuanXian/Tabs.vue +67 -0
- 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 +56 -70
- package/src/components/product/Function/InstallInfoSelect.vue +193 -105
- package/src/components/product/Function/Service/FunctionServiceControl.vue +475 -245
- package/src/components/product/Ignition/IgnitionDispatch.vue +92 -0
- package/src/components/product/Ignition/IgnitionList.vue +236 -0
- package/src/components/product/Ignition/IgnitionListManage.vue +403 -0
- package/src/components/product/Ignition/IgnitionRecord.vue +357 -0
- package/src/components/product/List/ShowDevices.vue +279 -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/OrderPrint/printChaiChuOrder.vue +260 -0
- package/src/components/product/Print/img/R-C.jpg +0 -0
- package/src/components/product/Process/ExplorationSelect.vue +580 -347
- package/src/components/product/Process/ExplorationUser.vue +118 -98
- package/src/components/product/Process/NewExplorationUser.vue +184 -0
- package/src/components/product/Process/Processes/ApplyChaiChuInfo.vue +587 -0
- package/src/components/product/Process/Processes/ExhibitionPicture.vue +27 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +845 -276
- 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 +250 -0
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +224 -0
- package/src/components/product/Process/Processes/Print/printPaymentSubject.vue +170 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +59 -113
- package/src/components/product/Process/Processes/chargeManagement.vue +492 -350
- package/src/components/product/Process/Processes/devicesManagement.vue +374 -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/selectChaiChuUserinfo.vue +230 -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 +2155 -856
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
- package/src/components/product/Report/ReportItems.vue +79 -0
- package/src/components/product/Report/apply-stair-anzhuang.vue +361 -0
- package/src/components/product/Report/apply-stair-kaifa.vue +138 -0
- package/src/components/product/Report/apply-stair-tongqi.vue +137 -0
- package/src/components/product/Report/apply-stair-wtongqi.vue +138 -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/ExportExcel.vue +360 -0
- package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +454 -73
- package/src/components/product/Supervisory/SupervisoryControl.vue +28 -35
- package/src/components/product/Supervisory/SupervisoryList.vue +536 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +52 -36
- 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/yingyechaxun.png +0 -0
- package/static/images/lefticon/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
- /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/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/{/345/221/274/345/217/253/347/263/273/347/273/237.png" → yuyinkefu.png} +0 -0
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div style="overflow: auto;background-color: #FFFFFF;
|
|
2
|
+
<div style="overflow: auto;background-color: #FFFFFF;">
|
|
3
3
|
<div class="row" v-for="(i,row) in defnames">
|
|
4
4
|
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
|
|
5
|
-
{{row.defname}}
|
|
5
|
+
{{ row.defname }}
|
|
6
6
|
<br>
|
|
7
7
|
{{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
|
|
8
8
|
</div>
|
|
9
|
-
<div class="arrow glyphicon glyphicon-menu-down" v-if="i
|
|
9
|
+
<div class="arrow glyphicon glyphicon-menu-down" v-if="i !== defnames.length-1" aria-hidden="true"></div>
|
|
10
10
|
</div>
|
|
11
11
|
</div>
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<script>
|
|
15
15
|
import {HttpResetClass} from 'vue-client'
|
|
16
|
+
import {isEmpty} from '../../Util'
|
|
16
17
|
export default {
|
|
17
18
|
title: "流程节点",
|
|
18
19
|
props:['selectdata'],
|
|
@@ -25,54 +26,69 @@
|
|
|
25
26
|
this.initial()
|
|
26
27
|
},
|
|
27
28
|
methods :{
|
|
28
|
-
async initial() {
|
|
29
|
+
async initial () {
|
|
29
30
|
// 获取流程节点信息
|
|
30
|
-
|
|
31
|
-
let
|
|
32
|
-
|
|
33
|
-
let res = await http.load('POST','rs/sql/getAllNode',{data:{processid: this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
|
|
34
|
-
//循环去除回退导致重复的节点
|
|
35
|
-
// for (let i = 0; i < res.data.length; i++) {
|
|
36
|
-
// let flag = true
|
|
37
|
-
// for (let j = 0; j < temp.length; j++) {
|
|
38
|
-
// if (res.data[i].defname === temp[j].defname) {
|
|
39
|
-
// flag = false
|
|
40
|
-
// }
|
|
41
|
-
// }
|
|
42
|
-
// if(flag){
|
|
43
|
-
// temp.push(res.data[i])
|
|
44
|
-
// }
|
|
45
|
-
// }
|
|
46
|
-
this.defnames = res.data
|
|
31
|
+
|
|
32
|
+
let data = {
|
|
33
|
+
processid: this.selectdata.f_process_id
|
|
47
34
|
}
|
|
35
|
+
|
|
36
|
+
let res = await this.$resetpost(
|
|
37
|
+
'rs/sql/getAllNode',
|
|
38
|
+
{data: data},
|
|
39
|
+
{resolveMsg: null, rejectMsg: '流程节点信息获取失败!!!'}
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
this.defnames = res.data
|
|
48
43
|
},
|
|
49
44
|
//点击获取节点名
|
|
50
|
-
getdefname(row){
|
|
45
|
+
getdefname (row) {
|
|
46
|
+
// 发起节点都可查看
|
|
51
47
|
if(row.defname === this.$workflow_vue.start_activity){
|
|
52
48
|
row = Object.assign({},this.selectdata,row)
|
|
53
49
|
this.$dispatch('apply', row)
|
|
54
|
-
|
|
50
|
+
return
|
|
51
|
+
}
|
|
52
|
+
if(this.check(row.actorexpression)){
|
|
55
53
|
row = Object.assign({},this.selectdata,row)
|
|
56
54
|
this.$dispatch('apply', row)
|
|
57
|
-
|
|
58
|
-
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
55
|
+
return
|
|
59
56
|
}
|
|
57
|
+
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
60
58
|
},
|
|
61
59
|
// 检测是否有权限
|
|
62
|
-
check(actorexpression){
|
|
63
|
-
let
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
flag = true
|
|
60
|
+
check (actorexpression){
|
|
61
|
+
let str = null
|
|
62
|
+
|
|
63
|
+
if (isEmpty(actorexpression)) {
|
|
64
|
+
return true
|
|
68
65
|
}
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
return true
|
|
67
|
+
if (actorexpression.indexOf('D') === 0) {
|
|
68
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
69
|
+
return this.$login.f.f_parentname.includes(str)
|
|
71
70
|
}
|
|
72
|
-
if (
|
|
73
|
-
|
|
71
|
+
if (actorexpression.indexOf('RS') === 0) {
|
|
72
|
+
for (str of actorexpression.substring(3, actorexpression.length-1).split(',')) {
|
|
73
|
+
return this.$login.f.rolesnames.includes(str)
|
|
74
|
+
}
|
|
74
75
|
}
|
|
75
|
-
|
|
76
|
+
|
|
77
|
+
if (actorexpression.indexOf('R') === 0) {
|
|
78
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
79
|
+
return this.$login.f.rolesnames.includes(str)
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (actorexpression.indexOf('PI') === 0) {
|
|
83
|
+
str = actorexpression.substring(3, actorexpression.length-1)
|
|
84
|
+
return this.$login.f.id.includes(str)
|
|
85
|
+
}
|
|
86
|
+
if (actorexpression.indexOf('P') === 0) {
|
|
87
|
+
str = actorexpression.substring(2, actorexpression.length-1)
|
|
88
|
+
return this.$login.f.name.includes(str)
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
return this.$login.f.rolesnames.includes('流程监控')
|
|
76
92
|
}
|
|
77
93
|
},
|
|
78
94
|
watch:{
|
|
@@ -30,6 +30,8 @@
|
|
|
30
30
|
<img v-if="row.f_filetype === 'pdf'" src="../../image/pdf.jpg" alt="" />
|
|
31
31
|
<img v-if="row.f_filetype === 'xls'||row.f_filetype === 'xlsx'" src="../../image/excel.jpg" alt="" />
|
|
32
32
|
<img v-if="row.f_filetype === 'doc'||row.f_filetype === 'docx'" src="../../image/doc.jpg" alt="" />
|
|
33
|
+
<img v-if="row.f_filetype === 'dwg'" src="../../image/dwg.png" alt="" />
|
|
34
|
+
<img v-if="row.f_filetype === 'dxf'" src="../../image/dxf.png" alt="" />
|
|
33
35
|
</a>
|
|
34
36
|
</div>
|
|
35
37
|
<div class="right col-sm-7">
|
|
@@ -40,15 +42,24 @@
|
|
|
40
42
|
<p :title="row.fremarks" class="clears"><strong>文件说明:</strong>{{row.fremarks}}</p>
|
|
41
43
|
<p class="clears">
|
|
42
44
|
<a v-if="row.f_filetype === 'jpg' || row.f_filetype==='png' || row.f_filetype==='gif' || row.f_filetype==='bmp'" :href="row.f_downloadURL" style="background:#6aa6e2" class="btn btn-primary" target="_blank" role="button">预览</a>
|
|
43
|
-
<a v-
|
|
44
|
-
<a v-if="
|
|
45
|
+
<a v-if="row.f_filetype === 'dwg' || row.f_filetype==='dxf'" style="background:#6aa6e2" class="btn btn-primary" :href="row.f_downloadURL" role="button" download>下载</a>
|
|
46
|
+
<a v-if="row.f_filetype !=='jpg' && row.f_filetype !=='png' && row.f_filetype !=='gif' && row.f_filetype !=='bmp' && row.f_filetype !=='dxf' && row.f_filetype !=='dwg'"
|
|
47
|
+
@click="downloadfile(row.f_downloadURL)" style="background:#6aa6e2" class="btn btn-primary" role="button">下载</a>
|
|
48
|
+
<a v-if="isdelete && row.defname === defname" @click="delet($index, row)" href="#" class="btn btn-default" role="button" role="button">删除</a>
|
|
45
49
|
</p>
|
|
46
50
|
</div>
|
|
47
51
|
</div>
|
|
48
52
|
</div>
|
|
49
53
|
</div>
|
|
50
54
|
</div>
|
|
51
|
-
<
|
|
55
|
+
<apply-high-meter
|
|
56
|
+
v-if="showhighmeter"
|
|
57
|
+
:show.sync="showhighmeter"
|
|
58
|
+
:isusetype="isusetype"
|
|
59
|
+
:isremark="isremark"
|
|
60
|
+
@photo-finish="newPhoto"
|
|
61
|
+
v-ref:ltgao
|
|
62
|
+
></apply-high-meter>
|
|
52
63
|
<modal :show.sync="showUpload" v-ref:modal backdrop="false">
|
|
53
64
|
<header slot="modal-header" class="modal-header">
|
|
54
65
|
<button type="button" class="close" @click="close"><span class="glyphicon glyphicon-remove"></span></button>
|
|
@@ -70,7 +81,7 @@
|
|
|
70
81
|
:valueSingle="true"></input-select>
|
|
71
82
|
</div>
|
|
72
83
|
</div>
|
|
73
|
-
<div class="form-group" v-if="isremark">
|
|
84
|
+
<div class="form-group" v-if="isremark" style="color: #df2424">
|
|
74
85
|
<label class="col-sm-2 control-label">文件说明:</label>
|
|
75
86
|
<div class="col-sm-10">
|
|
76
87
|
<input class="form-control input_view" style=""
|
|
@@ -86,6 +97,7 @@
|
|
|
86
97
|
|
|
87
98
|
<script>
|
|
88
99
|
import {HttpResetClass} from 'vue-client'
|
|
100
|
+
import {isEmpty} from "../../Util";
|
|
89
101
|
export default {
|
|
90
102
|
title: '附件',
|
|
91
103
|
props: ['blodid', 'businessid', 'isremark', 'isusetype', 'takeimg', 'defname', 'isupload', 'isdelete', 'bootstraped', 'issearch'],
|
|
@@ -123,6 +135,7 @@ export default {
|
|
|
123
135
|
// 关闭文件上传对话框
|
|
124
136
|
close () {
|
|
125
137
|
this.showUpload = false
|
|
138
|
+
this.showhighmeter = false
|
|
126
139
|
// 将选的文件清空
|
|
127
140
|
this.$refs.file.$el.querySelector('input').value = ''
|
|
128
141
|
this.headers.fusetype = ''
|
|
@@ -137,15 +150,18 @@ export default {
|
|
|
137
150
|
}else{
|
|
138
151
|
condition = `f_blobid= '${this.headers.blodid}' `
|
|
139
152
|
}
|
|
140
|
-
if(this.
|
|
153
|
+
if (this.defname === '冲正'){
|
|
154
|
+
condition += `and defname= '${this.defname}' `
|
|
155
|
+
}
|
|
156
|
+
if (!isEmpty(this.useType)) {
|
|
141
157
|
condition += `and fusetype like '${this.useType}'`
|
|
142
158
|
}
|
|
143
|
-
|
|
159
|
+
let http = new HttpResetClass()
|
|
144
160
|
let data = {
|
|
145
161
|
tablename: 't_files',
|
|
146
162
|
condition: condition + ` order by f_uploaddate desc `
|
|
147
163
|
}
|
|
148
|
-
let getFile = await http.load('POST', 'rs/sql/
|
|
164
|
+
let getFile = await http.load('POST', 'rs/sql/applySingleTable', {data: data}, {
|
|
149
165
|
warnMsg: null,
|
|
150
166
|
resolveMsg: null
|
|
151
167
|
})
|
|
@@ -158,8 +174,12 @@ export default {
|
|
|
158
174
|
continue
|
|
159
175
|
}
|
|
160
176
|
let temp = getFile.data[i].f_downloadpath
|
|
161
|
-
|
|
162
|
-
|
|
177
|
+
if (temp.includes('http:')){
|
|
178
|
+
getFile.data[i].f_downloadURL = temp
|
|
179
|
+
} else {
|
|
180
|
+
let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
|
|
181
|
+
getFile.data[i].f_downloadURL = "http://" + location.host + "/" + URL
|
|
182
|
+
}
|
|
163
183
|
}
|
|
164
184
|
this.fileInfoData = []
|
|
165
185
|
this.fileInfoData = getFile.data
|
|
@@ -172,7 +192,10 @@ export default {
|
|
|
172
192
|
this.showhighmeter = !this.showhighmeter
|
|
173
193
|
},
|
|
174
194
|
// 高拍仪回调
|
|
175
|
-
newPhoto(Imgbase64) {
|
|
195
|
+
newPhoto(Imgbase64, fusetype, fremarks) {
|
|
196
|
+
this.headers.fusetype = fusetype
|
|
197
|
+
this.headers.fremarks = fremarks
|
|
198
|
+
|
|
176
199
|
let form = new FormData()
|
|
177
200
|
let xhr = new XMLHttpRequest()
|
|
178
201
|
let formDataBoundary = "----WebkitFormBoundary" + "GaoPaiYi";
|
|
@@ -187,7 +210,7 @@ export default {
|
|
|
187
210
|
}
|
|
188
211
|
xhr.send(form)
|
|
189
212
|
setTimeout(() => {
|
|
190
|
-
this.
|
|
213
|
+
this.close()
|
|
191
214
|
}, 5000)
|
|
192
215
|
},
|
|
193
216
|
convertBase64ToBlob(base64String) {
|
|
@@ -222,40 +245,40 @@ export default {
|
|
|
222
245
|
</script>
|
|
223
246
|
|
|
224
247
|
<style scoped>
|
|
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
|
-
|
|
248
|
+
.clears{
|
|
249
|
+
overflow:hidden;
|
|
250
|
+
text-overflow:ellipsis;
|
|
251
|
+
white-space:nowrap;
|
|
252
|
+
}
|
|
253
|
+
.showData {
|
|
254
|
+
padding: 15px 10px 0px 10px;
|
|
255
|
+
box-sizing: border-box;
|
|
256
|
+
height: 230px;
|
|
257
|
+
font-family: "微软雅黑";
|
|
258
|
+
}
|
|
259
|
+
.showData .item{
|
|
260
|
+
padding-bottom: 10px;
|
|
261
|
+
border-bottom: solid 1px #c1c1c1;
|
|
262
|
+
}
|
|
263
|
+
.left {
|
|
264
|
+
padding-right: 10px;
|
|
265
|
+
}
|
|
266
|
+
.left img{
|
|
267
|
+
height: 100%;
|
|
268
|
+
width: 100%;
|
|
269
|
+
}
|
|
270
|
+
.right{
|
|
271
|
+
height: 100%;
|
|
272
|
+
/*display: -webkit-flex;*/
|
|
273
|
+
/*display: flex;*/
|
|
274
|
+
/*flex-direction: column;*/
|
|
275
|
+
/*justify-content: space-around;*/
|
|
276
|
+
}
|
|
277
|
+
.item_btn{
|
|
278
|
+
width: 80%;
|
|
279
|
+
background-color: #6aa6e2;
|
|
280
|
+
border-radius: 4px;
|
|
281
|
+
color: #FFFFFF;
|
|
282
|
+
font-family: PingFang;
|
|
283
|
+
}
|
|
261
284
|
</style>
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<modal :show.sync="show" v-ref:modal backdrop="false">
|
|
3
|
+
<header slot="modal-header" class="modal-header">
|
|
4
|
+
<button type="button" class="close" @click="show = !show"><span class="glyphicon glyphicon-remove"></span></button>
|
|
5
|
+
<h4 class="modal-title" style="text-align: center">高拍仪</h4>
|
|
6
|
+
</header>
|
|
7
|
+
<article slot="modal-body" class="modal-body form-horizontal">
|
|
8
|
+
<div class="form-group" v-if="isusetype">
|
|
9
|
+
<label class="col-sm-2 control-label">文件类型:</label>
|
|
10
|
+
<div class="col-sm-10">
|
|
11
|
+
<input-select
|
|
12
|
+
class="select select_list"
|
|
13
|
+
:value.sync="fusetype"
|
|
14
|
+
v-model="fusetype"
|
|
15
|
+
:options="$appdata.getParam('使用类型')"
|
|
16
|
+
:valueSingle="true"></input-select>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-group" v-if="isremark">
|
|
20
|
+
<label class="col-sm-2 control-label">文件说明:</label>
|
|
21
|
+
<div class="col-sm-10">
|
|
22
|
+
<input class="form-control input_view" style=""
|
|
23
|
+
v-model="fremarks"
|
|
24
|
+
:value="fremarks"/>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="form-group">
|
|
28
|
+
<img id="cam" :src="cameraurl" style="height: 100%;width: 100%">
|
|
29
|
+
</div>
|
|
30
|
+
</article>
|
|
31
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
32
|
+
<button type="button" class="btn btn-primary" @click="photo()">确认</button>
|
|
33
|
+
</footer>
|
|
34
|
+
</modal>
|
|
35
|
+
</template>
|
|
36
|
+
|
|
37
|
+
<script>
|
|
38
|
+
export default {
|
|
39
|
+
title: '高拍仪',
|
|
40
|
+
data () {
|
|
41
|
+
return {
|
|
42
|
+
cameraurl: null,
|
|
43
|
+
fusetype: null,
|
|
44
|
+
fremarks: null
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
props: ['show', 'isusetype', 'isremark'],
|
|
48
|
+
methods: {
|
|
49
|
+
// 打开视频
|
|
50
|
+
cam_switch (capID) {
|
|
51
|
+
if (capID === 1) {
|
|
52
|
+
this.cameraurl = 'http://127.0.0.1:38088/video=stream&camidx=0'
|
|
53
|
+
}
|
|
54
|
+
if (capID === 2) {
|
|
55
|
+
this.cameraurl = 'http://127.0.0.1:38088/video=stream&camidx=1'
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
async photo () {
|
|
59
|
+
let camidx = 0
|
|
60
|
+
if (this.cameraurl === 'http://127.0.0.1:38088/video=stream&camidx=0') {
|
|
61
|
+
camidx = 0
|
|
62
|
+
} else if (this.cameraurl === 'http://127.0.0.1:38088/video=stream&camidx=1') {
|
|
63
|
+
camidx = 1
|
|
64
|
+
} else {
|
|
65
|
+
this.$showAlert('请先打开视频', 'warning', 2000)
|
|
66
|
+
return
|
|
67
|
+
}
|
|
68
|
+
let param = {
|
|
69
|
+
camidx: camidx
|
|
70
|
+
}
|
|
71
|
+
let res = await this.$resetpost(
|
|
72
|
+
'http://127.0.0.1:38088/video=grabimage',
|
|
73
|
+
param,
|
|
74
|
+
{warnMsg: null, resolveMsg: null}
|
|
75
|
+
)
|
|
76
|
+
if (res.data.code != '0') {
|
|
77
|
+
this.$showAlert(res.data.message, 'warning', 2000)
|
|
78
|
+
return
|
|
79
|
+
}
|
|
80
|
+
this.$dispatch('photo-finish', res.data.photoBase64, this.fusetype, this.fremarks)
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
ready () {
|
|
84
|
+
this.cameraurl = 'http://127.0.0.1:38088/video=stream&camidx=0'
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
</script>
|
|
88
|
+
|
|
89
|
+
<style scoped>
|
|
90
|
+
.modal-bk{
|
|
91
|
+
border-radius:18px 0;
|
|
92
|
+
}
|
|
93
|
+
.header{
|
|
94
|
+
background-color: #d8e9f3;
|
|
95
|
+
height: 88px;
|
|
96
|
+
}
|
|
97
|
+
.title{
|
|
98
|
+
position: absolute;
|
|
99
|
+
font-family:PingFang-SC-Bold;
|
|
100
|
+
font-size:36px;
|
|
101
|
+
color: #666666;
|
|
102
|
+
margin-top: 32px;
|
|
103
|
+
margin-left: 300px;
|
|
104
|
+
margin-bottom: 0px;
|
|
105
|
+
}
|
|
106
|
+
.operation{
|
|
107
|
+
font-family:PingFang-SC-Medium;
|
|
108
|
+
font-size: 22px;
|
|
109
|
+
color:#666666;
|
|
110
|
+
line-height: 5px;
|
|
111
|
+
}
|
|
112
|
+
.operation-group{
|
|
113
|
+
margin-left: 36px;
|
|
114
|
+
margin-top: 20px;
|
|
115
|
+
}
|
|
116
|
+
.photo{
|
|
117
|
+
font-family: PingFang-SC-Medium;
|
|
118
|
+
font-size: 20px;
|
|
119
|
+
color: #ffffff;
|
|
120
|
+
margin-left: 20px;
|
|
121
|
+
border-radius: 4px;
|
|
122
|
+
background-color: #2fadf5;
|
|
123
|
+
height: 32px;
|
|
124
|
+
width: 92px;
|
|
125
|
+
line-height:12px;
|
|
126
|
+
}
|
|
127
|
+
.readIDCard{
|
|
128
|
+
font-family: PingFang-SC-Medium;
|
|
129
|
+
font-size: 20px;
|
|
130
|
+
color: #ffffff;
|
|
131
|
+
border-radius: 4px;
|
|
132
|
+
background-color: #2fadf5;
|
|
133
|
+
margin-left: 20px;
|
|
134
|
+
width: 120px;
|
|
135
|
+
height: 32px;
|
|
136
|
+
line-height: 12px;
|
|
137
|
+
}
|
|
138
|
+
.stop{
|
|
139
|
+
border-radius: 4px;
|
|
140
|
+
border: 1px solid #2fadf5;
|
|
141
|
+
font-family: PingFang-SC-Medium;
|
|
142
|
+
font-size: 20px;
|
|
143
|
+
color: #2fadf5;
|
|
144
|
+
width: 120px;
|
|
145
|
+
height: 32px;
|
|
146
|
+
line-height: 12px;
|
|
147
|
+
}
|
|
148
|
+
.showInfo{
|
|
149
|
+
float: left;
|
|
150
|
+
width: 640px;
|
|
151
|
+
display: inline-block;
|
|
152
|
+
margin-top: 20px;
|
|
153
|
+
margin-left: 36px;
|
|
154
|
+
}
|
|
155
|
+
#Console{
|
|
156
|
+
margin-left: 18px;
|
|
157
|
+
border-radius: 4px;
|
|
158
|
+
border: 1px solid #b5b5b5;
|
|
159
|
+
height:300px;
|
|
160
|
+
width:322px;
|
|
161
|
+
resize:none;
|
|
162
|
+
background-color: #f6f6f6;
|
|
163
|
+
}
|
|
164
|
+
.img{
|
|
165
|
+
height:300px;
|
|
166
|
+
width:300px;
|
|
167
|
+
float: left;
|
|
168
|
+
border-radius: 4px;
|
|
169
|
+
border: 1px solid #b5b5b5;
|
|
170
|
+
}
|
|
171
|
+
#cam{
|
|
172
|
+
border-radius: 4px;
|
|
173
|
+
border:1px solid #b5b5b5;
|
|
174
|
+
display: inline-block
|
|
175
|
+
}
|
|
176
|
+
.IdCard{
|
|
177
|
+
height: 950px;
|
|
178
|
+
width: 692px;
|
|
179
|
+
display: inline-block;
|
|
180
|
+
border-radius: 20px;
|
|
181
|
+
background-color: #fafafa;
|
|
182
|
+
border: 1px solid #d8f1ff;
|
|
183
|
+
margin-left: 40px;
|
|
184
|
+
margin-top: 20px;
|
|
185
|
+
}
|
|
186
|
+
.IdInput{
|
|
187
|
+
border-radius: 4px;
|
|
188
|
+
border: 1px solid #939393;
|
|
189
|
+
width: 400px;
|
|
190
|
+
height: 38px;
|
|
191
|
+
margin-left: 20px;
|
|
192
|
+
}
|
|
193
|
+
.IdInputDiv{
|
|
194
|
+
margin-top: 20px;
|
|
195
|
+
margin-left: 100px;
|
|
196
|
+
}
|
|
197
|
+
.IdHint{
|
|
198
|
+
font-family: PingFang-SC-Medium;
|
|
199
|
+
font-size: 18px;
|
|
200
|
+
color: #7e7c81;
|
|
201
|
+
}
|
|
202
|
+
#PhotoBuffer,#PhotoDisplay{
|
|
203
|
+
border-radius: 4px;
|
|
204
|
+
background-color: #ffffff;
|
|
205
|
+
border: 1px solid #939393;
|
|
206
|
+
margin-left: 20px;
|
|
207
|
+
}
|
|
208
|
+
</style>
|