safecheck-client 3.0.33-90 → 3.0.33-91
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/.babelrc +5 -5
- package/.editorconfig +9 -9
- package/android.html +18 -18
- package/build/css-loaders.js +34 -34
- package/build/dev-android.js +151 -151
- package/build/dev-client.js +8 -8
- package/build/release.sh +28 -28
- package/build/utils.js +71 -71
- package/build/webpack.baseandroid.conf.js +83 -83
- package/build/webpack.devandroid.conf.js +33 -33
- package/build/webpack.hanwei.conf.js +57 -57
- package/build/webpack.hwbase.conf.js +78 -78
- package/build/webpack.prodandroid.conf.js +60 -60
- package/build/webpack.test.conf.js +31 -31
- package/config/dev.env.js +6 -6
- package/config/index.js +38 -38
- package/config/prod.env.js +3 -3
- package/config/test.env.js +6 -6
- package/docs/AppBase.md +22 -22
- package/docs/Busy.md +14 -14
- package/docs/Criteria.md +47 -47
- package/docs/CriteriaPaged.md +47 -47
- package/docs/DataGrid.md +54 -54
- package/docs/DataModel.md +22 -22
- package/docs/Dynamic.md +42 -42
- package/docs/FormPrint.md +18 -18
- package/docs/GetParams.md +11 -11
- package/docs/GridTree.md +47 -47
- package/docs/HttpBusy.md +13 -13
- package/docs/HttpStore.md +29 -29
- package/docs/MessageBox.md +28 -28
- package/docs/PagedList.md +29 -29
- package/docs/Pager.md +21 -21
- package/docs/PrintFile.md +38 -38
- package/docs/Project.md +23 -23
- package/docs/Route.md +105 -105
- package/docs/SafetyCheck/AdjustPlan.md +13 -13
- package/docs/SafetyCheck/CheckerPlan.md +12 -12
- package/docs/Task.md +46 -46
- package/docs/TreeList.md +28 -28
- package/docs/TreeMixin.md +18 -18
- package/docs/all.md +10 -10
- package/docs/list.md +42 -42
- package/docs/partial.md +75 -75
- package/docs/selector.md +82 -82
- package/docs/tree.md +40 -40
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243/Snippets.md +28 -28
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue-strap/345/217/230/346/233/264/350/256/260/345/275/225.md +7 -7
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue/345/217/230/346/233/264/350/256/260/345/275/225.md +13 -13
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243//345/274/200/345/217/221/347/216/257/345/242/203/350/256/276/347/275/256.md +77 -77
- package/docs//347/225/214/351/235/242/345/210/266/344/275/234/350/247/204/350/214/203.md +54 -54
- package/examples/AddressList/App.vue +13 -13
- package/examples/AddressList/index.html +11 -11
- package/examples/DispatchList/App.vue +10 -10
- package/examples/DispatchList/BaseTree.vue +13 -13
- package/examples/DispatchList/Init.vue +22 -22
- package/examples/DispatchList/Test.vue +20 -20
- package/examples/DispatchList/index.html +11 -11
- package/examples/DispatchList/main.js +18 -18
- package/home.html +16 -16
- package/package.json +1 -1
- package/publish.bat +7 -7
- package/release.bat +5 -5
- package/src/Widget.vue +13 -13
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
- package/src/android-bootstrap/less/.csscomb.json +304 -304
- package/src/android-bootstrap/less/.csslintrc +19 -19
- package/src/android-bootstrap/less/alerts.less +73 -73
- package/src/android-bootstrap/less/badges.less +66 -66
- package/src/android-bootstrap/less/bootstrap.less +56 -56
- package/src/android-bootstrap/less/breadcrumbs.less +26 -26
- package/src/android-bootstrap/less/button-groups.less +247 -247
- package/src/android-bootstrap/less/buttons.less +173 -173
- package/src/android-bootstrap/less/carousel.less +269 -269
- package/src/android-bootstrap/less/close.less +34 -34
- package/src/android-bootstrap/less/code.less +69 -69
- package/src/android-bootstrap/less/component-animations.less +33 -33
- package/src/android-bootstrap/less/dropdowns.less +216 -216
- package/src/android-bootstrap/less/forms.less +626 -626
- package/src/android-bootstrap/less/grid.less +84 -84
- package/src/android-bootstrap/less/input-groups.less +167 -167
- package/src/android-bootstrap/less/jumbotron.less +52 -52
- package/src/android-bootstrap/less/labels.less +64 -64
- package/src/android-bootstrap/less/list-group.less +141 -141
- package/src/android-bootstrap/less/media.less +66 -66
- package/src/android-bootstrap/less/mixins/alerts.less +14 -14
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
- package/src/android-bootstrap/less/mixins/buttons.less +69 -69
- package/src/android-bootstrap/less/mixins/center-block.less +7 -7
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
- package/src/android-bootstrap/less/mixins/forms.less +90 -90
- package/src/android-bootstrap/less/mixins/gradients.less +59 -59
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
- package/src/android-bootstrap/less/mixins/grid.less +122 -122
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
- package/src/android-bootstrap/less/mixins/image.less +33 -33
- package/src/android-bootstrap/less/mixins/labels.less +12 -12
- package/src/android-bootstrap/less/mixins/list-group.less +30 -30
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
- package/src/android-bootstrap/less/mixins/opacity.less +8 -8
- package/src/android-bootstrap/less/mixins/pagination.less +24 -24
- package/src/android-bootstrap/less/mixins/panels.less +24 -24
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
- package/src/android-bootstrap/less/mixins/resize.less +6 -6
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
- package/src/android-bootstrap/less/mixins/size.less +10 -10
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
- package/src/android-bootstrap/less/mixins/table-row.less +44 -44
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
- package/src/android-bootstrap/less/mixins.less +40 -40
- package/src/android-bootstrap/less/modals.less +151 -151
- package/src/android-bootstrap/less/navbar.less +660 -660
- package/src/android-bootstrap/less/navs.less +290 -290
- package/src/android-bootstrap/less/normalize.less +424 -424
- package/src/android-bootstrap/less/pager.less +76 -76
- package/src/android-bootstrap/less/pagination.less +89 -89
- package/src/android-bootstrap/less/panels.less +274 -274
- package/src/android-bootstrap/less/popovers.less +131 -131
- package/src/android-bootstrap/less/print.less +101 -101
- package/src/android-bootstrap/less/progress-bars.less +87 -87
- package/src/android-bootstrap/less/responsive-embed.less +35 -35
- package/src/android-bootstrap/less/responsive-utilities.less +194 -194
- package/src/android-bootstrap/less/scaffolding.less +161 -161
- package/src/android-bootstrap/less/tables.less +262 -262
- package/src/android-bootstrap/less/theme.less +291 -291
- package/src/android-bootstrap/less/thumbnails.less +36 -36
- package/src/android-bootstrap/less/tooltip.less +102 -102
- package/src/android-bootstrap/less/type.less +303 -303
- package/src/android-bootstrap/less/utilities.less +55 -55
- package/src/android-bootstrap/less/variables.less +896 -896
- package/src/android-bootstrap/less/wells.less +29 -29
- package/src/androidTest.js +20 -20
- package/src/bootstrap/less/.csscomb.json +304 -304
- package/src/bootstrap/less/.csslintrc +19 -19
- package/src/bootstrap/less/alerts.less +73 -73
- package/src/bootstrap/less/badges.less +66 -66
- package/src/bootstrap/less/breadcrumbs.less +26 -26
- package/src/bootstrap/less/button-groups.less +247 -247
- package/src/bootstrap/less/buttons.less +172 -172
- package/src/bootstrap/less/carousel.less +269 -269
- package/src/bootstrap/less/close.less +34 -34
- package/src/bootstrap/less/code.less +69 -69
- package/src/bootstrap/less/component-animations.less +33 -33
- package/src/bootstrap/less/dropdowns.less +216 -216
- package/src/bootstrap/less/forms.less +626 -626
- package/src/bootstrap/less/grid.less +84 -84
- package/src/bootstrap/less/input-groups.less +167 -167
- package/src/bootstrap/less/jumbotron.less +52 -52
- package/src/bootstrap/less/labels.less +64 -64
- package/src/bootstrap/less/list-group.less +141 -141
- package/src/bootstrap/less/media.less +66 -66
- package/src/bootstrap/less/mixins/alerts.less +14 -14
- package/src/bootstrap/less/mixins/background-variant.less +9 -9
- package/src/bootstrap/less/mixins/border-radius.less +18 -18
- package/src/bootstrap/less/mixins/buttons.less +69 -69
- package/src/bootstrap/less/mixins/center-block.less +7 -7
- package/src/bootstrap/less/mixins/clearfix.less +22 -22
- package/src/bootstrap/less/mixins/forms.less +90 -90
- package/src/bootstrap/less/mixins/gradients.less +59 -59
- package/src/bootstrap/less/mixins/grid-framework.less +92 -92
- package/src/bootstrap/less/mixins/grid.less +122 -122
- package/src/bootstrap/less/mixins/hide-text.less +21 -21
- package/src/bootstrap/less/mixins/image.less +33 -33
- package/src/bootstrap/less/mixins/labels.less +12 -12
- package/src/bootstrap/less/mixins/list-group.less +30 -30
- package/src/bootstrap/less/mixins/nav-divider.less +10 -10
- package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
- package/src/bootstrap/less/mixins/opacity.less +8 -8
- package/src/bootstrap/less/mixins/pagination.less +24 -24
- package/src/bootstrap/less/mixins/panels.less +24 -24
- package/src/bootstrap/less/mixins/progress-bar.less +10 -10
- package/src/bootstrap/less/mixins/reset-filter.less +8 -8
- package/src/bootstrap/less/mixins/reset-text.less +18 -18
- package/src/bootstrap/less/mixins/resize.less +6 -6
- package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
- package/src/bootstrap/less/mixins/size.less +10 -10
- package/src/bootstrap/less/mixins/tab-focus.less +9 -9
- package/src/bootstrap/less/mixins/table-row.less +44 -44
- package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
- package/src/bootstrap/less/mixins/text-overflow.less +8 -8
- package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
- package/src/bootstrap/less/mixins.less +40 -40
- package/src/bootstrap/less/modals.less +151 -151
- package/src/bootstrap/less/navbar.less +660 -660
- package/src/bootstrap/less/normalize.less +424 -424
- package/src/bootstrap/less/pager.less +76 -76
- package/src/bootstrap/less/pagination.less +89 -89
- package/src/bootstrap/less/panels.less +275 -275
- package/src/bootstrap/less/popovers.less +131 -131
- package/src/bootstrap/less/print.less +101 -101
- package/src/bootstrap/less/progress-bars.less +87 -87
- package/src/bootstrap/less/responsive-embed.less +35 -35
- package/src/bootstrap/less/responsive-utilities.less +194 -194
- package/src/bootstrap/less/scaffolding.less +161 -161
- package/src/bootstrap/less/tables.less +262 -262
- package/src/bootstrap/less/theme.less +291 -291
- package/src/bootstrap/less/thumbnails.less +36 -36
- package/src/bootstrap/less/tooltip.less +102 -102
- package/src/bootstrap/less/type.less +303 -303
- package/src/bootstrap/less/utilities.less +55 -55
- package/src/bootstrap/less/wells.less +29 -29
- package/src/components/AloneLoadParams.vue +25 -25
- package/src/components/FileUpload.vue +696 -696
- package/src/components/Hello.vue +39 -39
- package/src/components/LeftTree.vue +27 -27
- package/src/components/Main.vue +393 -393
- package/src/components/android/AddGas.vue +147 -147
- package/src/components/android/AddressList.vue +61 -61
- package/src/components/android/AttendanceTally.vue +116 -116
- package/src/components/android/Blank.vue +10 -10
- package/src/components/android/CheckUnplanPage.vue +56 -56
- package/src/components/android/Checker.vue +12 -12
- package/src/components/android/CheckerAnnual.vue +81 -81
- package/src/components/android/CheckerAvarta.vue +82 -82
- package/src/components/android/CheckerMonthly.vue +84 -84
- package/src/components/android/DevicesNoncivil.vue +214 -214
- package/src/components/android/EquipmentInspection.vue +348 -348
- package/src/components/android/FootprintMap.vue +120 -120
- package/src/components/android/HiddentroubleInvestigation.vue +192 -192
- package/src/components/android/LcheckUnplan.vue +108 -108
- package/src/components/android/MasterMain.vue +77 -77
- package/src/components/android/Menu.vue +132 -132
- package/src/components/android/NavBottom.vue +157 -157
- package/src/components/android/PaperAlarm.vue +85 -85
- package/src/components/android/PaperDeviceNoncivil.vue +214 -214
- package/src/components/android/PlumberAnnual.vue +83 -83
- package/src/components/android/PlumberAnnualDetail.vue +65 -65
- package/src/components/android/PlumberMonthly.vue +84 -84
- package/src/components/android/PostMap.vue +83 -83
- package/src/components/android/QueryCheckHistory.vue +122 -122
- package/src/components/android/QueryCheckHistoryItem.vue +62 -62
- package/src/components/android/RepairMain.vue +60 -60
- package/src/components/android/Repairman.vue +12 -12
- package/src/components/android/StationMaster.vue +12 -12
- package/src/components/android/SwitchValve.vue +323 -323
- package/src/components/checkerphonestate/Checker.vue +32 -32
- package/src/components/checkerphonestate/CheckerState.vue +97 -97
- package/src/components/defects/AddDefectModal.vue +120 -120
- package/src/components/defects/AddDevice.vue +95 -95
- package/src/components/defects/DefectModal.vue +101 -101
- package/src/components/defects/DefectSeting.vue +98 -98
- package/src/components/defects/DevicesAndItem.vue +39 -39
- package/src/components/defects/DevicesSeting.vue +106 -106
- package/src/components/equipment/BoilerUsage.vue +105 -105
- package/src/components/equipment/CookerUsage.vue +105 -105
- package/src/components/equipment/DeviceUsage.vue +105 -105
- package/src/components/equipment/FurnaceUsage.vue +105 -105
- package/src/components/equipment/GasMeterUsage.vue +109 -109
- package/src/components/equipment/HeaterUsage.vue +105 -105
- package/src/components/gasusage/GasUsage.vue +126 -126
- package/src/components/issueplan/IssuePlanMain.vue +23 -23
- package/src/components/metterfiles/AddUserfiles.vue +246 -246
- package/src/components/metterfiles/MetterFiles.vue +104 -104
- package/src/components/notice/NoticeForm.vue +100 -100
- package/src/components/notice/NoticeIssue.vue +20 -20
- package/src/components/notice/NoticeQuery.vue +76 -76
- package/src/components/paper/PicViewer.vue +18 -18
- package/src/components/paper/RepairVerify.vue +139 -139
- package/src/components/paper/RepairVerifyForm.vue +76 -76
- package/src/components/paper/VerifyForm.vue +107 -107
- package/src/components/phonestate/DailyTraffic.vue +57 -57
- package/src/components/phonestate/LastKnownState.vue +74 -74
- package/src/components/phonestate/MonthlyTraffic.vue +66 -66
- package/src/components/phonestate/MonthlyTrafficRouter.vue +15 -15
- package/src/components/phonestate/PostMap.vue +82 -82
- package/src/components/planmanage/checkUserList.vue +773 -773
- package/src/components/querycheckpaper/PaperItem.vue +59 -59
- package/src/components/task/RepairAnnual.vue +79 -79
- package/src/components/task/RepairAnnualDetail.vue +49 -49
- package/src/components/task/RepairMonthly.vue +91 -91
- package/src/components/task/TaskAnnual.vue +77 -77
- package/src/components/task/TaskAnnualDetail.vue +47 -47
- package/src/components/task/TaskMonthly.vue +89 -89
- package/src/components/userfile/MeterFile.vue +145 -145
- package/src/components/userfile/MeterModify.vue +46 -46
- package/src/components/userfile/UserFile.vue +118 -118
- package/src/components/userfile/UserfileChange.vue +277 -277
- package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
- package/src/expandcss.less +571 -571
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +468 -488
- package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1191 -1191
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +647 -647
- package/src/filiale/yangchunboneng/pc/PaperList.vue +744 -744
- package/src/main.js +33 -33
- package/src/plugins/LoadData.js +10 -10
- package/src/plugins/LoadParams.js +24 -24
- package/src/stores/AppData.js +46 -46
- package/src/stores/wxconfig.js +10 -10
- package/src/utils/getNowDate.js +33 -33
- package/test/e2e/custom-assertions/elementCount.js +26 -26
- package/test/e2e/nightwatch.conf.js +40 -40
- package/test/e2e/runner.js +30 -30
- package/test/e2e/specs/test.js +13 -13
- package/test/unit/.eslintrc +5 -5
- package/test/unit/TestUtil.js +62 -62
- package/test/unit/context.html +20 -20
- package/test/unit/index.js +13 -13
package/src/components/Main.vue
CHANGED
@@ -1,393 +1,393 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<div class='flex-row' id="box" v-el:box v-if="!isManger">
|
4
|
-
<div class="auto" style="position: fixed;right: 30px;top: 20px;">
|
5
|
-
<span>当前登录人:</span>
|
6
|
-
<label>{{name}}</label>
|
7
|
-
</div>
|
8
|
-
<div class="flex tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top >
|
9
|
-
<h3>Aote</h3>
|
10
|
-
<div class="span" style="margin-bottom:20px;flex: 1;">
|
11
|
-
<left-tree :functions='functions.functions' :userid='userid' v-show="treeOrIcon" v-ref:tree></left-tree>
|
12
|
-
<icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<div class="tree-flex-footer">
|
16
|
-
<a @click="changeShow()"><img :src="imgs.open" alt=""><span v-if="treeOrIcon">菜单伸缩</span></a>
|
17
|
-
<!-- <a><img src="../../../static/treeset.png" alt="">系统设置</a> -->
|
18
|
-
<dropdown class="auto">
|
19
|
-
<button type="button" data-toggle="dropdown">
|
20
|
-
<img :src="imgs.set" alt=""><span v-if="treeOrIcon">系统设置</span>
|
21
|
-
</button>
|
22
|
-
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up">
|
23
|
-
<li>系统信息及设置</li>
|
24
|
-
<!-- <li>{{name}}</li> -->
|
25
|
-
<li>{{date}}</li>
|
26
|
-
<li @click="show=true">修改密码</li>
|
27
|
-
<li @click="AddChangeMsgShow=true">系统版本:1.0.0</li>
|
28
|
-
</ul>
|
29
|
-
|
30
|
-
</dropdown>
|
31
|
-
<a href="home.html" onclick="return confirm('您确定要退出系统吗?');">
|
32
|
-
<img :src="imgs.out" alt="" ><span v-if="treeOrIcon">退出系统</span>
|
33
|
-
</a>
|
34
|
-
</div>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<!-- <div class="line" id="line" v-show="treeOrIcon" v-el:line></div> -->
|
38
|
-
|
39
|
-
<div class="flex right-bg" id="bottom" v-el:bottom>
|
40
|
-
<!-- <operator-badge></operator-badge> -->
|
41
|
-
<div class="span">
|
42
|
-
<echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>
|
43
|
-
<dynamic :comps='[]' name='main' @tab-changed="tabChange" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
</div>
|
47
|
-
<div v-show="isManger">
|
48
|
-
<route v-ref:route></route>
|
49
|
-
</div>
|
50
|
-
|
51
|
-
<!-- 变更录入 模态框 -->
|
52
|
-
<add-changemsg :show="AddChangeMsgShow" v-on:toggle = "AddChangeMsgShow = false"></add-changemsg>
|
53
|
-
<!-- 修改密码组件 -->
|
54
|
-
<modify-pw :show.sync="show" v-if="show"><modify-pw>
|
55
|
-
<!-- 修改密码模态框 -->
|
56
|
-
</div>
|
57
|
-
</template>
|
58
|
-
|
59
|
-
<script>
|
60
|
-
import * as Util from './Util'
|
61
|
-
|
62
|
-
export default {
|
63
|
-
title: '主界面',
|
64
|
-
props: ['functions', 'userid'],
|
65
|
-
data () {
|
66
|
-
return {
|
67
|
-
// 左侧树下部三个小图标
|
68
|
-
imgs: {
|
69
|
-
open: '/images/mainicon/treeopen.png',
|
70
|
-
set: '/images/mainicon/treeset.png',
|
71
|
-
out: '/images/mainicon/treeout.png'
|
72
|
-
},
|
73
|
-
treeOrIcon: false,
|
74
|
-
isManger: false,
|
75
|
-
show: false,
|
76
|
-
name: Util.f.name,
|
77
|
-
date: Util.toStandardDateString()
|
78
|
-
|
79
|
-
// headerHint: true, // 右侧顶部提示信息
|
80
|
-
// value: 25645.26,
|
81
|
-
// AddChangeMsgShow: false,
|
82
|
-
// showsum: false
|
83
|
-
}
|
84
|
-
},
|
85
|
-
ready () {
|
86
|
-
let component = Util.getUrlCompileParames('component')
|
87
|
-
if (component) {
|
88
|
-
this.isManger = true
|
89
|
-
this.$refs.route.init(component, {data: this.functions.functions})
|
90
|
-
}
|
91
|
-
// let oBox = this.getElement("box")
|
92
|
-
// let oTop = this.getElement("top")
|
93
|
-
// let oBottom = this.getElement("bottom")
|
94
|
-
// let oLine = this.getElement("line")
|
95
|
-
// let that = this
|
96
|
-
// oLine.onmousedown = function(e) {
|
97
|
-
// let disX = (e || event).clientX
|
98
|
-
// oLine.left = oLine.offsetLeft
|
99
|
-
// document.onmousemove = function(e) {
|
100
|
-
// let iT = oLine.left + ((e || event).clientX - disX)
|
101
|
-
// var e = e || window.event
|
102
|
-
// let tarnameb = e.target || e.srcElement
|
103
|
-
// let maxT = oBox.clientWight - oLine.offsetWidth
|
104
|
-
// oLine.style.margin = 0
|
105
|
-
// iT < 0 && (iT = 0)
|
106
|
-
// iT > maxT && (iT = maxT)
|
107
|
-
// oLine.style.left = oTop.style.width = iT + "px"
|
108
|
-
// oBottom.style.width = oBox.clientWidth - iT + "px"
|
109
|
-
// that.$set('treeWidth', iT)
|
110
|
-
// return false
|
111
|
-
// }
|
112
|
-
// document.onmouseup = function() {
|
113
|
-
// document.onmousemove = null
|
114
|
-
// document.onmouseup = null
|
115
|
-
// oLine.releaseCapture && oLine.releaseCapture()
|
116
|
-
// }
|
117
|
-
// oLine.setCapture && oLine.setCapture()
|
118
|
-
// return false
|
119
|
-
// }
|
120
|
-
this.changeShow()
|
121
|
-
},
|
122
|
-
methods: {
|
123
|
-
unfurl () {
|
124
|
-
if(this.showsum){
|
125
|
-
this.showsum = false
|
126
|
-
} else {
|
127
|
-
this.showsum = true
|
128
|
-
}
|
129
|
-
},
|
130
|
-
// getElement(id) {
|
131
|
-
// return document.getElementById(id)
|
132
|
-
// },
|
133
|
-
changeShow () {
|
134
|
-
// this.treeOrIcon = !this.treeOrIcon
|
135
|
-
// let oBox = this.getElement("box")
|
136
|
-
// let oTop = this.getElement("top")
|
137
|
-
// let oBottom = this.getElement("bottom")
|
138
|
-
// let oLine = this.getElement("line")
|
139
|
-
// if (this.treeOrIcon) {
|
140
|
-
// // oLine.style.left = oTop.style.width = 300 + "px"
|
141
|
-
// oTop.style.width = 150 + "px"
|
142
|
-
// oBottom.style.width = oBox.clientWidth - 150 + "px"
|
143
|
-
// }else {
|
144
|
-
// oLine.style.left = oTop.style.width = 50 + "px"
|
145
|
-
// oBottom.style.width = oBox.clientWidth - 50 + "px"
|
146
|
-
// }
|
147
|
-
// }
|
148
|
-
this.treeOrIcon = !this.treeOrIcon
|
149
|
-
if (this.treeOrIcon) {
|
150
|
-
this.$els.top.style.width = 160 + "px"
|
151
|
-
this.$els.bottom.style.width = this.$els.box.clientWidth - 160 + "px"
|
152
|
-
}else {
|
153
|
-
this.$els.top.style.width = 50 + "px"
|
154
|
-
this.$els.bottom.style.width = this.$els.box.clientWidth - 50 + "px"
|
155
|
-
}
|
156
|
-
},
|
157
|
-
tabChange (name) {
|
158
|
-
this.$refs.tree.changeSelect(name)
|
159
|
-
}
|
160
|
-
},
|
161
|
-
computed: {
|
162
|
-
nowDate () {
|
163
|
-
return Util.getNowDate()
|
164
|
-
}
|
165
|
-
}
|
166
|
-
}
|
167
|
-
</script>
|
168
|
-
<style lang="less">
|
169
|
-
/* 组件内通用样式 */
|
170
|
-
.select-error {
|
171
|
-
button {
|
172
|
-
border-bottom: 1px solid #a94442!important;
|
173
|
-
}
|
174
|
-
}
|
175
|
-
/* 表单输入框组 */
|
176
|
-
.form-input-group {
|
177
|
-
display: flex;
|
178
|
-
|
179
|
-
label {
|
180
|
-
width: 100px;
|
181
|
-
text-align: right;
|
182
|
-
+ * {
|
183
|
-
flex: 1;
|
184
|
-
}
|
185
|
-
}
|
186
|
-
}
|
187
|
-
// 日期组件在表单中沾满
|
188
|
-
.form-horizontal .datepicker {
|
189
|
-
width: 100%;
|
190
|
-
}
|
191
|
-
// 下拉选择框占据剩余全部空间
|
192
|
-
.select-overspread {
|
193
|
-
.form-group {
|
194
|
-
// margin: 0px 5px 10px 0px;
|
195
|
-
.form-control {
|
196
|
-
margin-right: 0px;
|
197
|
-
}
|
198
|
-
}
|
199
|
-
.btn-group, .btn-group-vertical {
|
200
|
-
width: 100%;
|
201
|
-
// padding-right: 5px;
|
202
|
-
button {
|
203
|
-
width: 100%;
|
204
|
-
display: flex;
|
205
|
-
justify-content: space-between;
|
206
|
-
align-items: center;
|
207
|
-
}
|
208
|
-
}
|
209
|
-
.dropdown-menu {
|
210
|
-
width: 100%
|
211
|
-
}
|
212
|
-
}
|
213
|
-
// 需要特定宽度的的样式
|
214
|
-
.width-60 {
|
215
|
-
width: 60px;
|
216
|
-
}
|
217
|
-
.width-80 {
|
218
|
-
width: 80px;
|
219
|
-
}
|
220
|
-
.width-100 {
|
221
|
-
width: 100px;
|
222
|
-
}
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
/*右侧区域的背景*/
|
227
|
-
.right-bg {
|
228
|
-
width: 100%;
|
229
|
-
flex: 1;
|
230
|
-
padding: 10px 25px;
|
231
|
-
color: #304A66;
|
232
|
-
}
|
233
|
-
.tree-flex {
|
234
|
-
height: 100%;
|
235
|
-
// width: 150px;
|
236
|
-
/*width: 60px;*/
|
237
|
-
background: #4C637B;
|
238
|
-
color: #fff;
|
239
|
-
|
240
|
-
}
|
241
|
-
.tree-flex-icon {
|
242
|
-
width: 50px;
|
243
|
-
/*transition: 0.5s;*/
|
244
|
-
> .span {
|
245
|
-
overflow-x: visible;
|
246
|
-
}
|
247
|
-
}
|
248
|
-
.tree-flex h3 {
|
249
|
-
text-align: center;
|
250
|
-
line-height: 80px;
|
251
|
-
margin: 0px;
|
252
|
-
}
|
253
|
-
|
254
|
-
.tree-flex-footer {
|
255
|
-
height: 150px;
|
256
|
-
display: flex;
|
257
|
-
flex-direction:column;
|
258
|
-
color: #fff;
|
259
|
-
}
|
260
|
-
.tree-flex-footer a,.tree-flex-footer button{
|
261
|
-
flex: 1;
|
262
|
-
padding: 8px 5px;
|
263
|
-
font-size: 1.2em;
|
264
|
-
border-top: 1px solid #697D93;
|
265
|
-
text-decoration: none;
|
266
|
-
color: #fff;
|
267
|
-
cursor: pointer;
|
268
|
-
}
|
269
|
-
.tree-flex-footer button {
|
270
|
-
height: auto;
|
271
|
-
width: 100%;
|
272
|
-
border-radius: 0px;
|
273
|
-
background-color: rgba(255,255,255,0);
|
274
|
-
border: none;
|
275
|
-
border-top: 1px solid #697D93;
|
276
|
-
text-align: left;
|
277
|
-
}
|
278
|
-
.tree-flex-footer button:hover{
|
279
|
-
outline: none;
|
280
|
-
background-color: rgba(255,255,255,0.2);
|
281
|
-
}
|
282
|
-
.tree-flex-footer button:focus {
|
283
|
-
outline: none;
|
284
|
-
background-color: rgba(255,255,255,0.5);
|
285
|
-
}
|
286
|
-
.tree-flex-footer a:hover {
|
287
|
-
color: #FFF;
|
288
|
-
background-color: rgba(255,255,255,0.2);
|
289
|
-
}
|
290
|
-
.tree-flex .btn-group {
|
291
|
-
height: 50px!important;
|
292
|
-
}
|
293
|
-
|
294
|
-
.tree-flex .dropdown-menu {
|
295
|
-
/* 控制显示列表的样式 */
|
296
|
-
background: #4C637B;
|
297
|
-
border-radius: 0px;
|
298
|
-
color: #fff;
|
299
|
-
width: auto;
|
300
|
-
margin: 0px;
|
301
|
-
padding: 0px;
|
302
|
-
}
|
303
|
-
.tree-flex .dropdown-menu-up {
|
304
|
-
/* bottom,top控制上下,left和right控制左右*/
|
305
|
-
left: 100%!important;
|
306
|
-
top: auto!important;
|
307
|
-
bottom: 0;
|
308
|
-
}
|
309
|
-
.tree-flex .dropdown-menu-down {
|
310
|
-
/* bottom,top控制上下,left和right控制左右*/
|
311
|
-
left: 100%!important;
|
312
|
-
top: 0!important;
|
313
|
-
}
|
314
|
-
.tree-flex .dropdown-menu li{
|
315
|
-
text-align: center;
|
316
|
-
line-height: 50px;
|
317
|
-
border-bottom: 1px solid #697D93;
|
318
|
-
font-size: 1.2em;
|
319
|
-
width: auto;
|
320
|
-
white-space: nowrap;
|
321
|
-
cursor: default;
|
322
|
-
|
323
|
-
}
|
324
|
-
.tree-flex .dropdown-menu li + li {
|
325
|
-
text-align: left;
|
326
|
-
border: 0;
|
327
|
-
line-height: 40px;
|
328
|
-
padding-left: 15px;
|
329
|
-
padding-right: 15px;
|
330
|
-
font-size: 1em;
|
331
|
-
cursor: pointer;
|
332
|
-
}
|
333
|
-
.tree-flex .dropdown-menu li + li:hover {
|
334
|
-
background-color: rgba(255,255,255,0.2);
|
335
|
-
}
|
336
|
-
.tree-flex .dropdown-menu li a {
|
337
|
-
border: none;
|
338
|
-
color: #fff;
|
339
|
-
height: 40px;
|
340
|
-
line-height: 40px;
|
341
|
-
font-size: 1em;
|
342
|
-
padding: 0px;
|
343
|
-
}
|
344
|
-
.tree-flex .dropdown-menu li a:hover {
|
345
|
-
color: #fff;
|
346
|
-
background-color: rgba(255,255,255,0);
|
347
|
-
}
|
348
|
-
.tree-flex img{
|
349
|
-
height: 30px;
|
350
|
-
margin-right: 15px;
|
351
|
-
}
|
352
|
-
.line {
|
353
|
-
height: 100%;
|
354
|
-
width: 5px;
|
355
|
-
background: #4C637B;
|
356
|
-
cursor: e-resize;
|
357
|
-
}
|
358
|
-
/*为树(tree)组件写的样式*/
|
359
|
-
.tree-img {
|
360
|
-
font-size: 1.2em;
|
361
|
-
}
|
362
|
-
|
363
|
-
/* 滚动条样式 */
|
364
|
-
/*---滚动条默认显示样式--*/
|
365
|
-
::-webkit-scrollbar-thumb{
|
366
|
-
// display: none;
|
367
|
-
background-color:rgba(0,0,0,0.2);
|
368
|
-
height:50px;
|
369
|
-
outline-offset:-2px;
|
370
|
-
/*outline:2px solid #fff;*/
|
371
|
-
-webkit-border-radius:4px;
|
372
|
-
/*border: 2px solid #fff;*/
|
373
|
-
}
|
374
|
-
|
375
|
-
/*---鼠标点击滚动条显示样式--*/
|
376
|
-
::-webkit-scrollbar-thumb:hover{
|
377
|
-
// display: inherit;
|
378
|
-
background-color:rgba(0,0,0,0.4);
|
379
|
-
height:50px;
|
380
|
-
-webkit-border-radius:4px;
|
381
|
-
}
|
382
|
-
/*---滚动条大小--*/
|
383
|
-
::-webkit-scrollbar{
|
384
|
-
width:8px;
|
385
|
-
height:8px;
|
386
|
-
}
|
387
|
-
/*---滚动框背景样式--*/
|
388
|
-
::-webkit-scrollbar-track-piece{
|
389
|
-
/* 全透明,不显示 */
|
390
|
-
background-color:rgba(255,255,255,0);
|
391
|
-
-webkit-border-radius:0;
|
392
|
-
}
|
393
|
-
</style>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<div class='flex-row' id="box" v-el:box v-if="!isManger">
|
4
|
+
<div class="auto" style="position: fixed;right: 30px;top: 20px;">
|
5
|
+
<span>当前登录人:</span>
|
6
|
+
<label>{{name}}</label>
|
7
|
+
</div>
|
8
|
+
<div class="flex tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top >
|
9
|
+
<h3>Aote</h3>
|
10
|
+
<div class="span" style="margin-bottom:20px;flex: 1;">
|
11
|
+
<left-tree :functions='functions.functions' :userid='userid' v-show="treeOrIcon" v-ref:tree></left-tree>
|
12
|
+
<icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
<div class="tree-flex-footer">
|
16
|
+
<a @click="changeShow()"><img :src="imgs.open" alt=""><span v-if="treeOrIcon">菜单伸缩</span></a>
|
17
|
+
<!-- <a><img src="../../../static/treeset.png" alt="">系统设置</a> -->
|
18
|
+
<dropdown class="auto">
|
19
|
+
<button type="button" data-toggle="dropdown">
|
20
|
+
<img :src="imgs.set" alt=""><span v-if="treeOrIcon">系统设置</span>
|
21
|
+
</button>
|
22
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up">
|
23
|
+
<li>系统信息及设置</li>
|
24
|
+
<!-- <li>{{name}}</li> -->
|
25
|
+
<li>{{date}}</li>
|
26
|
+
<li @click="show=true">修改密码</li>
|
27
|
+
<li @click="AddChangeMsgShow=true">系统版本:1.0.0</li>
|
28
|
+
</ul>
|
29
|
+
|
30
|
+
</dropdown>
|
31
|
+
<a href="home.html" onclick="return confirm('您确定要退出系统吗?');">
|
32
|
+
<img :src="imgs.out" alt="" ><span v-if="treeOrIcon">退出系统</span>
|
33
|
+
</a>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<!-- <div class="line" id="line" v-show="treeOrIcon" v-el:line></div> -->
|
38
|
+
|
39
|
+
<div class="flex right-bg" id="bottom" v-el:bottom>
|
40
|
+
<!-- <operator-badge></operator-badge> -->
|
41
|
+
<div class="span">
|
42
|
+
<echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>
|
43
|
+
<dynamic :comps='[]' name='main' @tab-changed="tabChange" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>
|
44
|
+
</div>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
<div v-show="isManger">
|
48
|
+
<route v-ref:route></route>
|
49
|
+
</div>
|
50
|
+
|
51
|
+
<!-- 变更录入 模态框 -->
|
52
|
+
<add-changemsg :show="AddChangeMsgShow" v-on:toggle = "AddChangeMsgShow = false"></add-changemsg>
|
53
|
+
<!-- 修改密码组件 -->
|
54
|
+
<modify-pw :show.sync="show" v-if="show"><modify-pw>
|
55
|
+
<!-- 修改密码模态框 -->
|
56
|
+
</div>
|
57
|
+
</template>
|
58
|
+
|
59
|
+
<script>
|
60
|
+
import * as Util from './Util'
|
61
|
+
|
62
|
+
export default {
|
63
|
+
title: '主界面',
|
64
|
+
props: ['functions', 'userid'],
|
65
|
+
data () {
|
66
|
+
return {
|
67
|
+
// 左侧树下部三个小图标
|
68
|
+
imgs: {
|
69
|
+
open: '/images/mainicon/treeopen.png',
|
70
|
+
set: '/images/mainicon/treeset.png',
|
71
|
+
out: '/images/mainicon/treeout.png'
|
72
|
+
},
|
73
|
+
treeOrIcon: false,
|
74
|
+
isManger: false,
|
75
|
+
show: false,
|
76
|
+
name: Util.f.name,
|
77
|
+
date: Util.toStandardDateString()
|
78
|
+
|
79
|
+
// headerHint: true, // 右侧顶部提示信息
|
80
|
+
// value: 25645.26,
|
81
|
+
// AddChangeMsgShow: false,
|
82
|
+
// showsum: false
|
83
|
+
}
|
84
|
+
},
|
85
|
+
ready () {
|
86
|
+
let component = Util.getUrlCompileParames('component')
|
87
|
+
if (component) {
|
88
|
+
this.isManger = true
|
89
|
+
this.$refs.route.init(component, {data: this.functions.functions})
|
90
|
+
}
|
91
|
+
// let oBox = this.getElement("box")
|
92
|
+
// let oTop = this.getElement("top")
|
93
|
+
// let oBottom = this.getElement("bottom")
|
94
|
+
// let oLine = this.getElement("line")
|
95
|
+
// let that = this
|
96
|
+
// oLine.onmousedown = function(e) {
|
97
|
+
// let disX = (e || event).clientX
|
98
|
+
// oLine.left = oLine.offsetLeft
|
99
|
+
// document.onmousemove = function(e) {
|
100
|
+
// let iT = oLine.left + ((e || event).clientX - disX)
|
101
|
+
// var e = e || window.event
|
102
|
+
// let tarnameb = e.target || e.srcElement
|
103
|
+
// let maxT = oBox.clientWight - oLine.offsetWidth
|
104
|
+
// oLine.style.margin = 0
|
105
|
+
// iT < 0 && (iT = 0)
|
106
|
+
// iT > maxT && (iT = maxT)
|
107
|
+
// oLine.style.left = oTop.style.width = iT + "px"
|
108
|
+
// oBottom.style.width = oBox.clientWidth - iT + "px"
|
109
|
+
// that.$set('treeWidth', iT)
|
110
|
+
// return false
|
111
|
+
// }
|
112
|
+
// document.onmouseup = function() {
|
113
|
+
// document.onmousemove = null
|
114
|
+
// document.onmouseup = null
|
115
|
+
// oLine.releaseCapture && oLine.releaseCapture()
|
116
|
+
// }
|
117
|
+
// oLine.setCapture && oLine.setCapture()
|
118
|
+
// return false
|
119
|
+
// }
|
120
|
+
this.changeShow()
|
121
|
+
},
|
122
|
+
methods: {
|
123
|
+
unfurl () {
|
124
|
+
if(this.showsum){
|
125
|
+
this.showsum = false
|
126
|
+
} else {
|
127
|
+
this.showsum = true
|
128
|
+
}
|
129
|
+
},
|
130
|
+
// getElement(id) {
|
131
|
+
// return document.getElementById(id)
|
132
|
+
// },
|
133
|
+
changeShow () {
|
134
|
+
// this.treeOrIcon = !this.treeOrIcon
|
135
|
+
// let oBox = this.getElement("box")
|
136
|
+
// let oTop = this.getElement("top")
|
137
|
+
// let oBottom = this.getElement("bottom")
|
138
|
+
// let oLine = this.getElement("line")
|
139
|
+
// if (this.treeOrIcon) {
|
140
|
+
// // oLine.style.left = oTop.style.width = 300 + "px"
|
141
|
+
// oTop.style.width = 150 + "px"
|
142
|
+
// oBottom.style.width = oBox.clientWidth - 150 + "px"
|
143
|
+
// }else {
|
144
|
+
// oLine.style.left = oTop.style.width = 50 + "px"
|
145
|
+
// oBottom.style.width = oBox.clientWidth - 50 + "px"
|
146
|
+
// }
|
147
|
+
// }
|
148
|
+
this.treeOrIcon = !this.treeOrIcon
|
149
|
+
if (this.treeOrIcon) {
|
150
|
+
this.$els.top.style.width = 160 + "px"
|
151
|
+
this.$els.bottom.style.width = this.$els.box.clientWidth - 160 + "px"
|
152
|
+
}else {
|
153
|
+
this.$els.top.style.width = 50 + "px"
|
154
|
+
this.$els.bottom.style.width = this.$els.box.clientWidth - 50 + "px"
|
155
|
+
}
|
156
|
+
},
|
157
|
+
tabChange (name) {
|
158
|
+
this.$refs.tree.changeSelect(name)
|
159
|
+
}
|
160
|
+
},
|
161
|
+
computed: {
|
162
|
+
nowDate () {
|
163
|
+
return Util.getNowDate()
|
164
|
+
}
|
165
|
+
}
|
166
|
+
}
|
167
|
+
</script>
|
168
|
+
<style lang="less">
|
169
|
+
/* 组件内通用样式 */
|
170
|
+
.select-error {
|
171
|
+
button {
|
172
|
+
border-bottom: 1px solid #a94442!important;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
/* 表单输入框组 */
|
176
|
+
.form-input-group {
|
177
|
+
display: flex;
|
178
|
+
|
179
|
+
label {
|
180
|
+
width: 100px;
|
181
|
+
text-align: right;
|
182
|
+
+ * {
|
183
|
+
flex: 1;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
// 日期组件在表单中沾满
|
188
|
+
.form-horizontal .datepicker {
|
189
|
+
width: 100%;
|
190
|
+
}
|
191
|
+
// 下拉选择框占据剩余全部空间
|
192
|
+
.select-overspread {
|
193
|
+
.form-group {
|
194
|
+
// margin: 0px 5px 10px 0px;
|
195
|
+
.form-control {
|
196
|
+
margin-right: 0px;
|
197
|
+
}
|
198
|
+
}
|
199
|
+
.btn-group, .btn-group-vertical {
|
200
|
+
width: 100%;
|
201
|
+
// padding-right: 5px;
|
202
|
+
button {
|
203
|
+
width: 100%;
|
204
|
+
display: flex;
|
205
|
+
justify-content: space-between;
|
206
|
+
align-items: center;
|
207
|
+
}
|
208
|
+
}
|
209
|
+
.dropdown-menu {
|
210
|
+
width: 100%
|
211
|
+
}
|
212
|
+
}
|
213
|
+
// 需要特定宽度的的样式
|
214
|
+
.width-60 {
|
215
|
+
width: 60px;
|
216
|
+
}
|
217
|
+
.width-80 {
|
218
|
+
width: 80px;
|
219
|
+
}
|
220
|
+
.width-100 {
|
221
|
+
width: 100px;
|
222
|
+
}
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
/*右侧区域的背景*/
|
227
|
+
.right-bg {
|
228
|
+
width: 100%;
|
229
|
+
flex: 1;
|
230
|
+
padding: 10px 25px;
|
231
|
+
color: #304A66;
|
232
|
+
}
|
233
|
+
.tree-flex {
|
234
|
+
height: 100%;
|
235
|
+
// width: 150px;
|
236
|
+
/*width: 60px;*/
|
237
|
+
background: #4C637B;
|
238
|
+
color: #fff;
|
239
|
+
|
240
|
+
}
|
241
|
+
.tree-flex-icon {
|
242
|
+
width: 50px;
|
243
|
+
/*transition: 0.5s;*/
|
244
|
+
> .span {
|
245
|
+
overflow-x: visible;
|
246
|
+
}
|
247
|
+
}
|
248
|
+
.tree-flex h3 {
|
249
|
+
text-align: center;
|
250
|
+
line-height: 80px;
|
251
|
+
margin: 0px;
|
252
|
+
}
|
253
|
+
|
254
|
+
.tree-flex-footer {
|
255
|
+
height: 150px;
|
256
|
+
display: flex;
|
257
|
+
flex-direction:column;
|
258
|
+
color: #fff;
|
259
|
+
}
|
260
|
+
.tree-flex-footer a,.tree-flex-footer button{
|
261
|
+
flex: 1;
|
262
|
+
padding: 8px 5px;
|
263
|
+
font-size: 1.2em;
|
264
|
+
border-top: 1px solid #697D93;
|
265
|
+
text-decoration: none;
|
266
|
+
color: #fff;
|
267
|
+
cursor: pointer;
|
268
|
+
}
|
269
|
+
.tree-flex-footer button {
|
270
|
+
height: auto;
|
271
|
+
width: 100%;
|
272
|
+
border-radius: 0px;
|
273
|
+
background-color: rgba(255,255,255,0);
|
274
|
+
border: none;
|
275
|
+
border-top: 1px solid #697D93;
|
276
|
+
text-align: left;
|
277
|
+
}
|
278
|
+
.tree-flex-footer button:hover{
|
279
|
+
outline: none;
|
280
|
+
background-color: rgba(255,255,255,0.2);
|
281
|
+
}
|
282
|
+
.tree-flex-footer button:focus {
|
283
|
+
outline: none;
|
284
|
+
background-color: rgba(255,255,255,0.5);
|
285
|
+
}
|
286
|
+
.tree-flex-footer a:hover {
|
287
|
+
color: #FFF;
|
288
|
+
background-color: rgba(255,255,255,0.2);
|
289
|
+
}
|
290
|
+
.tree-flex .btn-group {
|
291
|
+
height: 50px!important;
|
292
|
+
}
|
293
|
+
|
294
|
+
.tree-flex .dropdown-menu {
|
295
|
+
/* 控制显示列表的样式 */
|
296
|
+
background: #4C637B;
|
297
|
+
border-radius: 0px;
|
298
|
+
color: #fff;
|
299
|
+
width: auto;
|
300
|
+
margin: 0px;
|
301
|
+
padding: 0px;
|
302
|
+
}
|
303
|
+
.tree-flex .dropdown-menu-up {
|
304
|
+
/* bottom,top控制上下,left和right控制左右*/
|
305
|
+
left: 100%!important;
|
306
|
+
top: auto!important;
|
307
|
+
bottom: 0;
|
308
|
+
}
|
309
|
+
.tree-flex .dropdown-menu-down {
|
310
|
+
/* bottom,top控制上下,left和right控制左右*/
|
311
|
+
left: 100%!important;
|
312
|
+
top: 0!important;
|
313
|
+
}
|
314
|
+
.tree-flex .dropdown-menu li{
|
315
|
+
text-align: center;
|
316
|
+
line-height: 50px;
|
317
|
+
border-bottom: 1px solid #697D93;
|
318
|
+
font-size: 1.2em;
|
319
|
+
width: auto;
|
320
|
+
white-space: nowrap;
|
321
|
+
cursor: default;
|
322
|
+
|
323
|
+
}
|
324
|
+
.tree-flex .dropdown-menu li + li {
|
325
|
+
text-align: left;
|
326
|
+
border: 0;
|
327
|
+
line-height: 40px;
|
328
|
+
padding-left: 15px;
|
329
|
+
padding-right: 15px;
|
330
|
+
font-size: 1em;
|
331
|
+
cursor: pointer;
|
332
|
+
}
|
333
|
+
.tree-flex .dropdown-menu li + li:hover {
|
334
|
+
background-color: rgba(255,255,255,0.2);
|
335
|
+
}
|
336
|
+
.tree-flex .dropdown-menu li a {
|
337
|
+
border: none;
|
338
|
+
color: #fff;
|
339
|
+
height: 40px;
|
340
|
+
line-height: 40px;
|
341
|
+
font-size: 1em;
|
342
|
+
padding: 0px;
|
343
|
+
}
|
344
|
+
.tree-flex .dropdown-menu li a:hover {
|
345
|
+
color: #fff;
|
346
|
+
background-color: rgba(255,255,255,0);
|
347
|
+
}
|
348
|
+
.tree-flex img{
|
349
|
+
height: 30px;
|
350
|
+
margin-right: 15px;
|
351
|
+
}
|
352
|
+
.line {
|
353
|
+
height: 100%;
|
354
|
+
width: 5px;
|
355
|
+
background: #4C637B;
|
356
|
+
cursor: e-resize;
|
357
|
+
}
|
358
|
+
/*为树(tree)组件写的样式*/
|
359
|
+
.tree-img {
|
360
|
+
font-size: 1.2em;
|
361
|
+
}
|
362
|
+
|
363
|
+
/* 滚动条样式 */
|
364
|
+
/*---滚动条默认显示样式--*/
|
365
|
+
::-webkit-scrollbar-thumb{
|
366
|
+
// display: none;
|
367
|
+
background-color:rgba(0,0,0,0.2);
|
368
|
+
height:50px;
|
369
|
+
outline-offset:-2px;
|
370
|
+
/*outline:2px solid #fff;*/
|
371
|
+
-webkit-border-radius:4px;
|
372
|
+
/*border: 2px solid #fff;*/
|
373
|
+
}
|
374
|
+
|
375
|
+
/*---鼠标点击滚动条显示样式--*/
|
376
|
+
::-webkit-scrollbar-thumb:hover{
|
377
|
+
// display: inherit;
|
378
|
+
background-color:rgba(0,0,0,0.4);
|
379
|
+
height:50px;
|
380
|
+
-webkit-border-radius:4px;
|
381
|
+
}
|
382
|
+
/*---滚动条大小--*/
|
383
|
+
::-webkit-scrollbar{
|
384
|
+
width:8px;
|
385
|
+
height:8px;
|
386
|
+
}
|
387
|
+
/*---滚动框背景样式--*/
|
388
|
+
::-webkit-scrollbar-track-piece{
|
389
|
+
/* 全透明,不显示 */
|
390
|
+
background-color:rgba(255,255,255,0);
|
391
|
+
-webkit-border-radius:0;
|
392
|
+
}
|
393
|
+
</style>
|