apply-clients 3.2.36 → 3.2.49
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/dist-android/static/15.js +2 -2
- package/dist-android/static/23.js +2 -2
- package/index.html +1 -1
- package/package.json +5 -5
- package/src/AndroidApp.vue +10 -9
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +288 -0
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
- package/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/apply.js +143 -25
- package/src/applyAndroid.js +5 -3
- package/src/components/Util.js +5 -5
- package/src/components/app_apply/AppServiceView.vue +2 -2
- package/src/components/app_apply/Process/AppExplorationUser.vue +200 -310
- package/src/components/app_apply/Process/AppProgressReport.vue +84 -0
- package/src/components/app_apply/Process/AppServiceControl.vue +215 -4
- package/src/components/app_apply/ProgressReport/ProgressReportDetail.vue +64 -0
- package/src/components/app_apply/ProgressReport/ProgressReportList.vue +209 -0
- package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +12 -129
- package/src/components/image/tubiao.png +0 -0
- package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeList.vue +4 -8
- package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeSearch.vue +2 -4
- package/src/components/product/{Function → Apply/Function}/InstallFunction.vue +4 -4
- package/src/components/product/{Function → Apply/Function}/InstallInfoSelect.vue +12 -16
- package/src/components/product/{Function → Apply/Function}/Service/FunctionServiceControl.vue +0 -1
- package/src/components/product/{Function → Apply/Function}/StopApplyCrrdList.vue +0 -0
- package/src/components/product/{Function → Apply/Function}/functions/ApplyRecordCancel.vue +1 -1
- package/src/components/product/{Function → Apply/Function}/functions/StopInstall.vue +11 -25
- package/src/components/product/{Process → Apply/Process}/ExplorationSelect.vue +5 -8
- package/src/components/product/{Process → Apply/Process}/ExplorationUser.vue +3 -4
- package/src/components/product/Apply/Process/Processes/InstallationDetails.vue +478 -0
- package/src/components/product/{Process → Apply/Process}/Processes/addressAndUserinfoManagement.vue +3 -8
- package/src/components/product/{Process → Apply/Process}/Processes/chargeManagement.vue +11 -51
- package/src/components/product/{Process → Apply/Process}/Processes/supplementalAgreement.vue +1 -1
- package/src/components/product/{Process → Apply/Process}/Service/ServiceControl.vue +11 -75
- package/src/components/product/{Process → Apply/Process}/ShowBackReason.vue +0 -0
- package/src/components/product/{Supervisory → Apply/Supervisory}/Service/SupervisoryServiceControl.vue +0 -5
- package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryControl.vue +43 -22
- package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryList.vue +15 -13
- package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryhCart.vue +1 -1
- package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContract.vue +156 -0
- package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractInformation.vue +429 -0
- package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractList.vue +267 -0
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContract.vue +138 -0
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractInformation.vue +715 -0
- package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractList.vue +304 -0
- package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContract.vue +119 -0
- package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractInformation.vue +286 -0
- package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractList.vue +258 -0
- package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecord.vue +24 -0
- package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecordList.vue +218 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityEmployRecord.vue +124 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventory.vue +307 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryInformation.vue +583 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryList.vue +285 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityServiceRecord.vue +113 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addFacilityInformation.vue +406 -0
- package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addoldFacilityInformation.vue +326 -0
- package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecord.vue +24 -0
- package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecordList.vue +157 -0
- package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecord.vue +24 -0
- package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecordList.vue +168 -0
- package/src/components/product/Ledger/FileDownload/FileDownload.vue +42 -0
- package/src/components/product/Ledger/Function/InstallFunction.vue +118 -0
- package/src/components/product/Ledger/Function/InstallInfoSelect.vue +299 -0
- package/src/components/product/Ledger/Function/Service/FunctionServiceControl.vue +220 -0
- package/src/components/product/Ledger/Function/functions/PauseInstall.vue +92 -0
- package/src/components/product/Ledger/ImportApply/ImportApply.vue +68 -0
- package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecord.vue +24 -0
- package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecordList.vue +281 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformation.vue +313 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformationList.vue +250 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialDeliveryRecord.vue +110 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialEarlyWarning.vue +194 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialInformation.vue +186 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutStock.vue +438 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutboundOrder.vue +457 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialWarehousingRecord.vue +110 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseMaterial.vue +425 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseOrder.vue +481 -0
- package/src/components/product/Ledger/MaterialManagement/InventoryInformation/ReturnMaterial.vue +321 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrder.vue +86 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderInformation.vue +327 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderList.vue +304 -0
- package/src/components/product/Ledger/MaterialManagement/OutboundOrder/PrintMaterialBill.vue +139 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PrintPurchaseOrder.vue +157 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecords.vue +73 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsInformation.vue +268 -0
- package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsList.vue +261 -0
- package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecord.vue +24 -0
- package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecordList.vue +275 -0
- package/src/components/product/Ledger/Process/ProcessBusiness.vue +155 -0
- package/src/components/product/Ledger/Process/ProcessSelect.vue +340 -0
- package/src/components/product/Ledger/Process/Processes/ExhibitionPicture.vue +27 -0
- package/src/components/product/Ledger/Process/Processes/ProgressReport.vue +236 -0
- package/src/components/product/Ledger/Process/Processes/ProjectMaterialList.vue +77 -0
- package/src/components/product/Ledger/Process/Processes/QinhuaMaterialList.vue +72 -0
- package/src/components/product/Ledger/Process/Service/ServiceControl.vue +639 -0
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingInformation.vue +316 -0
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecord.vue +67 -0
- package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecordList.vue +194 -0
- package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningInformation.vue +385 -0
- package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecord.vue +70 -0
- package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecordList.vue +208 -0
- package/src/components/product/Ledger/Stop/StopApply.vue +103 -0
- package/src/components/product/Ledger/Stop/StopApplyList.vue +241 -0
- package/src/components/product/Ledger/Supervisory/ProcessSupervisory.vue +163 -0
- package/src/components/product/Ledger/Supervisory/Service/RenWuDan.vue +78 -0
- package/src/components/product/Ledger/Supervisory/Service/SupervisoryServiceControl.vue +606 -0
- package/src/components/product/Ledger/Supervisory/SupervisoryCart.vue +102 -0
- package/src/components/product/Ledger/Supervisory/SupervisoryList.vue +387 -0
- package/src/components/product/ServiceView.vue +376 -374
- package/src/components/product/VueUtils/ApplyUpload.vue +1 -3
- package/src/expandcssAndroid.less +534 -0
- package/src/main.js +2 -0
- package/static/Functions.js +91 -0
- package/static/Jsons.js +784 -0
- package/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
- package/static/ManagementControl/echarts10.png +0 -0
- package/static/ManagementControl/echarts11.png +0 -0
- package/static/ManagementControl/echarts12.png +0 -0
- package/static/ManagementControl/echarts13.png +0 -0
- package/static/ManagementControl/echarts14.png +0 -0
- package/static/ManagementControl/echarts15.png +0 -0
- package/static/ManagementControl/echarts16.png +0 -0
- package/static/ManagementControl/echarts17.png +0 -0
- package/static/ManagementControl/echarts18.png +0 -0
- package/static/ManagementControl/echarts4.png +0 -0
- package/static/ManagementControl/echarts5.png +0 -0
- package/static/ManagementControl/echarts51.png +0 -0
- package/static/ManagementControl/echarts6.png +0 -0
- package/static/ManagementControl/echarts7.png +0 -0
- package/static/ManagementControl/echarts71.png +0 -0
- package/static/ManagementControl/echarts8.png +0 -0
- package/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
- package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
- package/static/class.js +97 -0
- package/static/images/lefticon//346/226/207/344/273/266/346/250/241/345/235/227.png +0 -0
- package/static/init.js +135 -0
- package/static/jcwx.jpg +0 -0
- package/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/static/lefticon//345/233/276/345/261/202577.png +0 -0
- package/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/static/lefticon//347/237/251/345/275/2421183.png +0 -0
- package/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/static/loginbg1.jpg +0 -0
- package/static/loginbg_jincheng.jpg +0 -0
- package/static/loginbgmain.jpg +0 -0
- package/static/mainicon/adddevice.png +0 -0
- package/static/mainicon/addmeter.png +0 -0
- package/static/mainicon/bank.png +0 -0
- package/static/mainicon/biaopan.png +0 -0
- package/static/mainicon/cad.jpg +0 -0
- package/static/mainicon/chaobiaoyuan.png +0 -0
- package/static/mainicon/danganguanli.png +0 -0
- package/static/mainicon/deletedevice.png +0 -0
- package/static/mainicon/excel.jpg +0 -0
- package/static/mainicon/huizong.png +0 -0
- package/static/mainicon/jibiaoguanli.png +0 -0
- package/static/mainicon/jibiaoguanli2.png +0 -0
- package/static/mainicon/jiezhang.png +0 -0
- package/static/mainicon/loginbg.jpg +0 -0
- package/static/mainicon/shouqishoufei.png +0 -0
- package/static/mainicon/treeopen.png +0 -0
- package/static/mainicon/treeout.png +0 -0
- package/static/mainicon/treeset.png +0 -0
- package/static/mainicon/word.jpg +0 -0
- package/static/mainicon/wulianwang.png +0 -0
- package/static/mainicon/yingyechaxun.png +0 -0
- package/static/mainicon/zongheyewu.png +0 -0
- package/static/newStyle/loginbg-liaoyuan.gif +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/static/newStyle/loginbg1366.gif +0 -0
- package/static/newStyle/loginbg_1.gif +0 -0
- package/static/newStyle/searchin.png +0 -0
- package/static/newStyle/searchout.png +0 -0
- package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
- package/static/newStyle.7z +0 -0
- package/static/newStyle.zip +0 -0
- package/static/refresh.png +0 -0
- package/static/static.zip +0 -0
- package/static/tools.js +246 -0
- package/static/treeclose.png +0 -0
- package/static/wasm_exec.js +591 -0
- package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +0 -456
- package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
- package/src/components/product/Process/Processes/InstallationDetails.vue +0 -515
- package/src/components/product/Process/Processes/printCharge.vue +0 -133
- package/src/components/product/Test.vue +0 -36
- package/src/components/product/VueUtils/ToolsPage.vue +0 -51
- package/src/components/product/VueUtils/Tree.vue +0 -330
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
<div class="col-sm-12 auto">
|
|
3
3
|
<validator name="v">
|
|
4
4
|
<form class="form-horizontal">
|
|
5
|
-
<div class="form-group col-sm-12" style="margin: 100px 0px">
|
|
5
|
+
<div :class="f_stop_reason ? 'form-group col-sm-12' : 'form-group col-sm-12 has-error'" style="margin: 100px 0px">
|
|
6
6
|
<div class="col-sm-2">
|
|
7
7
|
<label class="control-label col-sm-12">终止原因:</label>
|
|
8
8
|
</div>
|
|
9
9
|
<div class="col-sm-10">
|
|
10
|
-
<textarea class="form-control" rows="3" v-model="
|
|
10
|
+
<textarea class="form-control" rows="3" v-model="f_stop_reason"></textarea>
|
|
11
11
|
</div>
|
|
12
12
|
</div>
|
|
13
13
|
<div class="col-sm-12 form-group text-center">
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
|
|
48
48
|
<div class="from-group col-sm-12">
|
|
49
49
|
<center>
|
|
50
|
-
<button type="button" @click="confirm()" :disabled="
|
|
50
|
+
<button type="button" @click="confirm()" :disabled="!f_stop_reason" class="btn btn-primary" style="width: 100px">
|
|
51
51
|
保存
|
|
52
52
|
</button>
|
|
53
53
|
</center>
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
</div>
|
|
56
56
|
</template>
|
|
57
57
|
<script>
|
|
58
|
-
import * as Util from '
|
|
58
|
+
import * as Util from '../../../../Util'
|
|
59
59
|
import {HttpResetClass} from 'vue-client'
|
|
60
60
|
export default {
|
|
61
61
|
title: '终止报建',
|
|
@@ -66,39 +66,25 @@
|
|
|
66
66
|
f_date: Util.toStandardTimeString(),
|
|
67
67
|
f_department: this.$login.f.f_department_name,
|
|
68
68
|
f_operator: this.$login.f.name,
|
|
69
|
-
f_filiale: this.$login.f.orgs
|
|
70
|
-
f_stop_remarks: null
|
|
69
|
+
f_filiale: this.$login.f.orgs
|
|
71
70
|
},
|
|
72
|
-
|
|
71
|
+
f_stop_reason: null
|
|
73
72
|
}
|
|
74
73
|
},
|
|
75
74
|
methods: {
|
|
76
75
|
// 点击确认提交
|
|
77
|
-
confirm () {
|
|
78
|
-
this.disabled = true
|
|
76
|
+
async confirm () {
|
|
79
77
|
let http = new HttpResetClass()
|
|
80
78
|
let data = {
|
|
81
|
-
|
|
79
|
+
user: this.$login.f,
|
|
82
80
|
selectdata: this.data,
|
|
83
|
-
|
|
81
|
+
f_stop_reason: this.f_stop_reason
|
|
84
82
|
}
|
|
85
|
-
http.load('POST', 'rs/logic/stopApply', {data: data}, {resolveMsg: null,rejectMsg: '删除失败'})
|
|
86
|
-
|
|
87
|
-
if (res.data === 200) {
|
|
88
|
-
this.$dispatch('search')
|
|
89
|
-
} else {
|
|
90
|
-
this.$showMessage('终止报建失败')
|
|
91
|
-
}
|
|
92
|
-
})
|
|
83
|
+
await http.load('POST', 'rs/logic/stopApply', {data: data}, {resolveMsg: null,rejectMsg: '删除失败'})
|
|
84
|
+
this.$dispatch('search')
|
|
93
85
|
}
|
|
94
86
|
},
|
|
95
87
|
watch: {
|
|
96
|
-
// 监控确认按钮
|
|
97
|
-
'model.f_stop_remarks' (val) {
|
|
98
|
-
if (val != null || val !== '') {
|
|
99
|
-
this.disabled = false
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
88
|
}
|
|
103
89
|
}
|
|
104
90
|
</script>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
<div class="form-group col-sm-5 button-range">
|
|
19
19
|
<button class="button_new button_spacing" style="width: max-content"
|
|
20
|
-
v-if="this.$login.f.rolesnames.indexOf('市场部报装') !== -1
|
|
20
|
+
v-if="this.$login.f.rolesnames.indexOf('市场部报装') !== -1"
|
|
21
21
|
@click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
|
|
22
22
|
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
23
23
|
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
style="width: 60%!important;"
|
|
80
80
|
v-model="model.startDate"
|
|
81
81
|
:value.sync="model.startDate"
|
|
82
|
-
:format="'yyyy-MM-dd
|
|
82
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
83
83
|
:show-reset-button="true"
|
|
84
84
|
condition="f_apply_date >= '{}'">
|
|
85
85
|
</datepicker>
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
style="width: 60%!important;"
|
|
91
91
|
v-model="model.endDate"
|
|
92
92
|
:value.sync="model.endDate"
|
|
93
|
-
:format="'yyyy-MM-dd
|
|
93
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
94
94
|
:show-reset-button="true"
|
|
95
95
|
condition="f_apply_date <= '{}'">
|
|
96
96
|
</datepicker>
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
<script>
|
|
195
195
|
import {PagedList} from 'vue-client'
|
|
196
196
|
import {HttpResetClass} from 'vue-client'
|
|
197
|
-
import {isEmpty} from '
|
|
197
|
+
import {isEmpty} from '../../../Util'
|
|
198
198
|
export default {
|
|
199
199
|
title: '工程列表',
|
|
200
200
|
props: ['showData'],
|
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
methods: {
|
|
222
222
|
clear () {
|
|
223
223
|
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
224
|
-
this.$refs.cp.$refs.cri.model[key] =
|
|
224
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
225
225
|
})
|
|
226
226
|
},
|
|
227
227
|
// 查询
|
|
@@ -275,9 +275,6 @@
|
|
|
275
275
|
} else if (this.f_apply_type === '开发商集体报建') {
|
|
276
276
|
val.defname = '用户受理'
|
|
277
277
|
val.processname = '开发商集体报建流程'
|
|
278
|
-
} else if (this.f_apply_type === '煤改气报建') {
|
|
279
|
-
val.defname = '用户受理'
|
|
280
|
-
val.processname = '散户集体报建流程'
|
|
281
278
|
} else {
|
|
282
279
|
this.$showMessage('暂无此类报装')
|
|
283
280
|
return
|
|
@@ -4,19 +4,18 @@
|
|
|
4
4
|
<div :class="showData ? 'top' : 'auto'" v-show="showQuery">
|
|
5
5
|
<exploration-select v-ref:query :show-data="showData"></exploration-select>
|
|
6
6
|
</div>
|
|
7
|
-
<div v-if="showtotal"
|
|
7
|
+
<div v-if="showtotal">
|
|
8
8
|
<tabset v-ref:tabs :close="false">
|
|
9
|
-
<tab :header='selectdata.defname'>
|
|
9
|
+
<tab :header='selectdata.defname' style="background-color :#ffffff!important;overflow: auto;">
|
|
10
10
|
<service-control v-ref:service :selectdata="selectdata"></service-control>
|
|
11
11
|
</tab>
|
|
12
|
-
<tab header='附件'>
|
|
12
|
+
<tab header='附件' style="background-color :#ffffff!important;overflow: auto;">
|
|
13
13
|
<apply-upload :blodid="selectdata.f_process_id"
|
|
14
14
|
:isupload = "true"
|
|
15
15
|
:isdelete="true"
|
|
16
16
|
:isusetype="true"
|
|
17
17
|
:isremark = "true"
|
|
18
18
|
:takeimg="false"
|
|
19
|
-
:issearch="true"
|
|
20
19
|
:defname="selectdata.defname">
|
|
21
20
|
</apply-upload>
|
|
22
21
|
</tab>
|
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
+
|
|
4
|
+
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
5
|
+
<template partial='head'>
|
|
6
|
+
<tr>
|
|
7
|
+
<th>序号</th>
|
|
8
|
+
<th>客户编号</th>
|
|
9
|
+
<th>客户名称</th>
|
|
10
|
+
<th>客户电话</th>
|
|
11
|
+
<th>地址信息</th>
|
|
12
|
+
<th>表具数量</th>
|
|
13
|
+
<th v-if="$parent.$parent.selectdata.f_apply_type === '散户集体报建'">单价(户)</th>
|
|
14
|
+
<th v-if="$parent.$parent.selectdata.f_apply_type === '散户集体报建'">累计缴费</th>
|
|
15
|
+
<th>
|
|
16
|
+
<button type="button" class="btn btn-info head-but"
|
|
17
|
+
:disabled="$parent.$parent.mark === 1"
|
|
18
|
+
@click="$parent.$parent.showFile = !$parent.$parent.showFile">导入</button>
|
|
19
|
+
<a type="button" class="btn btn-info head-but"
|
|
20
|
+
href="/apply/download/excel/安装明细.xlsx" download>模板下载</a>
|
|
21
|
+
</th>
|
|
22
|
+
</tr>
|
|
23
|
+
</template>
|
|
24
|
+
<template partial='body'>
|
|
25
|
+
<tr>
|
|
26
|
+
<td style="text-align: center;">
|
|
27
|
+
<nobr>{{$index+1}}</nobr>
|
|
28
|
+
</td>
|
|
29
|
+
<td style="text-align: center;">
|
|
30
|
+
<nobr>{{row.f_userinfo_code}}</nobr>
|
|
31
|
+
</td>
|
|
32
|
+
<td style="text-align: center;">
|
|
33
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
34
|
+
</td>
|
|
35
|
+
<td style="text-align: center;">
|
|
36
|
+
<nobr>{{row.f_user_phone}}</nobr>
|
|
37
|
+
</td>
|
|
38
|
+
<td style="text-align: center;">
|
|
39
|
+
<nobr>{{row.f_address}}</nobr>
|
|
40
|
+
</td>
|
|
41
|
+
<td style="text-align: center;">
|
|
42
|
+
<nobr>{{row.f_userfiles_num === null ? 0 : row.f_userfiles_num}}</nobr>
|
|
43
|
+
</td>
|
|
44
|
+
<td style="text-align: center;"
|
|
45
|
+
v-if="$parent.$parent.selectdata.f_apply_type === '散户集体报建'"
|
|
46
|
+
>
|
|
47
|
+
<nobr>{{$parent.$parent.selectdata.f_price}}</nobr>
|
|
48
|
+
</td>
|
|
49
|
+
<td style="text-align: center;"
|
|
50
|
+
v-if="$parent.$parent.selectdata.f_apply_type === '散户集体报建'"
|
|
51
|
+
>
|
|
52
|
+
<nobr>{{row.f_cumulative_payment_money}}</nobr>
|
|
53
|
+
</td>
|
|
54
|
+
<td style="text-align: center;">
|
|
55
|
+
<nobr>
|
|
56
|
+
<button
|
|
57
|
+
type="button"
|
|
58
|
+
name="button"
|
|
59
|
+
class="btn btn-link"
|
|
60
|
+
:disabled="(row.f_cumulative_payment_money < $parent.$parent.selectdata.f_price && $parent.$parent.selectdata.f_apply_type === '散户集体报建') || $parent.$parent.mark === 1"
|
|
61
|
+
@click="$parent.$parent.showUserFileModal(row)">
|
|
62
|
+
{{row.f_userfiles_num > 0 ? '修正' : '添加'}}
|
|
63
|
+
</button>
|
|
64
|
+
</nobr>
|
|
65
|
+
</td>
|
|
66
|
+
</tr>
|
|
67
|
+
</template>
|
|
68
|
+
</data-grid>
|
|
69
|
+
</div>
|
|
70
|
+
<modal v-if="showFile" :show.sync="showFile" v-ref:modal :backdrop="false" title="选择文件">
|
|
71
|
+
<header slot="modal-header" class="modal-header">
|
|
72
|
+
<button type="button" class="close" @click="closeFile"><span>×</span></button>
|
|
73
|
+
<h4 class="modal-title">选择文件</h4>
|
|
74
|
+
</header>
|
|
75
|
+
<article slot="modal-body" class="modal-body">
|
|
76
|
+
<div class="form-group">
|
|
77
|
+
<file-upload class="my-file-uploader" name="useraddressUploadFile" action="rs/file/uploadFile" tagname="确定" multiple v-ref:file></file-upload>
|
|
78
|
+
</div>
|
|
79
|
+
</article>
|
|
80
|
+
<footer slot="modal-footer" class="modal-footer"></footer>
|
|
81
|
+
</modal>
|
|
82
|
+
|
|
83
|
+
<modal v-if="showUserFile" :show.sync="showUserFile" v-ref:modal :large="true" :backdrop="false" title="安装明细">
|
|
84
|
+
<header slot="modal-header" class="modal-header">
|
|
85
|
+
<button type="button" class="close" @click="closeUserFile"><span>×</span></button>
|
|
86
|
+
<h4 class="modal-title">安装明细</h4>
|
|
87
|
+
</header>
|
|
88
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
89
|
+
<div class="form-group col-sm-12">
|
|
90
|
+
<label class="col-sm-2 control-label">地址信息:</label>
|
|
91
|
+
<div class="col-sm-10">
|
|
92
|
+
<input class="form-control input_view" style=""
|
|
93
|
+
v-model="useradders.f_address"
|
|
94
|
+
:value="useradders.f_address"
|
|
95
|
+
:readonly="true"/>
|
|
96
|
+
</div>
|
|
97
|
+
</div>
|
|
98
|
+
|
|
99
|
+
<div v-for="(i, item) in userinfo.userfiles" class="form-group col-sm-12 panel panel-info">
|
|
100
|
+
<div class="panel-heading head" style="background-color: #e8f4ff;margin-bottom: 10px">表具{{$index+1}}信息</div>
|
|
101
|
+
<div class="form-group col-sm-6" :class="item.f_gasbrand_id ? '':'has-error'">
|
|
102
|
+
<label class="col-sm-4 control-label">气表品牌:</label>
|
|
103
|
+
<div class="col-sm-8">
|
|
104
|
+
<input-select
|
|
105
|
+
class="select select_list"
|
|
106
|
+
:value.sync="item.gasbrand"
|
|
107
|
+
v-model="item.gasbrand"
|
|
108
|
+
:options="meterbrands"
|
|
109
|
+
@change="gasbrandChange(i)"
|
|
110
|
+
:valueSingle="true"></input-select>
|
|
111
|
+
</div>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="form-group col-sm-6" :class="item.f_gasmodel_id ? '':'has-error'">
|
|
114
|
+
<label class="col-sm-4 control-label">气表型号:</label>
|
|
115
|
+
<div class="col-sm-8">
|
|
116
|
+
<input-select
|
|
117
|
+
class="select select_list"
|
|
118
|
+
:value.sync="item.gasmodel"
|
|
119
|
+
v-model="item.gasmodel"
|
|
120
|
+
:options="item.gasbrand.gasmodel"
|
|
121
|
+
@change="gasmodelChange(i)"
|
|
122
|
+
:valueSingle="true"></input-select>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
<div class="form-group col-sm-6" :class="item.f_meternumber ? '':'has-error'">
|
|
126
|
+
<label class="col-sm-4 control-label">表号:</label>
|
|
127
|
+
<div class="col-sm-8">
|
|
128
|
+
<input class="form-control input_view" style=""
|
|
129
|
+
placeholder="表号"
|
|
130
|
+
v-model="item.f_meternumber"
|
|
131
|
+
:value="item.f_meternumber"
|
|
132
|
+
@change="meternumberValidate(i)"
|
|
133
|
+
:readonly="false"/>
|
|
134
|
+
</div>
|
|
135
|
+
</div>
|
|
136
|
+
<div class="form-group col-sm-6">
|
|
137
|
+
<label class="col-sm-4 control-label">表封号:</label>
|
|
138
|
+
<div class="col-sm-8">
|
|
139
|
+
<input class="form-control input_view" style=""
|
|
140
|
+
placeholder="表封号"
|
|
141
|
+
v-model="item.f_metertitles"
|
|
142
|
+
:value="item.f_metertitles"
|
|
143
|
+
:readonly="false"/>
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
<div class="form-group col-sm-6">
|
|
147
|
+
<label class="col-sm-4 control-label">表读数:</label>
|
|
148
|
+
<div class="col-sm-8">
|
|
149
|
+
<input class="form-control input_view" style=""
|
|
150
|
+
type="number"
|
|
151
|
+
placeholder="表读数"
|
|
152
|
+
v-model="item.f_meter_base"
|
|
153
|
+
:value="item.f_meter_base"
|
|
154
|
+
:readonly="false"/>
|
|
155
|
+
</div>
|
|
156
|
+
</div>
|
|
157
|
+
<div class="form-group col-sm-6">
|
|
158
|
+
<label class="col-sm-4 control-label">初始底数:</label>
|
|
159
|
+
<div class="col-sm-8">
|
|
160
|
+
<input class="form-control input_view" style=""
|
|
161
|
+
type="number"
|
|
162
|
+
v-model="item.f_initial_base"
|
|
163
|
+
:value="item.f_initial_base"
|
|
164
|
+
placeholder="初始底数"
|
|
165
|
+
:readonly="false"/>
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
<div class="form-group col-sm-6">
|
|
169
|
+
<label class="col-sm-4 control-label">表向:</label>
|
|
170
|
+
<div class="col-sm-8">
|
|
171
|
+
<input-select
|
|
172
|
+
class="select select_list"
|
|
173
|
+
:value.sync="item.f_aroundmeter"
|
|
174
|
+
v-model="item.f_aroundmeter"
|
|
175
|
+
:options="aroundmeters"
|
|
176
|
+
:valueSingle="true"></input-select>
|
|
177
|
+
</div>
|
|
178
|
+
</div>
|
|
179
|
+
<div class="form-group col-sm-6">
|
|
180
|
+
<label class="col-sm-4 control-label">安装位置:</label>
|
|
181
|
+
<div class="col-sm-8">
|
|
182
|
+
<input-select
|
|
183
|
+
class="select select_list"
|
|
184
|
+
:value.sync="item.f_position"
|
|
185
|
+
v-model="item.f_position"
|
|
186
|
+
:options="positions"
|
|
187
|
+
:valueSingle="true"></input-select>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
<div class="form-group col-sm-6">
|
|
191
|
+
<label class="col-sm-4 control-label">安装人:</label>
|
|
192
|
+
<div class="col-sm-8">
|
|
193
|
+
<input-select
|
|
194
|
+
class="select select_list"
|
|
195
|
+
:value.sync="item.f_install_person"
|
|
196
|
+
v-model="item.f_install_person"
|
|
197
|
+
:options="installperson"
|
|
198
|
+
:valueSingle="true"></input-select>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
<div class="form-group col-sm-6">
|
|
202
|
+
<label class="col-sm-4 control-label">安装日期:</label>
|
|
203
|
+
<div class="col-sm-8">
|
|
204
|
+
<datepicker
|
|
205
|
+
placeholder="安装日期"
|
|
206
|
+
:value.sync="item.f_install_date"
|
|
207
|
+
v-model="item.f_install_date"
|
|
208
|
+
format="yyyy-MM-dd HH:mm:ss"
|
|
209
|
+
:show-reset-button="reset">
|
|
210
|
+
</datepicker>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
|
|
215
|
+
</article>
|
|
216
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
217
|
+
<button type="button" class="btn btn-primary" @click="addUserFile">添加表具</button>
|
|
218
|
+
<button type="button" class="btn btn-primary" @click="saveUserFile">确认</button>
|
|
219
|
+
</footer>
|
|
220
|
+
</modal>
|
|
221
|
+
</template>
|
|
222
|
+
<script>
|
|
223
|
+
import Vue from 'vue'
|
|
224
|
+
import {PagedList} from 'vue-client'
|
|
225
|
+
import {HttpResetClass} from 'vue-client'
|
|
226
|
+
import {isEmpty} from '../../../../Util'
|
|
227
|
+
|
|
228
|
+
export default {
|
|
229
|
+
title: '安装明细',
|
|
230
|
+
props: {
|
|
231
|
+
selectdata: {
|
|
232
|
+
type: Object
|
|
233
|
+
},
|
|
234
|
+
mark: {
|
|
235
|
+
type: Number,
|
|
236
|
+
default: 0
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
data () {
|
|
240
|
+
return {
|
|
241
|
+
showFile: false,
|
|
242
|
+
showUserFile: false,
|
|
243
|
+
model: {
|
|
244
|
+
data: null
|
|
245
|
+
},
|
|
246
|
+
meterbrands: [], // 气表品牌
|
|
247
|
+
useradders: null,
|
|
248
|
+
userinfo: {}
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
ready () {
|
|
252
|
+
this.search()
|
|
253
|
+
this.getMeterbrands()
|
|
254
|
+
},
|
|
255
|
+
methods: {
|
|
256
|
+
// 保存档案
|
|
257
|
+
async saveUserFile() {
|
|
258
|
+
// 检查必填项
|
|
259
|
+
for (let i = 0; i < this.userinfo.userfiles.length; i++) {
|
|
260
|
+
let userfile = this.userinfo.userfiles[i]
|
|
261
|
+
if (userfile.f_gasbrand_id === null || userfile.f_gasbrand_id === '') {
|
|
262
|
+
this.$showAlert(`表具${i+1}气表品牌没有选择!!!`, 'warning', 3000)
|
|
263
|
+
return
|
|
264
|
+
}
|
|
265
|
+
if (userfile.f_gasmodel_id === null || userfile.f_gasmodel_id === '') {
|
|
266
|
+
this.$showAlert(`表具${i+1}气表型号没有选择!!!`, 'warning', 3000)
|
|
267
|
+
return
|
|
268
|
+
}
|
|
269
|
+
if (userfile.f_meternumber === null || userfile.f_meternumber === '') {
|
|
270
|
+
this.$showAlert(`表具${i+1}表号没有填写!!!`, 'warning', 3000)
|
|
271
|
+
return
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
let data = {
|
|
275
|
+
user: this.$login.f,
|
|
276
|
+
useradders: this.useradders,
|
|
277
|
+
userinfo: this.userinfo,
|
|
278
|
+
selectdata: this.selectdata
|
|
279
|
+
}
|
|
280
|
+
let res = await this.$resetpost('rs/logic/addInstallationDetails', {data:data}, {
|
|
281
|
+
resolveMsg: null,
|
|
282
|
+
rejectMsg: '表具添加失败!!!'
|
|
283
|
+
})
|
|
284
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
285
|
+
},
|
|
286
|
+
// 检查表号是否存在
|
|
287
|
+
async meternumberValidate(i) {
|
|
288
|
+
if (!this.userinfo.userfiles[i].f_gasbrand_id) {
|
|
289
|
+
this.userinfo.userfiles[i].f_meternumber = ''
|
|
290
|
+
this.$showAlert('请先选择气表品牌!!!', 'warning', 3000)
|
|
291
|
+
return
|
|
292
|
+
}
|
|
293
|
+
if (this.userinfo.userfiles[i].f_gasbrand_id && this.userinfo.userfiles[i].f_meternumber) {
|
|
294
|
+
let data = {
|
|
295
|
+
f_meternumber: this.userinfo.userfiles[i].f_meternumber,
|
|
296
|
+
f_gasbrand_id: this.userinfo.userfiles[i].f_gasbrand_id
|
|
297
|
+
}
|
|
298
|
+
if (this.userinfo.userfiles[i].f_userfiles_id) {
|
|
299
|
+
data.f_userfiles_id = this.userinfo.userfiles[i].f_userfiles_id
|
|
300
|
+
}
|
|
301
|
+
let res = await this.$resetpost('rs/logic/meterbrandsNumberValidate', {data:data}, {
|
|
302
|
+
resolveMsg: null,
|
|
303
|
+
rejectMsg: '表号验证失败!!'
|
|
304
|
+
})
|
|
305
|
+
if (res.data) {
|
|
306
|
+
this.userinfo.userfiles[i].f_meternumber = ''
|
|
307
|
+
this.$showAlert('表号已存在!!', 'warning', 3000)
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
// 选择气表型号
|
|
312
|
+
gasmodelChange(i) {
|
|
313
|
+
if (this.userinfo.userfiles[i].gasmodel) {
|
|
314
|
+
this.userinfo.userfiles[i].f_gasmodel_id = this.userinfo.userfiles[i].gasmodel.id
|
|
315
|
+
}
|
|
316
|
+
},
|
|
317
|
+
// 选择气表品牌
|
|
318
|
+
gasbrandChange(i) {
|
|
319
|
+
// 清空已保存的气表型号
|
|
320
|
+
this.userinfo.userfiles[i].f_gasmodel_id = null
|
|
321
|
+
this.userinfo.userfiles[i].gasmodel = null
|
|
322
|
+
if (this.userinfo.userfiles[i].gasbrand) {
|
|
323
|
+
// 气表品牌id
|
|
324
|
+
this.userinfo.userfiles[i].f_gasbrand_id = this.userinfo.userfiles[i].gasbrand.id
|
|
325
|
+
// 气表分类
|
|
326
|
+
this.userinfo.userfiles[i].f_meter_classify = this.userinfo.userfiles[i].gasbrand.f_meter_type
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
// 追加表具
|
|
330
|
+
addUserFile() {
|
|
331
|
+
this.userinfo.userfiles.push({})
|
|
332
|
+
},
|
|
333
|
+
// 打开安装明细
|
|
334
|
+
async showUserFileModal (row) {
|
|
335
|
+
this.useradders = row
|
|
336
|
+
|
|
337
|
+
let http = new HttpResetClass()
|
|
338
|
+
let data = {
|
|
339
|
+
condition: `f_userinfo_id='${row.f_userinfo_id}'`
|
|
340
|
+
}
|
|
341
|
+
let res = await http.load('POST', 'rs/logic/getUserinfoAndUserfiles', {data:data}, {
|
|
342
|
+
resolveMsg: null,
|
|
343
|
+
rejectMsg: null
|
|
344
|
+
})
|
|
345
|
+
|
|
346
|
+
this.userinfo = res.data
|
|
347
|
+
|
|
348
|
+
// 已有表具的 气表信息补充
|
|
349
|
+
for (const userfile of this.userinfo.userfiles) {
|
|
350
|
+
for (const item of this.meterbrands) {
|
|
351
|
+
if (item.value.id === userfile.f_gasbrand_id) {
|
|
352
|
+
userfile.gasbrand = item.value
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
if (userfile.gasbrand) {
|
|
356
|
+
for (const item of userfile.gasbrand.gasmodel) {
|
|
357
|
+
if (item.value.id === userfile.f_gasmodel_id) {
|
|
358
|
+
userfile.gasmodel = item.value
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
this.showUserFile = true
|
|
365
|
+
},
|
|
366
|
+
// 获取气表品牌
|
|
367
|
+
async getMeterbrands() {
|
|
368
|
+
let http = new HttpResetClass()
|
|
369
|
+
let data = {
|
|
370
|
+
f_filialeid: this.$login.f.orgid
|
|
371
|
+
}
|
|
372
|
+
let res = await http.load('POST', 'rs/logic/getMeterbrands', {data:data}, {
|
|
373
|
+
resolveMsg: null,
|
|
374
|
+
rejectMsg: null
|
|
375
|
+
})
|
|
376
|
+
this.meterbrands = res.data
|
|
377
|
+
},
|
|
378
|
+
// 查询
|
|
379
|
+
async search () {
|
|
380
|
+
let http = new HttpResetClass()
|
|
381
|
+
let data = {
|
|
382
|
+
condition: " 1=1",
|
|
383
|
+
f_process_id: this.selectdata.f_process_id
|
|
384
|
+
}
|
|
385
|
+
let res = await http.load('POST', 'rs/sql/getAddresAndUserinfoAndUserfilesAmount', {data:data}, {
|
|
386
|
+
resolveMsg: null,
|
|
387
|
+
rejectMsg: null
|
|
388
|
+
})
|
|
389
|
+
this.model.data = res.data
|
|
390
|
+
if (this.selectdata.f_apply_type === '开发商集体报建' || this.selectdata.f_apply_type === '散户集体报建') {
|
|
391
|
+
let f_installed_households = 0
|
|
392
|
+
for (const item of res.data) {
|
|
393
|
+
if (item.f_userfiles_num > 0) {
|
|
394
|
+
f_installed_households++
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
let f_uninstalled_households = this.selectdata.f_apply_count - f_installed_households
|
|
398
|
+
for (const item of this.selectdata.fields) {
|
|
399
|
+
if (item.label === '已安装户数') {
|
|
400
|
+
item.value = f_installed_households
|
|
401
|
+
}
|
|
402
|
+
if (item.label === '未安装户数') {
|
|
403
|
+
item.value = f_uninstalled_households
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
// 关闭安装明细
|
|
409
|
+
closeUserFile() {
|
|
410
|
+
this.showUserFile = false
|
|
411
|
+
this.useradders = null
|
|
412
|
+
this.userinfo = null
|
|
413
|
+
this.search()
|
|
414
|
+
},
|
|
415
|
+
// 关闭文件上传对话框
|
|
416
|
+
closeFile() {
|
|
417
|
+
this.showFile = false
|
|
418
|
+
// 将选的文件清空
|
|
419
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
420
|
+
this.search()
|
|
421
|
+
}
|
|
422
|
+
},
|
|
423
|
+
events: {
|
|
424
|
+
async 'onFileUpload'(file, result) {
|
|
425
|
+
let data = {
|
|
426
|
+
selectdata: this.selectdata,
|
|
427
|
+
filepath: result.f_downloadpath,
|
|
428
|
+
user: this.$login.f
|
|
429
|
+
}
|
|
430
|
+
let res = await this.$resetpost(`rs/logic/importAddInstallationDetails`, {data:data}, {resolveMsg: null, rejectMsg: '导入失败', silent: true}, 0)
|
|
431
|
+
if(res.data.type === "success"){
|
|
432
|
+
this.$showAlert("导入信息:"+res.data.msg, res.data.type, 2000);
|
|
433
|
+
}else{
|
|
434
|
+
this.$showMessage(res.data.msg);
|
|
435
|
+
}
|
|
436
|
+
this.$dispatch('breakControl', this.selectdata)
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
computed: {
|
|
440
|
+
// 安装人
|
|
441
|
+
installperson() {
|
|
442
|
+
return this.$login.f.f_installman.map(item => {
|
|
443
|
+
return {
|
|
444
|
+
label: item.name,
|
|
445
|
+
value: item.name
|
|
446
|
+
}
|
|
447
|
+
})
|
|
448
|
+
},
|
|
449
|
+
// 表向
|
|
450
|
+
aroundmeters() {
|
|
451
|
+
return this.$appdata.getParam('左右表')
|
|
452
|
+
},
|
|
453
|
+
// 安装位置
|
|
454
|
+
positions() {
|
|
455
|
+
return this.$appdata.getParam('安装位置')
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
watch: {
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
</script>
|
|
462
|
+
<style scoped>
|
|
463
|
+
.head-but{
|
|
464
|
+
margin-left: 5px;
|
|
465
|
+
height: 34px;
|
|
466
|
+
/*background-color: #6aa6e2;*/
|
|
467
|
+
border-radius: 4px;
|
|
468
|
+
font-family: PingFang;
|
|
469
|
+
color: #ffffff;
|
|
470
|
+
}
|
|
471
|
+
/*清除model中的浮动*/
|
|
472
|
+
.clearfix:after,.clearfix:before{
|
|
473
|
+
display: table;
|
|
474
|
+
}
|
|
475
|
+
.clearfix:after{
|
|
476
|
+
clear: both;
|
|
477
|
+
}
|
|
478
|
+
</style>
|
package/src/components/product/{Process → Apply/Process}/Processes/addressAndUserinfoManagement.vue
RENAMED
|
@@ -141,16 +141,11 @@ export default {
|
|
|
141
141
|
rejectMsg: null
|
|
142
142
|
})
|
|
143
143
|
this.model.data = res.data
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
for (let i = 0; i < this.selectdata.fields.length; i++) {
|
|
148
|
-
if (this.selectdata.fields[i].label === '户数') {
|
|
149
|
-
this.selectdata.fields[i].value = res.data.length
|
|
150
|
-
}
|
|
144
|
+
for (let i = 0; i < this.selectdata.fields.length; i++) {
|
|
145
|
+
if (this.selectdata.fields[i].label === '户数') {
|
|
146
|
+
this.selectdata.fields[i].value = res.data.length
|
|
151
147
|
}
|
|
152
148
|
}
|
|
153
|
-
|
|
154
149
|
},
|
|
155
150
|
// 关闭文件上传对话框
|
|
156
151
|
closeFile() {
|