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
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
3
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
4
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="form-group col-sm-3">
|
|
7
|
+
<label class="font_normal_body">设备编码:</label>
|
|
8
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_facility_number"
|
|
9
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f.f_facility_number like '%{}%'" placeholder='设备编码'>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="form-group col-sm-3">
|
|
12
|
+
<label class="font_normal_body">设备名称:</label>
|
|
13
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_facility_name"
|
|
14
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f.f_facility_name like '%{}%'" placeholder='设备名称'>
|
|
15
|
+
</div>
|
|
16
|
+
<div class="form-group col-sm-3">
|
|
17
|
+
<label class="font_normal_body">设备型号:</label>
|
|
18
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_facility_model"
|
|
19
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f.f_facility_model like '%{}%'" placeholder='设备型号'>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="form-group col-sm-3 button-range">
|
|
22
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
23
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
24
|
+
<div
|
|
25
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
26
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
27
|
+
class="button_spacing"
|
|
28
|
+
style="float: right">
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
33
|
+
<div class="form-group col-sm-3">
|
|
34
|
+
<label class="font_normal_body">设备规格:</label>
|
|
35
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_facility_norm"
|
|
36
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f.f_facility_norm like '%{}%'" placeholder='设备规格'>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="form-group col-sm-3">
|
|
39
|
+
<label class="font_normal_body">合同编号:</label>
|
|
40
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_contract_number"
|
|
41
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="fs.f_contract_number like '%{}%'" placeholder='合同编号'>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
</criteria>
|
|
46
|
+
<data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
47
|
+
<template partial='head'>
|
|
48
|
+
<tr>
|
|
49
|
+
<th style="white-space: nowrap;">序号</th>
|
|
50
|
+
<th style="white-space: nowrap;">设备编码</th>
|
|
51
|
+
<th style="white-space: nowrap;">设备名称</th>
|
|
52
|
+
<th style="white-space: nowrap;">设备型号</th>
|
|
53
|
+
<th style="white-space: nowrap;">设备规格</th>
|
|
54
|
+
<th style="white-space: nowrap;">维修合同编号</th>
|
|
55
|
+
<th style="white-space: nowrap;">维修事项</th>
|
|
56
|
+
<th style="white-space: nowrap;">维修详情</th>
|
|
57
|
+
<th style="white-space: nowrap;">价格</th>
|
|
58
|
+
<th style="white-space: nowrap;">送修时间</th>
|
|
59
|
+
<th style="white-space: nowrap;">送修人</th>
|
|
60
|
+
<th style="white-space: nowrap;">送修备注</th>
|
|
61
|
+
<th style="white-space: nowrap;">维修反馈时间</th>
|
|
62
|
+
<th style="white-space: nowrap;">维修反馈详情</th>
|
|
63
|
+
</tr>
|
|
64
|
+
</template>
|
|
65
|
+
<template partial='body'>
|
|
66
|
+
<tr >
|
|
67
|
+
<td style="text-align: center;">
|
|
68
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
69
|
+
</td>
|
|
70
|
+
<td style="text-align: center;">
|
|
71
|
+
<nobr><font>{{row.f_facility_number}}</font></nobr>
|
|
72
|
+
</td>
|
|
73
|
+
<td style="text-align: center;">
|
|
74
|
+
<nobr><font>{{row.f_facility_name}}</font></nobr>
|
|
75
|
+
</td>
|
|
76
|
+
<td style="text-align: center;">
|
|
77
|
+
<nobr><font>{{row.f_facility_model}}</font></nobr>
|
|
78
|
+
</td>
|
|
79
|
+
<td style="text-align: center;">
|
|
80
|
+
<nobr><font>{{row.f_facility_norm}}</font></nobr>
|
|
81
|
+
</td>
|
|
82
|
+
<td style="text-align: center;">
|
|
83
|
+
<nobr><font>{{row.f_service_contract_number}}</font></nobr>
|
|
84
|
+
</td>
|
|
85
|
+
<td style="text-align: center;">
|
|
86
|
+
<nobr><font>{{row.f_matter}}</font></nobr>
|
|
87
|
+
</td>
|
|
88
|
+
<td style="text-align: center;">
|
|
89
|
+
<nobr><font>{{row.f_detail}}</font></nobr>
|
|
90
|
+
</td>
|
|
91
|
+
<td style="text-align: center;">
|
|
92
|
+
<nobr><font>{{row.f_unit_price}}</font></nobr>
|
|
93
|
+
</td>
|
|
94
|
+
<td style="text-align: center;">
|
|
95
|
+
<nobr><font>{{row.f_service_time}}</font></nobr>
|
|
96
|
+
</td>
|
|
97
|
+
<td style="text-align: center;">
|
|
98
|
+
<nobr><font>{{row.f_repairman}}</font></nobr>
|
|
99
|
+
</td>
|
|
100
|
+
<td style="text-align: center;">
|
|
101
|
+
<nobr><font>{{row.f_service_remarks}}</font></nobr>
|
|
102
|
+
</td>
|
|
103
|
+
<td style="text-align: center;">
|
|
104
|
+
<nobr><font>{{row.f_complete_time}}</font></nobr>
|
|
105
|
+
</td>
|
|
106
|
+
<td style="text-align: center;">
|
|
107
|
+
<nobr><font>{{row.f_feedback}}</font></nobr>
|
|
108
|
+
</td>
|
|
109
|
+
</tr>
|
|
110
|
+
</template>
|
|
111
|
+
</data-grid>
|
|
112
|
+
</criteria-paged>
|
|
113
|
+
</template>
|
|
114
|
+
|
|
115
|
+
<script>
|
|
116
|
+
import {PagedList} from 'vue-client'
|
|
117
|
+
import {HttpResetClass} from 'vue-client'
|
|
118
|
+
// Date格式化
|
|
119
|
+
Date.prototype.Format = function (fmt) {
|
|
120
|
+
var o = {
|
|
121
|
+
'M+': this.getMonth() + 1, // 月份
|
|
122
|
+
'd+': this.getDate(), // 日
|
|
123
|
+
'H+': this.getHours(), // 小时
|
|
124
|
+
'm+': this.getMinutes(), // 分
|
|
125
|
+
's+': this.getSeconds(), // 秒
|
|
126
|
+
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
127
|
+
'S': this.getMilliseconds() // 毫秒
|
|
128
|
+
}
|
|
129
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
130
|
+
for (var k in o) {
|
|
131
|
+
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
132
|
+
}
|
|
133
|
+
return fmt
|
|
134
|
+
}
|
|
135
|
+
export default {
|
|
136
|
+
title: '报废记录',
|
|
137
|
+
data () {
|
|
138
|
+
return {
|
|
139
|
+
model: new PagedList('rs/sql/getServiceRecord', 30, {
|
|
140
|
+
data: {
|
|
141
|
+
orgid: this.$login.f.orgid
|
|
142
|
+
}
|
|
143
|
+
}),
|
|
144
|
+
criteriaShow: false
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
ready () {
|
|
148
|
+
// 调用查询
|
|
149
|
+
this.search()
|
|
150
|
+
},
|
|
151
|
+
methods: {
|
|
152
|
+
clear () {
|
|
153
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
154
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
155
|
+
})
|
|
156
|
+
},
|
|
157
|
+
// 查询
|
|
158
|
+
search () {
|
|
159
|
+
this.$refs.cp.$refs.cri.search()
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
computed: {
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
</script>
|
|
166
|
+
|
|
167
|
+
<style scoped>
|
|
168
|
+
</style>
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<tabset v-ref:tabs :close="false">
|
|
5
|
+
<tab header='模板上传及下载' style="background-color :#ffffff!important;overflow: auto;">
|
|
6
|
+
<apply-upload :blodid="selectdata.blodid"
|
|
7
|
+
:isupload="true"
|
|
8
|
+
:isdelete="true"
|
|
9
|
+
:isusetype="true"
|
|
10
|
+
:isremark="true"
|
|
11
|
+
:issearch="true"
|
|
12
|
+
:takeimg="false">
|
|
13
|
+
|
|
14
|
+
</apply-upload>
|
|
15
|
+
</tab>
|
|
16
|
+
</tabset>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
<script>
|
|
21
|
+
import Vue from 'vue'
|
|
22
|
+
import {HttpResetClass} from 'vue-client'
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
title: '文件模板',
|
|
26
|
+
data() {
|
|
27
|
+
return {
|
|
28
|
+
selectdata: {
|
|
29
|
+
blodid: '公共'
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
created() {
|
|
34
|
+
},
|
|
35
|
+
methods: {},
|
|
36
|
+
events: {},
|
|
37
|
+
watch: {},
|
|
38
|
+
ready() {
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
</script>
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div class="col-sm-12">
|
|
5
|
+
<div :class="showData ? 'top' : 'auto'">
|
|
6
|
+
<ledger-install-select :show-data="showData" v-ref:query></ledger-install-select>
|
|
7
|
+
</div>
|
|
8
|
+
<div v-if="showtotal" class="panel panel-info">
|
|
9
|
+
<div class="panel-heading head auto" style="background-color: #e8f4ff">{{funcdata.title}}</div>
|
|
10
|
+
<div class="panel-body" style="overflow: auto;">
|
|
11
|
+
<ledger-function-service-control v-ref:func :funcdata="funcdata" :selectdata="selectdata"></ledger-function-service-control>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
</template>
|
|
19
|
+
<script>
|
|
20
|
+
import Vue from 'vue'
|
|
21
|
+
import {HttpResetClass} from 'vue-client'
|
|
22
|
+
export default {
|
|
23
|
+
title: '功能业务',
|
|
24
|
+
data () {
|
|
25
|
+
return {
|
|
26
|
+
selectdata: null,
|
|
27
|
+
showData: true, // 控制列表数据
|
|
28
|
+
showtotal: false, // 控制详情显示
|
|
29
|
+
funcdata: null // 选中功能
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
created () {
|
|
33
|
+
this.getConfig()
|
|
34
|
+
},
|
|
35
|
+
methods: {
|
|
36
|
+
// 获取功能配置
|
|
37
|
+
getConfig () {
|
|
38
|
+
let http = new HttpResetClass()
|
|
39
|
+
let data = {
|
|
40
|
+
data: this.$login.f
|
|
41
|
+
}
|
|
42
|
+
http.load('POST', 'rs/logic/ApplyGetFunction', {data: data}, {resolveMsg: null, rejectMsg: null}
|
|
43
|
+
).then((res) => {
|
|
44
|
+
if (res.data.code && res.data.code === 200) {
|
|
45
|
+
Vue.prototype.$function_vue = res.data.function_vue
|
|
46
|
+
} else {
|
|
47
|
+
this.$showMessage('获取配置失败,原因:' + res.data.msg)
|
|
48
|
+
return
|
|
49
|
+
}
|
|
50
|
+
})
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
events: {
|
|
54
|
+
// 刷新控制层
|
|
55
|
+
async 'breakControl' (servicedata) {
|
|
56
|
+
let http = new HttpResetClass()
|
|
57
|
+
let data = {
|
|
58
|
+
condition: `u.id = ${servicedata.id}`,
|
|
59
|
+
data: {
|
|
60
|
+
id: this.$login.f.id,
|
|
61
|
+
orgid: this.$login.f.orgid
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
try {
|
|
66
|
+
let res = await http.load('POST', 'rs/sql/checkuserfunction', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
67
|
+
|
|
68
|
+
this.showtotal = false
|
|
69
|
+
this.selectdata = res.data[0]
|
|
70
|
+
this.$nextTick(() => {
|
|
71
|
+
this.showtotal = true
|
|
72
|
+
})
|
|
73
|
+
} catch (e) {
|
|
74
|
+
this.$showAlert('数据更新失败,请手查询更新!!!', 'danger', 3000)
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
// 点击功能操作
|
|
78
|
+
'func' (funcdata, row) {
|
|
79
|
+
this.funcdata = funcdata
|
|
80
|
+
this.selectdata = row
|
|
81
|
+
// 关闭分页
|
|
82
|
+
this.$refs.query.$refs.cp.pager = false
|
|
83
|
+
// 关闭列表数据
|
|
84
|
+
this.showData = false
|
|
85
|
+
|
|
86
|
+
this.$nextTick(() => {
|
|
87
|
+
this.showtotal = true
|
|
88
|
+
})
|
|
89
|
+
},
|
|
90
|
+
// 查询
|
|
91
|
+
'search' () {
|
|
92
|
+
// 关闭详细
|
|
93
|
+
this.showtotal = false
|
|
94
|
+
// 显示列表数据
|
|
95
|
+
this.showData = true
|
|
96
|
+
// 显示分页
|
|
97
|
+
this.$refs.query.$refs.cp.pager = true
|
|
98
|
+
// 调用查询
|
|
99
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
</script>
|
|
104
|
+
<style scoped>
|
|
105
|
+
/*清除浮动*/
|
|
106
|
+
.clearfix:after,.clearfix:before{
|
|
107
|
+
display: table;
|
|
108
|
+
}
|
|
109
|
+
.clearfix:after{
|
|
110
|
+
clear: both;
|
|
111
|
+
}
|
|
112
|
+
.head{
|
|
113
|
+
height: auto;
|
|
114
|
+
font-weight: bold;
|
|
115
|
+
color: #000000;
|
|
116
|
+
font-family: 微软雅黑;
|
|
117
|
+
}
|
|
118
|
+
</style>
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
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" class="input_search" style="width: 60%" v-model="model.f_entry_name"
|
|
10
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="u.f_entry_name like '%{}%'" placeholder='项目名称'>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="form-group col-sm-3">
|
|
13
|
+
<label class="font_normal_body">工程编号:</label>
|
|
14
|
+
<input type="text" class="input_search" style="width: 60%" placeholder='工程编号' v-model="model.f_project_number"
|
|
15
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
16
|
+
condition="u.f_project_number like '%{}%'">
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-3">
|
|
19
|
+
<label class="font_normal_body">CEA 号:</label>
|
|
20
|
+
<input type="text" class="input_search" style="width: 60%" placeholder='CEA号' v-model="model.f_cea_number"
|
|
21
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
22
|
+
condition="u.f_cea_number like '%{}%'">
|
|
23
|
+
</div>
|
|
24
|
+
<div class="form-group col-sm-3 button-range">
|
|
25
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
26
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
27
|
+
<div
|
|
28
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
29
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
30
|
+
class="button_spacing"
|
|
31
|
+
style="float: right">
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
36
|
+
<div class="form-group col-sm-3">
|
|
37
|
+
<label class="font_normal_body">项目类型:</label>
|
|
38
|
+
<v-select
|
|
39
|
+
v-model="model.f_apply_type"
|
|
40
|
+
placeholder='项目类型'
|
|
41
|
+
condition="u.f_apply_type like '%{}%'"
|
|
42
|
+
:value.sync="model.f_apply_type"
|
|
43
|
+
:options='$parent.$parent.applytype'
|
|
44
|
+
class="select select_list"
|
|
45
|
+
:value-single="true"
|
|
46
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
47
|
+
close-on-select ></v-select>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="form-group col-sm-3">
|
|
50
|
+
<label class="font_normal_body">工程类型:</label>
|
|
51
|
+
<v-select
|
|
52
|
+
v-model="model.f_project_type"
|
|
53
|
+
placeholder='工程类型'
|
|
54
|
+
condition="u.f_project_type like '%{}%'"
|
|
55
|
+
:value.sync="model.f_project_type"
|
|
56
|
+
:options='$parent.$parent.projectTypes'
|
|
57
|
+
class="select select_list"
|
|
58
|
+
:value-single="true"
|
|
59
|
+
close-on-select ></v-select>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="form-group col-sm-3">
|
|
62
|
+
<label class="font_normal_body">办理环节:</label>
|
|
63
|
+
<v-select
|
|
64
|
+
v-model="model.defname"
|
|
65
|
+
placeholder='办理环节'
|
|
66
|
+
condition="act.defname = '{}'"
|
|
67
|
+
:value.sync="model.defname"
|
|
68
|
+
:options='$parent.$parent.defnames'
|
|
69
|
+
class="select select_list"
|
|
70
|
+
:value-single="true"
|
|
71
|
+
close-on-select ></v-select>
|
|
72
|
+
</div>
|
|
73
|
+
<div class="form-group col-sm-3">
|
|
74
|
+
<label class="font_normal_body">项目区域:</label>
|
|
75
|
+
<v-select
|
|
76
|
+
v-model="model.f_project_area"
|
|
77
|
+
placeholder='项目区域'
|
|
78
|
+
condition="u.f_project_area = '{}'"
|
|
79
|
+
:value.sync="model.f_project_area"
|
|
80
|
+
:options='$parent.$parent.projectAreas'
|
|
81
|
+
class="select select_list"
|
|
82
|
+
:value-single="true"
|
|
83
|
+
close-on-select ></v-select>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="form-group col-sm-3">
|
|
86
|
+
<label class="font_normal_body">项目地址:</label>
|
|
87
|
+
<input type="text" class="input_search" placeholder='项目地址' v-model="model.f_address"
|
|
88
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
89
|
+
style="width: 60%"
|
|
90
|
+
condition="u.f_address like '%{}%'">
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</criteria>
|
|
95
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
96
|
+
<template partial='head'>
|
|
97
|
+
<tr class="title">
|
|
98
|
+
<th style="white-space: nowrap;">序号</th>
|
|
99
|
+
<th style="white-space: nowrap;">项目名称</th>
|
|
100
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
101
|
+
<th style="white-space: nowrap;">项目类型</th>
|
|
102
|
+
<th style="white-space: nowrap;">工程类型</th>
|
|
103
|
+
<th style="white-space: nowrap;">项目区域</th>
|
|
104
|
+
<th style="white-space: nowrap;">联系人</th>
|
|
105
|
+
<th style="white-space: nowrap;">联系电话</th>
|
|
106
|
+
<th style="white-space: nowrap;">CEA号</th>
|
|
107
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
108
|
+
<th style="white-space: nowrap;">项目地址</th>
|
|
109
|
+
<th style="white-space: nowrap;">操作</th>
|
|
110
|
+
</tr>
|
|
111
|
+
</template>
|
|
112
|
+
<template partial='body'>
|
|
113
|
+
<tr>
|
|
114
|
+
<td style="text-align: center;">
|
|
115
|
+
<nobr>{{$index+1}}</nobr>
|
|
116
|
+
</td>
|
|
117
|
+
<td style="text-align: center;">
|
|
118
|
+
<nobr>{{row.f_entry_name}}</nobr>
|
|
119
|
+
</td>
|
|
120
|
+
<td style="text-align: center;">
|
|
121
|
+
<nobr>{{row.f_project_number}}</nobr>
|
|
122
|
+
</td>
|
|
123
|
+
<td style="text-align: center;">
|
|
124
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
125
|
+
</td>
|
|
126
|
+
<td style="text-align: center;">
|
|
127
|
+
<nobr>{{row.f_project_type}}</nobr>
|
|
128
|
+
</td>
|
|
129
|
+
<td style="text-align: center;">
|
|
130
|
+
<nobr>{{row.f_project_area}}</nobr>
|
|
131
|
+
</td>
|
|
132
|
+
<td style="text-align: center;">
|
|
133
|
+
<nobr>{{row.f_contact}}</nobr>
|
|
134
|
+
</td>
|
|
135
|
+
<td style="text-align: center;">
|
|
136
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
137
|
+
</td>
|
|
138
|
+
<td style="text-align: center;">
|
|
139
|
+
<nobr>{{row.f_cea_number}}</nobr>
|
|
140
|
+
</td>
|
|
141
|
+
<td style="text-align: center;">
|
|
142
|
+
<nobr>{{row.defname}}</nobr>
|
|
143
|
+
</td>
|
|
144
|
+
<td style="text-align: center;">
|
|
145
|
+
<nobr>{{row.f_address}}</nobr>
|
|
146
|
+
</td>
|
|
147
|
+
<td style="text-align: center;">
|
|
148
|
+
<dropdown>
|
|
149
|
+
<button @click="$parent.$parent.$parent.checkfuncs(row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
150
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
151
|
+
</button>
|
|
152
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
153
|
+
<li v-for="func in $parent.$parent.$parent.funcs" v-if="$parent.$parent.$parent.$parent.showFunc(func)">
|
|
154
|
+
<a href="#" @click="$parent.$parent.$parent.$parent.func(func,row)">{{func.title}}</a>
|
|
155
|
+
</li>
|
|
156
|
+
</ul>
|
|
157
|
+
</dropdown>
|
|
158
|
+
</td>
|
|
159
|
+
</tr>
|
|
160
|
+
</template>
|
|
161
|
+
</data-grid>
|
|
162
|
+
</criteria-paged>
|
|
163
|
+
</div>
|
|
164
|
+
</template>
|
|
165
|
+
<script>
|
|
166
|
+
import {HttpResetClass} from 'vue-client'
|
|
167
|
+
import {PagedList} from 'vue-client'
|
|
168
|
+
import {isEmpty} from '../../../Util'
|
|
169
|
+
export default {
|
|
170
|
+
title: '报建业务信息',
|
|
171
|
+
props: ['showData'],
|
|
172
|
+
data () {
|
|
173
|
+
return {
|
|
174
|
+
model: new PagedList('rs/sql/checkuserfunction', 20, {
|
|
175
|
+
data: {
|
|
176
|
+
id: this.$login.f.id,
|
|
177
|
+
orgid: this.$login.f.orgid
|
|
178
|
+
}
|
|
179
|
+
}),
|
|
180
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('项目类型')],
|
|
181
|
+
projectTypes: [{label: '全部', value: ''},...this.$appdata.getParam('工程类型')],
|
|
182
|
+
projectAreas: [{label: '全部', value: ''}, ...this.$appdata.getParam('项目区域')], // 所有报建类型
|
|
183
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
184
|
+
funcs: [], // 功能列表
|
|
185
|
+
criteriaShow: false // 控制查询条件
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
ready () {
|
|
189
|
+
// 调用查询
|
|
190
|
+
this.search()
|
|
191
|
+
},
|
|
192
|
+
methods: {
|
|
193
|
+
// 根据类型获取对应的流程节点
|
|
194
|
+
applyTypeChange () {
|
|
195
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
196
|
+
let http = new HttpResetClass()
|
|
197
|
+
http.load('POST', 'rs/logic/getDefnameByType', {
|
|
198
|
+
f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
|
|
199
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
200
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
201
|
+
})
|
|
202
|
+
|
|
203
|
+
this.projectTypes = [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}工程类型`)]
|
|
204
|
+
} else {
|
|
205
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
206
|
+
this.projectTypes = [{label: '全部', value: ''}]
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
// 权限控制
|
|
210
|
+
showFunc (func) {
|
|
211
|
+
// 没有配置所有人都可以看
|
|
212
|
+
if (!func.personexpression) {
|
|
213
|
+
return true
|
|
214
|
+
}
|
|
215
|
+
if (isEmpty(func.personexpression)) {
|
|
216
|
+
return true
|
|
217
|
+
}
|
|
218
|
+
if (func.personexpression.startsWith('P') || func.personexpression.startsWith('R') || func.personexpression.startsWith('D')) {
|
|
219
|
+
let personexpression = func.personexpression.substring(func.personexpression.indexOf('(') + 1, func.personexpression.indexOf(')'))
|
|
220
|
+
if (func.personexpression.startsWith('P')) {
|
|
221
|
+
if (this.$login.f.name === personexpression) {
|
|
222
|
+
return true
|
|
223
|
+
}
|
|
224
|
+
return false
|
|
225
|
+
}
|
|
226
|
+
if (func.personexpression.startsWith('R')) {
|
|
227
|
+
if (this.$login.f.f_role_name.indexOf(personexpression) !== -1) {
|
|
228
|
+
return true
|
|
229
|
+
}
|
|
230
|
+
return false
|
|
231
|
+
}
|
|
232
|
+
if (func.personexpression.startsWith('D')) {
|
|
233
|
+
if (this.$login.f.f_department_name === personexpression) {
|
|
234
|
+
return true
|
|
235
|
+
}
|
|
236
|
+
return false
|
|
237
|
+
}
|
|
238
|
+
} else {
|
|
239
|
+
return true
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
// 点击功能操作
|
|
243
|
+
func (func, row) {
|
|
244
|
+
this.$dispatch('func', func, row)
|
|
245
|
+
},
|
|
246
|
+
// 点击操作
|
|
247
|
+
async checkfuncs (row) {
|
|
248
|
+
this.funcs = []
|
|
249
|
+
let functions = this.$function_vue.functions
|
|
250
|
+
for (let i = 0; i < functions.length; i++) {
|
|
251
|
+
// 显示类型
|
|
252
|
+
if (functions[i].showApplyTypes) {
|
|
253
|
+
if (functions[i].showApplyTypes.indexOf(row.f_apply_type) === -1) {
|
|
254
|
+
continue
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
// 显示节点
|
|
258
|
+
if (functions[i].showDefnames) {
|
|
259
|
+
if (functions[i].showDefnames.indexOf(row.defname) === -1) {
|
|
260
|
+
continue
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
if (functions[i].title === '预付款') {
|
|
264
|
+
let data = {
|
|
265
|
+
tablename: 'activityins',
|
|
266
|
+
condition: `processid = '${row.f_process_id}' and defname = '编制合同' and state = '结束'`
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
let res = await this.$resetpost(
|
|
270
|
+
`rs/sql/singleTable`,
|
|
271
|
+
{data: data},
|
|
272
|
+
{resolveMsg: null, rejectMsg: '查询失败!!!'}
|
|
273
|
+
)
|
|
274
|
+
|
|
275
|
+
if (res.data.length <= 0) {
|
|
276
|
+
continue
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
this.funcs.push(functions[i])
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
clear () {
|
|
283
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
284
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
285
|
+
})
|
|
286
|
+
},
|
|
287
|
+
// 查询
|
|
288
|
+
search () {
|
|
289
|
+
this.$dispatch('search')
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
computed: {
|
|
293
|
+
},
|
|
294
|
+
events: {
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
</script>
|
|
298
|
+
<style scoped>
|
|
299
|
+
</style>
|