n20-common-lib 2.7.0-beta.17 → 2.7.0-beta.18
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,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="inline_block
|
|
2
|
+
<div class="inline_block">
|
|
3
3
|
<el-select v-model="showValue" select collapse-tags clearable multiple disabled v-title="showValue.toString()">
|
|
4
4
|
<el-option v-for="item in showValue" :key="item" :label="item" :value="item" />
|
|
5
5
|
</el-select>
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
<div class="flex-box flex-lr">
|
|
79
79
|
<span>
|
|
80
80
|
<span>{{
|
|
81
|
-
options.find(item2 => {
|
|
81
|
+
options.find((item2) => {
|
|
82
82
|
return item2.value === item.type
|
|
83
83
|
}).label
|
|
84
84
|
}}</span>
|
|
@@ -190,15 +190,15 @@ export default {
|
|
|
190
190
|
created() {},
|
|
191
191
|
mounted() {
|
|
192
192
|
console.log(this.optionsSelect)
|
|
193
|
-
this.filterOptions = JSON.parse(JSON.stringify(this.options)).filter(item => {
|
|
193
|
+
this.filterOptions = JSON.parse(JSON.stringify(this.options)).filter((item) => {
|
|
194
194
|
return this.optionsSelect.includes(item.label)
|
|
195
195
|
})
|
|
196
196
|
this.setView()
|
|
197
197
|
},
|
|
198
198
|
methods: {
|
|
199
199
|
setView() {
|
|
200
|
-
this.showValue = this.value.map(item => {
|
|
201
|
-
const type = this.options.find(item2 => {
|
|
200
|
+
this.showValue = this.value.map((item) => {
|
|
201
|
+
const type = this.options.find((item2) => {
|
|
202
202
|
return item2.value === item.type
|
|
203
203
|
}).label
|
|
204
204
|
let week = ''
|
|
@@ -268,11 +268,9 @@ export default {
|
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
270
|
</script>
|
|
271
|
-
<
|
|
272
|
-
.list {
|
|
273
|
-
li {
|
|
271
|
+
<stylescoped>
|
|
272
|
+
.list li {
|
|
274
273
|
height: 24px;
|
|
275
274
|
line-height: 24px;
|
|
276
275
|
}
|
|
277
|
-
|
|
278
|
-
</style>
|
|
276
|
+
</stylescoped>
|