apply-clients 3.2.34 → 3.2.48
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
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="page-header app-header auto">
|
|
3
|
-
<div @click='back()' v-show="needBack">
|
|
4
|
-
<img src="../../../assets/back.png"/>
|
|
5
|
-
</div>
|
|
6
|
-
</div>
|
|
7
|
-
</template>
|
|
8
|
-
|
|
9
|
-
<script>
|
|
10
|
-
export default {
|
|
11
|
-
title: '底部返回组件',
|
|
12
|
-
data () {
|
|
13
|
-
return {}
|
|
14
|
-
},
|
|
15
|
-
props: {
|
|
16
|
-
title: {
|
|
17
|
-
type: String,
|
|
18
|
-
default: '燃气应用'
|
|
19
|
-
},
|
|
20
|
-
needBack: {
|
|
21
|
-
type: Boolean,
|
|
22
|
-
default: true
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
methods: {
|
|
26
|
-
back () {
|
|
27
|
-
// console.log('发送返回事件')
|
|
28
|
-
this.$emit('flag')
|
|
29
|
-
},
|
|
30
|
-
// 关闭新消息响铃(静音)
|
|
31
|
-
mute () {
|
|
32
|
-
HostApp.mute()
|
|
33
|
-
},
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
</script>
|
|
37
|
-
<style scoped>
|
|
38
|
-
.app-header {
|
|
39
|
-
border-radius: 50%;
|
|
40
|
-
position:fixed;
|
|
41
|
-
background: rgba(73, 158, 223, 0.12);
|
|
42
|
-
color: #FFF;
|
|
43
|
-
padding: 8px;
|
|
44
|
-
text-align: center;
|
|
45
|
-
font-size: 1.2em;
|
|
46
|
-
z-index: 10;
|
|
47
|
-
opacity:0.5;
|
|
48
|
-
bottom: 50px;
|
|
49
|
-
margin-top: -20px;
|
|
50
|
-
}
|
|
51
|
-
</style>
|
|
@@ -1,330 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="treemx" class="tree fonte" v-if="refreshed" style="overflow-x: scroll;max-height: 80vh" >
|
|
3
|
-
<ul v-for='(rootindex,item) in menulist' :key="item.id">
|
|
4
|
-
<!-- 没有子集 -->
|
|
5
|
-
<li v-if='!item._child'>
|
|
6
|
-
<div class="treeItem" @click="selected(item)">
|
|
7
|
-
<a href="#">{{item.catename}}</a>
|
|
8
|
-
<div class="liright">
|
|
9
|
-
<span :class="item.enabled_text == '启用'?'bgYes':'bgNo'">{{item.enabled_text}}</span>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
</li>
|
|
13
|
-
<!-- 有子集 -->
|
|
14
|
-
<li v-if='item._child'>
|
|
15
|
-
<div class="onechild treeItem" >
|
|
16
|
-
<a href="#" @click.native='toggleChildren(rootindex)'>{{item.expanded?'▼ ':'►'}}{{item.catename}}</a>
|
|
17
|
-
<div class="liright">
|
|
18
|
-
<span :class="item.enabled_text == '启用'?'bgYes':'bgNo'">{{item.enabled_text}}</span>
|
|
19
|
-
</div>
|
|
20
|
-
</div>
|
|
21
|
-
<ul v-show='item.expanded' class="childs" style="overflow-x: auto;">
|
|
22
|
-
<li v-for='(parentindex,child) in item._child' :key="child.id" >
|
|
23
|
-
<!-- 没有子集 -->
|
|
24
|
-
<div class="twochild treeItem marginL60" v-if="!child._child" @click="selected(child,rootindex)"><a href="#">{{child.catename}}</a>
|
|
25
|
-
<div class="liright">
|
|
26
|
-
<span :class="child.enabled_text == '启用'?'bgYes':'bgNo'">{{child.enabled_text}}</span>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
<!-- 有子集 -->
|
|
30
|
-
<div class="twochild marginL60" v-if="child._child">
|
|
31
|
-
<div class="treeItem" >
|
|
32
|
-
<a href="#" @click.native='toggleChildren(rootindex,parentindex)'>{{child.expanded?'▼ ':'►'}}{{child.catename}}</a>
|
|
33
|
-
<div class="liright">
|
|
34
|
-
<span :class="child.enabled_text == '启用'?'bgYes':'bgNo'">{{child.enabled_text}}</span>
|
|
35
|
-
</div>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<ul v-show='child.expanded'>
|
|
39
|
-
<!-- 遍历第三层 -->
|
|
40
|
-
<li class="threechild" v-for="(childIndex,child1) in child._child" :key="child1.id" style="overflow-x: auto;">
|
|
41
|
-
<div class="treeItem marginL60">
|
|
42
|
-
<a href="#" @click.native="add(rootindex,parentindex,childIndex)">{{child1.catename}} <span v-if="child1.count">数量:{{child1.count}}</span></a>
|
|
43
|
-
</div>
|
|
44
|
-
</li>
|
|
45
|
-
</ul>
|
|
46
|
-
</div>
|
|
47
|
-
</li>
|
|
48
|
-
</ul>
|
|
49
|
-
</li>
|
|
50
|
-
|
|
51
|
-
</ul>
|
|
52
|
-
</div>
|
|
53
|
-
|
|
54
|
-
<modal :show.sync="addshow2" v-ref:modal backdrop="false">
|
|
55
|
-
<header slot="modal-header" class="modal-header">
|
|
56
|
-
<button type="button" class="close" @click="closeadd"><span>×</span></button>
|
|
57
|
-
<h4 class="modal-title">数量</h4>
|
|
58
|
-
</header>
|
|
59
|
-
<article slot="modal-body" class="modal-body">
|
|
60
|
-
<input class="form-control" style="background-color: #f7fbff;"
|
|
61
|
-
type="number"
|
|
62
|
-
v-model="inputvalue"
|
|
63
|
-
:value="inputvalue"
|
|
64
|
-
/>
|
|
65
|
-
</article>
|
|
66
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
67
|
-
<!--<button type="button" class="btn btn-default" @click='addclose'>取消</button>-->
|
|
68
|
-
<button type="button" class="btn btn-success" @click='addconfirm2'>确认</button>
|
|
69
|
-
</footer>
|
|
70
|
-
</modal>
|
|
71
|
-
</template>
|
|
72
|
-
|
|
73
|
-
<script>
|
|
74
|
-
export default {
|
|
75
|
-
title: 'new',
|
|
76
|
-
props: {
|
|
77
|
-
menulist: {
|
|
78
|
-
type: Array,
|
|
79
|
-
default: []
|
|
80
|
-
},
|
|
81
|
-
scrolltop:{
|
|
82
|
-
default:0
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
data() {
|
|
86
|
-
return {
|
|
87
|
-
rootindex:null,
|
|
88
|
-
parentindex:null,
|
|
89
|
-
childIndex:null,
|
|
90
|
-
inputvalue:null,
|
|
91
|
-
addshow2:false,
|
|
92
|
-
refreshed:true, //强制刷新
|
|
93
|
-
menulist: [{
|
|
94
|
-
catename: '水果',
|
|
95
|
-
expanded: false,
|
|
96
|
-
_child: [{
|
|
97
|
-
catename: '苹果',
|
|
98
|
-
}, {
|
|
99
|
-
catename: '荔枝'
|
|
100
|
-
}, {
|
|
101
|
-
catename: '葡萄'
|
|
102
|
-
}, {
|
|
103
|
-
catename: '火龙果',
|
|
104
|
-
expanded: false,
|
|
105
|
-
_child: [
|
|
106
|
-
{
|
|
107
|
-
id: 0,
|
|
108
|
-
catename: '白心',
|
|
109
|
-
}, {
|
|
110
|
-
id: 1,
|
|
111
|
-
catename: '红心',
|
|
112
|
-
},
|
|
113
|
-
]
|
|
114
|
-
}]
|
|
115
|
-
}]
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
ready(){
|
|
119
|
-
this.updatecrollTop(this.scrolltop)
|
|
120
|
-
},
|
|
121
|
-
methods: {
|
|
122
|
-
updatecrollTop(hight){
|
|
123
|
-
console.log("scrollTop",hight)
|
|
124
|
-
let doc = document.getElementById("treemx")
|
|
125
|
-
doc.scrollTop = 0
|
|
126
|
-
doc.scrollTop = hight
|
|
127
|
-
// document.getElementById("treemx").scrollTop = hight
|
|
128
|
-
// document.documentElement.scrollTop = hight
|
|
129
|
-
// window.pageYOffset = hight
|
|
130
|
-
// document.body.scrollTop = hight
|
|
131
|
-
},
|
|
132
|
-
closeadd(){
|
|
133
|
-
this.rootindex = null
|
|
134
|
-
this.parentindex = null
|
|
135
|
-
this.childIndex = null
|
|
136
|
-
this.inputvalue = null
|
|
137
|
-
this.addshow2 = false
|
|
138
|
-
},
|
|
139
|
-
addconfirm2(){
|
|
140
|
-
this.menulist[this.rootindex]._child[this.parentindex]._child[this.childIndex].count = this.inputvalue
|
|
141
|
-
this.$dispatch('menulistSelected', this.menulist[this.rootindex]._child[this.parentindex]._child[this.childIndex],this.rootindex,this.parentindex)
|
|
142
|
-
this.closeadd()
|
|
143
|
-
},
|
|
144
|
-
add(rootindex,parentindex,childIndex){
|
|
145
|
-
this.rootindex = rootindex
|
|
146
|
-
this.parentindex = parentindex
|
|
147
|
-
this.childIndex = childIndex
|
|
148
|
-
this.addshow2 = true
|
|
149
|
-
},
|
|
150
|
-
selectedFormat(rootindex,parentindex,childIndex){
|
|
151
|
-
if(this.menulist[rootindex]._child[parentindex]._child[childIndex].showButton == undefined){
|
|
152
|
-
this.menulist[rootindex]._child[parentindex]._child[childIndex].showButton = false
|
|
153
|
-
}
|
|
154
|
-
this.menulist[rootindex]._child[parentindex]._child[childIndex].showButton = !this.menulist[rootindex]._child[parentindex]._child[childIndex].showButton
|
|
155
|
-
// this.refreshed = false
|
|
156
|
-
// this.$nextTick(()=>{
|
|
157
|
-
// this.refreshed = true
|
|
158
|
-
// })
|
|
159
|
-
},
|
|
160
|
-
selectedCount(rootindex,parentindex,childIndex){
|
|
161
|
-
this.menulist[rootindex]._child[parentindex]._child[childIndex].expanded = true
|
|
162
|
-
},
|
|
163
|
-
inputCount(item,parentindex,childIndex){
|
|
164
|
-
console.log('count',item.count)
|
|
165
|
-
this.$dispatch('menulistSelected', item,val1,val2)
|
|
166
|
-
},
|
|
167
|
-
selected(item,val1,val2) {
|
|
168
|
-
console.log('item', item)
|
|
169
|
-
this.$dispatch('menulistSelected', item,val1,val2)
|
|
170
|
-
},
|
|
171
|
-
toggleChildren(rootindex,parentindex) {
|
|
172
|
-
if(parentindex!=undefined){
|
|
173
|
-
this.menulist[rootindex]._child[parentindex].expanded = !this.menulist[rootindex]._child[parentindex].expanded
|
|
174
|
-
// this.refreshed = false
|
|
175
|
-
// this.$nextTick(()=>{
|
|
176
|
-
// this.refreshed = true
|
|
177
|
-
// })
|
|
178
|
-
}else if(rootindex!=undefined) {
|
|
179
|
-
this.menulist[rootindex].expanded = !this.menulist[rootindex].expanded
|
|
180
|
-
}
|
|
181
|
-
this.$dispatch('updateTree')
|
|
182
|
-
|
|
183
|
-
},
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
</script>
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
<style scoped>
|
|
190
|
-
|
|
191
|
-
ul {
|
|
192
|
-
display: block;
|
|
193
|
-
list-style-type: disc;
|
|
194
|
-
margin-block-start: 1em;
|
|
195
|
-
margin-block-end: 1em;
|
|
196
|
-
margin-inline-start: 0px;
|
|
197
|
-
margin-inline-end: 0px;
|
|
198
|
-
padding-inline-start: 40px;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
.addressBox {
|
|
202
|
-
position: fixed;
|
|
203
|
-
bottom: 0;
|
|
204
|
-
left: 0;
|
|
205
|
-
width: 100%;
|
|
206
|
-
height: 5.1rem;
|
|
207
|
-
z-index: 9;
|
|
208
|
-
background: #f5f5f5;
|
|
209
|
-
display: block !important;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
span:focus {
|
|
213
|
-
background-color: silver;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
a {
|
|
217
|
-
font-size: 20px;
|
|
218
|
-
text-decoration: none;
|
|
219
|
-
color: black;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
a:hover {
|
|
223
|
-
font-size: 20px;
|
|
224
|
-
text-decoration: none;
|
|
225
|
-
color: deepskyblue;
|
|
226
|
-
/*background-color: silver;*/
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.addressBox ul {
|
|
230
|
-
width: 33%;
|
|
231
|
-
height: 5.1rem;
|
|
232
|
-
background: #E6E6E6;
|
|
233
|
-
overflow-y: scroll;
|
|
234
|
-
overflow-x: auto;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
.addressBox li {
|
|
238
|
-
height: 0.62rem;
|
|
239
|
-
font: normal 0.26rem/0.62rem "微软雅黑";
|
|
240
|
-
color: #666;
|
|
241
|
-
text-align: center;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
.cityBox {
|
|
245
|
-
position: absolute;
|
|
246
|
-
top: 0;
|
|
247
|
-
left: 33%;
|
|
248
|
-
width: 100%;
|
|
249
|
-
height: 5.1rem;
|
|
250
|
-
display: none;
|
|
251
|
-
overflow-y: scroll;
|
|
252
|
-
z-index: 19;
|
|
253
|
-
background: #E6E6E6;
|
|
254
|
-
-webkit-overflow-scrolling: touch;
|
|
255
|
-
overflow-x: auto;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
.cityBox ul {
|
|
259
|
-
width: 100%;
|
|
260
|
-
height: 5.1rem;
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
.cityBox li {
|
|
264
|
-
padding-left: 0.17rem;
|
|
265
|
-
text-align: left;
|
|
266
|
-
border-bottom: 0.01rem solid #e6e6e6;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
.areaBox {
|
|
270
|
-
position: absolute;
|
|
271
|
-
top: 0;
|
|
272
|
-
left: 33%;
|
|
273
|
-
width: 33%;
|
|
274
|
-
height: 5.1rem;
|
|
275
|
-
display: none;
|
|
276
|
-
overflow-y: scroll;
|
|
277
|
-
z-index: 9999;
|
|
278
|
-
-webkit-overflow-scrolling: touch;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/*模态框*/
|
|
282
|
-
.model {
|
|
283
|
-
position: absolute;
|
|
284
|
-
top: 0%;
|
|
285
|
-
left: 0%;
|
|
286
|
-
background: rgba(0, 0, 0, 0.3);
|
|
287
|
-
width: 100%;
|
|
288
|
-
height: 100%;
|
|
289
|
-
position: fixed;
|
|
290
|
-
z-index: 9999;
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
.model-content {
|
|
294
|
-
position: absolute;
|
|
295
|
-
left: 0;
|
|
296
|
-
right: 0;
|
|
297
|
-
bottom: 0;
|
|
298
|
-
border-radius: .15rem;
|
|
299
|
-
margin: auto;
|
|
300
|
-
background-color: #ffffff;
|
|
301
|
-
text-align: center;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
input {
|
|
305
|
-
font-size: 0.32rem;
|
|
306
|
-
width: 100%;
|
|
307
|
-
text-align: center;
|
|
308
|
-
margin-top: .3rem;
|
|
309
|
-
border: 1px solid #ccc;
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
/*点击省份,出现城市*/
|
|
313
|
-
.addressBox .active {
|
|
314
|
-
background: #f5f5f5;
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.addressBox .active .cityBox {
|
|
318
|
-
display: block;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/*点击城市,出现区域*/
|
|
322
|
-
.cityBox .active {
|
|
323
|
-
background: #f5f5f5;
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
.cityBox .active .areaBox {
|
|
327
|
-
display: block;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
</style>
|