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,155 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main">
|
|
4
|
+
<div :class="showData ? 'top' : 'auto'" v-show="showQuery">
|
|
5
|
+
<ledger-process-select v-ref:query :show-data="showData"></ledger-process-select>
|
|
6
|
+
</div>
|
|
7
|
+
<div v-if="showtotal" style="height: 85%">
|
|
8
|
+
<tabset v-ref:tabs :close="false">
|
|
9
|
+
<tab :header='selectdata.defname'>
|
|
10
|
+
<ledger-service-control v-ref:service :selectdata="selectdata"></ledger-service-control>
|
|
11
|
+
</tab>
|
|
12
|
+
<tab header='秦华物料'>
|
|
13
|
+
<qinhua-material-list :selectdata="selectdata"></qinhua-material-list>
|
|
14
|
+
</tab>
|
|
15
|
+
<tab header='二级库物料'>
|
|
16
|
+
<project-material-list :selectdata="selectdata"></project-material-list>
|
|
17
|
+
</tab>
|
|
18
|
+
<tab header='文明施工'>
|
|
19
|
+
<progress-report :selectdata="selectdata" type="文明施工"></progress-report>
|
|
20
|
+
</tab>
|
|
21
|
+
<tab header='管沟开挖'>
|
|
22
|
+
<progress-report :selectdata="selectdata" type="管沟开挖"></progress-report>
|
|
23
|
+
</tab>
|
|
24
|
+
<tab header='管道焊接'>
|
|
25
|
+
<progress-report :selectdata="selectdata" type="管道焊接"></progress-report>
|
|
26
|
+
</tab>
|
|
27
|
+
<tab header='打压记录'>
|
|
28
|
+
<progress-report :selectdata="selectdata" type="打压记录"></progress-report>
|
|
29
|
+
</tab>
|
|
30
|
+
<tab header='防腐记录'>
|
|
31
|
+
<progress-report :selectdata="selectdata" type="防腐记录"></progress-report>
|
|
32
|
+
</tab>
|
|
33
|
+
<tab header='隐蔽回填'>
|
|
34
|
+
<progress-report :selectdata="selectdata" type="隐蔽回填"></progress-report>
|
|
35
|
+
</tab>
|
|
36
|
+
<tab header='高空作业'>
|
|
37
|
+
<progress-report :selectdata="selectdata" type="高空作业"></progress-report>
|
|
38
|
+
</tab>
|
|
39
|
+
<tab header='签证记录'>
|
|
40
|
+
<progress-report :selectdata="selectdata" type="签证记录"></progress-report>
|
|
41
|
+
</tab>
|
|
42
|
+
<tab header='附件'>
|
|
43
|
+
<apply-upload :blodid="selectdata.f_process_id"
|
|
44
|
+
:isupload = "true"
|
|
45
|
+
:isdelete="true"
|
|
46
|
+
:isusetype="true"
|
|
47
|
+
:isremark = "true"
|
|
48
|
+
:takeimg="false"
|
|
49
|
+
:issearch="true"
|
|
50
|
+
:defname="selectdata.defname">
|
|
51
|
+
</apply-upload>
|
|
52
|
+
</tab>
|
|
53
|
+
</tabset>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
</template>
|
|
58
|
+
<script>
|
|
59
|
+
import Vue from 'vue'
|
|
60
|
+
import {HttpResetClass} from 'vue-client'
|
|
61
|
+
export default {
|
|
62
|
+
title: '流程业务',
|
|
63
|
+
data () {
|
|
64
|
+
return {
|
|
65
|
+
showQuery: true, // 控制查询页
|
|
66
|
+
showData: true, // 控制列表数据
|
|
67
|
+
showtotal: false, // 详情显示
|
|
68
|
+
selectdata: {},
|
|
69
|
+
xmlname: '' // 配置文件名
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
created () {
|
|
73
|
+
},
|
|
74
|
+
methods: {
|
|
75
|
+
// 获取页面配置json文件
|
|
76
|
+
async loadName () {
|
|
77
|
+
let http = new HttpResetClass()
|
|
78
|
+
let xmldata = {
|
|
79
|
+
data: this.$login.f,
|
|
80
|
+
workname: this.selectdata.processname
|
|
81
|
+
}
|
|
82
|
+
let res = await http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null})
|
|
83
|
+
|
|
84
|
+
if (res.data.code && res.data.code === 200) {
|
|
85
|
+
Vue.prototype.$workflow_vue = res.data.workflow_vue
|
|
86
|
+
} else {
|
|
87
|
+
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
88
|
+
return
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
events: {
|
|
93
|
+
'onMessage' (data) {
|
|
94
|
+
console.log('接收消息')
|
|
95
|
+
console.log(data)
|
|
96
|
+
if (data.type === 'apply-task') {
|
|
97
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
// 刷新控制层
|
|
101
|
+
async 'breakControl' (servicedata) {
|
|
102
|
+
|
|
103
|
+
if (servicedata.id) {
|
|
104
|
+
let http = new HttpResetClass()
|
|
105
|
+
let data = {
|
|
106
|
+
condition: `u.id = ${servicedata.id} and act.defname = '${servicedata.defname}'`,
|
|
107
|
+
data: {
|
|
108
|
+
id: this.$login.f.id,
|
|
109
|
+
orgid: this.$login.f.orgid
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
let res = await http.load('POST', 'rs/sql/checkuser', {data: data}, {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'})
|
|
113
|
+
|
|
114
|
+
this.selectdata = res.data[0]
|
|
115
|
+
} else {
|
|
116
|
+
this.selectdata = servicedata
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
this.showtotal = false
|
|
120
|
+
this.$nextTick(() => {
|
|
121
|
+
this.showtotal = true
|
|
122
|
+
})
|
|
123
|
+
|
|
124
|
+
},
|
|
125
|
+
// 初始化
|
|
126
|
+
async 'apply' (val) {
|
|
127
|
+
this.showtotal = false
|
|
128
|
+
this.selectdata = val
|
|
129
|
+
|
|
130
|
+
// 次方法必须同步执行,否则后续会出问题
|
|
131
|
+
// 获取页面json配置文件
|
|
132
|
+
await this.loadName()
|
|
133
|
+
|
|
134
|
+
// 显示详细
|
|
135
|
+
this.showtotal = true
|
|
136
|
+
// 关闭列表数据
|
|
137
|
+
this.showData = false
|
|
138
|
+
// 关闭分页
|
|
139
|
+
this.$refs.query.$refs.cp.pager = false
|
|
140
|
+
},
|
|
141
|
+
'search' () {
|
|
142
|
+
// 关闭详细
|
|
143
|
+
this.showtotal = false
|
|
144
|
+
// 显示列表数据
|
|
145
|
+
this.showData = true
|
|
146
|
+
// 显示分页
|
|
147
|
+
this.$refs.query.$refs.cp.pager = true
|
|
148
|
+
// 调用查询
|
|
149
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
watch: {
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
</script>
|
|
@@ -0,0 +1,340 @@
|
|
|
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_new button_spacing" style="width: max-content"
|
|
26
|
+
v-if="this.$login.f.f_role_name.includes('信息录入')"
|
|
27
|
+
@click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
|
|
28
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
29
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
30
|
+
<div
|
|
31
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
32
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
33
|
+
class="button_spacing"
|
|
34
|
+
style="float: right">
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
39
|
+
<div class="form-group col-sm-3">
|
|
40
|
+
<label class="font_normal_body">项目类型:</label>
|
|
41
|
+
<v-select
|
|
42
|
+
v-model="model.f_apply_type"
|
|
43
|
+
placeholder='项目类型'
|
|
44
|
+
condition="u.f_apply_type like '%{}%'"
|
|
45
|
+
:value.sync="model.f_apply_type"
|
|
46
|
+
:options='$parent.$parent.applytype'
|
|
47
|
+
class="select select_list"
|
|
48
|
+
:value-single="true"
|
|
49
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
50
|
+
close-on-select ></v-select>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="form-group col-sm-3">
|
|
53
|
+
<label class="font_normal_body">工程类型:</label>
|
|
54
|
+
<v-select
|
|
55
|
+
v-model="model.f_project_type"
|
|
56
|
+
placeholder='工程类型'
|
|
57
|
+
condition="u.f_project_type in {} "
|
|
58
|
+
:value.sync="model.f_project_type"
|
|
59
|
+
:options='$parent.$parent.projectTypes'
|
|
60
|
+
></v-select>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="form-group col-sm-3">
|
|
63
|
+
<label class="font_normal_body">办理环节:</label>
|
|
64
|
+
<v-select
|
|
65
|
+
v-model="model.defname"
|
|
66
|
+
placeholder='办理环节'
|
|
67
|
+
condition="act.defname = '{}'"
|
|
68
|
+
:value.sync="model.defname"
|
|
69
|
+
:options='$parent.$parent.defnames'
|
|
70
|
+
class="select select_list"
|
|
71
|
+
:value-single="true"
|
|
72
|
+
close-on-select ></v-select>
|
|
73
|
+
</div>
|
|
74
|
+
<div class="form-group col-sm-3">
|
|
75
|
+
<label class="font_normal_body">项目区域:</label>
|
|
76
|
+
<v-select
|
|
77
|
+
v-model="model.f_project_area"
|
|
78
|
+
placeholder='项目区域'
|
|
79
|
+
condition="u.f_project_area = '{}'"
|
|
80
|
+
:value.sync="model.f_project_area"
|
|
81
|
+
:options='$parent.$parent.projectAreas'
|
|
82
|
+
class="select select_list"
|
|
83
|
+
:value-single="true"
|
|
84
|
+
close-on-select ></v-select>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="form-group col-sm-3">
|
|
87
|
+
<label class="font_normal_body">项目地址:</label>
|
|
88
|
+
<input type="text" class="input_search" placeholder='项目地址' v-model="model.f_address"
|
|
89
|
+
v-on:keyup.enter="$parent.$parent.search()"
|
|
90
|
+
style="width: 60%"
|
|
91
|
+
condition="u.f_address like '%{}%'">
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
</criteria>
|
|
96
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
97
|
+
<template partial='head'>
|
|
98
|
+
<tr>
|
|
99
|
+
<th style="white-space: nowrap;">序号</th>
|
|
100
|
+
<th style="white-space: nowrap;">项目名称</th>
|
|
101
|
+
<th style="white-space: nowrap;">工程编号</th>
|
|
102
|
+
<th style="white-space: nowrap;">项目类型</th>
|
|
103
|
+
<th style="white-space: nowrap;">工程类型</th>
|
|
104
|
+
<th style="white-space: nowrap;">项目区域</th>
|
|
105
|
+
<th style="white-space: nowrap;">联系人</th>
|
|
106
|
+
<th style="white-space: nowrap;">联系电话</th>
|
|
107
|
+
<th style="white-space: nowrap;">CEA号</th>
|
|
108
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
109
|
+
<th style="white-space: nowrap;">项目地址</th>
|
|
110
|
+
<th style="white-space: nowrap;">操作</th>
|
|
111
|
+
</tr>
|
|
112
|
+
</template>
|
|
113
|
+
<template partial='body'>
|
|
114
|
+
<tr >
|
|
115
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
116
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
117
|
+
</td>
|
|
118
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
119
|
+
<nobr><font>{{row.f_entry_name}}</font></nobr>
|
|
120
|
+
</td>
|
|
121
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
122
|
+
<nobr><font>{{row.f_project_number}}</font></nobr>
|
|
123
|
+
</td>
|
|
124
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
125
|
+
<nobr><font>{{row.f_apply_type}}</font></nobr>
|
|
126
|
+
</td>
|
|
127
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
128
|
+
<nobr><font>{{row.f_project_type}}</font></nobr>
|
|
129
|
+
</td>
|
|
130
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
131
|
+
<nobr><font>{{row.f_project_area}}</font></nobr>
|
|
132
|
+
</td>
|
|
133
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
134
|
+
<nobr><font>{{row.f_contact}}</font></nobr>
|
|
135
|
+
</td>
|
|
136
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
137
|
+
<nobr><font>{{row.f_phone}}</font></nobr>
|
|
138
|
+
</td>
|
|
139
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
140
|
+
<nobr><font>{{row.f_cea_number}}</font></nobr>
|
|
141
|
+
</td>
|
|
142
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
143
|
+
<nobr><font>{{row.defname}}</font></nobr>
|
|
144
|
+
</td>
|
|
145
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
146
|
+
<nobr><font>{{row.f_address}}</font></nobr>
|
|
147
|
+
</td>
|
|
148
|
+
<td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' ]" style="text-align: center;">
|
|
149
|
+
<dropdown>
|
|
150
|
+
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
151
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
152
|
+
</button>
|
|
153
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
154
|
+
<li>
|
|
155
|
+
<a href="#" @click="$parent.$parent.$parent.click(row)">{{row.defname}}</a>
|
|
156
|
+
</li>
|
|
157
|
+
</ul>
|
|
158
|
+
</dropdown>
|
|
159
|
+
</td>
|
|
160
|
+
</tr>
|
|
161
|
+
</template>
|
|
162
|
+
</data-grid>
|
|
163
|
+
</criteria-paged>
|
|
164
|
+
|
|
165
|
+
<modal
|
|
166
|
+
v-if="showModal"
|
|
167
|
+
:show.sync="showModal"
|
|
168
|
+
backdrop="false"
|
|
169
|
+
title="工程类型"
|
|
170
|
+
cancel-text="取消"
|
|
171
|
+
ok-text="确认"
|
|
172
|
+
:callback="apply"
|
|
173
|
+
>
|
|
174
|
+
<div class="form-horizontal" slot="modal-body">
|
|
175
|
+
<div class="form-group" style="margin: 10px auto">
|
|
176
|
+
<label class="col-sm-3 control-label">项目类型:</label>
|
|
177
|
+
<div class="col-sm-9">
|
|
178
|
+
<v-select
|
|
179
|
+
v-model="f_apply_type"
|
|
180
|
+
placeholder='请选择需要发起的工程类型'
|
|
181
|
+
:value.sync="f_apply_type"
|
|
182
|
+
:options='$appdata.getParam("项目类型")'
|
|
183
|
+
:value-single="true"
|
|
184
|
+
class="select select_list"
|
|
185
|
+
:search="false"
|
|
186
|
+
close-on-select ></v-select>
|
|
187
|
+
</div>
|
|
188
|
+
</div>
|
|
189
|
+
</div>
|
|
190
|
+
</modal>
|
|
191
|
+
</div>
|
|
192
|
+
</template>
|
|
193
|
+
<script>
|
|
194
|
+
import {PagedList} from 'vue-client'
|
|
195
|
+
import {HttpResetClass} from 'vue-client'
|
|
196
|
+
import {isEmpty} from '../../../Util'
|
|
197
|
+
export default {
|
|
198
|
+
title: '工程列表',
|
|
199
|
+
props: ['showData'],
|
|
200
|
+
data () {
|
|
201
|
+
return {
|
|
202
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('项目类型')], // 所有报建类型
|
|
203
|
+
projectTypes: [{label: '全部', value: ''},...this.$appdata.getParam('工程类型')],
|
|
204
|
+
projectAreas: [{label: '全部', value: ''}, ...this.$appdata.getParam('项目区域')], // 所有报建类型
|
|
205
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
206
|
+
model: new PagedList('rs/sql/checkuser', 20, {
|
|
207
|
+
data: {
|
|
208
|
+
id: this.$login.f.id,
|
|
209
|
+
orgid: this.$login.f.orgid
|
|
210
|
+
}
|
|
211
|
+
}),
|
|
212
|
+
f_apply_type: '', // 报建类型
|
|
213
|
+
// startname: null, // 启动节点
|
|
214
|
+
criteriaShow: false, // 控制查询条件显示
|
|
215
|
+
showModal: false // 控制发起类型选择
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
ready () {
|
|
219
|
+
// 调用查询
|
|
220
|
+
this.search()
|
|
221
|
+
|
|
222
|
+
console.log(this.$login.f)
|
|
223
|
+
},
|
|
224
|
+
methods: {
|
|
225
|
+
clear () {
|
|
226
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
227
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
228
|
+
})
|
|
229
|
+
},
|
|
230
|
+
// 查询
|
|
231
|
+
search () {
|
|
232
|
+
this.$dispatch('search')
|
|
233
|
+
},
|
|
234
|
+
// 根据项目类型获取对应的流程节点
|
|
235
|
+
applyTypeChange () {
|
|
236
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
237
|
+
let http = new HttpResetClass()
|
|
238
|
+
http.load('POST', 'rs/logic/getDefnameByType', {
|
|
239
|
+
f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
|
|
240
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
241
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
242
|
+
})
|
|
243
|
+
|
|
244
|
+
this.projectTypes = [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}工程类型`)]
|
|
245
|
+
} else {
|
|
246
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
247
|
+
this.projectTypes = [{label: '全部', value: ''}]
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
// 获取流程id
|
|
251
|
+
async getProcessId(processname) {
|
|
252
|
+
let http = new HttpResetClass()
|
|
253
|
+
let data = {
|
|
254
|
+
workname: processname
|
|
255
|
+
}
|
|
256
|
+
let res = await http.load('POST', 'rs/logic/getProcessId', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
257
|
+
|
|
258
|
+
return res.data
|
|
259
|
+
},
|
|
260
|
+
// 报装申请
|
|
261
|
+
async apply () {
|
|
262
|
+
if (this.f_apply_type === '' || this.f_apply_type === null) {
|
|
263
|
+
this.$showAlert('请选择需要发起的类型', 'warning', 3000)
|
|
264
|
+
return
|
|
265
|
+
}
|
|
266
|
+
let val = {
|
|
267
|
+
f_apply_type: this.f_apply_type
|
|
268
|
+
}
|
|
269
|
+
if (this.f_apply_type === '主体项目') {
|
|
270
|
+
val.defname = '信息录入'
|
|
271
|
+
val.processname = '主体项目流程'
|
|
272
|
+
} else if (this.f_apply_type === '客户项目') {
|
|
273
|
+
val.defname = '信息录入'
|
|
274
|
+
val.processname = '客户项目流程'
|
|
275
|
+
} else {
|
|
276
|
+
this.$showMessage('暂无此类报装')
|
|
277
|
+
return
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
val.f_sub_state = "新增"
|
|
281
|
+
val.f_process_id = await this.getProcessId(val.processname)
|
|
282
|
+
|
|
283
|
+
// 调用ExplorationUser事件
|
|
284
|
+
this.$dispatch('apply', val)
|
|
285
|
+
|
|
286
|
+
this.f_apply_type = null
|
|
287
|
+
this.showModal = false
|
|
288
|
+
},
|
|
289
|
+
// 点击操作
|
|
290
|
+
click (val) {
|
|
291
|
+
this.$dispatch('apply', val)
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
computed: {
|
|
295
|
+
},
|
|
296
|
+
watch: {
|
|
297
|
+
'model.rows': {
|
|
298
|
+
handler: function () {
|
|
299
|
+
let isover = [] // 过期(超时)数据
|
|
300
|
+
let isbeforeover = [] // 未过期 提前提醒
|
|
301
|
+
for (let i = 0; i < this.model.rows.length; i++) {
|
|
302
|
+
let item = this.model.rows[i]
|
|
303
|
+
if (item.isover === '过期') {
|
|
304
|
+
isover.push(i + 1)
|
|
305
|
+
}
|
|
306
|
+
if (item.isbeforeover === '预期提醒') {
|
|
307
|
+
isbeforeover.push(i + 1)
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
let msg = null
|
|
311
|
+
if (isover.length > 0) {
|
|
312
|
+
msg = `第${isover.toString()}条数据已过期`
|
|
313
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
if (isbeforeover.length > 0) {
|
|
317
|
+
msg = `第${isbeforeover.toString()}条数据即将过期`
|
|
318
|
+
if (isover.length > 0) {
|
|
319
|
+
setTimeout(() => {
|
|
320
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
321
|
+
}, 4000)
|
|
322
|
+
} else {
|
|
323
|
+
this.$showAlert(msg, 'warning', 3000)
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
</script>
|
|
331
|
+
<style scoped>
|
|
332
|
+
|
|
333
|
+
.p1 {
|
|
334
|
+
color: #dc0b12;
|
|
335
|
+
font-weight:bold
|
|
336
|
+
}
|
|
337
|
+
.p {
|
|
338
|
+
color: #ffaf4f;
|
|
339
|
+
}
|
|
340
|
+
</style>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="row" :style="'max-height: ' + maxHeight + ';overflow: scroll'">
|
|
3
|
+
<div class="col-sm-6" :style="'height: ' + imgHeight + '!important;padding: ' + imgPadding" v-for="url in imgs">
|
|
4
|
+
<a :href="url" target="_blank">
|
|
5
|
+
<img :src="url" style="width: 100%;height: 100%">
|
|
6
|
+
</a>
|
|
7
|
+
</div>
|
|
8
|
+
</div>
|
|
9
|
+
</template>
|
|
10
|
+
<script>
|
|
11
|
+
import Vue from 'vue'
|
|
12
|
+
import {HttpResetClass} from 'vue-client'
|
|
13
|
+
export default {
|
|
14
|
+
title: '图片展示',
|
|
15
|
+
props: ['imgs', 'maxHeight', 'imgHeight', 'imgPadding'],
|
|
16
|
+
data () {
|
|
17
|
+
return {
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
ready () {
|
|
21
|
+
},
|
|
22
|
+
methods: {
|
|
23
|
+
},
|
|
24
|
+
events: {
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
</script>
|