apply-clients 7.1.35 → 7.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android.html +4 -0
- package/build/css-loaders.js +34 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server.js +151 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +123 -0
- package/build/webpack.baseandroid.conf.js +123 -0
- package/build/webpack.dev.conf.js +43 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/index.html +4 -1
- package/package.json +11 -7
- package/src/AndroidApp.vue +21 -14
- package/src/App.vue +18 -20
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.eot +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.svg +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.ttf +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff2 +0 -0
- package/src/android-bootstrap/less/.csscomb.json +304 -0
- package/src/android-bootstrap/less/.csslintrc +19 -0
- package/src/android-bootstrap/less/alerts.less +73 -0
- package/src/android-bootstrap/less/badges.less +66 -0
- package/src/android-bootstrap/less/bootstrap.less +56 -0
- package/src/android-bootstrap/less/breadcrumbs.less +26 -0
- package/src/android-bootstrap/less/button-groups.less +247 -0
- package/src/android-bootstrap/less/buttons.less +173 -0
- package/src/android-bootstrap/less/carousel.less +269 -0
- package/src/android-bootstrap/less/close.less +34 -0
- package/src/android-bootstrap/less/code.less +69 -0
- package/src/android-bootstrap/less/component-animations.less +33 -0
- package/src/android-bootstrap/less/dropdowns.less +216 -0
- package/src/android-bootstrap/less/forms.less +626 -0
- package/src/android-bootstrap/less/glyphicons.less +305 -0
- package/src/android-bootstrap/less/grid.less +84 -0
- package/src/android-bootstrap/less/input-groups.less +167 -0
- package/src/android-bootstrap/less/jumbotron.less +52 -0
- package/src/android-bootstrap/less/labels.less +64 -0
- package/src/android-bootstrap/less/list-group.less +141 -0
- package/src/android-bootstrap/less/media.less +66 -0
- package/src/android-bootstrap/less/mixins/alerts.less +14 -0
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
- package/src/android-bootstrap/less/mixins/buttons.less +69 -0
- package/src/android-bootstrap/less/mixins/center-block.less +7 -0
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
- package/src/android-bootstrap/less/mixins/forms.less +90 -0
- package/src/android-bootstrap/less/mixins/gradients.less +59 -0
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
- package/src/android-bootstrap/less/mixins/grid.less +122 -0
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
- package/src/android-bootstrap/less/mixins/image.less +33 -0
- package/src/android-bootstrap/less/mixins/labels.less +12 -0
- package/src/android-bootstrap/less/mixins/list-group.less +30 -0
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
- package/src/android-bootstrap/less/mixins/opacity.less +8 -0
- package/src/android-bootstrap/less/mixins/pagination.less +24 -0
- package/src/android-bootstrap/less/mixins/panels.less +24 -0
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
- package/src/android-bootstrap/less/mixins/resize.less +6 -0
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
- package/src/android-bootstrap/less/mixins/size.less +10 -0
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
- package/src/android-bootstrap/less/mixins/table-row.less +44 -0
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
- package/src/android-bootstrap/less/mixins.less +40 -0
- package/src/android-bootstrap/less/modals.less +151 -0
- package/src/android-bootstrap/less/navbar.less +660 -0
- package/src/android-bootstrap/less/navs.less +302 -0
- package/src/android-bootstrap/less/normalize.less +424 -0
- package/src/android-bootstrap/less/pager.less +76 -0
- package/src/android-bootstrap/less/pagination.less +89 -0
- package/src/android-bootstrap/less/panels.less +274 -0
- package/src/android-bootstrap/less/popovers.less +131 -0
- package/src/android-bootstrap/less/print.less +101 -0
- package/src/android-bootstrap/less/progress-bars.less +87 -0
- package/src/android-bootstrap/less/responsive-embed.less +35 -0
- package/src/android-bootstrap/less/responsive-utilities.less +194 -0
- package/src/android-bootstrap/less/scaffolding.less +161 -0
- package/src/android-bootstrap/less/tables.less +262 -0
- package/src/android-bootstrap/less/theme.less +291 -0
- package/src/android-bootstrap/less/thumbnails.less +36 -0
- package/src/android-bootstrap/less/tooltip.less +102 -0
- package/src/android-bootstrap/less/type.less +303 -0
- package/src/android-bootstrap/less/utilities.less +55 -0
- package/src/android-bootstrap/less/variables.less +896 -0
- package/src/android-bootstrap/less/wells.less +29 -0
- package/src/android.js +7 -4
- package/src/apply.js +85 -69
- package/src/applyAndroid.js +52 -39
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/components/android/AppOnetomany.vue +301 -0
- package/src/components/android/AppServiceView.vue +568 -0
- package/src/components/android/AppSign.vue +169 -0
- package/src/components/android/AppTakePic.vue +142 -0
- package/src/components/android/AppUpload.vue +232 -0
- package/src/components/android/Ignition/VentilationIgnition.vue +328 -0
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +330 -0
- package/src/components/android/Process/AppExplorationUser.vue +352 -0
- package/src/components/android/Process/AppServiceControl.vue +1050 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +336 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +770 -0
- package/src/components/android/Process/Processes/SurveyUserSign.vue +56 -0
- package/src/components/android/Sign/AppSignTask.vue +182 -0
- package/src/components/android/Sign/SignProcess.vue +102 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +183 -0
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -0
- package/src/components/android/Task/Build/BuildTsak.vue +114 -0
- package/src/components/android/Task/Survey/SurveyTsak.vue +112 -0
- package/src/components/android/TaskGraph.vue +130 -0
- package/src/components/android/newPackage/customerServiceManager.vue +218 -0
- package/src/components/android/newPackage/designDrawings.vue +94 -0
- package/src/components/android/newPackage/detailedData.vue +24 -0
- package/src/components/android/newPackage/projectPrice.vue +218 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +141 -62
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +2 -2
- package/src/components/product/Function/InstallFunction.vue +53 -69
- package/src/components/product/Function/InstallInfoSelect.vue +118 -105
- package/src/components/product/Function/Service/FunctionServiceControl.vue +323 -148
- package/src/components/product/Ignition/IgnitionDispatch.vue +277 -0
- package/src/components/product/Ignition/IgnitionRecord.vue +216 -0
- package/src/components/product/Onetomany.vue +377 -0
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +229 -0
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +265 -0
- package/src/components/product/Process/ExplorationSelect.vue +374 -347
- package/src/components/product/Process/ExplorationUser.vue +151 -138
- package/src/components/product/Process/Processes/ApplyMapCom.vue +83 -0
- package/src/components/product/Process/Processes/ExhibitionPicture.vue +27 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +823 -484
- package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
- package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
- package/src/components/product/Process/Processes/Print/printCharge.vue +142 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +59 -113
- package/src/components/product/Process/Processes/chargeManagement.vue +546 -562
- package/src/components/product/Process/Processes/devicesManagement.vue +360 -0
- package/src/components/product/Process/Processes/selectApply.vue +250 -0
- package/src/components/product/Process/Processes/selectUserinfo.vue +182 -0
- package/src/components/product/Process/Processes/supplementalAgreement.vue +182 -181
- package/src/components/product/Process/Service/ServiceControl.vue +1417 -856
- package/src/components/product/Process/Service/ShowBackReason.vue +33 -0
- package/src/components/product/ServiceView.vue +557 -680
- package/src/components/product/Stop/StopApply.vue +105 -0
- package/src/components/product/Stop/StopApplyList.vue +224 -0
- package/src/components/product/Supervisory/NewSupervisoryhCart.vue +167 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +231 -199
- package/src/components/product/Supervisory/SupervisoryControl.vue +22 -33
- package/src/components/product/Supervisory/SupervisoryList.vue +258 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +52 -36
- package/src/components/product/VueUtils/ApplyUpload.vue +279 -261
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
- package/src/expandcssAndroid.less +1034 -0
- package/src/main.js +27 -23
- package/src/public/history/HistoryApplyList.vue +108 -0
- package/src/public/history/PublicHistoryApply.vue +39 -0
- package/src/public/history/PublicSupervisoryhCart.vue +72 -0
- package/src/public/order/PublicOrderApply.vue +387 -0
- package/dist-android/index.html +0 -3
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/0.js +0 -2
- package/dist-android/static/0.js.map +0 -1
- package/dist-android/static/1.js +0 -2
- package/dist-android/static/1.js.map +0 -1
- package/dist-android/static/10.js +0 -2
- package/dist-android/static/10.js.map +0 -1
- package/dist-android/static/100.js +0 -2
- package/dist-android/static/100.js.map +0 -1
- package/dist-android/static/11.js +0 -2
- package/dist-android/static/11.js.map +0 -1
- package/dist-android/static/12.js +0 -2
- package/dist-android/static/12.js.map +0 -1
- package/dist-android/static/13.js +0 -2
- package/dist-android/static/13.js.map +0 -1
- package/dist-android/static/14.js +0 -2
- package/dist-android/static/14.js.map +0 -1
- package/dist-android/static/15.js +0 -2
- package/dist-android/static/15.js.map +0 -1
- package/dist-android/static/16.js +0 -2
- package/dist-android/static/16.js.map +0 -1
- package/dist-android/static/17.js +0 -2
- package/dist-android/static/17.js.map +0 -1
- package/dist-android/static/18.js +0 -2
- package/dist-android/static/18.js.map +0 -1
- package/dist-android/static/19.js +0 -2
- package/dist-android/static/19.js.map +0 -1
- package/dist-android/static/2.js +0 -2
- package/dist-android/static/2.js.map +0 -1
- package/dist-android/static/20.js +0 -2
- package/dist-android/static/20.js.map +0 -1
- package/dist-android/static/21.js +0 -2
- package/dist-android/static/21.js.map +0 -1
- package/dist-android/static/22.js +0 -2
- package/dist-android/static/22.js.map +0 -1
- package/dist-android/static/23.js +0 -2
- package/dist-android/static/23.js.map +0 -1
- package/dist-android/static/24.js +0 -2
- package/dist-android/static/24.js.map +0 -1
- package/dist-android/static/25.js +0 -2
- package/dist-android/static/25.js.map +0 -1
- package/dist-android/static/26.js +0 -2
- package/dist-android/static/26.js.map +0 -1
- package/dist-android/static/27.js +0 -2
- package/dist-android/static/27.js.map +0 -1
- package/dist-android/static/28.js +0 -2
- package/dist-android/static/28.js.map +0 -1
- package/dist-android/static/29.js +0 -2
- package/dist-android/static/29.js.map +0 -1
- package/dist-android/static/3.js +0 -2
- package/dist-android/static/3.js.map +0 -1
- package/dist-android/static/30.js +0 -2
- package/dist-android/static/30.js.map +0 -1
- package/dist-android/static/31.js +0 -2
- package/dist-android/static/31.js.map +0 -1
- package/dist-android/static/32.js +0 -2
- package/dist-android/static/32.js.map +0 -1
- package/dist-android/static/33.js +0 -2
- package/dist-android/static/33.js.map +0 -1
- package/dist-android/static/34.js +0 -2
- package/dist-android/static/34.js.map +0 -1
- package/dist-android/static/35.js +0 -2
- package/dist-android/static/35.js.map +0 -1
- package/dist-android/static/36.js +0 -2
- package/dist-android/static/36.js.map +0 -1
- package/dist-android/static/37.js +0 -2
- package/dist-android/static/37.js.map +0 -1
- package/dist-android/static/38.js +0 -2
- package/dist-android/static/38.js.map +0 -1
- package/dist-android/static/39.js +0 -2
- package/dist-android/static/39.js.map +0 -1
- package/dist-android/static/4.js +0 -2
- package/dist-android/static/4.js.map +0 -1
- package/dist-android/static/40.js +0 -2
- package/dist-android/static/40.js.map +0 -1
- package/dist-android/static/41.js +0 -2
- package/dist-android/static/41.js.map +0 -1
- package/dist-android/static/42.js +0 -2
- package/dist-android/static/42.js.map +0 -1
- package/dist-android/static/43.js +0 -2
- package/dist-android/static/43.js.map +0 -1
- package/dist-android/static/44.js +0 -2
- package/dist-android/static/44.js.map +0 -1
- package/dist-android/static/45.js +0 -2
- package/dist-android/static/45.js.map +0 -1
- package/dist-android/static/46.js +0 -2
- package/dist-android/static/46.js.map +0 -1
- package/dist-android/static/47.js +0 -2
- package/dist-android/static/47.js.map +0 -1
- package/dist-android/static/48.js +0 -2
- package/dist-android/static/48.js.map +0 -1
- package/dist-android/static/49.js +0 -2
- package/dist-android/static/49.js.map +0 -1
- package/dist-android/static/5.js +0 -2
- package/dist-android/static/5.js.map +0 -1
- package/dist-android/static/50.js +0 -2
- package/dist-android/static/50.js.map +0 -1
- package/dist-android/static/51.js +0 -2
- package/dist-android/static/51.js.map +0 -1
- package/dist-android/static/52.js +0 -2
- package/dist-android/static/52.js.map +0 -1
- package/dist-android/static/53.js +0 -2
- package/dist-android/static/53.js.map +0 -1
- package/dist-android/static/54.js +0 -2
- package/dist-android/static/54.js.map +0 -1
- package/dist-android/static/55.js +0 -2
- package/dist-android/static/55.js.map +0 -1
- package/dist-android/static/56.js +0 -2
- package/dist-android/static/56.js.map +0 -1
- package/dist-android/static/57.js +0 -2
- package/dist-android/static/57.js.map +0 -1
- package/dist-android/static/58.js +0 -2
- package/dist-android/static/58.js.map +0 -1
- package/dist-android/static/59.js +0 -2
- package/dist-android/static/59.js.map +0 -1
- package/dist-android/static/6.js +0 -2
- package/dist-android/static/6.js.map +0 -1
- package/dist-android/static/60.js +0 -2
- package/dist-android/static/60.js.map +0 -1
- package/dist-android/static/61.js +0 -2
- package/dist-android/static/61.js.map +0 -1
- package/dist-android/static/62.js +0 -2
- package/dist-android/static/62.js.map +0 -1
- package/dist-android/static/63.js +0 -2
- package/dist-android/static/63.js.map +0 -1
- package/dist-android/static/64.js +0 -2
- package/dist-android/static/64.js.map +0 -1
- package/dist-android/static/65.js +0 -2
- package/dist-android/static/65.js.map +0 -1
- package/dist-android/static/66.js +0 -2
- package/dist-android/static/66.js.map +0 -1
- package/dist-android/static/67.js +0 -2
- package/dist-android/static/67.js.map +0 -1
- package/dist-android/static/68.js +0 -2
- package/dist-android/static/68.js.map +0 -1
- package/dist-android/static/69.js +0 -2
- package/dist-android/static/69.js.map +0 -1
- package/dist-android/static/7.js +0 -6
- package/dist-android/static/7.js.map +0 -1
- package/dist-android/static/70.js +0 -2
- package/dist-android/static/70.js.map +0 -1
- package/dist-android/static/71.js +0 -2
- package/dist-android/static/71.js.map +0 -1
- package/dist-android/static/72.js +0 -2
- package/dist-android/static/72.js.map +0 -1
- package/dist-android/static/73.js +0 -2
- package/dist-android/static/73.js.map +0 -1
- package/dist-android/static/74.js +0 -2
- package/dist-android/static/74.js.map +0 -1
- package/dist-android/static/75.js +0 -2
- package/dist-android/static/75.js.map +0 -1
- package/dist-android/static/76.js +0 -2
- package/dist-android/static/76.js.map +0 -1
- package/dist-android/static/77.js +0 -2
- package/dist-android/static/77.js.map +0 -1
- package/dist-android/static/78.js +0 -2
- package/dist-android/static/78.js.map +0 -1
- package/dist-android/static/79.js +0 -2
- package/dist-android/static/79.js.map +0 -1
- package/dist-android/static/8.js +0 -2
- package/dist-android/static/8.js.map +0 -1
- package/dist-android/static/80.js +0 -2
- package/dist-android/static/80.js.map +0 -1
- package/dist-android/static/81.js +0 -2
- package/dist-android/static/81.js.map +0 -1
- package/dist-android/static/82.js +0 -2
- package/dist-android/static/82.js.map +0 -1
- package/dist-android/static/83.js +0 -2
- package/dist-android/static/83.js.map +0 -1
- package/dist-android/static/84.js +0 -2
- package/dist-android/static/84.js.map +0 -1
- package/dist-android/static/85.js +0 -2
- package/dist-android/static/85.js.map +0 -1
- package/dist-android/static/86.js +0 -2
- package/dist-android/static/86.js.map +0 -1
- package/dist-android/static/87.js +0 -2
- package/dist-android/static/87.js.map +0 -1
- package/dist-android/static/88.js +0 -2
- package/dist-android/static/88.js.map +0 -1
- package/dist-android/static/89.js +0 -2
- package/dist-android/static/89.js.map +0 -1
- package/dist-android/static/9.js +0 -3
- package/dist-android/static/9.js.map +0 -1
- package/dist-android/static/90.js +0 -2
- package/dist-android/static/90.js.map +0 -1
- package/dist-android/static/91.js +0 -2
- package/dist-android/static/91.js.map +0 -1
- package/dist-android/static/92.js +0 -2
- package/dist-android/static/92.js.map +0 -1
- package/dist-android/static/93.js +0 -2
- package/dist-android/static/93.js.map +0 -1
- package/dist-android/static/94.js +0 -2
- package/dist-android/static/94.js.map +0 -1
- package/dist-android/static/95.js +0 -2
- package/dist-android/static/95.js.map +0 -1
- package/dist-android/static/96.js +0 -2
- package/dist-android/static/96.js.map +0 -1
- package/dist-android/static/97.js +0 -2
- package/dist-android/static/97.js.map +0 -1
- package/dist-android/static/98.js +0 -2
- package/dist-android/static/98.js.map +0 -1
- package/dist-android/static/99.js +0 -2
- package/dist-android/static/99.js.map +0 -1
- package/dist-android/static/app.css +0 -2
- package/dist-android/static/app.css.map +0 -1
- package/dist-android/static/app.js +0 -80
- package/dist-android/static/app.js.map +0 -1
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/config.json +0 -7
- package/dist-android/static/denglu.png +0 -0
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/jingyin.jpg +0 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- package/dist-android/static/newmainbg.jpg +0 -0
- package/dist-android/static/psicon.png +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/workflow_apply.json +0 -766
- package/dist-android/static/xinxi.png +0 -0
- package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/257/274/350/210/252/347/253/226/345/261/2173.png +0 -0
- package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
- package/src/components/app_apply/Acceptance.vue +0 -298
- package/src/components/app_apply/ApplyApp.vue +0 -91
- package/src/components/app_apply/ApplyDownList.vue +0 -166
- package/src/components/app_apply/ApplyInfo.vue +0 -56
- package/src/components/app_apply/ApplyListUpload.vue +0 -258
- package/src/components/app_apply/ApplyToDoList.vue +0 -165
- package/src/components/app_apply/ApplyUserInfo.vue +0 -56
- package/src/components/app_apply/FieldExploration.vue +0 -267
- package/src/components/app_apply/PlaceControler.vue +0 -258
- package/src/components/app_apply/ServiceControl.vue +0 -267
- package/src/components/app_apply/ServiceView.vue +0 -355
- package/src/components/app_apply/ToolsPage.vue +0 -51
- package/src/components/app_apply/Ventilation.vue +0 -199
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
- package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
- package/src/components/product/Function/functions/StopInstall.vue +0 -106
- package/src/components/product/Process/Processes/printCharge.vue +0 -126
- package/src/components/product/Process/ShowBackReason.vue +0 -32
- package/src/components/product/ReportForm/GasIgnitionSummary.vue +0 -352
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<data-grid :model="onetomany" class="list_area table_sy">
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th style="white-space: nowrap;">序号</th>
|
|
7
|
+
<th v-for="field in $parent.$parent.onetomany.fields" v-if="!field.displayPosition || field.displayPosition === 'list'">
|
|
8
|
+
<nobr>{{field.label}}</nobr>
|
|
9
|
+
</th>
|
|
10
|
+
<th v-if="!$parent.$parent.onetomany.hiddenOperate">
|
|
11
|
+
<button :style="$parent.$parent.onetomany.add.style"
|
|
12
|
+
:class="$parent.$parent.onetomany.add.class ? $parent.$parent.onetomany.add.class + ' button_spacing' : 'button_new button_spacing'"
|
|
13
|
+
v-if="!$parent.$parent.onetomany.add.hidden"
|
|
14
|
+
@click.prevent="$parent.$parent.openAdd()" >
|
|
15
|
+
{{ $parent.$parent.onetomany.add.text || '添加' }}
|
|
16
|
+
</button>
|
|
17
|
+
<button :style="$parent.$parent.onetomany.import.style"
|
|
18
|
+
:class="$parent.$parent.onetomany.import.class ? $parent.$parent.onetomany.import.class + ' button_spacing' : 'button_export button_spacing'"
|
|
19
|
+
v-if="!$parent.$parent.onetomany.import.hidden"
|
|
20
|
+
@click.prevent="$parent.$parent.showFile = !$parent.$parent.showFile" >
|
|
21
|
+
{{ $parent.$parent.onetomany.import.text || '导入' }}
|
|
22
|
+
</button>
|
|
23
|
+
<a type="button" style="text-decoration: none"
|
|
24
|
+
class="button_export button_spacing"
|
|
25
|
+
v-if="$parent.$parent.onetomany.import.templateUrl"
|
|
26
|
+
:href="$parent.$parent.onetomany.import.templateUrl" download>模板下载</a>
|
|
27
|
+
<export-excel
|
|
28
|
+
v-if="!$parent.$parent.onetomany.export.hidden"
|
|
29
|
+
:data="$parent.$parent.getCondition"
|
|
30
|
+
:field="$parent.$parent.getField"
|
|
31
|
+
sqlurl="rs/logic/applyExportfile"
|
|
32
|
+
:sql-name="$parent.$parent.onetomany.export.sqlName || 'applySingleTable'"
|
|
33
|
+
:template-name="$parent.$parent.onetomany.export.templateName || '导出明细'"
|
|
34
|
+
:btn-name="$parent.$parent.onetomany.export.butName || '导出'"
|
|
35
|
+
:choose-col="true"></export-excel>
|
|
36
|
+
</th>
|
|
37
|
+
</tr>
|
|
38
|
+
</template>
|
|
39
|
+
<template partial='body'>
|
|
40
|
+
<tr>
|
|
41
|
+
<td style="text-align: center">
|
|
42
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
43
|
+
</td>
|
|
44
|
+
<td class="text-center" style="text-align: center" v-for="key in $parent.$parent.onetomany.fields" v-if="!key.displayPosition || key.displayPosition === 'list'">
|
|
45
|
+
{{row[key.field]}}
|
|
46
|
+
</td>
|
|
47
|
+
<td style="text-align: center" v-if="!$parent.$parent.onetomany.hiddenOperate">
|
|
48
|
+
<button :style="$parent.$parent.onetomany.update.style"
|
|
49
|
+
:class="$parent.$parent.onetomany.update.class ? $parent.$parent.onetomany.update.class + ' button_spacing' : 'button_search button_spacing'"
|
|
50
|
+
v-if="!$parent.$parent.onetomany.update.hidden"
|
|
51
|
+
@click.prevent="$parent.$parent.openUpdate($index)" >
|
|
52
|
+
{{ $parent.$parent.onetomany.update.text || '修改' }}
|
|
53
|
+
</button>
|
|
54
|
+
<button :style="$parent.$parent.onetomany.delete.style"
|
|
55
|
+
:class="$parent.$parent.onetomany.delete.class ? $parent.$parent.onetomany.delete.class + ' button_spacing' : 'button_delete button_spacing'"
|
|
56
|
+
v-if="!$parent.$parent.onetomany.delete.hidden"
|
|
57
|
+
@click.prevent="$parent.$parent.openDelete($index)" >
|
|
58
|
+
{{ $parent.$parent.onetomany.delete.text || '删除' }}
|
|
59
|
+
</button>
|
|
60
|
+
</td>
|
|
61
|
+
</tr>
|
|
62
|
+
</template>
|
|
63
|
+
</data-grid>
|
|
64
|
+
|
|
65
|
+
<!-- onetomany模态框 -->
|
|
66
|
+
<modal v-if="showModal" :show.sync="showModal" backdrop="false" large>
|
|
67
|
+
<header slot="modal-header" class="modal-header">
|
|
68
|
+
<button type="button" class="close" @click="closeModal()"><span>×</span></button>
|
|
69
|
+
<span class="modal-title"><font
|
|
70
|
+
size="3">{{modelTitle}}</font></span>
|
|
71
|
+
</header>
|
|
72
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
73
|
+
<div class="form-group" style="padding: 0 150px">
|
|
74
|
+
<div v-for="(index,item) in onetomany.fields">
|
|
75
|
+
<div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group' : 'form-group']"
|
|
76
|
+
v-if="(item.type==='input' || item.type==='number'||item.type === 'tel'||item.type === 'email') && !item.hidden && (item.device === 'pc' || !item.device)">
|
|
77
|
+
<label :style="item.label_style ? item.label_style : ''"
|
|
78
|
+
:class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label col-sm-6'">{{item.label}}</label>
|
|
79
|
+
<div :style="item.value_style ? item.value_style : ''"
|
|
80
|
+
:class="item.value_bootstraped ? item.value_bootstraped : 'col-sm-9'">
|
|
81
|
+
<input class="form-control input_view"
|
|
82
|
+
:placeholder="item.placeholder"
|
|
83
|
+
:type="item.type"
|
|
84
|
+
v-model="item.value"
|
|
85
|
+
:value="item.value"
|
|
86
|
+
:readonly="item.readonly"
|
|
87
|
+
:disabled="item.disabled"
|
|
88
|
+
@change="onchange(index)"
|
|
89
|
+
@blur="onblur(index)"
|
|
90
|
+
@input="oninput(index)"
|
|
91
|
+
/>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
|
|
95
|
+
<!--时间datepicker-->
|
|
96
|
+
<div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group':'form-group']"
|
|
97
|
+
v-if="item.type==='datepicker' && !item.hidden && (item.device === 'pc' || !item.device)">
|
|
98
|
+
<label :style="item.label_style ? item.label_style : ''"
|
|
99
|
+
:class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label col-sm-6'">{{item.label}}</label>
|
|
100
|
+
<div :style="item.value_style ? item.value_style : ''"
|
|
101
|
+
:class="item.value_bootstraped ? item.value_bootstraped : 'col-sm-9'">
|
|
102
|
+
<datepicker
|
|
103
|
+
:placeholder="item.placeholder"
|
|
104
|
+
:value.sync="item.value"
|
|
105
|
+
v-model="item.value"
|
|
106
|
+
:readonly="item.readonly"
|
|
107
|
+
:disabled="item.disabled"
|
|
108
|
+
:format="item.format ? item.format : 'yyyy-MM-dd'"
|
|
109
|
+
:show-reset-button="true"
|
|
110
|
+
@change="onchange(index)"
|
|
111
|
+
@blur="onblur(index)"
|
|
112
|
+
></datepicker>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<!--select-->
|
|
117
|
+
<div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group':'form-group']"
|
|
118
|
+
v-if="item.type==='select' && !item.hidden && (item.device === 'pc' || !item.device)">
|
|
119
|
+
<label :style="item.label_style ? item.label_style : ''"
|
|
120
|
+
:class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label col-sm-6'">{{item.label}}</label>
|
|
121
|
+
<div :style="item.value_style ? item.value_style : ''"
|
|
122
|
+
:class="item.value_bootstraped ? item.value_bootstraped : 'col-sm-9'">
|
|
123
|
+
<input-select
|
|
124
|
+
class="select select_list"
|
|
125
|
+
:value.sync="item.value"
|
|
126
|
+
v-model="item.value"
|
|
127
|
+
:options='item.options'
|
|
128
|
+
:readonly="item.readonly"
|
|
129
|
+
:disable="item.disabled"
|
|
130
|
+
:valueSingle="true"
|
|
131
|
+
@blur="onblur(index)"
|
|
132
|
+
@change="onchange(index)"
|
|
133
|
+
></input-select>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
|
|
137
|
+
<!--textarea-->
|
|
138
|
+
<div :style="item.style ? item.style : ''" :class="[item.required && !(item.value) ? 'has-error' : '', item.bootstraped ? item.bootstraped + ' form-group':'form-group']"
|
|
139
|
+
v-if="item.type==='textarea' && !item.hidden && (item.device === 'pc' || !item.device)">
|
|
140
|
+
<label :style="item.label_style ? item.label_style : ''"
|
|
141
|
+
:class="item.label_bootstraped ? item.label_bootstraped + ' control-label-justify control-label' : 'control-label-justify control-label col-sm-6'">{{item.label}}</label>
|
|
142
|
+
<div :style="item.value_style ? item.value_style : ''"
|
|
143
|
+
:class="item.value_bootstraped ? item.value_bootstraped : 'col-sm-9'">
|
|
144
|
+
<textarea
|
|
145
|
+
class="form-control input_view"
|
|
146
|
+
style="width: 100%;height: 100%"
|
|
147
|
+
v-model="item.value"
|
|
148
|
+
:value="item.value"
|
|
149
|
+
:rows="item.rows"
|
|
150
|
+
:readonly="item.readonly"
|
|
151
|
+
:disabled="item.disabled"
|
|
152
|
+
@change="onchange(index)"
|
|
153
|
+
@blur="onblur(index)"
|
|
154
|
+
@input="oninput(index)"
|
|
155
|
+
></textarea>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
</article>
|
|
161
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
162
|
+
<button :class="disableButton ? 'btn btn-default':'btn btn-primary'"
|
|
163
|
+
:disabled="disableButton" type="button" @click="confirmModal()">
|
|
164
|
+
确认
|
|
165
|
+
</button>
|
|
166
|
+
</footer>
|
|
167
|
+
</modal>
|
|
168
|
+
|
|
169
|
+
<modal v-if="showFile" :show.sync="showFile" v-ref:modal :backdrop="false" title="选择文件">
|
|
170
|
+
<header slot="modal-header" class="modal-header">
|
|
171
|
+
<button type="button" class="close" @click="closeFile()"><span>×</span></button>
|
|
172
|
+
<h4 class="modal-title">选择文件</h4>
|
|
173
|
+
</header>
|
|
174
|
+
<article slot="modal-body" class="modal-body">
|
|
175
|
+
<div class="form-group">
|
|
176
|
+
<file-upload class="my-file-uploader" action="rs/file/uploadFile" tagname="确定" v-ref:file></file-upload>
|
|
177
|
+
</div>
|
|
178
|
+
</article>
|
|
179
|
+
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
180
|
+
</modal>
|
|
181
|
+
</div>
|
|
182
|
+
</template>
|
|
183
|
+
|
|
184
|
+
<script>
|
|
185
|
+
import {HttpResetClass} from 'vue-client'
|
|
186
|
+
import Vue from 'vue'
|
|
187
|
+
export default {
|
|
188
|
+
title: 'onetomany',
|
|
189
|
+
props: {
|
|
190
|
+
selectdata: {
|
|
191
|
+
type: Object
|
|
192
|
+
},
|
|
193
|
+
onetomany: {
|
|
194
|
+
type: Object
|
|
195
|
+
},
|
|
196
|
+
index: {
|
|
197
|
+
type: Number
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
data () {
|
|
201
|
+
return {
|
|
202
|
+
disableButton: false,
|
|
203
|
+
showModal: false,
|
|
204
|
+
modelTitle: null,
|
|
205
|
+
rowIndex: null,
|
|
206
|
+
showFile: false
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
ready () {
|
|
210
|
+
},
|
|
211
|
+
methods: {
|
|
212
|
+
confirmModal () {
|
|
213
|
+
if (this.modelTitle === '新增') {
|
|
214
|
+
if (this.onetomany.add.event) {
|
|
215
|
+
this.$dispatch(this.onetomany.add.event, this.index)
|
|
216
|
+
} else {
|
|
217
|
+
this.$dispatch('onetomanyadd', this.index)
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
if (this.modelTitle === '修改') {
|
|
221
|
+
if (this.onetomany.update.event) {
|
|
222
|
+
this.$dispatch(this.onetomany.update.event, this.index, this.rowIndex)
|
|
223
|
+
} else {
|
|
224
|
+
this.$dispatch('onetomanyupdate', this.index, this.rowIndex)
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
this.closeModal()
|
|
229
|
+
},
|
|
230
|
+
onchange (fieldIndex) {
|
|
231
|
+
this.disableModalButton()
|
|
232
|
+
if (this.onetomany.fields[fieldIndex].onchange) {
|
|
233
|
+
this.$dispatch(this.onetomany.fields[fieldIndex].onchange, this.index, fieldIndex)
|
|
234
|
+
} else {
|
|
235
|
+
this.$dispatch('onchangeModal', this.index, fieldIndex)
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
onblur (fieldIndex) {
|
|
239
|
+
this.disableModalButton()
|
|
240
|
+
if (this.onetomany.fields[fieldIndex].onblur) {
|
|
241
|
+
this.$dispatch(this.onetomany.fields[fieldIndex].onblur, this.index, fieldIndex)
|
|
242
|
+
} else {
|
|
243
|
+
this.$dispatch('onblurModal', this.index, fieldIndex)
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
oninput (fieldIndex) {
|
|
247
|
+
this.disableModalButton()
|
|
248
|
+
if (this.onetomany.fields[fieldIndex].oninput) {
|
|
249
|
+
this.$dispatch(this.onetomany.fields[fieldIndex].oninput, this.index, fieldIndex)
|
|
250
|
+
} else {
|
|
251
|
+
this.$dispatch('oninputModal', this.index, fieldIndex)
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
openDelete (rowIndex) {
|
|
255
|
+
this.$showMessage(this.onetomany.delete.message ? this.onetomany.delete.message : '您确定要删除这条记录吗?', ['confirm']).then((res) => {
|
|
256
|
+
if (res === 'confirm') {
|
|
257
|
+
if (this.onetomany.delete.event) {
|
|
258
|
+
this.$dispatch(this.onetomany.delete.event, this.index, rowIndex)
|
|
259
|
+
} else {
|
|
260
|
+
this.$dispatch('onetomanydelete', this.index, rowIndex)
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
})
|
|
264
|
+
},
|
|
265
|
+
// 修改
|
|
266
|
+
openUpdate (rowIndex) {
|
|
267
|
+
let row = this.onetomany.rows[rowIndex]
|
|
268
|
+
for (const item of this.onetomany.fields) {
|
|
269
|
+
item.value = row[item.field]
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
this.disableModalButton()
|
|
273
|
+
|
|
274
|
+
this.modelTitle = '修改'
|
|
275
|
+
this.rowIndex = rowIndex
|
|
276
|
+
|
|
277
|
+
if (this.onetomany.update.openEvent) {
|
|
278
|
+
this.$dispatch(this.onetomany.update.openEvent, this.index, this.rowIndex)
|
|
279
|
+
}
|
|
280
|
+
this.$dispatch('openUpdateModel', this.index, this.rowIndex)
|
|
281
|
+
|
|
282
|
+
this.showModal = true
|
|
283
|
+
},
|
|
284
|
+
// 添加
|
|
285
|
+
openAdd () {
|
|
286
|
+
this.disableModalButton()
|
|
287
|
+
this.modelTitle = '新增'
|
|
288
|
+
|
|
289
|
+
if (this.onetomany.add.openEvent) {
|
|
290
|
+
this.$dispatch(this.onetomany.add.openEvent, this.index)
|
|
291
|
+
}
|
|
292
|
+
this.$dispatch('openAddModel', this.index)
|
|
293
|
+
|
|
294
|
+
this.showModal = true
|
|
295
|
+
},
|
|
296
|
+
closeModal () {
|
|
297
|
+
this.showModal = false
|
|
298
|
+
this.disableButton = false
|
|
299
|
+
this.modelTitle = null
|
|
300
|
+
this.rowIndex = null
|
|
301
|
+
|
|
302
|
+
for (const item of this.onetomany.fields) {
|
|
303
|
+
item.value = null
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
// 是否禁用按钮
|
|
307
|
+
disableModalButton () {
|
|
308
|
+
let flag = false
|
|
309
|
+
|
|
310
|
+
for (const field of this.onetomany.fields) {
|
|
311
|
+
if (field.required && !field.value && !field.hidden && field.value !== 0) {
|
|
312
|
+
flag = true
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
this.disableButton = flag
|
|
317
|
+
},
|
|
318
|
+
// 关闭文件上传对话框
|
|
319
|
+
closeFile () {
|
|
320
|
+
this.showFile = false
|
|
321
|
+
// 将选的文件清空
|
|
322
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
computed: {
|
|
326
|
+
getField () {
|
|
327
|
+
if (this.onetomany.export.fields) {
|
|
328
|
+
return this.onetomany.export.fields
|
|
329
|
+
}
|
|
330
|
+
let field = {}
|
|
331
|
+
for (const item of this.onetomany.fields) {
|
|
332
|
+
if (item.displayPosition === 'form' || !item.displayPosition) {
|
|
333
|
+
field[item.field] = item.label
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
return field
|
|
337
|
+
},
|
|
338
|
+
getCondition () {
|
|
339
|
+
if (this.onetomany.export.condition) {
|
|
340
|
+
return this.onetomany.export.condition
|
|
341
|
+
}
|
|
342
|
+
return {
|
|
343
|
+
tablename: this.onetomany.tables[0],
|
|
344
|
+
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
events: {
|
|
349
|
+
async 'onFileUpload'(file, result) {
|
|
350
|
+
if (this.onetomany.import.event) {
|
|
351
|
+
this.$dispatch(this.onetomany.import.event, this.index, this.onetomany.tables[0], this.onetomany.import.configName, result.f_downloadpath)
|
|
352
|
+
} else {
|
|
353
|
+
this.$dispatch('importEvent', this.index, this.onetomany.tables[0], this.onetomany.import.configName, result.f_downloadpath)
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
</script>
|
|
359
|
+
|
|
360
|
+
<style scoped>
|
|
361
|
+
.control-label-justify {
|
|
362
|
+
display: inline-block;
|
|
363
|
+
vertical-align: top;
|
|
364
|
+
width: 110px;
|
|
365
|
+
text-align: justify;
|
|
366
|
+
font-family: PingFang-SC-Bold;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.control-label-justify::after {
|
|
370
|
+
content: "";
|
|
371
|
+
display: inline-block;
|
|
372
|
+
width: 100%;
|
|
373
|
+
overflow: hidden;
|
|
374
|
+
height: 0;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
</style>
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
6
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="form-group col-sm-3">
|
|
9
|
+
<label class="font_normal_body">工程编号:</label>
|
|
10
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
|
|
11
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
12
|
+
condition="f_apply_num = '{}'">
|
|
13
|
+
</div>
|
|
14
|
+
<div class="form-group col-sm-3">
|
|
15
|
+
<label class="font_normal_body">用户名称:</label>
|
|
16
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='用户名称' v-model="model.f_user_name"
|
|
17
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
18
|
+
condition="f_user_name = '{}'">
|
|
19
|
+
</div>
|
|
20
|
+
<div class="form-group col-sm-3">
|
|
21
|
+
<label class="font_normal_body">电  话:</label>
|
|
22
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='电话' v-model="model.f_phone"
|
|
23
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
24
|
+
condition="f_phone = '{}'">
|
|
25
|
+
</div>
|
|
26
|
+
<div class="form-group col-sm-3 button-range">
|
|
27
|
+
<button class="button_export button_spacing" @click="$parent.$parent.batchPrint()">批量打印</button>
|
|
28
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
29
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
30
|
+
<div
|
|
31
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
32
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
33
|
+
class="button_spacing"
|
|
34
|
+
style="float: right">
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
39
|
+
<div class="form-group col-sm-3">
|
|
40
|
+
<label class="font_normal_body">地  址:</label>
|
|
41
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='地址' v-model="model.f_address"
|
|
42
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
43
|
+
condition="f_address like '%{}%'">
|
|
44
|
+
</div>
|
|
45
|
+
<div class="form-group col-sm-3">
|
|
46
|
+
<label class="font_normal_body">安装单位:</label>
|
|
47
|
+
<input type="text" style="width: 60%" class="input_search" placeholder='安装单位' v-model="model.f_construction_unit"
|
|
48
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
49
|
+
condition="f_construction_unit = '{}'">
|
|
50
|
+
</div>
|
|
51
|
+
<div class="form-group col-sm-3">
|
|
52
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
53
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
54
|
+
style="width: 60%!important;"
|
|
55
|
+
v-model="model.startDate"
|
|
56
|
+
:value.sync="model.startDate"
|
|
57
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
58
|
+
:show-reset-button="true"
|
|
59
|
+
condition="f_construction_date >= '{}'">
|
|
60
|
+
</datepicker>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="form-group col-sm-3">
|
|
63
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
64
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
65
|
+
style="width: 60%!important;"
|
|
66
|
+
v-model="model.endDate"
|
|
67
|
+
:value.sync="model.endDate"
|
|
68
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
69
|
+
:show-reset-button="true"
|
|
70
|
+
condition="f_construction_date <= '{}'">
|
|
71
|
+
</datepicker>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
</criteria>
|
|
76
|
+
<data-grid :model="model" optional partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
77
|
+
<template partial='head'>
|
|
78
|
+
<tr>
|
|
79
|
+
<th>序号</th>
|
|
80
|
+
<th>工程编号</th>
|
|
81
|
+
<th>用户名称</th>
|
|
82
|
+
<th>电话</th>
|
|
83
|
+
<th>地址</th>
|
|
84
|
+
<th>安装单位</th>
|
|
85
|
+
<th>安装时间</th>
|
|
86
|
+
</tr>
|
|
87
|
+
</template>
|
|
88
|
+
<template partial='body'>
|
|
89
|
+
<tr >
|
|
90
|
+
<td style="text-align: center;">
|
|
91
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
92
|
+
</td>
|
|
93
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
94
|
+
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
95
|
+
</td>
|
|
96
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
97
|
+
<nobr><font>{{row.f_user_name}}</font></nobr>
|
|
98
|
+
</td>
|
|
99
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
100
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
101
|
+
</td>
|
|
102
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
103
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
104
|
+
</td>
|
|
105
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
106
|
+
<nobr><font>{{row.f_construction_unit}}</font></nobr>
|
|
107
|
+
</td>
|
|
108
|
+
<td style="text-align: center;" @click="$parent.$parent.$parent.click(row)">
|
|
109
|
+
<nobr><font>{{row.f_construction_date}}</font></nobr>
|
|
110
|
+
</td>
|
|
111
|
+
</tr>
|
|
112
|
+
</template>
|
|
113
|
+
</data-grid>
|
|
114
|
+
</criteria-paged>
|
|
115
|
+
|
|
116
|
+
<modal :show.sync="showPrint" title="打印预览" v-ref:modal :backdrop="false">
|
|
117
|
+
<header slot="modal-header" class="modal-header">
|
|
118
|
+
<button type="button" class="close" @click="colseModal()"><span>×</span></button>
|
|
119
|
+
<h4 class="modal-title">打印预览</h4>
|
|
120
|
+
</header>
|
|
121
|
+
<article slot="modal-body" class="modal-body">
|
|
122
|
+
<print-build-order :selectdata="selectdata" :type="type" v-ref:print></print-build-order>
|
|
123
|
+
</article>
|
|
124
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
125
|
+
<button type="button" class="btn btn-primary" @click="print()">打印</button>
|
|
126
|
+
</footer>
|
|
127
|
+
</modal>
|
|
128
|
+
|
|
129
|
+
<modal :show.sync="showProgress" v-ref:progress :backdrop="false">
|
|
130
|
+
<header slot="modal-header" class="modal-header">
|
|
131
|
+
<h4 class="modal-title">发送打印指令中,请耐心等待...</h4>
|
|
132
|
+
</header>
|
|
133
|
+
<article slot="modal-body" class="modal-body">
|
|
134
|
+
<div class="progress" style="margin: 20px">
|
|
135
|
+
<div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent}">
|
|
136
|
+
{{ percent }}
|
|
137
|
+
</div>
|
|
138
|
+
</div>
|
|
139
|
+
</article>
|
|
140
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
141
|
+
</footer>
|
|
142
|
+
</modal>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
</template>
|
|
146
|
+
|
|
147
|
+
<script>
|
|
148
|
+
import {PagedList} from 'vue-client'
|
|
149
|
+
import {HttpResetClass} from 'vue-client'
|
|
150
|
+
export default {
|
|
151
|
+
title: '施工通知单',
|
|
152
|
+
data () {
|
|
153
|
+
return {
|
|
154
|
+
model: new PagedList('rs/sql/buildOrderList', 30, null),
|
|
155
|
+
criteriaShow: false,
|
|
156
|
+
selectdata: null,
|
|
157
|
+
showPrint: false,
|
|
158
|
+
showProgress: false,
|
|
159
|
+
percent: 0,
|
|
160
|
+
type: 'PREVIEW'
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
ready () {
|
|
164
|
+
// 调用查询
|
|
165
|
+
this.search()
|
|
166
|
+
},
|
|
167
|
+
methods: {
|
|
168
|
+
async batchPrint () {
|
|
169
|
+
this.type = 'PRINT'
|
|
170
|
+
let selectPrint = this.$refs.cp.$refs.grid.getRowData()
|
|
171
|
+
if (selectPrint.length > 0) {
|
|
172
|
+
let res = await this.$showMessage(`当前数据条数: ${selectPrint.length}, 条数过大时打印时间可能会过长, 是否确认打印?`)
|
|
173
|
+
if (res == 'confirm') {
|
|
174
|
+
this.showProgress = true
|
|
175
|
+
for (let i = 0; i < selectPrint.length; i++) {
|
|
176
|
+
this.selectdata = selectPrint[i]
|
|
177
|
+
this.print()
|
|
178
|
+
this.percent = this.getPercent(i, selectPrint.length)
|
|
179
|
+
}
|
|
180
|
+
this.showProgress = false
|
|
181
|
+
this.percent = 0
|
|
182
|
+
this.$refs.cp.$refs.grid.selectInit()
|
|
183
|
+
}
|
|
184
|
+
} else {
|
|
185
|
+
this.$showAlert('请选择要打印的单子', 'warning', 3000)
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
getPercent (num, total){
|
|
189
|
+
num = parseFloat(num);
|
|
190
|
+
total = parseFloat(total);
|
|
191
|
+
if (isNaN(num) || isNaN(total)) {
|
|
192
|
+
return "-";
|
|
193
|
+
}
|
|
194
|
+
return total <= 0? "0%" : Math.round((num / total) * 10000) / 100.0 + "%";
|
|
195
|
+
},
|
|
196
|
+
print () {
|
|
197
|
+
this.$refs.print.print()
|
|
198
|
+
},
|
|
199
|
+
colseModal () {
|
|
200
|
+
this.showPrint = false
|
|
201
|
+
this.selectdata = null
|
|
202
|
+
},
|
|
203
|
+
async click (row) {
|
|
204
|
+
this.type = 'PREVIEW'
|
|
205
|
+
|
|
206
|
+
this.selectdata = row
|
|
207
|
+
|
|
208
|
+
this.showPrint = true
|
|
209
|
+
},
|
|
210
|
+
clear () {
|
|
211
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
212
|
+
this.$refs.cp.$refs.cri.model[key] = ''
|
|
213
|
+
})
|
|
214
|
+
},
|
|
215
|
+
searchCondition (args) {
|
|
216
|
+
this.model.search(args.condition, args.model)
|
|
217
|
+
},
|
|
218
|
+
// 查询
|
|
219
|
+
search () {
|
|
220
|
+
this.$refs.cp.$refs.cri.search()
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
computed: {
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
</script>
|
|
227
|
+
|
|
228
|
+
<style scoped>
|
|
229
|
+
</style>
|