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,105 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div style="height: 95%">
|
|
5
|
+
<stop-apply-list v-ref:query></stop-apply-list>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<validator name="v">
|
|
10
|
+
<modal v-if="showModal" :show.sync="showModal" backdrop="false" large>
|
|
11
|
+
<header slot="modal-header" class="modal-header">
|
|
12
|
+
<button type="button" class="close" @click="closeModal()"><span>×</span></button>
|
|
13
|
+
<span class="modal-title"><font size="3">撤销</font></span>
|
|
14
|
+
</header>
|
|
15
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
16
|
+
<div class="form-group" :class="[$v.f_cancel_reason.required ? 'has-error' : '']">
|
|
17
|
+
<label class="control-label-justify control-label col-sm-1">撤销原因</label>
|
|
18
|
+
<div class="col-sm-9">
|
|
19
|
+
<textarea
|
|
20
|
+
class="form-control input_view" style="width: 100%" rows="5"
|
|
21
|
+
v-model="selectdata.f_cancel_reason" :value="selectdata.f_cancel_reason"
|
|
22
|
+
v-validate:f_cancel_reason = "['required']"
|
|
23
|
+
></textarea>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</article>
|
|
27
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
28
|
+
<button class="btn btn-primary" :disabled="!$v.valid" type="button" @click="confirmModal()">
|
|
29
|
+
确认
|
|
30
|
+
</button>
|
|
31
|
+
</footer>
|
|
32
|
+
</modal>
|
|
33
|
+
</validator>
|
|
34
|
+
</div>
|
|
35
|
+
</template>
|
|
36
|
+
|
|
37
|
+
<script>
|
|
38
|
+
export default {
|
|
39
|
+
title: '终止报建',
|
|
40
|
+
data () {
|
|
41
|
+
return {
|
|
42
|
+
showModal: false,
|
|
43
|
+
selectdata: null
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
ready () {
|
|
47
|
+
},
|
|
48
|
+
methods: {
|
|
49
|
+
closeModal () {
|
|
50
|
+
this.showModal = false
|
|
51
|
+
this.selectdata = null
|
|
52
|
+
|
|
53
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
54
|
+
},
|
|
55
|
+
async confirmModal () {
|
|
56
|
+
let data = {
|
|
57
|
+
selectdata: this.selectdata,
|
|
58
|
+
user: this.$login.f
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
let res = await this.$resetpost(
|
|
62
|
+
`rs/logic/cancelStopApply`,
|
|
63
|
+
{data: data},
|
|
64
|
+
{resolveMsg: null, rejectMsg: '撤销失败!!!'}
|
|
65
|
+
)
|
|
66
|
+
|
|
67
|
+
this.closeModal()
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
events: {
|
|
71
|
+
'search' () {
|
|
72
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
73
|
+
},
|
|
74
|
+
'cancelStopApply' (row) {
|
|
75
|
+
this.selectdata = row
|
|
76
|
+
|
|
77
|
+
this.showModal = true
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
</script>
|
|
82
|
+
|
|
83
|
+
<style scoped>
|
|
84
|
+
.control-label-justify {
|
|
85
|
+
display: inline-block;
|
|
86
|
+
vertical-align: top;
|
|
87
|
+
width: 110px;
|
|
88
|
+
text-align: justify;
|
|
89
|
+
font-family: PingFang-SC-Bold;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.control-label-justify::after {
|
|
93
|
+
content: "";
|
|
94
|
+
display: inline-block;
|
|
95
|
+
width: 100%;
|
|
96
|
+
overflow: hidden;
|
|
97
|
+
height: 0;
|
|
98
|
+
}
|
|
99
|
+
.clearfix:after,.clearfix:before{
|
|
100
|
+
display: table;
|
|
101
|
+
}
|
|
102
|
+
.clearfix:after{
|
|
103
|
+
clear: both;
|
|
104
|
+
}
|
|
105
|
+
</style>
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12">
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="form-group col-sm-3">
|
|
8
|
+
<label class="font_normal_body">报建编号:</label>
|
|
9
|
+
<input type="text" style="width:60%" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
|
|
10
|
+
v-on:keyup.enter="search"
|
|
11
|
+
condition="f_apply_num = '{}'">
|
|
12
|
+
</div>
|
|
13
|
+
<div class="form-group col-sm-3">
|
|
14
|
+
<label class="font_normal_body">客户名称:</label>
|
|
15
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
16
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_user_name like '%{}%'" placeholder='客户名称'>
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-3">
|
|
19
|
+
<label class="font_normal_body">电  话:</label>
|
|
20
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_phone"
|
|
21
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_phone = '{}'" placeholder='电话'>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-sm-2 button-range">
|
|
24
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
25
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
26
|
+
<div
|
|
27
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
28
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
29
|
+
class="button_spacing"
|
|
30
|
+
style="float: right">
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
35
|
+
<div class="form-group col-sm-3">
|
|
36
|
+
<label class="font_normal_body">报建类型:</label>
|
|
37
|
+
<v-select
|
|
38
|
+
v-model="model.f_apply_type"
|
|
39
|
+
placeholder='报建类型'
|
|
40
|
+
condition="f_apply_type like '%{}%'"
|
|
41
|
+
:value.sync="model.f_apply_type"
|
|
42
|
+
:options='$parent.$parent.applytype'
|
|
43
|
+
class="select select_list"
|
|
44
|
+
:value-single="true"
|
|
45
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
46
|
+
close-on-select ></v-select>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="form-group col-sm-3">
|
|
49
|
+
<label class="font_normal_body">办理环节:</label>
|
|
50
|
+
<v-select
|
|
51
|
+
v-model="model.defname"
|
|
52
|
+
placeholder='办理环节'
|
|
53
|
+
condition="defname = '{}'"
|
|
54
|
+
:value.sync="model.defname"
|
|
55
|
+
:options='$parent.$parent.defnames'
|
|
56
|
+
class="select select_list"
|
|
57
|
+
:value-single="true"
|
|
58
|
+
close-on-select ></v-select>
|
|
59
|
+
</div>
|
|
60
|
+
<div class="form-group col-sm-3">
|
|
61
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
62
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
63
|
+
style="width: 60%!important;"
|
|
64
|
+
v-model="model.startDate"
|
|
65
|
+
:value.sync="model.startDate"
|
|
66
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
67
|
+
:show-reset-button="true"
|
|
68
|
+
condition="f_apply_date >= '{}'">
|
|
69
|
+
</datepicker>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="form-group col-sm-3">
|
|
72
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
73
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
74
|
+
style="width: 60%!important;"
|
|
75
|
+
v-model="model.endDate"
|
|
76
|
+
:value.sync="model.endDate"
|
|
77
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
78
|
+
:show-reset-button="true"
|
|
79
|
+
condition="f_apply_date <= '{}'">
|
|
80
|
+
</datepicker>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
</criteria>
|
|
85
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
86
|
+
<template partial='head'>
|
|
87
|
+
<tr>
|
|
88
|
+
<th style="white-space: nowrap;">序号</th>
|
|
89
|
+
<th style="white-space: nowrap;">报建编号</th>
|
|
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
|
+
</tr>
|
|
104
|
+
</template>
|
|
105
|
+
<template partial='body'>
|
|
106
|
+
<tr>
|
|
107
|
+
<td style="text-align: center;">
|
|
108
|
+
<nobr>{{$index+1}}</nobr>
|
|
109
|
+
</td>
|
|
110
|
+
<td style="text-align: center;">
|
|
111
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
112
|
+
</td>
|
|
113
|
+
<td style="text-align: center;">
|
|
114
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
115
|
+
</td>
|
|
116
|
+
<td style="text-align: center;">
|
|
117
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
118
|
+
</td>
|
|
119
|
+
<td style="text-align: center;">
|
|
120
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
121
|
+
</td>
|
|
122
|
+
<td style="text-align: center;">
|
|
123
|
+
<nobr>{{row.defname}}</nobr>
|
|
124
|
+
</td>
|
|
125
|
+
<td style="text-align: center;">
|
|
126
|
+
<nobr>{{row.f_type}}</nobr>
|
|
127
|
+
</td>
|
|
128
|
+
<td style="text-align: center;">
|
|
129
|
+
<nobr>{{row.f_state}}</nobr>
|
|
130
|
+
</td>
|
|
131
|
+
<td style="text-align: center;">
|
|
132
|
+
<nobr>{{row.f_stop_reason}}</nobr>
|
|
133
|
+
</td>
|
|
134
|
+
<td style="text-align: center;">
|
|
135
|
+
<nobr>{{row.f_stop_date}}</nobr>
|
|
136
|
+
</td>
|
|
137
|
+
<td style="text-align: center;">
|
|
138
|
+
<nobr>{{row.f_operator}}</nobr>
|
|
139
|
+
</td>
|
|
140
|
+
<td style="text-align: center;">
|
|
141
|
+
<nobr>{{row.f_cancel_reason}}</nobr>
|
|
142
|
+
</td>
|
|
143
|
+
<td style="text-align: center;">
|
|
144
|
+
<nobr>{{row.f_cancel_date}}</nobr>
|
|
145
|
+
</td>
|
|
146
|
+
<td style="text-align: center;">
|
|
147
|
+
<nobr>{{row.f_cancel_operator}}</nobr>
|
|
148
|
+
</td>
|
|
149
|
+
<td style="text-align: center;">
|
|
150
|
+
<dropdown v-if="row.f_state === '有效' && row.f_operatorid === $login.f.id">
|
|
151
|
+
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
152
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
153
|
+
</button>
|
|
154
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
155
|
+
<li>
|
|
156
|
+
<a href="#" @click="$parent.$parent.$parent.click(row)">撤销</a>
|
|
157
|
+
</li>
|
|
158
|
+
</ul>
|
|
159
|
+
</dropdown>
|
|
160
|
+
</td>
|
|
161
|
+
</tr>
|
|
162
|
+
</template>
|
|
163
|
+
</data-grid>
|
|
164
|
+
</criteria-paged>
|
|
165
|
+
</div>
|
|
166
|
+
</template>
|
|
167
|
+
<script>
|
|
168
|
+
import {PagedList} from 'vue-client'
|
|
169
|
+
import {isEmpty} from '../../Util'
|
|
170
|
+
export default {
|
|
171
|
+
title: '勘探详情',
|
|
172
|
+
data () {
|
|
173
|
+
return {
|
|
174
|
+
model: new PagedList('rs/sql/getStopApply', 20, null),
|
|
175
|
+
curorgid: [this.$login.f.orgid],
|
|
176
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
177
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
178
|
+
criteriaShow: false
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
ready () {
|
|
182
|
+
// 调用查询
|
|
183
|
+
this.search()
|
|
184
|
+
},
|
|
185
|
+
events: {
|
|
186
|
+
},
|
|
187
|
+
methods: {
|
|
188
|
+
// 查询
|
|
189
|
+
search () {
|
|
190
|
+
this.$dispatch('search')
|
|
191
|
+
},
|
|
192
|
+
click (row) {
|
|
193
|
+
this.$dispatch('cancelStopApply', row)
|
|
194
|
+
},
|
|
195
|
+
async applyTypeChange () {
|
|
196
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
197
|
+
let res = await this.$resetpost('rs/logic/getDefnameByType',
|
|
198
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
199
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
200
|
+
)
|
|
201
|
+
|
|
202
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
203
|
+
} else {
|
|
204
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
clear () {
|
|
208
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
209
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
210
|
+
})
|
|
211
|
+
},
|
|
212
|
+
getorg (val) {
|
|
213
|
+
if (val.length <= 0) {
|
|
214
|
+
return
|
|
215
|
+
}
|
|
216
|
+
this.model.params.data.orgid = val[0]
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
computed: {
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
</script>
|
|
223
|
+
<style scoped>
|
|
224
|
+
</style>
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<button v-show="isshow" class="button_export button_spacing" @click.prevent='exportExcel()'
|
|
3
|
+
:id="'vc-exportexcel-'+attach">{{ btnName }}
|
|
4
|
+
</button>
|
|
5
|
+
<modal :show.sync="show" v-ref:modal backdrop="false">
|
|
6
|
+
<header slot="modal-header" class="modal-header text-center">
|
|
7
|
+
<div v-show="!progressShow">
|
|
8
|
+
<h4 class="modal-title">导出列选择</h4>
|
|
9
|
+
<input type="checkbox" class="" id="f_operator" v-model="all">
|
|
10
|
+
<label for="f_operator" class="font-size">全选</label>
|
|
11
|
+
<input type="checkbox" class="" id="f_operator1" v-model="civils">
|
|
12
|
+
<label for="f_operator1" class="font-size">民用</label>
|
|
13
|
+
<input type="checkbox" class="" id="f_operator2" v-model="uncivils">
|
|
14
|
+
<label for="f_operator2" class="font-size">非民用</label>
|
|
15
|
+
</div>
|
|
16
|
+
<div v-show="progressShow">
|
|
17
|
+
<h4 class="modal-title">导出中,请耐心等待...</h4>
|
|
18
|
+
</div>
|
|
19
|
+
</header>
|
|
20
|
+
<article slot="modal-body">
|
|
21
|
+
<div class="auto col-sm-11 col-md-offset-1" style="margin-top: 10px;" v-show="!progressShow">
|
|
22
|
+
<div class="col-sm-4" v-for="f in fields">
|
|
23
|
+
<input type="checkbox" class="" :id="'export-col-'+$index" v-model="modelval" :value="$key">
|
|
24
|
+
<label :for="'export-col-'+$index" class="font-size">{{ f }}</label>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
<div class="progress" style="margin: 20px" v-show="progressShow">
|
|
28
|
+
<div class="progress-bar progress-bar-success progress-bar-striped active" :style="{width: percent}">
|
|
29
|
+
{{ percent }}
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</article>
|
|
33
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
34
|
+
<center>
|
|
35
|
+
<button v-show="show" type="button" class="btn btn-default" @click='close()'>取消</button>
|
|
36
|
+
<button v-show="show && !progressShow" type="button" class="btn btn-success" @click='export()'>导出</button>
|
|
37
|
+
</center>
|
|
38
|
+
</footer>
|
|
39
|
+
</modal>
|
|
40
|
+
</template>
|
|
41
|
+
|
|
42
|
+
<script>
|
|
43
|
+
import co from 'co'
|
|
44
|
+
import {HttpResetClass} from 'vue-client'
|
|
45
|
+
|
|
46
|
+
let postGen = function* (self) {
|
|
47
|
+
try {
|
|
48
|
+
let p = {}
|
|
49
|
+
// 判断如果有field,说明表头为自动生成,否则为模板导出
|
|
50
|
+
if (self.exporthead) {
|
|
51
|
+
if (self.sqlName) {
|
|
52
|
+
p = yield self.$resetpost(self.sqlurl, {
|
|
53
|
+
data: {
|
|
54
|
+
body: {
|
|
55
|
+
header: self.header,
|
|
56
|
+
footer: self.footer,
|
|
57
|
+
sumName: self.sumname,
|
|
58
|
+
data: self.data,
|
|
59
|
+
field: self.exporthead,
|
|
60
|
+
templateName: self.templateName,
|
|
61
|
+
sqlName: self.sqlName,
|
|
62
|
+
uuid: self.uuid
|
|
63
|
+
},
|
|
64
|
+
bean: self.bean
|
|
65
|
+
}
|
|
66
|
+
}, {resolveMsg: null, rejectMsg: null}, 1000)
|
|
67
|
+
} else if (self.pathName) {
|
|
68
|
+
p = yield self.$resetpost(self.sqlurl, {
|
|
69
|
+
data: {
|
|
70
|
+
body: {
|
|
71
|
+
sumName: self.sumname,
|
|
72
|
+
data: self.data,
|
|
73
|
+
field: self.exporthead,
|
|
74
|
+
templateName: self.templateName,
|
|
75
|
+
pathName: self.pathName,
|
|
76
|
+
uuid: self.uuid
|
|
77
|
+
},
|
|
78
|
+
bean: self.bean
|
|
79
|
+
}
|
|
80
|
+
}, {resolveMsg: null, rejectMsg: null}, 0)
|
|
81
|
+
}
|
|
82
|
+
} else {
|
|
83
|
+
p = yield self.$resetpost(self.sqlurl, {
|
|
84
|
+
data: {
|
|
85
|
+
body: {sumName: self.sumname, data: self.data, total: self.total, uuid: self.uuid},
|
|
86
|
+
bean: self.bean
|
|
87
|
+
}
|
|
88
|
+
}, {resolveMsg: null, rejectMsg: null}, 0)
|
|
89
|
+
}
|
|
90
|
+
} catch (e) {
|
|
91
|
+
console.error(e)
|
|
92
|
+
}
|
|
93
|
+
self.modelval = []
|
|
94
|
+
self.fields = {}
|
|
95
|
+
self.exporthead = []
|
|
96
|
+
self.progressQuery()
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export default {
|
|
100
|
+
//uuid:需要导出的Excel对应的key
|
|
101
|
+
// data:sql需要的替换字段
|
|
102
|
+
// sqlurl:导出Excel查询的sql语句
|
|
103
|
+
// field:需要导出Excel的字段名和对应中文名或hbm配置文件名(全名)
|
|
104
|
+
// total:统计字段(统计行)
|
|
105
|
+
// props: ['data', 'sqlurl', 'field', 'total', 'bean', 'chooseCol','sumName'],
|
|
106
|
+
data() {
|
|
107
|
+
return {
|
|
108
|
+
uuid: '',
|
|
109
|
+
show: false,
|
|
110
|
+
all: false,
|
|
111
|
+
civils: false,
|
|
112
|
+
uncivils: false,
|
|
113
|
+
fields: {},
|
|
114
|
+
modelval: [],
|
|
115
|
+
// 表头
|
|
116
|
+
exporthead: [],
|
|
117
|
+
selftotal: [],
|
|
118
|
+
// sumName:[],
|
|
119
|
+
// 进度条显示
|
|
120
|
+
progressShow: false,
|
|
121
|
+
// 进度百分比
|
|
122
|
+
percent: '0%',
|
|
123
|
+
// 定时器
|
|
124
|
+
timer: null,
|
|
125
|
+
// 请求对象
|
|
126
|
+
HttpReset: new HttpResetClass()
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
props: {
|
|
130
|
+
// 表头
|
|
131
|
+
header: {},
|
|
132
|
+
// 表尾
|
|
133
|
+
footer: {},
|
|
134
|
+
sumname: {},
|
|
135
|
+
data: {},
|
|
136
|
+
sqlurl: {
|
|
137
|
+
type: String
|
|
138
|
+
},
|
|
139
|
+
field: {},
|
|
140
|
+
civil: {},
|
|
141
|
+
uncivil: {},
|
|
142
|
+
total: {},
|
|
143
|
+
bean: {
|
|
144
|
+
type: String
|
|
145
|
+
},
|
|
146
|
+
progress: {
|
|
147
|
+
type: String,
|
|
148
|
+
default: 'getExportProgress'
|
|
149
|
+
},
|
|
150
|
+
btnName: {
|
|
151
|
+
type: String,
|
|
152
|
+
default: '导出Excel'
|
|
153
|
+
},
|
|
154
|
+
templateName: {
|
|
155
|
+
type: String
|
|
156
|
+
},
|
|
157
|
+
sqlName: {
|
|
158
|
+
type: String
|
|
159
|
+
},
|
|
160
|
+
pathName: {
|
|
161
|
+
type: String
|
|
162
|
+
},
|
|
163
|
+
attach: {
|
|
164
|
+
type: String,
|
|
165
|
+
default: 'name'
|
|
166
|
+
},
|
|
167
|
+
chooseCol: {
|
|
168
|
+
type: Boolean,
|
|
169
|
+
default: false
|
|
170
|
+
},
|
|
171
|
+
isshow: {
|
|
172
|
+
type: Boolean,
|
|
173
|
+
default: true
|
|
174
|
+
},
|
|
175
|
+
defaultselect: [],
|
|
176
|
+
chooserow: {
|
|
177
|
+
type: Boolean,
|
|
178
|
+
default: false
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
beforeDestroy() {
|
|
182
|
+
this.closeTimer()
|
|
183
|
+
},
|
|
184
|
+
methods: {
|
|
185
|
+
|
|
186
|
+
exportExcel() {
|
|
187
|
+
console.log('选择列,。。', this.chooseCol, this.field)
|
|
188
|
+
if (this.field) {
|
|
189
|
+
if (this.chooseCol === true) {
|
|
190
|
+
this.fields = this.field
|
|
191
|
+
this.show = true;
|
|
192
|
+
debugger
|
|
193
|
+
if (this.defaultselect != null && this.defaultselect) {
|
|
194
|
+
for (var item in this.defaultselect) {
|
|
195
|
+
this.modelval.push(item)
|
|
196
|
+
}
|
|
197
|
+
if (this.chooserow) {
|
|
198
|
+
this.export()
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
} else {
|
|
203
|
+
this.data.items = '*'
|
|
204
|
+
Object.keys(this.field).forEach((key) => {
|
|
205
|
+
this.exporthead.push(key + ':' + this.field[key])
|
|
206
|
+
})
|
|
207
|
+
this.post()
|
|
208
|
+
}
|
|
209
|
+
} else {
|
|
210
|
+
this.post()
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
export() {
|
|
214
|
+
if (this.$login.r.includes('限制导出')) {
|
|
215
|
+
this.$showMessage('你被限制导出, 请联系管理员')
|
|
216
|
+
return
|
|
217
|
+
}
|
|
218
|
+
// 获取导出选择的表头和列
|
|
219
|
+
let temp = ''
|
|
220
|
+
this.modelval.forEach((item) => {
|
|
221
|
+
temp = temp + item + ','
|
|
222
|
+
this.exporthead.push(item + ':' + this.field[item])
|
|
223
|
+
//this.exporthead[item] = this.field[item]
|
|
224
|
+
})
|
|
225
|
+
temp = temp.slice(0, temp.length - 1)
|
|
226
|
+
console.log('表头,,,,', this.exporthead)
|
|
227
|
+
this.data.items = temp
|
|
228
|
+
this.post()
|
|
229
|
+
},
|
|
230
|
+
post() {
|
|
231
|
+
// if(this.total) {
|
|
232
|
+
//
|
|
233
|
+
// var temp={"合计":"合计"}
|
|
234
|
+
// for (var a in this.field) {
|
|
235
|
+
// for (var b in this.total) {
|
|
236
|
+
// if(a==b){
|
|
237
|
+
// temp[a]=this.total[a]
|
|
238
|
+
// }
|
|
239
|
+
// }
|
|
240
|
+
// }
|
|
241
|
+
// this.selftotal.push(temp)
|
|
242
|
+
// console.log("========================")
|
|
243
|
+
// console.log(temp)
|
|
244
|
+
//
|
|
245
|
+
// // this.selftotal.push(this.total)
|
|
246
|
+
// // this.selftotal[0].a="合计"
|
|
247
|
+
// }
|
|
248
|
+
this.uuid = this.guid();
|
|
249
|
+
let gen = postGen(this)
|
|
250
|
+
co(gen)
|
|
251
|
+
},
|
|
252
|
+
stamp() {
|
|
253
|
+
this.modelval = []
|
|
254
|
+
this.show = true
|
|
255
|
+
},
|
|
256
|
+
sortModelval() {
|
|
257
|
+
let sortModel = []
|
|
258
|
+
Object.keys(this.fields).forEach((key) => {
|
|
259
|
+
if (this.modelval.includes(key)) {
|
|
260
|
+
sortModel.push(key)
|
|
261
|
+
}
|
|
262
|
+
})
|
|
263
|
+
console.log('看看选择的顺序。。。', sortModel)
|
|
264
|
+
this.modelval = sortModel
|
|
265
|
+
},
|
|
266
|
+
close() {
|
|
267
|
+
this.closeTimer()
|
|
268
|
+
this.all = false
|
|
269
|
+
this.civils = false
|
|
270
|
+
this.uncivils = false
|
|
271
|
+
this.modelval = []
|
|
272
|
+
this.show = false
|
|
273
|
+
this.progressShow = false
|
|
274
|
+
this.percent = '0%'
|
|
275
|
+
},
|
|
276
|
+
progressQuery() {
|
|
277
|
+
console.log('导出进度开始查询')
|
|
278
|
+
this.progressShow = true
|
|
279
|
+
// 启动定时器之前先关闭定时器,防止之前的定时器未关闭
|
|
280
|
+
this.closeTimer()
|
|
281
|
+
// 立即执行一遍
|
|
282
|
+
this.progressTask()
|
|
283
|
+
this.timer = setInterval(this.progressTask, 3000)
|
|
284
|
+
},
|
|
285
|
+
async progressTask() {
|
|
286
|
+
let self = this
|
|
287
|
+
let res = await self.HttpReset.load('POST', `rs/logic/getBatchOperaPro`,{data: {uuid: self.uuid}}, {resolveMsg: null, rejectMsg: null})
|
|
288
|
+
res = res.data
|
|
289
|
+
console.log('进度数据', res)
|
|
290
|
+
if (res.error) {
|
|
291
|
+
self.$showAlert(`导出excel错误: ${res.error}`, 'danger', 0)
|
|
292
|
+
self.closeTimer()
|
|
293
|
+
} else {
|
|
294
|
+
// self.$showAlert(`${res.msg}`, 'success', 2000)
|
|
295
|
+
self.percent = (res.percent ? res.percent : 0) + '%'
|
|
296
|
+
// 进度100%
|
|
297
|
+
if (res.fileName && res.percent == 100) {
|
|
298
|
+
var link = document.createElement('a');
|
|
299
|
+
res.fileName.forEach((item) => {
|
|
300
|
+
console.log('导出路径', item.filename)
|
|
301
|
+
// let path = item.filename.substring(item.filename.indexOf('webapps'), (item.filename.length))
|
|
302
|
+
// let pathName = path.substring(path.indexOf('/') + 1, path.length)
|
|
303
|
+
let path = item.filename
|
|
304
|
+
//webapps这个是在服务器上导出用的
|
|
305
|
+
var xy=this.$appdata.getSingleValue('协议')?this.$appdata.getSingleValue('协议'):"http://"
|
|
306
|
+
let pathName = xy + location.host + "/webapps" + path.split('webapps')[1]
|
|
307
|
+
//excel这个是在本地导出用的
|
|
308
|
+
// let pathName = "http://" + location.host + "/excel" + path.split('excel')[1]
|
|
309
|
+
link.href = pathName;
|
|
310
|
+
link.download = path.split('excel/')[1];
|
|
311
|
+
link.dispatchEvent(new MouseEvent('click'));
|
|
312
|
+
})
|
|
313
|
+
self.close()
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
// 关闭定时器
|
|
318
|
+
closeTimer() {
|
|
319
|
+
if (this.timer) {
|
|
320
|
+
clearInterval(this.timer)
|
|
321
|
+
this.timer = null
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
guid() {
|
|
325
|
+
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
326
|
+
let r = Math.random() * 16 | 0,
|
|
327
|
+
v = c == 'x' ? r : (r & 0x3 | 0x8)
|
|
328
|
+
return v.toString(16)
|
|
329
|
+
})
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
watch: {
|
|
333
|
+
'all'(val) {
|
|
334
|
+
if (val) {
|
|
335
|
+
this.modelval = Object.keys(this.fields)
|
|
336
|
+
} else {
|
|
337
|
+
this.modelval = []
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
'civils'(val) {
|
|
341
|
+
if (val) {
|
|
342
|
+
this.modelval = Object.keys(this.civil)
|
|
343
|
+
} else {
|
|
344
|
+
this.modelval = []
|
|
345
|
+
}
|
|
346
|
+
},
|
|
347
|
+
'uncivils'(val) {
|
|
348
|
+
if (val) {
|
|
349
|
+
this.modelval = Object.keys(this.uncivil)
|
|
350
|
+
} else {
|
|
351
|
+
this.modelval = []
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
|
|
355
|
+
'modelval.length'() {
|
|
356
|
+
this.sortModelval()
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
</script>
|