htui-yllkbz 2.0.6 → 2.0.8
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/LICENSE +20 -21
- package/lib/htui.common.js +146 -101
- package/lib/htui.common.js.gz +0 -0
- package/lib/htui.css +1 -1
- package/lib/htui.umd.js +146 -101
- package/lib/htui.umd.js.gz +0 -0
- package/lib/htui.umd.min.js +10 -10
- package/lib/htui.umd.min.js.gz +0 -0
- package/package.json +6 -3
- package/src/App.vue +4 -2
- package/src/main.ts +3 -3
- package/src/packages/HtDrawer/index.vue +1 -1
- package/src/packages/HtShowBaseData/index.vue +24 -9
- package/src/packages/HtTable/index.vue +17 -7
- package/src/packages/HtUploadFiles/index copy.vue +267 -0
- package/src/packages/HtUploadFiles/index.vue +1 -1
- package/src/packages/common.ts +49 -1
- package/src/views/About.vue +2 -1
- package/src/views/Index.vue +36 -38
package/src/views/Index.vue
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div id="index">
|
|
3
|
-
<el-container style="height: 100vh"
|
|
3
|
+
<el-container style="height: 100vh"
|
|
4
|
+
class="index">
|
|
4
5
|
<el-header style="padding: 0; height: min-content">
|
|
5
|
-
<xhkj-layout02 @leftMenu="leftMenu"
|
|
6
|
-
|
|
6
|
+
<xhkj-layout02 @leftMenu="leftMenu"
|
|
7
|
+
:hide="true">
|
|
8
|
+
<router-link to="/login"
|
|
9
|
+
slot="navEnd">注销</router-link>
|
|
7
10
|
</xhkj-layout02>
|
|
8
11
|
</el-header>
|
|
9
12
|
<el-container class="body">
|
|
10
|
-
<el-aside :width="state.collapsed ? '66px' : '230px'"
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
></HtMenu>
|
|
13
|
+
<el-aside :width="state.collapsed ? '66px' : '230px'"
|
|
14
|
+
class="left">
|
|
15
|
+
<HtMenu :data="state.menusList"
|
|
16
|
+
:collapse="state.collapsed"
|
|
17
|
+
baseUrl="/asset-management"></HtMenu>
|
|
16
18
|
<!--导航菜单-->
|
|
17
|
-
<el-menu
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
:collapse-transition="false"
|
|
22
|
-
>
|
|
19
|
+
<el-menu :default-active="state.defaultIndex"
|
|
20
|
+
router
|
|
21
|
+
:collapse="state.collapsed"
|
|
22
|
+
:collapse-transition="false">
|
|
23
23
|
<el-menu-item index="/">
|
|
24
24
|
<i class="el-icon-s-check"></i>
|
|
25
25
|
<span slot="title">导航1</span>
|
|
@@ -33,33 +33,30 @@
|
|
|
33
33
|
<span slot="title">导航3</span>
|
|
34
34
|
</el-menu-item>
|
|
35
35
|
</el-menu>
|
|
36
|
-
<el-button
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
style="font-size: 16px"
|
|
44
|
-
></el-button>
|
|
36
|
+
<el-button class="action-btn"
|
|
37
|
+
:title="state.collapsed ? '展开菜单' : '收起菜单'"
|
|
38
|
+
type="text"
|
|
39
|
+
size="medium"
|
|
40
|
+
:icon="state.collapsed ? 'el-icon-s-unfold' : 'el-icon-s-fold'"
|
|
41
|
+
@click="state.collapsed = !state.collapsed"
|
|
42
|
+
style="font-size: 16px"></el-button>
|
|
45
43
|
</el-aside>
|
|
46
|
-
<el-main style="padding: 8px 0 0 15px"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
></
|
|
52
|
-
|
|
53
|
-
<
|
|
44
|
+
<el-main style="padding: 8px 0 0 15px"
|
|
45
|
+
class="cont">
|
|
46
|
+
<HtRealTime dataType="group"
|
|
47
|
+
@change="changeData"
|
|
48
|
+
:dataGroup="'kjyyq'"></HtRealTime>
|
|
49
|
+
<router-view v-if="state.loading"></router-view>
|
|
50
|
+
<!-- Index
|
|
51
|
+
<XhflowStart></XhflowStart>
|
|
52
|
+
<HtSelectDevice></HtSelectDevice> -->
|
|
54
53
|
</el-main>
|
|
55
54
|
</el-container>
|
|
56
55
|
</el-container>
|
|
57
|
-
<div
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
@error="error"
|
|
62
|
-
></div>
|
|
56
|
+
<div v-if="state.isLogin"
|
|
57
|
+
is="common-datas"
|
|
58
|
+
@commonDatas="commonDatas"
|
|
59
|
+
@error="error"></div>
|
|
63
60
|
</div>
|
|
64
61
|
</template>
|
|
65
62
|
|
|
@@ -67,6 +64,7 @@
|
|
|
67
64
|
import { Component, Vue, Watch } from "vue-property-decorator";
|
|
68
65
|
import { baseConfig } from "vue-kst-auth";
|
|
69
66
|
import HtMenu from "@/packages/HtMenu/index.vue";
|
|
67
|
+
import XhflowStart from "xh-flowable";
|
|
70
68
|
import HtRealTime from "@/packages/HtRealTime/index.vue";
|
|
71
69
|
import HtSelectDevice from "@/packages/HtSelectDevice/index.vue";
|
|
72
70
|
interface State {
|