apply-clients 7.1.33 → 7.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android.html +4 -0
- package/build/css-loaders.js +34 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server.js +151 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +123 -0
- package/build/webpack.baseandroid.conf.js +123 -0
- package/build/webpack.dev.conf.js +43 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/index.html +33 -30
- package/package.json +11 -7
- package/src/AndroidApp.vue +21 -14
- package/src/App.vue +18 -20
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.eot +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.svg +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.ttf +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff2 +0 -0
- package/src/android-bootstrap/less/.csscomb.json +304 -0
- package/src/android-bootstrap/less/.csslintrc +19 -0
- package/src/android-bootstrap/less/alerts.less +73 -0
- package/src/android-bootstrap/less/badges.less +66 -0
- package/src/android-bootstrap/less/bootstrap.less +56 -0
- package/src/android-bootstrap/less/breadcrumbs.less +26 -0
- package/src/android-bootstrap/less/button-groups.less +247 -0
- package/src/android-bootstrap/less/buttons.less +173 -0
- package/src/android-bootstrap/less/carousel.less +269 -0
- package/src/android-bootstrap/less/close.less +34 -0
- package/src/android-bootstrap/less/code.less +69 -0
- package/src/android-bootstrap/less/component-animations.less +33 -0
- package/src/android-bootstrap/less/dropdowns.less +216 -0
- package/src/android-bootstrap/less/forms.less +626 -0
- package/src/android-bootstrap/less/glyphicons.less +305 -0
- package/src/android-bootstrap/less/grid.less +84 -0
- package/src/android-bootstrap/less/input-groups.less +167 -0
- package/src/android-bootstrap/less/jumbotron.less +52 -0
- package/src/android-bootstrap/less/labels.less +64 -0
- package/src/android-bootstrap/less/list-group.less +141 -0
- package/src/android-bootstrap/less/media.less +66 -0
- package/src/android-bootstrap/less/mixins/alerts.less +14 -0
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
- package/src/android-bootstrap/less/mixins/buttons.less +69 -0
- package/src/android-bootstrap/less/mixins/center-block.less +7 -0
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
- package/src/android-bootstrap/less/mixins/forms.less +90 -0
- package/src/android-bootstrap/less/mixins/gradients.less +59 -0
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
- package/src/android-bootstrap/less/mixins/grid.less +122 -0
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
- package/src/android-bootstrap/less/mixins/image.less +33 -0
- package/src/android-bootstrap/less/mixins/labels.less +12 -0
- package/src/android-bootstrap/less/mixins/list-group.less +30 -0
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
- package/src/android-bootstrap/less/mixins/opacity.less +8 -0
- package/src/android-bootstrap/less/mixins/pagination.less +24 -0
- package/src/android-bootstrap/less/mixins/panels.less +24 -0
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
- package/src/android-bootstrap/less/mixins/resize.less +6 -0
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
- package/src/android-bootstrap/less/mixins/size.less +10 -0
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
- package/src/android-bootstrap/less/mixins/table-row.less +44 -0
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
- package/src/android-bootstrap/less/mixins.less +40 -0
- package/src/android-bootstrap/less/modals.less +151 -0
- package/src/android-bootstrap/less/navbar.less +660 -0
- package/src/android-bootstrap/less/navs.less +302 -0
- package/src/android-bootstrap/less/normalize.less +424 -0
- package/src/android-bootstrap/less/pager.less +76 -0
- package/src/android-bootstrap/less/pagination.less +89 -0
- package/src/android-bootstrap/less/panels.less +274 -0
- package/src/android-bootstrap/less/popovers.less +131 -0
- package/src/android-bootstrap/less/print.less +101 -0
- package/src/android-bootstrap/less/progress-bars.less +87 -0
- package/src/android-bootstrap/less/responsive-embed.less +35 -0
- package/src/android-bootstrap/less/responsive-utilities.less +194 -0
- package/src/android-bootstrap/less/scaffolding.less +161 -0
- package/src/android-bootstrap/less/tables.less +262 -0
- package/src/android-bootstrap/less/theme.less +291 -0
- package/src/android-bootstrap/less/thumbnails.less +36 -0
- package/src/android-bootstrap/less/tooltip.less +102 -0
- package/src/android-bootstrap/less/type.less +303 -0
- package/src/android-bootstrap/less/utilities.less +55 -0
- package/src/android-bootstrap/less/variables.less +896 -0
- package/src/android-bootstrap/less/wells.less +29 -0
- package/src/android.js +7 -4
- package/src/apply.js +31 -15
- package/src/applyAndroid.js +52 -39
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/components/android/AppOnetomany.vue +301 -0
- package/src/components/android/AppServiceView.vue +568 -0
- package/src/components/android/AppSign.vue +169 -0
- package/src/components/android/AppTakePic.vue +142 -0
- package/src/components/android/AppUpload.vue +232 -0
- package/src/components/android/Ignition/VentilationIgnition.vue +328 -0
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +330 -0
- package/src/components/android/Process/AppExplorationUser.vue +352 -0
- package/src/components/android/Process/AppServiceControl.vue +1050 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +336 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +770 -0
- package/src/components/android/Process/Processes/SurveyUserSign.vue +56 -0
- package/src/components/android/Sign/AppSignTask.vue +182 -0
- package/src/components/android/Sign/SignProcess.vue +102 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +183 -0
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -0
- package/src/components/android/Task/Build/BuildTsak.vue +114 -0
- package/src/components/android/Task/Survey/SurveyTsak.vue +112 -0
- package/src/components/android/TaskGraph.vue +130 -0
- package/src/components/android/newPackage/customerServiceManager.vue +218 -0
- package/src/components/android/newPackage/designDrawings.vue +94 -0
- package/src/components/android/newPackage/detailedData.vue +24 -0
- package/src/components/android/newPackage/projectPrice.vue +218 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +141 -62
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +2 -2
- package/src/components/product/Function/InstallFunction.vue +131 -147
- package/src/components/product/Function/InstallInfoSelect.vue +294 -281
- package/src/components/product/Function/Service/FunctionServiceControl.vue +323 -148
- package/src/components/product/Ignition/IgnitionDispatch.vue +277 -0
- package/src/components/product/Ignition/IgnitionRecord.vue +216 -0
- package/src/components/product/Onetomany.vue +377 -0
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +229 -0
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +265 -0
- package/src/components/product/Process/ExplorationSelect.vue +281 -254
- package/src/components/product/Process/ExplorationUser.vue +151 -134
- package/src/components/product/Process/Processes/ApplyMapCom.vue +83 -0
- package/src/components/product/Process/Processes/ExhibitionPicture.vue +27 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +616 -277
- package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -249
- package/src/components/product/Process/Processes/chargeManagement.vue +331 -347
- package/src/components/product/Process/Processes/devicesManagement.vue +360 -0
- package/src/components/product/Process/Processes/selectApply.vue +250 -0
- package/src/components/product/Process/Processes/selectUserinfo.vue +182 -0
- package/src/components/product/Process/Processes/supplementalAgreement.vue +182 -181
- package/src/components/product/Process/Service/ServiceControl.vue +1314 -753
- 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/NewSupervisoryhCart.vue +167 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +231 -199
- package/src/components/product/Supervisory/SupervisoryControl.vue +110 -121
- package/src/components/product/Supervisory/SupervisoryList.vue +98 -48
- package/src/components/product/Supervisory/SupervisoryhCart.vue +119 -103
- package/src/components/product/VueUtils/ApplyUpload.vue +279 -261
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
- package/src/expandcssAndroid.less +1034 -0
- package/src/main.js +27 -23
- package/src/public/history/HistoryApplyList.vue +108 -0
- package/src/public/history/PublicHistoryApply.vue +39 -0
- package/src/public/history/PublicSupervisoryhCart.vue +72 -0
- package/src/public/order/PublicOrderApply.vue +387 -0
- package/dist-android/index.html +0 -3
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/0.js +0 -2
- package/dist-android/static/0.js.map +0 -1
- package/dist-android/static/1.js +0 -2
- package/dist-android/static/1.js.map +0 -1
- package/dist-android/static/10.js +0 -2
- package/dist-android/static/10.js.map +0 -1
- package/dist-android/static/100.js +0 -2
- package/dist-android/static/100.js.map +0 -1
- package/dist-android/static/11.js +0 -2
- package/dist-android/static/11.js.map +0 -1
- package/dist-android/static/12.js +0 -2
- package/dist-android/static/12.js.map +0 -1
- package/dist-android/static/13.js +0 -2
- package/dist-android/static/13.js.map +0 -1
- package/dist-android/static/14.js +0 -2
- package/dist-android/static/14.js.map +0 -1
- package/dist-android/static/15.js +0 -2
- package/dist-android/static/15.js.map +0 -1
- package/dist-android/static/16.js +0 -2
- package/dist-android/static/16.js.map +0 -1
- package/dist-android/static/17.js +0 -2
- package/dist-android/static/17.js.map +0 -1
- package/dist-android/static/18.js +0 -2
- package/dist-android/static/18.js.map +0 -1
- package/dist-android/static/19.js +0 -2
- package/dist-android/static/19.js.map +0 -1
- package/dist-android/static/2.js +0 -2
- package/dist-android/static/2.js.map +0 -1
- package/dist-android/static/20.js +0 -2
- package/dist-android/static/20.js.map +0 -1
- package/dist-android/static/21.js +0 -2
- package/dist-android/static/21.js.map +0 -1
- package/dist-android/static/22.js +0 -2
- package/dist-android/static/22.js.map +0 -1
- package/dist-android/static/23.js +0 -2
- package/dist-android/static/23.js.map +0 -1
- package/dist-android/static/24.js +0 -2
- package/dist-android/static/24.js.map +0 -1
- package/dist-android/static/25.js +0 -2
- package/dist-android/static/25.js.map +0 -1
- package/dist-android/static/26.js +0 -2
- package/dist-android/static/26.js.map +0 -1
- package/dist-android/static/27.js +0 -2
- package/dist-android/static/27.js.map +0 -1
- package/dist-android/static/28.js +0 -2
- package/dist-android/static/28.js.map +0 -1
- package/dist-android/static/29.js +0 -2
- package/dist-android/static/29.js.map +0 -1
- package/dist-android/static/3.js +0 -2
- package/dist-android/static/3.js.map +0 -1
- package/dist-android/static/30.js +0 -2
- package/dist-android/static/30.js.map +0 -1
- package/dist-android/static/31.js +0 -2
- package/dist-android/static/31.js.map +0 -1
- package/dist-android/static/32.js +0 -2
- package/dist-android/static/32.js.map +0 -1
- package/dist-android/static/33.js +0 -2
- package/dist-android/static/33.js.map +0 -1
- package/dist-android/static/34.js +0 -2
- package/dist-android/static/34.js.map +0 -1
- package/dist-android/static/35.js +0 -2
- package/dist-android/static/35.js.map +0 -1
- package/dist-android/static/36.js +0 -2
- package/dist-android/static/36.js.map +0 -1
- package/dist-android/static/37.js +0 -2
- package/dist-android/static/37.js.map +0 -1
- package/dist-android/static/38.js +0 -2
- package/dist-android/static/38.js.map +0 -1
- package/dist-android/static/39.js +0 -2
- package/dist-android/static/39.js.map +0 -1
- package/dist-android/static/4.js +0 -2
- package/dist-android/static/4.js.map +0 -1
- package/dist-android/static/40.js +0 -2
- package/dist-android/static/40.js.map +0 -1
- package/dist-android/static/41.js +0 -2
- package/dist-android/static/41.js.map +0 -1
- package/dist-android/static/42.js +0 -2
- package/dist-android/static/42.js.map +0 -1
- package/dist-android/static/43.js +0 -2
- package/dist-android/static/43.js.map +0 -1
- package/dist-android/static/44.js +0 -2
- package/dist-android/static/44.js.map +0 -1
- package/dist-android/static/45.js +0 -2
- package/dist-android/static/45.js.map +0 -1
- package/dist-android/static/46.js +0 -2
- package/dist-android/static/46.js.map +0 -1
- package/dist-android/static/47.js +0 -2
- package/dist-android/static/47.js.map +0 -1
- package/dist-android/static/48.js +0 -2
- package/dist-android/static/48.js.map +0 -1
- package/dist-android/static/49.js +0 -2
- package/dist-android/static/49.js.map +0 -1
- package/dist-android/static/5.js +0 -2
- package/dist-android/static/5.js.map +0 -1
- package/dist-android/static/50.js +0 -2
- package/dist-android/static/50.js.map +0 -1
- package/dist-android/static/51.js +0 -2
- package/dist-android/static/51.js.map +0 -1
- package/dist-android/static/52.js +0 -2
- package/dist-android/static/52.js.map +0 -1
- package/dist-android/static/53.js +0 -2
- package/dist-android/static/53.js.map +0 -1
- package/dist-android/static/54.js +0 -2
- package/dist-android/static/54.js.map +0 -1
- package/dist-android/static/55.js +0 -2
- package/dist-android/static/55.js.map +0 -1
- package/dist-android/static/56.js +0 -2
- package/dist-android/static/56.js.map +0 -1
- package/dist-android/static/57.js +0 -2
- package/dist-android/static/57.js.map +0 -1
- package/dist-android/static/58.js +0 -2
- package/dist-android/static/58.js.map +0 -1
- package/dist-android/static/59.js +0 -2
- package/dist-android/static/59.js.map +0 -1
- package/dist-android/static/6.js +0 -2
- package/dist-android/static/6.js.map +0 -1
- package/dist-android/static/60.js +0 -2
- package/dist-android/static/60.js.map +0 -1
- package/dist-android/static/61.js +0 -2
- package/dist-android/static/61.js.map +0 -1
- package/dist-android/static/62.js +0 -2
- package/dist-android/static/62.js.map +0 -1
- package/dist-android/static/63.js +0 -2
- package/dist-android/static/63.js.map +0 -1
- package/dist-android/static/64.js +0 -2
- package/dist-android/static/64.js.map +0 -1
- package/dist-android/static/65.js +0 -2
- package/dist-android/static/65.js.map +0 -1
- package/dist-android/static/66.js +0 -2
- package/dist-android/static/66.js.map +0 -1
- package/dist-android/static/67.js +0 -2
- package/dist-android/static/67.js.map +0 -1
- package/dist-android/static/68.js +0 -2
- package/dist-android/static/68.js.map +0 -1
- package/dist-android/static/69.js +0 -2
- package/dist-android/static/69.js.map +0 -1
- package/dist-android/static/7.js +0 -6
- package/dist-android/static/7.js.map +0 -1
- package/dist-android/static/70.js +0 -2
- package/dist-android/static/70.js.map +0 -1
- package/dist-android/static/71.js +0 -2
- package/dist-android/static/71.js.map +0 -1
- package/dist-android/static/72.js +0 -2
- package/dist-android/static/72.js.map +0 -1
- package/dist-android/static/73.js +0 -2
- package/dist-android/static/73.js.map +0 -1
- package/dist-android/static/74.js +0 -2
- package/dist-android/static/74.js.map +0 -1
- package/dist-android/static/75.js +0 -2
- package/dist-android/static/75.js.map +0 -1
- package/dist-android/static/76.js +0 -2
- package/dist-android/static/76.js.map +0 -1
- package/dist-android/static/77.js +0 -2
- package/dist-android/static/77.js.map +0 -1
- package/dist-android/static/78.js +0 -2
- package/dist-android/static/78.js.map +0 -1
- package/dist-android/static/79.js +0 -2
- package/dist-android/static/79.js.map +0 -1
- package/dist-android/static/8.js +0 -2
- package/dist-android/static/8.js.map +0 -1
- package/dist-android/static/80.js +0 -2
- package/dist-android/static/80.js.map +0 -1
- package/dist-android/static/81.js +0 -2
- package/dist-android/static/81.js.map +0 -1
- package/dist-android/static/82.js +0 -2
- package/dist-android/static/82.js.map +0 -1
- package/dist-android/static/83.js +0 -2
- package/dist-android/static/83.js.map +0 -1
- package/dist-android/static/84.js +0 -2
- package/dist-android/static/84.js.map +0 -1
- package/dist-android/static/85.js +0 -2
- package/dist-android/static/85.js.map +0 -1
- package/dist-android/static/86.js +0 -2
- package/dist-android/static/86.js.map +0 -1
- package/dist-android/static/87.js +0 -2
- package/dist-android/static/87.js.map +0 -1
- package/dist-android/static/88.js +0 -2
- package/dist-android/static/88.js.map +0 -1
- package/dist-android/static/89.js +0 -2
- package/dist-android/static/89.js.map +0 -1
- package/dist-android/static/9.js +0 -3
- package/dist-android/static/9.js.map +0 -1
- package/dist-android/static/90.js +0 -2
- package/dist-android/static/90.js.map +0 -1
- package/dist-android/static/91.js +0 -2
- package/dist-android/static/91.js.map +0 -1
- package/dist-android/static/92.js +0 -2
- package/dist-android/static/92.js.map +0 -1
- package/dist-android/static/93.js +0 -2
- package/dist-android/static/93.js.map +0 -1
- package/dist-android/static/94.js +0 -2
- package/dist-android/static/94.js.map +0 -1
- package/dist-android/static/95.js +0 -2
- package/dist-android/static/95.js.map +0 -1
- package/dist-android/static/96.js +0 -2
- package/dist-android/static/96.js.map +0 -1
- package/dist-android/static/97.js +0 -2
- package/dist-android/static/97.js.map +0 -1
- package/dist-android/static/98.js +0 -2
- package/dist-android/static/98.js.map +0 -1
- package/dist-android/static/99.js +0 -2
- package/dist-android/static/99.js.map +0 -1
- package/dist-android/static/app.css +0 -2
- package/dist-android/static/app.css.map +0 -1
- package/dist-android/static/app.js +0 -80
- package/dist-android/static/app.js.map +0 -1
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/config.json +0 -7
- package/dist-android/static/denglu.png +0 -0
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/jingyin.jpg +0 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- package/dist-android/static/newmainbg.jpg +0 -0
- package/dist-android/static/psicon.png +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/workflow_apply.json +0 -766
- package/dist-android/static/xinxi.png +0 -0
- package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/257/274/350/210/252/347/253/226/345/261/2173.png +0 -0
- package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
- package/src/components/app_apply/Acceptance.vue +0 -298
- package/src/components/app_apply/ApplyApp.vue +0 -91
- package/src/components/app_apply/ApplyDownList.vue +0 -166
- package/src/components/app_apply/ApplyInfo.vue +0 -56
- package/src/components/app_apply/ApplyListUpload.vue +0 -258
- package/src/components/app_apply/ApplyToDoList.vue +0 -165
- package/src/components/app_apply/ApplyUserInfo.vue +0 -56
- package/src/components/app_apply/FieldExploration.vue +0 -267
- package/src/components/app_apply/PlaceControler.vue +0 -258
- package/src/components/app_apply/ServiceControl.vue +0 -267
- package/src/components/app_apply/ServiceView.vue +0 -355
- package/src/components/app_apply/ToolsPage.vue +0 -51
- package/src/components/app_apply/Ventilation.vue +0 -199
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
- package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
- package/src/components/product/Function/functions/StopInstall.vue +0 -106
- package/src/components/product/Process/Processes/printCharge.vue +0 -126
- package/src/components/product/Process/ShowBackReason.vue +0 -32
- package/src/components/product/ReportForm/GasIgnitionSummary.vue +0 -352
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
|
@@ -0,0 +1,169 @@
|
|
|
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">签名</button>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
<script>
|
|
15
|
+
import {getNowDate, guid, isEmpty} from '../Util'
|
|
16
|
+
import {PagedList} from 'vue-client'
|
|
17
|
+
import {HttpResetClass} from 'vue-client'
|
|
18
|
+
import QRCode from 'qrcodejs2'
|
|
19
|
+
import Vue from "vue";
|
|
20
|
+
|
|
21
|
+
export default {
|
|
22
|
+
title: '签字',
|
|
23
|
+
props: ['blobid', 'defname', 'type', 'filePath', 'isclean', 'issign'],
|
|
24
|
+
data () {
|
|
25
|
+
return {
|
|
26
|
+
f_sign_path: null,
|
|
27
|
+
fileName: null,
|
|
28
|
+
imgid: null
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
ready () {
|
|
32
|
+
this.getFiles()
|
|
33
|
+
this.f_sign_path = this.filePath
|
|
34
|
+
},
|
|
35
|
+
methods: {
|
|
36
|
+
clean () {
|
|
37
|
+
this.f_sign_path = null
|
|
38
|
+
this.fileName = null
|
|
39
|
+
this.$emit('sign-clean')
|
|
40
|
+
this.delfile(this.imgid)
|
|
41
|
+
},
|
|
42
|
+
delfile(file) {
|
|
43
|
+
this.f_sign_path = null
|
|
44
|
+
this.fileName = null
|
|
45
|
+
this.$emit('sign-clean')
|
|
46
|
+
this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file}, {
|
|
47
|
+
resolveMsg: '删除成功',
|
|
48
|
+
rejectMsg: '删除失败'
|
|
49
|
+
}).then((res) => {
|
|
50
|
+
this.$dispatch("delResid", file)
|
|
51
|
+
})
|
|
52
|
+
},
|
|
53
|
+
sign () {
|
|
54
|
+
this.delAudioFile(this.f_sign_path)
|
|
55
|
+
this.fileName = guid() + '.jpg'
|
|
56
|
+
HostApp.__callback__ = this.signCallback
|
|
57
|
+
HostApp.__this__ = this
|
|
58
|
+
HostApp.getSignature({
|
|
59
|
+
file: this.fileName,
|
|
60
|
+
requestCode: 111,
|
|
61
|
+
callback: 'javascript:HostApp.__callback__("f_sign_path", "%s");'
|
|
62
|
+
})
|
|
63
|
+
},
|
|
64
|
+
// 签名回调
|
|
65
|
+
signCallback (prop, signPath) {
|
|
66
|
+
console.log('==============签字回调============')
|
|
67
|
+
console.log(signPath)
|
|
68
|
+
HostApp.__this__.$set(prop, signPath)
|
|
69
|
+
console.log(HostApp.__this__.f_sign_path)
|
|
70
|
+
|
|
71
|
+
HostApp.__this__.uploadFile()
|
|
72
|
+
|
|
73
|
+
HostApp.__callback__ = null
|
|
74
|
+
HostApp.__this__ = null
|
|
75
|
+
},
|
|
76
|
+
uploadFile () {
|
|
77
|
+
console.log('===================签字文件上传==============')
|
|
78
|
+
let data = {
|
|
79
|
+
blodid: HostApp.__this__.blobid,
|
|
80
|
+
type: HostApp.__this__.type,
|
|
81
|
+
defname: HostApp.__this__.defname,
|
|
82
|
+
username: Vue.user.name,
|
|
83
|
+
fremarks: '报装手机签字文件',
|
|
84
|
+
fileName: HostApp.__this__.fileName,
|
|
85
|
+
fileUrl: HostApp.__this__.f_sign_path,
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
console.log('-----------bzLogic-----------------')
|
|
89
|
+
console.log(JSON.stringify(data))
|
|
90
|
+
let res = HostApp.bzLogic({
|
|
91
|
+
'logic': 'appFileUpload',
|
|
92
|
+
'data': data
|
|
93
|
+
})
|
|
94
|
+
console.log('===============上传回调=================')
|
|
95
|
+
console.log(JSON.stringify(res))
|
|
96
|
+
this.imgid = res.id
|
|
97
|
+
HostApp.__this__.getFiles(res.id)
|
|
98
|
+
},
|
|
99
|
+
async getFiles (fileid) {
|
|
100
|
+
let http = new HttpResetClass()
|
|
101
|
+
let data
|
|
102
|
+
if (fileid && this.defname.includes('签字')) {
|
|
103
|
+
console.log('=========签字回调===============')
|
|
104
|
+
data = {
|
|
105
|
+
tablename: 't_files',
|
|
106
|
+
condition: `id = '${fileid}'`
|
|
107
|
+
}
|
|
108
|
+
} else {
|
|
109
|
+
console.log('=========签字查看===============')
|
|
110
|
+
data = {
|
|
111
|
+
tablename: 't_files',
|
|
112
|
+
condition: `f_blobid = '${this.blobid}' and fremarks = '报装手机签字文件' and defname = '${this.defname}' order by f_uploaddate desc `
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data: data}, {
|
|
116
|
+
// let res = await http.load('POST', `rs/sql/applySingleTable`, {data: data}, {
|
|
117
|
+
warnMsg: null,
|
|
118
|
+
resolveMsg: null
|
|
119
|
+
})
|
|
120
|
+
|
|
121
|
+
console.log('=========查询回调===============')
|
|
122
|
+
let fileUrl = `${this.$androidUtil.getProxyUrl()}/${res.data[0].f_downloadpath.substring(res.data[0].f_downloadpath.lastIndexOf(":\\") + 2)}`
|
|
123
|
+
console.log(fileUrl)
|
|
124
|
+
// HostApp.__this__.$set('f_sign_path', fileUrl)
|
|
125
|
+
// HostApp.__this__.f_sign_path = fileUrl
|
|
126
|
+
this.f_sign_path = fileUrl
|
|
127
|
+
|
|
128
|
+
this.$emit('sign-success', fileUrl)
|
|
129
|
+
},
|
|
130
|
+
delAudioFile (signPath) {
|
|
131
|
+
if (!signPath) {
|
|
132
|
+
return
|
|
133
|
+
}
|
|
134
|
+
HostApp.delfile(signPath)
|
|
135
|
+
this.f_sign_path = null
|
|
136
|
+
this.fileName = null
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
events: {
|
|
140
|
+
},
|
|
141
|
+
computed: {
|
|
142
|
+
},
|
|
143
|
+
watch: {
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
</script>
|
|
147
|
+
<style scoped lang="less">
|
|
148
|
+
.qrcode {
|
|
149
|
+
display: inline-block !important;
|
|
150
|
+
margin: 10px 0px;
|
|
151
|
+
}
|
|
152
|
+
.panel-self{
|
|
153
|
+
border-radius: 10px;
|
|
154
|
+
border:1px solid #499EDF;
|
|
155
|
+
background-color: #F8F8F8;
|
|
156
|
+
}
|
|
157
|
+
.vertical-center {
|
|
158
|
+
display: flex;
|
|
159
|
+
align-items: center;
|
|
160
|
+
text-align: center;
|
|
161
|
+
}
|
|
162
|
+
/*清除model中的浮动*/
|
|
163
|
+
.clearfix:after,.clearfix:before{
|
|
164
|
+
display: table;
|
|
165
|
+
}
|
|
166
|
+
.clearfix:after{
|
|
167
|
+
clear: both;
|
|
168
|
+
}
|
|
169
|
+
</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
|
+
blodid: 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,232 @@
|
|
|
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-sm-6 col-xs-6" v-if="issearch">
|
|
5
|
+
<v-select
|
|
6
|
+
class="select select_list"
|
|
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-sm-6 col-xs-6 " style="text-align: center" v-if="issearch">
|
|
14
|
+
<button type="button" class="btn btn-primary item_btn" @click="load">搜索</button>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
<hr style="width: 90%;margin: 0px auto;border: #999999 1px solid;"/>
|
|
18
|
+
<div class="col-sm-12 col-xs-12" style="overflow: scroll;height: 75%">
|
|
19
|
+
<div class="col-sm-12 col-xs-12 showData" v-for="row in fileInfoData">
|
|
20
|
+
<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'">
|
|
21
|
+
<div class="left col-sm-12 col-xs-12">
|
|
22
|
+
<a href="#" class="thumbnail" style="width: 100%;height: 100%">
|
|
23
|
+
<img-self
|
|
24
|
+
v-if="row.f_filetype === 'jpg'||row.f_filetype === 'png'||row.f_filetype === 'gif'||row.f_filetype === 'bmp'"
|
|
25
|
+
:src="row.f_downloadURL" alt="..." :width="120" :height="170"></img-self>
|
|
26
|
+
<img v-if="row.f_filetype === 'pdf'" src="../image/pdf.jpg" alt=""/>
|
|
27
|
+
<img v-if="row.f_filetype === 'xls'||row.f_filetype === 'xlsx'" src="../image/excel.jpg" alt=""/>
|
|
28
|
+
<img v-if="row.f_filetype === 'doc'||row.f_filetype === 'docx'" src="../image/doc.jpg" alt=""/>
|
|
29
|
+
</a>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
<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'">
|
|
33
|
+
<div class="left col-sm-12 col-xs-12">
|
|
34
|
+
<p :title="row.f_filename" class="clears"><strong>文件名:</strong>{{ row.f_filename }}</p>
|
|
35
|
+
<p :title="row.f_username" class="clears"><strong>操作员:</strong><span>{{ row.f_username }}</span></p>
|
|
36
|
+
<p :title="row.fusetype" class="clears"><strong>使用类型:</strong><span>{{ row.fusetype }}</span></p>
|
|
37
|
+
<p :title="row.f_uploaddate" class="clears"><strong>上传时间:</strong><span>{{ row.f_uploaddate }}</span></p>
|
|
38
|
+
<p :title="row.fremarks" class="clears"><strong>文件说明:</strong>{{ row.fremarks }}</p>
|
|
39
|
+
<p class="clears">
|
|
40
|
+
<a
|
|
41
|
+
v-if="row.f_filetype === 'jpg' || row.f_filetype==='png' || row.f_filetype==='gif' || row.f_filetype==='bmp'"></a>
|
|
42
|
+
<button v-else @click="downloadfile(row.f_downloadURL)" style="background:#6aa6e2" class="btn btn-primary"
|
|
43
|
+
role="button" :href="row.f_downloadURL" download>下载
|
|
44
|
+
</button>
|
|
45
|
+
<!-- <a v-if="isdelete" @click="delet($index, row)" href="#" class="btn btn-default" role="button" role="button">删除</a>-->
|
|
46
|
+
</p>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<script>
|
|
55
|
+
import {HttpResetClass} from 'vue-client'
|
|
56
|
+
import {isEmpty} from "../Util";
|
|
57
|
+
import Vue from "vue";
|
|
58
|
+
|
|
59
|
+
export default {
|
|
60
|
+
title: '附件',
|
|
61
|
+
props: ['blodid', 'businessid', 'isremark', 'isusetype', 'takeimg', 'defname', 'isupload', 'isdelete', 'bootstraped', 'issearch'],
|
|
62
|
+
data() {
|
|
63
|
+
return {
|
|
64
|
+
fileInfoData: [], // 数据库存储的文件记录对象数组
|
|
65
|
+
// 调用rs/file/uploadFile 的参数
|
|
66
|
+
headers: {
|
|
67
|
+
'username': Vue.user.name,
|
|
68
|
+
// 'username': this.$login.f.name,
|
|
69
|
+
'blodid': '',
|
|
70
|
+
'businessid': '',
|
|
71
|
+
'fremarks': '',
|
|
72
|
+
'defname': '',
|
|
73
|
+
'fusetype': ''
|
|
74
|
+
}, // 调用rs/file/uploadFile 的参数
|
|
75
|
+
showUpload: false, // 上传模态框控制
|
|
76
|
+
showhighmeter: false, // 高拍仪组件控制
|
|
77
|
+
useType: null
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
ready() {
|
|
81
|
+
this.headers.blodid = this.blodid
|
|
82
|
+
this.headers.businessid = this.businessid
|
|
83
|
+
this.headers.defname = this.defname
|
|
84
|
+
if (this.blodid || this.businessid) {
|
|
85
|
+
this.load()
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
methods: {
|
|
89
|
+
delet(index, row) {
|
|
90
|
+
// this.$resetdelete(`rs/entity/t_files`, {id: row.id}, {
|
|
91
|
+
this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: row.id}, {
|
|
92
|
+
resolveMsg: '删除成功',
|
|
93
|
+
rejectMsg: '删除失败'
|
|
94
|
+
}).then((res) => {
|
|
95
|
+
this.$dispatch("delResid", row.id)
|
|
96
|
+
this.load()
|
|
97
|
+
})
|
|
98
|
+
},
|
|
99
|
+
// 下载
|
|
100
|
+
// downloadfile(filepath){
|
|
101
|
+
//
|
|
102
|
+
// var link = document.createElement('a');
|
|
103
|
+
// link.href = filepath;
|
|
104
|
+
// link.target='_blank'
|
|
105
|
+
// link.dispatchEvent(new MouseEvent('click'));
|
|
106
|
+
// },
|
|
107
|
+
downloadfile(filepath) {
|
|
108
|
+
let myFrame = document.createElement('iframe')
|
|
109
|
+
myFrame.src = filepath
|
|
110
|
+
myFrame.style.display = 'none'
|
|
111
|
+
document.body.appendChild(myFrame)
|
|
112
|
+
window.open(filepath)
|
|
113
|
+
// let form = document.getElementById('downloadForm')
|
|
114
|
+
// if (!form) {
|
|
115
|
+
// form = document.createElement('form')
|
|
116
|
+
// form.setAttribute('id', 'downloadForm')
|
|
117
|
+
// document.getElementsByTagName('body')[0].appendChild(form)
|
|
118
|
+
// }
|
|
119
|
+
// form.action = filepath
|
|
120
|
+
// form.submit()
|
|
121
|
+
|
|
122
|
+
},
|
|
123
|
+
// 关闭文件上传对话框
|
|
124
|
+
close() {
|
|
125
|
+
this.showUpload = false
|
|
126
|
+
this.showhighmeter = false
|
|
127
|
+
// 将选的文件清空
|
|
128
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
129
|
+
this.headers.fusetype = ''
|
|
130
|
+
this.headers.fremarks = ''
|
|
131
|
+
this.load()
|
|
132
|
+
},
|
|
133
|
+
// 查询
|
|
134
|
+
async load() {
|
|
135
|
+
let condition = ''
|
|
136
|
+
if (this.businessid) {
|
|
137
|
+
condition = `f_businessid= '${this.headers.businessid}' `
|
|
138
|
+
} else {
|
|
139
|
+
condition = `f_blobid= '${this.headers.blodid}' `
|
|
140
|
+
}
|
|
141
|
+
if (!isEmpty(this.useType)) {
|
|
142
|
+
condition += `and fusetype like '${this.useType}'`
|
|
143
|
+
}
|
|
144
|
+
let http = new HttpResetClass()
|
|
145
|
+
let data = {
|
|
146
|
+
tablename: 't_files',
|
|
147
|
+
condition: condition + ` order by f_uploaddate desc `
|
|
148
|
+
}
|
|
149
|
+
// let getFile = await http.load('POST', `rs/sql/applySingleTable`, {data: data}, {
|
|
150
|
+
let getFile = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/applySingleTable`, {data: data}, {
|
|
151
|
+
warnMsg: null,
|
|
152
|
+
resolveMsg: null
|
|
153
|
+
})
|
|
154
|
+
|
|
155
|
+
for (var i = 0; i < getFile.data.length; i++) {
|
|
156
|
+
// 如果使用类型包含导入字样,则是execl文件导入的,不做显示
|
|
157
|
+
if (getFile.data[i].fusetype && (getFile.data[i].fusetype.includes('execl导入'))) {
|
|
158
|
+
getFile.data.splice(i, 1)
|
|
159
|
+
i--
|
|
160
|
+
continue
|
|
161
|
+
}
|
|
162
|
+
let temp = getFile.data[i].f_downloadpath
|
|
163
|
+
let URL = temp.substring(temp.lastIndexOf(":\\") + 2)
|
|
164
|
+
getFile.data[i].f_downloadURL = `${this.$androidUtil.getProxyUrl()}/${URL}`
|
|
165
|
+
// getFile.data[i].f_downloadURL = "http://61.134.61.238:8400" + "/" + URL
|
|
166
|
+
|
|
167
|
+
}
|
|
168
|
+
this.fileInfoData = []
|
|
169
|
+
this.fileInfoData = getFile.data
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
},
|
|
173
|
+
computed: {
|
|
174
|
+
typeOfUse() {
|
|
175
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
events: {
|
|
179
|
+
onFileUpload: function (file, res) {
|
|
180
|
+
this.$dispatch("resid", res.id)
|
|
181
|
+
this.headers.fremarks = ''
|
|
182
|
+
this.close()
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
</script>
|
|
187
|
+
|
|
188
|
+
<style scoped>
|
|
189
|
+
.clears {
|
|
190
|
+
overflow: hidden;
|
|
191
|
+
text-overflow: ellipsis;
|
|
192
|
+
white-space: nowrap;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.showData {
|
|
196
|
+
padding: 15px 10px 0px 10px;
|
|
197
|
+
box-sizing: border-box;
|
|
198
|
+
height: 500px;
|
|
199
|
+
font-family: "微软雅黑";
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.showData .item {
|
|
203
|
+
padding-bottom: 10px;
|
|
204
|
+
height: 230px;
|
|
205
|
+
border-bottom: solid 1px #c1c1c1;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.left {
|
|
209
|
+
padding-right: 10px;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.left img {
|
|
213
|
+
height: 100%;
|
|
214
|
+
width: 100%;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.right {
|
|
218
|
+
height: 100%;
|
|
219
|
+
/*display: -webkit-flex;*/
|
|
220
|
+
/*display: flex;*/
|
|
221
|
+
/*flex-direction: column;*/
|
|
222
|
+
/*justify-content: space-around;*/
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.item_btn {
|
|
226
|
+
width: 80%;
|
|
227
|
+
background-color: #6aa6e2;
|
|
228
|
+
border-radius: 4px;
|
|
229
|
+
color: #FFFFFF;
|
|
230
|
+
font-family: PingFang;
|
|
231
|
+
}
|
|
232
|
+
</style>
|