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,29 @@
|
|
|
1
|
+
//
|
|
2
|
+
// Wells
|
|
3
|
+
// --------------------------------------------------
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
// Base class
|
|
7
|
+
.well {
|
|
8
|
+
min-height: 20px;
|
|
9
|
+
padding: 19px;
|
|
10
|
+
margin-bottom: 20px;
|
|
11
|
+
background-color: @well-bg;
|
|
12
|
+
border: 1px solid @well-border;
|
|
13
|
+
border-radius: @border-radius-base;
|
|
14
|
+
.box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
|
|
15
|
+
blockquote {
|
|
16
|
+
border-color: #ddd;
|
|
17
|
+
border-color: rgba(0,0,0,.15);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Sizes
|
|
22
|
+
.well-lg {
|
|
23
|
+
padding: 24px;
|
|
24
|
+
border-radius: @border-radius-large;
|
|
25
|
+
}
|
|
26
|
+
.well-sm {
|
|
27
|
+
padding: 9px;
|
|
28
|
+
border-radius: @border-radius-small;
|
|
29
|
+
}
|
package/src/android.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import Vue from 'vue'
|
|
2
2
|
import AndroidApp from './AndroidApp'
|
|
3
3
|
import { all } from 'vue-client'
|
|
4
|
-
import apply from './apply'
|
|
5
4
|
import {systemphonegrid} from 'system-phone'
|
|
6
|
-
import
|
|
5
|
+
import {fadadaAndroid} from 'fadada-clients'
|
|
6
|
+
import applyAndroid from './applyAndroid'
|
|
7
7
|
|
|
8
8
|
all()
|
|
9
|
-
apply()
|
|
10
9
|
applyAndroid()
|
|
11
10
|
systemphonegrid()
|
|
12
|
-
|
|
11
|
+
fadadaAndroid()
|
|
12
|
+
|
|
13
|
+
require('./android-bootstrap/less/bootstrap.less')
|
|
14
|
+
require('./expandcssAndroid.less')
|
|
15
|
+
|
|
13
16
|
Vue.android = true
|
|
14
17
|
/* eslint-disable no-new */
|
|
15
18
|
new Vue({
|
package/src/apply.js
CHANGED
|
@@ -17,8 +17,9 @@ export default function () {
|
|
|
17
17
|
Vue.component('service-control', (resolve) => { require(['./components/product/Process/Service/ServiceControl'], resolve) })
|
|
18
18
|
// 公共业务显示(view层)页
|
|
19
19
|
Vue.component('service-view', (resolve) => { require(['./components/product/ServiceView'], resolve) })
|
|
20
|
+
Vue.component('onetomany', (resolve) => { require(['./components/product/Onetomany'], resolve) })
|
|
20
21
|
// 显示退回理由tab页
|
|
21
|
-
Vue.component('show-back-reason', (resolve) => { require(['./components/product/Process/ShowBackReason'], resolve) })
|
|
22
|
+
Vue.component('show-back-reason', (resolve) => { require(['./components/product/Process/Service/ShowBackReason'], resolve) })
|
|
22
23
|
|
|
23
24
|
/** 报建监控业务 **/
|
|
24
25
|
// 流程监控入口页
|
|
@@ -29,6 +30,7 @@ export default function () {
|
|
|
29
30
|
Vue.component('supervisory-service-control', (resolve) => { require(['./components/product/Supervisory/Service/SupervisoryServiceControl'], resolve) })
|
|
30
31
|
// 流程列表页
|
|
31
32
|
Vue.component('supervisory-chart', (resolve) => { require(['./components/product/Supervisory/SupervisoryhCart'], resolve) })
|
|
33
|
+
Vue.component('new-supervisory-chart', (resolve) => { require(['./components/product/Supervisory/NewSupervisoryhCart'], resolve) })
|
|
32
34
|
|
|
33
35
|
/** 报建功能业务 **/
|
|
34
36
|
// 报建功能业务总入口
|
|
@@ -37,17 +39,22 @@ export default function () {
|
|
|
37
39
|
Vue.component('installinfoselect', (resolve) => { require(['./components/product/Function/InstallInfoSelect'], resolve) })
|
|
38
40
|
// 报建菜单页面控制层
|
|
39
41
|
Vue.component('function-service-control', (resolve) => { require(['./components/product/Function/Service/FunctionServiceControl'], resolve) })
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
Vue.component('stop-apply-
|
|
44
|
-
// 撤销报建终止页
|
|
45
|
-
Vue.component('apply-record-cancel', (resolve) => { require(['./components/product/Function/functions/ApplyRecordCancel'], resolve) })
|
|
42
|
+
|
|
43
|
+
// 终止报建页面入口
|
|
44
|
+
Vue.component('stop-apply', (resolve) => { require(['./components/product/Stop/StopApply'], resolve) })
|
|
45
|
+
Vue.component('stop-apply-list', (resolve) => { require(['./components/product/Stop/StopApplyList'], resolve) })
|
|
46
46
|
|
|
47
47
|
/** 报建收费记录 **/
|
|
48
48
|
Vue.component('apply-charge-search', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeSearch'], resolve) })
|
|
49
49
|
Vue.component('apply-charge-list', (resolve) => { require(['./components/product/ApplyCharge/ApplyChargeList'], resolve) })
|
|
50
|
-
|
|
50
|
+
|
|
51
|
+
/** 打印施工通知单 **/
|
|
52
|
+
Vue.component('build-order-list', (resolve) => { require(['./components/product/Print/BuildOrder/buildOrderList'], resolve) })
|
|
53
|
+
Vue.component('print-build-order', (resolve) => { require(['./components/product/Print/BuildOrder/printBuildOrder'], resolve) })
|
|
54
|
+
|
|
55
|
+
/** 点火派单 **/
|
|
56
|
+
Vue.component('ignition-dispatch', (resolve) => { require(['./components/product/Ignition/IgnitionDispatch'], resolve) })
|
|
57
|
+
Vue.component('ignition-record', (resolve) => { require(['./components/product/Ignition/IgnitionRecord'], resolve) })
|
|
51
58
|
|
|
52
59
|
// 地址管理
|
|
53
60
|
Vue.component('apply-address-userinfo-management', (resolve) => { require(['./components/product/Process/Processes/addressAndUserinfoManagement'], resolve) })
|
|
@@ -55,15 +62,24 @@ export default function () {
|
|
|
55
62
|
Vue.component('installation-details', (resolve) => { require(['./components/product/Process/Processes/InstallationDetails'], resolve) })
|
|
56
63
|
// 收费管理
|
|
57
64
|
Vue.component('apply-charge-management', (resolve) => { require(['./components/product/Process/Processes/chargeManagement'], resolve) })
|
|
58
|
-
Vue.component('
|
|
65
|
+
Vue.component('exhibition-picture', (resolve) => { require(['./components/product/Process/Processes/ExhibitionPicture'], resolve) })
|
|
66
|
+
|
|
59
67
|
// 补充协议
|
|
60
68
|
Vue.component('supplemental-agreement', (resolve) => { require(['./components/product/Process/Processes/supplementalAgreement'], resolve) })
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
69
|
+
// 选择用户信息
|
|
70
|
+
Vue.component('select-userinfo', (resolve) => { require(['./components/product/Process/Processes/selectUserinfo'], resolve) })
|
|
71
|
+
// 选择报建项目
|
|
72
|
+
Vue.component('select-apply', (resolve) => { require(['./components/product/Process/Processes/selectApply'], resolve) })
|
|
73
|
+
// 设备管理
|
|
74
|
+
Vue.component('apply-devices-management', (resolve) => { require(['./components/product/Process/Processes/devicesManagement'], resolve) })
|
|
75
|
+
Vue.component('apply-map-com', (resolve) => { require(['./components/product/Process/Processes/ApplyMapCom'], resolve) })
|
|
65
76
|
/** VueUtils **/
|
|
66
|
-
Vue.component('back-page', (resolve) => { require(['./components/product/VueUtils/ToolsPage'], resolve) })
|
|
67
|
-
Vue.component('tree2', (resolve) => { require(['./components/product/VueUtils/Tree'], resolve) })
|
|
68
77
|
Vue.component('apply-upload', (resolve) => { require(['./components/product/VueUtils/ApplyUpload'], resolve) })
|
|
78
|
+
Vue.component('apply-high-meter', (resolve) => { require(['./components/product/VueUtils/HighMeter'], resolve) })
|
|
79
|
+
|
|
80
|
+
// 对外提供单页面
|
|
81
|
+
Vue.component('public-order-apply', (resolve) => { require(['./public/order/PublicOrderApply'], resolve) })
|
|
82
|
+
Vue.component('public-history-apply', (resolve) => { require(['./public/history/PublicHistoryApply'], resolve) })
|
|
83
|
+
Vue.component('history-apply-list', (resolve) => { require(['./public/history/HistoryApplyList'], resolve) })
|
|
84
|
+
Vue.component('public-supervisoryh-cart', (resolve) => { require(['./public/history/PublicSupervisoryhCart'], resolve) })
|
|
69
85
|
}
|
package/src/applyAndroid.js
CHANGED
|
@@ -1,39 +1,52 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import { all } from 'vue-client'
|
|
3
|
-
Vue.config.silent = true
|
|
4
|
-
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
5
|
-
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
6
|
-
/** ****************服务插件*********************/
|
|
7
|
-
|
|
8
|
-
export default function () {
|
|
9
|
-
Vue.use(ApplyGetSaleParam)
|
|
10
|
-
Vue.use(ApplyLoadParams)
|
|
11
|
-
/** ***************************报建模块*********************************/
|
|
12
|
-
//
|
|
13
|
-
Vue.component('
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
Vue.component('
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
Vue.component('
|
|
22
|
-
|
|
23
|
-
Vue.component('
|
|
24
|
-
|
|
25
|
-
Vue.component('
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
Vue.component('
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
Vue.component('
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
Vue.component('
|
|
39
|
-
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import { all } from 'vue-client'
|
|
3
|
+
Vue.config.silent = true
|
|
4
|
+
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
5
|
+
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
6
|
+
/** ****************服务插件*********************/
|
|
7
|
+
|
|
8
|
+
export default function () {
|
|
9
|
+
Vue.use(ApplyGetSaleParam)
|
|
10
|
+
Vue.use(ApplyLoadParams)
|
|
11
|
+
/** ***************************报建模块*********************************/
|
|
12
|
+
// 报建待办 总入口
|
|
13
|
+
Vue.component('app-exploration-user', (resolve) => { require(['./components/android/Process/AppExplorationUser'], resolve) })
|
|
14
|
+
Vue.component('app-service-control', (resolve) => { require(['./components/android/Process/AppServiceControl'], resolve) })
|
|
15
|
+
|
|
16
|
+
// 流程监控
|
|
17
|
+
Vue.component('app-process-supervisory', (resolve) => { require(['./components/android/Supervisory/AppProcessSupervisory'], resolve) })
|
|
18
|
+
Vue.component('app-supervisory-cart', (resolve) => { require(['./components/android/Supervisory/AppSupervisoryCart'], resolve) })
|
|
19
|
+
|
|
20
|
+
// 通用组件
|
|
21
|
+
Vue.component('app-take-pic', (resolve) => { require(['./components/android/AppTakePic'], resolve) })
|
|
22
|
+
Vue.component('app-service-view', (resolve) => { require(['./components/android/AppServiceView'], resolve) })
|
|
23
|
+
Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
|
|
24
|
+
Vue.component('task-graph', (resolve) => { require(['./components/android/TaskGraph'], resolve) })
|
|
25
|
+
Vue.component('app-sign', (resolve) => { require(['./components/android/AppSign'], resolve) })
|
|
26
|
+
Vue.component('app-upload', (resolve) => { require(['./components/android/AppUpload'], resolve) })
|
|
27
|
+
|
|
28
|
+
// 地图任务
|
|
29
|
+
Vue.component('survey-tsak', (resolve) => { require(['./components/android/Task/Survey/SurveyTsak'], resolve) })
|
|
30
|
+
Vue.component('build-tsak', (resolve) => { require(['./components/android/Task/Build/BuildTsak'], resolve) })
|
|
31
|
+
|
|
32
|
+
Vue.component('app-installation-details', (resolve) => { require(['./components/android/Process/Processes/AppInstallationDetails'], resolve) })
|
|
33
|
+
Vue.component('app-devices-management', (resolve) => { require(['./components/android/Process/Processes/AppDevicesManagement'], resolve) })
|
|
34
|
+
Vue.component('survey-user-sign', (resolve) => { require(['./components/android/Process/Processes/SurveyUserSign'], resolve) })
|
|
35
|
+
|
|
36
|
+
// 通气点火
|
|
37
|
+
Vue.component('ventilation-ignition', (resolve) => { require(['./components/android/Ignition/VentilationIgnition'], resolve) })
|
|
38
|
+
Vue.component('ventilation-ignition-handle', (resolve) => { require(['./components/android/Ignition/VentilationIgnitionHandle'], resolve) })
|
|
39
|
+
|
|
40
|
+
// 签字
|
|
41
|
+
Vue.component('app-sign-task', (resolve) => { require(['./components/android/Sign/AppSignTask'], resolve) })
|
|
42
|
+
Vue.component('sign-process', (resolve) => { require(['./components/android/Sign/SignProcess'], resolve) })
|
|
43
|
+
|
|
44
|
+
// 出具设计图纸
|
|
45
|
+
Vue.component('design-rawings', (resolve) => { require(['./components/android/newPackage/designDrawings'], resolve) })
|
|
46
|
+
// 工程报价
|
|
47
|
+
Vue.component('project-Price', (resolve) => { require(['./components/android/newPackage/projectPrice'], resolve) })
|
|
48
|
+
// 客服管理
|
|
49
|
+
Vue.component('customer-manager', (resolve) => { require(['./components/android/newPackage/customerServiceManager'], resolve) })
|
|
50
|
+
// 详细数据
|
|
51
|
+
Vue.component('detailed-data', (resolve) => { require(['./components/android/newPackage/detailedData'], resolve) })
|
|
52
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="col-sm-12 col-xs-12 form-group app-btn">
|
|
4
|
+
<button
|
|
5
|
+
:class="onetomany.add.class || 'btn btn-info'"
|
|
6
|
+
@click.prevent="openAdd()"
|
|
7
|
+
v-if="!onetomany.add.hidden"
|
|
8
|
+
:style="onetomany.add.style || ''">
|
|
9
|
+
{{ onetomany.add.text || '添加'}}
|
|
10
|
+
</button>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="col-sm-12 col-xs-12">
|
|
13
|
+
<list :model="onetomany" partial='list'>
|
|
14
|
+
<div partial class="auto app-text panel">
|
|
15
|
+
<div class="panel-body panel-self">
|
|
16
|
+
<div class="row" v-for="field in $parent.$parent.onetomany.fields" v-if="!field.displayPosition || field.displayPosition === 'list'">
|
|
17
|
+
<p class="col-xs-3 text-left font label-justify"><b>{{ field.label }}</b></p>
|
|
18
|
+
<p class="col-xs-8 col-xs-offset-1 text-left input-font">{{ row[field.field] }}</p>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="row text-right" v-if="!$parent.$parent.onetomany.hiddenOperate">
|
|
21
|
+
<button
|
|
22
|
+
:class="$parent.$parent.onetomany.update.style || 'btn btn-warning'"
|
|
23
|
+
@click.prevent="$parent.$parent.openUpdate($index)"
|
|
24
|
+
v-if="!$parent.$parent.onetomany.update.hidden"
|
|
25
|
+
:style="$parent.$parent.onetomany.update.style || ''">
|
|
26
|
+
{{ $parent.$parent.onetomany.update.text || '修改'}}
|
|
27
|
+
</button>
|
|
28
|
+
<button
|
|
29
|
+
:class="$parent.$parent.onetomany.delete.style || 'btn btn-danger'"
|
|
30
|
+
@click.prevent="$parent.$parent.openDelete($index)"
|
|
31
|
+
v-if="!$parent.$parent.onetomany.delete.hidden"
|
|
32
|
+
:style="$parent.$parent.onetomany.delete.style || ''">
|
|
33
|
+
{{ $parent.$parent.onetomany.delete.text || '删除'}}
|
|
34
|
+
</button>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
</list>
|
|
39
|
+
</div>
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
<!-- onetomany模态框 -->
|
|
43
|
+
<modal v-if="showModal" :show.sync="showModal" backdrop="false" :large="onetomany.modalSize === 'large' ? true : false" :small="onetomany.modalSize === 'small' ? true : false">
|
|
44
|
+
<header slot="modal-header" class="modal-header">
|
|
45
|
+
<button type="button" class="close" @click="closeModal()"><span>×</span></button>
|
|
46
|
+
<span class="modal-title"><font
|
|
47
|
+
size="3">{{modelTitle}}</font></span>
|
|
48
|
+
</header>
|
|
49
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
50
|
+
<div v-for="(index,item) in onetomany.fields">
|
|
51
|
+
<!--input-->
|
|
52
|
+
<div :style="item.style ? item.style : ''"
|
|
53
|
+
v-if="(item.type==='input' || item.type==='number'||item.type === 'tel'||item.type === 'email') && !item.hidden && (item.device === 'app' || !item.device)"
|
|
54
|
+
:class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped ? item.bootstraped + ' form-group app-input':'col-xs-12 form-group app-input']">
|
|
55
|
+
<label class="control-label-justify">{{item.label}}</label>
|
|
56
|
+
<div :style="item.value_style ? item.value_style:''"
|
|
57
|
+
:class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
|
|
58
|
+
<input class="" style="width: 100%"
|
|
59
|
+
:type="item.type"
|
|
60
|
+
v-model="onetomany.fields[index].value"
|
|
61
|
+
:placeholder="item.placeholder"
|
|
62
|
+
:value="onetomany.fields[index].value"
|
|
63
|
+
:readonly="item.readonly"
|
|
64
|
+
:disabled="item.disabled"
|
|
65
|
+
@change="onchange(index)"
|
|
66
|
+
@blur="onblur(index)"
|
|
67
|
+
@input="oninput(index)"
|
|
68
|
+
/>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
71
|
+
|
|
72
|
+
<!--select-->
|
|
73
|
+
<div :style="item.style ? item.style : ''"
|
|
74
|
+
v-if="item.type==='select' && !item.hidden && (item.device === 'app' || !item.device)"
|
|
75
|
+
:class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped ? item.bootstraped + ' form-group app-input':'col-xs-12 form-group app-input']">
|
|
76
|
+
<label class="control-label-justify">{{item.label}}</label>
|
|
77
|
+
<div :style="item.value_style ? item.value_style:''"
|
|
78
|
+
:class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
|
|
79
|
+
<v-select
|
|
80
|
+
class="select" width="100%" align="right"
|
|
81
|
+
:placeholder="item.placeholder"
|
|
82
|
+
:search="item.search"
|
|
83
|
+
close-on-select value-single
|
|
84
|
+
:options="item.options"
|
|
85
|
+
v-model="onetomany.fields[index].value"
|
|
86
|
+
:value.sync="onetomany.fields[index].value"
|
|
87
|
+
:readonly="item.readonly"
|
|
88
|
+
:disabled="item.disabled"
|
|
89
|
+
@blur="onblur(index)"
|
|
90
|
+
@change="onchange(index)"
|
|
91
|
+
></v-select>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
|
|
95
|
+
<!--时间datepicker-->
|
|
96
|
+
<div :style="item.style ? item.style : ''"
|
|
97
|
+
v-if="item.type==='datepicker' && !item.hidden && (item.device === 'app' || !item.device)"
|
|
98
|
+
:class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped ? item.bootstraped+' form-group app-input':'col-xs-12 form-group app-input']">
|
|
99
|
+
<label class="control-label-justify">{{item.label}}</label>
|
|
100
|
+
<div :style="item.value_style ? item.value_style:''"
|
|
101
|
+
:class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
|
|
102
|
+
<datepicker
|
|
103
|
+
:placeholder="item.placeholder"
|
|
104
|
+
:value.sync="onetomany.fields[index].value"
|
|
105
|
+
:format="item.format ? item.format : 'yyyy-MM-dd'"
|
|
106
|
+
v-model="onetomany.fields[index].value"
|
|
107
|
+
:readonly="item.readonly"
|
|
108
|
+
:disabled="item.disabled"
|
|
109
|
+
@change="onchange(index)"
|
|
110
|
+
@blur="onblur(index)"
|
|
111
|
+
:show-reset-button="true">
|
|
112
|
+
</datepicker>
|
|
113
|
+
</div>
|
|
114
|
+
</div>
|
|
115
|
+
|
|
116
|
+
<!--textarea-->
|
|
117
|
+
<div :style="item.style ? item.style : ''"
|
|
118
|
+
v-if="item.type==='textarea' && !item.hidden && (item.device === 'app' || !item.device)"
|
|
119
|
+
:class="[item.required && !(item.value) ? 'apply-has-error' : '', item.bootstraped?item.bootstraped+' form-group app-input':'col-xs-12 form-group app-input']">
|
|
120
|
+
<label class="control-label-justify">{{item.label}}</label>
|
|
121
|
+
<div :style="item.value_style ? item.value_style:''"
|
|
122
|
+
:class="item.value_bootstraped ? item.value_bootstraped : 'col-xs-8'">
|
|
123
|
+
<textarea
|
|
124
|
+
:readonly="item.readonly"
|
|
125
|
+
:disabled="item.disabled"
|
|
126
|
+
class="" rows="1"
|
|
127
|
+
style="width: 100%;height: 100%"
|
|
128
|
+
v-model="onetomany.fields[index].value"
|
|
129
|
+
:value="onetomany.fields[index].value"
|
|
130
|
+
@change="onchange(index)"
|
|
131
|
+
@blur="onblur(index)"
|
|
132
|
+
@input="oninput(index)"
|
|
133
|
+
></textarea>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
</div>
|
|
137
|
+
</article>
|
|
138
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
139
|
+
<button :class="disableButton?'btn btn-default':'btn btn-primary'"
|
|
140
|
+
:disabled="disableButton" type="button" @click.prevent="confirmModal()">
|
|
141
|
+
确认
|
|
142
|
+
</button>
|
|
143
|
+
</footer>
|
|
144
|
+
</modal>
|
|
145
|
+
</div>
|
|
146
|
+
</template>
|
|
147
|
+
|
|
148
|
+
<script>
|
|
149
|
+
import {HttpResetClass} from 'vue-client'
|
|
150
|
+
import {guid, toStandardTimeString} from '../Util'
|
|
151
|
+
import Vue from 'vue'
|
|
152
|
+
export default {
|
|
153
|
+
title: 'onetomany',
|
|
154
|
+
props: ['onetomany', 'index'],
|
|
155
|
+
data () {
|
|
156
|
+
return {
|
|
157
|
+
showModal: false,
|
|
158
|
+
disableButton: true,
|
|
159
|
+
modelTitle: null,
|
|
160
|
+
rowIndex: null
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
ready () {
|
|
164
|
+
},
|
|
165
|
+
methods: {
|
|
166
|
+
confirmModal () {
|
|
167
|
+
if (this.modelTitle === '新增') {
|
|
168
|
+
if (this.onetomany.add.event) {
|
|
169
|
+
this.$dispatch(this.onetomany.add.event, this.index)
|
|
170
|
+
} else {
|
|
171
|
+
this.$dispatch('onetomanyadd', this.index)
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
if (this.modelTitle === '修改') {
|
|
175
|
+
if (this.onetomany.update.event) {
|
|
176
|
+
this.$dispatch(this.onetomany.update.event, this.index, this.rowIndex)
|
|
177
|
+
} else {
|
|
178
|
+
this.$dispatch('onetomanyupdate', this.index, this.rowIndex)
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
this.closeModal()
|
|
183
|
+
},
|
|
184
|
+
onchange (fieldIndex) {
|
|
185
|
+
this.disableModalButton()
|
|
186
|
+
if (this.onetomany.fields[fieldIndex].onchange) {
|
|
187
|
+
this.$dispatch(this.onetomany.fields[fieldIndex].onchange, this.index, fieldIndex)
|
|
188
|
+
} else {
|
|
189
|
+
this.$dispatch('onchangeModal', this.index, fieldIndex)
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
onblur (fieldIndex) {
|
|
193
|
+
this.disableModalButton()
|
|
194
|
+
if (this.onetomany.fields[fieldIndex].onblur) {
|
|
195
|
+
this.$dispatch(this.onetomany.fields[fieldIndex].onblur, this.index, fieldIndex)
|
|
196
|
+
} else {
|
|
197
|
+
this.$dispatch('onblurModal', this.index, fieldIndex)
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
oninput (fieldIndex) {
|
|
201
|
+
this.disableModalButton()
|
|
202
|
+
if (this.onetomany.fields[fieldIndex].oninput) {
|
|
203
|
+
this.$dispatch(this.onetomany.fields[fieldIndex].oninput, this.index, fieldIndex)
|
|
204
|
+
} else {
|
|
205
|
+
this.$dispatch('oninputModal', this.index, fieldIndex)
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
openDelete (rowIndex) {
|
|
209
|
+
this.$showMessage(this.onetomany.delete.message ? this.onetomany.delete.message : '您确定要删除这条记录吗?', ['confirm']).then((res) => {
|
|
210
|
+
if (res === 'confirm') {
|
|
211
|
+
if (this.onetomany.delete.event) {
|
|
212
|
+
this.$dispatch(this.onetomany.delete.event, this.index, rowIndex)
|
|
213
|
+
} else {
|
|
214
|
+
this.$dispatch('onetomanydelete', this.index, rowIndex)
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
})
|
|
218
|
+
},
|
|
219
|
+
// 修改
|
|
220
|
+
openUpdate (rowIndex) {
|
|
221
|
+
let row = this.onetomany.rows[rowIndex]
|
|
222
|
+
for (const item of this.onetomany.fields) {
|
|
223
|
+
item.value = row[item.field]
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
this.disableModalButton()
|
|
227
|
+
|
|
228
|
+
this.modelTitle = '修改'
|
|
229
|
+
this.rowIndex = rowIndex
|
|
230
|
+
|
|
231
|
+
if (this.onetomany.update.openEvent) {
|
|
232
|
+
this.$dispatch(this.onetomany.update.openEvent, this.index, this.rowIndex)
|
|
233
|
+
}
|
|
234
|
+
this.$dispatch('openUpdateModel', this.index, this.rowIndex)
|
|
235
|
+
|
|
236
|
+
this.showModal = true
|
|
237
|
+
},
|
|
238
|
+
openAdd () {
|
|
239
|
+
this.disableModalButton()
|
|
240
|
+
this.modelTitle = '新增'
|
|
241
|
+
|
|
242
|
+
if (this.onetomany.add.openEvent) {
|
|
243
|
+
this.$dispatch(this.onetomany.add.openEvent, this.index)
|
|
244
|
+
}
|
|
245
|
+
this.$dispatch('openAddModel', this.index)
|
|
246
|
+
|
|
247
|
+
this.showModal = true
|
|
248
|
+
},
|
|
249
|
+
closeModal () {
|
|
250
|
+
this.showModal = false
|
|
251
|
+
this.disableButton = false
|
|
252
|
+
this.modelTitle = null
|
|
253
|
+
this.rowIndex = null
|
|
254
|
+
|
|
255
|
+
for (const item of this.onetomany.fields) {
|
|
256
|
+
item.value = null
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
// 是否禁用按钮
|
|
260
|
+
disableModalButton () {
|
|
261
|
+
let flag = false
|
|
262
|
+
|
|
263
|
+
for (const field of this.onetomany.fields) {
|
|
264
|
+
if (field.required && !field.value && !field.hidden && field.value !== 0) {
|
|
265
|
+
flag = true
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
this.disableButton = flag
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
computed: {
|
|
273
|
+
},
|
|
274
|
+
events: {
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
</script>
|
|
278
|
+
|
|
279
|
+
<style scoped>
|
|
280
|
+
.control-label-justify {
|
|
281
|
+
width: 30%;
|
|
282
|
+
text-align: justify;
|
|
283
|
+
text-align-last: justify;
|
|
284
|
+
font-family: PingFang-SC-Bold;
|
|
285
|
+
float: left;
|
|
286
|
+
}
|
|
287
|
+
.label-justify {
|
|
288
|
+
text-align: justify;
|
|
289
|
+
text-align-last: justify;
|
|
290
|
+
float: left;
|
|
291
|
+
}
|
|
292
|
+
.panel-self{
|
|
293
|
+
border-radius: 10px;
|
|
294
|
+
border:1px solid #499EDF;
|
|
295
|
+
background-color: #F8F8F8;
|
|
296
|
+
}
|
|
297
|
+
.font{
|
|
298
|
+
font: 15px PingFang-SC-Medium;
|
|
299
|
+
color: #666666;
|
|
300
|
+
}
|
|
301
|
+
</style>
|