|
@@ -19,7 +19,7 @@
|
|
></a-checkbox-group>
|
|
></a-checkbox-group>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <!-- <div class="selectRight">
|
|
|
|
|
|
+ <div class="selectRight">
|
|
<div class="title">
|
|
<div class="title">
|
|
已选
|
|
已选
|
|
<a-button class="clearAllBtn" type="link" @click="clearAll">清空</a-button>
|
|
<a-button class="clearAllBtn" type="link" @click="clearAll">清空</a-button>
|
|
@@ -30,7 +30,7 @@
|
|
<a-icon type="close" id="close" @click="deleteItem(item)" />
|
|
<a-icon type="close" id="close" @click="deleteItem(item)" />
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
- </div> -->
|
|
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -64,6 +64,7 @@ export default {
|
|
listArr:{
|
|
listArr:{
|
|
handler(n,o){
|
|
handler(n,o){
|
|
this.plainOptions = this.listArr
|
|
this.plainOptions = this.listArr
|
|
|
|
+ this.valueOptions=[];
|
|
this.listArr.forEach((item) => {
|
|
this.listArr.forEach((item) => {
|
|
this.valueOptions.push(item.value)
|
|
this.valueOptions.push(item.value)
|
|
})
|
|
})
|
|
@@ -77,6 +78,7 @@ export default {
|
|
this.checkedList=[]
|
|
this.checkedList=[]
|
|
this.checkedShowList=[];
|
|
this.checkedShowList=[];
|
|
this.plainOptions = this.listArr
|
|
this.plainOptions = this.listArr
|
|
|
|
+ this.valueOptions=[]
|
|
this.listArr.forEach((item) => {
|
|
this.listArr.forEach((item) => {
|
|
this.valueOptions.push(item.value)
|
|
this.valueOptions.push(item.value)
|
|
})
|
|
})
|
|
@@ -173,6 +175,7 @@ export default {
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.plainOptions = this.listArr
|
|
this.plainOptions = this.listArr
|
|
|
|
+ this.valueOptions=[]
|
|
this.listArr.forEach((item) => {
|
|
this.listArr.forEach((item) => {
|
|
this.valueOptions.push(item.value)
|
|
this.valueOptions.push(item.value)
|
|
})
|
|
})
|