n20-common-lib 2.7.0-beta.12 → 2.7.0-beta.13
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/package.json
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
:data="tableData"
|
|
22
22
|
:row-key="keys.rowKey"
|
|
23
23
|
border
|
|
24
|
+
:height="height"
|
|
24
25
|
@selection-change="(selection) => (selectionList = selection)"
|
|
25
26
|
>
|
|
26
27
|
<slot name="selection-column">
|
|
@@ -313,6 +314,9 @@ export default {
|
|
|
313
314
|
type: RegExp,
|
|
314
315
|
default: () => /\.(jpg|png|gif|svg|pdf)$/i
|
|
315
316
|
},
|
|
317
|
+
height: {
|
|
318
|
+
type: [String, Number]
|
|
319
|
+
},
|
|
316
320
|
tableData: {
|
|
317
321
|
type: Array,
|
|
318
322
|
default: () => []
|
|
@@ -68,6 +68,7 @@ export default {
|
|
|
68
68
|
} else {
|
|
69
69
|
this.$router.push(row.route)
|
|
70
70
|
}
|
|
71
|
+
this.$emit('clickMenu', false)
|
|
71
72
|
} else {
|
|
72
73
|
window.localStorage.setItem('pageInSystemNo', row.systemNo)
|
|
73
74
|
window.sessionStorage.setItem('menuTree', JSON.stringify(MenuTre))
|
|
@@ -80,7 +81,6 @@ export default {
|
|
|
80
81
|
window.location.href = window.location.origin + row.route + `?token=${window.sessionStorage.getItem('token')}`
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
|
-
this.$emit('update:visible', false)
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -13,7 +13,11 @@
|
|
|
13
13
|
<slot slot="header-ectad" name="header-ectad"></slot>
|
|
14
14
|
<slot slot="header-dropdown" name="header-dropdown"></slot>
|
|
15
15
|
</headerWrap>
|
|
16
|
-
<menuDrawer
|
|
16
|
+
<menuDrawer
|
|
17
|
+
:class="showDrawerBox ? 'show_drawer' : ''"
|
|
18
|
+
:menus="systemMenu"
|
|
19
|
+
@clickMenu="(row) => (showDrawerBox = row)"
|
|
20
|
+
></menuDrawer>
|
|
17
21
|
<asideNav :menus="menusC" :active-nav="activeNavC" :collapse.sync="collapse" @menu-click="menuClick" />
|
|
18
22
|
<tabsNav
|
|
19
23
|
class="tabs-nav-wrap"
|