apply-clients 7.1.35 → 7.1.36-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +5 -1
- package/android.html +9 -0
- package/build/css-loaders.js +34 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server.js +166 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +123 -0
- package/build/webpack.baseandroid.conf.js +123 -0
- package/build/webpack.dev.conf.js +43 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/dist-android.7z +0 -0
- package/dist.7z +0 -0
- package/index.html +10 -1
- package/package.json +14 -8
- package/src/AndroidApp.vue +21 -14
- package/src/App.vue +4 -6
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.eot +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.svg +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.ttf +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff +0 -0
- package/{dist-android/static → src/android-bootstrap/fonts}/glyphicons-halflings-regular.woff2 +0 -0
- package/src/android-bootstrap/less/.csscomb.json +304 -0
- package/src/android-bootstrap/less/.csslintrc +19 -0
- package/src/android-bootstrap/less/alerts.less +73 -0
- package/src/android-bootstrap/less/badges.less +66 -0
- package/src/android-bootstrap/less/bootstrap.less +56 -0
- package/src/android-bootstrap/less/breadcrumbs.less +26 -0
- package/src/android-bootstrap/less/button-groups.less +247 -0
- package/src/android-bootstrap/less/buttons.less +173 -0
- package/src/android-bootstrap/less/carousel.less +269 -0
- package/src/android-bootstrap/less/close.less +34 -0
- package/src/android-bootstrap/less/code.less +69 -0
- package/src/android-bootstrap/less/component-animations.less +33 -0
- package/src/android-bootstrap/less/dropdowns.less +216 -0
- package/src/android-bootstrap/less/forms.less +626 -0
- package/src/android-bootstrap/less/glyphicons.less +305 -0
- package/src/android-bootstrap/less/grid.less +84 -0
- package/src/android-bootstrap/less/input-groups.less +167 -0
- package/src/android-bootstrap/less/jumbotron.less +52 -0
- package/src/android-bootstrap/less/labels.less +64 -0
- package/src/android-bootstrap/less/list-group.less +141 -0
- package/src/android-bootstrap/less/media.less +66 -0
- package/src/android-bootstrap/less/mixins/alerts.less +14 -0
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
- package/src/android-bootstrap/less/mixins/buttons.less +69 -0
- package/src/android-bootstrap/less/mixins/center-block.less +7 -0
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
- package/src/android-bootstrap/less/mixins/forms.less +90 -0
- package/src/android-bootstrap/less/mixins/gradients.less +59 -0
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
- package/src/android-bootstrap/less/mixins/grid.less +122 -0
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
- package/src/android-bootstrap/less/mixins/image.less +33 -0
- package/src/android-bootstrap/less/mixins/labels.less +12 -0
- package/src/android-bootstrap/less/mixins/list-group.less +30 -0
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
- package/src/android-bootstrap/less/mixins/opacity.less +8 -0
- package/src/android-bootstrap/less/mixins/pagination.less +24 -0
- package/src/android-bootstrap/less/mixins/panels.less +24 -0
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
- package/src/android-bootstrap/less/mixins/resize.less +6 -0
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
- package/src/android-bootstrap/less/mixins/size.less +10 -0
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
- package/src/android-bootstrap/less/mixins/table-row.less +44 -0
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
- package/src/android-bootstrap/less/mixins.less +40 -0
- package/src/android-bootstrap/less/modals.less +151 -0
- package/src/android-bootstrap/less/navbar.less +660 -0
- package/src/android-bootstrap/less/navs.less +302 -0
- package/src/android-bootstrap/less/normalize.less +424 -0
- package/src/android-bootstrap/less/pager.less +76 -0
- package/src/android-bootstrap/less/pagination.less +89 -0
- package/src/android-bootstrap/less/panels.less +274 -0
- package/src/android-bootstrap/less/popovers.less +131 -0
- package/src/android-bootstrap/less/print.less +101 -0
- package/src/android-bootstrap/less/progress-bars.less +87 -0
- package/src/android-bootstrap/less/responsive-embed.less +35 -0
- package/src/android-bootstrap/less/responsive-utilities.less +194 -0
- package/src/android-bootstrap/less/scaffolding.less +161 -0
- package/src/android-bootstrap/less/tables.less +262 -0
- package/src/android-bootstrap/less/theme.less +291 -0
- package/src/android-bootstrap/less/thumbnails.less +36 -0
- package/src/android-bootstrap/less/tooltip.less +102 -0
- package/src/android-bootstrap/less/type.less +303 -0
- package/src/android-bootstrap/less/utilities.less +55 -0
- package/src/android-bootstrap/less/variables.less +896 -0
- package/src/android-bootstrap/less/wells.less +29 -0
- package/src/android.js +7 -4
- package/src/apply.js +55 -15
- package/src/applyAndroid.js +65 -28
- package/src/assets/marker-default.png +0 -0
- package/src/assets/myLocationIcon.png +0 -0
- package/src/assets//345/210/240/351/231/244.png +0 -0
- package/src/components/android/AppOnetomany.vue +301 -0
- package/src/components/android/AppServiceView.vue +603 -0
- package/src/components/android/AppSign.vue +228 -0
- package/src/components/android/AppTakePic.vue +142 -0
- package/src/components/android/AppUpload.vue +260 -0
- package/src/components/android/Ignition/VentilationIgnition.vue +408 -0
- package/src/components/android/Ignition/VentilationIgnitionHandle.vue +455 -0
- package/src/components/android/Process/AppExplorationUser.vue +454 -0
- package/src/components/android/Process/AppServiceControl.vue +1397 -0
- package/src/components/android/Process/Processes/AppDevicesManagement.vue +338 -0
- package/src/components/android/Process/Processes/AppInstallationDetails.vue +818 -0
- package/src/components/android/Process/Processes/SurveyUserSign.vue +65 -0
- package/src/components/android/Process/Processes/newAppDevicesManagement.vue +343 -0
- package/src/components/android/Process/Processes/newAppInstallationDetails.vue +669 -0
- package/src/components/android/Sign/AppSignTask.vue +183 -0
- package/src/components/android/Sign/SignProcess.vue +103 -0
- package/src/components/android/Supervisory/AppProcessSupervisory.vue +298 -0
- package/src/components/android/Supervisory/AppSupervisoryCart.vue +128 -0
- package/src/components/android/Task/Build/BuildTsak.vue +114 -0
- package/src/components/android/Task/BuildIgnition/BuildIgnition.vue +114 -0
- package/src/components/android/Task/RepairFromSend/RepairFrom.vue +124 -0
- package/src/components/android/Task/RepairFromSend/RepairSend.vue +124 -0
- package/src/components/android/Task/ShiGongXinXi/AppShowBuildUser.vue +427 -0
- package/src/components/android/Task/ShiGongXinXi/ShowBuild.vue +95 -0
- package/src/components/android/Task/Survey/SurveyTsak.vue +141 -0
- package/src/components/android/Task/UpBuild/UpBuildDui.vue +95 -0
- package/src/components/android/Task/UpBuild/UpBuildTsak.vue +95 -0
- package/src/components/android/Task/UpBuild/UpJianLi.vue +95 -0
- package/src/components/android/TaskGraph.vue +130 -0
- package/src/components/android/newPackage/customerServiceManager.vue +218 -0
- package/src/components/android/newPackage/designDrawings.vue +94 -0
- package/src/components/android/newPackage/detailedData.vue +24 -0
- package/src/components/android/newPackage/projectPrice.vue +218 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/product/ApplyCharge/ApplyChargeList.vue +541 -73
- package/src/components/product/ApplyCharge/ApplyChargeSearch.vue +2 -2
- package/src/components/product/ApplyMap/ApplyDragaboutList.vue +223 -0
- package/src/components/product/ApplyMap/ApplyInputSearch.vue +212 -0
- package/src/components/product/ApplyMap/ApplyMapCom.vue +82 -0
- package/src/components/product/ApplyMap/ApplyMapLocation.vue +850 -0
- package/src/components/product/ChongZheng/ApplyChongZhengList.vue +414 -0
- package/src/components/product/ChongZheng/ApplyChongZhengSearch.vue +30 -0
- package/src/components/product/Function/InstallFunction.vue +56 -70
- package/src/components/product/Function/InstallInfoSelect.vue +191 -102
- package/src/components/product/Function/Service/FunctionServiceControl.vue +378 -148
- package/src/components/product/Ignition/IgnitionDispatch.vue +92 -0
- package/src/components/product/Ignition/IgnitionList.vue +232 -0
- package/src/components/product/Ignition/IgnitionListManage.vue +362 -0
- package/src/components/product/Ignition/IgnitionRecord.vue +318 -0
- package/src/components/product/List/ShowDevices.vue +277 -0
- package/src/components/product/Onetomany.vue +377 -0
- package/src/components/product/Print/BuildOrder/buildOrderList.vue +445 -0
- package/src/components/product/Print/BuildOrder/printBuildOrder.vue +252 -0
- package/src/components/product/Print/BuildOrder/printGaiXianOrder.vue +232 -0
- package/src/components/product/Print/OrderPrint/GaiXianOrder.vue +281 -0
- package/src/components/product/Print/img/R-C.jpg +0 -0
- package/src/components/product/Process/ExplorationSelect.vue +467 -248
- package/src/components/product/Process/ExplorationUser.vue +155 -138
- package/src/components/product/Process/Processes/ExhibitionPicture.vue +27 -0
- package/src/components/product/Process/Processes/InstallationDetails.vue +793 -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 +246 -0
- package/src/components/product/Process/Processes/Print/printPaymentApproval.vue +221 -0
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +59 -113
- package/src/components/product/Process/Processes/chargeManagement.vue +474 -350
- package/src/components/product/Process/Processes/devicesManagement.vue +373 -0
- package/src/components/product/Process/Processes/newDevicesManagement.vue +379 -0
- package/src/components/product/Process/Processes/newInstallationDetails.vue +718 -0
- package/src/components/product/Process/Processes/satisfactionShow.vue +202 -0
- package/src/components/product/Process/Processes/selectApply.vue +250 -0
- package/src/components/product/Process/Processes/selectOldUserinfo.vue +241 -0
- package/src/components/product/Process/Processes/selectUserinfo.vue +234 -0
- package/src/components/product/Process/Processes/supplementalAgreement.vue +182 -181
- package/src/components/product/Process/Service/ServiceControl.vue +2000 -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/ExportExcel.vue +360 -0
- package/src/components/product/Supervisory/NewSupervisoryhCart.vue +175 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +425 -73
- package/src/components/product/Supervisory/SupervisoryControl.vue +28 -35
- package/src/components/product/Supervisory/SupervisoryList.vue +485 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +52 -36
- package/src/components/product/VueUtils/ApplyUpload.vue +70 -47
- package/src/components/product/VueUtils/HighMeter.vue +208 -0
- package/src/expandcssAndroid.less +1034 -0
- package/src/main.js +5 -1
- package/src/public/history/HistoryApplyList.vue +108 -0
- package/src/public/history/PublicHistoryApply.vue +39 -0
- package/src/public/history/PublicSupervisoryhCart.vue +72 -0
- package/src/public/order/PublicOrderApply.vue +387 -0
- package/static/images/lefticon/{/345/256/211/346/243/200/346/237/245/347/234/213.png → anjianjihua.png} +0 -0
- package/static/images/lefticon/{/346/241/243/346/241/210/347/256/241/347/220/206.png → danganguanli.png} +0 -0
- package/static/images/lefticon/{/345/224/256/346/260/224/346/224/266/350/264/271.png → shouqishoufei.png} +0 -0
- package/static/images/lefticon/{/347/211/251/350/201/224/347/275/221/350/241/250.png → wulianwang.png} +0 -0
- package/static/images/lefticon/{/347/263/273/347/273/237/347/256/241/347/220/206.png → xitongguanli.png} +0 -0
- package/static/images/lefticon/{/347/273/274/345/220/210/346/237/245/350/257/242.png → yingyechaxun.png} +0 -0
- package/static/images/lefticon/{/345/221/274/345/217/253/347/263/273/347/273/237.png → yuyinkefu.png} +0 -0
- package/static/images/lefticon/{/347/273/274/345/220/210/344/270/232/345/212/241.png → zongheyewu.png} +0 -0
- package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/{dist-android/static/denglu.png → static/images/lefticonNew//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png} +0 -0
- package/static/images/lefticonNew//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticonNew//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/static/images/lefticonNew//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/static/images/lefticonNew//345/233/276/345/261/202577.png +0 -0
- package/{dist-android/static/psicon.png → static/images/lefticonNew//345/233/276/345/261/2028/346/213/267/350/264/23513.png} +0 -0
- package/static/images/lefticonNew//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/static/images/lefticonNew//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/static/images/lefticonNew//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/static/images/lefticonNew//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticonNew//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticonNew//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/static/images/lefticonNew//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/static/images/lefticonNew//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticonNew//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/static/images/lefticonNew//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/static/images/lefticonNew//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/images/lefticonNew//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticonNew//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/static/images/lefticonNew//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/yarn-error.log +9976 -0
- package/dist-android/index.html +0 -3
- package/dist-android/static/.gitkeep +0 -0
- package/dist-android/static/0.js +0 -2
- package/dist-android/static/0.js.map +0 -1
- package/dist-android/static/1.js +0 -2
- package/dist-android/static/1.js.map +0 -1
- package/dist-android/static/10.js +0 -2
- package/dist-android/static/10.js.map +0 -1
- package/dist-android/static/100.js +0 -2
- package/dist-android/static/100.js.map +0 -1
- package/dist-android/static/11.js +0 -2
- package/dist-android/static/11.js.map +0 -1
- package/dist-android/static/12.js +0 -2
- package/dist-android/static/12.js.map +0 -1
- package/dist-android/static/13.js +0 -2
- package/dist-android/static/13.js.map +0 -1
- package/dist-android/static/14.js +0 -2
- package/dist-android/static/14.js.map +0 -1
- package/dist-android/static/15.js +0 -2
- package/dist-android/static/15.js.map +0 -1
- package/dist-android/static/16.js +0 -2
- package/dist-android/static/16.js.map +0 -1
- package/dist-android/static/17.js +0 -2
- package/dist-android/static/17.js.map +0 -1
- package/dist-android/static/18.js +0 -2
- package/dist-android/static/18.js.map +0 -1
- package/dist-android/static/19.js +0 -2
- package/dist-android/static/19.js.map +0 -1
- package/dist-android/static/2.js +0 -2
- package/dist-android/static/2.js.map +0 -1
- package/dist-android/static/20.js +0 -2
- package/dist-android/static/20.js.map +0 -1
- package/dist-android/static/21.js +0 -2
- package/dist-android/static/21.js.map +0 -1
- package/dist-android/static/22.js +0 -2
- package/dist-android/static/22.js.map +0 -1
- package/dist-android/static/23.js +0 -2
- package/dist-android/static/23.js.map +0 -1
- package/dist-android/static/24.js +0 -2
- package/dist-android/static/24.js.map +0 -1
- package/dist-android/static/25.js +0 -2
- package/dist-android/static/25.js.map +0 -1
- package/dist-android/static/26.js +0 -2
- package/dist-android/static/26.js.map +0 -1
- package/dist-android/static/27.js +0 -2
- package/dist-android/static/27.js.map +0 -1
- package/dist-android/static/28.js +0 -2
- package/dist-android/static/28.js.map +0 -1
- package/dist-android/static/29.js +0 -2
- package/dist-android/static/29.js.map +0 -1
- package/dist-android/static/3.js +0 -2
- package/dist-android/static/3.js.map +0 -1
- package/dist-android/static/30.js +0 -2
- package/dist-android/static/30.js.map +0 -1
- package/dist-android/static/31.js +0 -2
- package/dist-android/static/31.js.map +0 -1
- package/dist-android/static/32.js +0 -2
- package/dist-android/static/32.js.map +0 -1
- package/dist-android/static/33.js +0 -2
- package/dist-android/static/33.js.map +0 -1
- package/dist-android/static/34.js +0 -2
- package/dist-android/static/34.js.map +0 -1
- package/dist-android/static/35.js +0 -2
- package/dist-android/static/35.js.map +0 -1
- package/dist-android/static/36.js +0 -2
- package/dist-android/static/36.js.map +0 -1
- package/dist-android/static/37.js +0 -2
- package/dist-android/static/37.js.map +0 -1
- package/dist-android/static/38.js +0 -2
- package/dist-android/static/38.js.map +0 -1
- package/dist-android/static/39.js +0 -2
- package/dist-android/static/39.js.map +0 -1
- package/dist-android/static/4.js +0 -2
- package/dist-android/static/4.js.map +0 -1
- package/dist-android/static/40.js +0 -2
- package/dist-android/static/40.js.map +0 -1
- package/dist-android/static/41.js +0 -2
- package/dist-android/static/41.js.map +0 -1
- package/dist-android/static/42.js +0 -2
- package/dist-android/static/42.js.map +0 -1
- package/dist-android/static/43.js +0 -2
- package/dist-android/static/43.js.map +0 -1
- package/dist-android/static/44.js +0 -2
- package/dist-android/static/44.js.map +0 -1
- package/dist-android/static/45.js +0 -2
- package/dist-android/static/45.js.map +0 -1
- package/dist-android/static/46.js +0 -2
- package/dist-android/static/46.js.map +0 -1
- package/dist-android/static/47.js +0 -2
- package/dist-android/static/47.js.map +0 -1
- package/dist-android/static/48.js +0 -2
- package/dist-android/static/48.js.map +0 -1
- package/dist-android/static/49.js +0 -2
- package/dist-android/static/49.js.map +0 -1
- package/dist-android/static/5.js +0 -2
- package/dist-android/static/5.js.map +0 -1
- package/dist-android/static/50.js +0 -2
- package/dist-android/static/50.js.map +0 -1
- package/dist-android/static/51.js +0 -2
- package/dist-android/static/51.js.map +0 -1
- package/dist-android/static/52.js +0 -2
- package/dist-android/static/52.js.map +0 -1
- package/dist-android/static/53.js +0 -2
- package/dist-android/static/53.js.map +0 -1
- package/dist-android/static/54.js +0 -2
- package/dist-android/static/54.js.map +0 -1
- package/dist-android/static/55.js +0 -2
- package/dist-android/static/55.js.map +0 -1
- package/dist-android/static/56.js +0 -2
- package/dist-android/static/56.js.map +0 -1
- package/dist-android/static/57.js +0 -2
- package/dist-android/static/57.js.map +0 -1
- package/dist-android/static/58.js +0 -2
- package/dist-android/static/58.js.map +0 -1
- package/dist-android/static/59.js +0 -2
- package/dist-android/static/59.js.map +0 -1
- package/dist-android/static/6.js +0 -2
- package/dist-android/static/6.js.map +0 -1
- package/dist-android/static/60.js +0 -2
- package/dist-android/static/60.js.map +0 -1
- package/dist-android/static/61.js +0 -2
- package/dist-android/static/61.js.map +0 -1
- package/dist-android/static/62.js +0 -2
- package/dist-android/static/62.js.map +0 -1
- package/dist-android/static/63.js +0 -2
- package/dist-android/static/63.js.map +0 -1
- package/dist-android/static/64.js +0 -2
- package/dist-android/static/64.js.map +0 -1
- package/dist-android/static/65.js +0 -2
- package/dist-android/static/65.js.map +0 -1
- package/dist-android/static/66.js +0 -2
- package/dist-android/static/66.js.map +0 -1
- package/dist-android/static/67.js +0 -2
- package/dist-android/static/67.js.map +0 -1
- package/dist-android/static/68.js +0 -2
- package/dist-android/static/68.js.map +0 -1
- package/dist-android/static/69.js +0 -2
- package/dist-android/static/69.js.map +0 -1
- package/dist-android/static/7.js +0 -6
- package/dist-android/static/7.js.map +0 -1
- package/dist-android/static/70.js +0 -2
- package/dist-android/static/70.js.map +0 -1
- package/dist-android/static/71.js +0 -2
- package/dist-android/static/71.js.map +0 -1
- package/dist-android/static/72.js +0 -2
- package/dist-android/static/72.js.map +0 -1
- package/dist-android/static/73.js +0 -2
- package/dist-android/static/73.js.map +0 -1
- package/dist-android/static/74.js +0 -2
- package/dist-android/static/74.js.map +0 -1
- package/dist-android/static/75.js +0 -2
- package/dist-android/static/75.js.map +0 -1
- package/dist-android/static/76.js +0 -2
- package/dist-android/static/76.js.map +0 -1
- package/dist-android/static/77.js +0 -2
- package/dist-android/static/77.js.map +0 -1
- package/dist-android/static/78.js +0 -2
- package/dist-android/static/78.js.map +0 -1
- package/dist-android/static/79.js +0 -2
- package/dist-android/static/79.js.map +0 -1
- package/dist-android/static/8.js +0 -2
- package/dist-android/static/8.js.map +0 -1
- package/dist-android/static/80.js +0 -2
- package/dist-android/static/80.js.map +0 -1
- package/dist-android/static/81.js +0 -2
- package/dist-android/static/81.js.map +0 -1
- package/dist-android/static/82.js +0 -2
- package/dist-android/static/82.js.map +0 -1
- package/dist-android/static/83.js +0 -2
- package/dist-android/static/83.js.map +0 -1
- package/dist-android/static/84.js +0 -2
- package/dist-android/static/84.js.map +0 -1
- package/dist-android/static/85.js +0 -2
- package/dist-android/static/85.js.map +0 -1
- package/dist-android/static/86.js +0 -2
- package/dist-android/static/86.js.map +0 -1
- package/dist-android/static/87.js +0 -2
- package/dist-android/static/87.js.map +0 -1
- package/dist-android/static/88.js +0 -2
- package/dist-android/static/88.js.map +0 -1
- package/dist-android/static/89.js +0 -2
- package/dist-android/static/89.js.map +0 -1
- package/dist-android/static/9.js +0 -3
- package/dist-android/static/9.js.map +0 -1
- package/dist-android/static/90.js +0 -2
- package/dist-android/static/90.js.map +0 -1
- package/dist-android/static/91.js +0 -2
- package/dist-android/static/91.js.map +0 -1
- package/dist-android/static/92.js +0 -2
- package/dist-android/static/92.js.map +0 -1
- package/dist-android/static/93.js +0 -2
- package/dist-android/static/93.js.map +0 -1
- package/dist-android/static/94.js +0 -2
- package/dist-android/static/94.js.map +0 -1
- package/dist-android/static/95.js +0 -2
- package/dist-android/static/95.js.map +0 -1
- package/dist-android/static/96.js +0 -2
- package/dist-android/static/96.js.map +0 -1
- package/dist-android/static/97.js +0 -2
- package/dist-android/static/97.js.map +0 -1
- package/dist-android/static/98.js +0 -2
- package/dist-android/static/98.js.map +0 -1
- package/dist-android/static/99.js +0 -2
- package/dist-android/static/99.js.map +0 -1
- package/dist-android/static/app.css +0 -2
- package/dist-android/static/app.css.map +0 -1
- package/dist-android/static/app.js +0 -80
- package/dist-android/static/app.js.map +0 -1
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/config.json +0 -7
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/jingyin.jpg +0 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- package/dist-android/static/newmainbg.jpg +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/workflow_apply.json +0 -766
- package/dist-android/static/xinxi.png +0 -0
- package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/257/274/350/210/252/347/253/226/345/261/2173.png +0 -0
- package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
- package/src/components/app_apply/Acceptance.vue +0 -298
- package/src/components/app_apply/ApplyApp.vue +0 -91
- package/src/components/app_apply/ApplyDownList.vue +0 -166
- package/src/components/app_apply/ApplyInfo.vue +0 -56
- package/src/components/app_apply/ApplyListUpload.vue +0 -258
- package/src/components/app_apply/ApplyToDoList.vue +0 -165
- package/src/components/app_apply/ApplyUserInfo.vue +0 -56
- package/src/components/app_apply/FieldExploration.vue +0 -267
- package/src/components/app_apply/PlaceControler.vue +0 -258
- package/src/components/app_apply/ServiceControl.vue +0 -267
- package/src/components/app_apply/ServiceView.vue +0 -355
- package/src/components/app_apply/ToolsPage.vue +0 -51
- package/src/components/app_apply/Ventilation.vue +0 -199
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
- package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
- package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
- package/src/components/product/Function/functions/StopInstall.vue +0 -106
- package/src/components/product/Process/Processes/printCharge.vue +0 -126
- package/src/components/product/Process/ShowBackReason.vue +0 -32
- package/src/components/product/ReportForm/GasIgnitionSummary.vue +0 -352
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
|
@@ -0,0 +1,277 @@
|
|
|
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='search' 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-2">
|
|
9
|
+
<label class="font_normal_body">报建编号:</label>
|
|
10
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_apply_num"
|
|
11
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="u.f_apply_num like '%{}%'"
|
|
12
|
+
placeholder='报建编号'>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="form-group col-sm-2">
|
|
15
|
+
<label class="font_normal_body">用户名称:</label>
|
|
16
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
|
|
17
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="u.f_user_name like '%{}%'"
|
|
18
|
+
placeholder='用户名称'>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="form-group col-sm-2">
|
|
21
|
+
<label class="font_normal_body">合同编号:</label>
|
|
22
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_contract_number"
|
|
23
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="(u.f_contract_number like '%{}%' or u.f_entrust_contract_number like '%{}%' )"
|
|
24
|
+
placeholder='合同编号'>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="form-group col-sm-2">
|
|
27
|
+
<label class="font_normal_body">电  话:</label>
|
|
28
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_phone"
|
|
29
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="u.f_phone like '%{}%'"
|
|
30
|
+
placeholder='电话'>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="form-group col-sm-3 button-range">
|
|
33
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
34
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
35
|
+
<export-excel :data="$parent.$parent.getCondition"
|
|
36
|
+
:field="$parent.$parent.getfield"
|
|
37
|
+
sqlurl="rs/logic/applyExportfile"
|
|
38
|
+
sql-name="getApplyDevices"
|
|
39
|
+
template-name='设备记录信息导出'
|
|
40
|
+
:choose-col="true"></export-excel>
|
|
41
|
+
<div
|
|
42
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
43
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
44
|
+
class="button_spacing"
|
|
45
|
+
style="float: right">
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
50
|
+
<div class="form-group col-sm-2">
|
|
51
|
+
<label class="font_normal_body">报建类型:</label>
|
|
52
|
+
<v-select
|
|
53
|
+
v-model="model.f_apply_type"
|
|
54
|
+
placeholder='请选择'
|
|
55
|
+
condition="u.f_apply_type = '{}'"
|
|
56
|
+
:value.sync="model.f_apply_type"
|
|
57
|
+
:options='$parent.$parent.applytype'
|
|
58
|
+
class="select select_list"
|
|
59
|
+
:value-single="true"
|
|
60
|
+
close-on-select></v-select>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="form-group col-sm-2">
|
|
63
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
64
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
65
|
+
style="width: 60%!important;"
|
|
66
|
+
v-model="model.startDate"
|
|
67
|
+
:value.sync="model.startDate"
|
|
68
|
+
:format="'yyyy-MM-dd 00:00:00'"
|
|
69
|
+
:show-reset-button="true"
|
|
70
|
+
condition="ct.f_create_date >= '{}'">
|
|
71
|
+
</datepicker>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="form-group col-sm-2">
|
|
74
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
75
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
76
|
+
style="width: 60%!important;"
|
|
77
|
+
v-model="model.endDate"
|
|
78
|
+
:value.sync="model.endDate"
|
|
79
|
+
:format="'yyyy-MM-dd 23:59:59'"
|
|
80
|
+
:sho w-reset-button="true"
|
|
81
|
+
condition="ct.f_create_date <= '{}'">
|
|
82
|
+
</datepicker>
|
|
83
|
+
</div>
|
|
84
|
+
</div>
|
|
85
|
+
</div>
|
|
86
|
+
</criteria>
|
|
87
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
88
|
+
<template partial='head'>
|
|
89
|
+
<tr>
|
|
90
|
+
<th style="white-space: nowrap;">序号</th>
|
|
91
|
+
<th style="white-space: nowrap;">用户名称</th>
|
|
92
|
+
<th style="white-space: nowrap;">电话</th>
|
|
93
|
+
<th style="white-space: nowrap;">施工合同编号</th>
|
|
94
|
+
<th style="white-space: nowrap;">供气合同编号</th>
|
|
95
|
+
<th style="white-space: nowrap;">火眼</th>
|
|
96
|
+
<th style="white-space: nowrap;">小火眼</th>
|
|
97
|
+
<th style="white-space: nowrap;">壁挂炉</th>
|
|
98
|
+
<th style="white-space: nowrap;">家用灶</th>
|
|
99
|
+
<th style="white-space: nowrap;">热水器</th>
|
|
100
|
+
<th style="white-space: nowrap;">采暖炉</th>
|
|
101
|
+
<th style="white-space: nowrap;">茶水炉</th>
|
|
102
|
+
<th style="white-space: nowrap;">蒸车</th>
|
|
103
|
+
<th style="white-space: nowrap;">蒸汽发生器</th>
|
|
104
|
+
<th style="white-space: nowrap;">灶具</th>
|
|
105
|
+
<th style="white-space: nowrap;">压缩机</th>
|
|
106
|
+
<th style="white-space: nowrap;">模块炉</th>
|
|
107
|
+
<th style="white-space: nowrap;">单位(KW)</th>
|
|
108
|
+
<th style="white-space: nowrap;">锅炉单位(MW)</th>
|
|
109
|
+
<th style="white-space: nowrap;">锅炉吨位(T)</th>
|
|
110
|
+
<th style="white-space: nowrap;">合同状态</th>
|
|
111
|
+
<th style="white-space: nowrap;">报建编号</th>
|
|
112
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
113
|
+
<th style="white-space: nowrap;">报建性质</th>
|
|
114
|
+
<th style="white-space: nowrap;">安装处数</th>
|
|
115
|
+
</tr>
|
|
116
|
+
</template>
|
|
117
|
+
<template partial='body'>
|
|
118
|
+
<tr>
|
|
119
|
+
<td style="text-align: center;">
|
|
120
|
+
<nobr><font>{{ $index + 1 }}</font></nobr>
|
|
121
|
+
</td>
|
|
122
|
+
<td style="text-align: center;">
|
|
123
|
+
<nobr><font>{{ row.f_user_name }}</font></nobr>
|
|
124
|
+
</td>
|
|
125
|
+
<td style="text-align: center;">
|
|
126
|
+
<nobr><font>{{ row.f_phone }}</font></nobr>
|
|
127
|
+
</td>
|
|
128
|
+
<td style="text-align: center;">
|
|
129
|
+
<nobr><font>{{ row.f_entrust_contract_number }}</font></nobr>
|
|
130
|
+
</td>
|
|
131
|
+
<td style="text-align: center;">
|
|
132
|
+
<nobr><font>{{ row.f_contract_number }}</font></nobr>
|
|
133
|
+
</td>
|
|
134
|
+
<td style="text-align: center;">
|
|
135
|
+
<nobr><font>{{ row.huoyan }}</font></nobr>
|
|
136
|
+
</td>
|
|
137
|
+
<td style="text-align: center;">
|
|
138
|
+
<nobr><font>{{ row.xiaohuoyan }}</font></nobr>
|
|
139
|
+
</td>
|
|
140
|
+
<td style="text-align: center;">
|
|
141
|
+
<nobr><font>{{ row.bigualu }}</font></nobr>
|
|
142
|
+
</td>
|
|
143
|
+
<td style="text-align: center;">
|
|
144
|
+
<nobr><font>{{ row.jiayongzao }}</font></nobr>
|
|
145
|
+
</td>
|
|
146
|
+
<td style="text-align: center;">
|
|
147
|
+
<nobr><font>{{ row.reshuiqi }}</font></nobr>
|
|
148
|
+
</td>
|
|
149
|
+
<td style="text-align: center;">
|
|
150
|
+
<nobr><font>{{ row.cainuanlu }}</font></nobr>
|
|
151
|
+
</td>
|
|
152
|
+
<td style="text-align: center;">
|
|
153
|
+
<nobr><font>{{ row.chashuilu }}</font></nobr>
|
|
154
|
+
</td>
|
|
155
|
+
<td style="text-align: center;">
|
|
156
|
+
<nobr><font>{{ row.zhengche }}</font></nobr>
|
|
157
|
+
</td>
|
|
158
|
+
<td style="text-align: center;">
|
|
159
|
+
<nobr><font>{{ row.zhengqifashengqi }}</font></nobr>
|
|
160
|
+
</td>
|
|
161
|
+
<td style="text-align: center;">
|
|
162
|
+
<nobr><font>{{ row.zaoju }}</font></nobr>
|
|
163
|
+
</td>
|
|
164
|
+
<td style="text-align: center;">
|
|
165
|
+
<nobr><font>{{ row.yasuoji }}</font></nobr>
|
|
166
|
+
</td>
|
|
167
|
+
<td style="text-align: center;">
|
|
168
|
+
<nobr><font>{{ row.mokuailu }}</font></nobr>
|
|
169
|
+
</td>
|
|
170
|
+
<td style="text-align: center;">
|
|
171
|
+
<nobr><font>{{ row.danweikw }}</font></nobr>
|
|
172
|
+
</td>
|
|
173
|
+
<td style="text-align: center;">
|
|
174
|
+
<nobr><font>{{ row.danweimw }}</font></nobr>
|
|
175
|
+
</td>
|
|
176
|
+
<td style="text-align: center;">
|
|
177
|
+
<nobr><font>{{ row.dunwei }}</font></nobr>
|
|
178
|
+
</td>
|
|
179
|
+
<td style="text-align: center;">
|
|
180
|
+
<nobr><font>{{ row.f_contract_state }}</font></nobr>
|
|
181
|
+
</td>
|
|
182
|
+
<td style="text-align: center;">
|
|
183
|
+
<nobr><font>{{ row.f_apply_num }}</font></nobr>
|
|
184
|
+
</td>
|
|
185
|
+
<td style="text-align: center;">
|
|
186
|
+
<nobr><font>{{ row.f_apply_type }}</font></nobr>
|
|
187
|
+
</td>
|
|
188
|
+
<td style="text-align: center;">
|
|
189
|
+
<nobr><font>{{ row.f_apply_nature }}</font></nobr>
|
|
190
|
+
</td>
|
|
191
|
+
<td style="text-align: center;">
|
|
192
|
+
<nobr><font>{{ row.count }}</font></nobr>
|
|
193
|
+
</td>
|
|
194
|
+
</tr>
|
|
195
|
+
</template>
|
|
196
|
+
</data-grid>
|
|
197
|
+
</criteria-paged>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
</template>
|
|
201
|
+
|
|
202
|
+
<script>
|
|
203
|
+
import {PagedList} from 'vue-client'
|
|
204
|
+
import {HttpResetClass} from 'vue-client'
|
|
205
|
+
import {isEmpty} from '../../Util'
|
|
206
|
+
|
|
207
|
+
export default {
|
|
208
|
+
title: '报建设备列表',
|
|
209
|
+
data () {
|
|
210
|
+
return {
|
|
211
|
+
model: new PagedList('rs/sql/getApplyDevices', 30, {
|
|
212
|
+
data: {
|
|
213
|
+
f_filiale: this.$login.f.f_fengongsi
|
|
214
|
+
}
|
|
215
|
+
}),
|
|
216
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
217
|
+
criteriaShow: false,
|
|
218
|
+
getfield: {
|
|
219
|
+
'f_apply_num': ' 报 建 编 号 ',
|
|
220
|
+
'f_user_name': ' 用 户 名 称 ',
|
|
221
|
+
'f_phone': ' 电 话 ',
|
|
222
|
+
'f_entrust_contract_number': ' 委托合同编号 ',
|
|
223
|
+
'f_contract_number': ' 供用气合同编号 ',
|
|
224
|
+
'f_contract_state': ' 合同状态 ',
|
|
225
|
+
'f_due_money': ' 合同金额 ',
|
|
226
|
+
'f_charge_date': ' 收费日期 ',
|
|
227
|
+
'f_apply_type': ' 报 建 类 型 ',
|
|
228
|
+
'f_apply_nature': ' 报建性质 ',
|
|
229
|
+
'count': ' 安装处数 ',
|
|
230
|
+
'huoyan': ' 火眼 ',
|
|
231
|
+
'xiaohuoyan': ' 小火眼 ',
|
|
232
|
+
'bigualu': ' 壁挂炉 ',
|
|
233
|
+
'jiayongzao': ' 家用灶 ',
|
|
234
|
+
'reshuiqi': ' 热水器 ',
|
|
235
|
+
'cainuanlu': ' 采暖炉 ',
|
|
236
|
+
'chashuilu': ' 茶水炉 ',
|
|
237
|
+
'zhengche': ' 蒸车 ',
|
|
238
|
+
'zhengqifashengqi': ' 蒸汽发生器 ',
|
|
239
|
+
'zaoju': ' 灶具 ',
|
|
240
|
+
'yasuoji': ' 压缩机 ',
|
|
241
|
+
'mokuailu': ' 模块炉 ',
|
|
242
|
+
'danweikw': ' 锅炉单位(KW) ',
|
|
243
|
+
'danweimw': ' 锅炉单位(MW) ',
|
|
244
|
+
'dunwei': ' 锅炉吨位(T) '
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
ready () {
|
|
249
|
+
// 调用查询
|
|
250
|
+
this.search()
|
|
251
|
+
},
|
|
252
|
+
methods: {
|
|
253
|
+
clear () {
|
|
254
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
255
|
+
this.$refs.cp.$refs.cri.model[key] = []
|
|
256
|
+
})
|
|
257
|
+
},
|
|
258
|
+
// 查询
|
|
259
|
+
search () {
|
|
260
|
+
this.$refs.cp.$refs.cri.search()
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
computed: {
|
|
264
|
+
getCondition () {
|
|
265
|
+
return {
|
|
266
|
+
condition: this.$refs.cp.$refs.cri.condition,
|
|
267
|
+
data: {
|
|
268
|
+
f_filiale: this.$login.f.f_fengongsi
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
</script>
|
|
275
|
+
|
|
276
|
+
<style scoped>
|
|
277
|
+
</style>
|
|
@@ -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>
|