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,228 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="panel">
|
|
3
|
+
<div class="panel-body panel-self" style="background-color: #F8F8F8;">
|
|
4
|
+
<div class="row form-group" style="height: 240px;overflow: scroll;">
|
|
5
|
+
<img :src="f_sign_path" width="100%" height="100%" />
|
|
6
|
+
</div>
|
|
7
|
+
<div class="row text-right form-group">
|
|
8
|
+
<button class="btn" style="background-color: #f1e404;border-radius: 5px;margin-right: 10px" @click="clean" v-if="isclean">清除</button>
|
|
9
|
+
<button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign" v-if="issign && defname !== '现场勘察'">签名</button>
|
|
10
|
+
<button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="show_notification" v-if="issign && defname === '现场勘察'">签名</button>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
<modal v-if="notification" :show.sync="notification" v-ref:modal :large="true" :backdrop="false">
|
|
14
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
15
|
+
<!-- 基本信息 -->
|
|
16
|
+
<div class="form-group col-xs-12 panel panel-info">
|
|
17
|
+
<div class="panel-heading head col-xs-12" style="background-color: #e8f4ff;margin-bottom: 10px">
|
|
18
|
+
<div class="col-xs-6 text-left">用户需知</div>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="form-group row">
|
|
21
|
+
<div class="col-xs-12">
|
|
22
|
+
<textarea rows="26" cols="42" readonly=true v-if="selectdata.f_apply_type === '民用报建'" style="align: left">
|
|
23
|
+
|
|
24
|
+
民用设计后用户签字内容:
|
|
25
|
+
我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收和材料供应等相关事宜。
|
|
26
|
+
安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。我单位/本人签字后即认为同意。
|
|
27
|
+
设计员已向我单位/本人说明安装位置及条件,后期不得自行变更。
|
|
28
|
+
温馨提示:根据《中华人民共和国安全生产法》第二章三十六条、《陕西省燃气管理条例》第四章第三十二条,非居民燃气用户应当安装使用燃气泄露报警器、安全自动切断装置和防暴照明灯。由用户自行购买,并在工程安装完成后通气前调试完成。
|
|
29
|
+
|
|
30
|
+
</textarea>
|
|
31
|
+
<textarea rows="26" cols="42" readonly=true v-if="selectdata.f_apply_type === '非民用报建'">
|
|
32
|
+
|
|
33
|
+
非民用设计后用户签字内容:
|
|
34
|
+
我单位/本人自愿委托贵公司作为一体化服务单位,组织实施我单位/本人所属天然气设施建设工程,包括天然气设施建设工程勘察、设计、施工、监理、竣工验收和材料供应等相关事宜。
|
|
35
|
+
安装天然气若遇邻居阻挡时由我单位/本人协调解决,否则不予勘设安装。我单位/本人签字后即认为同意。
|
|
36
|
+
设计员已向我单位/本人说明安装位置及条件,后期不得自行变更。
|
|
37
|
+
温馨提示:根据《中华人民共和国安全生产法》第二章三十六条、《陕西省燃气管理条例》第四章第三十二条,非居民燃气用户应当安装使用燃气泄露报警器、安全自动切断装置和防暴照明灯。由用户自行购买,并在工程安装完成后通气前调试完成。
|
|
38
|
+
|
|
39
|
+
</textarea>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="row text-right form-group">
|
|
43
|
+
<button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="close_notification" >确认</button>
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</article>
|
|
47
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
48
|
+
<template>
|
|
49
|
+
|
|
50
|
+
</template>
|
|
51
|
+
</footer>
|
|
52
|
+
</modal>
|
|
53
|
+
</div>
|
|
54
|
+
</template>
|
|
55
|
+
<script>
|
|
56
|
+
import {getNowDate, guid, isEmpty} from '../Util'
|
|
57
|
+
import {PagedList} from 'vue-client'
|
|
58
|
+
import {HttpResetClass} from 'vue-client'
|
|
59
|
+
import QRCode from 'qrcodejs2'
|
|
60
|
+
import Vue from "vue";
|
|
61
|
+
|
|
62
|
+
export default {
|
|
63
|
+
title: '签字',
|
|
64
|
+
props: ['blobid', 'defname', 'type', 'filePath', 'isclean', 'issign','selectdata'],
|
|
65
|
+
data () {
|
|
66
|
+
return {
|
|
67
|
+
f_sign_path: null,
|
|
68
|
+
fileName: null,
|
|
69
|
+
imgid: null,
|
|
70
|
+
notification: false
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
ready () {
|
|
74
|
+
this.getFiles()
|
|
75
|
+
this.f_sign_path = this.filePath
|
|
76
|
+
},
|
|
77
|
+
methods: {
|
|
78
|
+
clean () {
|
|
79
|
+
this.f_sign_path = null
|
|
80
|
+
this.fileName = null
|
|
81
|
+
this.$emit('sign-clean')
|
|
82
|
+
this.delfile(this.imgid)
|
|
83
|
+
},
|
|
84
|
+
delfile(file) {
|
|
85
|
+
this.f_sign_path = null
|
|
86
|
+
this.fileName = null
|
|
87
|
+
this.$emit('sign-clean')
|
|
88
|
+
this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file}, {
|
|
89
|
+
resolveMsg: '删除成功',
|
|
90
|
+
rejectMsg: '删除失败'
|
|
91
|
+
}).then((res) => {
|
|
92
|
+
this.$dispatch("delResid", file)
|
|
93
|
+
})
|
|
94
|
+
},
|
|
95
|
+
show_notification() {
|
|
96
|
+
this.notification = true
|
|
97
|
+
},
|
|
98
|
+
close_notification() {
|
|
99
|
+
this.notification = false
|
|
100
|
+
this.sign()
|
|
101
|
+
},
|
|
102
|
+
sign () {
|
|
103
|
+
this.delAudioFile(this.f_sign_path)
|
|
104
|
+
this.fileName = guid() + '.jpg'
|
|
105
|
+
HostApp.__callback__ = this.signCallback
|
|
106
|
+
HostApp.__this__ = this
|
|
107
|
+
HostApp.getSignature({
|
|
108
|
+
file: this.fileName,
|
|
109
|
+
requestCode: 111,
|
|
110
|
+
callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
|
|
111
|
+
})
|
|
112
|
+
},
|
|
113
|
+
// 签名回调
|
|
114
|
+
signCallback (prop, signPath) {
|
|
115
|
+
console.log('==============签字回调============')
|
|
116
|
+
console.log(signPath)
|
|
117
|
+
HostApp.__this__.$set(prop, signPath)
|
|
118
|
+
console.log(HostApp.__this__.f_sign_path)
|
|
119
|
+
|
|
120
|
+
HostApp.__this__.uploadFile()
|
|
121
|
+
|
|
122
|
+
HostApp.__callback__ = null
|
|
123
|
+
HostApp.__this__ = null
|
|
124
|
+
},
|
|
125
|
+
uploadFile () {
|
|
126
|
+
console.log('===================签字文件上传==============')
|
|
127
|
+
let data = {
|
|
128
|
+
blobid: HostApp.__this__.blobid,
|
|
129
|
+
type: HostApp.__this__.type,
|
|
130
|
+
defname: HostApp.__this__.defname,
|
|
131
|
+
username: Vue.user.name,
|
|
132
|
+
fremarks: '报装手机签字文件',
|
|
133
|
+
fileName: HostApp.__this__.fileName,
|
|
134
|
+
fileUrl: HostApp.__this__.f_sign_path,
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
console.log('-----------bzLogic-----------------')
|
|
138
|
+
console.log(JSON.stringify(data))
|
|
139
|
+
let res = HostApp.bzLogic({
|
|
140
|
+
'logic': 'appFileUpload',
|
|
141
|
+
'data': data
|
|
142
|
+
})
|
|
143
|
+
console.log('===============上传回调=================')
|
|
144
|
+
console.log(JSON.stringify(res))
|
|
145
|
+
this.imgid = res.id
|
|
146
|
+
HostApp.__this__.getFiles(res.id)
|
|
147
|
+
},
|
|
148
|
+
async getFiles (fileid) {
|
|
149
|
+
console.log("cess",this.selectdata.f_apply_type)
|
|
150
|
+
let http = new HttpResetClass()
|
|
151
|
+
let data
|
|
152
|
+
if (fileid && this.defname.includes('签字')) {
|
|
153
|
+
console.log('=========签字回调===============')
|
|
154
|
+
data = {
|
|
155
|
+
tablename: 't_files',
|
|
156
|
+
condition: `id = '${fileid}'`
|
|
157
|
+
}
|
|
158
|
+
}else if (this.defname.includes('签字')){
|
|
159
|
+
data = {
|
|
160
|
+
tablename: 't_files',
|
|
161
|
+
condition: `f_blobid = '${this.blobid}' and fremarks = '报装手机签字文件' and fusetype = '${this.type}' order by f_uploaddate desc `
|
|
162
|
+
}
|
|
163
|
+
} else {
|
|
164
|
+
console.log('=========签字查看===============')
|
|
165
|
+
data = {
|
|
166
|
+
tablename: 't_files',
|
|
167
|
+
condition: `f_blobid = '${this.blobid}' and fremarks = '报装手机签字文件' and defname = '${this.defname}' order by f_uploaddate desc `
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data: data}, {
|
|
171
|
+
// let res = await http.load('POST', `rs/sql/applySingleTable`, {data: data}, {
|
|
172
|
+
warnMsg: null,
|
|
173
|
+
resolveMsg: null
|
|
174
|
+
})
|
|
175
|
+
if(res.data.length > 0){
|
|
176
|
+
console.log('=========查询回调===============')
|
|
177
|
+
let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
|
|
178
|
+
console.log(fileUrl)
|
|
179
|
+
// HostApp.__this__.$set('f_sign_path', fileUrl)
|
|
180
|
+
// HostApp.__this__.f_sign_path = fileUrl
|
|
181
|
+
this.f_sign_path = fileUrl
|
|
182
|
+
this.imgid = res.data[0].id
|
|
183
|
+
let f_fileUrl = `http://193.168.1.44:8400/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
|
|
184
|
+
this.$emit('sign-success', f_fileUrl)
|
|
185
|
+
}else {
|
|
186
|
+
this.f_sign_path = null
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
delAudioFile (signPath) {
|
|
190
|
+
if (!signPath) {
|
|
191
|
+
return
|
|
192
|
+
}
|
|
193
|
+
HostApp.delfile(signPath)
|
|
194
|
+
this.f_sign_path = null
|
|
195
|
+
this.fileName = null
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
events: {
|
|
199
|
+
},
|
|
200
|
+
computed: {
|
|
201
|
+
},
|
|
202
|
+
watch: {
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
</script>
|
|
206
|
+
<style scoped lang="less">
|
|
207
|
+
.qrcode {
|
|
208
|
+
display: inline-block !important;
|
|
209
|
+
margin: 10px 0px;
|
|
210
|
+
}
|
|
211
|
+
.panel-self{
|
|
212
|
+
border-radius: 10px;
|
|
213
|
+
border:1px solid #499EDF;
|
|
214
|
+
background-color: #F8F8F8;
|
|
215
|
+
}
|
|
216
|
+
.vertical-center {
|
|
217
|
+
display: flex;
|
|
218
|
+
align-items: center;
|
|
219
|
+
text-align: center;
|
|
220
|
+
}
|
|
221
|
+
/*清除model中的浮动*/
|
|
222
|
+
.clearfix:after,.clearfix:before{
|
|
223
|
+
display: table;
|
|
224
|
+
}
|
|
225
|
+
.clearfix:after{
|
|
226
|
+
clear: both;
|
|
227
|
+
}
|
|
228
|
+
</style>
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="panel">
|
|
3
|
+
<div class="panel-body panel-self" style="background-color: #F8F8F8;">
|
|
4
|
+
<div class="row form-group" style="height: 240px;overflow: scroll;">
|
|
5
|
+
<div class="col-xs-4 col-sm-3 col-md-2 col-xs-offset-1 col-sm-offset-1 col-md-offset-1" v-for="(index,file) in fileList">
|
|
6
|
+
<img-self :src="file.f_downloadURL" :width="120" :height="170"></img-self>
|
|
7
|
+
<img v-if="isdelete" src="../../../src/assets/删除.png" style="width: 15px;margin-top: -80px" @click.prevent="delfile(file, index)">
|
|
8
|
+
</div>
|
|
9
|
+
</div>
|
|
10
|
+
<div class="row text-right form-group" v-if="istakepic">
|
|
11
|
+
<v-select
|
|
12
|
+
class="fileType"
|
|
13
|
+
placeholder="请选择使用类型"
|
|
14
|
+
v-if="istype"
|
|
15
|
+
:search="false"
|
|
16
|
+
close-on-select
|
|
17
|
+
value-single
|
|
18
|
+
:options="typeList"
|
|
19
|
+
v-model="type"
|
|
20
|
+
:value.sync="type"
|
|
21
|
+
></v-select>
|
|
22
|
+
<button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click.prevent="takePic(type)">拍照</button>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</template>
|
|
27
|
+
|
|
28
|
+
<script>
|
|
29
|
+
import {HttpResetClass} from 'vue-client'
|
|
30
|
+
import {guid, toStandardTimeString} from '../Util'
|
|
31
|
+
import Vue from 'vue'
|
|
32
|
+
export default {
|
|
33
|
+
title: '附件',
|
|
34
|
+
props: ['blobid', 'type', 'defname', 'istype', 'typelabel', 'isdelete', 'istakepic'],
|
|
35
|
+
data () {
|
|
36
|
+
return {
|
|
37
|
+
fileList: []
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
ready () {
|
|
41
|
+
this.getFiles()
|
|
42
|
+
},
|
|
43
|
+
methods: {
|
|
44
|
+
async getFiles () {
|
|
45
|
+
console.log('----------------开始查询图片----------------')
|
|
46
|
+
this.fileList = []
|
|
47
|
+
|
|
48
|
+
let http = new HttpResetClass()
|
|
49
|
+
|
|
50
|
+
let data = {
|
|
51
|
+
tablename: 't_files',
|
|
52
|
+
condition: `f_blobid = '${this.blobid}' and fremarks = '手机拍照' order by f_uploaddate desc `
|
|
53
|
+
}
|
|
54
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data: data}, {
|
|
55
|
+
// let res = await http.load('POST', `rs/sql/applySingleTable`, {data: data}, {
|
|
56
|
+
warnMsg: null,
|
|
57
|
+
resolveMsg: null
|
|
58
|
+
})
|
|
59
|
+
|
|
60
|
+
for (var i = 0; i < res.data.length; i++) {
|
|
61
|
+
console.log('-----------地址----------------',`${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`)
|
|
62
|
+
res.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${res.data[i].f_downloadpath.substring(res.data[i].f_downloadpath.lastIndexOf(":\\") + 2)}`
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
this.fileList = res.data
|
|
66
|
+
},
|
|
67
|
+
delfile (file, index) {
|
|
68
|
+
this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
69
|
+
this.$dispatch("delResid", file.id)
|
|
70
|
+
this.getFiles()
|
|
71
|
+
})
|
|
72
|
+
},
|
|
73
|
+
takePic (title) {
|
|
74
|
+
// 拍照成功回调
|
|
75
|
+
HostApp.__callback__ = this.cameraCallBack
|
|
76
|
+
HostApp.__this__ = this
|
|
77
|
+
let fileName = guid() + '.jpg'
|
|
78
|
+
// 打开相机
|
|
79
|
+
HostApp._open_a_page({
|
|
80
|
+
type: 'boomerang',
|
|
81
|
+
page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
|
|
82
|
+
param: {
|
|
83
|
+
file: fileName,
|
|
84
|
+
requestCode: 200,
|
|
85
|
+
callback: 'javascript:HostApp.__callback__("' + fileName + '", "%s");',
|
|
86
|
+
watermark: title + '\t时间:' + toStandardTimeString() + '\t' + Vue.user.name // 水印
|
|
87
|
+
}
|
|
88
|
+
})
|
|
89
|
+
},
|
|
90
|
+
cameraCallBack (fileName, fileUrl) {
|
|
91
|
+
console.log('-----------cameraCallBack-----------------')
|
|
92
|
+
|
|
93
|
+
let data = {
|
|
94
|
+
blobid: HostApp.__this__.blobid,
|
|
95
|
+
type: HostApp.__this__.type,
|
|
96
|
+
defname: HostApp.__this__.defname,
|
|
97
|
+
username: Vue.user.name,
|
|
98
|
+
fremarks: '手机拍照',
|
|
99
|
+
fileName: fileName,
|
|
100
|
+
fileUrl: fileUrl
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
console.log('-----------bzLogic-----------------')
|
|
104
|
+
HostApp.bzLogic({
|
|
105
|
+
'logic': 'appFileUpload',
|
|
106
|
+
'data': data
|
|
107
|
+
})
|
|
108
|
+
|
|
109
|
+
console.log('----------------开始回调查询-------------------')
|
|
110
|
+
HostApp.__this__.getFiles()
|
|
111
|
+
console.log('----------------查询回调结束-------------------')
|
|
112
|
+
|
|
113
|
+
HostApp.__callback__ = null
|
|
114
|
+
HostApp.__this__ = null
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
computed: {
|
|
118
|
+
typeList () {
|
|
119
|
+
if (this.typelabel) {
|
|
120
|
+
return this.$appdata.getParam(this.typelabel)
|
|
121
|
+
}
|
|
122
|
+
return this.$appdata.getParam('使用类型')
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
events: {
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
</script>
|
|
129
|
+
|
|
130
|
+
<style lang="less">
|
|
131
|
+
.fileType {
|
|
132
|
+
float: left;
|
|
133
|
+
.select-style {
|
|
134
|
+
background: #f8f8f8;
|
|
135
|
+
border: 0px;
|
|
136
|
+
}
|
|
137
|
+
input {
|
|
138
|
+
border-left: none;
|
|
139
|
+
width: 100%;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
</style>
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12 col-xs-12" style="background-color: #FFFFFF">
|
|
3
|
+
<div class="col-sm-12 col-xs-12" style="padding:50px 100px;height: 25%">
|
|
4
|
+
<div class="col-xs-8" v-if="issearch">
|
|
5
|
+
<v-select
|
|
6
|
+
class="fileType"
|
|
7
|
+
:value.sync="useType"
|
|
8
|
+
width="90%"
|
|
9
|
+
v-model="useType"
|
|
10
|
+
:options='typeOfUse'
|
|
11
|
+
:valueSingle="true"></v-select>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="col-xs-4" style="text-align: center" v-if="issearch">
|
|
14
|
+
<button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="load">搜索</button>
|
|
15
|
+
</div>
|
|
16
|
+
<!-- <div class="form-group col-sm-2" style="text-align: center" v-if="isupload">-->
|
|
17
|
+
<!-- <button type="button" class="btn btn-primary item_btn" @click="showUpload = !showUpload">本地上传</button>-->
|
|
18
|
+
<!-- </div>-->
|
|
19
|
+
</div>
|
|
20
|
+
<hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;"/>
|
|
21
|
+
<div class="col-sm-12 col-xs-12" style="overflow: scroll;height: 75%">
|
|
22
|
+
<div class="col-sm-12 col-xs-12 showData" v-for="row in fileInfoData">
|
|
23
|
+
<div class="col-sm-12 col-xs-12 item" v-if="row.f_filetype === 'jpg' || row.f_filetype==='png' || row.f_filetype==='gif' || row.f_filetype==='bmp'">
|
|
24
|
+
<div class="left col-sm-12 col-xs-12">
|
|
25
|
+
<a href="#" class="thumbnail" style="width: 100%;height: 100%">
|
|
26
|
+
<img-self
|
|
27
|
+
v-if="row.f_filetype === 'jpg' || row.f_filetype === 'png' || row.f_filetype === 'gif' || row.f_filetype === 'bmp'"
|
|
28
|
+
:src="row.f_downloadURL" alt="..." :width="120" :height="170"></img-self>
|
|
29
|
+
<img v-if="row.f_filetype === 'pdf'" src="../image/pdf.jpg" alt=""/>
|
|
30
|
+
<img v-if="row.f_filetype === 'xls'||row.f_filetype === 'xlsx'" src="../image/excel.jpg" alt=""/>
|
|
31
|
+
<img v-if="row.f_filetype === 'doc'||row.f_filetype === 'docx'" src="../image/doc.jpg" alt=""/>
|
|
32
|
+
<img v-if="row.f_filetype === 'dwg'" src="../image/dwg.png" alt="" />
|
|
33
|
+
<img v-if="row.f_filetype === 'dxf'" src="../image/dxf.png" alt="" />
|
|
34
|
+
</a>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="col-sm-12 col-xs-12 item">
|
|
38
|
+
<div class="left col-sm-12 col-xs-12">
|
|
39
|
+
<p :title="row.f_filename" class="clears"><strong>文件名:</strong>{{ row.f_filename }}</p>
|
|
40
|
+
<p :title="row.f_username" class="clears"><strong>操作员:</strong><span>{{ row.f_username }}</span></p>
|
|
41
|
+
<p :title="row.fusetype" class="clears"><strong>使用类型:</strong><span>{{ row.fusetype }}</span></p>
|
|
42
|
+
<p :title="row.f_uploaddate" class="clears"><strong>上传时间:</strong><span>{{ row.f_uploaddate }}</span></p>
|
|
43
|
+
<p :title="row.fremarks" class="clears"><strong>文件说明:</strong>{{ row.fremarks }}</p>
|
|
44
|
+
<p class="clears">
|
|
45
|
+
<a
|
|
46
|
+
v-if="row.f_filetype === 'jpg' || row.f_filetype==='png' || row.f_filetype==='gif' || row.f_filetype==='bmp'"></a>
|
|
47
|
+
<a v-else @click="downloadfile(row.f_downloadURL)" style="background:#6aa6e2" class="btn btn-primary"
|
|
48
|
+
role="button" :href="row.f_downloadURL" download = "row.f_filename" >下载
|
|
49
|
+
</a>
|
|
50
|
+
<!-- <a v-if="isdelete" @click="delet($index, row)" href="#" class="btn btn-default" role="button" role="button">删除</a>-->
|
|
51
|
+
</p>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
<!-- <modal :show.sync="showUpload" v-ref:modal backdrop="false">-->
|
|
58
|
+
<!-- <header slot="modal-header" class="modal-header">-->
|
|
59
|
+
<!-- <button type="button" class="close" @click="close"><span class="glyphicon glyphicon-remove"></span></button>-->
|
|
60
|
+
<!-- <h4 class="modal-title" style="text-align: center">文件上传</h4>-->
|
|
61
|
+
<!-- </header>-->
|
|
62
|
+
<!-- <article slot="modal-body" class="modal-body form-horizontal">-->
|
|
63
|
+
<!-- <div class="form-group" style="text-align: center">-->
|
|
64
|
+
<!-- <file-upload class="my-file-uploader" :name="'myFile' + blodid"-->
|
|
65
|
+
<!-- action="rs/file/upload" tagname="文件上传" :headers="headers" multiple v-ref:file></file-upload>-->
|
|
66
|
+
<!-- </div>-->
|
|
67
|
+
<!-- <div class="form-group" v-if="isusetype">-->
|
|
68
|
+
<!-- <label class="col-sm-2 control-label">文件类型:</label>-->
|
|
69
|
+
<!-- <div class="col-sm-10">-->
|
|
70
|
+
<!-- <input-select-->
|
|
71
|
+
<!-- class="select select_list"-->
|
|
72
|
+
<!-- :value.sync="headers.fusetype"-->
|
|
73
|
+
<!-- v-model="headers.fusetype"-->
|
|
74
|
+
<!-- :options="$appdata.getParam('使用类型')"-->
|
|
75
|
+
<!-- :valueSingle="true"></input-select>-->
|
|
76
|
+
<!-- </div>-->
|
|
77
|
+
<!-- </div>-->
|
|
78
|
+
<!-- <div class="form-group" v-if="isremark" style="color: #df2424">-->
|
|
79
|
+
<!-- <label class="col-sm-2 control-label">文件说明:</label>-->
|
|
80
|
+
<!-- <div class="col-sm-10">-->
|
|
81
|
+
<!-- <input class="form-control input_view" style=""-->
|
|
82
|
+
<!-- v-model="headers.fremarks"-->
|
|
83
|
+
<!-- :value="headers.fremarks"/>-->
|
|
84
|
+
<!-- </div>-->
|
|
85
|
+
<!-- </div>-->
|
|
86
|
+
<!-- </article>-->
|
|
87
|
+
<!-- <footer slot="modal-footer" class="modal-footer">-->
|
|
88
|
+
<!-- </footer>-->
|
|
89
|
+
<!-- </modal>-->
|
|
90
|
+
</template>
|
|
91
|
+
|
|
92
|
+
<script>
|
|
93
|
+
import {HttpResetClass} from 'vue-client'
|
|
94
|
+
import {isEmpty} from "../Util";
|
|
95
|
+
import Vue from "vue";
|
|
96
|
+
|
|
97
|
+
export default {
|
|
98
|
+
title: '附件',
|
|
99
|
+
props: ['blodid', 'businessid', 'isremark', 'isusetype', 'takeimg', 'defname', 'isupload', 'isdelete', 'bootstraped', 'issearch'],
|
|
100
|
+
data() {
|
|
101
|
+
return {
|
|
102
|
+
fileInfoData: [], // 数据库存储的文件记录对象数组
|
|
103
|
+
// 调用rs/file/uploadFile 的参数
|
|
104
|
+
headers: {
|
|
105
|
+
'username': Vue.user.name,
|
|
106
|
+
// 'username': this.$login.f.name,
|
|
107
|
+
'blodid': '',
|
|
108
|
+
'businessid': '',
|
|
109
|
+
'fremarks': '',
|
|
110
|
+
'defname': '',
|
|
111
|
+
'fusetype': ''
|
|
112
|
+
}, // 调用rs/file/uploadFile 的参数
|
|
113
|
+
showUpload: false, // 上传模态框控制
|
|
114
|
+
showhighmeter: false, // 高拍仪组件控制
|
|
115
|
+
useType: null
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
ready() {
|
|
119
|
+
this.headers.blodid = this.blodid
|
|
120
|
+
this.headers.businessid = this.businessid
|
|
121
|
+
this.headers.defname = this.defname
|
|
122
|
+
if (this.blodid || this.businessid) {
|
|
123
|
+
this.load()
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
methods: {
|
|
127
|
+
delet(index, row) {
|
|
128
|
+
// this.$resetdelete(`rs/entity/t_files`, {id: row.id}, {
|
|
129
|
+
this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: row.id}, {
|
|
130
|
+
resolveMsg: '删除成功',
|
|
131
|
+
rejectMsg: '删除失败'
|
|
132
|
+
}).then((res) => {
|
|
133
|
+
this.$dispatch("delResid", row.id)
|
|
134
|
+
this.load()
|
|
135
|
+
})
|
|
136
|
+
},
|
|
137
|
+
downloadfile(filepath) {
|
|
138
|
+
HostApp.startExternalViewer(filepath)
|
|
139
|
+
},
|
|
140
|
+
// 关闭文件上传对话框
|
|
141
|
+
close() {
|
|
142
|
+
this.showUpload = false
|
|
143
|
+
this.showhighmeter = false
|
|
144
|
+
// 将选的文件清空
|
|
145
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
146
|
+
this.headers.fusetype = ''
|
|
147
|
+
this.headers.fremarks = ''
|
|
148
|
+
this.load()
|
|
149
|
+
},
|
|
150
|
+
// 查询
|
|
151
|
+
async load() {
|
|
152
|
+
let condition = ''
|
|
153
|
+
|
|
154
|
+
condition = `f_blobid= '${this.headers.blodid}' `
|
|
155
|
+
|
|
156
|
+
if (!isEmpty(this.useType)) {
|
|
157
|
+
condition += `and fusetype like '${this.useType}'`
|
|
158
|
+
}
|
|
159
|
+
let http = new HttpResetClass()
|
|
160
|
+
let data = {
|
|
161
|
+
tablename: 't_files',
|
|
162
|
+
condition: condition + ` order by f_uploaddate desc `
|
|
163
|
+
}
|
|
164
|
+
let getFile = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data: data}, {
|
|
165
|
+
warnMsg: null,
|
|
166
|
+
resolveMsg: null
|
|
167
|
+
})
|
|
168
|
+
|
|
169
|
+
for (var i = 0; i < getFile.data.length; i++) {
|
|
170
|
+
// 如果使用类型包含导入字样,则是execl文件导入的,不做显示
|
|
171
|
+
if (getFile.data[i].fusetype && (getFile.data[i].fusetype.includes('execl导入'))) {
|
|
172
|
+
getFile.data.splice(i, 1)
|
|
173
|
+
i--
|
|
174
|
+
continue
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
let temp = getFile.data[i].f_downloadpath
|
|
178
|
+
if (temp.includes('http:')){
|
|
179
|
+
getFile.data[i].f_downloadURL = temp
|
|
180
|
+
} else {
|
|
181
|
+
let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
|
|
182
|
+
getFile.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${URL}`
|
|
183
|
+
}
|
|
184
|
+
// getFile.data[i].f_downloadURL = "http://61.134.61.238:8400" + "/" + URL
|
|
185
|
+
|
|
186
|
+
}
|
|
187
|
+
this.fileInfoData = []
|
|
188
|
+
this.fileInfoData = getFile.data
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
},
|
|
192
|
+
computed: {
|
|
193
|
+
typeOfUse() {
|
|
194
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
events: {
|
|
198
|
+
onFileUpload: function (file, res) {
|
|
199
|
+
this.$dispatch("resid", res.id)
|
|
200
|
+
this.headers.fremarks = ''
|
|
201
|
+
this.close()
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
watch: {
|
|
205
|
+
'blodid'(val) {
|
|
206
|
+
if (val) {
|
|
207
|
+
console.log('观察blodid', val)
|
|
208
|
+
this.headers.blodid = this.blodid
|
|
209
|
+
this.load()
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
</script>
|
|
215
|
+
|
|
216
|
+
<style scoped>
|
|
217
|
+
.clears {
|
|
218
|
+
overflow: hidden;
|
|
219
|
+
text-overflow: ellipsis;
|
|
220
|
+
white-space: nowrap;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.showData {
|
|
224
|
+
padding: 15px 10px 0px 10px;
|
|
225
|
+
box-sizing: border-box;
|
|
226
|
+
height: 500px;
|
|
227
|
+
font-family: "微软雅黑";
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.showData .item {
|
|
231
|
+
padding-bottom: 10px;
|
|
232
|
+
height: 230px;
|
|
233
|
+
border-bottom: solid 1px #c1c1c1;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.left {
|
|
237
|
+
padding-right: 10px;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.left img {
|
|
241
|
+
height: 100%;
|
|
242
|
+
width: 100%;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.right {
|
|
246
|
+
height: 100%;
|
|
247
|
+
/*display: -webkit-flex;*/
|
|
248
|
+
/*display: flex;*/
|
|
249
|
+
/*flex-direction: column;*/
|
|
250
|
+
/*justify-content: space-around;*/
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.item_btn {
|
|
254
|
+
width: 80%;
|
|
255
|
+
background-color: #6aa6e2;
|
|
256
|
+
border-radius: 4px;
|
|
257
|
+
color: #FFFFFF;
|
|
258
|
+
font-family: PingFang;
|
|
259
|
+
}
|
|
260
|
+
</style>
|