n20-common-lib 3.0.43 → 3.0.45
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
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="prefixCls">
|
|
3
|
-
<el-form
|
|
3
|
+
<el-form
|
|
4
|
+
v-show="visible"
|
|
5
|
+
ref="advancedFilter"
|
|
6
|
+
:class="prefixCls + '-body'"
|
|
7
|
+
@submit.native.prevent="() => {}"
|
|
8
|
+
>
|
|
4
9
|
<slot name="prefix"></slot>
|
|
5
10
|
<el-form-item
|
|
6
11
|
v-for="item in GroupData"
|
|
@@ -95,7 +100,7 @@
|
|
|
95
100
|
prop="viewName"
|
|
96
101
|
:rules="[{ required: true, message: '请输入', trigger: 'blur' }]"
|
|
97
102
|
>
|
|
98
|
-
<el-input maxlength="30" show-word-limit
|
|
103
|
+
<el-input v-model="form.viewName" maxlength="30" show-word-limit />
|
|
99
104
|
</el-form-item>
|
|
100
105
|
</el-form>
|
|
101
106
|
<div slot="footer" class="flex-box flex-c flex-v page-button-shadow">
|
|
@@ -562,3 +567,11 @@ export default {
|
|
|
562
567
|
}
|
|
563
568
|
}
|
|
564
569
|
</script>
|
|
570
|
+
|
|
571
|
+
<style scoped>
|
|
572
|
+
.n20-advanced-filter-body {
|
|
573
|
+
display: flex;
|
|
574
|
+
align-items: center;
|
|
575
|
+
flex-wrap: wrap;
|
|
576
|
+
}
|
|
577
|
+
</style>
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
<cl-advanced-filter
|
|
77
77
|
ref="filter"
|
|
78
78
|
class="filter"
|
|
79
|
+
:class="{ 'is-hidden': !multiple }"
|
|
79
80
|
:visible.sync="multiple"
|
|
80
81
|
:filter-id="filterId"
|
|
81
82
|
:buss-id="bussId"
|
|
@@ -550,3 +551,10 @@ export default {
|
|
|
550
551
|
}
|
|
551
552
|
}
|
|
552
553
|
</script>
|
|
554
|
+
|
|
555
|
+
<style scoped>
|
|
556
|
+
.filter.is-hidden {
|
|
557
|
+
padding: 4px;
|
|
558
|
+
border-bottom: none !important;
|
|
559
|
+
}
|
|
560
|
+
</style>
|